html { scroll-behavior: smooth; }

/* ==========================================================================
   Fybi landing page — design tokens
   ========================================================================== */
:root {
  --bg: #0B0F19;
  --surface: #141A2A;
  --surface-2: #1A2236;
  --border: #1F2937;
  --text: #E6EAF2;
  --text-muted: #8B95A7;

  --brand: #B23DB6;
  --brand-light: #E063C9;
  --brand-dim: rgba(178, 61, 182, 0.16);

  --accent-indigo: #6366F1;
  --accent-cyan: #22D3EE;

  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;

  --max-w: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-light);
  margin: 0 0 var(--space-3);
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: var(--space-3) 0 0;
}

.section-head { max-width: 640px; margin: 0 auto var(--space-7); text-align: center; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

section:not(.hero) {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-9) var(--space-5);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 22px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(178, 61, 182, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(178, 61, 182, 0.75); }
.btn-primary:active { transform: translateY(0); }
.btn-nav { padding: 10px 18px; font-size: 14px; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.is-scrolled {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.nav-logo { display: flex; align-items: center; gap: var(--space-2); }
.nav-logo-icon { border-radius: 7px; }
.nav-logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo-dot { color: var(--brand-light); }
.nav-links {
  display: flex;
  gap: var(--space-6);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ==========================================================================
   Hero + pinned phone demo
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(60% 45% at 82% 18%, var(--brand-dim), transparent 70%),
    radial-gradient(40% 35% at 10% 85%, rgba(99, 102, 241, 0.12), transparent 70%),
    var(--bg);
}

/* The pin-wrap is tall (several viewport heights) so scrolling through it
   drives the beat progression; hero-pin sticks to the viewport while inside it. */
.hero-pin-wrap {
  height: 380vh;
  position: relative;
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-5);
  gap: var(--space-8);
}

.hero-copy {
  flex: 1 1 460px;
  padding-top: 88px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 480px;
  margin: var(--space-4) 0 var(--space-6);
}
h1 { font-size: clamp(40px, 5vw, 60px); }

.waitlist-form {
  display: flex;
  gap: var(--space-2);
  max-width: 420px;
}
.waitlist-form input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-family: var(--font-body);
}
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-dim);
}
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: var(--space-2) 0 0;
}
.hero-microcopy {
  margin-top: var(--space-6);
  font-size: 14px;
  color: var(--text-muted);
  border-left: 2px solid var(--brand);
  padding-left: var(--space-3);
}

/* -------- phone stage -------- */
.hero-stage {
  flex: 1 1 340px;
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 300px;
  height: 620px;
  background: #05070D;
  border-radius: 44px;
  border: 8px solid #05070D;
  box-shadow:
    0 0 0 2px #232B3E,
    0 30px 70px -20px rgba(0,0,0,0.7),
    0 0 90px -10px var(--brand-dim);
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 20px;
  background: #05070D;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg), #0E1320);
  padding: 40px 14px 14px;
}

