/* AITEQ Digital — Home (v5)
   Farben aus dem Logo: Cyan → Blau → Indigo → Violett auf Tiefblau */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #040a1a;
  --ink-2: #071129;
  --ink-3: #0b1838;
  --line: rgba(130, 160, 255, 0.14);
  --line-strong: rgba(130, 160, 255, 0.28);

  --text: #eef3ff;
  --muted: #a6b3d4;
  --dim: #7482a8;

  --cyan: #22d3ff;
  --blue: #2f7bff;
  --indigo: #4b3cff;
  --violet: #b13dff;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 42%, var(--indigo) 72%, var(--violet) 100%);

  --display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head p { color: var(--muted); margin-top: 16px; max-width: 58ch; font-size: 1.125rem; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); background-size: 160% 100%; background-position: 0 0;
  color: #fff; box-shadow: 0 10px 34px -10px rgba(47, 123, 255, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-position 0.6s var(--ease);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 44px -10px rgba(120, 70, 255, 0.75); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(34, 211, 255, 0.6); background: rgba(34, 211, 255, 0.06); }
.btn-small { height: 40px; padding: 0 18px; font-size: 0.9rem; background: var(--grad); color: #fff; }
.btn-small:hover { transform: translateY(-1px); }
.btn-lg { height: 56px; padding: 0 34px; font-size: 1.05rem; }

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(4, 10, 26, 0.72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 28px; filter: drop-shadow(0 0 12px rgba(47, 123, 255, 0.45)); }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand-ai { background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { position: relative; font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad);
}

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 45%, rgba(47, 123, 255, 0.16), transparent 70%),
    radial-gradient(700px 500px at 95% 90%, rgba(177, 61, 255, 0.12), transparent 70%),
    var(--ink);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }

.hero-title { font-size: clamp(2.5rem, 5.1vw, 4.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.2s; }
.line-grad > span {
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1s var(--ease) 0.2s forwards, sheen 7s linear 1.4s infinite;
}

.hero-lead { margin-top: 28px; max-width: 54ch; color: var(--muted); font-size: 1.14rem; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.45s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.6s forwards; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--dim); font-size: 0.92rem; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.75s forwards; }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(34, 211, 255, 0.7); }

/* Emblem: Ring + Netz + A */
.emblem { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.emblem-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.emblem-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.emblem-ring circle { fill: none; stroke: url(#aq-ring); }
.ring-line { stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) 0.2s forwards; }
.ring-glow { stroke-width: 10; opacity: 0; filter: blur(10px); animation: glowIn 1.6s ease 1.2s forwards; }

.emblem-mark { position: absolute; left: 50%; top: 45%; width: 44%; transform: translate(-50%, -50%); }
.emblem-mark svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 28px rgba(47, 123, 255, 0.45)); }
.mark-body { clip-path: inset(100% 0 0 0); animation: wipeUp 1.1s var(--ease) 0.7s forwards; }
.mark-fold {
  opacity: 0; transform-box: fill-box; transform-origin: 0% 0%;
  transform: translate(-18%, -14%) rotate(-16deg);
  animation: foldIn 1s var(--ease) 1.45s forwards;
}

.emblem-tagline {
  position: absolute; left: 50%; bottom: 17%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
  font-family: var(--display); font-size: clamp(0.72rem, 1.4vw, 0.86rem); font-weight: 500; letter-spacing: 0.3em; color: var(--muted);
}
.emblem-tagline span { opacity: 0; animation: tagIn 0.7s ease forwards; }
.emblem-tagline span:nth-of-type(1) { animation-delay: 2.1s; }
.emblem-tagline span:nth-of-type(2) { animation-delay: 2.35s; }
.emblem-tagline span:nth-of-type(3) { animation-delay: 2.6s; }
.emblem-tagline i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); opacity: 0; animation: tagIn 0.5s ease 2.5s forwards; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 14px; opacity: 0; animation: fadeUp 0.8s ease 2.8s forwards; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }

