/* ─────────────────────────────────────────────────────────────────────
   COHOST — landing page · production aesthetic
   Inspired by Linear, Cursor, Granola. Dark mode, Geist, motion-rich.
   ───────────────────────────────────────────────────────────────────── */

:root {
  --bg:           #050505;
  --bg-1:         #0a0a0a;
  --bg-2:         #0f0f0f;
  --bg-3:         #161616;
  --bg-4:         #1c1c1c;
  --fg:           #fafafa;
  --fg-2:         #d4d4d4;
  --fg-muted:     #a1a1a1;
  --fg-faint:     #6f6f6f;
  --fg-ghost:     #4a4a4a;
  --border:       rgba(255, 255, 255, 0.06);
  --border-2:     rgba(255, 255, 255, 0.10);
  --border-3:     rgba(255, 255, 255, 0.16);
  --bg-hover:     rgba(255, 255, 255, 0.04);
  --accent:       #ef4444;
  --accent-2:     #b91c1c;
  --accent-soft:  rgba(239, 68, 68, 0.10);
  --twitch:       #a78bfa;
  --youtube:      #ef4444;
  --kick:         #4ade80;
  --r-sm:         5px;
  --r:            8px;
  --r-md:         12px;
  --r-lg:         18px;
  --r-xl:         24px;
  --font:         'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --easing:       cubic-bezier(.21, .71, .27, 1);
  --easing-out:   cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input { font: inherit; }
img, video { display: block; max-width: 100%; }
em { font-style: italic; }

/* ───────────── SCROLL REVEAL ───────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--easing-out), transform 0.85s var(--easing-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; }
}

/* ════════════════════ NAV ════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.6);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.85);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.nav-brand img {
  width: 24px; height: 24px; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.25));
  transition: transform 0.5s var(--easing-out);
}
.nav-brand:hover img { transform: rotate(-8deg) scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 22px;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--fg-muted);
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--fg); background: var(--bg-hover); }

.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.nav-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: var(--fg-muted);
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.nav-x:hover { color: var(--fg); background: var(--bg-hover); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px 8px 16px;
  background: var(--fg);
  color: var(--bg-1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--easing-out), box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(255,255,255,0.05);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 12px 32px rgba(255,255,255,0.10);
}
.nav-cta:active { transform: translateY(0); }
.nav-cta svg { transition: transform 0.25s var(--easing-out); }
.nav-cta:hover svg { transform: translateX(2px); }

/* ════════════════════ HERO ════════════════════ */
.hero {
  position: relative;
  padding: 100px 28px 72px;
  overflow: hidden;
  isolation: isolate;
}
/* Mouse-follow ambient glow */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at var(--mx, 50%) var(--my, 30%), rgba(239, 68, 68, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 30% 100%, rgba(167, 139, 250, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(239, 68, 68, 0.05) 0%, transparent 65%);
  pointer-events: none;
  transition: background 0.18s ease-out;
  z-index: -2;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 25%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  to { background-position: 64px 64px; }
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: overlay;
}

.hero-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 36px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--easing-out);
  animation: pillIn 0.7s var(--easing-out) both;
}
.hero-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-3);
  transform: translateY(-1px);
}
.hero-pill svg { color: var(--fg-faint); transition: transform 0.25s var(--easing-out); }
.hero-pill:hover svg { transform: translateX(2px); color: var(--fg-2); }
.hero-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent), 0 0 14px rgba(239,68,68,0.5);
  animation: liveDot 1.6s ease-in-out infinite;
}
@keyframes liveDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.55; }
}
@keyframes pillIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line .word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordIn 0.9s var(--easing-out) forwards;
}
.hero-line .word em {
  font-style: normal;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.hero-line:nth-child(1) .word:nth-child(1) { animation-delay: .15s; }
.hero-line:nth-child(1) .word:nth-child(2) { animation-delay: .19s; }
.hero-line:nth-child(1) .word:nth-child(3) { animation-delay: .23s; }
.hero-line:nth-child(2) .word:nth-child(1) { animation-delay: .27s; }
.hero-line:nth-child(2) .word:nth-child(2) { animation-delay: .31s; }
.hero-line:nth-child(3) .word:nth-child(1) { animation-delay: .35s; }
.hero-line:nth-child(3) .word:nth-child(2) { animation-delay: .39s; }
@keyframes wordIn {
  to { transform: none; }
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 40px;
  letter-spacing: -0.005em;
  opacity: 0;
  animation: fadeUp 0.9s var(--easing-out) 0.5s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.br-desktop { display: inline; }
@media (max-width: 600px) { .br-desktop { display: none; } }

.hero-fineprint {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--fg-faint);
  opacity: 0;
  animation: fadeUp 0.9s var(--easing-out) 0.75s forwards;
}

/* ════════════════════ WAITLIST FORM ════════════════════ */
.waitlist {
  display: flex;
  gap: 6px;
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 5px;
  transition: border-color 0.2s, box-shadow 0.2s;
  opacity: 0;
  animation: fadeUp 0.9s var(--easing-out) 0.65s forwards;
}
.waitlist:focus-within {
  border-color: var(--border-3);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04), 0 0 30px rgba(239, 68, 68, 0.08);
}
.waitlist input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 14.5px;
  outline: none;
  letter-spacing: -0.005em;
  min-width: 0;
}
.waitlist input::placeholder { color: var(--fg-faint); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: var(--fg);
  color: var(--bg-1);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--easing-out), box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.10);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.7; cursor: wait; }
