:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EDE6;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --teal: #0B4F4A;
  --teal-light: #E8F0EC;
  --teal-glow: rgba(11, 79, 74, 0.08);
  --amber: #E8913A;
  --amber-light: #FFF3E6;
  --green: #2D8A5E;
  --red: #C94444;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max-w: 1120px;
  --radius: 12px;
}

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

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

/* ---- NAV ---- */
.nav {
  padding: 24px 32px;
  position: relative;
  z-index: 10;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 8px;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bg);
  border-radius: 4px;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--teal);
}

/* ---- HERO ---- */
.hero {
  padding: 80px 32px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--teal-light);
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--teal);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
}
.hero-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- PROBLEM ---- */
.problem {
  padding: 100px 32px;
  background: var(--teal);
  color: #fff;
}
.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.problem-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 20px;
}
.problem h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 56px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.problem-card {
  padding: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}
.problem-icon {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 16px;
}
.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.problem-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 32px;
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 64px;
  text-align: center;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}
.feature-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin-bottom: 16px;
}
.feature-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* Feature Mockups */
.feature-mockup {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.mockup-bar {
  height: 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.mockup-bar::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  box-shadow: 18px 0 0 #ddd, 36px 0 0 #ddd;
}
.mockup-row {
  padding: 14px 20px;
  font-size: 14px;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--fg);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green { background: var(--green); }
.dot.amber { background: var(--amber); }
.dot.teal { background: var(--teal); }
.val {
  margin-left: auto;
  font-weight: 600;
  color: var(--teal);
  font-size: 13px;
}
.mockup-graph {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 20px;
  height: 120px;
}
.mockup-graph .bar {
  flex: 1;
  background: linear-gradient(to top, var(--teal), rgba(11, 79, 74, 0.5));
  border-radius: 4px 4px 0 0;
  min-width: 0;
}

/* Parent mockup */
.parent-mockup {
  padding-bottom: 20px;
}
.msg-bubble {
  margin: 12px 20px 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
}
.msg-bubble.therapist {
  background: var(--teal);
  color: #fff;
  border-bottom-left-radius: 4px;
}
.msg-bubble.parent {
  background: var(--bg-alt);
  color: var(--fg);
  margin-left: auto;
  margin-right: 20px;
  border-bottom-right-radius: 4px;
}

/* Billing mockup */
.billing-mockup {
  padding-bottom: 16px;
}
.billing-row {
  padding: 12px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.status.paid {
  background: rgba(45,138,94,0.1);
  color: var(--green);
}
.status.pending {
  background: var(--amber-light);
  color: var(--amber);
}
.amount {
  margin-left: auto;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--fg);
}
.auth-alert {
  margin: 12px 20px 0;
  padding: 10px 14px;
  background: var(--amber-light);
  border-left: 3px solid var(--amber);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--amber);
  font-weight: 500;
}

/* ---- NUMBERS ---- */
.numbers {
  padding: 80px 32px;
  background: var(--bg-alt);
}
.numbers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.number-item {
  text-align: center;
}
.number-value {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.number-label {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 180px;
}
.number-divider {
  width: 1px;
  height: 64px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 32px;
  text-align: center;
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--teal);
  margin-bottom: 24px;
}
.closing p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.closing-accent {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--teal);
  margin-top: 32px;
}

/* ---- FOOTER ---- */
.footer {
  padding: 48px 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.footer-brand .logo-mark::after {
  top: 6px;
  left: 6px;
  width: 12px;
  height: 12px;
  border-width: 1.5px;
  border-radius: 3px;
}
.footer-brand .logo-text {
  font-size: 16px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 80px; }
  .problem { padding: 64px 20px; }
  .problem-grid { grid-template-columns: 1fr; gap: 20px; }
  .features { padding: 64px 20px; }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .numbers { padding: 48px 20px; }
  .numbers-inner {
    flex-direction: column;
    gap: 32px;
  }
  .number-divider {
    width: 48px;
    height: 1px;
  }
  .closing { padding: 80px 20px; }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}