/* ============================================================
   PARALLAX AGENTS — cinematic stylesheet
   ============================================================ */

:root {
  /* palette */
  --bg: #06060c;
  --bg-2: #0a0a14;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f3f2fb;
  --ink-soft: #b9b7cf;
  --ink-mute: #74728f;

  /* accents */
  --violet: #8a7bff;
  --indigo: #5d6bff;
  --cyan: #46e6d8;
  --magenta: #d96bff;
  --grad: linear-gradient(110deg, #b3a6ff 0%, #8a7bff 35%, #46e6d8 100%);
  --grad-soft: linear-gradient(110deg, #8a7bff, #46e6d8);

  /* provider colors */
  --anthropic: #d97757;
  --openai: #19c39c;
  --gemini: #6aa6ff;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  /* layered ambient background */
  background-image:
    radial-gradient(1100px 700px at 80% -5%, rgba(138, 123, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 5% 15%, rgba(70, 230, 216, 0.10), transparent 55%),
    radial-gradient(800px 800px at 50% 110%, rgba(217, 107, 255, 0.10), transparent 60%);
  background-attachment: fixed;
}

@media (pointer: coarse) { body { cursor: auto; } }

::selection { background: rgba(138, 123, 255, 0.35); color: #fff; }

h1, h2, h3, h4, .brand__name, .hero__title, .term__cmd, .term__prompt {
  font-family: "Space Grotesk", system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- film grain + ambient canvas ---------- */
.swarm-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.grain {
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; background: var(--bg);
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.pl-orbit { transform-origin: 50px 50px; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.preloader__text {
  font-family: "Space Grotesk"; font-weight: 700; letter-spacing: 0.18em;
  font-size: 0.85rem; color: var(--ink-soft);
}
.preloader__text span { color: var(--violet); }
.preloader__bar { width: 180px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad-soft); }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--grad); z-index: 60;
  box-shadow: 0 0 12px rgba(138, 123, 255, 0.6);
}

/* ---------- custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; }
.cursor {
  width: 34px; height: 34px;
  border: 1px solid rgba(138, 123, 255, 0.7);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.cursor-dot { width: 5px; height: 5px; background: var(--cyan); transform: translate(-50%, -50%); }
.cursor.is-hover { width: 60px; height: 60px; background: rgba(138, 123, 255, 0.12); border-color: rgba(70, 230, 216, 0.8); }
@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: "Space Grotesk"; font-weight: 600; font-size: 0.92rem;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { padding: 15px 26px; font-size: 1rem; }

.btn--solid {
  color: #0a0a12;
  background: var(--grad);
  box-shadow: 0 8px 30px -8px rgba(138, 123, 255, 0.6), inset 0 0 0 1px rgba(255,255,255,0.2);
}
.btn--solid:hover { box-shadow: 0 14px 44px -8px rgba(70, 230, 216, 0.55), inset 0 0 0 1px rgba(255,255,255,0.35); }

.btn--ghost { color: var(--ink-soft); border-color: transparent; }
.btn--ghost:hover { color: var(--ink); background: var(--panel-2); }

.btn--line, .btn--solid.btn--lg { }
.btn--line {
  color: var(--ink); border-color: var(--line-2);
  background: rgba(255,255,255,0.02); backdrop-filter: blur(8px);
}
.btn--line:hover { border-color: var(--violet); background: rgba(138,123,255,0.08); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 54px);
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px clamp(20px, 5vw, 54px);
  background: rgba(8, 8, 16, 0.7);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__orbit { transform-origin: 50px 50px; animation: spin 16s linear infinite; }
.brand__name { font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.brand__name strong { font-weight: 700; color: var(--violet); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 0.93rem; color: var(--ink-soft); position: relative; transition: color 0.3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--grad-soft); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 900px) { .nav__links { display: none; } }
@media (max-width: 560px) { .nav__actions .btn--ghost { display: none; } }

/* ---------- layout helpers ---------- */
section { padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 54px); }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.eyebrow {
  display: inline-block; font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
  padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel);
}
h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
.section-head p { margin-top: 20px; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.15rem); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-mask { display: block; overflow: hidden; }
.reveal-mask > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.reveal-mask.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-mask > span { opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001s !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding-top: 120px; padding-bottom: 120px; overflow: hidden;
}
.hero__layers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.layer { position: absolute; inset: -10%; will-change: transform; }
.layer--glow {
  background:
    radial-gradient(620px 620px at 30% 35%, rgba(138,123,255,0.22), transparent 60%),
    radial-gradient(560px 560px at 72% 60%, rgba(70,230,216,0.16), transparent 60%);
  filter: blur(10px);
}
.layer--grid {
  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: 64px 64px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
}
.layer--rings { display: grid; place-items: center; }
.layer--rings span {
  position: absolute; border: 1px solid var(--line); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.layer--rings span:nth-child(1) { width: 460px; height: 460px; animation: pulse 7s ease-in-out infinite; }
.layer--rings span:nth-child(2) { width: 720px; height: 720px; animation: pulse 7s ease-in-out infinite 0.6s; }
.layer--rings span:nth-child(3) { width: 1020px; height: 1020px; animation: pulse 7s ease-in-out infinite 1.2s; }
@keyframes pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 0.8; } }

.hero__inner { position: relative; z-index: 3; max-width: 960px; }

.tagline {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; color: var(--ink-soft);
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); backdrop-filter: blur(8px); margin-bottom: 30px;
}
.tagline__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; }
.hero__title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero__sub {
  max-width: 640px; margin: 0 auto 38px;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem); color: var(--ink-soft);
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }

