/* ============================================
   AXIUM IDS - Custom Styles
   ============================================ */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Canvas for network animation */
#axium-network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

/* Glow effects */
.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), 0 0 60px rgba(0, 229, 255, 0.05);
}

.glow-purple {
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15), 0 0 60px rgba(124, 58, 237, 0.05);
}

/* Animated gradient border */
@keyframes borderGlow {
  0%, 100% { border-color: rgba(0, 229, 255, 0.3); }
  50% { border-color: rgba(124, 58, 237, 0.3); }
}

.border-glow {
  animation: borderGlow 4s ease-in-out infinite;
}

/* Pulse animation for live indicator */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stat counter animation */
.stat-number {
  transition: all 0.3s ease;
}

/* Hover effects on cards */
.wp-block-column:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

.wp-block-column {
  transition: transform 0.3s ease;
}

/* Navigation hover glow */
.wp-block-navigation .wp-block-navigation-item__content:hover {
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* Site title glow */
.wp-block-site-title a:hover {
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

/* Button hover glow */
.wp-block-button__link:hover {
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  transition: box-shadow 0.3s ease;
}

/* Terminal cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.blink-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: #00e5ff;
}

/* Responsive adjustments */
@media (max-width: 782px) {
  .wp-block-columns {
    flex-direction: column;
  }
}

/* ============================================
   Landing page v1.2 (ax-*)
   ============================================ */
:root {
  --ax-bg: #0a0e17;
  --ax-bg-alt: #0f1522;
  --ax-surface: #141c2b;
  --ax-line: #263247;
  --ax-text: #e2e8f0;
  --ax-muted: #94a3b8;
  --ax-cyan: #00e5ff;
  --ax-purple: #7c3aed;
  --ax-green: #10b981;
  --ax-red: #ef4444;
}
.ax-main { padding: 0 !important; margin: 0 !important; }
.ax-main > * { max-width: none !important; margin-block: 0 !important; }
.ax-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ax-narrow { max-width: 820px; }
.ax-section { padding: 96px 0; position: relative; }
.ax-alt { background: rgba(15, 21, 34, 0.85); border-top: 1px solid var(--ax-line); border-bottom: 1px solid var(--ax-line); }
.ax-center { text-align: center; margin-left: auto; margin-right: auto; }

.ax-eyebrow { color: var(--ax-cyan); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.ax-h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 22px; }
.ax-h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 18px; }
.ax-grad { background: linear-gradient(90deg, var(--ax-cyan), #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ax-lead { font-size: 1.2rem; line-height: 1.65; color: var(--ax-muted); margin: 0 0 32px; max-width: 600px; }
.ax-sub { font-size: 1.08rem; line-height: 1.65; color: var(--ax-muted); max-width: 720px; margin: 0 0 48px; }
.ax-section h3 { font-size: 1.15rem; margin: 0 0 10px; }
.ax-section h4 { font-size: 1rem; margin: 10px 0 6px; }
.ax-section p { line-height: 1.6; }

.ax-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.ax-hero { padding: 120px 0 96px; }

.ax-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.ax-ctas-center { justify-content: center; }
.ax-btn { display: inline-block; padding: 14px 26px; border-radius: 10px; font-weight: 700; text-decoration: none !important; transition: transform .2s, box-shadow .2s, background .2s; }
.ax-btn:hover { transform: translateY(-2px); }
.ax-btn-primary { background: var(--ax-cyan); color: #04111a !important; }
.ax-btn-primary:hover { box-shadow: 0 8px 30px rgba(0, 229, 255, .35); }
.ax-btn-ghost { border: 1px solid var(--ax-line); color: var(--ax-text) !important; background: rgba(255,255,255,.02); }
.ax-btn-ghost:hover { border-color: var(--ax-cyan); }

.ax-checks { list-style: none; padding: 0; margin: 0 0 8px; }
.ax-checks li { position: relative; padding-left: 28px; margin: 0 0 12px; color: var(--ax-text); line-height: 1.5; }
.ax-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ax-green); font-weight: 800; }
.ax-checks-inline { display: flex; gap: 24px; flex-wrap: wrap; }
.ax-checks-inline li { color: var(--ax-muted); font-size: .95rem; margin: 0; }

/* Alert mock-up */
.ax-alert-card { background: linear-gradient(180deg, #121a2a, #0d1320); border: 1px solid var(--ax-line); border-radius: 16px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(0,229,255,.05); font-size: .95rem; }
.ax-alert-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 6px; }
.ax-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ax-red); box-shadow: 0 0 10px var(--ax-red); animation: pulse 2s infinite; }
.ax-tag { margin-left: auto; font-size: .75rem; padding: 3px 10px; border-radius: 99px; font-weight: 700; }
.ax-tag-red { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.35); }
.ax-alert-host { color: var(--ax-muted); margin-bottom: 18px; }
.ax-alert-host code { color: var(--ax-cyan); background: none; font-family: 'JetBrains Mono', monospace; }
.ax-timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--ax-line); }
.ax-timeline li { position: relative; padding: 0 0 16px 14px; line-height: 1.45; }
.ax-timeline li::before { content: ""; position: absolute; left: -23px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ax-bg); border: 2px solid var(--ax-cyan); }
.ax-alert-foot { border-top: 1px solid var(--ax-line); padding-top: 14px; color: var(--ax-green); font-weight: 600; }
.ax-caption { margin: 10px 0 0; font-size: .75rem; color: #64748b; text-align: right; }
.ax-tid { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .75rem; font-weight: 700; color: var(--ax-cyan); background: rgba(0,229,255,.08); border: 1px solid rgba(0,229,255,.25); border-radius: 6px; padding: 2px 7px; margin-right: 6px; }

/* Strip */
.ax-strip { border-top: 1px solid var(--ax-line); border-bottom: 1px solid var(--ax-line); background: rgba(15,21,34,.85); padding: 22px 0; }
.ax-strip .ax-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; }
.ax-strip-label { color: var(--ax-muted); font-size: .85rem; margin-right: 8px; }
.ax-pill { border: 1px solid var(--ax-line); border-radius: 99px; padding: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--ax-text); }

