/* ============================================
   NAXUS — Design tokens & globals
   ============================================ */

:root {
  /* Surfaces */
  --bg-0: #07080d;
  --bg-1: #0c0e16;
  --bg-2: #11141f;
  --bg-3: #161a28;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Foreground */
  --fg: #f2f3f7;
  --fg-dim: #aab0c0;
  --fg-mute: #6b7186;

  /* Neon palette (from logo) */
  --cyan: #22e6ff;
  --cyan-soft: rgba(34, 230, 255, 0.16);
  --magenta: #ff5ec9;
  --magenta-soft: rgba(255, 94, 201, 0.16);
  --violet: #8a6bff;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Neon intensity (overridden in bold mode) */
  --neon-glow: 0 0 0 0 transparent;
  --grid-opacity: 0.35;
  --orb-opacity: 0.5;
}

[data-mode="bold"] {
  --neon-glow: 0 0 32px rgba(34, 230, 255, 0.35), 0 0 80px rgba(255, 94, 201, 0.18);
  --grid-opacity: 0.6;
  --orb-opacity: 1;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

/* ============================================
   Background atmosphere
   ============================================ */

.particle-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

[data-mode="conservative"] .particle-field { opacity: 0.55; }

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 230, 255, 0.10), transparent 45%),
    radial-gradient(circle at 100% 30%, rgba(255, 94, 201, 0.08), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(138, 107, 255, 0.10), transparent 55%);
  opacity: var(--orb-opacity);
  transition: opacity 0.6s var(--ease);
}

.bg-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  opacity: var(--grid-opacity);
  transition: opacity 0.6s var(--ease);
}

[data-mode="bold"] .bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 22s var(--ease) infinite alternate;
}
[data-mode="bold"] .bg-orb.cyan {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--cyan), transparent 65%);
  top: -120px; left: -100px;
}
[data-mode="bold"] .bg-orb.magenta {
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--magenta), transparent 65%);
  top: 30%; right: -180px;
  animation-delay: -8s;
}
[data-mode="bold"] .bg-orb.violet {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--violet), transparent 65%);
  bottom: -100px; left: 30%;
  animation-delay: -14s;
}

[data-mode="conservative"] .bg-orb { display: none; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.15); }
}

/* ============================================
   Layout
   ============================================ */

.shell {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

@media (max-width: 720px) {
  .shell { padding: 0 20px; }
  section { padding: 80px 0; }
}

/* ============================================
   Nav
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 8, 13, 0.65);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 230, 255, 0.22), rgba(255, 94, 201, 0.22)), var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 45%, rgba(12, 14, 22, 0.6) 100%);
  pointer-events: none;
  z-index: 2;
}

.brand-mark .naxus-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 4px rgba(34, 230, 255, 0.5)) contrast(1.1) brightness(1.1);
  position: relative;
  z-index: 1;
}

.brand-name {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--fg-dim);
}

.nav-links a {
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--fg); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #0a0a12;
  font-weight: 600;
  box-shadow: var(--neon-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(34, 230, 255, 0.4), 0 0 80px rgba(255, 94, 201, 0.2);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 160px 0 140px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed brand image background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.48;
  animation: heroKen 24s ease-in-out infinite alternate;
  will-change: transform;
  -webkit-mask-image:
    radial-gradient(ellipse 75% 70% at center, #000 35%, rgba(0,0,0,0.4) 70%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 75% 70% at center, #000 35%, rgba(0,0,0,0.4) 70%, transparent 100%);
  filter: blur(0.5px);
}

[data-mode="conservative"] .hero-bg::before { opacity: 0.28; }

/* Subtle pan + zoom (Ken Burns) */
@keyframes heroKen {
  0%   { transform: scale(1.06) translate(0, 0); }
  50%  { transform: scale(1.12) translate(-2%, -1.5%); }
  100% { transform: scale(1.08) translate(2%, 1%); }
}

/* Gradient veil so the text stays readable AND smooth blend into the next section */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at center, transparent 0%, rgba(7, 8, 13, 0.55) 75%, var(--bg-0) 100%),
    linear-gradient(180deg,
      var(--bg-0) 0%,
      rgba(7, 8, 13, 0.4) 18%,
      transparent 45%,
      rgba(7, 8, 13, 0.55) 78%,
      var(--bg-0) 100%);
  z-index: 1;
}

