/* ==========================================
   AnswerAI — Custom Theme
   ========================================== */

:root {
  --navy: #0B1D2B;
  --navy-mid: #112336;
  --navy-light: #1a3249;
  --teal: #00D4A8;
  --teal-dim: rgba(0, 212, 168, 0.15);
  --amber: #FFB800;
  --amber-dim: rgba(255, 184, 0, 0.12);
  --text-primary: #F0F4F8;
  --text-muted: #8BA3BC;
  --text-subtle: #4A6B85;
  --border: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.04);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(11, 29, 43, 0.85);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-mark {
  font-size: 18px;
  color: var(--teal);
  line-height: 1;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.nav-demo-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(0, 212, 168, 0.3);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-demo-link:hover {
  background: var(--teal-dim);
  border-color: rgba(0, 212, 168, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-pricing-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-pricing-link:hover { color: var(--text-primary); }

/* Industries dropdown */
.nav-industries-wrap {
  position: relative;
}

.nav-industries-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-industries-btn:hover,
.nav-industries-btn[aria-expanded="true"] {
  color: var(--text-primary);
  background: var(--surface);
}

.nav-industries-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  display: none;
  z-index: 200;
}

.nav-industries-dropdown.open {
  display: block;
}

.nav-industry-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-industry-item:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.nav-industry-icon {
  font-size: 15px;
  line-height: 1;
}

/* ── Hero ───────────────────────────────── */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 32px 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 212, 168, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-block {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Phone Frame ────────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
}

.phone-frame {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 20px 16px 16px;
  width: 280px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--navy-mid);
  border-radius: 0 0 16px 16px;
  margin: -20px auto 16px;
  position: relative;
  z-index: 1;
}

.phone-screen {
  background: var(--navy-mid);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--border);
}

.call-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.call-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-info { flex: 1; }

.call-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.call-status {
  font-size: 11px;
  margin-top: 2px;
}

.call-status.incoming { color: var(--teal); }