.beat {
  position: absolute;
  inset: 40px 14px 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.beat.is-active { opacity: 1; transform: translateY(0); }

/* beat 0: hub */
.beat-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
}
.hub-core {
  position: relative;
  z-index: 2;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px -6px var(--brand);
}
.hub-core img { border-radius: 0; }
.hub-petal {
  position: absolute;
  width: 44px; height: 30px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  overflow: hidden;
}
.hub-petal img { width: 20px; height: 20px; border-radius: 5px; }
.beat-hub.is-active .hub-petal { animation: petal-in 0.6s ease both; }
.p1 { top: 2%; left: 20%; animation-delay: 0.05s; transform: rotate(-4deg); }
.p2 { top: 9%; right: 10%; animation-delay: 0.1s; transform: rotate(3deg); }
.p3 { top: 24%; left: 2%; animation-delay: 0.15s; transform: rotate(5deg); }
.p7 { top: 31%; right: 2%; animation-delay: 0.2s; transform: rotate(-3deg); }
.p4 { bottom: 31%; right: 5%; animation-delay: 0.25s; transform: rotate(4deg); }
.p8 { bottom: 29%; left: 5%; animation-delay: 0.3s; transform: rotate(-5deg); }
.p5 { bottom: 9%; left: 24%; animation-delay: 0.35s; transform: rotate(3deg); }
.p6 { bottom: 3%; right: 18%; animation-delay: 0.4s; transform: rotate(-3deg); }
.beat-hub.is-active .hub-petal.p1 { animation-name: petal-in-r1; }
.beat-hub.is-active .hub-petal.p2 { animation-name: petal-in-r2; }
.beat-hub.is-active .hub-petal.p3 { animation-name: petal-in-r3; }
.beat-hub.is-active .hub-petal.p7 { animation-name: petal-in-r4; }
.beat-hub.is-active .hub-petal.p4 { animation-name: petal-in-r5; }
.beat-hub.is-active .hub-petal.p8 { animation-name: petal-in-r6; }
.beat-hub.is-active .hub-petal.p5 { animation-name: petal-in-r3; }
.beat-hub.is-active .hub-petal.p6 { animation-name: petal-in-r4; }
@keyframes petal-in-r1 { from { opacity: 0; transform: rotate(-4deg) scale(0.4) translateY(-6px); } to { transform: rotate(-4deg) scale(1) translateY(0); } }
@keyframes petal-in-r2 { from { opacity: 0; transform: rotate(3deg) scale(0.4) translateY(-6px); } to { transform: rotate(3deg) scale(1) translateY(0); } }
@keyframes petal-in-r3 { from { opacity: 0; transform: rotate(5deg) scale(0.4) translateY(-6px); } to { transform: rotate(5deg) scale(1) translateY(0); } }
@keyframes petal-in-r4 { from { opacity: 0; transform: rotate(-3deg) scale(0.4) translateY(-6px); } to { transform: rotate(-3deg) scale(1) translateY(0); } }
@keyframes petal-in-r5 { from { opacity: 0; transform: rotate(4deg) scale(0.4) translateY(-6px); } to { transform: rotate(4deg) scale(1) translateY(0); } }
@keyframes petal-in-r6 { from { opacity: 0; transform: rotate(-5deg) scale(0.4) translateY(-6px); } to { transform: rotate(-5deg) scale(1) translateY(0); } }