/* ─── Pillars ─────────────────────────────────────────────── */
.pillars { padding: 140px 0 60px; position: relative; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.stage { position: sticky; top: calc(var(--nav-h) + 40px); }
.stage-inner {
  position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(47, 123, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
}
.stage-inner canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-dots { position: absolute; right: 28px; bottom: 32px; display: flex; gap: 8px; }
.stage-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width 0.4s var(--ease), background-color 0.4s; }
.stage-dots i.is-on { width: 26px; background: var(--cyan); }

.pillar { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: 0.35; transition: opacity 0.5s ease; }
.pillar.is-active { opacity: 1; }
.pillar-name {
  font-size: clamp(2.8rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em;
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pillar[data-pillar="1"] .pillar-name { background-position: 50% 0; }
.pillar[data-pillar="2"] .pillar-name { background-position: 100% 0; }
.pillar-intro { margin: 14px 0 34px; color: var(--muted); font-size: 1.15rem; max-width: 44ch; }
.svc { display: grid; gap: 4px; }
.svc li { padding: 20px 0 20px 22px; border-left: 1px solid var(--line); position: relative; transition: border-color 0.3s; }
.svc li::before {
  content: ""; position: absolute; left: -1px; top: 20px; width: 2px; height: 0; background: var(--grad);
  transition: height 0.5s var(--ease);
}
.pillar.is-active .svc li::before { height: calc(100% - 40px); }
.pillar.is-active .svc li:nth-child(2)::before { transition-delay: 0.12s; }
.pillar.is-active .svc li:nth-child(3)::before { transition-delay: 0.24s; }
.svc h4 { font-size: 1.12rem; }
.svc p { color: var(--muted); margin-top: 6px; font-size: 0.99rem; max-width: 52ch; }

/* ─── Demo ────────────────────────────────────────────────── */
.demo { padding: 120px 0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.demo-copy p { color: var(--muted); margin-top: 18px; max-width: 50ch; font-size: 1.1rem; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; color: var(--text); }
.ticks li::before {
  content: ""; flex: none; width: 14px; height: 8px; transform: translateY(-3px) rotate(-45deg);
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
}

.chat {
  position: relative; border-radius: 26px; padding: 18px;
  background: linear-gradient(180deg, rgba(15, 30, 70, 0.7), rgba(7, 17, 41, 0.9));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(47, 123, 255, 0.05), 0 0 80px -20px rgba(75, 60, 255, 0.35);
}
.chat-top { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 38px; height: 38px; padding: 8px 6px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line); }
.chat-top strong { display: block; font-family: var(--display); font-size: 0.98rem; font-weight: 600; }
.chat-status { font-size: 0.8rem; color: #5fe3a1; display: inline-flex; align-items: center; gap: 6px; }
.chat-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 4px 8px; min-height: 410px; }
.msg {
  max-width: 84%; padding: 12px 16px; border-radius: 18px; font-size: 0.95rem; line-height: 1.5;
  opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.msg.is-in { opacity: 1; transform: none; }
.msg-user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.msg-ai { align-self: flex-start; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg-ai.is-typing::after { content: "▍"; margin-left: 2px; color: var(--cyan); animation: blink 0.8s steps(2) infinite; }
.msg-voice { display: flex; align-items: center; gap: 12px; }
.play { width: 0; height: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { width: 3px; height: 30%; border-radius: 2px; background: rgba(255, 255, 255, 0.9); }
.msg-voice.is-in .wave i { animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -0.2s !important; }
.wave i:nth-child(3n+1) { animation-delay: -0.45s !important; }
.wave i:nth-child(4n) { animation-delay: -0.7s !important; }
.dur { font-size: 0.8rem; opacity: 0.85; }
.msg-image { padding: 8px; width: 64%; }
.gen {
  position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.gen::before {
  content: ""; position: absolute; inset: 0; opacity: 0; filter: blur(24px); transform: scale(1.1);
  background:
    radial-gradient(circle at 30% 35%, #22d3ff 0 16%, transparent 40%),
    radial-gradient(circle at 70% 60%, #b13dff 0 18%, transparent 45%),
    radial-gradient(circle at 55% 25%, #2f7bff 0 12%, transparent 38%),
    conic-gradient(from 200deg at 50% 60%, #071129, #1a2a7a, #4b3cff, #071129);
  transition: opacity 1.4s ease, filter 1.8s var(--ease), transform 1.8s var(--ease);
}
.gen.is-done::before { opacity: 1; filter: blur(0); transform: none; }
.gen-mark { position: absolute; left: 50%; top: 50%; width: 34%; height: 34%; transform: translate(-50%, -40%) scale(0.9); opacity: 0; transition: opacity 0.8s ease 0.9s, transform 1s var(--ease) 0.9s; filter: drop-shadow(0 0 18px rgba(255,255,255,0.35)); }
.gen.is-done .gen-mark { opacity: 1; transform: translate(-50%, -50%); }
.gen-scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(34, 211, 255, 0.35), transparent); }
.msg-image.is-in .gen-scan { animation: scan 1.4s ease-in-out 2; }
.chat figcaption { position: absolute; left: 22px; bottom: -32px; font-size: 0.82rem; color: var(--dim); }
.chat-replay { position: absolute; right: 18px; bottom: -36px; font-size: 0.85rem; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.chat-replay:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

/* ─── Why ─────────────────────────────────────────────────── */
.why { padding: 120px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
.why-item { padding: 30px 0 38px; border-top: 1px solid var(--line); position: relative; }
.why-item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--grad);
  transition: width 0.7s var(--ease);
}
.why-item:hover::before { width: 100%; }
.why-item p { color: var(--muted); margin-top: 10px; font-size: 0.99rem; }

/* ─── Process ─────────────────────────────────────────────── */
.process { padding: 120px 0; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.track-line { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); border-radius: 2px; }
.track-line span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); border-radius: 2px; box-shadow: 0 0 14px rgba(47, 123, 255, 0.8); }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--display); font-weight: 700; color: var(--dim);
  background: var(--ink); border: 1.5px solid var(--line-strong);
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s, background-color 0.4s;
}
.step.is-lit .step-num { color: #fff; border-color: transparent; background: var(--blue); box-shadow: 0 0 0 6px rgba(47, 123, 255, 0.15), 0 0 24px rgba(47, 123, 255, 0.7); }
.step h3 { margin-top: 26px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 0.97rem; }

/* ─── CTA ─────────────────────────────────────────────────── */
.cta { padding: 60px 0 140px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: 110px 24px;
  background: radial-gradient(600px 360px at 50% 40%, rgba(75, 60, 255, 0.3), transparent 70%), var(--ink-2);
  border: 1px solid var(--line);
}
.cta-ring { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); opacity: 0.55; pointer-events: none; }
.cta-ring circle { fill: none; stroke: url(#aq-ring); stroke-width: 1; transform-origin: center; animation: spin 40s linear infinite; stroke-dasharray: 3 9; }
.cta-mark { position: relative; width: 70px; height: 52px; margin: 0 auto 28px; filter: drop-shadow(0 0 22px rgba(47, 123, 255, 0.7)); }
.cta-box h2 { position: relative; max-width: 18ch; margin: 0 auto; }
.cta-box p { position: relative; color: var(--muted); max-width: 52ch; margin: 18px auto 36px; font-size: 1.1rem; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--dim); margin-top: 16px; max-width: 36ch; font-size: 0.95rem; }
.footer-head { font-family: var(--display); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.88rem; }
.footer-bottom a:hover { color: var(--text); }

/* ─── Scroll reveal ───────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ─── Keyframes ───────────────────────────────────────────── */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sheen { to { background-position: -200% 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glowIn { to { opacity: 0.55; } }
@keyframes wipeUp { to { clip-path: inset(0 0 0 0); } }
@keyframes foldIn { to { opacity: 1; transform: none; } }
@keyframes tagIn { to { opacity: 1; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes blink { to { opacity: 0; } }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .emblem { order: -1; width: min(78vw, 400px); }
  .pillars-grid { grid-template-columns: 1fr; gap: 0; }
  .stage { top: var(--nav-h); z-index: 2; padding: 12px 0; background: var(--ink); }
  .stage-inner { aspect-ratio: 16 / 9; border-radius: 22px; }
  .pillar { min-height: 0; padding: 56px 0; opacity: 1; }
  .demo-grid { grid-template-columns: 1fr; gap: 56px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .track-line { display: none; }
  .br-md { display: none; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; background: rgba(4, 10, 26, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all 0.35s var(--ease);
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .btn { margin-top: 18px; height: 48px; }
  .nav.menu-open { background: rgba(4, 10, 26, 0.97); }

  .pillars, .demo, .why, .process { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .why-grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
  .cta-box { padding: 80px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .msg-image { width: 80%; }
  .scroll-cue { display: none; }
  .emblem-tagline { letter-spacing: 0.16em; gap: 9px; }
}

/* ─── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