.btn-arrow { transition: transform 0.25s var(--easing-out); }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

/* ════════════════════ MARQUEE ════════════════════ */
.marquee {
  position: relative;
  padding: 32px 0 24px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, var(--bg-1) 50%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  gap: 0;
}
.marquee-row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}
.marquee-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.marquee-platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-2);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee-platform .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-twitch  { background: #a78bfa; box-shadow: 0 0 10px #a78bfa; }
.dot-youtube { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.dot-kick    { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.dot-rtmp    { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.dot-fb      { background: #60a5fa; box-shadow: 0 0 10px #60a5fa; }
.dot-x       { background: #fafafa; box-shadow: 0 0 10px #fafafa; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════ DEMO ════════════════════ */
.demo {
  padding: 64px 28px 96px;
  max-width: 1180px;
  margin: 0 auto;
}
.demo-frame {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(239, 68, 68, 0.05),
    0 0 1px rgba(255,255,255,0.05) inset;
}
.demo-bezel {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.demo-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
}
.demo-dot:nth-child(1) { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }
.demo-bezel-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
}
.demo-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.30);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.10em;
}
.demo-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: liveDot 1.4s ease-in-out infinite;
}
.demo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ════════════════════ SECTION HEADER ════════════════════ */
.section-h {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 720px;
  padding: 0 28px;
}
.section-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.section-title-soft {
  color: var(--fg-faint);
  font-weight: 600;
}
.section-sub {
  margin-top: 18px;
  font-size: 16px;
  color: var(--fg-muted);
  letter-spacing: -0.005em;
}

/* ════════════════════ FEATURES (BENTO) ════════════════════ */
.features { padding: 64px 0 72px; }
.bento {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.4s var(--easing-out);
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at var(--mx, 50%) var(--my, 0%), rgba(239, 68, 68, 0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.bento-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.bento-card:hover::before { opacity: 1; }

.bento-content {
  position: relative;
  z-index: 2;
  padding: 28px 28px 0;
}
.bento-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fg-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.bento-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.bento-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin-bottom: 10px;
}
.bento-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  max-width: 520px;
}

.bento-art {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 0 28px 28px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
}

/* Layout — 12-col bento */
.bento-ai      { grid-column: span 8; min-height: 460px; }
.bento-multi   { grid-column: span 4; min-height: 460px; }
.bento-studio  { grid-column: span 5; min-height: 320px; }
.bento-voice   { grid-column: span 4; min-height: 320px; }
.bento-clips   { grid-column: span 3; min-height: 320px; }

/* ── AI Sidekick card art ── */
.bento-ai-art {
  align-items: flex-end;
  justify-content: center;
}
.ck-card {
  width: 100%;
  max-width: 540px;
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 14px;
  font-size: 12.5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 8px;
}
.ck-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.ck-h {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ck-on {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 999px;
  color: var(--kick);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em;
}
.ck-on-dot {
  width: 6px; height: 6px;
  background: var(--kick); border-radius: 50%;
  box-shadow: 0 0 8px var(--kick);
  animation: liveDot 1.6s ease-in-out infinite;
}
.ck-bubble {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 10px;
  margin-bottom: 12px;
}
.ck-av {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.20);
  border: 1px solid rgba(167, 139, 250, 0.45);
  display: grid; place-items: center;
  color: var(--twitch);
  font-size: 10px; font-weight: 700;
}
.ck-eye {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 9.5px; font-weight: 600;
  color: var(--twitch);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 3px;
}
.ck-wave {
  display: inline-flex; gap: 2px;
}
.ck-wave span {
  width: 2px; height: 9px;
  background: var(--twitch);
  border-radius: 1px;
  animation: waveBar 0.7s ease-in-out infinite;
}
.ck-wave span:nth-child(2) { animation-delay: 0.12s; }
.ck-wave span:nth-child(3) { animation-delay: 0.24s; }
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}
.ck-text {
  font-size: 12.5px;
  color: var(--fg-2);
  line-height: 1.45;
}
.ck-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 4px;
}
.ck-msg {
  display: flex; gap: 9px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  animation: msgIn 0.5s var(--easing-out) forwards;
  background: rgba(255,255,255,0.02);
}
.ck-msg:nth-child(1) { animation-delay: 0.4s; }
.ck-msg:nth-child(2) { animation-delay: 0.55s; }
.ck-msg:nth-child(3) { animation-delay: 0.7s; }
.ck-msg:nth-child(4) { animation-delay: 0.85s; }
.ck-msg:nth-child(5) { animation-delay: 1.0s; }
@keyframes msgIn {
  to { opacity: 1; transform: none; }
}
.ck-handle {
  font-weight: 600;
  font-size: 11.5px;
  flex-shrink: 0;
}
.ck-twitch { color: var(--twitch); }
.ck-yt     { color: var(--youtube); }
.ck-kick   { color: var(--kick); }
.ck-body { color: var(--fg-2); flex: 1; min-width: 0; }
.ck-msg-vip {
  background: rgba(251, 191, 36, 0.08);
  box-shadow: inset 2px 0 0 #fbbf24;
}
.ck-msg-read {
  background: rgba(74, 222, 128, 0.10);
  box-shadow: inset 2px 0 0 var(--kick);
}
.ck-msg-flag {
  opacity: 0.4;
  text-decoration: line-through;
  text-decoration-color: var(--accent);
}
.ck-msg-flag.ck-msg { animation: msgInFlag 0.5s var(--easing-out) 0.85s forwards; }
@keyframes msgInFlag {
  to { opacity: 0.4; transform: none; }
}

