/* ═══════════════════════════════════════════════════════════════
   LUNARA — BABY HEALTH TRACKER FEATURE PAGE (page-specific styles)
   Route: /features/baby-health-tracker
   Depends on global tokens from assets/frontend/css/lunara.css:
   --ink, --ink-dark, --cream, --cream-warm, --lavender, --peach,
   --gold, --mint, --sage, --text-dark, --glass-bg, --glass-border,
   --shadow-soft, --radius-card, --r-pill
   Page-local tokens are prefixed --bht- to avoid clashing with globals.
═══════════════════════════════════════════════════════════════ */

:root {
  --bht-peach: #f0c9b8;
  --bht-gold: #d9bc94;
  --bht-lav: #8b7cba;
}

body.page-features-health nav.site-nav.scrolled {
  padding: 16px 48px;
  background: rgba(28,22,36,0.92);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid rgba(240,201,184,0.14);
  box-shadow: 0 2px 40px rgba(0,0,0,0.28);
}
body.page-features-health .nav-links a:hover,
body.page-features-health .nav-links a.active { color: #fdf9f4; }
body.page-features-health .nav-links a { color: rgba(253,249,244,0.65); }
body.page-features-health .nav-cta {
  background: linear-gradient(135deg, #8b7cba, #c98472);
  color: #fff; border: none; padding: 10px 24px;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(139,124,186,0.40);
}

body.page-features-health { background: var(--ink); color: rgba(253,249,244,0.90); overflow-x: hidden; }

body.page-features-health h1,
body.page-features-health h2,
body.page-features-health h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; line-height: 1.15;
}
body.page-features-health em {
  font-style: italic;
  background: linear-gradient(135deg, var(--bht-peach), var(--bht-gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bht-section .section-label { font-size: 16px; }
body.page-features-health .bht-section { padding: 55px 0; }
@media (max-width: 760px) { body.page-features-health .bht-section { padding: 56px 0; } }

/* ── Ambient orbs ─────────────────────────────────────────────── */
.bht-orb { position: fixed; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.bht-orb-1 { width: 480px; height: 480px; top: -140px; left: -120px; background: rgba(240,201,184,0.16); animation: bhtOrbFloat 26s ease-in-out infinite; }
.bht-orb-2 { width: 380px; height: 380px; top: 20%; right: -140px; background: rgba(139,124,186,0.14); animation: bhtOrbFloat 22s ease-in-out infinite reverse; }
.bht-orb-3 { width: 420px; height: 420px; bottom: -160px; left: 10%; background: rgba(217,188,148,0.14); animation: bhtOrbFloat 30s ease-in-out infinite; }
@keyframes bhtOrbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-24px) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .bht-orb { animation: none; } }

/* Floating particle drift, used in hero bg */
.bht-particle { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.5; animation: bhtParticleUp 9s ease-in-out infinite; }
@keyframes bhtParticleUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.6; } 100% { transform: translateY(-140px); opacity: 0; } }

/* ── Hero ──────────────────────────────────────────────────────── */
.bht-hero { position: relative; z-index: 1; padding: 50px; overflow-x: hidden; }
.bht-hero-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
@media (max-width: 980px) {
  .bht-hero { padding: 140px 0 64px; }
  .bht-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .bht-hero-grid { padding: 0 20px; }
}
.bht-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,201,184,0.14); border: 1px solid rgba(240,201,184,0.30);
  border-radius: 999px; padding: 8px 18px; font-size: 12px; color: var(--bht-peach);
  letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.bht-hero-h1 { font-size: clamp(34px, 4.4vw, 52px); color: var(--cream); margin-bottom: 22px; }
