:root {
  --primary: #44705C;
  --primary-dark: #385f4d;
  --on-primary: #FFFFFF;
  --primary-container: #9FE4BE;
  --on-primary-container: #235542;
  --secondary: #5D67A0;
  --secondary-container: #C4CEFA;
  --on-secondary-container: #3C4680;
  --tertiary: #96634A;
  --tertiary-container: #FFCFA0;
  --on-tertiary-container: #6E3F1E;
  --quaternary-container: #FAD0E4;
  --on-quaternary-container: #8A3C63;
  --bg: #F9FBF7;
  --surface: #FFFFFF;
  --surface-soft: #EAF4EE;
  --surface-container-low: #F1F6F2;
  --text: #17231D;
  --muted: #56655D;
  --border: #DCE8E0;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-card: 0 4px 24px rgba(68, 112, 92, 0.08);
  --shadow-lg: 0 10px 36px rgba(68, 112, 92, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--text);
  margin: 0;
}
a { color: var(--primary); }
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
svg.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); background: var(--surface-soft); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-on-light { background: var(--surface); color: var(--primary); }
.btn-on-light:hover { background: var(--surface-soft); }

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 251, 249, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--primary);
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary-container), var(--secondary-container));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
nav.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
nav.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
nav.nav-links a:hover { color: var(--primary); }
nav.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: var(--primary-container);
  filter: blur(70px);
  opacity: 0.55;
  top: -160px; right: -120px;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--secondary-container);
  filter: blur(70px);
  opacity: 0.5;
  bottom: -140px; left: -120px;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.badge-lavender { background: var(--secondary-container); color: var(--on-secondary-container); }
.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-art {
  height: 440px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--primary-container) 0%, var(--secondary-container) 55%, var(--tertiary-container) 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.hero-art .orb.o1 { width: 180px; height: 180px; top: 8%; left: 10%; }
.hero-art .orb.o2 { width: 120px; height: 120px; bottom: 12%; right: 12%; background: rgba(255,255,255,0.3); }
.hero-art .center-icon {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(68, 112, 92, 0.18);
  position: relative;
  z-index: 1;
}
.hero-art .center-icon svg { width: 48px; height: 48px; }