/* Soft fade-to-bg seam that overlaps into the next section */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -160px;
  height: 320px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-0) 60%, var(--bg-0) 100%);
  z-index: 4;
  pointer-events: none;
}

/* Animated scanline noise */
.hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(34, 230, 255, 0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  animation: scanScroll 6s linear infinite;
  opacity: 0.6;
}
[data-mode="conservative"] .hero-scanlines { opacity: 0.25; }

@keyframes scanScroll {
  from { background-position: 0 0; }
  to   { background-position: 0 60px; }
}

/* Glow pulses on left/right edges that breathe */
.hero-pulse {
  position: absolute;
  top: 50%;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 2;
  pointer-events: none;
  transform: translateY(-50%);
  mix-blend-mode: screen;
}
.hero-pulse.left {
  left: -10vw;
  background: radial-gradient(circle, rgba(34, 230, 255, 0.45), transparent 65%);
  animation: pulseBreathe 7s ease-in-out infinite;
}
.hero-pulse.right {
  right: -10vw;
  background: radial-gradient(circle, rgba(255, 94, 201, 0.45), transparent 65%);
  animation: pulseBreathe 7s ease-in-out -3.5s infinite;
}
[data-mode="conservative"] .hero-pulse { opacity: 0.5; }

@keyframes pulseBreathe {
  0%, 100% { transform: translateY(-50%) scale(1);    opacity: 0.6; }
  50%      { transform: translateY(-50%) scale(1.15); opacity: 1; }
}

.hero .shell {
  position: relative;
  z-index: 3;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 880px;
}

/* ---------- Logo stage ---------- */
.hero-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  z-index: 2;
  --parX: 0px;
  --parY: 0px;
  --parRX: 0deg;
  --parRY: 0deg;
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}

/* Darker fill behind the logo so the page grid never shows through */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(7, 8, 13, 0.92) 0%, rgba(7, 8, 13, 0.6) 50%, transparent 75%);
  z-index: 0;
}

@media (max-width: 920px) {
  .hero-stage { max-width: 380px; margin: 40px auto 0; }
}

.hero-stage .layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

/* Orbital rings */
.ring {
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  opacity: 0.5;
}
.ring.r1 { inset: 6%; border-color: rgba(34, 230, 255, 0.22); animation: spinSlow 28s linear infinite; }
.ring.r2 { inset: 14%; border-color: rgba(255, 94, 201, 0.22); border-style: dashed; animation: spinSlow 42s linear infinite reverse; }
.ring.r3 { inset: 22%; border-color: rgba(138, 107, 255, 0.18); animation: spinSlow 60s linear infinite; }

.ring::before, .ring::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  top: 50%; left: -4px;
  transform: translateY(-50%);
}
.ring.r1::before { background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.ring.r1::after  { left: auto; right: -4px; background: var(--magenta); box-shadow: 0 0 14px var(--magenta); }
.ring.r2::before { background: var(--magenta); box-shadow: 0 0 14px var(--magenta); top: 20%; left: 88%; }
.ring.r3::before { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); top: 80%; left: 12%; }
.ring.r3::after  { display: none; }
.ring.r2::after  { display: none; }

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* Glow halo behind logo */
.hero-halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(34, 230, 255, 0.55), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(255, 94, 201, 0.45), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(138, 107, 255, 0.25), transparent 70%);
  filter: blur(40px);
  animation: haloPulse 6s ease-in-out infinite;
  z-index: 0;
}

[data-mode="conservative"] .hero-halo { opacity: 0.55; }

@keyframes haloPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; filter: blur(40px); }
  50%      { transform: scale(1.08); opacity: 1; filter: blur(50px); }
}

/* The logo */
.hero-logo {
  position: absolute;
  inset: 6%;
  transform: translate3d(var(--parX), var(--parY), 0) rotateX(var(--parRY)) rotateY(var(--parRX));
  animation: logoFloat 9s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(34, 230, 255, 0.45)) drop-shadow(0 0 40px rgba(255, 94, 201, 0.35));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.naxus-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.naxus-svg-anim {
  filter: drop-shadow(0 0 14px rgba(34, 230, 255, 0.55)) drop-shadow(0 0 28px rgba(255, 94, 201, 0.4));
  animation: logoBreathe 5s ease-in-out infinite;
}