.hero__providers { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__providers-label { font-family: "JetBrains Mono", monospace; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.prov-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.prov-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.88rem; color: var(--ink-soft);
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s;
}
.prov-chip:hover { transform: translateY(-3px); color: var(--ink); border-color: var(--line-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--anthropic { background: var(--anthropic); box-shadow: 0 0 10px var(--anthropic); }
.dot--openai { background: var(--openai); box-shadow: 0 0 10px var(--openai); }
.dot--gemini { background: var(--gemini); box-shadow: 0 0 10px var(--gemini); }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 3; }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--violet), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--cyan); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
.hero__scroll-text { font-family: "JetBrains Mono", monospace; font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-mute); }

.hero__ticker {
  position: absolute; bottom: 34px; right: clamp(20px, 5vw, 54px);
  display: flex; align-items: center; gap: 18px;
  padding: 14px 22px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(10,10,20,0.6); backdrop-filter: blur(14px); z-index: 3;
}
.ticker-item { display: flex; flex-direction: column; line-height: 1.1; }
.ticker-item b { font-family: "Space Grotesk"; font-size: 1.25rem; color: var(--ink); }
.ticker-item span { font-size: 0.66rem; color: var(--ink-mute); letter-spacing: 0.05em; }
.ticker-sep { width: 1px; height: 28px; background: var(--line); }
@media (max-width: 860px) { .hero__ticker { display: none; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { padding: 0; overflow: hidden; border-block: 1px solid var(--line); background: rgba(10,10,20,0.4); }
.marquee__track {
  display: inline-flex; align-items: center; gap: 36px; white-space: nowrap;
  padding: 24px 0; animation: marquee 38s linear infinite;
  font-family: "Space Grotesk"; font-weight: 600;
}
.marquee__track span { font-size: clamp(1.3rem, 3vw, 2.2rem); color: var(--ink); opacity: 0.85; }
.marquee__track i { color: var(--violet); font-style: normal; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   VALUE
   ============================================================ */
.value { max-width: var(--maxw); margin: 0 auto; }
.value__head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.value__head h2 { margin-bottom: 18px; }
.value__head p { color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.value__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .value__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.vcard {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px);
  overflow: hidden; transition: border-color 0.4s, transform 0.3s var(--ease);
  transform-style: preserve-3d;
}
.vcard::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px 320px at var(--mx,50%) var(--my,0%), rgba(138,123,255,0.16), transparent 60%);
}
.vcard:hover { border-color: var(--line-2); }
.vcard:hover::before { opacity: 1; }
.vcard__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  color: var(--cyan); margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(138,123,255,0.18), rgba(70,230,216,0.1));
  border: 1px solid var(--line-2);
}
.vcard h3 { font-size: 1.32rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.vcard p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============================================================
   HOW / STEPS
   ============================================================ */
.how { max-width: var(--maxw); margin: 0 auto; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps__rail { position: absolute; top: 38px; left: 8%; right: 8%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__rail span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.4s var(--ease); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .steps__rail { display: none; } }

.step {
  position: relative; padding: 36px 28px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.step:hover { border-color: var(--line-2); transform: translateY(-6px); }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Space Grotesk"; font-weight: 700; font-size: 1.05rem; color: var(--bg);
  background: var(--grad); margin-bottom: 22px;
  box-shadow: 0 10px 30px -10px rgba(138,123,255,0.7);
}
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step > p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 20px; }
.step__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.step__list li { position: relative; padding-left: 24px; font-size: 0.92rem; color: var(--ink-soft); }
.step__list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ============================================================
   CONSOLE
   ============================================================ */
.console {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: center;
}
@media (max-width: 980px) { .console { grid-template-columns: 1fr; } }
.console__copy h2 { margin: 16px 0 18px; }
.console__copy > p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 26px; }
.console__feats { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.console__feats li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 0.98rem; }
.console__feats span { color: var(--cyan); font-size: 0.7rem; }

