:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #1A1A2E;
  --fg-muted: #6B7280;
  --accent: #FF5722;
  --accent-dark: #E64A19;
  --teal: #0EA5A0;
  --gold: #F59E0B;
  --border: #E5DDD5;
  --card-bg: #FFFFFF;
  --radius: 12px;
  --font-display: 'Bricolage Grotesque', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FEF3E8;
  border: 1px solid #FDD8B8;
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-dark);
  margin-bottom: 1.5rem;
  width: fit-content;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { background: var(--bg-alt); }

/* HERO VISUAL */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.stats-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }
.review-count { font-size: 0.85rem; color: var(--fg-muted); }
.proof-logos {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  background: #E6F7F7;
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
}
.roi-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.roi-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}
.roi-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* CALL PREVIEW */
.call-preview {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.call-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.call-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #FEF3E8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.call-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.call-status {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}
.call-duration {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.call-transcript {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.transcript-line {
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  max-width: 90%;
}
.transcript-line.agent {
  background: #FEF3E8;
  color: var(--fg);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.transcript-line.customer {
  background: var(--bg-alt);
  color: var(--fg-muted);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

/* HOW IT WORKS */
.how-it-works {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  max-width: 600px;
  margin-bottom: 3rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.step-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--fg);
}
.step-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* FEATURES */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.features-intro {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: #FEF3E8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--fg);
}
.feature-item p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ANALYTICS PREVIEW */
.analytics-preview {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  margin-bottom: 1.25rem;
}
.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.analytics-title {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.analytics-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: #E6F7F7;
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}
.analytics-big-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.analytics-sub {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.analytics-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.breakdown-row {
  display: grid;
  grid-template-columns: 150px 1fr 70px;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.breakdown-row span:first-child { color: var(--fg-muted); }
.breakdown-row span:last-child { text-align: right; font-weight: 600; color: var(--fg); }
.breakdown-bar {
  height: 6px;
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.4;
}
.compliance-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
}

/* PROOF */
.proof {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
}
.proof-header { margin-bottom: 2.5rem; }
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 1.5rem;
}
.proof-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.proof-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.proof-initial {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.proof-metric {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fg);
}
.metric-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.proof-tag {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
}
.proof-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.closing p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.closing-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--fg);
  color: var(--fg);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--bg-alt); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  background: var(--card-bg);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--fg-muted);
}
.footer-badges {
  display: flex;
  gap: 0.75rem;
}
.footer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: #E6F7F7;
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .nav-links { display: none; }
}
/* ── DEMO CALL PAGE ─────────────────────────────────────────── */
.demo-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.demo-header-inner { max-width: 720px; margin: 0 auto; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #FEF3E8; border: 1px solid #FDD8B8;
  border-radius: 100px; padding: 0.4rem 1rem;
  font-size: 0.85rem; font-weight: 600; color: var(--accent-dark);
  margin-bottom: 1.25rem;
}
.demo-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--fg);
  margin-bottom: 0.9rem; line-height: 1.1;
}
.demo-subtitle {
  font-size: 1.05rem; color: var(--fg-muted);
  max-width: 560px; margin: 0 auto; line-height: 1.65;
}

/* FLOW TABS */
.flow-selector-section {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky; top: 64px; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}
.flow-tabs {
  display: flex; gap: 0.75rem;
  max-width: 760px; margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.flow-tabs::-webkit-scrollbar { display: none; }
.flow-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 100px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--fg-muted);
  font-size: 0.88rem; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: var(--font-body);
}
.flow-tab:hover { border-color: var(--accent); color: var(--fg); }
.flow-tab.active {
  background: var(--accent); border-color: var(--accent);
  color: #fff;
}
.tab-icon { font-size: 1rem; }

/* DEMO STAGE */
.demo-stage {
  background: var(--bg);
  padding: 3rem 2rem 4rem;
}
.demo-container {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem; align-items: start;
}

/* FLOW INFO SIDEBAR */
.flow-info {
  position: sticky; top: 130px;
}
.flow-info-inner {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.flow-type-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}
.flow-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--fg); line-height: 1.3;
  margin-bottom: 0.75rem;
}
.flow-description {
  font-size: 0.88rem; color: var(--fg-muted);
  line-height: 1.6; margin-bottom: 1.5rem;
}
.flow-meta { display: flex; flex-direction: column; gap: 1rem; }
.meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label { font-size: 0.78rem; color: var(--fg-muted); }
.meta-value { font-size: 1rem; font-weight: 600; color: var(--fg); }

/* CALL INTERFACE */
.call-interface {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Call HUD */
.call-hud {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.call-hud-left { display: flex; align-items: center; gap: 0.85rem; }
.hud-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.hud-agent-name { font-weight: 700; font-size: 0.95rem; color: var(--fg); }
.hud-ai-tag {
  background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  border-radius: 4px; padding: 0.1rem 0.4rem;
  margin-left: 0.35rem; vertical-align: middle;
}
.hud-status { font-size: 0.8rem; color: var(--teal); margin-top: 0.15rem; }
.call-hud-right { display: flex; align-items: center; gap: 1.25rem; }
.hud-signal {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: var(--teal); font-weight: 500;
}
.signal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
.hud-timer { font-size: 1rem; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }

/* Speaker viz */
.speaker-viz {
  display: flex; flex-direction: column; gap: 0;
  border-bottom: 1px solid var(--border);
}
.speaker-track {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s;
}
.speaker-track:last-child { border-bottom: none; }
.speaker-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--fg); min-width: 90px;
}
.speaker-label span {
  font-size: 0.7rem; color: var(--fg-muted); font-weight: 400;
}
.speaker-track--customer .speaker-label { color: var(--fg-muted); }