@keyframes logoBreathe {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(34, 230, 255, 0.55)) drop-shadow(0 0 28px rgba(255, 94, 201, 0.4)); }
  50%      { filter: drop-shadow(0 0 22px rgba(34, 230, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 94, 201, 0.6)); }
}

[data-mode="conservative"] .naxus-svg-anim {
  filter: drop-shadow(0 0 10px rgba(34, 230, 255, 0.4));
  animation: none;
}

[data-mode="conservative"] .hero-logo {
  filter: drop-shadow(0 0 14px rgba(34, 230, 255, 0.35));
}

@keyframes logoFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

/* Soft chromatic-aberration echo — disabled (replaced by SVG glow) */
.hero-ghost { display: none; }

/* Scan line sweep — disabled (SVG-based logo) */
.hero-scan { display: none; }

/* Orbiting particle dots */
.hero-orbit {
  position: absolute;
  inset: 0;
  animation: spinSlow 24s linear infinite;
  z-index: 1;
}
.hero-orbit .p {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  top: 50%; left: 50%;
  margin: -3px 0 0 -3px;
}
.hero-orbit .p:nth-child(1) { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: rotate(0deg) translateX(46%); }
.hero-orbit .p:nth-child(2) { background: var(--magenta); box-shadow: 0 0 12px var(--magenta); transform: rotate(120deg) translateX(46%); }
.hero-orbit .p:nth-child(3) { background: var(--violet); box-shadow: 0 0 12px var(--violet); transform: rotate(240deg) translateX(46%); }

/* ---------- Text side ---------- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 24px;
  max-width: 900px;
  text-shadow: 0 0 30px rgba(34, 230, 255, 0.18), 0 2px 24px rgba(0, 0, 0, 0.6);
}

.hero-title .accent {
  background: linear-gradient(120deg, #5cf2ff 15%, #ff7ed6 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(34, 230, 255, 0.5)) drop-shadow(0 0 28px rgba(255, 94, 201, 0.35));
}

[data-mode="bold"] .hero-title .accent {
  filter: drop-shadow(0 0 24px rgba(34, 230, 255, 0.6)) drop-shadow(0 0 40px rgba(255, 94, 201, 0.4));
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: #e6e9f2;
  max-width: 620px;
  margin: 0 0 40px;
  line-height: 1.55;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta-num  { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ============================================
   Section heads
   ============================================ */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
  max-width: 720px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
}

.section-lede {
  font-size: 18px;
  color: var(--fg-dim);
  margin: 12px 0 0;
  max-width: 580px;
}

/* ============================================
   Services
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

@media (max-width: 920px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service {
  background: var(--bg-1);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s var(--ease);
  min-height: 220px;
  position: relative;
}

.service:hover {
  background: var(--bg-2);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-soft), var(--magenta-soft));
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service:hover .service-icon {
  border-color: var(--cyan);
  box-shadow: var(--neon-glow);
}

.service-icon svg { width: 22px; height: 22px; }

.service-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.service-desc {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   Process
   ============================================ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 920px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-1), transparent);
  position: relative;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.process-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.process-desc {
  font-size: 14px;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.55;
}

/* ============================================
   Use cases
   ============================================ */

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .cases { grid-template-columns: 1fr; }
}

.case {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-1);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}

.case:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
  transform: translateY(-2px);
}

.case-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(34, 230, 255, 0.3);
}

.case-badge.alt {
  background: var(--magenta-soft);
  color: var(--magenta);
  border-color: rgba(255, 94, 201, 0.3);
}

.case-body { display: flex; flex-direction: column; gap: 8px; }

.case-title {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}

.case-desc {
  font-size: 14px;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.55;
}

/* ============================================
   Stats
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(34, 230, 255, 0.04), rgba(255, 94, 201, 0.04));
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); padding: 32px; }
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.stat-desc {
  font-size: 14px;
  color: var(--fg-dim);
  margin-top: 4px;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .testimonials { grid-template-columns: 1fr; }
}

.testimonial {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.005em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #0a0a12;
}

.author-name {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.author-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}

/* ============================================
   About
   ============================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
}

.about-visual {
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, var(--cyan-soft), transparent 60%),
    radial-gradient(circle at 70% 70%, var(--magenta-soft), transparent 60%),
    var(--bg-1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  isolation: isolate;
}

/* Soft inner vignette so the logo's dark bg blends with the card */
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 38%, rgba(12, 14, 22, 0.55) 75%, var(--bg-1) 100%);
}

