:root {
  --bg: #f8f7f4;
  --bg-alt: #eeede9;
  --fg: #0f0e0c;
  --fg-muted: #5c5a54;
  --accent: #e8a012;
  --accent-dark: #c8850a;
  --surface: #ffffff;
  --border: #dddbd4;
  --chat-bg: #1a1a2e;
  --chat-header-bg: #131320;
  --chat-text: #e2e0db;
  --chat-muted: #8a8a9a;
  --chat-bot-bg: #242438;
  --chat-cust-bg: #2d3a4a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-cta {
  margin-left: auto;
  background: var(--accent);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: 80px 60px 80px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(232,160,18,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(232,160,18,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 460px;
}

/* ── CHAT WIDGET ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.chat-widget {
  width: 340px;
  background: var(--chat-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.06);
  font-family: 'DM Sans', sans-serif;
}

.chat-header {
  background: var(--chat-header-bg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chat-dots {
  display: flex;
  gap: 5px;
}

.chat-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.chat-title {
  font-size: 13px;
  color: var(--chat-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.chat-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 240px;
}

.customer {
  background: var(--chat-cust-bg);
  color: var(--chat-text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.bot {
  background: var(--chat-bot-bg);
  color: var(--chat-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.confirmation {
  background: rgba(232,160,18,0.18);
  color: #f5c842;
  border: 1px solid rgba(232,160,18,0.25);
  border-bottom-left-radius: 4px;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chat-muted);
  animation: typing 1.2s infinite ease-in-out;
}

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

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ── STATS ROW ── */
.stats-row {
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 60px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(248,247,244,0.6);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(248,247,244,0.15);
}

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 60px;
  background: var(--bg);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 48px;
  color: rgba(232,160,18,0.15);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.step-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--fg);
}

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

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
  margin: 0 4px;
}

/* ── FEATURES ── */
.features-section {
  padding: 100px 60px;
  background: var(--fg);
  color: var(--bg);
}

.features-section .section-eyebrow {
  color: var(--accent);
}

.features-section .section-headline {
  color: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(248,247,244,0.1);
  border: 1px solid rgba(248,247,244,0.1);
  border-radius: 20px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 18px;
  padding: 32px 36px;
  background: var(--fg);
  transition: background 0.2s;
}

.feature-item:hover {
  background: #1e1e28;
}

.feature-glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232,160,18,0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bg);
}

.feature-item p {
  font-size: 14px;
  color: rgba(248,247,244,0.55);
  line-height: 1.6;
}

/* ── OUTCOMES ── */
.outcomes-section {
  padding: 80px 60px;
  background: var(--accent);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.outcome-card {
  padding: 40px 32px;
  background: rgba(0,0,0,0.12);
  border-radius: 12px;
  text-align: center;
}

.outcome-value {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(32px, 3.5vw, 52px);
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.outcome-label {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  font-weight: 500;
  line-height: 1.5;
}

/* ── PRICING ── */
.pricing-section {
  padding: 100px 60px;
  background: var(--bg-alt);
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 64px;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-sub {
  font-size: 18px;
  color: var(--fg-muted);
}

.pricing-descriptor {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.pricing-includes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  padding: 32px;
  background: var(--bg);
  border-radius: 14px;
}

.include-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}

.include-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.pricing-cta {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.setup-note {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  color: var(--fg-muted);
}

.setup-label {
  color: var(--fg-muted);
}

.setup-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--fg);
}

/* ── CLOSING ── */
.closing-section {
  padding: 120px 60px;
  background: var(--fg);
  color: var(--bg);
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248,247,244,0.5);
  margin-bottom: 32px;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bg);
  margin-bottom: 28px;
}

.closing-body {
  font-size: 17px;
  color: rgba(248,247,244,0.6);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 20px;
}

/* ── FOOTER ── */
.footer {
  background: #0a0a0c;
  padding: 28px 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(248,247,244,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 32px;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .stats-row {
    padding: 40px 32px;
    flex-direction: column;
    gap: 32px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .how-it-works,
  .features-section,
  .pricing-section,
  .closing-section {
    padding: 80px 32px;
  }

  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pricing-card {
    padding: 36px 28px;
  }

  .nav {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 38px;
  }

  .price-main {
    font-size: 48px;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }
}