/* Waveform bars */
.waveform { display: flex; align-items: center; gap: 3px; flex: 1; height: 28px; }
.wave-bar {
  flex: 1; max-width: 4px;
  background: var(--accent); border-radius: 2px;
  animation: waveAnim 0.8s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.wave-bar:nth-child(1)  { animation-delay: 0.0s; height: 40%; }
.wave-bar:nth-child(2)  { animation-delay: 0.1s; height: 65%; }
.wave-bar:nth-child(3)  { animation-delay: 0.2s; height: 90%; }
.wave-bar:nth-child(4)  { animation-delay: 0.3s; height: 55%; }
.wave-bar:nth-child(5)  { animation-delay: 0.15s; height: 80%; }
.wave-bar:nth-child(6)  { animation-delay: 0.25s; height: 50%; }
.wave-bar:nth-child(7)  { animation-delay: 0.05s; height: 70%; }
.wave-bar:nth-child(8)  { animation-delay: 0.35s; height: 45%; }
.speaker-track--customer .wave-bar { background: var(--fg-muted); }

@keyframes waveAnim {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

/* Transcript */
.transcript-panel {
  padding: 1.25rem 1.5rem;
  max-height: 360px; overflow-y: auto;
}
.transcript-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-muted); margin-bottom: 1rem;
}
.transcript-tag {
  font-size: 0.7rem; font-weight: 600;
  color: var(--teal); background: #E6F7F7;
  border-radius: 4px; padding: 0.15rem 0.5rem;
}
.transcript-body { display: flex; flex-direction: column; gap: 0.65rem; }
.transcript-line {
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem; line-height: 1.5;
  transition: background 0.2s;
}
.transcript-line.agent {
  background: #FEF3E8; color: var(--fg);
  align-self: flex-start; max-width: 80%;
  border-bottom-left-radius: 3px;
}
.transcript-line.customer {
  background: var(--bg-alt); color: var(--fg-muted);
  align-self: flex-end; max-width: 80%;
  border-bottom-right-radius: 3px;
  text-align: right;
}
.transcript-line.active.agent  { background: #FECBA8; }
.transcript-line.active.customer { background: #DDD8D0; }
.line-speaker {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.2rem; color: var(--accent-dark);
}
.transcript-line.customer .line-speaker { color: var(--fg-muted); }
.line-text { display: block; }

/* Audio controls */
.audio-controls {
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.playback-bar-wrap { margin-bottom: 0.85rem; }
.playback-bar {
  height: 5px; background: var(--border);
  border-radius: 3px; overflow: hidden;
  margin-bottom: 0.4rem; cursor: pointer;
}
.playback-progress {
  height: 100%; background: var(--accent);
  border-radius: 3px; width: 0%;
  transition: width 0.1s linear;
}
.playback-times {
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: var(--fg-muted); font-variant-numeric: tabular-nums;
}
.playback-buttons {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.ctrl-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--card-bg); color: var(--fg);
  border: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.ctrl-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.ctrl-play {
  width: 52px; height: 52px;
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}
.ctrl-play:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.ctrl-speed {
  width: 38px; height: 38px;
  font-size: 0.78rem; font-weight: 700; font-family: var(--font-body);
  color: var(--fg-muted);
}

/* Proof strip */
.proof-strip {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}
.proof-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.proof-strip-item {
  font-size: 0.9rem; color: var(--fg-muted);
  padding: 0 2rem;
}
.proof-strip-item strong { color: var(--fg); font-weight: 700; }
.proof-strip-divider {
  width: 1px; height: 24px;
  background: var(--border);
}

/* Demo CTA */
.demo-cta {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px; margin: 0 auto;
}
.demo-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--fg);
  margin-bottom: 0.9rem; line-height: 1.1;
}
.demo-cta p {
  font-size: 1rem; color: var(--fg-muted);
  margin-bottom: 2rem; line-height: 1.6;
}
.demo-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .demo-container { grid-template-columns: 1fr; }
  .flow-info { position: static; }
  .flow-info-inner { margin-bottom: 0.5rem; }
  .flow-meta { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .demo-header { padding: 3rem 1.5rem 2rem; }
  .flow-selector-section { top: 58px; }
  .call-hud { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .call-hud-right { width: 100%; justify-content: space-between; }
  .proof-strip-inner { flex-direction: column; gap: 0.75rem; }
  .proof-strip-divider { display: none; }
  .proof-strip-item { padding: 0; }
  .demo-cta { padding: 3rem 1.5rem; }
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .how-it-works, .features, .closing, .proof { padding: 3rem 1.5rem; }
  .breakdown-row { grid-template-columns: 110px 1fr 60px; }
}