/* ===== Konvrt demo — brand tokens & base ===== */
:root {
  --black: #111111;
  --ink: #1a1a1a;
  --cream: #f8f6f1;
  --parchment: #f3f0e9;
  --gray: #e8e4dc;
  --mid: #9a9488;
  --accent: #c8ff00;
  --accent-hover: #a0cc00;

  --serif: "DM Serif Display", ui-serif, Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(17,17,17,.06), 0 2px 8px rgba(17,17,17,.04);
  --shadow-md: 0 8px 24px rgba(17,17,17,.08), 0 2px 6px rgba(17,17,17,.04);
  --shadow-lg: 0 24px 60px rgba(17,17,17,.18), 0 8px 24px rgba(17,17,17,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--black);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.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; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 40px;
  background: rgba(248,246,241,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17,17,17,.06);
}
.logo {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--black);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:hover { color: var(--accent-hover); }
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-sales { font-size: 13px; color: var(--mid); }
@media (max-width: 860px) {
  .nav { padding: 14px 20px; gap: 16px; }
  .nav-links, .nav-sales { display: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--black); color: var(--cream); }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-md); }

.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-accent { background: var(--accent); color: var(--black); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--black); border-color: rgba(17,17,17,.2); }
.btn-ghost:hover { border-color: var(--black); }

.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Views ===== */
.view { display: none; }
.view--active { display: block; }
.demo-view:not([hidden]) { display: block; }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 120px;
  min-height: 80vh;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 20px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--black);
}
.hero-sub {
  font-size: 18px;
  color: #3a3a3a;
  line-height: 1.55;
  max-width: 500px;
  margin: 0 0 36px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--mid);
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.hero-proof strong { color: var(--black); }

/* Hero visual: floating product preview */
.hero-visual {
  position: relative;
  height: 480px;
}
.preview {
  position: absolute;
  inset: 0;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.preview-url {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  font-family: ui-monospace, monospace;
}
.preview-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 20px;
  height: calc(100% - 48px);
}
.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ps-item {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}
.ps-item.active {
  background: rgba(200,255,0,.1);
  color: var(--accent);
  box-shadow: inset 2px 0 0 var(--accent);
}
.preview-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.preview-card {
  background: #1f1f1f;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
  padding: 18px;
}
.preview-card--wide { grid-column: 1 / -1; }
.pc-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.pc-value { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--accent); }
.pc-status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200,255,0,.7);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200,255,0,.7); }
  70% { box-shadow: 0 0 0 12px rgba(200,255,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,255,0,0); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 48px 20px 80px; gap: 48px; }
  .hero-visual { height: 380px; }
}

/* ===== Gate modal ===== */
.gate[hidden] { display: none !important; }
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gate-modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1080px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: rise .35s cubic-bezier(.16,1,.3,1);
}
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.gate-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  z-index: 2;
}
.gate-close:hover { color: #fff; }

/* Left panel (lime accent) */
.gate-left {
  background: var(--accent);
  color: var(--black);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}
.gate-logo {
  font-family: var(--serif);
  font-size: 28px;
  text-align: center;
  margin-bottom: 32px;
}
.gate-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  text-align: center;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.gate-title em { font-style: italic; }
.gate-form { display: flex; flex-direction: column; gap: 12px; }
.field input,
.field-row input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(17,17,17,.2);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--black);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field-row input:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(17,17,17,.1);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-expand { display: flex; flex-direction: column; gap: 12px; animation: slideDown .3s ease; }
.field-expand[hidden] { display: none; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.gate-fine {
  font-size: 13px;
  text-align: center;
  margin: 4px 0 0;
  color: var(--black);
}
.gate-fine a { text-decoration: underline; font-weight: 600; }
.gate-rating {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}
.g-logo {
  background: var(--black);
  color: var(--accent);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* Right panel (white) */
.gate-right {
  padding: 48px 44px;
  background: #fff;
}
.gate-right-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.pill {
  background: var(--parchment);
  border: 1px solid var(--gray);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}
.gate-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gate-bullets li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.gate-bullets .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--gray);
}
.badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--mid);
  padding: 6px 12px;
  border: 1px solid var(--gray);
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .gate-modal { grid-template-columns: 1fr; }
  .gate-left, .gate-right { padding: 32px 24px; }
}

/* ============ DEMO VIEW ============ */
.demo-view[hidden] { display: none; }
.demo-view {
  background: #1f2d22;
  color: var(--cream);
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 400px at 80% -10%, rgba(200,255,0,.08), transparent 60%),
    radial-gradient(800px 300px at 10% 110%, rgba(200,255,0,.05), transparent 60%);
}
.demo-hero {
  padding: 72px 24px 40px;
  text-align: center;
}
.demo-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #fff;
}
.demo-h1 em { font-style: italic; }
.demo-sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin: 0;
}
.demo-phone { font-size: 18px; }