.console__app { position: relative; transform-style: preserve-3d; }
.console__glow { position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(60% 60% at 50% 40%, rgba(138,123,255,0.28), transparent 70%); filter: blur(30px); }

.app {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: rgba(9,9,17,0.86); backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
}
.app__bar { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.app__dots { display: inline-flex; gap: 7px; }
.app__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.app__dots i:nth-child(1) { background: #ff5f57; } .app__dots i:nth-child(2) { background: #febc2e; } .app__dots i:nth-child(3) { background: #28c840; }
.app__title { font-family: "JetBrains Mono", monospace; font-size: 0.76rem; color: var(--ink-mute); }
.app__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: "JetBrains Mono", monospace; font-size: 0.72rem; color: var(--cyan); }
.app__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 1.6s infinite; }

.app__body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
@media (max-width: 540px) { .app__body { grid-template-columns: 1fr; } .app__side { display: none; } }
.app__side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.app__side-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 0.85rem; color: var(--ink-mute); transition: background 0.3s, color 0.3s; }
.app__side-item .si-ic { font-size: 0.9rem; }
.app__side-item.is-active { background: var(--panel-2); color: var(--ink); }
.app__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.app__term { font-family: "JetBrains Mono", monospace; font-size: 0.82rem; background: rgba(0,0,0,0.35); border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-height: 92px; }
.term__line { white-space: pre-wrap; }
.term__prompt { color: var(--violet); }
.term__cmd { color: var(--ink); }
.term__caret { color: var(--cyan); animation: blink 1s steps(1) infinite; }
.term__out { margin-top: 8px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; }
.term__out .ok { color: var(--openai); }
.term__out .muted { color: var(--ink-mute); }

.app__agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 9px; }
.agent-pill {
  display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); font-size: 0.78rem; color: var(--ink-soft);
  opacity: 0; transform: translateY(8px) scale(0.96); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.agent-pill.in { opacity: 1; transform: none; }
.agent-pill .ap-status { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--openai); box-shadow: 0 0 6px var(--openai); }

/* ============================================================
   SWARM SECTION
   ============================================================ */
.swarm-sec { max-width: var(--maxw); margin: 0 auto; }
.swarm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .swarm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .swarm-grid { grid-template-columns: 1fr; } }

.scard {
  position: relative; padding: 30px 26px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.scard::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease);
}
.scard:hover { transform: translateY(-6px); border-color: var(--line-2); }
.scard:hover::after { transform: scaleY(1); }
.scard__tag { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; }
.scard h3 { font-size: 1.26rem; margin-bottom: 9px; letter-spacing: -0.01em; }
.scard p { color: var(--ink-soft); font-size: 0.95rem; }

/* ============================================================
   PROVIDERS
   ============================================================ */