/* Pulsing neon accents over the corners */
.about-visual::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(34, 230, 255, 0.32), transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(255, 94, 201, 0.32), transparent 40%);
  mix-blend-mode: screen;
  animation: aboutGlow 7s ease-in-out infinite alternate;
}

@keyframes aboutGlow {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.08); }
}

.about-visual .naxus-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  z-index: 1;
  /* Blend the dark JPEG bg into the page */
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 30px rgba(34, 230, 255, 0.35))
    drop-shadow(0 0 50px rgba(255, 94, 201, 0.25))
    contrast(1.08)
    brightness(1.05);
  animation: logoFloatScale 11s ease-in-out infinite;
}

[data-mode="bold"] .about-visual .naxus-svg {
  filter:
    drop-shadow(0 0 36px rgba(34, 230, 255, 0.55))
    drop-shadow(0 0 60px rgba(255, 94, 201, 0.4))
    contrast(1.12)
    brightness(1.1);
}

@keyframes logoFloatScale {
  0%, 100% { transform: translateY(0)    scale(1);    }
  50%      { transform: translateY(-10px) scale(1.03); }
}

[data-mode="bold"] .about-visual .naxus-svg {
  filter: drop-shadow(0 0 40px rgba(34, 230, 255, 0.5)) drop-shadow(0 0 60px rgba(255, 94, 201, 0.35));
}

.about-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin: 0 0 18px;
}

.about-body p strong {
  color: var(--fg);
  font-weight: 500;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--fg);
}

.about-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  margin-top: 9px;
  flex-shrink: 0;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease);
}

.faq-q:hover { color: var(--cyan); }

.faq-q .toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[data-open="true"] .toggle {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0a0a12;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item[data-open="true"] .faq-a {
  max-height: 240px;
  padding: 0 0 24px;
}

.faq-a p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin: 0;
  max-width: 760px;
}

/* ============================================
   Wizard
   ============================================ */

.wizard-section {
  position: relative;
}

.wizard {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(34, 230, 255, 0.05), transparent 40%),
    var(--bg-1);
  padding: 48px;
  overflow: hidden;
}

[data-mode="bold"] .wizard {
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 80px rgba(34, 230, 255, 0.12);
}

.wizard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  opacity: 0.6;
}

@media (max-width: 720px) {
  .wizard { padding: 32px 24px; }
}

.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.wizard-progress .pip {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--line-strong);
  overflow: hidden;
  position: relative;
}

.wizard-progress .pip.active::after,
.wizard-progress .pip.done::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform-origin: left;
  animation: fillIn 0.6s var(--ease) forwards;
}

.wizard-progress .pip.done::after { animation-duration: 0.3s; }

@keyframes fillIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.wizard-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.wizard-step-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 12px;
}

.wizard-step-sub {
  font-size: 16px;
  color: var(--fg-dim);
  margin: 0 0 36px;
  max-width: 540px;
}

.wizard-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wizard-fields .full { grid-column: 1 / -1; }

@media (max-width: 600px) {
  .wizard-fields { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.2s var(--ease);
  width: 100%;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-display);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  background: var(--bg-3);
  box-shadow: 0 0 0 3px rgba(34, 230, 255, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-mute);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23aab0c0' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Option chips for select-style answers */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 14px;
  color: var(--fg);
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.chip.selected {
  background: linear-gradient(135deg, var(--cyan-soft), var(--magenta-soft));
  border-color: var(--cyan);
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--cyan) inset;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.wizard-back {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}
.wizard-back:hover { color: var(--fg); }
.wizard-back[disabled] { opacity: 0.3; cursor: not-allowed; }

.wizard-success {
  text-align: center;
  padding: 40px 20px;
}

.wizard-success .ok-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neon-glow);
}

.wizard-success h3 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.wizard-success p {
  font-size: 17px;
  color: var(--fg-dim);
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--fg-dim);
}

/* Step entry animation */
.step-fade {
  animation: stepIn 0.4s var(--ease);
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal (animation-based so it can't get stuck) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.in {
  animation: revealIn 0.7s var(--ease) forwards;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Above-the-fold content reveals on mount, no observer needed */
.hero .reveal { animation: revealIn 0.7s var(--ease) 0.1s forwards; opacity: 0; }