/* Grids & cards */
.ax-grid { display: grid; gap: 20px; }
.ax-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ax-grid-4 { grid-template-columns: repeat(4, 1fr); }
.ax-card { background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: 14px; padding: 28px; transition: border-color .25s, transform .25s; }
.ax-card:hover { border-color: rgba(0,229,255,.45); transform: translateY(-3px); }
.ax-card p, .ax-det p { color: var(--ax-muted); margin: 0; }
.ax-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--ax-cyan); background: rgba(0,229,255,.08); border: 1px solid rgba(0,229,255,.25); }
.ax-det { background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: 12px; padding: 20px; transition: border-color .25s; }
.ax-det:hover { border-color: rgba(0,229,255,.45); }
.ax-det p { font-size: .92rem; }

.ax-steps-words > div { padding: 8px 4px; }
.ax-num { font-family: 'JetBrains Mono', monospace; color: var(--ax-cyan); font-weight: 700; font-size: .9rem; display: block; margin-bottom: 8px; }
.ax-steps-words p { color: var(--ax-muted); margin: 0; }

/* Flow diagram */
.ax-flow { display: flex; align-items: stretch; justify-content: center; gap: 12px; margin: 16px 0 48px; flex-wrap: wrap; }
.ax-flow-box { flex: 1 1 200px; max-width: 280px; background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: 14px; padding: 22px; text-align: center; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.ax-flow-box span { color: var(--ax-muted); font-size: .9rem; }
.ax-flow-main { border-color: var(--ax-cyan); box-shadow: 0 0 40px rgba(0,229,255,.12); }
.ax-flow-main strong { color: var(--ax-cyan); }
.ax-flow-arrow { align-self: center; text-align: center; color: var(--ax-muted); font-family: 'JetBrains Mono', monospace; font-size: .75rem; line-height: 1.6; }

/* Encrypted panel */
.ax-panel { background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: 16px; padding: 8px 24px; }
.ax-panel-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ax-line); }
.ax-panel-row:last-child { border-bottom: 0; }
.ax-ok { color: var(--ax-green); font-weight: 700; }
.ax-ok::before { content: "● "; }
.ax-muted { color: #64748b; }

/* Integrations */
.ax-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ax-logos span { background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: 12px; padding: 22px 12px; text-align: center; font-weight: 700; }

/* CTA box */
.ax-cta-box { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 48px; align-items: center; padding: 56px; border-radius: 20px; border: 1px solid rgba(0,229,255,.3); background: radial-gradient(circle at 0% 0%, rgba(0,229,255,.12), transparent 55%), radial-gradient(circle at 100% 100%, rgba(124,58,237,.18), transparent 55%), var(--ax-surface); }
.ax-cta-box .ax-sub { margin-bottom: 24px; }
.ax-cta-side { display: flex; flex-direction: column; gap: 14px; }
.ax-cta-side .ax-btn { text-align: center; }

/* FAQ */
.ax-faq { border: 1px solid var(--ax-line); border-radius: 12px; background: var(--ax-surface); margin: 0 0 12px; padding: 0 22px; }
.ax-faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after { content: "+"; color: var(--ax-cyan); font-size: 1.3rem; line-height: 1; }
.ax-faq[open] summary::after { content: "–"; }
.ax-faq p { color: var(--ax-muted); margin: 0 0 18px; }

/* Header CTA */
.ax-nav-cta .wp-block-navigation-item__content { background: var(--ax-cyan); color: #04111a !important; padding: 8px 16px !important; border-radius: 8px; font-weight: 700; }

/* Footer */
.ax-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ax-footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ax-muted); margin: 0 0 14px; }
.ax-footer-grid ul { list-style: none; padding: 0; margin: 0; }
.ax-footer-grid li { margin: 0 0 8px; }
.ax-footer-grid a { color: var(--ax-text); text-decoration: none; }
.ax-footer-grid a:hover { color: var(--ax-cyan); }
.ax-footer-grid p { color: var(--ax-muted); margin: 0 0 8px; line-height: 1.6; }
.ax-footer-bottom { border-top: 1px solid var(--ax-line); margin-top: 40px; padding-top: 20px; color: #64748b; font-size: .85rem; }

@media (max-width: 960px) {
  .ax-split, .ax-cta-box { grid-template-columns: 1fr; gap: 40px; }
  .ax-grid-3, .ax-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ax-footer-grid { grid-template-columns: 1fr 1fr; }
  .ax-cta-box { padding: 32px; }
  .ax-flow-arrow { transform: rotate(90deg); flex-basis: 100%; }
}
@media (max-width: 600px) {
  .ax-section { padding: 64px 0; }
  .ax-hero { padding: 72px 0 64px; }
  .ax-grid-3, .ax-grid-4, .ax-logos { grid-template-columns: 1fr; }
  .ax-footer-grid { grid-template-columns: 1fr; }
}
.ax-sub.ax-center { margin-left: auto; margin-right: auto; }