.providers { max-width: var(--maxw); margin: 0 auto; }
.prov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .prov-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.pcard {
  position: relative; padding: 34px 30px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.pcard::before { content: ""; position: absolute; inset: 0; opacity: 0.12; transition: opacity 0.4s; }
.pcard--anthropic::before { background: radial-gradient(400px 240px at 80% 0%, var(--anthropic), transparent 70%); }
.pcard--openai::before { background: radial-gradient(400px 240px at 80% 0%, var(--openai), transparent 70%); }
.pcard--gemini::before { background: radial-gradient(400px 240px at 80% 0%, var(--gemini), transparent 70%); }
.pcard:hover { transform: translateY(-6px); border-color: var(--line-2); }
.pcard:hover::before { opacity: 0.24; }
.pcard__head { position: relative; display: inline-flex; align-items: center; gap: 9px; font-family: "JetBrains Mono", monospace; font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 14px; }
.pcard h3 { position: relative; font-size: 1.9rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.pcard p { position: relative; color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 18px; }
.pcard__meta { position: relative; font-family: "JetBrains Mono", monospace; font-size: 0.74rem; color: var(--ink-mute); }
.providers__foot { text-align: center; margin-top: 36px; color: var(--ink-soft); }
.providers__foot a { color: var(--cyan); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.providers__foot a:hover { border-color: var(--cyan); }

/* ============================================================
   CONSTELLATION / SWARM VISUALIZATION
   ============================================================ */
.constellation { max-width: var(--maxw); margin: 0 auto; }
.constell {
  display: grid; grid-template-columns: 1.28fr 0.72fr;
  gap: clamp(30px, 4.5vw, 64px); align-items: center;
}
@media (max-width: 940px) { .constell { grid-template-columns: 1fr; gap: 48px; } }

.constell__stage {
  position: relative; width: 100%; max-width: 600px; margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.constell__stage svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* decorative concentric orbit rings */
.constell__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.constell__rings span {
  position: absolute; border: 1px solid var(--line); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.constell__rings span:nth-child(1) { width: 37.1%; height: 37.1%; }
.constell__rings span:nth-child(2) { width: 72.6%; height: 72.6%; }
.constell__rings span:nth-child(3) { width: 100%; height: 100%; opacity: 0.5; }

.constell__hint {
  position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace; font-size: 0.64rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap;
}
.constell__hint-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 2s infinite; }

/* SVG beams */
.beam {
  fill: none; stroke-linecap: round; stroke-width: 1.4; stroke-opacity: 0.16;
  stroke-dasharray: 3 9; animation: beamflow 1.7s linear infinite;
  transition: stroke-opacity 0.35s var(--ease), stroke-width 0.35s var(--ease);
}
@keyframes beamflow { to { stroke-dashoffset: -24; } }
.beam.is-lit { stroke-opacity: 0.95; stroke-width: 2.4; }
.bs-anthropic { stroke: var(--anthropic); }
.bs-openai { stroke: var(--openai); }
.bs-gemini { stroke: var(--gemini); }

/* SVG nodes */
.cnode { cursor: pointer; }
.cnode__halo { transform-box: fill-box; transform-origin: center; transition: transform 0.35s var(--ease), opacity 0.35s; }
.cnode__core { transform-box: fill-box; transform-origin: center; transition: transform 0.35s var(--ease); stroke: rgba(255,255,255,0.5); stroke-width: 0.8; }
.cnode__label {
  font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 13px;
  fill: var(--ink-soft); pointer-events: none; transition: fill 0.3s, opacity 0.3s;
}
.cnode--center .cnode__core { stroke: rgba(255,255,255,0.7); stroke-width: 1.2; }
.cnode--center .cnode__label { fill: var(--ink); font-size: 16px; font-weight: 700; }
.cnode--center .cnode__halo { animation: corepulse 3.4s ease-in-out infinite; }
@keyframes corepulse { 0%,100% { transform: scale(1); opacity: 0.55; } 50% { transform: scale(1.2); opacity: 0.95; } }
.cnode--spec .cnode__label { font-size: 11px; fill: var(--ink-mute); opacity: 0; }

.cnode.is-focus .cnode__core { transform: scale(1.4); }
.cnode.is-focus .cnode__halo { transform: scale(1.5); opacity: 1; }
.cnode.is-focus .cnode__label { opacity: 1; fill: var(--ink); }
.cnode.is-dim { opacity: 0.32; transition: opacity 0.35s; }

.pf-anthropic { fill: var(--anthropic); }
.pf-openai { fill: var(--openai); }
.pf-gemini { fill: var(--gemini); }
.pf-core { fill: url(#coreGrad); }
.ph-anthropic { fill: var(--anthropic); }
.ph-openai { fill: var(--openai); }
.ph-gemini { fill: var(--gemini); }
.ph-core { fill: var(--violet); }

/* info panel */
.constell__panel {
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); backdrop-filter: blur(12px);
}
.cp-focus { min-height: 168px; }
.cp-focus__tag { font-family: "JetBrains Mono", monospace; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.cp-focus__name { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk"; font-size: 1.6rem; font-weight: 600; margin-bottom: 13px; letter-spacing: -0.01em; }
.cp-focus__role { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 16px; }
.cp-focus__meta { font-family: "JetBrains Mono", monospace; font-size: 0.73rem; color: var(--ink-mute); }
.dot--core { background: var(--violet); box-shadow: 0 0 10px var(--violet); }

.cp-comp h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; font-weight: 600; }
.cp-legend { display: flex; flex-direction: column; gap: 13px; }
.cp-row { display: grid; grid-template-columns: 86px 1fr 26px; align-items: center; gap: 12px; }
.cp-row__name { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-soft); }
.cp-track { height: 6px; border-radius: 6px; background: var(--panel-2); overflow: hidden; }
.cp-fill { height: 100%; width: 0; border-radius: 6px; transition: width 1.1s var(--ease); }
.cp-fill--anthropic { background: var(--anthropic); }
.cp-fill--openai { background: var(--openai); }
.cp-fill--gemini { background: var(--gemini); }
.cp-row__val { font-family: "JetBrains Mono", monospace; font-size: 0.82rem; color: var(--ink); text-align: right; }
.cp-cta { align-self: flex-start; }

@media (prefers-reduced-motion: reduce) {
  .beam { animation: none; }
  .cnode--center .cnode__halo { animation: none; }
}

/* ============================================================
   IMPACT
   ============================================================ */
.impact { max-width: var(--maxw); margin: 0 auto; }
.impact__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: clamp(40px, 5vw, 60px); border-radius: 24px;
  border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.impact__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(138,123,255,0.14), transparent 70%); }
@media (max-width: 760px) { .impact__inner { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }
.metric { position: relative; text-align: center; }
.metric__num { font-family: "Space Grotesk"; font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.metric__lbl { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; max-width: var(--maxw); margin: 0 auto; }
.cta__inner {
  position: relative; text-align: center; padding: clamp(54px, 8vw, 96px) clamp(24px, 5vw, 60px);
  border-radius: 28px; border: 1px solid var(--line-2); overflow: hidden;
  background: rgba(10,10,20,0.6); backdrop-filter: blur(16px);
}
.cta__bg {
  position: absolute; inset: 0; z-index: -1; border-radius: 28px; max-width: var(--maxw); margin: 0 auto;
  background:
    radial-gradient(600px 360px at 20% 0%, rgba(138,123,255,0.4), transparent 65%),
    radial-gradient(600px 360px at 85% 100%, rgba(70,230,216,0.3), transparent 65%);
  filter: blur(8px);
}
.cta__inner h2 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); margin-bottom: 16px; }
.cta__inner > p { color: var(--ink-soft); font-size: 1.1rem; max-width: 520px; margin: 0 auto 34px; }
.cta__form { display: flex; gap: 12px; justify-content: center; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.cta__form input {
  flex: 1; min-width: 240px; padding: 15px 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(0,0,0,0.3); color: var(--ink);
  font-family: "Inter"; font-size: 1rem; outline: none; transition: border-color 0.3s, background 0.3s;
}
.cta__form input::placeholder { color: var(--ink-mute); }
.cta__form input:focus { border-color: var(--violet); background: rgba(138,123,255,0.06); }
.cta__note { display: block; margin-top: 18px; font-size: 0.86rem; color: var(--ink-mute); }
.cta__note.ok { color: var(--openai); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 80px) clamp(20px, 5vw, 54px) 40px; background: rgba(8,8,16,0.5); }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.brand--footer .brand__name { font-size: 1.3rem; }
.footer__nav { display: flex; gap: clamp(34px, 6vw, 80px); flex-wrap: wrap; }
.footer__nav h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; font-weight: 600; }
.footer__nav a { display: block; font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 11px; transition: color 0.3s; }
.footer__nav a:hover { color: var(--ink); }
.footer__bottom { max-width: var(--maxw); margin: 26px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: var(--ink-mute); }
.footer__tag { font-family: "JetBrains Mono", monospace; letter-spacing: 0.1em; color: var(--violet); }