.bht-hero-answer { font-size: 17px; line-height: 1.75; color: rgba(253,249,244,0.72); max-width: 560px; margin-bottom: 22px; }
.bht-hero-answer strong { color: var(--cream); font-weight: 600; }
.bht-hero-trust { font-size: 13px; color: rgba(253,249,244,0.50); margin-bottom: 26px; }
.bht-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.bht-hero-trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.bht-trust-chip {
  font-size: 12px; color: rgba(253,249,244,0.60);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px; padding: 6px 14px;
}

/* ── Phone mockup ─────────────────────────────────────────────── */
.bht-phone-wrap { position: relative; display: flex; justify-content: center; max-width: 100%; }
.bht-phone-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 420px; height: 420px; max-width: 92vw; max-height: 92vw; border-radius: 50%;
  background: rgba(240,201,184,0.14); filter: blur(80px); z-index: 0;
}
.bht-phone-frame {
  position: relative; z-index: 1; width: min(300px, 100%); box-sizing: border-box;
  background: linear-gradient(160deg, #23192e, #1c1624);
  border: 1px solid rgba(240,201,184,0.18); border-radius: 40px;
  padding: 26px 20px 22px; box-shadow: 0 40px 90px rgba(0,0,0,0.45);
  animation: bhtPhoneBob 4.5s ease-in-out infinite;
}
@keyframes bhtPhoneBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.bht-phone-island { display: block; width: 90px; height: 22px; background: #0d0912; border-radius: 999px; margin: 0 auto 18px; }
.bht-phone-header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(253,249,244,0.75); margin-bottom: 16px; }
.bht-fever-big { text-align: center; margin-bottom: 16px; }
.bht-fever-num { font-family: 'Cormorant Garamond', serif; font-size: 46px; color: var(--bht-peach); line-height: 1; }
.bht-fever-label { font-size: 11px; color: rgba(253,249,244,0.45); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.bht-log-entry { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; margin-bottom: 8px; font-size: 12.5px; }
.bht-log-fever { background: rgba(240,201,184,0.10); border: 1px solid rgba(240,201,184,0.22); }
.bht-log-med { background: rgba(217,188,148,0.10); border: 1px solid rgba(217,188,148,0.22); }
.bht-log-ok { background: rgba(139,124,186,0.10); border: 1px solid rgba(139,124,186,0.24); }
.bht-log-icon { font-size: 16px; flex-shrink: 0; }
.bht-log-text { color: rgba(253,249,244,0.85); }
.bht-log-time { margin-left: auto; font-size: 11px; color: rgba(253,249,244,0.40); flex-shrink: 0; }
.bht-phone-pill {
  display: block; text-align: center; margin-top: 14px; padding: 12px 14px;
  background: linear-gradient(135deg, var(--bht-gold), #c8a87a);
  color: var(--ink); border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.bht-float-card {
  position: absolute; z-index: 2; background: rgba(28,22,36,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(240,201,184,0.22); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35); font-size: 12px; max-width: 190px;
}
.bht-float-a { top: -10px; right: -16px; }
.bht-float-b { bottom: 30px; left: -30px; }
@media (max-width: 640px) { .bht-float-card { display: none; } }

/* ── Category card grid ───────────────────────────────────────── */
.bht-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .bht-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bht-card-grid { grid-template-columns: 1fr; } }
.bht-cat-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card); padding: 26px 24px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
}
.bht-cat-card:hover { transform: translateY(-4px); }
.bht-cat-peach { background: rgba(240,201,184,0.08); border-color: rgba(240,201,184,0.20); }
.bht-cat-peach:hover { border-color: rgba(240,201,184,0.44); }
.bht-cat-gold { background: rgba(217,188,148,0.08); border-color: rgba(217,188,148,0.20); }
.bht-cat-gold:hover { border-color: rgba(217,188,148,0.44); }
.bht-cat-lav { background: rgba(200,191,231,0.08); border-color: rgba(200,191,231,0.20); }
.bht-cat-lav:hover { border-color: rgba(200,191,231,0.44); }
.bht-cat-icon { font-size: 28px; margin-bottom: 12px; }
.bht-cat-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--cream); margin-bottom: 8px; }
.bht-cat-desc { font-size: 14px; line-height: 1.65; color: rgba(253,249,244,0.62); margin-bottom: 14px; }
.bht-cat-tag {
  display: inline-block; font-size: 11px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); color: rgba(253,249,244,0.65);
}

