/* ═══════════════════════════════════════════════════════════════
   LUNARA — BABY ACTIVITY TRACKER FEATURE PAGE (page-specific styles)
   Route: /features/baby-activity-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 --bat- to avoid clashing with globals.
═══════════════════════════════════════════════════════════════ */

:root {
  --bat-lav: #c8bfe7;
  --bat-gold: #d9bc94;
  --bat-peach: #f0c9b8;
}

body.page-features-activity 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(200,191,231,0.14);
  box-shadow: 0 2px 40px rgba(0,0,0,0.28);
}
body.page-features-activity .nav-links a:hover,
body.page-features-activity .nav-links a.active { color: #fdf9f4; }
body.page-features-activity .nav-links a { color: rgba(253,249,244,0.65); }
body.page-features-activity .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-activity { background: var(--ink); color: rgba(253,249,244,0.90); overflow-x: hidden; }

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

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

.bat-particle { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.5; animation: batParticleUp 9s ease-in-out infinite; }
@keyframes batParticleUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.6; } 100% { transform: translateY(-140px); opacity: 0; } }

/* ── Hero ──────────────────────────────────────────────────────── */
.bat-hero { position: relative; z-index: 1; padding: 50px; overflow-x: hidden; }
.bat-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) {
  .bat-hero { padding: 140px 0 64px; }
  .bat-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .bat-hero-grid { padding: 0 20px; }
}
.bat-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,191,231,0.14); border: 1px solid rgba(200,191,231,0.30);
  border-radius: 999px; padding: 8px 18px; font-size: 12px; color: var(--bat-lav);
  letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 28px;
}
.bat-hero-h1 { font-size: clamp(34px, 4.4vw, 52px); color: var(--cream); margin-bottom: 22px; }
.bat-hero-answer { font-size: 17px; line-height: 1.75; color: rgba(253,249,244,0.72); max-width: 560px; margin-bottom: 22px; }
.bat-hero-answer strong { color: var(--cream); font-weight: 600; }
.bat-hero-trust { font-size: 13px; color: rgba(253,249,244,0.50); margin-bottom: 26px; }
.bat-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.bat-hero-trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.bat-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 ─────────────────────────────────────────────── */
.bat-phone-wrap { position: relative; display: flex; justify-content: center; max-width: 100%; }
.bat-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(200,191,231,0.16); filter: blur(80px); z-index: 0;
}
.bat-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(200,191,231,0.20); border-radius: 40px;
  padding: 26px 20px 22px; box-shadow: 0 40px 90px rgba(0,0,0,0.45);
  animation: batPhoneBob 4.5s ease-in-out infinite;
}
@keyframes batPhoneBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.bat-phone-island { display: block; width: 90px; height: 22px; background: #0d0912; border-radius: 999px; margin: 0 auto 18px; }
.bat-phone-header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(253,249,244,0.75); margin-bottom: 18px; }

/* Progress ring */
.bat-ring-wrap { display: flex; justify-content: center; margin-bottom: 8px; position: relative; }
.bat-ring-num { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.bat-ring-num-big { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--bat-gold); line-height: 1; }
.bat-ring-num-sub { font-size: 10px; color: rgba(253,249,244,0.50); text-transform: uppercase; letter-spacing: 0.06em; }
.bat-ring-circle-bg { stroke: rgba(255,255,255,0.08); }
.bat-ring-circle-fill { stroke: url(#batRingGrad); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.16,1,0.3,1); }
.bat-ring-caption { text-align: center; font-size: 12px; color: rgba(253,249,244,0.55); margin-bottom: 18px; }
.bat-ring-caption strong { color: var(--bat-gold); }

.bat-log-entry { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; margin-bottom: 8px; font-size: 12.5px; }
.bat-log-lav { background: rgba(200,191,231,0.10); border: 1px solid rgba(200,191,231,0.22); }
.bat-log-gold { background: rgba(217,188,148,0.10); border: 1px solid rgba(217,188,148,0.22); }
.bat-log-peach { background: rgba(240,201,184,0.10); border: 1px solid rgba(240,201,184,0.22); }
.bat-log-icon { font-size: 16px; flex-shrink: 0; }
.bat-log-text { color: rgba(253,249,244,0.85); }
.bat-log-time { margin-left: auto; font-size: 11px; color: rgba(253,249,244,0.40); flex-shrink: 0; }
.bat-ai-strip {
  margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--bat-gold);
  background: rgba(217,188,148,0.08); border-radius: 0 12px 12px 0;
  font-size: 12px; color: var(--cream); line-height: 1.55;
}
.bat-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(200,191,231,0.24); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35); font-size: 12px; max-width: 190px;
}
.bat-float-a { top: -10px; right: -16px; }
.bat-float-b { bottom: 30px; left: -30px; }
@media (max-width: 640px) { .bat-float-card { display: none; }.bat-hero {padding: 60px 0 64px; } 

.bat-hero-eyebrow{padding: 8px 8px;}
}

