/* ============================================================
   ImmersiXR Labs — styles.css
   Direction: dark futuristic XR laboratory.
   Near-black / deep navy base · electric cyan, blue, subtle violet accents.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #05070d;
  --bg-2: #070b15;
  --bg-3: #0b1120;
  --surface: rgba(13, 19, 34, 0.62);
  --surface-2: rgba(17, 25, 44, 0.78);
  --ink: #eaf0ff;           /* headings */
  --ink-2: #aab5cd;         /* body */
  --ink-3: #7884a0;         /* labels (AA on bg) */

  --cyan: #3ee6ff;
  --cyan-dim: rgba(62, 230, 255, 0.55);
  --blue: #4f7cff;
  --violet: #8b5cf6;
  --accent: var(--cyan);
  --danger: #ff6b81;
  --ok: #3ef0b0;

  --line: rgba(120, 170, 255, 0.12);
  --line-strong: rgba(120, 190, 255, 0.26);
  --line-glow: rgba(62, 230, 255, 0.45);
  --text: var(--ink);
  --muted: var(--ink-2);
  --faint: var(--ink-3);

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-label: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-hud: "Orbitron", "Space Grotesk", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 74px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(62, 230, 255, 0.12);
  --glow-cyan: 0 0 24px rgba(62, 230, 255, 0.35);
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--cyan); text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(62, 230, 255, 0.3); color: #fff; }
[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--cyan); color: #021018; padding: 0.6rem 1rem;
  border-radius: 8px; font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Ambient background: grid + glow orbs ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -20%, rgba(79, 124, 255, 0.14), transparent 60%),
    radial-gradient(90% 60% at -10% 40%, rgba(139, 92, 246, 0.08), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #060914 50%, #04060b 100%);
}
.bg-fx__grid {
  position: absolute; inset: -80px 0 0 0;
  background-image:
    linear-gradient(rgba(62, 230, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 230, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift { to { transform: translateY(64px); } }
.bg-fx__orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.bg-fx__orb--cyan   { width: 40vw; height: 40vw; left: -12vw; top: -10vw; background: radial-gradient(circle, rgba(62,230,255,0.22), transparent 65%); animation: orbFloat 22s ease-in-out infinite alternate; }
.bg-fx__orb--violet { width: 36vw; height: 36vw; right: -10vw; top: 30vh; background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 65%); animation: orbFloat 26s ease-in-out infinite alternate-reverse; }
.bg-fx__orb--blue   { width: 44vw; height: 44vw; left: 28vw; bottom: -22vw; background: radial-gradient(circle, rgba(79,124,255,0.18), transparent 65%); }
@keyframes orbFloat { to { transform: translate3d(4vw, 3vh, 0); } }

/* ---------- Typography helpers ---------- */
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.kicker {
  font-family: var(--font-label);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em;
  color: var(--cyan); text-transform: uppercase;
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; flex: none;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}

.hud-label {
  font-family: var(--font-label);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em;
  color: var(--ink-3); text-transform: uppercase; white-space: nowrap;
}

.text-grad {
  background: linear-gradient(100deg, var(--cyan) 0%, #7fb2ff 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 16, 32, 0.7) 15%, rgba(10, 16, 32, 0.7) 85%, transparent 100%);
}
.section--alt::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 230, 255, 0.25), transparent);
}

.section__head { max-width: 780px; margin-bottom: clamp(2.8rem, 5.5vw, 4.4rem); }
.section__head--left { margin-bottom: 2rem; }
.section__head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.section__sub { color: var(--ink-2); margin-top: 1.2rem; font-size: 1.06rem; max-width: 40em; }