/* faint background tiles suggesting many more (unnamed) integrations */
.hub-ghost {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  opacity: 0;
  filter: grayscale(1);
}
.hub-ghost::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--text-muted);
  opacity: 0.7;
  transform: translate(-50%, -50%);
}
.hub-ghost-lg { width: 26px; height: 26px; }
.beat-hub.is-active .hub-ghost { animation: ghost-in 0.8s ease both; }
@keyframes ghost-in { from { opacity: 0; } to { opacity: 0.4; } }
@keyframes petal-in {
  from { opacity: 0; transform: scale(0.4) translateY(-6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hub-caption { font-size: 12px; color: var(--text-muted); margin: 0; }

/* beat 1: feed */
.beat-feed { display: flex; flex-direction: column; gap: var(--space-3); overflow: hidden; }
.storybar { display: flex; gap: var(--space-3); padding-bottom: var(--space-2); }
.story { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: var(--text-muted); }
.story-ring {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.story-active .story-ring {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(135deg, var(--brand-light), var(--accent-cyan)) border-box;
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-4);
}
.insight-tag { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-2); }
.insight-text { font-size: 13px; line-height: 1.45; margin: 0 0 var(--space-3); }
.insight-text strong { color: var(--accent-cyan); }
.kpi-row { display: flex; gap: var(--space-4); margin-bottom: var(--space-3); }
.kpi { display: flex; flex-direction: column; }
.kpi-num { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--success); }
.kpi-num.warn { color: var(--warning); }
.kpi-sub { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.kpi-label { font-size: 10px; color: var(--text-muted); }
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.mini-chart span { flex: 1; background: linear-gradient(180deg, var(--accent-indigo), var(--accent-cyan)); border-radius: 2px 2px 0 0; }
.why-btn {
  background: var(--brand-dim);
  color: var(--brand-light);
  border: 1px solid rgba(178,61,182,0.35);
  font-size: 12px; font-weight: 600;
  padding: 7px 12px; border-radius: 8px;
  cursor: default;
}
.why-btn.ghost { background: transparent; border-color: var(--border); color: var(--text-muted); }

/* beat 2: drill down */
.beat-drill { display: flex; align-items: flex-end; }
.drill-sheet {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  padding: var(--space-4);
}
.drill-handle { width: 32px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto var(--space-4); }
.drill-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin: 0 0 var(--space-2); }
.drill-body { font-size: 12px; color: var(--text-muted); margin: 0 0 var(--space-3); }
.drill-row { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; border-top: 1px solid var(--border); }
.drill-row strong { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .beat { transition: none; }
  .engage-heart, .node, .sharp-bars span,
  .mock-story-ring, .mock-audio-bar span,
  .mock-bubble-1, .typing-dot, .mock-float-like,
  .trend-line-actual, .trend-line-forecast,
  .trend-anomaly-dot, .trend-anomaly-ping {
    animation: none !important;
  }
}

/* ==========================================================================
   Mobile phone (self-contained loop, no pinning)
   ========================================================================== */
@media (max-width: 1023px) {
  .hero-pin-wrap { height: auto; }
  .hero-pin { position: static; height: auto; flex-direction: column; padding-top: 120px; }
  .hero-copy { padding-top: 0; text-align: left; }
  .hero-stage { margin-top: var(--space-7); }
  .phone { width: 260px; height: 540px; }
}

@media (max-width: 480px) {
  .hero-pin { padding-left: var(--space-4); padding-right: var(--space-4); }
  .waitlist-form { flex-direction: column; }
  h1 { font-size: 36px; }
}

/* ==========================================================================
   Positioning strip
   ========================================================================== */
.strip-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.strip-logo img { width: 56px; height: 56px; }
.strip-logo .nav-logo-word { font-size: 40px; }
.strip {
  text-align: center;
  padding: calc(var(--space-6) + 80px) var(--space-5) var(--space-6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-muted);
}
.strip p { margin: 0; }
.strip p + p { margin-top: var(--space-1); }
.strip strong { color: var(--brand-light); }

/* ==========================================================================
   Sources grid
   ========================================================================== */
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.source-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.source-chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.source-chip svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--brand-light);
}
.source-chip span { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.source-chip img { width: 26px; height: 26px; border-radius: 7px; }
.source-chip-agent { border-color: rgba(178, 61, 182, 0.4); background: linear-gradient(180deg, var(--brand-dim), var(--surface)); }
.source-chip-agent span { color: var(--brand-light); font-weight: 600; }

@media (max-width: 720px) {
  .source-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   SSL explainer
   ========================================================================== */
.ssl-steps {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}
.ssl-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-5);
}
.ssl-visual {
  height: 84px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

/* step 1: engagement — avatar cluster + pulsing like */
.ssl-visual-engage { gap: 4px; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--surface-2);
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
}
.avatar-b { background: linear-gradient(135deg, var(--brand-light), var(--brand)); margin-left: -12px; z-index: 1; }
.avatar-c { background: linear-gradient(135deg, var(--success), var(--accent-cyan)); margin-left: -12px; }
.engage-heart {
  position: absolute;
  right: 16px; bottom: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  animation: heart-pulse 1.6s ease-in-out infinite;
}
@keyframes heart-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* step 2: self-supervised learning — nodes lighting up */
.ssl-visual-learn { }
.node-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.node-lines line { stroke: rgba(139, 149, 167, 0.35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 rgba(34, 211, 238, 0);
  animation: node-pulse 2.4s ease-in-out infinite;
}
.n1 { left: 17%; top: 50%; animation-delay: 0s; }
.n2 { left: 49%; top: 22%; animation-delay: 0.3s; background: var(--brand-light); }
.n3 { left: 75%; top: 68%; animation-delay: 0.6s; }
.n4 { left: 91%; top: 32%; animation-delay: 0.9s; background: var(--brand-light); }
@keyframes node-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
  40% { transform: scale(1.6); box-shadow: 0 0 0 6px rgba(34, 211, 238, 0); }
}

