:root {
  --bg: #070a1f;
  --bg-2: #0d1235;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(160, 175, 255, 0.14);
  --ink: #eef1ff;
  --ink-2: #a9b0d6;
  --ink-3: #737ba6;
  --cyan: #4fd1e8;
  --violet: #8b7cf6;
  --pink: #e07bd8;
  --amber: #f2b85c;
  --radius: 24px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.rounded { font-family: "Sora", ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.grad-text {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 55%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Ambient background */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.aurora .a1 { width: 60vw; height: 60vw; left: -15vw; top: -20vw; background: #3b2f9e; animation: drift 22s ease-in-out infinite alternate; }
.aurora .a2 { width: 45vw; height: 45vw; right: -10vw; top: 10vh; background: #0f5b78; animation: drift 26s ease-in-out infinite alternate-reverse; }
.aurora .a3 { width: 50vw; height: 50vw; left: 20vw; bottom: -30vw; background: #4a1f6e; animation: drift 30s ease-in-out infinite alternate; }
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); opacity: .35; }
@keyframes drift { to { transform: translate(6vw, 4vh) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .aurora span { animation: none; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 10, 31, .6); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 18px rgba(79, 209, 232, .35); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .pill { color: var(--bg); background: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.nav-links .pill:hover { color: var(--bg); background: #fff; }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 16px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { color: #071022; background: linear-gradient(100deg, var(--cyan), #8fdcff 45%, var(--violet));
  box-shadow: 0 10px 40px rgba(79, 209, 232, .35); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 40px; } .hero-cta, .badges { justify-content: center; } .lead { margin-inline: auto; } }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px 6px 8px; border-radius: 999px; }
.chip .live { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(79,209,232,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79,209,232,.6); } 80%,100% { box-shadow: 0 0 0 10px rgba(79,209,232,0); } }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; margin: 20px 0 18px; letter-spacing: -.035em; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 34em; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--ink-3); font-size: 14px; }
.badges span::before { content: "✓"; color: var(--cyan); margin-right: 6px; font-weight: 700; }

/* Phone + live assistant demo */
.stage { position: relative; display: grid; place-items: center; }
.stage::before { content: ""; position: absolute; width: 520px; max-width: 110%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,124,246,.35), transparent 60%); filter: blur(10px); }
.phone { position: relative; width: min(340px, 84vw); aspect-ratio: 9 / 19.3; border-radius: 52px; padding: 11px;
  background: linear-gradient(160deg, #343a5c, #0b0d1c 60%); box-shadow: 0 50px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.05); }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 60% at 15% 0%, rgba(139,124,246,.28), transparent 60%), linear-gradient(180deg, #1a1f4a, #0b0f2b); padding: 46px 18px 16px; text-align: left; }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 100px; height: 29px; background: #000; border-radius: 20px; }
.s-top { display: flex; align-items: center; gap: 10px; }
.s-logo { width: 32px; height: 32px; border-radius: 9px; }
.s-title { font-weight: 700; font-size: 17px; line-height: 1.1; }
.s-sub { font-size: 10px; color: var(--ink-2); }
.s-avatar { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet)); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.orb { position: relative; width: 170px; height: 170px; margin: 18px auto 6px; border-radius: 50%; }
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb .rim { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(79,209,232,.9), 0 0 24px rgba(79,209,232,.55), inset 0 0 40px rgba(79,209,232,.25);
  background: radial-gradient(circle at 50% 45%, rgba(11,15,43,.4), rgba(20,64,107,.35) 60%, rgba(79,209,232,.25)); }
.s-status { text-align: center; font-weight: 300; font-size: 20px; margin: 4px 0 10px; min-height: 30px; }
.chat { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; overflow: hidden; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.msg.show { opacity: 1; transform: none; }
.msg.you { align-self: flex-end; background: rgba(255,255,255,.1); border-bottom-right-radius: 6px; color: var(--ink); }
.msg.clumi { align-self: flex-start; background: linear-gradient(135deg, rgba(79,209,232,.22), rgba(139,124,246,.22)); border: 1px solid rgba(79,209,232,.35); border-bottom-left-radius: 6px; }
.msg.clumi b { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
.s-tabs { margin-top: 12px; display: flex; justify-content: space-around; background: rgba(27,32,82,.9); border: 1px solid rgba(79,209,232,.18); border-radius: 18px; padding: 8px 4px; font-size: 9px; color: var(--ink-2); }
.s-tabs span { display: grid; justify-items: center; gap: 3px; }
.s-tabs i { width: 26px; height: 19px; border-radius: 7px; background: rgba(255,255,255,.08); }
.s-tabs .on { color: var(--cyan); font-weight: 600; }
.s-tabs .on i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.float { position: absolute; padding: 10px 14px; border-radius: 16px; font-size: 13px; background: rgba(13,18,53,.85); border: 1px solid var(--line);
  backdrop-filter: blur(12px); box-shadow: 0 20px 40px rgba(0,0,0,.35); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.float small { display: block; color: var(--ink-3); font-size: 11px; }
.float.f1 { left: -6%; top: 22%; }
.float.f2 { right: -10%; top: 84%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 940px) { .float { display: none; } }
@media (prefers-reduced-motion: reduce) { .float, .chip .live { animation: none; } .msg { transition: none; } }

/* Marquee of things people say */
.marquee { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: rgba(255,255,255,.015); }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: scroll 50s linear infinite; }
.marquee span { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.marquee span b { color: var(--ink); font-weight: 500; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; } }

/* Sections */
section { padding: 88px 0; }
.eyebrow { display: block; text-align: center; color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -.025em; text-align: center; }
.section-lead { color: var(--ink-2); text-align: center; max-width: 38em; margin: 0 auto 48px; font-size: 18px; }

/* Tell / Ask / Remind */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }
.mode { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.mode::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(40px); opacity: .35; }
.mode.c::after { background: var(--cyan); } .mode.v::after { background: var(--violet); } .mode.p::after { background: var(--pink); }
.mode .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.mode.c .tag { color: var(--cyan); } .mode.v .tag { color: var(--violet); } .mode.p .tag { color: var(--pink); }
.mode h3 { font-size: 22px; margin: 10px 0 8px; }
.mode p { color: var(--ink-2); margin: 0 0 18px; }
.convo { display: grid; gap: 8px; position: relative; z-index: 1; }
.convo .y, .convo .a { padding: 10px 14px; border-radius: 14px; font-size: 14.5px; max-width: 92%; }
.convo .y { justify-self: end; background: rgba(255,255,255,.08); }
.convo .a { background: rgba(79,209,232,.12); border: 1px solid rgba(79,209,232,.3); }
.convo .a::before { content: "Clumi · "; color: var(--cyan); font-weight: 600; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tile.wide { grid-column: span 3; }
.tile.big { grid-column: span 4; }
@media (max-width: 960px) { .tile, .tile.wide, .tile.big { grid-column: span 3; } }
@media (max-width: 620px) { .tile, .tile.wide, .tile.big { grid-column: span 6; } }
.tile .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(79,209,232,.18), rgba(139,124,246,.18)); border: 1px solid var(--line); }
.tile h3 { margin: 0 0 6px; font-size: 18px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tile .mini { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tile .mini span { font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink-2); }
.wave { display: flex; align-items: center; gap: 3px; height: 36px; margin-top: 18px; }
.wave i { width: 4px; border-radius: 4px; background: linear-gradient(var(--cyan), var(--violet)); animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 50% { transform: scaleY(.3); } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-weight: 800; color: #071022; background: linear-gradient(135deg, var(--cyan), var(--violet)); margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-2); }

/* Privacy */
.privacy { border-radius: 32px; padding: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
  background: radial-gradient(100% 120% at 0% 0%, rgba(79,209,232,.14), transparent 60%), radial-gradient(80% 120% at 100% 100%, rgba(139,124,246,.18), transparent 60%), var(--surface);
  border: 1px solid var(--line); }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; padding: 28px; } }
.privacy h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; }
.privacy p { color: var(--ink-2); margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.checks li::before { content: "✓"; color: var(--cyan); font-weight: 800; margin-right: 10px; }

/* CTA */
.cta { text-align: center; }
.cta-card { border-radius: 36px; padding: 56px 24px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: radial-gradient(60% 100% at 50% 0%, rgba(139,124,246,.3), transparent 70%), var(--surface); }
.cta .icon-big { width: 104px; height: 104px; border-radius: 26px; margin: 0 auto 20px; box-shadow: 0 0 70px rgba(79,209,232,.45); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--ink-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Doc pages (privacy, support, thanks, 404) */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 16px 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { margin-top: 38px; font-size: 22px; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); }
.doc .updated { color: var(--ink-3); font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details p { margin: 10px 0 2px; }
form .field { display: grid; gap: 6px; margin-bottom: 14px; }
label { font-size: 14px; font-weight: 600; }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); background: rgba(7,10,31,.7); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
textarea { min-height: 130px; resize: vertical; }
.hidden { display: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ===================== v2: animated, assistant-style sections ===================== */

/* Icons + animated logo */
.ico { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.logo-anim { display: inline-block; width: 34px; height: 34px; flex: none; border-radius: 10px; box-shadow: 0 0 22px rgba(79,209,232,.35); }
.logo-anim svg { width: 100%; height: 100%; display: block; }
.logo-anim .ring { transform-origin: 32px 32px; animation: spin 7s linear infinite; }
.logo-anim .orbit { transform-origin: 32px 32px; animation: spin 3.6s linear infinite; }
.logo-anim .core { transform-origin: 32px 32px; animation: breathe 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .logo-anim .ring, .logo-anim .orbit, .logo-anim .core { animation: none; } }

/* Phone controls */
.s-top .logo-anim { width: 34px; height: 34px; border-radius: 10px; }
.s-bell { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); position: relative; }
.s-bell .ico { width: 15px; height: 15px; }
.s-bell::after { content: ""; position: absolute; top: 4px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #e5485b; }
.s-top .s-avatar { margin-left: 8px; }
.controls { display: flex; justify-content: center; gap: 16px; margin: 4px 0 8px; }
.ctrl { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: rgba(255,255,255,.06); border: 1.5px solid var(--line); }
.ctrl .ico { width: 19px; height: 19px; }
.ctrl.mic { color: var(--cyan); border-color: rgba(79,209,232,.7); box-shadow: 0 0 14px rgba(79,209,232,.45); }
.ctrl.mic::before, .ctrl.mic::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; }
.phone.listening .ctrl.mic { background: var(--cyan); color: #071022; box-shadow: 0 0 26px rgba(79,209,232,.9); }
.phone.listening .ctrl.mic::before { animation: pulse-ring 1.4s ease-out infinite; }
.phone.listening .ctrl.mic::after { animation: pulse-ring 1.4s ease-out .7s infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
.s-status { font-size: 18px; margin: 2px 0 6px; }
.orb { width: 150px; height: 150px; margin: 12px auto 4px; }
.msg { font-size: 12px; }

/* Glow border helper */
.glow-border { position: relative; border-radius: 28px; padding: 1.5px; overflow: hidden; }
.glow-border::before { content: ""; position: absolute; inset: -60%; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--cyan) 65%, var(--violet) 75%, var(--pink) 82%, transparent 92%);
  animation: spin 6s linear infinite; }
.glow-border > .inner { position: relative; z-index: 1; border-radius: 27px; background: linear-gradient(180deg, #0e1338, #0a0d26); height: 100%; }
@media (prefers-reduced-motion: reduce) { .glow-border::before { animation: none; } }

/* Assistant console */
.console { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .console { grid-template-columns: 1fr; } }
.modes2 { display: grid; gap: 12px; align-content: start; }
.mode-btn { all: unset; cursor: pointer; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 18px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: background .25s, border-color .25s, transform .25s; }
.mode-btn:hover { background: var(--surface-2); }
.mode-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.mode-btn .mi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--ink-2); background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: all .25s; }
.mode-btn h3 { margin: 0; font-size: 18px; }
.mode-btn p { margin: 2px 0 0; font-size: 14px; color: var(--ink-3); }
.mode-btn .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); }
.mode-btn.active { background: linear-gradient(135deg, rgba(79,209,232,.10), rgba(139,124,246,.12)); border-color: rgba(79,209,232,.45); transform: translateX(4px); }
.mode-btn.active .mi { color: #071022; background: linear-gradient(135deg, var(--cyan), var(--violet)); border-color: transparent; box-shadow: 0 0 18px rgba(79,209,232,.5); }
.mode-btn.active .bar { animation: fill var(--dur, 7s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.panel .inner { padding: 22px; display: flex; flex-direction: column; min-height: 360px; }
.panel-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mini-orb { width: 38px; height: 38px; border-radius: 50%; position: relative; background: radial-gradient(circle at 50% 45%, #0b0f2b, #14406b 60%, rgba(79,209,232,.6)); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 18px rgba(79,209,232,.6); }
.mini-orb::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: var(--cyan); filter: blur(6px); opacity: .7; animation: breathe 1.6s ease-in-out infinite; }
.panel-top b { display: block; font-size: 15px; }
.panel-top small { color: var(--ink-3); font-size: 12px; }
.panel-top .state { margin-left: auto; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(79,209,232,.12); color: var(--cyan); border: 1px solid rgba(79,209,232,.3); }
.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px 2px 4px; }
.bub { max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; animation: pop .35s ease both; }
.bub.you { align-self: flex-end; background: rgba(255,255,255,.08); border-bottom-right-radius: 6px; }
.bub.ai { align-self: flex-start; background: linear-gradient(135deg, rgba(79,209,232,.16), rgba(139,124,246,.18)); border: 1px solid rgba(79,209,232,.32); border-bottom-left-radius: 6px; }
.bub .caret { display: inline-block; width: 2px; height: 1em; background: var(--cyan); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.result { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); padding: 7px 12px; border-radius: 999px;
  background: rgba(242,184,92,.12); border: 1px solid rgba(242,184,92,.35); animation: pop .4s ease both; }
.result .ico { width: 15px; height: 15px; color: var(--amber); }
.typing { display: inline-flex; gap: 4px; padding: 13px 15px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .4; } }

/* Feature tiles with spotlight */
.bento2 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ft { grid-column: span 2; position: relative; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-height: 240px; display: flex; flex-direction: column; }
.ft.w3 { grid-column: span 3; } .ft.w4 { grid-column: span 4; }
@media (max-width: 960px) { .ft, .ft.w3, .ft.w4 { grid-column: span 3; } }
@media (max-width: 640px) { .ft, .ft.w3, .ft.w4 { grid-column: span 6; } }
.ft::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(79,209,232,.14), transparent 45%); }
.ft:hover::before { opacity: 1; }
.ft::after { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(139,124,246,.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ft:hover::after { opacity: 1; }
.ft .fi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(135deg, rgba(79,209,232,.14), rgba(139,124,246,.14)); border: 1px solid var(--line); margin-bottom: 14px; }
.ft h3 { margin: 0 0 6px; font-size: 18px; }
.ft p { margin: 0; color: var(--ink-2); font-size: 15px; }
.ft .viz { margin-top: auto; padding-top: 18px; position: relative; }

.bars { display: flex; align-items: center; gap: 4px; height: 54px; }
.bars i { flex: 1; max-width: 6px; border-radius: 6px; background: linear-gradient(var(--cyan), var(--violet) 60%, var(--pink)); animation: eq 1.1s ease-in-out infinite; }
@keyframes eq { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.transcript { margin-top: 10px; font-size: 14px; color: var(--ink); min-height: 21px; }
.transcript::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--cyan); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }

.notif { border-radius: 16px; padding: 12px; background: rgba(255,255,255,.07); border: 1px solid var(--line); backdrop-filter: blur(10px); animation: slide 5s ease-in-out infinite; }
.notif .row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.notif .row .logo-anim { width: 18px; height: 18px; border-radius: 5px; box-shadow: none; }
.notif b { display: block; font-size: 14px; margin: 6px 0 8px; }
.notif .acts { display: flex; gap: 6px; }
.notif .acts span { font-size: 11.5px; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.08); }
.notif .voice { display: inline-flex; gap: 2px; margin-left: auto; }
.notif .voice i { width: 2px; height: 10px; border-radius: 2px; background: var(--cyan); animation: eq .8s ease-in-out infinite; }
.notif .voice i:nth-child(2) { animation-delay: -.2s; } .notif .voice i:nth-child(3) { animation-delay: -.4s; }
@keyframes slide { 0%,8% { transform: translateY(-14px); opacity: 0; } 18%,82% { transform: none; opacity: 1; } 92%,100% { transform: translateY(-14px); opacity: 0; } }

.qa { display: grid; gap: 8px; }
.qa .q, .qa .a { padding: 9px 13px; border-radius: 14px; font-size: 14px; width: fit-content; }
.qa .q { justify-self: end; background: rgba(255,255,255,.08); }
.qa .a { background: rgba(79,209,232,.14); border: 1px solid rgba(79,209,232,.3); animation: grow 4s ease-in-out infinite; transform-origin: left; }
@keyframes grow { 0%,20% { opacity: 0; transform: scale(.8); } 30%,85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.www { display: grid; gap: 8px; }
.www span { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); animation: hl 6s infinite; }
.www span .ico { width: 16px; height: 16px; }
.www span:nth-child(1) { animation-delay: 0s; color: var(--cyan); } .www span:nth-child(2) { animation-delay: 2s; color: var(--amber); } .www span:nth-child(3) { animation-delay: 4s; color: var(--violet); }
.www span em { font-style: normal; color: var(--ink); }
@keyframes hl { 0%,30% { background: rgba(255,255,255,.1); border-color: currentColor; } 34%,100% { background: rgba(255,255,255,.04); border-color: var(--line); } }