/* ── Category card grid ───────────────────────────────────────── */
.bat-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .bat-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bat-card-grid { grid-template-columns: 1fr; } }
.bat-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;
}
.bat-cat-card:hover { transform: translateY(-4px); }
.bat-cat-lav { background: rgba(200,191,231,0.08); border-color: rgba(200,191,231,0.20); }
.bat-cat-lav:hover { border-color: rgba(200,191,231,0.44); }
.bat-cat-gold { background: rgba(217,188,148,0.08); border-color: rgba(217,188,148,0.20); }
.bat-cat-gold:hover { border-color: rgba(217,188,148,0.44); }
.bat-cat-peach { background: rgba(240,201,184,0.08); border-color: rgba(240,201,184,0.20); }
.bat-cat-peach:hover { border-color: rgba(240,201,184,0.44); }
.bat-cat-icon { font-size: 28px; margin-bottom: 12px; }
.bat-cat-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--cream); margin-bottom: 8px; }
.bat-cat-desc { font-size: 14px; line-height: 1.65; color: rgba(253,249,244,0.62); margin-bottom: 14px; }
.bat-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 (tummy time focus 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 tummy-time mockup 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. */
.bat-two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; max-width: 100%; }
@media (max-width: 860px) { .bat-two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ── Tummy time focus visual ─────────────────────────────────── */
.bat-tt-wrap { display: flex; justify-content: center; padding: 10px 0; overflow-x: hidden; max-width: 100%; }
.bat-tt-card {
  width: min(300px, 100%); box-sizing: border-box; background: linear-gradient(160deg, #23192e, #1c1624);
  border: 1px solid rgba(217,188,148,0.22); border-radius: 32px; padding: 30px 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4); text-align: center;
}
.bat-tt-streak { font-size: 13px; color: var(--cream); margin: 14px 0 20px; }
.bat-tt-sessions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.bat-tt-session-pill {
  font-size: 12px; padding: 7px 12px; border-radius: 999px;
  background: rgba(200,191,231,0.10); border: 1px solid rgba(200,191,231,0.22); color: rgba(253,249,244,0.75);
}
.bat-tt-goal-badge {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--bat-gold), #c8a87a); color: var(--ink);
  font-size: 12.5px; font-weight: 700;
}

/* ── 3-step flow ──────────────────────────────────────────────── */
.bat-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; position: relative; }
@media (max-width: 860px) { .bat-flow { grid-template-columns: 1fr; } }
.bat-flow-step { text-align: center; padding: 0 12px; }
.bat-flow-num {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 18px;
}
.bat-flow-num-gold { background: rgba(217,188,148,0.14); border: 1px solid rgba(217,188,148,0.32); }
.bat-flow-num-lav { background: rgba(200,191,231,0.14); border: 1px solid rgba(200,191,231,0.32); }
.bat-flow-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream); margin-bottom: 10px; }
.bat-flow-body { font-size: 13.5px; line-height: 1.7; color: rgba(253,249,244,0.62); }
.bat-flow-body a { color: var(--bat-gold); text-decoration: underline; }
.bat-quote-block {
  max-width: 600px; margin: 44px auto 0; text-align: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px;
  color: var(--cream); line-height: 1.6; padding-top: 28px;
  border-top: 1px solid rgba(217,188,148,0.20);
}

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

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

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

/* ── 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) ───── */
.bat-section .faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.bat-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;
}
.bat-section .faq-item:has(.faq-q[aria-expanded="true"]) {
  border-left-color: var(--bat-gold);
  background: rgba(217,188,148,0.05);
}
.bat-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;
}
.bat-section .faq-q:hover { background: rgba(255,255,255,0.03); }
.bat-section .faq-icon { font-size: 18px; flex-shrink: 0; color: var(--bat-gold); transition: transform 0.3s ease; }
.bat-section .faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.bat-section .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.bat-section .faq-a.open { max-height: 500px; }
.bat-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 ────────────────────────────────────────────────── */
.bat-final-cta { position: relative; padding: 80px 0; text-align: center; }
.bat-final-cta::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 30%, rgba(200,191,231,0.08), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(217,188,148,0.06), transparent 60%);
}
.bat-cta-h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.bat-cta-sub { font-size: 16px; color: rgba(253,249,244,0.62); max-width: 560px; margin: 0 auto 28px; }
.bat-cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 18px; }
.bat-badge-row { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.bat-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;
}
