:root {
  --primary:       #2BA6A6;
  --primary-dark:  #1F8585;
  --primary-light: #DEF1F1;
  --primary-soft:  #F0F8F8;
  --hero:          #0F2222;
  --hero-muted:    #7E9C9C;
  --text:          #171F1F;
  --muted:         #6B7878;
  --border:        #D6E5E5;
  --canvas:        #F5F1EA;
  --bg:            #FFFFFF;
  --card-bg:       #F1F5F4;
  --card-border:   #E2E9E8;
  --good-fg:       #1F6857;
  --good-bg:       #DCEE6;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ─────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1;
}

.wordmark span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--hero);
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(43,166,166,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(43,166,166,0.15);
  border: 1px solid rgba(43,166,166,0.3);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  color: #fff;
  line-height: 1.05;
  letter-spacing: 0.2px;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero h1 span { color: var(--primary); }

.hero-sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--hero-muted);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.store-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}

.badge:hover { background: rgba(255,255,255,0.13); }

.badge svg { opacity: 0.85; }

.badge-label { text-align: left; line-height: 1.3; }
.badge-label small { display: block; font-size: 10.5px; font-weight: 400; opacity: 0.65; }

.coming-soon-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--hero-muted);
  letter-spacing: 0.3px;
}

/* ── Features ────────────────────────────────────────────────── */
.features {
  background: var(--canvas);
  padding: 80px 24px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  text-align: center;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.15;
}

.section-sub {
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 52px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.18s, box-shadow 0.18s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── How it works ────────────────────────────────────────────── */
.how {
  background: var(--bg);
  padding: 80px 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.step {
  text-align: center;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── For Doctors ─────────────────────────────────────────────── */
.for-doctors {
  background: var(--hero);
  padding: 80px 24px;
}

.for-doctors .section-title { color: #fff; }
.for-doctors .section-label { color: var(--primary); }
.for-doctors .section-sub   { color: var(--hero-muted); }

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.doctor-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
}

.doctor-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.doctor-card p {
  font-size: 13px;
  color: var(--hero-muted);
  line-height: 1.55;
}

.doctor-card .d-icon {
  font-size: 22px;
  margin-bottom: 14px;
}

/* ── Privacy strip ───────────────────────────────────────────── */
.privacy-strip {
  background: var(--primary-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.privacy-strip p {
  font-size: 14px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 14px;
  line-height: 1.6;
}

.privacy-strip a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--hero);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo .wordmark { font-size: 22px; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--hero-muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 12px;
  color: #3D5A5A;
}

/* ── Privacy Policy page ─────────────────────────────────────── */
.policy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.policy-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 6px;
}

.policy-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.policy-draft-note {
  background: #FFF3DE;
  border: 1px solid #F5DBA5;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #5C3F0F;
  margin-bottom: 36px;
  line-height: 1.55;
}

.policy-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

.policy-page h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}

.policy-page p {
  font-size: 14px;
  line-height: 1.7;
  color: #3A4A4A;
  margin-bottom: 14px;
}

.policy-page ul, .policy-page ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.policy-page li {
  font-size: 14px;
  line-height: 1.7;
  color: #3A4A4A;
  margin-bottom: 6px;
}

.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 13.5px;
}

.policy-page th {
  background: var(--card-bg);
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text);
}

.policy-page td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: #3A4A4A;
  vertical-align: top;
  line-height: 1.5;
}

.policy-page strong { color: var(--text); }

.policy-page a { color: var(--primary); text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 72px 20px 64px; }
  .badge { width: 100%; justify-content: center; }
}
