/* =========================================================
   ASCENVA LABS — Design System
   Editorial medical aesthetic | Navy + Teal + Gold + Cream
   ========================================================= */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand colors */
  --navy:        #0D3247;
  --navy-deep:   #0A2738;
  --navy-soft:   #15435F;
  --teal:        #2DB2A8;
  --teal-light:  #7DD3C0;
  --teal-dark:   #1E9EB8;
  --cyan:        #1E9EB8;
  --gold:        #F5B829;
  --gold-dark:   #D89E16;

  /* Neutrals — warm */
  --cream:       #FAF7F0;
  --cream-dark:  #F0EBE0;
  --cream-mid:   #E8E2D2;
  --paper:       #FFFFFF;
  --ink:         #1A2332;
  --ink-muted:   #4B5563;
  --muted:       #6B7280;
  --line:        #E5E0D5;
  --line-soft:   #EFEAE0;

  /* System */
  --success:     #2DB2A8;
  --warning:     #F5B829;
  --danger:      #DC2626;

  /* Type */
  --font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* Spacing scale (4px base) */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --s-32: 128px; --s-40: 160px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px; --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,31,52,0.04), 0 1px 1px rgba(15,31,52,0.06);
  --shadow-md: 0 4px 12px rgba(15,31,52,0.06), 0 2px 4px rgba(15,31,52,0.04);
  --shadow-lg: 0 12px 32px rgba(15,31,52,0.10), 0 4px 8px rgba(15,31,52,0.06);
  --shadow-xl: 0 24px 56px rgba(15,31,52,0.14), 0 8px 16px rgba(15,31,52,0.08);
  --shadow-glow: 0 0 40px rgba(45,178,168,0.25);

  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
  --container-wide: 1400px;
  --nav-height: 72px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
.display-xl, h1.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.display-lg, h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
}
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}
h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}
em.serif-italic, .serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  margin-right: 0.04em;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow-light { color: var(--teal-light); }
.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-muted);
  font-weight: 400;
}
.small { font-size: 14px; color: var(--muted); }
.tiny { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- CONTAINER ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-6); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--s-6); }

/* ---------- PROMO BAR ---------- */
.promo-bar {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 10px var(--s-6);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.promo-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal) 50%, transparent);
  opacity: 0.5;
}
.promo-bar a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.promo-bar a:hover { color: var(--cream); }
.promo-bar .promo-pill {
  display: inline-block;
  background: var(--teal);
  color: var(--navy-deep);
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 10px;
  vertical-align: 1px;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0; z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand .labs { color: var(--teal); font-weight: 400; }
.nav-brand-mark { width: 30px; height: 30px; flex-shrink: 0; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex-wrap: nowrap;
}
.nav-link {
  position: relative;
  display: flex; align-items: center; gap: 4px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover { background: var(--cream-dark); color: var(--navy); }
.nav-link .caret {
  width: 12px; height: 12px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-link:hover .caret { transform: rotate(180deg); }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--s-6);
  min-width: 580px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.2s ease;
}
.nav-item:hover .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-item { position: relative; }
.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}
.mega-menu-link {
  display: block;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  transition: background 0.15s;
}
.mega-menu-link:hover { background: var(--cream); }
.mega-menu-link .title {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  display: flex; align-items: center; gap: 6px;
}
.mega-menu-link .title .badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mega-menu-link .desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login {
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  padding: 8px 14px;
}
.nav-login:hover { color: var(--teal-dark); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,184,41,0.35); }
.btn-teal {
  background: var(--teal);
  color: var(--paper);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(45,178,168,0.35); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
}
.btn-ghost:hover { background: var(--cream-dark); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-arrow { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- PROMO PILL / TAG ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream-dark);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-teal { background: rgba(45,178,168,0.12); color: var(--teal-dark); }
.tag-gold { background: rgba(245,184,41,0.18); color: var(--gold-dark); }
.tag-new { background: var(--gold); color: var(--navy-deep); }
.tag-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: var(--s-20) 0 var(--s-24);
  overflow: hidden;
}
.hero-bg-mark {
  position: absolute;
  right: -4%; bottom: -8%;
  width: 38%;
  max-width: 600px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-12);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: var(--s-5);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45,178,168,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45,178,168,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(45,178,168,0.08); }
}
.hero h1 { margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: var(--s-8); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s-8); }
.hero-trust {
  display: flex; gap: var(--s-6); align-items: center; flex-wrap: wrap;
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}
.hero-trust-item svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- WEIGHT LOSS SLIDER ---------- */
.calc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: var(--s-8);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.calc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--cyan));
}
.calc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-2);
}
.calc-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}
.calc-value .unit { font-size: 28px; color: var(--muted); margin-left: 6px; }
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--cream-dark);
  border-radius: var(--r-pill);
  outline: none;
  margin: var(--s-6) 0 var(--s-4);
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px;
  background: var(--navy);
  border: 4px solid var(--paper);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15,31,52,0.25);
  transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  background: var(--navy);
  border: 4px solid var(--paper);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15,31,52,0.25);
}
.calc-result {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  margin-top: var(--s-6);
  position: relative;
  overflow: hidden;
}
.calc-result::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,184,41,0.18), transparent 70%);
}
.calc-result-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: var(--s-2);
}
.calc-result-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.calc-result-value .unit { font-size: 24px; color: var(--cream); opacity: 0.7; margin-left: 6px; }
.calc-result-note {
  font-size: 13px;
  color: var(--cream);
  opacity: 0.7;
  margin-top: var(--s-3);
  line-height: 1.4;
}
.calc-cta { margin-top: var(--s-6); width: 100%; }