/* step 3: insights get sharper — bars sharpening into focus */
.sharp-bars { display: flex; align-items: flex-end; gap: 6px; height: 50px; }
.sharp-bars span {
  width: 12px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-indigo));
  animation: sharpen 2.2s ease-in-out infinite;
}
.sharp-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.sharp-bars span:nth-child(2) { height: 65%; animation-delay: 0.15s; }
.sharp-bars span:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.sharp-bars span:nth-child(4) { height: 85%; animation-delay: 0.45s; }
@keyframes sharpen {
  0%, 100% { filter: blur(0); opacity: 1; }
  50% { filter: blur(1.5px); opacity: 0.7; }
}

.ssl-num { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--brand-light); margin-bottom: var(--space-2); }
.ssl-step h3 { font-size: 17px; margin-bottom: var(--space-2); }
.ssl-step p { font-size: 14px; color: var(--text-muted); margin: 0; }
.ssl-arrow { color: var(--border); font-size: 22px; padding-top: var(--space-6); }

@media (max-width: 900px) {
  .ssl-steps { flex-direction: column; }
  .ssl-arrow { display: none; }
}

/* ==========================================================================
   Feature panels
   ========================================================================== */
.feature-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.feature-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-5);
}
.feature-panel h3 { font-size: 17px; margin: var(--space-4) 0 var(--space-2); }
.feature-panel p { font-size: 14px; color: var(--text-muted); margin: 0; }

