/* === BASE === */
:root {
  --bg: #FAFAF7;
  --fg: #1A1A18;
  --muted: #6B6B63;
  --accent: #1B4332;
  --accent-light: #2D6A4F;
  --warning: #C94C4C;
  --warning-bg: #FDF2F2;
  --green-bg: #F0FAF4;
  --green-text: #1B4332;
  --border: #E2E2DA;
  --card-bg: #FFFFFF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 4rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* === BIOMARKER CARD === */
.biomarker-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.biomarker-card.muted { opacity: 0.7; }

.biomarker-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.biomarker-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 1rem;
}

.biomarker-unit {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.range-track {
  position: relative;
  margin-bottom: 0.75rem;
}

.range-lab, .range-optimal {
  margin-bottom: 0.35rem;
}

.range-bar {
  height: 6px;
  border-radius: 3px;
  margin-bottom: 0.2rem;
}

.lab-bar { background: #D4D4CC; }
.optimal-bar { background: var(--accent); }
.green-bar { background: var(--accent-light); }

.range-tag {
  font-size: 0.65rem;
  color: var(--muted);
  display: block;
}

.marker-dot {
  position: absolute;
  top: -2px;
  left: 35%;
  width: 14px;
  height: 14px;
  background: var(--warning);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.dot-optimal { background: var(--accent); }

.biomarker-insight {
  background: var(--warning-bg);
  color: var(--warning);
  font-size: 0.78rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.green-insight { background: var(--green-bg); color: var(--green-text); }

.insight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--warning);
  color: white;
}

.green-insight .insight-icon { background: var(--accent); }

/* === PROBLEM === */
.problem {
  background: var(--accent);
  color: white;
  padding: 5rem 4rem;
}

.problem-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.problem-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 380px;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.problem-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
}

/* === FEATURES === */
.features {
  padding: 5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.feature {}

.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

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

/* === RANGES === */
.ranges {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 4rem;
}

.ranges-header {
  max-width: 640px;
  margin: 0 auto 4rem;
  text-align: center;
}

.ranges-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.ranges-desc {
  color: var(--muted);
  line-height: 1.7;
}

.ranges-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.range-example {}

.range-example-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.range-bar-row {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.range-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--muted);
  font-weight: 600;
  flex: 1;
}

.range-segment span { opacity: 0.7; }

.range-caption {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.range-optimal-track {
  position: relative;
  height: 20px;
  background: #EEF2EF;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.optimal-zone {
  position: absolute;
  left: 50%;
  width: 35%;
  top: 0;
  height: 100%;
  background: var(--accent);
  opacity: 0.25;
  border-radius: 4px;
}

.your-value-marker {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 28px;
  background: var(--warning);
  border-radius: 2px;
  transform: translateX(-50%);
}

.range-value-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--warning);
  text-align: right;
}

.ranges-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === PRICING === */
.pricing {
  padding: 5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  line-height: 1.25;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.pricing-plan {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.pricing-plan.featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(27,67,50,0.12);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.plan-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  list-style: none;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--fg);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='6.5' stroke='%231B4332' stroke-width='1.3'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%231B4332' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

/* === CLOSING === */
.closing {
  background: linear-gradient(160deg, #F5F9F7 0%, #FAFAF7 100%);
  padding: 6rem 4rem;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.closing-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  padding: 2.5rem 4rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-note {
  font-size: 0.72rem;
  color: #A0A098;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.55;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 2.5rem;
  }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ranges-visual { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .problem, .features, .pricing, .closing, .ranges, .footer { padding-left: 2rem; padding-right: 2rem; }
  .nav { padding: 1rem 1.5rem; }
}

@media (max-width: 480px) {
  .stat-num { font-size: 3.5rem; }
  .hero-headline { font-size: 1.6rem; }
}