/* ---------- VERTICAL CARDS (HOME) ---------- */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.vertical-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  transition: all 0.25s ease;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: inherit;
}
.vertical-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.vertical-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent, var(--teal));
}
.vertical-card:hover::before { transform: scaleX(1); }
.vertical-card[data-color="weight"] { --accent: var(--teal); }
.vertical-card[data-color="longevity"] { --accent: var(--gold); }
.vertical-card[data-color="sexual"] { --accent: var(--navy); }
.vertical-card[data-color="hair"] { --accent: var(--cyan); }
.vertical-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(45,178,168,0.12), rgba(45,178,168,0.04));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent, var(--teal));
  margin-bottom: var(--s-6);
}
.vertical-card[data-color="longevity"] .vertical-icon {
  background: linear-gradient(135deg, rgba(245,184,41,0.15), rgba(245,184,41,0.04));
}
.vertical-card[data-color="sexual"] .vertical-icon {
  background: linear-gradient(135deg, rgba(13,50,71,0.10), rgba(13,50,71,0.04));
}
.vertical-card[data-color="hair"] .vertical-icon {
  background: linear-gradient(135deg, rgba(30,158,184,0.12), rgba(30,158,184,0.04));
}
.vertical-card h3 { margin-bottom: var(--s-2); font-size: 24px; }
.vertical-card .desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: var(--s-5);
  flex: 1;
}
.vertical-card .price {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  font-weight: 500;
}
.vertical-card .price .from {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.vertical-card .link {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent, var(--teal-dark));
  margin-top: var(--s-3);
}
.vertical-card .link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.vertical-card:hover .link svg { transform: translateX(3px); }

/* ---------- SECTIONS ---------- */
section { padding: var(--s-20) 0; }
.section-header {
  text-align: center;
  margin-bottom: var(--s-16);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .eyebrow { margin-bottom: var(--s-3); }
.section-header h2 { margin-bottom: var(--s-4); }
.section-header .lead { color: var(--ink-muted); }

.section-dark {
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-dark .lead { color: rgba(250, 247, 240, 0.7); }
.section-dark .eyebrow { color: var(--teal-light); }

.section-cream-dark {
  background: var(--cream-dark);
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--paper);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-6);
  align-items: center;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.trust-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
}
.trust-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.3;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--cyan), var(--teal));
  opacity: 0.25;
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--s-5);
  box-shadow: var(--shadow-sm);
}
.section-dark .step-number {
  background: var(--navy-deep);
  border-color: var(--teal);
  color: var(--cream);
}
.step h4 { font-size: 18px; margin-bottom: var(--s-2); }
.step p { font-size: 15px; color: var(--ink-muted); line-height: 1.5; }
.section-dark .step p { color: rgba(250,247,240,0.7); }