.call-transcript {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.transcript-line {
  font-size: 11px;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 10px;
  max-width: 90%;
}

.transcript-line.agent {
  background: var(--teal-dim);
  color: var(--teal);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.transcript-line.caller {
  background: rgba(255, 184, 0, 0.12);
  color: var(--amber);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  text-align: right;
}

.call-booked {
  background: rgba(0, 212, 168, 0.15);
  border: 1px solid rgba(0, 212, 168, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}

.booked-check {
  font-size: 16px;
  line-height: 1;
}

/* ── Proof ──────────────────────────────── */
.proof {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 32px;
}

.proof-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.quote-source {
  font-size: 13px;
  color: var(--text-subtle);
}

/* ── Section Shared ─────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
}

/* ── How ───────────────────────────────── */
.how {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px;
}

.how-header {
  margin-bottom: 56px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.how-card:hover {
  border-color: rgba(0, 212, 168, 0.3);
}

.how-card-icon {
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 16px;
  line-height: 1;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.how-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Niches ─────────────────────────────── */
.niches {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 32px;
}

.niches-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.niches .section-title,
.niches .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.niches .section-sub { margin-bottom: 56px; }

.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.niche-item {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.niche-name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.niche-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Outcomes ───────────────────────────── */
.outcomes {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px;
}

.outcomes-header {
  margin-bottom: 48px;
}

.outcomes-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  flex: 1;
}

.outcome-label {
  font-size: 12px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.outcome-fee {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.outcome-highlight { color: var(--teal); }

.outcome-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.outcome-arrow {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-subtle);
  flex-shrink: 0;
}

.outcome-fine {
  font-size: 15px;
  color: var(--text-muted);
}

.outcome-fine strong {
  color: var(--amber);
}

/* ── Closing ────────────────────────────── */
.closing {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-top: 1px solid var(--border);
  padding: 96px 32px;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

.closing-vision {
  background: var(--teal-dim);
  border: 1px solid rgba(0, 212, 168, 0.2);
  border-radius: 16px;
  padding: 28px 32px;
}

.closing-vision p {
  font-size: 17px;
  font-weight: 500;
  color: var(--teal);
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-desc {
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-note {
  font-size: 12px;
  color: var(--text-subtle);
}

/* ── Walkthrough Form ─────────────────────── */
.walkthrough {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px;
}

.walkthrough-header {
  text-align: center;
  margin-bottom: 48px;
}

.walkthrough-header .section-title { margin-bottom: 12px; }
.walkthrough-header .section-sub { margin: 0 auto; }

.walkthrough-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 212, 168, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 20px;
}

.walkthrough-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px;
}

.walkthrough-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

/* Full-width field (best time) */
.wt-field:has(input[name="bestTime"]) {
  grid-column: 1 / -1;
}

.wt-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.wt-optional {
  font-weight: 400;
  color: var(--text-subtle);
}

.wt-field input,
.wt-field select {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.wt-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238BA3BC' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.wt-field input::placeholder { color: var(--text-subtle); }

.wt-field input:focus,
.wt-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 212, 168, 0.12);
}

.wt-field input.wt-error-shake {
  border-color: #FF4B4B;
  animation: wt-shake 0.4s ease;
}

@keyframes wt-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.walkthrough-submit-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.walkthrough-submit-btn {
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
}

.walkthrough-submit-btn:hover { background: #00f0c0; transform: translateY(-1px); }
.walkthrough-submit-btn:active { transform: translateY(0); }
.walkthrough-submit-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.walkthrough-submit-note {
  font-size: 12px;
  color: var(--text-subtle);
}

/* Success state */
.walkthrough-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0;
}

.wt-success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 212, 168, 0.15);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.walkthrough-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.walkthrough-success p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.walkthrough-success a {
  color: var(--teal);
  text-decoration: none;
}

.walkthrough-success a:hover { text-decoration: underline; }

@media (max-width: 580px) {
  .walkthrough { padding: 64px 20px; }
  .walkthrough-card { padding: 28px 20px; border-radius: 16px; }
  .walkthrough-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .wt-field:has(input[name="bestTime"]) { grid-column: 1; }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-left { order: 1; }
  .hero-right { order: 2; }
  .hero-headline { font-size: 36px; }
  .hero { padding: 56px 24px 64px; }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .niches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    flex-direction: column;
  }

  .outcome-arrow { display: none; }
}

@media (max-width: 580px) {
  .how-grid,
  .niches-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 48px 20px 56px; }
  .how { padding: 64px 20px; }
  .niches { padding: 64px 20px; }
  .outcomes { padding: 64px 20px; }
  .closing { padding: 64px 20px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-tagline { display: none; }

  .phone-frame { width: 240px; }
}

/* ── Demo Widget ─────────────────────────── */
.demo {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 32px;
}

.demo-inner {
  max-width: 860px;
  margin: 0 auto;
}

.demo-header {
  text-align: center;
  margin-bottom: 56px;
}

.demo-header .demo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 212, 168, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 20px;
}

.demo-header .section-title {
  margin-bottom: 12px;
}

.demo-header .section-sub {
  margin: 0 auto;
}

/* Phone chrome */
.demo-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.demo-phone {
  width: 360px;
  background: #1a1a1e;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
}

.demo-phone-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 4px;
  position: relative;
}

.demo-phone-notch {
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.demo-phone-time {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

.demo-phone-screen {
  background: #000;
  display: flex;
  flex-direction: column;
  height: 520px;
  margin: 0 4px 12px;
  border-radius: 16px;
  overflow: hidden;
}

/* iMessage-style header */
.demo-imsg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #1c1c1e;
  flex-shrink: 0;
}

.demo-imsg-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.demo-imsg-info { flex: 1; min-width: 0; }

.demo-imsg-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-imsg-status {
  font-size: 11px;
  color: var(--teal);
  margin-top: 1px;
}

.demo-scenario-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  padding: 5px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.demo-scenario-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* Message thread */
.demo-thread {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #000;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.demo-thread::-webkit-scrollbar { width: 4px; }
.demo-thread::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.demo-thread-placeholder {
  margin: auto;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  padding: 24px;
}

/* Message wrappers */
.demo-msg-wrap {
  display: flex;
  max-width: 80%;
}

.demo-msg-user {
  align-self: flex-end;
  margin-left: auto;
}

.demo-msg-agent {
  align-self: flex-start;
}

/* Bubbles */
.demo-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.demo-bubble-user {
  background: #0B84FE;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.demo-bubble-agent {
  background: #2c2c2e;
  color: #fff;
  border-bottom-left-radius: 4px;
}

/* Typing indicator */
.demo-typing {
  padding: 6px 12px 8px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.demo-typing-bubble {
  background: #2c2c2e;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.demo-typing-bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: typing-dot 1.4s infinite;
}

.demo-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.15); }
}

/* Input row */
.demo-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #1c1c1e;
  flex-shrink: 0;
}

.demo-input {
  flex: 1;
  background: #2c2c2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.15s;
}

.demo-input::placeholder { color: rgba(255,255,255,0.3); }
.demo-input:focus { border-color: var(--teal); }
.demo-input:disabled { opacity: 0.5; }

.demo-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  border: none;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}