/* ---------- Surfaces: glass + holographic border ---------- */
.glass {
  background: linear-gradient(160deg, rgba(20, 30, 54, 0.6), rgba(9, 13, 25, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
@supports not (backdrop-filter: blur(14px)) {
  .glass { background: rgba(11, 17, 32, 0.95); }
}

.holo-card { position: relative; }
.holo-card::before {
  content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.7; pointer-events: none;
}

.holo-frame { position: relative; }
.holo-frame__corner {
  position: absolute; width: 20px; height: 20px; z-index: 3; pointer-events: none;
  border-color: var(--cyan); border-style: solid; border-width: 0;
  filter: drop-shadow(0 0 4px rgba(62, 230, 255, 0.7));
}
.holo-frame__corner--tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.holo-frame__corner--br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

.pulse-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--ok); box-shadow: 0 0 0 0 rgba(62, 240, 176, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 240, 176, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(62, 240, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 240, 176, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.85rem 1.7rem; border-radius: 999px;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer; position: relative; isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--primary {
  background: linear-gradient(100deg, #3ee6ff 0%, #4fa8ff 55%, #6b7dff 100%);
  color: #03111c;
  box-shadow: 0 0 0 1px rgba(62, 230, 255, 0.4), 0 10px 30px rgba(62, 230, 255, 0.22);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(62, 230, 255, 0.7), 0 14px 40px rgba(62, 230, 255, 0.4), 0 0 60px rgba(79, 124, 255, 0.25);
}
.btn--primary:active { transform: translateY(0); }
.btn--primary[disabled] { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn--ghost {
  background: rgba(14, 22, 40, 0.5);
  border-color: var(--line-strong);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--line-glow); color: #fff;
  box-shadow: inset 0 0 20px rgba(62, 230, 255, 0.08), 0 0 24px rgba(62, 230, 255, 0.15);
  transform: translateY(-2px);
}

.btn--sm { min-height: 40px; padding: 0.55rem 1.2rem; font-size: 0.86rem; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform 0.25s ease; }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }

.btn__spinner {
  display: none; width: 1.05em; height: 1.05em; border-radius: 50%;
  border: 2px solid rgba(3, 17, 28, 0.25); border-top-color: #03111c;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll reveal (only hidden once JS confirms it runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav--scrolled {
  background: rgba(5, 8, 16, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
@supports not (backdrop-filter: blur(16px)) { .nav--scrolled { background: rgba(5, 8, 16, 0.97); } }

.nav__inner { display: flex; align-items: center; gap: 2rem; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); flex: none; }
.brand__mark { height: 34px; width: auto; flex: none; filter: drop-shadow(0 0 10px rgba(62, 230, 255, 0.35)); }
.footer .brand__mark { height: 38px; }
.brand__text { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__text em { font-style: normal; font-weight: 400; color: var(--cyan); }

.nav__links { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.nav__links a {
  color: var(--ink-2); font-size: 0.9rem; font-weight: 500;
  padding: 0.45rem 0.1rem; position: relative; transition: color 0.25s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transition: left 0.3s ease, right 0.3s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { left: 0; right: 0; }
.nav__links a[aria-current="true"] { color: var(--cyan); }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }
@media (max-width: 960px) { .nav__links + .nav__actions { margin-left: auto; } }

/* animated hamburger */
.nav__toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: rgba(14, 22, 40, 0.6); border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav__toggle:hover { border-color: var(--line-glow); box-shadow: 0 0 18px rgba(62, 230, 255, 0.2); }
.nav__toggle-box { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.nav__toggle-box i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, width 0.3s ease, background 0.25s ease; }
.nav__toggle-box i:nth-child(2) { width: 70%; margin-left: auto; background: var(--cyan); }
.nav__toggle[aria-expanded="true"] .nav__toggle-box i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-box i:nth-child(2) { opacity: 0; width: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-box i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mmenu { position: fixed; inset: 0; z-index: 110; background: rgba(2, 4, 10, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s ease; }
.mmenu.is-open { opacity: 1; }
.mmenu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: linear-gradient(200deg, #0c1428 0%, #060a14 100%);
  border-left: 1px solid var(--line-strong);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5), inset 1px 0 0 rgba(62, 230, 255, 0.15);
  padding: 1.4rem 1.6rem 2rem; display: flex; flex-direction: column; gap: 1.3rem;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.mmenu.is-open .mmenu__panel { transform: translateX(0); }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.mmenu__head .hud-label { color: var(--cyan); }
.mmenu__close { background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 1rem; transition: border-color 0.25s ease, color 0.25s ease; }
.mmenu__close:hover { border-color: var(--cyan); color: var(--cyan); }
.mmenu__links { display: flex; flex-direction: column; gap: 0.15rem; }
.mmenu__links a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0.6rem; min-height: 48px;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; color: var(--ink);
  border-radius: 10px; transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}
.mmenu__links a span { font-family: var(--font-label); font-size: 0.66rem; font-weight: 600; color: var(--cyan); letter-spacing: 0.18em; }
.mmenu__links a:hover { color: var(--cyan); background: rgba(62, 230, 255, 0.06); padding-left: 1rem; }
.js .mmenu.is-open .mmenu__links a { animation: menuIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.mmenu.is-open .mmenu__links a:nth-child(2) { animation-delay: 0.04s; }
.mmenu.is-open .mmenu__links a:nth-child(3) { animation-delay: 0.08s; }
.mmenu.is-open .mmenu__links a:nth-child(4) { animation-delay: 0.12s; }
.mmenu.is-open .mmenu__links a:nth-child(5) { animation-delay: 0.16s; }
.mmenu.is-open .mmenu__links a:nth-child(6) { animation-delay: 0.2s; }
.mmenu.is-open .mmenu__links a:nth-child(7) { animation-delay: 0.24s; }
@keyframes menuIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.mmenu__foot { margin-top: auto; text-align: center; white-space: normal; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + clamp(2.5rem, 6vh, 4.5rem)) 0 3rem; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero__particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__scanlines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px);
}
.hero__scanlines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 120px; top: -120px;
  background: linear-gradient(180deg, transparent, rgba(62, 230, 255, 0.05), transparent);
  animation: scanSweep 9s linear infinite;
}
@keyframes scanSweep { to { transform: translateY(calc(100vh + 240px)); } }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero__inner > *, .compare > *, .hands > *, .schools > *, .about > *, .demo-grid > *, .journey > * { min-width: 0; }

.hero__status {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.64rem; padding: 0.5rem 1rem; color: var(--ink-2);
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(10, 18, 34, 0.7); margin-bottom: 1.8rem; white-space: normal;
}
.hero__title { font-size: clamp(2.9rem, 6.4vw, 5.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.hero__title .text-grad { filter: drop-shadow(0 0 30px rgba(62, 230, 255, 0.25)); }
.hero__lede { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.18rem, 2vw, 1.45rem); color: var(--ink); margin-top: 1.5rem; line-height: 1.4; max-width: 34rem; }
.hero__body { color: var(--ink-2); margin-top: 1.1rem; max-width: 34rem; font-size: 1.02rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.3rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 2.2rem; }
.hero__chips li {
  font-size: 0.78rem; font-weight: 500; color: var(--ink-2);
  padding: 0.42rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(12, 20, 38, 0.6);
}
.hero__chips li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); margin-right: 0.5rem; vertical-align: middle; }

.hero__visual { position: relative; perspective: 1200px; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% -6% -4% 6%; z-index: -1; border-radius: 40%;
  background: radial-gradient(circle, rgba(62, 230, 255, 0.28), rgba(139, 92, 246, 0.14) 45%, transparent 70%);
  filter: blur(40px);
}
.holo-frame--hero {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(62, 230, 255, 0.12), 0 0 60px rgba(62, 230, 255, 0.12);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__visual:hover .holo-frame--hero { transform: rotateY(-2deg) rotateX(0); }
.holo-frame--hero img { width: 100%; height: 100%; object-fit: cover; }
.holo-frame--hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0) 55%, rgba(5, 7, 13, 0.7) 100%),
    repeating-linear-gradient(180deg, rgba(62, 230, 255, 0.03) 0 1px, transparent 1px 3px);
}

.hero__tags { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.float-tag {
  position: absolute; font-family: var(--font-label); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em;
  color: var(--cyan); padding: 0.45rem 0.8rem; border-radius: 6px;
  background: rgba(5, 12, 24, 0.78); border: 1px solid rgba(62, 230, 255, 0.35);
  box-shadow: 0 0 20px rgba(62, 230, 255, 0.15);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: floaty 6s ease-in-out infinite alternate;
}
.float-tag::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 0.5rem; background: var(--cyan); border-radius: 50%; vertical-align: middle; }
.float-tag--a { top: 7%; right: 6%; }
.float-tag--b { top: 50%; left: 5%; animation-delay: 1.2s; }
.float-tag--c { bottom: 8%; right: 8%; animation-delay: 2.4s; }
@keyframes floaty { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

.hero__strip {
  position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap;
  gap: 1.2rem 1.8rem; margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.hero__strip-line { flex: 1; height: 1px; min-width: 40px; background: linear-gradient(90deg, var(--cyan-dim), transparent); }

/* ---------- Art animations ---------- */
.spin-slow { animation: spinSlow 24s linear infinite; transform-origin: 50% 50%; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.bob { animation: bob 4s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }

/* ============================================================
   PROBLEM / COMPARISON
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr auto 1.05fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
.compare__list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.2rem; }
.compare__list .glass { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(12, 16, 28, 0.55); }
.compare__list svg { width: 24px; height: 24px; flex: none; stroke: var(--ink-3); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 0.15rem; }
.compare__list h3 { font-size: 1rem; font-weight: 600; color: var(--ink); }
.compare__list p { color: var(--ink-3); font-size: 0.9rem; margin-top: 0.15rem; }
.compare__col--old { filter: saturate(0.4); }
.compare__label { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-3); }
.compare__label--live { color: var(--cyan); }

.compare__bridge { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.compare__bridge-line { width: 1px; height: 70px; background: linear-gradient(180deg, transparent, var(--cyan), transparent); box-shadow: 0 0 8px var(--cyan); }
.compare__bridge-btn {
  font-family: var(--font-label); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--cyan); background: rgba(62, 230, 255, 0.08); border: 1px solid rgba(62, 230, 255, 0.45);
  padding: 0.55rem 0.95rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 0 24px rgba(62, 230, 255, 0.2);
}

.compare__card {
  padding: clamp(1.7rem, 3vw, 2.3rem);
  border-color: rgba(62, 230, 255, 0.28);
  box-shadow: 0 0 50px rgba(62, 230, 255, 0.08), inset 0 0 40px rgba(62, 230, 255, 0.03);
}
.compare__card h3 { font-size: 1.65rem; margin-bottom: 0.7rem; }
.compare__card > p { color: var(--ink-2); }
.tick-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.1rem; }
.tick-list li { position: relative; padding-left: 1.7rem; color: var(--ink); font-size: 0.95rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 0.9rem; height: 0.9rem; border-radius: 50%;
  border: 1px solid var(--cyan); background: radial-gradient(circle, rgba(62, 230, 255, 0.6) 0 25%, transparent 30%);
  box-shadow: 0 0 8px rgba(62, 230, 255, 0.4);
}
.compare__note {
  margin-top: 1.3rem; padding: 0.95rem 1.15rem;
  border-left: 2px solid var(--violet); background: rgba(139, 92, 246, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); font-size: 0.92rem;
}

/* ============================================================
   VR LAB / SUBJECTS
   ============================================================ */
.subjects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.subject, .feature, .flow__step, .pillar, .impact, .contact-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.subject:hover, .feature:hover, .flow__step:hover, .pillar:hover, .impact:hover, .contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 230, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(62, 230, 255, 0.12);
}
.subject { padding: 1.9rem 1.6rem; }
.subject__art {
  height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
  border-radius: var(--radius-sm); position: relative;
  background: radial-gradient(circle at 50% 55%, rgba(62, 230, 255, 0.12), transparent 65%);
}
.subject__art::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: 8px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
}
.subject__art svg { width: 108px; height: 108px; stroke-width: 2.1; filter: drop-shadow(0 0 10px rgba(62, 230, 255, 0.45)); transition: transform 0.5s ease; }
.subject:hover .subject__art svg { transform: scale(1.08); }
.subject h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.subject p { color: var(--ink-2); font-size: 0.94rem; min-height: 3.6em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.chip-row li {
  font-size: 0.72rem; font-weight: 500; color: var(--cyan);
  border: 1px solid rgba(62, 230, 255, 0.25); padding: 0.28rem 0.65rem; border-radius: 999px; background: rgba(62, 230, 255, 0.06);
}

.hardware-note { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-top: 2.4rem; color: var(--ink-2); font-size: 0.95rem; text-align: center; flex-wrap: wrap; }
.hardware-note svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.6; stroke-linecap: round; }

/* ============================================================
   HANDS / INTERACTION
   ============================================================ */
.hands { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hand-steps { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; }
.hand-steps li {
  display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1.1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(12, 19, 36, 0.55);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.hand-steps li:hover { border-color: rgba(62, 230, 255, 0.4); transform: translateX(4px); box-shadow: 0 0 20px rgba(62, 230, 255, 0.1); }
.hand-steps span { font-family: var(--font-hud); font-size: 0.68rem; font-weight: 600; color: var(--cyan); letter-spacing: 0.1em; }

.hands__scene {
  position: relative; border-radius: var(--radius); padding: 1rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 55% 55%, rgba(62, 230, 255, 0.1), transparent 60%),
    linear-gradient(rgba(62, 230, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(62, 230, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    rgba(8, 13, 26, 0.6);
}
.hands__svg { width: 100%; height: auto; }
.hands__hand { filter: drop-shadow(0 0 12px rgba(62, 230, 255, 0.4)); }
.hands__obj { animation: floaty 6s ease-in-out infinite alternate; filter: drop-shadow(0 0 8px rgba(62, 230, 255, 0.35)); }
.hands__obj--beaker { animation-delay: 0.8s; }
.hands__obj--molecule { animation-delay: 1.6s; }
.hands__obj--anatomy { animation-delay: 2.4s; }
.hands__obj--geo { animation-delay: 3.2s; }
.hands__joints circle { animation: jointGlow 1.8s ease-in-out infinite alternate; }
.hands__joints circle:nth-child(2n) { animation-delay: 0.5s; }
.hands__joints circle:nth-child(3n) { animation-delay: 1s; }
@keyframes jointGlow { from { opacity: 0.35; } to { opacity: 1; } }
.hands__beams path { stroke-dashoffset: 0; animation: beamFlow 3s linear infinite; }
@keyframes beamFlow { to { stroke-dashoffset: -40; } }
.hands__hud { position: absolute; padding: 0.38rem 0.7rem; color: var(--cyan); border: 1px solid rgba(62, 230, 255, 0.3); background: rgba(5, 12, 24, 0.8); border-radius: 6px; }
.hands__hud--tl { top: 14px; left: 14px; }
.hands__hud--br { bottom: 14px; right: 14px; }

/* ============================================================
   HOW IT WORKS — glowing timeline
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; padding-top: 2.2rem; }
.flow::before {
  content: ""; position: absolute; top: 0.6rem; left: 1.6rem; right: 1.6rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 14px rgba(62, 230, 255, 0.5);
}
.flow__step { padding: 1.9rem 1.6rem; position: relative; }
.flow__step::before {
  content: ""; position: absolute; top: -1.95rem; left: 1.6rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 12px var(--cyan);
}
.flow__num { font-family: var(--font-hud); font-weight: 700; font-size: 1.9rem; color: var(--cyan); display: block; margin-bottom: 0.9rem; line-height: 1; text-shadow: 0 0 20px rgba(62, 230, 255, 0.5); }
.flow__step h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.flow__step p { color: var(--ink-2); font-size: 0.94rem; }

/* ============================================================
   WHY IMMERSIXR
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature { padding: 1.9rem 1.6rem; }
.feature svg {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 1.1rem;
  stroke: var(--cyan); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  border: 1px solid rgba(62, 230, 255, 0.3); border-radius: 12px; background: rgba(62, 230, 255, 0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature:hover svg { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 20px rgba(62, 230, 255, 0.35); }
.feature h3 { font-size: 1.16rem; margin-bottom: 0.45rem; }
.feature p { color: var(--ink-2); font-size: 0.92rem; }

/* ============================================================
   JOURNEY (scroll story)
   ============================================================ */
.journey { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.journey__stage { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.journey__screen {
  aspect-ratio: 4 / 3.2; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); padding: 1.6rem; overflow: hidden;
  border-color: rgba(62, 230, 255, 0.25);
  background:
    radial-gradient(circle at 50% 45%, rgba(62, 230, 255, 0.12), transparent 60%),
    linear-gradient(rgba(62, 230, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(62, 230, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    rgba(6, 10, 20, 0.85);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(62, 230, 255, 0.08);
}
.journey__phase { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; opacity: 0; transform: scale(0.92); filter: blur(6px); transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease; padding: 1.6rem; }
.journey__phase.is-active { opacity: 1; transform: none; filter: none; }
.journey__phase svg { width: min(62%, 240px); height: auto; filter: drop-shadow(0 0 14px rgba(62, 230, 255, 0.5)); }
.journey__phase-name { font-family: var(--font-hud); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.28em; color: var(--cyan); text-transform: uppercase; text-align: center; }
.journey__readout { position: absolute; bottom: 14px; left: 18px; color: var(--ink-3); white-space: normal; }

.journey__steps { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.journey__steps::before {
  content: ""; position: absolute; left: 27px; top: 22px; bottom: 22px; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--violet)); opacity: 0.5;
}
.journey__step { position: relative; padding: 1.4rem 1.5rem 1.4rem 3.8rem; transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease; }
.journey__num {
  position: absolute; left: 9px; top: 1.25rem; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hud); font-size: 0.7rem; font-weight: 600; color: var(--ink-3);
  background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 50%;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.journey__step h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.journey__step p { color: var(--ink-2); font-size: 0.94rem; }
.journey__step.is-active { border-color: rgba(62, 230, 255, 0.45); background: linear-gradient(160deg, rgba(20, 40, 66, 0.7), rgba(9, 14, 28, 0.7)); box-shadow: 0 0 40px rgba(62, 230, 255, 0.1); }
.journey__step.is-active .journey__num { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 16px rgba(62, 230, 255, 0.5); }

/* ============================================================
   SCHOOLS
   ============================================================ */
.schools { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.board-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.board-row li {
  font-family: var(--font-label); font-weight: 600; font-size: 0.84rem; letter-spacing: 0.06em; color: var(--ink);
  padding: 0.55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(12, 20, 38, 0.6);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.board-row li:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(62, 230, 255, 0.2); }
.schools__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.pillar { padding: 1.6rem 1.4rem; }
.pillar svg { width: 28px; height: 28px; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.9rem; filter: drop-shadow(0 0 6px rgba(62, 230, 255, 0.4)); }
.pillar h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.pillar p { color: var(--ink-2); font-size: 0.9rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about__copy p { color: var(--ink-2); margin-top: 1.2rem; font-size: 1.03rem; }
.about__facts { padding: 2rem 1.9rem; display: flex; flex-direction: column; gap: 1.15rem; border-color: rgba(62, 230, 255, 0.22); }
.about__facts > div { padding-bottom: 1.05rem; border-bottom: 1px dashed var(--line); }
.about__facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about__facts dt { margin-bottom: 0.25rem; color: var(--cyan); }
.about__facts dd { color: var(--ink); font-size: 0.98rem; }

/* ============================================================
   IMPACT / TRUST (media placeholders)
   ============================================================ */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.impact { padding: 1rem; }
.impact__ph, .impact img, .impact video {
  aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.impact__ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem;
  background:
    repeating-linear-gradient(135deg, rgba(62, 230, 255, 0.035) 0 10px, transparent 10px 20px),
    linear-gradient(155deg, #0d1628 0%, #080d19 100%);
}
.impact__ph svg { width: 30px; height: 30px; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.impact figcaption { padding: 1rem 0.4rem 0.4rem; }
.impact h3 { font-size: 1.1rem; }
.impact figcaption p { color: var(--ink-3); font-size: 0.88rem; margin-top: 0.3rem; }

/* ============================================================
   DEMO VIDEO
   ============================================================ */
.video-shell { max-width: 960px; margin-inline: auto; }
.video-frame {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #02040a;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 70px rgba(62, 230, 255, 0.12);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.4s ease, transform 6s ease; }
.video-frame:hover img { opacity: 0.9; transform: scale(1.03); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; }
.video-frame.is-playing img, .video-frame.is-playing .video-play { display: none; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; z-index: 4;
  display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.5rem 0.7rem 0.75rem; min-height: 56px;
  background: rgba(5, 12, 24, 0.75); border: 1px solid rgba(62, 230, 255, 0.5); border-radius: 999px;
  color: var(--ink); cursor: pointer; font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(62, 230, 255, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.video-play svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; color: #03111c; background: var(--cyan); }
.video-play:hover { box-shadow: 0 0 60px rgba(62, 230, 255, 0.5); transform: scale(1.04); }
.video-cta { text-align: center; margin-top: 2.6rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.video-cta p { font-family: var(--font-head); font-size: 1.45rem; color: var(--ink); }

/* ============================================================
   BOOK A DEMO FORM
   ============================================================ */
.demo-grid { display: grid; grid-template-columns: 340px 1fr; gap: 1.6rem; align-items: start; }
.demo-info { padding: 2rem 1.8rem; }
.demo-info h3 { font-size: 1.4rem; margin-bottom: 1.3rem; }
.next-steps { display: flex; flex-direction: column; gap: 1.1rem; }
.next-steps li { display: flex; gap: 0.9rem; color: var(--ink-2); font-size: 0.94rem; }
.next-steps span {
  flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hud); font-size: 0.72rem; font-weight: 700; color: var(--cyan);
  border: 1px solid rgba(62, 230, 255, 0.45); border-radius: 50%; background: rgba(62, 230, 255, 0.07);
}
.demo-info__contact { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.demo-info__contact a { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-size: 0.93rem; font-weight: 500; min-height: 36px; transition: color 0.25s ease; word-break: break-word; }
.demo-info__contact a:hover { color: var(--cyan); }
.demo-info__contact svg { width: 18px; height: 18px; flex: none; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.demo-info__note { margin-top: 1.1rem; color: var(--ink-3); font-size: 0.86rem; }

.form-wrap {
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
  border-color: rgba(62, 230, 255, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(62, 230, 255, 0.07);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--cyan); }
.field .opt { color: var(--ink-3); font-weight: 400; font-size: 0.8rem; }
.field__hint { color: var(--ink-3); font-size: 0.8rem; }
.field__error { color: var(--danger); font-size: 0.83rem; display: flex; gap: 0.4rem; align-items: center; }
.field__error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; font-size: 0.7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; background: var(--danger); color: #1a0308; }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; min-height: 50px; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  background: rgba(4, 8, 18, 0.75); border: 1px solid var(--line-strong); color: var(--ink);
  font-size: 1rem; /* ≥16px avoids iOS zoom */
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
input::placeholder, textarea::placeholder { color: #5d6884; }
input:hover, select:hover, textarea:hover { border-color: rgba(62, 230, 255, 0.35); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--cyan); background: rgba(6, 14, 28, 0.9);
  box-shadow: 0 0 0 3px rgba(62, 230, 255, 0.16), 0 0 20px rgba(62, 230, 255, 0.15);
}
input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(78%) sepia(60%) saturate(800%) hue-rotate(150deg); cursor: pointer; opacity: 0.85; }
textarea { resize: vertical; min-height: 110px; }
select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%233EE6FF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center; padding-right: 2.4rem;
}
select option { background: #0b1120; color: var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 129, 0.14); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.phone-row { display: grid; grid-template-columns: 150px 1fr; gap: 0.6rem; }

.form-privacy { color: var(--ink-3); font-size: 0.82rem; margin-top: 1.2rem; }
.form-actions { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; }
.form-actions .btn { min-height: 54px; font-size: 1rem; }
.btn.is-loading { pointer-events: none; }
.form-status { font-size: 0.92rem; min-height: 1.2em; }
.form-status.is-error {
  color: #ffd4db; padding: 0.9rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 107, 129, 0.45); background: rgba(255, 107, 129, 0.08);
}
.form-status a { color: var(--cyan); text-decoration: underline; }

.form-success { text-align: center; padding: clamp(1.6rem, 4vw, 3rem) 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.form-success__ring {
  width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative;
  border: 2px solid var(--ok);
  background: radial-gradient(circle, rgba(62, 240, 176, 0.2), transparent 70%);
  box-shadow: 0 0 40px rgba(62, 240, 176, 0.35), inset 0 0 20px rgba(62, 240, 176, 0.15);
  animation: successIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.form-success__ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(62, 240, 176, 0.45); animation: spinSlow 14s linear infinite; }
.form-success__ring svg { width: 42px; height: 42px; stroke: var(--ok); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s 0.3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes successIn { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.form-success h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-success p { color: var(--ink-2); max-width: 34rem; }
.form-success__meta { font-family: var(--font-label); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; color: var(--ok); white-space: normal; word-break: break-word; }

/* ============================================================
   CONTACT + FINAL CTA
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.contact-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem 1.5rem; color: var(--ink); min-width: 0; }
.contact-card svg {
  width: 48px; height: 48px; padding: 12px; flex: none; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  border: 1px solid rgba(62, 230, 255, 0.3); border-radius: 12px; background: rgba(62, 230, 255, 0.07);
}
.contact-card > div { min-width: 0; }
.contact-card h3 { font-size: 0.7rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-card p { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-top: 0.2rem; overflow-wrap: anywhere; }
.contact-note { text-align: center; color: var(--ink-2); margin-top: 1.7rem; font-size: 0.95rem; }
.contact-note a { text-decoration: underline; text-underline-offset: 3px; }

.final-cta {
  margin-top: clamp(3.5rem, 7vw, 6rem); overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.3rem, 4vw, 3rem); text-align: center;
  border-color: rgba(62, 230, 255, 0.3);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(62, 230, 255, 0.16), transparent 60%),
    radial-gradient(60% 80% at 50% 120%, rgba(139, 92, 246, 0.18), transparent 60%),
    linear-gradient(rgba(62, 230, 255, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(62, 230, 255, 0.04) 1px, transparent 1px) 0 0 / 40px 40px,
    #060a16;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 80px rgba(62, 230, 255, 0.1);
}
.final-cta__tag { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; color: var(--cyan); }
.final-cta h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 760px; margin-inline: auto; }
.final-cta p { color: var(--ink-2); margin-top: 1.1rem; font-size: 1.06rem; }
.final-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.9) 0%, #03050a 100%);
  padding-top: clamp(3.2rem, 7vw, 5rem);
}
.footer::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.6; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 0.7fr; gap: 2.6rem; padding-bottom: 2.8rem; }
.footer__tag { font-family: var(--font-head); font-size: 1.05rem; color: var(--cyan); margin-top: 1rem; }
.footer__blurb { color: var(--ink-3); font-size: 0.9rem; margin-top: 0.8rem; max-width: 30rem; }
.footer__links, .footer__contact, .footer__social { display: flex; flex-direction: column; gap: 0.55rem; }
.footer .hud-label { color: var(--ink); margin-bottom: 0.5rem; }
.footer__links a, .footer__contact a { color: var(--ink-2); font-size: 0.93rem; padding: 0.15rem 0; transition: color 0.25s ease; overflow-wrap: anywhere; }
.footer__links a:hover, .footer__contact a:hover { color: var(--cyan); }
.footer__icons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer__icons a {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink-2);
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.footer__icons a:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(62, 230, 255, 0.25); }
.footer__icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.85rem;
}
.footer__disclaimer { opacity: 0.85; }

/* ---------- 404 helper ---------- */
.nf__code { text-shadow: 0 0 40px rgba(62, 230, 255, 0.5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links { gap: 1.2rem; }
  .nav__links a { font-size: 0.86rem; }
}

@media (max-width: 1060px) {
  .subjects, .feature-grid, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); padding-top: 0; }
  .flow::before, .flow__step::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .holo-frame--hero { transform: none; }
  .compare { grid-template-columns: 1fr; }
  .compare__bridge { flex-direction: row; }
  .compare__bridge-line { width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
  .hands, .journey, .schools, .about, .demo-grid { grid-template-columns: 1fr; }
  .journey__stage { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .container { width: calc(100% - 2rem); }
  .subjects, .feature-grid, .impact-grid, .flow, .contact-grid, .schools__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 124px 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero__cta .btn, .final-cta__buttons .btn { width: 100%; }
  .hero__strip { display: none; }
  .journey__steps::before { left: 23px; }
  .journey__step { padding-left: 3.4rem; }
  .journey__num { left: 5px; }
  .footer__legal { justify-content: center; text-align: center; }
  .brand__mark { height: 28px; }
  .brand__text { font-size: 1.08rem; }
  /* lighter effects on phones */
  .bg-fx__orb { filter: blur(60px); animation: none; }
  .bg-fx__grid { animation: none; }
  .hero__scanlines::after { display: none; }
  .glass, .nav--scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass { background: linear-gradient(160deg, rgba(16, 24, 44, 0.92), rgba(8, 12, 24, 0.92)); }
  .nav--scrolled { background: rgba(5, 8, 16, 0.96); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__particles, .hero__scanlines::after { display: none; }
  .holo-frame--hero { transform: none; }
  .form-success__ring svg { stroke-dashoffset: 0; }
}