/* Profile card stack (patients hero) */
.profile-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 74px;
  z-index: 1;
}
.profile-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 208px;
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 16px 34px rgba(23, 35, 29, 0.18);
}
.profile-card .row { display: flex; align-items: center; gap: 12px; }
.avatar-dot { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }
.profile-card .name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin: 0 0 4px;
}
.profile-card .chip {
  display: inline-block;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.profile-card .stars {
  margin-top: 12px;
  font-size: 12px;
  color: var(--tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 1px;
}
.profile-card .stars .avail { color: var(--muted); font-weight: 600; letter-spacing: normal; }

.card-back { transform: translate(-50%, -50%) translate(-64px, -60px) rotate(-9deg) scale(0.9); opacity: 0.82; z-index: 1; }
.card-mid  { transform: translate(-50%, -50%) translate(50px, -12px) rotate(7deg) scale(0.95); opacity: 0.92; z-index: 2; }
.card-front{ transform: translate(-50%, -50%) translate(-8px, 54px) rotate(-3deg); z-index: 3; }

/* Call preview mock (therapists hero) */
.call-mock { position: relative; z-index: 1; padding-bottom: 74px; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.call-frame {
  width: 224px;
  background: linear-gradient(160deg, #1c2c23, #142019);
  border-radius: 26px;
  padding: 30px 20px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(10, 18, 14, 0.35);
}
.call-frame::before {
  content: "";
  position: absolute;
  width: 170px; height: 170px;
  background: var(--secondary-container);
  opacity: 0.32;
  filter: blur(42px);
  top: -50px; right: -50px;
}
.call-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary-container), var(--secondary-container));
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}
.call-avatar svg { width: 34px; height: 34px; }
.call-name {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.call-status {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}
.call-status .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-fixed, #a4d0ba);
  margin-right: 6px;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.call-controls { display: flex; justify-content: center; gap: 10px; margin-top: 22px; position: relative; z-index: 1; }
.call-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.call-btn svg { width: 16px; height: 16px; }
.call-btn-end { width: 46px; border-radius: 999px; background: #E15B4F; }

@media (max-width: 900px) {
  .profile-card { width: 168px; padding: 11px 12px 10px; }
  .profile-card .name { font-size: 12.5px; }
  .profile-card .chip { font-size: 10px; }
  .profile-card .stars { margin-top: 6px; font-size: 11px; }
  .card-back { transform: translate(-50%, -50%) translate(-40px, -66px) rotate(-9deg) scale(0.86); }
  .card-mid  { transform: translate(-50%, -50%) translate(32px, -42px) rotate(7deg) scale(0.91); }
  .card-front{ transform: translate(-50%, -50%) translate(-4px, -20px) rotate(-3deg); }
  .call-mock { padding-bottom: 104px; }
  .call-frame { width: 190px; padding: 20px 15px 14px; }
}

.glass-panel {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.glass-panel .icon-badge {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.glass-panel .icon-badge.tertiary { background: var(--tertiary-container); color: var(--on-tertiary-container); }
.glass-panel .icon-badge.primary { background: var(--primary-container); color: var(--on-primary-container); }
.glass-panel .icon-badge svg { width: 20px; height: 20px; }
.glass-panel .gp-title { font-size: 14px; font-weight: 700; color: var(--primary); margin: 0 0 2px; }
.glass-panel .gp-sub { font-size: 12.5px; color: var(--muted); margin: 0; }

/* Sections */
section { padding: 72px 0; }
.section-tinted { position: relative; overflow: hidden; }
.section-tinted::before,
.section-tinted::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.section-tinted::before {
  width: 380px; height: 380px;
  background: var(--tertiary-container);
  opacity: 0.28;
  top: -120px; left: -100px;
}
.section-tinted::after {
  width: 340px; height: 340px;
  background: var(--secondary-container);
  opacity: 0.3;
  bottom: -140px; right: -100px;
}
.section-tinted > .wrap { position: relative; z-index: 1; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--tertiary);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.step:hover { transform: translateY(-4px); }
.step .icon-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step .icon-circle svg { width: 28px; height: 28px; }
.step:nth-child(1) { border-top: 3px solid var(--primary-container); }
.step:nth-child(1) .icon-circle { background: var(--primary-container); color: var(--on-primary-container); }
.step:nth-child(2) { border-top: 3px solid var(--secondary-container); }
.step:nth-child(2) .icon-circle { background: var(--secondary-container); color: var(--on-secondary-container); }
.step:nth-child(3) { border-top: 3px solid var(--tertiary-container); }
.step:nth-child(3) .icon-circle { background: var(--tertiary-container); color: var(--on-tertiary-container); }
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Benefits / therapist panel */
.benefits-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.benefits-grid ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.benefits-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.benefits-grid li svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; }

.panel-side {
  background: linear-gradient(160deg, var(--primary-container), var(--secondary-container));
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.panel-side::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  top: -80px; right: -60px;
}
.panel-side .big {
  position: relative;
  font-size: 46px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Manrope', sans-serif;
}
.panel-side .small {
  position: relative;
  font-size: 16px;
  color: var(--on-primary-container);
  margin: 2px 0 26px;
  font-weight: 600;
}
.panel-side .btn { position: relative; width: 100%; }
.panel-side .fine-print {
  position: relative;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--primary-container) 0%, var(--secondary-container) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner .wrap { max-width: 720px; position: relative; z-index: 1; }
.cta-banner h2 { font-size: 34px; margin-bottom: 14px; }
.cta-banner p { color: var(--on-secondary-container); font-size: 17px; margin: 0 0 30px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface-container-low);
  padding: 40px 0;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-container), var(--secondary-container), var(--tertiary-container), var(--quaternary-container));
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
footer .brand { margin-bottom: 4px; }
footer .links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  margin-right: 20px;
}
footer .links a:hover { color: var(--primary); }
footer .copy { color: var(--muted); font-size: 13px; margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-art { height: 380px; }
  .benefits-grid { grid-template-columns: 1fr; }
  nav.nav-links { display: none; }
}

@media (max-width: 700px) {
  .hero h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .nav-actions .btn-ghost { display: none; }
}