.demo-send-btn:hover { background: #00f0c0; }
.demo-send-btn:active { transform: scale(0.92); }
.demo-send-btn:disabled { opacity: 0.4; cursor: default; }

/* Scenario label */
.demo-scenario-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Post-booking CTA */
.demo-cta {
  margin-top: 48px;
  animation: demo-cta-in 0.5s ease forwards;
}

@keyframes demo-cta-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-cta-inner {
  background: linear-gradient(135deg, rgba(0,212,168,0.08) 0%, rgba(0,212,168,0.03) 100%);
  border: 1px solid rgba(0,212,168,0.3);
  border-radius: 20px;
  padding: 36px 40px;
  text-align: center;
}

.demo-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,168,0.15);
  border: 1px solid rgba(0,212,168,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-cta-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.demo-cta-headline em {
  color: var(--teal);
  font-style: normal;
}

.demo-cta-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 28px;
}

.demo-cta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
}

.demo-cta-btn:hover { background: #00f0c0; transform: translateY(-1px); }
.demo-cta-btn:active { transform: translateY(0); }

/* Inline lead form inside demo CTA */
.demo-lead-form-wrap {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.demo-lead-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 560px;
}

.demo-lead-fields input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s;
  min-width: 140px;
}

.demo-lead-fields input::placeholder { color: rgba(255,255,255,0.35); }
.demo-lead-fields input:focus { border-color: var(--teal); }

.demo-lead-submit {
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s;
  flex-shrink: 0;
}

.demo-lead-submit:hover { background: #00f0c0; }
.demo-lead-submit:disabled { opacity: 0.6; cursor: default; }

.demo-lead-note {
  font-size: 11px;
  color: var(--text-subtle);
}

/* Demo lead success */
.demo-lead-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.demo-lead-success a {
  color: var(--teal);
  text-decoration: none;
}

.demo-lead-success a:hover { text-decoration: underline; }

/* Responsive demo */
@media (max-width: 580px) {
  .demo { padding: 64px 20px; }
  .demo-phone { width: 100%; max-width: 360px; }
  .demo-phone-screen { height: 460px; }
  .demo-cta-inner { padding: 28px 24px; }
}

/* ── Pricing ─────────────────────────────── */
.pricing {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-dim);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 20px;
}

.pricing-header .section-title { margin-bottom: 12px; }
.pricing-header .section-sub { margin: 0 auto; }

.pricing-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pricing-amounts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pricing-setup {
  display: flex;
  flex-direction: column;
}

.pricing-setup-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-setup-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.pricing-divider {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-subtle);
  font-weight: 700;
}

.pricing-monthly {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-monthly-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-monthly-label {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta-btn {
  width: 100%;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
  margin-bottom: 12px;
}

.pricing-cta-btn:hover { background: #ffc933; transform: translateY(-1px); }
.pricing-cta-btn:active { transform: translateY(0); }
.pricing-cta-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.pricing-trust {
  font-size: 12px;
  color: var(--text-subtle);
  text-align: center;
}

/* Social proof sidebar */
.pricing-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}

.pricing-social-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
}

.pricing-social-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.pricing-social-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-social-item strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-social-item span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Welcome page ────────────────────────── */
.welcome-page {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
}

.welcome-inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.welcome-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 212, 168, 0.15);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.welcome-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.welcome-message {
  font-size: 20px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

.welcome-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.welcome-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
  text-align: left;
}

.welcome-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

.welcome-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 212, 168, 0.3);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-step div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.welcome-step strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.welcome-step span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.welcome-back-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.welcome-back-link:hover { color: var(--teal); }

@media (max-width: 860px) {
  .pricing-card-wrap {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 580px) {
  .pricing { padding: 64px 20px; }
  .pricing-card { padding: 32px 24px; }
  .pricing-amounts { gap: 10px; }
  .pricing-setup-num, .pricing-monthly-num { font-size: 32px; }
  .welcome-page { padding: 48px 20px; }
}