.feature-mock {
  height: 140px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* -------- Stories: bigger, spinning story ring + livelier waveform -------- */
.feature-mock-story { height: 180px; flex-direction: column; gap: var(--space-4); }
.mock-story-ring {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 0deg, var(--brand-light), var(--accent-cyan), var(--brand), var(--brand-light));
  animation: ring-spin 3.5s linear infinite;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 28px -6px var(--brand);
}
.mock-story-ring::after {
  content: "";
  position: absolute;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--surface-2);
}
.mock-story-play {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 20px;
  padding-left: 3px;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.mock-audio-bar { display: flex; gap: 4px; align-items: flex-end; height: 30px; }
.mock-audio-bar span { width: 5px; background: linear-gradient(180deg, var(--brand-light), var(--accent-cyan)); border-radius: 3px; animation: audio-bounce 1.1s ease-in-out infinite; }
.mock-audio-bar span:nth-child(1) { height: 35%; animation-delay: 0s; }
.mock-audio-bar span:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.mock-audio-bar span:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.mock-audio-bar span:nth-child(4) { height: 100%; animation-delay: 0.3s; }
.mock-audio-bar span:nth-child(5) { height: 65%; animation-delay: 0.4s; }
.mock-audio-bar span:nth-child(6) { height: 90%; animation-delay: 0.5s; }
.mock-audio-bar span:nth-child(7) { height: 45%; animation-delay: 0.6s; }
@keyframes audio-bounce { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

.feature-mock-posts { flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
.mock-post-kpi {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--success);
}
.feature-mock-posts .mini-chart { width: 100%; height: 56px; }

/* -------- Dive in: bigger bubbles, typing indicator, floating like -------- */
.feature-mock-dive { height: 180px; }
.dive-cluster {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.mock-bubble {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  font-size: 24px;
}
.mock-bubble-1 {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  border-bottom-right-radius: 4px;
  animation: bubble-pop 2.4s ease-in-out infinite;
}
.mock-bubble-2 {
  background: var(--border);
  border-bottom-left-radius: 4px;
  margin-top: 26px;
}
@keyframes bubble-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.typing-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.mock-float-like {
  position: absolute;
  right: 22%;
  bottom: 20px;
  color: var(--brand-light);
  font-size: 16px;
  opacity: 0;
  animation: float-like 2.4s ease-in infinite;
}
@keyframes float-like {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 1; transform: translateY(-8px) scale(1); }
  80% { opacity: 0; transform: translateY(-46px) scale(1); }
  100% { opacity: 0; transform: translateY(-46px) scale(1); }
}

/* -------- Periodic insights: animated trend line + anomaly ping -------- */
.mock-trend-svg { width: 82%; height: 74%; overflow: visible; }
.trend-line-actual {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: trend-draw 3s ease-out infinite;
}
.trend-line-forecast {
  stroke-dasharray: 4 4;
  animation: forecast-flow 1.2s linear infinite;
}
@keyframes trend-draw {
  0% { stroke-dashoffset: 220; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
@keyframes forecast-flow {
  to { stroke-dashoffset: -16; }
}
.trend-anomaly-dot { animation: anomaly-flash 2.4s ease-in-out infinite; }
@keyframes anomaly-flash {
  0%, 100% { r: 4; }
  50% { r: 5; }
}
.trend-anomaly-ping {
  transform-origin: 80px 20px;
  animation: anomaly-ping 1.8s ease-out infinite;
}
@keyframes anomaly-ping {
  0% { r: 4; opacity: 0.8; }
  100% { r: 13; opacity: 0; }
}
.mock-trend-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 6px;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .feature-panels { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Chat with an author
   ========================================================================== */
.chat {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.chat-copy { flex: 1 1 420px; }
.chat-copy .eyebrow { margin-bottom: var(--space-3); }
.chat-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: var(--space-3); }
.chat-points {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.chat-points li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: var(--space-4);
  position: relative;
}
.chat-points li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-light);
}
.chat-points strong { color: var(--text); }

.chat-mock {
  flex: 1 1 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: var(--space-5);
}
.chat-list { display: flex; flex-direction: column; gap: var(--space-4); }
.chat-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.chat-row-fybi { padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); margin-bottom: var(--space-1); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.chat-row-body { flex: 1; min-width: 0; }
.chat-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.chat-name { font-size: 14px; font-weight: 600; }
.chat-online { font-size: 11px; color: var(--success); }
.chat-time { font-size: 11px; color: var(--text-muted); }
.chat-preview { font-size: 13px; color: var(--text-muted); margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-bubbles {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  font-size: 13px;
  line-height: 1.4;
}
.bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble-agent {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

@media (max-width: 900px) {
  .chat { flex-direction: column; }
}

/* ==========================================================================
   Who it's for
   ========================================================================== */
.who { text-align: center; }
.who .section-head { margin-bottom: 0; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-5);
}
.pricing-card h3 { font-size: 18px; }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin: var(--space-2) 0 var(--space-4); }
.pricing-card ul { display: flex; flex-direction: column; gap: var(--space-2); }
.pricing-card li {
  font-size: 13px; color: var(--text);
  padding-left: 18px; position: relative;
}
.pricing-card li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--brand-light);
}
.pricing-plus {
  color: var(--text-muted) !important;
  font-weight: 600;
  padding-top: var(--space-2);
  margin-top: var(--space-1);
  border-top: 1px solid var(--border);
}
.pricing-plus::before { display: none; }
.pricing-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 20px 50px -20px var(--brand-dim); }
.pricing-badge {
  position: absolute; top: -12px; left: var(--space-5);
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  position: relative;
  text-align: center;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.final-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, var(--brand-dim), transparent 70%);
  pointer-events: none;
}
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); max-width: 640px; margin: 0 auto; }
.final-cta .section-sub { margin: var(--space-4) auto var(--space-6); }
.waitlist-form-center { margin: 0 auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border); padding: var(--space-6) var(--space-5); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-muted); margin: 0; }
.footer-links { display: flex; gap: var(--space-5); font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