/* ── Multistream constellation ── */
.bento-multi-art {
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}
.multi-stage {
  position: relative;
  width: 100%;
  height: 220px;
  display: grid;
  place-items: center;
}
.multi-hub {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  display: grid; place-items: center;
  z-index: 3;
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.20);
  animation: hubPulse 2.4s ease-in-out infinite;
}
.multi-hub img { width: 36px; height: 36px; }
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 32px rgba(239, 68, 68, 0.20); }
  50%      { box-shadow: 0 0 50px rgba(239, 68, 68, 0.35); }
}
.multi-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(239,68,68,0.5), transparent);
  transform-origin: left center;
  z-index: 1;
  animation: linePulse 2.4s ease-in-out infinite;
}
.multi-line-tw {
  width: 110px;
  top: 35%; left: 50%;
  transform: translate(0, -50%) rotate(-30deg);
}
.multi-line-yt {
  width: 110px;
  top: 50%; left: 50%;
  transform: translate(0, -50%) rotate(0deg);
  animation-delay: 0.2s;
}
.multi-line-kk {
  width: 110px;
  top: 65%; left: 50%;
  transform: translate(0, -50%) rotate(30deg);
  animation-delay: 0.4s;
}
@keyframes linePulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
.multi-pill {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}
.multi-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.multi-tw { top: 22%; right: 8%; }
.multi-yt { top: 50%; right: 4%; transform: translateY(-50%); }
.multi-kk { bottom: 22%; right: 8%; }
.multi-tw .dot { background: var(--twitch); box-shadow: 0 0 10px var(--twitch); }
.multi-yt .dot { background: var(--youtube); box-shadow: 0 0 10px var(--youtube); }
.multi-kk .dot { background: var(--kick); box-shadow: 0 0 10px var(--kick); }