/* ── Two-column layout (doctor summary section) ──────────────────
   Was previously an inline `display:grid;grid-template-columns:
   1.1fr 0.9fr` in the Blade file with no mobile breakpoint — the
   fixed-width PDF/phone mockups inside got squeezed into a narrow
   fraction column on phones and forced the page to scroll
   horizontally. Moved into a real class with a stacking breakpoint. */
.bht-two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; max-width: 100%; }
@media (max-width: 860px) { .bht-two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ── PDF mockup ───────────────────────────────────────────────── */
.bht-pdf-wrap { position: relative; display: flex; justify-content: center; padding: 20px 0; overflow-x: hidden; max-width: 100%; }
.bht-pdf-card {
  position: relative; z-index: 2; width: min(320px, 100%); box-sizing: border-box; background: #1e1928;
  border: 1px solid rgba(217,188,148,0.24); border-radius: 18px; padding: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45); transform: rotate(3deg);
}
@media (max-width: 420px) { .bht-pdf-card { transform: rotate(1.2deg); padding: 20px; } }
.bht-pdf-header { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--cream); margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 12px; }
.bht-pdf-section { margin-bottom: 14px; }
.bht-pdf-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(253,249,244,0.40); margin-bottom: 6px; }
.bht-pdf-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.bht-pdf-bar { flex: 1; background: var(--bht-peach); border-radius: 2px 2px 0 0; opacity: 0.75; }
.bht-pdf-row { display: flex; justify-content: space-between; font-size: 12px; color: rgba(253,249,244,0.70); padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.bht-pdf-vax { font-size: 12px; color: rgba(253,249,244,0.70); }
.bht-pdf-vax-upcoming { color: var(--bht-gold); font-weight: 600; }
.bht-pdf-footer { font-size: 10.5px; color: rgba(253,249,244,0.35); margin-top: 16px; font-style: italic; }
.bht-phone-behind {
  position: absolute; z-index: 1; width: 220px; right: 10px; top: 40px;
  background: linear-gradient(160deg,#23192e,#1c1624); border: 1px solid rgba(240,201,184,0.16);
  border-radius: 30px; padding: 18px; transform: rotate(-6deg); opacity: 0.55;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
@media (max-width: 640px) { 
  .bht-phone-behind { display: none; } 
  .bht-hero {padding: 60px 0 64px; }
}

/* ── Alert cards ──────────────────────────────────────────────── */
.bht-alert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 860px) { .bht-alert-grid { grid-template-columns: 1fr; } }
.bht-alert-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-card); padding: 28px 24px; }
.bht-alert-num { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--bht-gold); line-height: 1; margin-bottom: 10px; }
.bht-alert-trigger { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(253,249,244,0.40); margin-bottom: 6px; }
.bht-alert-title { font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--cream); margin-bottom: 10px; }
.bht-alert-notif { background: rgba(240,201,184,0.10); border: 1px solid rgba(240,201,184,0.22); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; color: var(--cream); margin-bottom: 12px; }
.bht-alert-body { font-size: 13.5px; line-height: 1.7; color: rgba(253,249,244,0.62); }
.bht-alert-body a { color: var(--bht-peach); text-decoration: underline; }