/* Player shell */
.demo-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 24px;
}
.stat-badge {
  position: absolute;
  left: 40px;
  bottom: -28px;
  z-index: 3;
  background: var(--black);
  color: var(--cream);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--accent);
}
.stat-txt { font-size: 13px; line-height: 1.35; }

/* Player (no sidebar — full-width stage) */
.player {
  background: var(--parchment);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 560px;
}

/* Sidebar */
.chapters {
  background: #fff;
  padding: 28px 0;
  border-right: 1px solid var(--gray);
}
.chapters-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0 24px 16px;
  margin: 0;
}
.chapters-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 15px;
  color: var(--mid);
  transition: background .15s ease, color .15s ease;
}
.chapter:hover { background: var(--parchment); color: var(--ink); }
.chapter-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--gray);
  justify-self: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.chapter-name { font-weight: 500; }
.chapter-time {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--mid);
}
.chapter.active {
  color: var(--black);
  background: var(--parchment);
}
.chapter.active .chapter-name { font-weight: 700; }
.chapter.active .chapter-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(200,255,0,.2);
}

/* Stage */
.stage {
  position: relative;
  background: var(--parchment);
  display: flex;
  flex-direction: column;
  padding: 32px 40px 16px;
}
.stage-caption {
  position: absolute;
  top: 20px;
  left: 24px;
  background: rgba(17,17,17,.85);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  z-index: 5;
  backdrop-filter: blur(6px);
}
.stage-screens {
  flex: 1;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

/* Scene base — quick cuts */
.scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.scene.show { opacity: 1; transform: none; pointer-events: auto; }

/* Generic mockup frame */
.mockup, .qualify-grid, .nurture, .insight, .closer, .dash {
  color: var(--black);
}
.mockup {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 620px;
}
/* Reset text colour for all elements inside scenes; dark sections opt back in */
.scene { color: var(--black); }
.q-score, .booked { color: #fff; }
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f4f1ea;
  border-bottom: 1px solid var(--gray);
}
.mockup-bar .dot { width: 9px; height: 9px; }
.mockup-bar .url {
  margin-left: 10px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--mid);
}