/* ── Studio mock canvas ── */
.studio-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(167,139,250,0.35), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(239,68,68,0.30), transparent 60%),
    linear-gradient(135deg, #1a0e2e 0%, #0c0a1a 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  overflow: hidden;
}
.studio-canvas::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent 0, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 3px
  );
  pointer-events: none;
}
.studio-cam {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60%; height: 70%;
  background: linear-gradient(160deg, #2a2a2a 0%, #0e0e0e 100%);
  border-radius: var(--r-sm);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.studio-cam::after {
  content: '';
  position: absolute;
  top: 28%; left: 50%; transform: translateX(-50%);
  width: 32%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #444 0%, #1a1a1a 80%);
}
.studio-overlay {
  position: absolute;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.studio-text {
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(239,68,68,0.4);
  animation: floatY 3s ease-in-out infinite;
}
.studio-stat {
  top: 8%; right: 8%;
  background: rgba(0,0,0,0.65);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(4px);
}
.studio-stat-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 8px;
  color: var(--fg-2);
  text-transform: none;
  letter-spacing: 0;
}
.studio-meter {
  width: 36px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.studio-meter span {
  display: block;
  height: 100%;
  width: calc(var(--p, 0.5) * 100%);
  background: linear-gradient(90deg, var(--kick), #fbbf24, var(--accent));
  animation: meterBreathe 2s ease-in-out infinite;
}
@keyframes meterBreathe {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-3px); }
}
.studio-handle {
  position: absolute;
  width: 8px; height: 8px;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  z-index: 3;
}
.studio-handle-nw { top: 13%;  left: 18%; }
.studio-handle-ne { top: 13%;  right: 18%; }
.studio-handle-sw { bottom: 13%; left: 18%; }
.studio-handle-se { bottom: 13%; right: 18%; }

/* ── Voice waveform ── */
.bento-voice-art {
  align-items: center;
  justify-content: center;
}
.voice-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.voice-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 60px;
}
.voice-bars span {
  width: 4px;
  background: linear-gradient(180deg, var(--twitch) 0%, rgba(167,139,250,0.4) 100%);
  border-radius: 2px;
  animation: voiceBar 1.4s ease-in-out infinite;
}
.voice-bars span:nth-child(1)  { animation-delay: 0.00s; height: 30%; }
.voice-bars span:nth-child(2)  { animation-delay: 0.08s; height: 55%; }
.voice-bars span:nth-child(3)  { animation-delay: 0.16s; height: 72%; }
.voice-bars span:nth-child(4)  { animation-delay: 0.24s; height: 90%; }
.voice-bars span:nth-child(5)  { animation-delay: 0.32s; height: 65%; }
.voice-bars span:nth-child(6)  { animation-delay: 0.40s; height: 80%; }
.voice-bars span:nth-child(7)  { animation-delay: 0.48s; height: 100%; }
.voice-bars span:nth-child(8)  { animation-delay: 0.56s; height: 78%; }
.voice-bars span:nth-child(9)  { animation-delay: 0.64s; height: 60%; }
.voice-bars span:nth-child(10) { animation-delay: 0.72s; height: 88%; }
.voice-bars span:nth-child(11) { animation-delay: 0.80s; height: 70%; }
.voice-bars span:nth-child(12) { animation-delay: 0.88s; height: 50%; }
.voice-bars span:nth-child(13) { animation-delay: 0.96s; height: 42%; }
.voice-bars span:nth-child(14) { animation-delay: 1.04s; height: 30%; }
.voice-bars span:nth-child(15) { animation-delay: 1.12s; height: 22%; }
@keyframes voiceBar {
  0%, 100% { transform: scaleY(0.45); }
  50%      { transform: scaleY(1); }
}
.voice-cmd {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-2);
  padding: 7px 14px;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.30);
  border-radius: 999px;
  letter-spacing: 0.005em;
}
.voice-cmd em { color: var(--twitch); font-style: normal; font-weight: 600; }

/* ── Auto-clips strip ── */
.bento-clips-art {
  align-items: flex-end;
  padding-bottom: 28px;
}
.clips-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.clip-thumb {
  height: 36px;
  background:
    linear-gradient(135deg, rgba(167,139,250,0.18) 0%, rgba(239,68,68,0.18) 100%),
    var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  animation: clipIn 0.6s var(--easing-out) backwards;
}
.clip-thumb:nth-child(1) { animation-delay: 0.1s; }
.clip-thumb:nth-child(2) { animation-delay: 0.2s; }
.clip-thumb:nth-child(3) { animation-delay: 0.3s; }
.clip-thumb:nth-child(4) { animation-delay: 0.4s; }
.clip-thumb:nth-child(5) { animation-delay: 0.5s; }
@keyframes clipIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}
.clip-thumb::before {
  content: '';
  position: absolute;
  top: 50%; left: 12px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid var(--fg);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.clip-time {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-faint);
  letter-spacing: 0.04em;
}