/* ── Comparison table ─────────────────────────────────────────── */
.bht-compare-wrap { overflow-x: auto; margin-top: 30px; border-radius: var(--radius-card); }
.bht-compare-table { width: 100%; border-collapse: collapse; min-width: 620px; background: rgba(255,255,255,0.02); }
.bht-compare-table caption { text-align: left; font-size: 12px; color: rgba(253,249,244,0.40); padding: 10px 4px; caption-side: bottom; }
.bht-compare-table th, .bht-compare-table td { padding: 14px 16px; text-align: center; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.bht-compare-table th { color: var(--cream); font-weight: 600; font-size: 13px; }
.bht-compare-table td:first-child, .bht-compare-table th:first-child { text-align: left; color: rgba(253,249,244,0.72); }
.bht-compare-table .bht-col-lunara { background: rgba(217,188,148,0.06); color: var(--bht-gold); font-weight: 600; }
.bht-yes { color: var(--bht-gold); }
.bht-no { color: rgba(253,249,244,0.30); }
.bht-partial { color: var(--bht-peach); }

/* ── Testimonials ─────────────────────────────────────────────── */
.bht-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
@media (max-width: 900px) { .bht-testimonial-grid { grid-template-columns: 1fr; } }
.bht-test-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--bht-gold); border-radius: var(--radius-card); padding: 26px 24px;
}
.bht-test-quote { font-size: 14.5px; line-height: 1.7; color: rgba(253,249,244,0.75); margin-bottom: 16px; }
.bht-test-author { font-size: 13px; color: var(--bht-peach); font-weight: 600; }

/* ── Free vs Pro ──────────────────────────────────────────────── */
.bht-plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
@media (max-width: 760px) { .bht-plan-grid { grid-template-columns: 1fr; } }
.bht-plan-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-card); padding: 30px 28px; }
.bht-plan-pro { border-color: rgba(217,188,148,0.30); background: rgba(217,188,148,0.05); }
.bht-plan-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--cream); margin-bottom: 18px; }
.bht-plan-list { list-style: none; padding: 0; margin: 0 0 20px; }
.bht-plan-list li { font-size: 14px; color: rgba(253,249,244,0.75); padding: 7px 0; }

/* ── Medical disclaimer ───────────────────────────────────────── */
.bht-disclaimer { font-size: 12.5px; line-height: 1.65; color: rgba(253,249,244,0.42); font-style: italic; }
.bht-disclaimer-box { background: rgba(240,201,184,0.06); border: 1px solid rgba(240,201,184,0.16); border-radius: 14px; padding: 12px 16px; }

/* ── FAQ (dark glass card — overrides style.css's light-theme
   default, which assumes a light section background; this page is
   dark throughout, so the FAQ needs its own dark treatment) ───── */
.bht-section .faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.bht-section .faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid transparent;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.bht-section .faq-item:has(.faq-q[aria-expanded="true"]) {
  border-left-color: var(--bht-gold);
  background: rgba(217,188,148,0.05);
}
.bht-section .faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; cursor: pointer; font-size: 15.5px; font-weight: 500;
  color: var(--cream); background: transparent; border: none; text-align: left;
  gap: 16px; font-family: 'DM Sans', sans-serif; transition: background 0.25s ease;
}
.bht-section .faq-q:hover { background: rgba(255,255,255,0.03); }
.bht-section .faq-icon { font-size: 18px; flex-shrink: 0; color: var(--bht-gold); transition: transform 0.3s ease; }
.bht-section .faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.bht-section .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.bht-section .faq-a.open { max-height: 500px; }
.bht-section .faq-a-inner { padding: 0 26px 24px; font-size: 14.5px; color: rgba(253,249,244,0.62); line-height: 1.75; }

/* ── Final CTA ────────────────────────────────────────────────── */
.bht-final-cta { position: relative; padding: 80px 0; text-align: center; }
.bht-final-cta::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 30%, rgba(240,201,184,0.08), transparent 60%);
}
.bht-cta-h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.bht-cta-sub { font-size: 16px; color: rgba(253,249,244,0.62); max-width: 560px; margin: 0 auto 28px; }
.bht-cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 18px; }
.bht-badge-row { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.bht-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(253,249,244,0.75);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px; padding: 10px 18px;
}


