/* =========================================================
   Neuprose website
   ========================================================= */

:root {
  --b1: #2f7bff;
  --b2: #5ee6f5;
  --b3: #ff7a66;
  --b4: #8b5cf6;

  --c-docs: #3b82f6;
  --c-sheets: #22c55e;
  --c-slides: #ff6a3d;
  --c-pdf: #ef4444;
  --c-md: #a855f7;
  --c-tex: #14b8a6;

  --grad: linear-gradient(100deg, #5ee6f5 0%, #2f7bff 35%, #8b5cf6 65%, #ff7a66 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 20px;
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;
}

/* Dark (default) */
:root,
[data-theme='dark'] {
  color-scheme: dark;
  --bg: #04060b;
  --bg-2: #080c16;
  --surface: rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .05);
  --surface-solid: #0c111d;
  --border: rgba(255, 255, 255, .075);
  --border-2: rgba(255, 255, 255, .14);
  --text: #eef1f7;
  --muted: #9099ad;
  --dim: #5c6579;
  --glow: rgba(47, 123, 255, .35);
  --grid-line: rgba(255, 255, 255, .045);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  --win-bg: #0b0f1a;
  --win-bar: #0e1320;
  --page-bg: #f6f7fa;
  --nav-bg: rgba(4, 6, 11, .62);
  --code-bg: rgba(94, 230, 245, .08);
  --code-fg: #9ff0fa;
}

[data-theme='light'] {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-2: #eef1f7;
  --surface: rgba(255, 255, 255, .72);
  --surface-2: rgba(255, 255, 255, .95);
  --surface-solid: #ffffff;
  --border: rgba(15, 23, 42, .08);
  --border-2: rgba(15, 23, 42, .16);
  --text: #0a1020;
  --muted: #546074;
  --dim: #8a94a6;
  --glow: rgba(47, 123, 255, .22);
  --grid-line: rgba(15, 23, 42, .055);
  --shadow: 0 30px 70px -24px rgba(30, 50, 100, .28), 0 0 0 1px rgba(15, 23, 42, .06);
  --win-bg: #ffffff;
  --win-bar: #f1f3f8;
  --page-bg: #ffffff;
  --nav-bg: rgba(246, 247, 251, .7);
  --code-bg: rgba(47, 123, 255, .08);
  --code-fg: #1d5fd6;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
code {
  font-family: var(--mono);
  font-size: .86em;
  padding: .12em .42em;
  border-radius: 6px;
  background: var(--code-bg);
  color: var(--code-fg);
}
::selection { background: rgba(47, 123, 255, .35); color: #fff; }

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

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px var(--b2);
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(10px);
  transition:
    opacity 1.1s var(--ease) var(--d, 0s),
    transform 1.1s var(--ease) var(--d, 0s),
    filter 1.1s var(--ease) var(--d, 0s);
  will-change: opacity, transform, filter;
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Gradient text ---------- */
.shine {
  background: var(--grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s var(--ease-io) infinite alternate;
}
@keyframes shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, border-color .3s, color .3s;
  isolation: isolate;
}
.btn-sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3d8bff 0%, #2f6bff 45%, #6a5cff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 8px 24px -8px rgba(47, 123, 255, .75),
    0 0 0 1px rgba(255, 255, 255, .08);
  overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 14px 40px -10px rgba(47, 123, 255, .95),
    0 0 0 1px rgba(255, 255, 255, .12);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--muted); }
.btn:active { transform: scale(.97); }

.icon-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  color: var(--muted);
  transition: color .3s, background-color .3s, transform .4s var(--ease);
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn:active { transform: scale(.92); }

