:root {
  --bg: #141210;
  --bg-card: #1e1b18;
  --bg-elevated: #262220;
  --fg: #f0ece4;
  --fg-muted: #a0958a;
  --accent: #c8783e;
  --accent-dim: #8a5228;
  --accent-light: #e8a96a;
  --border: rgba(200, 120, 62, 0.15);
  --border-strong: rgba(200, 120, 62, 0.35);

  --font-display: 'Cormorant Garant', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;

  --max-w: 1100px;
  --section-pad: 100px 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ─── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 80px;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(200, 120, 62, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(200, 120, 62, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 480px;
}

.hero-stats-row {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.hero-stat {
  flex: 1;
  padding: 0 20px 0 0;
}

.hero-stat:first-child { padding-left: 0; }

.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  margin: 4px 20px 0 0;
  flex-shrink: 0;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Calendar widget */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.calendar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,120,62,0.1);
}

.calendar-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.cal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-muted);
  opacity: 0.3;
}

.calendar-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cal-day {
  display: flex;
  align-items: center;
  gap: 12px;
}

.day-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  width: 30px;
  text-align: right;
  letter-spacing: 0.04em;
}

.appt {
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.appt-booked {
  background: rgba(200, 120, 62, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(200, 120, 62, 0.2);
}

.appt-recovered {
  background: rgba(100, 200, 120, 0.1);
  color: #7cc89a;
  border: 1px solid rgba(100, 200, 120, 0.2);
}

.appt-missed {
  background: rgba(255, 100, 100, 0.07);
  color: #e07070;
  border: 1px solid rgba(255, 100, 100, 0.15);
  text-decoration: line-through;
  opacity: 0.6;
}

.calendar-caption {
  font-size: 0.7rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.cap-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.cap-recovered { background: #7cc89a; }
.cap-booked { background: var(--accent-light); }
.cap-missed { background: #e07070; }

/* ─── SHARED SECTION STYLES ───────────────────────── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ─── PROBLEM ───────────────────────────────────── */
.problem {
  padding: var(--section-pad);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 64px;
  max-width: 700px;
  color: var(--fg);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--bg-card);
  padding: 40px 36px;
  position: relative;
  transition: background 0.2s;
}

.problem-card:hover { background: var(--bg-elevated); }

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(200, 120, 62, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.problem-quote {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.problem-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.problem-quote cite {
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* ─── SOLUTION ─────────────────────────────────── */
.solution {
  padding: var(--section-pad);
}

.solution-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.solution-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.solution-desc {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 64px;
  max-width: 600px;
}

.solution-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.solution-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-dim);
  line-height: 1;
  margin-top: 4px;
}

.feature-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-body p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* SMS Demo */
.solution-sms-demo {
  display: flex;
  justify-content: flex-end;
}

.sms-thread {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 400px;
}

.sms-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sms-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #141210;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sms-meta {
  display: flex;
  flex-direction: column;
}

.sms-from {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
}

.sms-time {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.sms-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.sms-out {
  background: rgba(200, 120, 62, 0.12);
  border: 1px solid var(--border);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}

.sms-in {
  background: rgba(240, 236, 228, 0.08);
  color: var(--fg-muted);
  border-bottom-right-radius: 4px;
  margin-left: 40px;
}

.sms-confirm {
  border-color: rgba(100, 200, 120, 0.2);
  background: rgba(100, 200, 120, 0.06);
}

.sms-label {
  font-size: 0.78rem;
  color: #7cc89a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.sms-check { font-size: 0.9rem; }

/* ─── OUTCOMES ─────────────────────────────────── */
.outcomes {
  padding: var(--section-pad);
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner { max-width: var(--max-w); margin: 0 auto; }

.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 64px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.outcome-card {
  background: var(--bg-card);
  padding: 48px 40px;
}

.outcome-revenue {
  background: rgba(200, 120, 62, 0.04);
}

.outcome-metric {
  margin-bottom: 20px;
}

.metric-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-sub {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.outcome-desc {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── VISION ───────────────────────────────────── */
.vision {
  padding: 120px 24px;
}

.vision-inner { max-width: 760px; margin: 0 auto; }

.vision-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 40px;
}

.vision-text p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.vision-closing {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--fg);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ─── FOOTER ────────────────────────────────────── */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  max-width: 300px;
  text-align: right;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

  .solution-features {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .solution-sms-demo {
    justify-content: flex-start;
  }

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

  .hero-divider {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-note {
    text-align: center;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 72px 20px;
  }

  .hero { padding: 60px 20px 80px; }

  .outcome-card { padding: 32px 28px; }
  .problem-card { padding: 28px 24px; }

  .metric-num { font-size: 2.6rem; }
}