/* ════════════════════ HOW IT WORKS ════════════════════ */
.how { padding: 72px 0; }
.how-steps {
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.how-step {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px 30px;
  transition: border-color 0.3s, transform 0.3s var(--easing-out);
}
.how-step:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.how-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.how-num::after {
  content: '';
  width: 32px; height: 1px;
  background: linear-gradient(90deg, rgba(239,68,68,0.6), transparent);
}
.how-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}
.how-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ════════════════════ PRICING ════════════════════ */
.pricing { padding: 72px 28px; }
.pricing-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 56px 56px 52px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(239,68,68,0.10) 0%, transparent 65%);
  z-index: -1;
}
.pricing-card::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.4), transparent);
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.pricing-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: liveDot 1.6s ease-in-out infinite;
}
.pricing-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.pricing-title-soft { color: var(--fg-faint); }
.pricing-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 32px;
}
.pricing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--fg);
  color: var(--bg-1);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--easing-out), box-shadow 0.25s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 12px 32px rgba(255,255,255,0.05);
}
.pricing-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 16px 40px rgba(255,255,255,0.10);
}
.pricing-cta svg { transition: transform 0.25s var(--easing-out); }
.pricing-cta:hover svg { transform: translateX(2px); }

/* ════════════════════ FAQ ════════════════════ */
.faq { padding: 72px 0; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item:hover { border-color: var(--border-2); background: var(--bg-3); }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%23a1a1a1' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9 4v10M4 9h10'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s var(--easing-out);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  letter-spacing: -0.005em;
}
.faq-item p strong { color: var(--fg); font-weight: 600; }

/* ════════════════════ CTA ════════════════════ */
.cta {
  position: relative;
  padding: 110px 28px 130px;
  overflow: hidden;
  isolation: isolate;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 50% 50%, rgba(239, 68, 68, 0.10) 0%, transparent 70%);
  z-index: -1;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.cta-sub {
  font-size: 16.5px;
  color: var(--fg-muted);
  margin-bottom: 38px;
  letter-spacing: -0.005em;
}
.waitlist-large { max-width: 540px; opacity: 1; animation: none; }
.waitlist-large input { padding: 12px 18px; font-size: 15px; }
.waitlist-large .btn-primary { padding: 12px 22px; font-size: 14.5px; }

/* ════════════════════ FOOTER ════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 28px;
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.footer-brand img { width: 20px; height: 20px; }
.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--fg-faint);
}
.footer-meta a {
  color: var(--fg-muted);
  transition: color 0.18s;
}
.footer-meta a:hover { color: var(--fg); }
.footer-meta .dot { color: var(--fg-faint); }

/* ════════════════════ TOAST ════════════════════ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  color: var(--fg);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--easing-out), transform 0.3s var(--easing-out);
  z-index: 100;
}
.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1080px) {
  .bento-ai      { grid-column: span 12; min-height: 520px; }
  .bento-multi   { grid-column: span 12; min-height: 360px; }
  .bento-studio  { grid-column: span 6;  }
  .bento-voice   { grid-column: span 6;  }
  .bento-clips   { grid-column: span 12; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { font-size: 12.5px; padding: 7px 12px 7px 14px; }
  .hero { padding: 70px 22px 50px; }
  .hero-sub { font-size: 16px; }
  .demo { padding: 40px 22px 60px; }
  .features, .how, .faq { padding: 56px 0; }
  .pricing { padding: 56px 22px; }
  .pricing-card { padding: 44px 28px 40px; }
  .bento { padding: 0 18px; }
  .bento-ai, .bento-multi, .bento-studio, .bento-voice, .bento-clips { grid-column: span 12; min-height: auto; }
  .bento-content { padding: 24px 22px 0; }
  .bento-art { padding: 0 22px 24px; min-height: 200px; }
  .how-steps { grid-template-columns: 1fr; padding: 0 18px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .cta { padding: 80px 22px 90px; }
}

@media (max-width: 480px) {
  .waitlist {
    flex-direction: column;
    border-radius: 14px;
    padding: 6px;
  }
  .waitlist input[type="email"] {
    padding: 12px 14px;
    text-align: center;
  }
  .btn-primary {
    justify-content: center;
    border-radius: 10px;
  }
  .demo-bezel-title { display: none; }
}