/* theme icon swap */
.i-sun, .i-moon { transition: transform .6s var(--ease), opacity .4s; }
[data-theme='dark'] .i-sun { display: none; }
[data-theme='light'] .i-moon { display: none; }
#theme-toggle:hover svg { transform: rotate(25deg); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .5s var(--ease), border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand img { border-radius: 8px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.nav-links { display: flex; gap: 4px; margin-left: auto; margin-right: auto; padding: 4px; border-radius: 999px; }
.nav-links a {
  position: relative;
  padding: 7px 14px; border-radius: 999px;
  font-size: 14px; color: var(--muted);
  transition: color .3s, background-color .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.nav-dl { margin-left: 6px; }

.menu-btn { display: none; position: relative; }
.menu-btn span {
  position: absolute; left: 11px; width: 16px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero-grid {
  position: absolute; inset: -1px; z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  animation: grid-pan 30s linear infinite;
}
@keyframes grid-pan { to { background-position: 64px 64px, 64px 64px; } }

.aurora { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  mix-blend-mode: screen;
  animation: drift 22s var(--ease-io) infinite alternate;
}
[data-theme='light'] .aurora i { mix-blend-mode: multiply; opacity: .28; }
.aurora .a1 { width: 620px; height: 620px; left: -8%; top: -18%; background: radial-gradient(circle, #2f7bff, transparent 65%); }
.aurora .a2 { width: 540px; height: 540px; right: -6%; top: 10%; background: radial-gradient(circle, #8b5cf6, transparent 65%); animation-duration: 26s; animation-delay: -6s; }
.aurora .a3 { width: 480px; height: 480px; left: 35%; bottom: -30%; background: radial-gradient(circle, #5ee6f5, transparent 65%); opacity: .35; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, 40px, 0) scale(1.12); }
  100% { transform: translate3d(-40px, 70px, 0) scale(.94); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 13px; color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .4s, color .4s, background-color .4s;
}
.badge:hover { color: var(--text); border-color: rgba(94, 230, 245, .5); }
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
.badge-sep { width: 1px; height: 12px; background: var(--border-2); }
.badge-more { display: inline-flex; align-items: center; gap: 4px; }
.badge-more svg { transition: transform .4s var(--ease); }
.badge:hover .badge-more svg { transform: translateX(3px); }

.hero-title {
  margin-top: 26px;
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
}
.hero-title .line { display: block; }
.lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: clamp(16px, 1.35vw, 18.5px);
  color: var(--muted);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--b2); }

/* ---------- Hero stage (product mock) ---------- */
.hero-stage { perspective: 1600px; position: relative; }
.tilt {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transition: transform 1.2s var(--ease);
}
.tilt::before {
  content: ""; position: absolute; inset: 8% 6% -4%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(40px);
  transform: translateZ(-80px);
}

.sq { display: inline-block; width: 9px; height: 9px; border-radius: 3px; flex: none; }
.c-docs { background: var(--c-docs); }
.c-sheets { background: var(--c-sheets); }
.c-slides { background: var(--c-slides); }
.c-pdf { background: var(--c-pdf); }
.c-md { background: var(--c-md); }
.c-tex { background: var(--c-tex); }

.win {
  position: relative;
  border-radius: 16px;
  background: var(--win-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 11px;
  user-select: none;
}
.win::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 35%);
}
.win-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: var(--win-bar); border-bottom: 1px solid var(--border); }
.tl { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.win-tabs { display: flex; gap: 2px; margin-left: 12px; overflow: hidden; }
.tab {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: 7px;
  color: var(--muted); white-space: nowrap;
}
.tab img { border-radius: 3px; }
.tab.active { background: var(--win-bg); color: var(--text); box-shadow: 0 0 0 1px var(--border); }
.win-ribbon { display: flex; align-items: center; gap: 2px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--border); }
.rb { padding: 3px 10px; border-radius: 6px; color: var(--muted); }
.rb.on { color: var(--c-docs); font-weight: 600; box-shadow: inset 0 -2px 0 var(--c-docs); border-radius: 0; }
.rb-spacer { flex: 1; }
.rb-ai {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-weight: 600;
  background: linear-gradient(135deg, rgba(47, 123, 255, .18), rgba(139, 92, 246, .18));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(94, 230, 245, .3);
}
.rb-ai i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px var(--b2); }

.win-body { display: grid; grid-template-columns: 1fr 210px; height: 380px; }
.doc { background: var(--bg-2); padding: 18px 22px 0; overflow: hidden; }
[data-theme='light'] .doc { background: #e9ecf3; }
.page {
  height: 100%;
  background: var(--page-bg);
  border-radius: 6px 6px 0 0;
  padding: 26px 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.p-title { width: 46%; height: 13px; border-radius: 4px; background: #1e293b; margin-bottom: 9px; }
.p-sub { width: 28%; height: 7px; border-radius: 4px; background: #94a3b8; margin-bottom: 18px; }
.ln { height: 6px; border-radius: 3px; background: #cbd5e1; margin: 0 0 9px; transition: background-color .6s var(--ease), opacity .6s, transform .6s var(--ease), height .7s var(--ease), margin .7s var(--ease); }
.w95 { width: 95%; } .w92 { width: 92%; } .w90 { width: 90%; } .w88 { width: 88%; } .w85 { width: 85%; } .w82 { width: 82%; }
.w76 { width: 76%; } .w72 { width: 72%; } .w70 { width: 70%; } .w64 { width: 64%; } .w60 { width: 60%; }
.ln.bullet { position: relative; margin-left: 12px; }
.ln.bullet::before { content: ""; position: absolute; left: -10px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #64748b; }

.tgt-del { position: relative; }
.tgt-del::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 1.5px; width: 0; background: #ef4444;
  transition: width .7s var(--ease);
}
#demo.st-del .tgt-del { background: rgba(239, 68, 68, .3); }
#demo.st-del .tgt-del::after { width: 100%; }
#demo.st-collapse .tgt-del { opacity: 0; height: 0; margin: 0; }

.ins-block { overflow: hidden; max-height: 0; transition: max-height .9s var(--ease); }
#demo.st-ins .ins-block { max-height: 70px; }
.ins-block .ln { background: rgba(34, 197, 94, .38); opacity: 0; transform: translateX(-8px); }
#demo.st-ins .ins-block .ln { opacity: 1; transform: none; }
#demo.st-ins .ins-block .ln:nth-child(2) { transition-delay: .12s; }
#demo.st-ins .ins-block .ln:nth-child(3) { transition-delay: .24s; }
#demo.st-ins .ins-block .ln:nth-child(4) { transition-delay: .36s; }
.ins-block .ln.bullet::before { background: #16a34a; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 14px; }
.kpis span { display: flex; flex-direction: column; gap: 5px; padding: 9px 10px; border-radius: 6px; background: #eef2ff; }
.kpis b { font-size: 12px; color: #1e3a8a; font-weight: 700; }
.kpis i { height: 4px; width: 60%; border-radius: 2px; background: #c7d2fe; }

.ai {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--win-bg);
  min-width: 0;
}
.ai-head { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; font-weight: 600; border-bottom: 1px solid var(--border); }
.ai-orb {
  width: 12px; height: 12px; border-radius: 50%;
  background: conic-gradient(from 0deg, #5ee6f5, #2f7bff, #8b5cf6, #ff7a66, #5ee6f5);
  animation: spin 4s linear infinite;
  box-shadow: 0 0 10px rgba(94, 230, 245, .6);
}
@keyframes spin { to { transform: rotate(360deg); } }
.ai-model { margin-left: auto; font-weight: 500; font-size: 10px; color: var(--muted); padding: 1px 7px; border-radius: 999px; border: 1px solid var(--border); }
.ai-feed { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; overflow: hidden; }
.bubble { border-radius: 10px; padding: 8px 10px; line-height: 1.55; }
.bubble.me {
  align-self: flex-end; max-width: 92%;
  background: linear-gradient(135deg, #2f7bff, #5b5cf6);
  color: #fff;
  border-bottom-right-radius: 3px;
  min-height: 1em;
  opacity: 0; transform: translateY(6px) scale(.98);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
#demo.st-user .bubble.me { opacity: 1; transform: none; }
.caret { display: inline-block; width: 1.5px; height: 11px; margin-left: 1px; vertical-align: -1px; background: #fff; animation: blink 1s steps(1) infinite; }
#demo.st-think .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.bubble.bot {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
#demo.st-think .bubble.bot { opacity: 1; transform: none; }
.thinking { display: flex; gap: 4px; padding: 3px 0; }
.thinking i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dots 1.2s var(--ease-io) infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
#demo.st-s1 .thinking { display: none; }
.step {
  display: flex; align-items: center; gap: 7px; color: var(--muted);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .5s var(--ease);
}
#demo.st-s1 .s1, #demo.st-s2 .s2, #demo.st-s3 .s3 { max-height: 22px; opacity: 1; }
.ok {
  position: relative; width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: rgba(34, 197, 94, .18);
}
.ok::after {
  content: ""; position: absolute; left: 3.6px; top: 2.2px; width: 3px; height: 5.5px;
  border: solid #22c55e; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.applied {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border-2);
  color: var(--text); font-weight: 500;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .6s var(--ease), max-height .6s var(--ease);
}
#demo.st-done .applied { opacity: 1; max-height: 40px; }
.undo { color: var(--b2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.composer {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 10px 10px; padding: 9px 10px; border-radius: 10px;
  border: 1px solid var(--border-2); color: var(--dim);
}
.send { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); opacity: .9; }

/* floating chips */
.float {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px;
  font-size: 12.5px;
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .55);
  white-space: nowrap;
  animation: bob 7s var(--ease-io) infinite alternate;
}
.float code { background: none; padding: 0; color: var(--text); font-size: 12px; }
.fl-1 { left: -34px; bottom: 64px; transform: translateZ(70px); }
.fl-2 { left: -48px; top: 92px; flex-direction: column; align-items: stretch; gap: 7px; transform: translateZ(90px); animation-delay: -2.5s; }
.fl-3 { right: 36px; bottom: -22px; transform: translateZ(60px); animation-delay: -4.5s; }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -12px; } }
.fl-conv { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.fl-arrow { width: 22px; height: 1.5px; background: linear-gradient(90deg, var(--c-pdf), var(--c-docs)); position: relative; }
.fl-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border: solid var(--c-docs); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.fl-bar { height: 4px; border-radius: 3px; background: var(--border); overflow: hidden; }
.fl-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--grad); animation: load 2.6s var(--ease-io) infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.fl-2 small { color: var(--muted); font-size: 11px; }
.term-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.fl-tag { font-size: 10.5px; padding: 1px 7px; border-radius: 999px; color: var(--b2); border: 1px solid rgba(94, 230, 245, .35); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 24px; height: 38px; border-radius: 14px;
  border: 1.5px solid var(--border-2);
  opacity: .8;
  transition: opacity .4s, border-color .4s;
}
.scroll-hint:hover { border-color: var(--muted); }
.scroll-hint span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--muted);
  animation: wheel 2s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   Stats
   ========================================================= */
.stats { position: relative; padding: 10px 0 30px; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--border);
}
.stat { padding: 34px 26px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat b {
  font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--text) 30%, var(--muted));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat > span { font-size: 14px; color: var(--muted); }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.section-head { max-width: 880px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--b2);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.section-head h2, .agents-copy h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.section-head p { margin-top: 18px; font-size: clamp(15.5px, 1.3vw, 18px); color: var(--muted); }
.section-head p b, .note b { color: var(--text); font-weight: 600; }
.note { margin-top: 30px; font-size: 14px; color: var(--muted); text-align: center; }
.note.center { text-align: center; }

/* ---------- Card base + spotlight ---------- */
.card {
  position: relative;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .7s var(--ease), border-color .5s, background-color .5s, box-shadow .7s var(--ease);
}
[data-theme='light'] .card { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .08); }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c, var(--b1)) 16%, transparent), transparent 45%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c, var(--b2)) 85%, white 10%), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .6s var(--ease);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.spot:hover { transform: translateY(-4px); border-color: var(--border-2); }

/* =========================================================
   Apps
   ========================================================= */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app { display: flex; flex-direction: column; min-height: 330px; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.app-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.02em;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 80%, white 20%), var(--c));
  box-shadow: 0 10px 28px -10px var(--c), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .8s var(--ease);
}
.app-icon sub { font-size: .7em; vertical-align: -.25em; margin: 0 -1px; }
.app:hover .app-icon { transform: rotate(-6deg) scale(1.06); }
.fmt { font-family: var(--mono); font-size: 11.5px; color: var(--dim); text-align: right; }
.app p code { font-size: .82em; }

.app-viz { margin-top: auto; padding-top: 24px; height: 86px; position: relative; }
.viz-docs { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.viz-docs i { height: 6px; border-radius: 3px; background: var(--border-2); width: 100%; }
.viz-docs i:nth-child(1) { width: 92%; }
.viz-docs i.hl { width: 74%; background: color-mix(in srgb, var(--c-sheets) 45%, transparent); transform-origin: left; transform: scaleX(.55); transition: transform 1.2s var(--ease); }
.viz-docs i:nth-child(3) { width: 84%; }
.viz-docs i.hl2 { width: 56%; background: color-mix(in srgb, var(--c-docs) 50%, transparent); transform-origin: left; transform: scaleX(.5); transition: transform 1.2s var(--ease) .15s; }
.app:hover .viz-docs i.hl, .app:hover .viz-docs i.hl2 { transform: none; }

.viz-sheets { display: flex; align-items: flex-end; gap: 8px; }
.viz-sheets i {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, transparent), color-mix(in srgb, var(--c) 15%, transparent));
  transform-origin: bottom; transform: scaleY(.35);
  transition: transform 1s var(--ease);
}
.viz-sheets i:nth-child(2) { transition-delay: .05s; } .viz-sheets i:nth-child(3) { transition-delay: .1s; }
.viz-sheets i:nth-child(4) { transition-delay: .15s; } .viz-sheets i:nth-child(5) { transition-delay: .2s; } .viz-sheets i:nth-child(6) { transition-delay: .25s; }
.app:hover .viz-sheets i, .viz-sheets.in i { transform: none; }

.viz-slides { display: flex; align-items: flex-end; justify-content: center; }
.viz-slides i {
  width: 42%; aspect-ratio: 16 / 9; border-radius: 6px;
  border: 1px solid var(--border-2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%), var(--surface-2);
  margin: 0 -9%;
  transition: transform .9s var(--ease);
}
.viz-slides i:nth-child(1) { transform: rotate(-8deg) translateY(6px); }
.viz-slides i:nth-child(2) { z-index: 1; transform: translateY(-4px); }
.viz-slides i:nth-child(3) { transform: rotate(8deg) translateY(6px); }
.app:hover .viz-slides i:nth-child(1) { transform: rotate(-14deg) translate(-14px, 4px); }
.app:hover .viz-slides i:nth-child(2) { transform: translateY(-10px) scale(1.05); }
.app:hover .viz-slides i:nth-child(3) { transform: rotate(14deg) translate(14px, 4px); }

.viz-pdf { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.viz-pdf i { height: 6px; border-radius: 3px; background: var(--border-2); }
.viz-pdf i:nth-child(1) { width: 88%; } .viz-pdf i:nth-child(3) { width: 70%; }
.viz-pdf i.edit {
  width: 62%; height: 14px; border-radius: 3px; background: transparent;
  outline: 1.5px dashed color-mix(in srgb, var(--c) 70%, transparent); outline-offset: 2px;
  position: relative;
}
.viz-pdf i.edit::after { content: ""; position: absolute; right: -4px; top: 1px; width: 1.5px; height: 12px; background: var(--c); animation: blink 1s steps(1) infinite; }

.viz-md i {
  position: absolute; left: var(--x); top: var(--y);
  width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 14px var(--c);
  transition: transform .9s var(--ease);
}
.app-viz.viz-md { padding-top: 0; height: 80px; margin-top: auto; }
.viz-md::before {
  content: ""; position: absolute; inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 62' preserveAspectRatio='none'%3E%3Cpath d='M18 31 48 13.6M18 31 52 48.4M48 13.6 82 28.5M52 48.4 82 28.5M48 13.6 52 48.4' stroke='%23a855f7' stroke-opacity='.45' stroke-width='.6' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.app:hover .viz-md i:nth-child(odd) { transform: scale(1.4); }

.viz-tex { display: flex; align-items: flex-end; }
.viz-tex code {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border);
  font-size: 12.5px;
}

/* =========================================================
   Bento
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.b-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.b-tall { grid-row: span 2; display: flex; flex-direction: column; }
.b-full { grid-column: span 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; }
.b-copy h3 { font-size: 22px; }

.f-ic {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(94, 230, 245, .16), rgba(47, 123, 255, .1));
  border: 1px solid rgba(94, 230, 245, .25);
  color: var(--b2);
}
[data-theme='light'] .f-ic { color: var(--b1); border-color: rgba(47, 123, 255, .25); }
.f-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.bytes {
  font-family: var(--mono); font-size: 11px;
  padding: 18px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
}
.byte-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 6px; }
.byte-row span { padding: 5px 0; text-align: center; border-radius: 6px; color: var(--dim); background: var(--surface); }
.byte-row span.chg {
  color: #0b1220; font-weight: 600;
  background: linear-gradient(135deg, #5ee6f5, #2f7bff);
  box-shadow: 0 0 18px -2px rgba(94, 230, 245, .7);
  animation: pulse 2.6s var(--ease-io) infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 4px -2px rgba(94, 230, 245, .3); filter: brightness(.88); } }
.bytes-legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-family: var(--font); font-size: 12px; }
.bytes-legend i { width: 10px; height: 10px; border-radius: 3px; }
.bytes-legend i + * { margin-right: 10px; }
.k-same { background: var(--border-2); }
.k-chg { background: linear-gradient(135deg, #5ee6f5, #2f7bff); margin-left: 12px; }

.timeline { list-style: none; margin: 28px 0 0; padding: 0; position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1.5px; background: linear-gradient(var(--border-2), var(--b2), var(--border-2)); }
.timeline li { position: relative; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); padding: 10px 14px 10px 0; }
.timeline i { position: relative; z-index: 1; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--border-2); flex: none; }
.timeline li span { flex: 1; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); transition: border-color .4s, color .4s; }
.timeline li.cur i { border-color: var(--b2); background: var(--b2); box-shadow: 0 0 0 5px rgba(94, 230, 245, .15), 0 0 16px var(--b2); }
.timeline li.cur span { color: var(--text); border-color: rgba(94, 230, 245, .4); }
.timeline li.cur span::after { content: "当前快照"; float: right; font-size: 11px; color: var(--b2); }
.timeline li:hover span { border-color: var(--border-2); color: var(--text); }

.flows { display: flex; flex-direction: column; gap: 12px; }
.flow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.node {
  padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--border-2);
}
.node.out { color: var(--b2); border-color: rgba(94, 230, 245, .3); background: rgba(94, 230, 245, .06); }
[data-theme='light'] .node.out { color: var(--b1); border-color: rgba(47, 123, 255, .3); background: rgba(47, 123, 255, .06); }
.wire { position: relative; height: 1.5px; background: var(--border-2); overflow: hidden; min-width: 30px; }
.wire i {
  position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--b2), transparent);
  animation: wire 2.4s linear infinite;
}
@keyframes wire { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* =========================================================
   Agents / terminal
   ========================================================= */
.agents { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.agents-copy > p { margin-top: 20px; color: var(--muted); font-size: 16.5px; }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li {
  position: relative; padding-left: 30px; color: var(--muted); font-size: 15px; line-height: 1.7;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(94, 230, 245, .12);
  border: 1px solid rgba(94, 230, 245, .35);
}
.ticks li::after {
  content: ""; position: absolute; left: 6.5px; top: 8px; width: 4px; height: 8px;
  border: solid var(--b2); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
}
.ticks b { display: block; color: var(--text); font-weight: 600; }

.terminal {
  position: relative;
  border-radius: 16px;
  background: #070a12;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 100px -30px rgba(47, 123, 255, .45), 0 0 0 1px rgba(255, 255, 255, .03);
  overflow: hidden;
  color: #dbe3f0;
}
.terminal::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, #5ee6f5 80%, #8b5cf6 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rotate-ang 6s linear infinite;
}
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rotate-ang { to { --ang: 360deg; } }
.term-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
.term-title { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #6b7690; }
.copy-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 8px;
  font-size: 12px; color: #8d98b0; border: 1px solid rgba(255, 255, 255, .1);
  transition: color .3s, border-color .3s, background-color .3s;
}
.copy-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); }
.copy-btn.done { color: #4ade80; border-color: rgba(74, 222, 128, .4); }
.term-body {
  margin: 0; padding: 20px 22px 24px;
  height: 492px; overflow: hidden;
  font-family: var(--mono); font-size: 13px; line-height: 1.8;
  white-space: pre-wrap; word-break: break-word;
}
.term-body .c { color: #5b6684; }
.term-body .p { color: #5ee6f5; user-select: none; }
.term-body .k { color: #c4b5fd; }
.term-body .o { color: #7d879c; }
.term-body .g { color: #4ade80; }
.term-cursor { display: inline-block; width: 8px; height: 15px; vertical-align: -3px; background: #5ee6f5; animation: blink 1s steps(1) infinite; box-shadow: 0 0 8px #5ee6f5; }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  --gap: 14px;
  display: flex; overflow: hidden; user-select: none;
  padding: 7px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  flex: none; display: flex; gap: var(--gap); padding-right: var(--gap);
  animation: marquee 46s linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee span {
  flex: none;
  padding: 14px 26px; border-radius: 14px;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.marquee span:hover { color: var(--text); border-color: var(--border-2); background: var(--surface-2); }

/* =========================================================
   Privacy
   ========================================================= */
.privacy { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; padding: 48px 56px; --c: var(--b2); }
.privacy:hover { transform: none; }
.shield { position: relative; display: grid; place-items: center; width: 200px; height: 200px; color: var(--b2); }
[data-theme='light'] .shield { color: var(--b1); }
.shield svg { position: relative; z-index: 1; filter: drop-shadow(0 0 16px currentColor); }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid currentColor; opacity: 0; animation: ring 4.5s var(--ease) infinite; }
.ring.r1 { width: 90px; height: 90px; }
.ring.r2 { width: 90px; height: 90px; animation-delay: 1.5s; }
.ring.r3 { width: 90px; height: 90px; animation-delay: 3s; }
@keyframes ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.3); opacity: 0; } }
.privacy-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.privacy-copy p { margin-top: 14px; font-size: 15.5px; }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--b2); }
[data-theme='light'] .link { color: var(--b1); }
.link svg { transition: transform .45s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* =========================================================
   Download
   ========================================================= */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; }
.dl-os {
  width: 60px; height: 60px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: transform .8s var(--ease);
}
.dl:hover .dl-os { transform: translateY(-3px) scale(1.04); }
.dl h3 { font-size: 22px; }
.dl p { margin: 6px 0 26px; font-size: 14px; }
.dl .btn { margin-top: auto; width: 100%; }
.dl-rec {
  position: absolute; top: 18px; right: 18px;
  font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: var(--b2); background: rgba(94, 230, 245, .1); border: 1px solid rgba(94, 230, 245, .3);
  opacity: 0; transform: translateY(-4px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-theme='light'] .dl-rec { color: var(--b1); background: rgba(47, 123, 255, .08); border-color: rgba(47, 123, 255, .3); }
.dl.rec { border-color: rgba(94, 230, 245, .35); box-shadow: 0 30px 80px -40px rgba(47, 123, 255, .7); }
.dl.rec .dl-rec { opacity: 1; transform: none; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--b2); }
[data-theme='light'] .faq summary:hover { color: var(--b1); }
.faq summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--border-2); transition: transform .6s var(--ease), background-color .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; border-radius: 1px; transition: transform .6s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); border-color: var(--b2); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 48px 26px 4px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 40px 0 clamp(90px, 10vw, 140px); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(60px, 8vw, 96px) 24px;
  border-radius: 28px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(47, 123, 255, .22), transparent 60%), var(--surface);
  border: 1px solid var(--border-2);
}
.cta-glow {
  position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 25%, rgba(94, 230, 245, .18) 35%, transparent 45%, transparent 75%, rgba(139, 92, 246, .2) 85%, transparent 95%);
  animation: spin 18s linear infinite;
}
.cta-logo { margin: 0 auto 26px; border-radius: 16px; filter: drop-shadow(0 12px 30px rgba(47, 123, 255, .5)); animation: bob 5s var(--ease-io) infinite alternate; }
.cta-box h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.035em; }
.cta-box p { margin: 14px 0 34px; color: var(--muted); font-size: 17px; letter-spacing: .08em; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 10px; color: var(--muted); }
.footer-cols { display: flex; gap: clamp(40px, 8vw, 110px); flex-wrap: wrap; }
.footer-cols h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; letter-spacing: 0; }
.footer-cols a { display: block; color: var(--muted); margin-bottom: 10px; transition: color .3s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--dim); font-size: 13px; }
.footer-bottom a:hover { color: var(--text); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 70px; }
  .hero-copy { min-width: 0; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-stage { max-width: 760px; margin: 0 auto; width: 100%; }
  .apps, .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-wide, .b-full { grid-column: span 2; }
  .b-tall { grid-row: auto; }
  .agents { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 68px 12px auto 12px;
    flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 18px;
    background: var(--surface-solid);
    border: 1px solid var(--border-2);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
    transition: opacity .4s var(--ease), transform .5s var(--ease);
  }
  .nav-links a { padding: 12px 14px; font-size: 15px; border-radius: 12px; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: grid; }
  .nav-dl { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .privacy { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; gap: 10px; }
  .shield { margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 32px); }
  .hero { padding-top: 104px; }
  .tilt { --rx: 4deg !important; --ry: -4deg !important; }
  .win-tabs .tab:nth-child(n+3) { display: none; }
  .win-body { grid-template-columns: 1fr; height: 330px; }
  .ai { display: none; }
  .float { font-size: 11px; padding: 8px 11px; }
  .fl-1 { left: -6px; bottom: 30px; }
  .fl-2 { left: auto; right: -6px; top: 60px; }
  .fl-3 { display: none; }
  .apps, .dl-grid, .bento { grid-template-columns: 1fr; }
  .b-wide, .b-full { grid-column: auto; grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 6px; }
  .wire { display: none; }
  .node { white-space: normal; }
  .card { padding: 24px; }
  .term-body { font-size: 11.5px; height: 470px; padding: 16px; }
  .faq-a p { padding-right: 4px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