.buckets { display: flex; flex-wrap: wrap; gap: 8px; }
.buckets span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); animation: pop .5s ease both; }
.buckets span b { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.1); }
.buckets span.soon { border-color: rgba(242,184,92,.5); color: var(--amber); }

.orbit-viz { position: relative; height: 170px; display: grid; place-items: center; }
.orbit-viz .logo-anim { width: 58px; height: 58px; border-radius: 16px; z-index: 1; }
.orbit-viz .track { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px dashed rgba(160,175,255,.25); animation: spin 18s linear infinite; }
.orbit-viz .track span { position: absolute; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--ink);
  background: #121844; border: 1px solid var(--line); animation: spin 18s linear infinite reverse; }
.orbit-viz .track span .ico { width: 16px; height: 16px; }
.orbit-viz .track span:nth-child(1) { top: -17px; left: 58px; } .orbit-viz .track span:nth-child(2) { top: 58px; right: -17px; }
.orbit-viz .track span:nth-child(3) { bottom: -17px; left: 58px; } .orbit-viz .track span:nth-child(4) { top: 58px; left: -17px; }
.orbit-viz .labels { position: absolute; inset: auto 0 -6px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

.undo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #1b2052; border: 1px solid rgba(79,209,232,.3); font-size: 14px; animation: slide 5s ease-in-out infinite; }
.undo b { color: var(--cyan); }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 30px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; } }
.timeline .line { position: absolute; left: 6%; right: 6%; top: 52px; height: 2px; background: rgba(160,175,255,.15); border-radius: 2px; overflow: hidden; }
.timeline .line::after { content: ""; position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); animation: draw 6s ease-in-out infinite; box-shadow: 0 0 12px var(--cyan); }
@keyframes draw { 0% { transform: scaleX(0); } 70%,100% { transform: scaleX(1); } }
@media (max-width: 860px) { .timeline .line { left: 12px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .timeline .line::after { transform-origin: top; animation-name: drawv; } }
@keyframes drawv { 0% { transform: scaleY(0); } 70%,100% { transform: scaleY(1); } }
.tstep { position: relative; padding: 70px 22px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
@media (max-width: 860px) { .tstep { text-align: left; padding: 22px; } }
.tstep .node { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-2); background: #0e1338; border: 2px solid rgba(160,175,255,.25); animation: light 6s infinite; }
@media (max-width: 860px) { .tstep .node { position: absolute; left: -48px; top: 18px; transform: none; width: 30px; height: 30px; } .tstep .node .ico { width: 14px; height: 14px; } }
.tstep:nth-of-type(2) .node { animation-delay: 0s; } .tstep:nth-of-type(3) .node { animation-delay: 1.4s; } .tstep:nth-of-type(4) .node { animation-delay: 2.8s; }
@keyframes light { 0%,10% { color: var(--ink-2); border-color: rgba(160,175,255,.25); box-shadow: none; }
  18%,85% { color: #071022; background: linear-gradient(135deg, var(--cyan), var(--violet)); border-color: transparent; box-shadow: 0 0 26px rgba(79,209,232,.7); }
  95%,100% { color: var(--ink-2); background: #0e1338; border-color: rgba(160,175,255,.25); box-shadow: none; } }
.tstep h3 { margin: 0 0 6px; font-size: 19px; }
.tstep p { margin: 0; color: var(--ink-2); }
.tstep .say { display: inline-block; margin-top: 12px; font-size: 13.5px; padding: 7px 12px; border-radius: 12px; background: rgba(79,209,232,.1); border: 1px solid rgba(79,209,232,.25); color: var(--ink); }
.clock { text-align: center; margin-top: 26px; font-family: "Sora", sans-serif; color: var(--ink-3); }
.clock b { font-size: 34px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Download button */
.btn-store { color: var(--ink); background: #000; border: 1px solid rgba(255,255,255,.25); padding: 0 20px; gap: 12px; text-align: left; line-height: 1.15; }
.btn-store:hover { background: #0b0b0b; }
.btn-store .ico { width: 26px; height: 26px; }
.btn-store small { display: block; font-size: 11px; color: var(--ink-2); font-weight: 500; }
.btn-store span { font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  .bars i, .notif, .qa .a, .www span, .orbit-viz .track, .orbit-viz .track span, .undo, .timeline .line::after, .tstep .node,
  .mode-btn.active .bar, .mini-orb::after, .typing i, .bub .caret, .transcript::after { animation: none !important; }
  .timeline .line::after { transform: none; }
}