/* ---------- MEDICATION CARDS ---------- */
.med-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.med-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  transition: all 0.2s ease;
}
.med-card:hover { box-shadow: var(--shadow-lg); border-color: var(--teal); }
.med-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: var(--s-5);
}
.med-card-visual {
  width: 80px; height: 80px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  position: relative;
  overflow: hidden;
}
.med-card-visual::before {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(245,184,41,0.3), transparent 70%);
}
.med-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.med-card h3 { font-size: 26px; margin-bottom: var(--s-1); }
.med-card .api {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
}
.med-card-features {
  list-style: none;
  margin-bottom: var(--s-6);
}
.med-card-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-muted);
  border-bottom: 1px dashed var(--line);
}
.med-card-features li:last-child { border-bottom: none; }
.med-card-features svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.med-card-price {
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: var(--s-5);
}
.med-card-price-from {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.med-card-price-value {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--navy);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.med-card-price-value .per { font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.med-card-cta { width: 100%; }

/* ---------- PRICING TIERS ---------- */
.pricing-tabs {
  display: flex;
  gap: 4px;
  background: var(--cream-dark);
  padding: 5px;
  border-radius: var(--r-pill);
  width: fit-content;
  margin: 0 auto var(--s-12);
}
.pricing-tab {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: all 0.18s;
  position: relative;
}
.pricing-tab.active { background: var(--navy); color: var(--cream); }
.pricing-tab .save {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 1px;
}
.pricing-tab.active .save { color: var(--gold); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
}
.price-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; right: 24px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card h3 { margin-bottom: var(--s-2); }
.price-card-api {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
}
.price-display {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: var(--s-5);
}
.price-display .currency {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  font-weight: 400;
}
.price-display .amount {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-display .period {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.price-display-strike {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 16px;
  margin-left: 8px;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}
.price-billed {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--r-md);
}
.price-billed strong { color: var(--navy); }

/* ---------- STATS ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
  text-align: center;
}
.stat-block {
  padding: var(--s-8) var(--s-4);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  color: var(--teal-light);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-3);
}
.stat-num.gold { color: var(--gold); }
.stat-label {
  font-size: 14px;
  color: rgba(250,247,240,0.75);
  line-height: 1.5;
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  padding: 0;
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--teal-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  background: var(--paper);
}
.faq-icon svg { width: 14px; height: 14px; transition: transform 0.2s; }
.faq-item.open .faq-icon { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: var(--s-4);
}
.faq-answer p {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: var(--s-3);
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- ANCHOR NAV ---------- */
.anchor-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 30;
  background: rgba(250,247,240,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: var(--s-3) 0;
}
.anchor-nav-inner {
  display: flex; gap: 4px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
  overflow-x: auto;
}
.anchor-link {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: all 0.15s;
}
.anchor-link:hover, .anchor-link.active {
  background: var(--navy);
  color: var(--cream);
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.testimonial {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  border: 1px solid var(--line);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 18px; left: 20px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  color: var(--navy);
  margin: var(--s-6) 0 var(--s-6);
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}
.testimonial-meta {
  display: flex; align-items: center; gap: 12px;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testimonial-detail { font-size: 12px; color: var(--muted); }

/* ---------- COMPOUND OPTIONS TABLE ---------- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.option-row {
  display: flex; align-items: center; gap: var(--s-5);
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.18s;
}
.option-row:hover { border-color: var(--teal); transform: translateX(2px); }
.option-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
}
.option-content { flex: 1; }
.option-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.option-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.4; }

/* ---------- INCLUDED LIST ---------- */
.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.included-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: var(--s-4);
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-md);
}
.section-dark .included-item { background: rgba(255,255,255,0.04); }
.included-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
}
.included-check svg { width: 14px; height: 14px; }
.included-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

/* ---------- SAFETY / ISI ---------- */
.safety-box {
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin: var(--s-8) 0;
}
.safety-box h4 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--s-3);
  color: var(--navy);
}
.safety-box h4 svg { color: var(--gold-dark); }
.safety-box p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: var(--s-2);
}
.safety-box a { color: var(--teal-dark); text-decoration: underline; font-weight: 600; }

/* ---------- COMPOUND DISCLOSURE ---------- */
.disclosure {
  background: rgba(13,50,71,0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.disclosure strong { color: var(--navy); }

/* ---------- EXPERT / DOCTOR ---------- */
.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-12);
  align-items: center;
}
.expert-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}
.expert-visual::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(245,184,41,0.15), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(45,178,168,0.18), transparent 50%);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--s-20) 0 var(--s-8);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal) 30%, var(--gold) 70%, transparent);
  opacity: 0.4;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-block { max-width: 320px; }
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--cream);
  margin-bottom: var(--s-4);
}
.footer-brand .labs { color: var(--teal-light); }
.footer-desc {
  font-size: 14px;
  color: rgba(250,247,240,0.65);
  line-height: 1.55;
  margin-bottom: var(--s-5);
}
.footer-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,247,240,0.85);
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: var(--s-5);
}
.footer-col ul li { margin-bottom: var(--s-3); }
.footer-col a {
  font-size: 14px;
  color: rgba(250,247,240,0.7);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: var(--s-8);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer-legal {
  font-size: 12px;
  color: rgba(250,247,240,0.5);
}
.footer-legal-links {
  display: flex; gap: var(--s-5); flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 12px;
  color: rgba(250,247,240,0.65);
}
.footer-legal-links a:hover { color: var(--cream); }
.footer-disclaimer {
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(250,247,240,0.45);
  line-height: 1.55;
}

/* ---------- DECORATIVE A-MARK SVG (USED THROUGHOUT) ---------- */
.a-mark-decorative {
  pointer-events: none;
  user-select: none;
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal-dark); }
.text-gold { color: var(--gold-dark); }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--s-4); } .mt-8 { margin-top: var(--s-8); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--s-4); } .mb-8 { margin-bottom: var(--s-8); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .nav-brand { font-size: 22px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .med-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .trust-strip-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
  .nav-links { display: none; }
  .expert-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .options-grid { grid-template-columns: 1fr; }
  .included-list { grid-template-columns: 1fr; }
  section { padding: var(--s-12) 0; }
  .hero { padding: var(--s-12) 0 var(--s-16); }
}

@media (max-width: 640px) {
  .verticals-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-tabs { flex-wrap: wrap; }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