/* ---- Scene 1: Scout (visitor engagement) ---- */
.scout-browser { position: relative; }
.scout-page {
  padding: 28px;
  background:
    linear-gradient(180deg, #fff 0%, #faf8f3 100%);
  min-height: 340px;
  position: relative;
}
.scout-h {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 8px;
}
.scout-p { color: var(--mid); font-size: 13px; margin: 0 0 20px; max-width: 360px; }
.scout-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.scout-card-grid .block { height: 52px; background: var(--parchment); border-radius: 8px; }

.scout-chat {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray);
  opacity: 0;
  transform: translateY(10px);
}
.scene.show .scout-chat { animation: popIn .35s .2s ease both; }
@keyframes popIn { to { opacity: 1; transform: none; } }
.sc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--black);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.sc-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.sc-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 80%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
}
.bubble.ai { background: var(--parchment); color: var(--black); border-bottom-left-radius: 4px; }
.bubble.user { background: var(--black); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.scene.show .bubble { animation: bubbleIn .28s ease both; }
.scene.show .bubble:nth-of-type(1) { animation-delay: .4s; }
.scene.show .bubble:nth-of-type(2) { animation-delay: 1.2s; }
.scene.show .bubble:nth-of-type(3) { animation-delay: 2.0s; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
.typing {
  display: inline-flex; gap: 3px; align-items: center;
  padding: 9px 12px; background: var(--parchment);
  border-radius: 14px; border-bottom-left-radius: 4px;
  width: max-content;
}
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--mid); display: inline-block;
  animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---- Scene 2: Qualify (BANT scoring) ---- */
.qualify-grid {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}
.q-lead {
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.q-lead-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.q-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8e9aff, #c8a2ff);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.q-name { font-weight: 600; font-size: 15px; }
.q-role { font-size: 12px; color: var(--mid); }
.q-bants { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-bant {
  background: var(--parchment);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
}
.q-bant-label { color: var(--mid); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.q-bant-val { font-weight: 600; font-size: 13px; color: var(--black); }

.q-score {
  background: var(--black);
  color: #fff;
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.q-score-eyebrow { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: 0.1em; text-transform: uppercase; }
.q-score-num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); }
.q-score-num small { font-size: 20px; color: rgba(255,255,255,.4); }
.q-route {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; padding: 8px 10px;
  background: rgba(200,255,0,.1);
  border: 1px solid rgba(200,255,0,.3);
  border-radius: 8px;
  color: var(--accent);
}
.q-tag {
  display: inline-flex; gap: 6px;
  padding: 4px 10px;
  background: rgba(200,255,0,.15);
  color: var(--accent);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  width: max-content;
}

/* ---- Scene 3: Nurture (sequence) ---- */
.nurture {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.nurture h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.nurture-sub { font-size: 12px; color: var(--mid); margin: 0 0 20px; }
.seq { display: flex; flex-direction: column; gap: 0; position: relative; }
.seq::before {
  content: '';
  position: absolute;
  left: 14px; top: 14px; bottom: 14px;
  width: 2px;
  background: var(--gray);
}
.seq-item { display: flex; gap: 14px; padding: 10px 0; position: relative; }
.seq-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gray);
  display: grid; place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  z-index: 1;
}
.seq-item.done .seq-dot { background: var(--accent); border-color: var(--accent); }
.seq-item.active .seq-dot { border-color: var(--black); background: var(--black); color: var(--accent); }
.seq-body { flex: 1; padding-top: 3px; }
.seq-title { font-size: 13px; font-weight: 600; }
.seq-meta { font-size: 11px; color: var(--mid); }
.seq-preview {
  margin-top: 6px;
  background: var(--parchment);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.5;
}

/* ---- Scene 4: Insight (dashboard) ---- */
.insight {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.insight h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.insight-sub { font-size: 12px; color: var(--mid); margin: 0 0 20px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi {
  background: var(--parchment);
  border-radius: 10px;
  padding: 14px;
}
.kpi-label { font-size: 11px; color: var(--mid); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.kpi-val { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--black); }
.kpi-delta { font-size: 11px; font-weight: 600; color: #2a9d4f; margin-top: 4px; }

.chart {
  height: 140px;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(200,255,0,.08) 100%);
  border-radius: 10px;
  padding: 12px;
}
.chart svg { width: 100%; height: 100%; }
.chart-path { fill: none; stroke: var(--black); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.scene.show .chart-path { animation: drawLine 1.2s .2s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.chart-fill { fill: rgba(200,255,0,.2); stroke: none; opacity: 0; }
.scene.show .chart-fill { animation: fadeIn .4s 1.1s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* ---- Scene 5: Closer (calendar + meeting booked) ---- */
.closer {
  width: 100%;
  max-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cal {
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.cal h4 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.cal-sub { font-size: 11px; color: var(--mid); margin: 0 0 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 12px; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; font-size: 11px; color: var(--mid); border-radius: 6px; }
.cal-day.num { color: var(--black); }
.cal-day.selected { background: var(--black); color: var(--accent); font-weight: 700; }
.cal-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slot {
  padding: 7px 10px;
  background: var(--parchment);
  border-radius: 6px;
  font-size: 11px;
  text-align: center;
  font-weight: 500;
}
.slot.book {
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
}

.booked {
  background: var(--black);
  color: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.booked-check {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  display: grid; place-items: center;
  font-weight: 700;
  margin-bottom: 6px;
}
.booked h4 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.booked p { margin: 0; font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.5; }
.booked-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 11px; color: rgba(255,255,255,.8); }
.booked-meta span { display: flex; gap: 8px; }
.booked-meta b { color: var(--accent); font-weight: 600; min-width: 44px; }

/* ---- Scene 6: Dashboard ---- */
.dash {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.dash-head h4 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.dash-head p { margin: 4px 0 0; font-size: 12px; color: var(--mid); }
.dash-pill { font-size: 11px; padding: 4px 10px; background: var(--accent); color: var(--black); border-radius: var(--r-pill); font-weight: 700; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-kpi {
  background: var(--parchment);
  border-radius: 8px;
  padding: 12px;
}
.dk-label { font-size: 10px; color: var(--mid); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.dk-val { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--black); }
.dash-sources { display: flex; flex-direction: column; gap: 8px; }
.src-row { display: grid; grid-template-columns: 110px 1fr 60px; align-items: center; gap: 12px; font-size: 12px; }
.src-name { color: var(--ink); font-weight: 500; }
.src-bar { height: 6px; background: var(--parchment); border-radius: 3px; overflow: hidden; }
.src-bar i { display: block; height: 100%; background: var(--black); border-radius: 3px; width: 0; transition: width 1.2s ease; }
.scene.show .src-bar i { width: var(--w); }
.src-val { text-align: right; font-family: ui-monospace, monospace; color: var(--mid); }

/* ===== Playback controls ===== */
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-radius: var(--r-pill);
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}
.ctrl-play, .ctrl-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--black);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.ctrl-icon { background: transparent; color: var(--mid); }
.ctrl-icon:hover { color: var(--black); }
.ctrl-play:hover { background: #000; }
.ctrl-time { font-family: ui-monospace, monospace; font-size: 12px; color: var(--mid); }
.ctrl-track {
  flex: 1;
  height: 4px;
  background: var(--gray);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.ctrl-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--black);
  border-radius: 2px;
  width: 0;
  transition: width .3s linear;
}
.ctrl-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px; height: 12px;
  background: var(--black);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left .3s linear;
}

@media (max-width: 860px) {
  .stage { padding: 24px 16px 16px; }
  .stat-badge { left: 16px; right: 16px; bottom: -20px; max-width: none; }
  .qualify-grid, .closer { grid-template-columns: 1fr; }
  .scout-chat { position: static; width: auto; margin-top: 16px; }
  .mockup { max-width: 100%; }
  .intro-logo { font-size: 56px; }
  .outro-stats { gap: 24px; }
  .os-num { font-size: 40px; }
  .controls { gap: 8px; padding: 10px 14px; }
  .ctrl-time { display: none; }
  .ctrl-time#curTime { display: inline; }
}

/* ===== Intro / Outro scenes ===== */
.intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.intro-logo {
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 120px);
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.03em;
  animation: logoIn .7s cubic-bezier(.16,1,.3,1) both;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.intro-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--mid);
  animation: logoIn .7s .15s cubic-bezier(.16,1,.3,1) both;
}
.intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.ip {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
}
.scene.show .ip { animation: pillIn .45s var(--d, 0s) cubic-bezier(.16,1,.3,1) both; }
@keyframes pillIn { to { opacity: 1; transform: none; } }

.outro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  color: var(--black);
}
.outro-eyebrow {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 600px;
}
.outro-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(40px, 6vw, 80px);
}
.os-num {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.02em;
}
.scene.show .os-num { animation: logoIn .5s both; }
.outro-stats > div:nth-child(2) .os-num { animation-delay: .15s; }
.outro-stats > div:nth-child(3) .os-num { animation-delay: .3s; }
.os-lbl {
  font-size: 13px;
  color: var(--mid);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.outro-cta {
  background: var(--accent);
  color: var(--black);
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
}

.ctrl-icon.muted { color: #bbb; position: relative; }
.ctrl-icon.muted::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}

/* ===== Below-demo sections ===== */
.below {
  background: var(--cream);
  color: var(--black);
  padding: 100px 40px;
  text-align: center;
}
.below-eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 16px; font-weight: 600;
}
.below-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 auto 60px;
  max-width: 800px;
}
.below-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.feat {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: var(--r-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-icon { font-size: 28px; margin-bottom: 16px; }
.feat h4 { font-size: 18px; margin: 0 0 10px; font-weight: 600; }
.feat p { margin: 0; color: var(--mid); font-size: 14px; line-height: 1.55; }

@media (max-width: 980px) { .below-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .below-grid { grid-template-columns: 1fr; } .below { padding: 64px 20px; } }

/* Proof + final CTA */
.proof {
  background: var(--parchment);
  padding: 100px 40px;
  text-align: center;
}
.proof-eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mid); margin: 0 0 32px; font-weight: 600;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 100px;
}
.stat-big {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--black);
}
.stat-label { font-size: 14px; color: var(--mid); margin-top: 12px; }

.cta-final { max-width: 720px; margin: 0 auto; }
.cta-final h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--black);
}
.cta-final p { color: var(--mid); margin: 0 0 28px; font-size: 17px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.fine { font-size: 13px; color: var(--mid); margin: 0; }

@media (max-width: 720px) { .proof-stats { grid-template-columns: 1fr 1fr; } .proof { padding: 64px 20px; } }

/* ===== Footer ===== */
.foot {
  background: var(--black);
  color: var(--cream);
  padding: 40px 24px;
}
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot .logo { color: var(--cream); }
.foot-links { display: flex; gap: 20px; font-size: 14px; }
.foot-links a { color: rgba(248,246,241,.7); }
.foot-links a:hover { color: var(--accent); }
.foot-copy { color: rgba(248,246,241,.5); font-size: 13px; margin: 0; }

/* ---------- Demo End Card ---------- */
.end-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  background: radial-gradient(ellipse at center, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.98) 70%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.end-card:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  animation: endCardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes endCardIn {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: scale(1); }
}
.end-card-inner {
  max-width: 560px;
  text-align: center;
  color: #fff;
}
.end-eyebrow {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8ff00;
  font-weight: 600;
  margin-bottom: 14px;
}
.end-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 14px;
  color: #fff;
}
.end-title em {
  font-style: italic;
  color: #c8ff00;
}
.end-sub {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.end-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.end-cta-primary,
.end-cta-secondary {
  min-width: 180px;
}
.end-cta-secondary.btn-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.end-cta-secondary.btn-dark:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}
.end-replay {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 12px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.end-replay:hover {
  color: #c8ff00;
}
@media (max-width: 560px) {
  .end-card { padding: 24px 16px; }
  .end-ctas { flex-direction: column; gap: 10px; }
  .end-cta-primary, .end-cta-secondary { width: 100%; min-width: 0; }
}
