/* ==========================================================================
   BEDTIMEY — LANDING PAGE & DESIGN SYSTEM STYLES
   Inspired by deep starry twilight, warm glowing starlight, and cozy bedtime calm.
   ========================================================================== */

:root {
  --night-canvas: #090d1c;
  --night-sky-mid: #121831;
  --night-card-bg: #161e38;
  --night-card-hover: #1b2545;
  --night-card-border: rgba(246, 197, 98, 0.16);
  --night-card-border-subtle: rgba(255, 255, 255, 0.08);
  --night-input-bg: #10162b;
  
  --gold-primary: #f6c562;
  --gold-hover: #ffd37a;
  --gold-deep: #e09f3e;
  --gold-glow: rgba(246, 197, 98, 0.28);
  
  --cream-heading: #fdfaf6;
  --cream-parchment: #f9f6ef;
  --slate-subtext: #cbd5e1;
  --slate-muted: #94a3b8;
  
  --horizon-glow: #e88a38;
  --horizon-dusk: #2a142e;
  
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Body when in dark night theme */
body.bedtimey-night-theme {
  position: relative;
  min-height: 100vh;
  background-color: #141c38;
  color: var(--slate-subtext);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   FIXED STAR BACKGROUND
   Remains completely stationary while the user scrolls down the page.
   ========================================================================== */
.starfield-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
  background: radial-gradient(circle at 50% 12%, rgba(29, 39, 78, 0.8) 0%, rgba(14, 19, 41, 0.95) 50%, #070a16 100%);
  overflow: hidden;
}

/* ==========================================================================
   SCROLLING DUSK-TO-SUNSET GRADIENT OVERLAY
   Flows with the page scroll, getting progressively warmer and lighter towards the bottom
   ========================================================================== */
.dusk-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -5;
  background: linear-gradient(
    180deg,
    rgba(20, 28, 56, 0.05) 0%,
    rgba(20, 28, 56, 0.15) 20%,
    rgba(26, 36, 68, 0.28) 40%,
    rgba(39, 51, 92, 0.42) 58%,
    rgba(85, 73, 111, 0.55) 72%,
    rgba(119, 89, 125, 0.68) 83%,
    rgba(169, 121, 118, 0.76) 90%,
    rgba(185, 131, 115, 0.84) 94%,
    rgba(27, 21, 38, 0.92) 97%,
    #1b1526 100%
  );
}

/* Layer 1: Fine dense white stars */
.starfield-fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1.2px 1.2px at 302px 104px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1px 1px at 344px 262px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1.2px 1.2px at 253px 113px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1px 1px at 135px 103px, rgba(255,255,255,0.65), transparent),
    radial-gradient(1px 1px at 280px 192px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 127px 211px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 225px 244px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 338px 173px, rgba(255,255,255,0.9), transparent),
    radial-gradient(0.8px 0.8px at 122px 221px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 8px 242px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.2px 1.2px at 16px 194px, rgba(255,255,255,0.65), transparent),
    radial-gradient(0.8px 0.8px at 293px 83px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1px 1px at 147px 38px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 339px 248px, rgba(255,255,255,0.9), transparent),
    radial-gradient(0.8px 0.8px at 97px 276px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 21px 182px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 331px 76px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 76px 46px, rgba(255,255,255,0.85), transparent),
    radial-gradient(0.8px 0.8px at 197px 39px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 34px 103px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 148px 83px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1.2px 1.2px at 222px 62px, rgba(255,255,255,0.8), transparent),
    radial-gradient(0.8px 0.8px at 148px 95px, rgba(255,255,255,0.7), transparent),
    radial-gradient(0.8px 0.8px at 318px 239px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 144px 246px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.2px 1.2px at 14px 73px, rgba(255,255,255,0.85), transparent),
    radial-gradient(0.8px 0.8px at 211px 210px, rgba(255,255,255,0.8), transparent),
    radial-gradient(0.8px 0.8px at 115px 80px, rgba(255,255,255,0.75), transparent),
    radial-gradient(0.8px 0.8px at 67px 194px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1px 1px at 351px 191px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1.2px 1.2px at 284px 289px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.5px 1.5px at 135px 128px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 157px 25px, rgba(255,255,255,0.65), transparent),
    radial-gradient(0.8px 0.8px at 229px 229px, rgba(255,255,255,0.9), transparent),
    radial-gradient(0.8px 0.8px at 22px 243px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 236px 145px, rgba(255,255,255,1.0), transparent),
    radial-gradient(0.8px 0.8px at 23px 141px, rgba(255,255,255,0.7), transparent),
    radial-gradient(0.8px 0.8px at 178px 271px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1.2px 1.2px at 218px 60px, rgba(255,255,255,0.7), transparent),
    radial-gradient(0.8px 0.8px at 187px 115px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 338px 85px, rgba(255,255,255,0.75), transparent),
    radial-gradient(1px 1px at 75px 24px, rgba(255,255,255,0.8), transparent),
    radial-gradient(0.8px 0.8px at 308px 275px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 300px 251px, rgba(255,255,255,0.7), transparent),
    radial-gradient(0.8px 0.8px at 25px 234px, rgba(255,255,255,0.85), transparent),
    radial-gradient(0.8px 0.8px at 73px 35px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.2px 1.2px at 54px 157px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 203px 290px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.2px 1.2px at 21px 127px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1px 1px at 245px 129px, rgba(255,255,255,1.0), transparent);
  background-repeat: repeat;
  background-size: 360px 300px;
  opacity: 0.9;
}

/* Layer 2: Occasional larger white starlight points */
.starfield-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2.6px 2.6px at 176px 261px, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.8px 1.8px at 288px 395px, rgba(255,255,255,0.85), transparent),
    radial-gradient(2.2px 2.2px at 47px 122px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.2px 2.2px at 392px 73px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.6px 2.6px at 278px 36px, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.8px 1.8px at 188px 346px, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.8px 1.8px at 53px 204px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.6px 2.6px at 245px 9px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.8px 1.8px at 408px 435px, rgba(255,255,255,0.85), transparent),
    radial-gradient(2.2px 2.2px at 456px 146px, rgba(255,255,255,0.85), transparent),
    radial-gradient(2.0px 2.0px at 414px 78px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1.8px 1.8px at 244px 223px, rgba(255,255,255,0.75), transparent),
    radial-gradient(2.6px 2.6px at 18px 393px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.2px 2.2px at 389px 327px, rgba(255,255,255,0.85), transparent),
    radial-gradient(2.0px 2.0px at 499px 132px, rgba(255,255,255,1.0), transparent),
    radial-gradient(2.6px 2.6px at 405px 59px, rgba(255,255,255,0.75), transparent),
    radial-gradient(2.2px 2.2px at 472px 147px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.0px 2.0px at 86px 292px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1.8px 1.8px at 185px 363px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.2px 2.2px at 21px 95px, rgba(255,255,255,0.85), transparent),
    radial-gradient(2.0px 2.0px at 302px 278px, rgba(255,255,255,0.75), transparent),
    radial-gradient(2.0px 2.0px at 151px 34px, rgba(255,255,255,1.0), transparent),
    radial-gradient(2.6px 2.6px at 158px 254px, rgba(255,255,255,0.9), transparent),
    radial-gradient(2.0px 2.0px at 151px 103px, rgba(255,255,255,1.0), transparent),
    radial-gradient(1.8px 1.8px at 500px 413px, rgba(255,255,255,0.85), transparent),
    radial-gradient(2.2px 2.2px at 84px 299px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.8px 1.8px at 15px 172px, rgba(255,255,255,0.85), transparent),
    radial-gradient(2.0px 2.0px at 243px 332px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.0px 2.0px at 211px 172px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.0px 2.0px at 401px 171px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.6px 2.6px at 300px 272px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1.8px 1.8px at 19px 201px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2.6px 2.6px at 264px 116px, rgba(255,255,255,0.95), transparent),
    radial-gradient(1.8px 1.8px at 136px 61px, rgba(255,255,255,1.0), transparent),
    radial-gradient(2.0px 2.0px at 19px 163px, rgba(255,255,255,0.85), transparent);
  background-repeat: repeat;
  background-size: 550px 450px;
  opacity: 0.85;
}

/* Layer 3: Distinct bright white stars & diamond sparkles (Static) */
.starfield-fixed .bright-stars {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(3px 3px at 45px 85px, #ffffff, rgba(255, 255, 255, 0.6) 50%, transparent),
    radial-gradient(3.5px 3.5px at 180px 220px, #ffffff, rgba(255, 255, 255, 0.6) 50%, transparent),
    radial-gradient(3px 3px at 320px 65px, #ffffff, rgba(255, 255, 255, 0.6) 50%, transparent),
    radial-gradient(4px 4px at 460px 280px, #ffffff, rgba(255, 255, 255, 0.7) 50%, transparent),
    radial-gradient(3px 3px at 580px 140px, #ffffff, rgba(255, 255, 255, 0.6) 50%, transparent),
    radial-gradient(3.5px 3.5px at 720px 290px, #ffffff, rgba(255, 255, 255, 0.6) 50%, transparent),
    radial-gradient(4px 4px at 890px 95px, #ffffff, rgba(255, 255, 255, 0.7) 50%, transparent),
    radial-gradient(3px 3px at 1050px 210px, #ffffff, rgba(255, 255, 255, 0.6) 50%, transparent),
    radial-gradient(3.5px 3.5px at 1220px 115px, #ffffff, rgba(255, 255, 255, 0.6) 50%, transparent),
    radial-gradient(4px 4px at 1380px 260px, #ffffff, rgba(255, 255, 255, 0.7) 50%, transparent);
  background-repeat: repeat;
  background-size: 800px 500px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85));
}

/* ==========================================================================
   CELESTIAL TRAVERSING MOON
   Starts on the left side of the screen at top: 260px and glides along an arch
   across the sky, contained within a max-width of 1200px on larger screens.
   ========================================================================== */
.celestial-moon-wrapper {
  position: fixed;
  top: 260px;
  left: 0;
  width: 82px;
  height: 82px;
  z-index: -8;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(20px, 0, 0);
  overflow: visible;
}

.celestial-moon-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

@media (max-width: 768px) {
  .celestial-moon-wrapper {
    top: 220px;
    width: 60px;
    height: 60px;
  }
  .celestial-moon-svg {
    opacity: 0.6;
  }
}

/* ==========================================================================
   STICKY TOP NAVIGATION BAR
   Transparent at top of page, activates backdrop blur when scrolled down.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(246, 197, 98, 0.16);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.site-header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: none;
}

.site-header .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header .brand-logo-img,
.brand-logo-img {
  width: 280px;
  height: auto;
  max-width: 280px;
  box-shadow: none !important;
  background: none !important;
  border-radius: 0;
  display: block;
  object-fit: contain;
}

.site-header .brand-title {
  display: none !important;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header .nav-links a.nav-link {
  color: var(--slate-subtext);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header .nav-links a.nav-link:hover {
  color: var(--gold-primary);
}

.site-header .nav-links a.nav-link-login {
  color: var(--cream-heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.site-header .nav-links a.nav-link-login:hover {
  color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.06);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%);
  color: #0b0f1d !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--gold-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(246, 197, 98, 0.45);
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold-primary) 100%);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.font-serif {
  font-family: var(--font-serif);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fff2cc 0%, var(--gold-primary) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-starlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(246, 197, 98, 0.12);
  border: 1px solid rgba(246, 197, 98, 0.32);
  border-radius: 30px;
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Night Auth Form Inputs */
.night-input {
  background-color: #0d1224 !important;
  border: 1px solid rgba(246, 197, 98, 0.28) !important;
  color: #fdfaf6 !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box;
}

.night-input::placeholder {
  color: #64748b !important;
}

.night-input:focus {
  outline: none !important;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 3px rgba(246, 197, 98, 0.22) !important;
  background-color: #10162b !important;
}

select.night-input {
  background-color: #0d1224 !important;
  color: #fdfaf6 !important;
}

select.night-input option {
  background-color: #121831;
  color: #fdfaf6;
  padding: 10px 14px;
}

.auth-card {
  background: linear-gradient(180deg, #182242 0%, #121831 100%);
  border: 1px solid rgba(246, 197, 98, 0.28);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(246, 197, 98, 0.08);
}

/* Onboarding Flow Styles */
.onboarding-container {
  max-width: 680px;
  padding: 60px 20px 80px;
  position: relative;
  z-index: 2;
}

.onboarding-header {
  text-align: center;
  margin-bottom: 32px;
}

.onboarding-moon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(246, 197, 98, 0.12);
  border: 1px solid rgba(246, 197, 98, 0.3);
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: 32px;
}

.onboarding-title {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--cream-heading);
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.25;
}

.onboarding-subtitle {
  color: var(--slate-muted);
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

.onboarding-card {
  padding: 40px 36px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid-name-age {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.form-grid-2col:last-child,
.form-grid-name-age:last-child {
  margin-bottom: 0;
}

.onboarding-section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--gold-primary);
  font-weight: 600;
}

.onboarding-section-account {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(246, 197, 98, 0.18);
}

.onboarding-section-child {
  margin-bottom: 28px;
}

.onboarding-section-optional {
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px dashed rgba(246, 197, 98, 0.22);
}

.onboarding-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  border-radius: 30px;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(246, 197, 98, 0.35);
}

.onboarding-guarantee-text {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate-muted);
}

.btn-bedtimey-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%);
  color: #090d1c !important;
  font-size: 17px;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 24px var(--gold-glow);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-bedtimey-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(246, 197, 98, 0.45);
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold-primary) 100%);
}

.btn-bedtimey-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(22, 30, 56, 0.7);
  border: 1px solid rgba(246, 197, 98, 0.3);
  color: var(--cream-heading) !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-bedtimey-secondary:hover {
  background: rgba(30, 42, 77, 0.85);
  border-color: var(--gold-primary);
  color: var(--gold-primary) !important;
  transform: translateY(-1px);
}

/* Bedtimey Night Cards */
.night-card {
  background: var(--night-card-bg);
  border: 1px solid var(--night-card-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
  position: relative;
  transition: all 0.3s ease;
}

.night-card:hover {
  border-color: rgba(246, 197, 98, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.28;
  color: var(--cream-heading);
  margin: 20px auto 20px;
  max-width: 860px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-subhead {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--slate-subtext);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-meta-reassurance {
  font-size: 14px;
  color: var(--slate-muted);
}

.hero-meta-reassurance span {
  color: var(--gold-primary);
  margin: 0 6px;
}

/* ==========================================================================
   HERO VISUAL ANCHOR: 6:00 PM EMAIL DISPATCH & BEDTIME READER MOCKUP
   ========================================================================== */
.hero-visual-wrapper {
  position: relative;
  margin: 46px auto 0;
  max-width: 820px;
  width: 100%;
}

/* Warm ambient backdrop glow */
.hero-visual-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -10%);
  width: 90%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.18) 0%, rgba(245, 158, 11, 0.08) 45%, rgba(15, 23, 42, 0) 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.dispatch-mockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Simulated Email Notification Pill */
.dispatch-notification-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(18, 24, 49, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(246, 197, 98, 0.35);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(246, 197, 98, 0.15);
  max-width: 94%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.dispatch-notification-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 197, 98, 0.55);
}

.notif-bell-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.notif-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}

.notif-sender {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.notif-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.35;
}

.notif-time-badge {
  font-size: 11px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
  white-space: nowrap;
}

/* Open Bedtime Reader Frame */
.reader-frame {
  width: 100%;
  background: linear-gradient(180deg, #161e38 0%, #10162b 100%);
  border: 1px solid rgba(246, 197, 98, 0.25);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 36px rgba(246, 197, 98, 0.08);
  overflow: hidden;
  text-align: left;
  transition: border-color 0.3s ease;
}

.reader-frame:hover {
  border-color: rgba(246, 197, 98, 0.4);
}

.reader-frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(13, 18, 36, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 12px;
}

.reader-status-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.reader-status-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-amber { background: #fbbf24; }
.dot-cream { background: #fef08a; opacity: 0.6; }
.dot-slate { background: #475569; }

.reader-dispatch-meta {
  font-size: 12px;
  color: var(--slate-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.reader-dispatch-meta .bullet {
  color: #475569;
}

.reader-dispatch-meta .meta-highlight {
  color: var(--gold-primary);
  font-weight: 600;
}

.reader-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 3px 10px;
  border-radius: 20px;
}

.tag-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.reader-frame-body {
  padding: 28px 32px 24px;
}

.reader-chapter-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.reader-chapter-title {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--cream-heading);
  margin-bottom: 14px;
  line-height: 1.25;
}

.reader-prose {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 22px;
}

.reader-frame-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 13px;
  color: var(--slate-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.reader-continuity-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.reader-continuity-hint strong {
  color: var(--gold-primary);
}

.reader-timing-info {
  font-weight: 600;
  color: #94a3b8;
}

/* ==========================================================================
   THE BEDTIMEY DIFFERENCE (SERIALIZED CONTINUITY)
   ========================================================================== */
.difference-section {
  padding: 80px 0;
  position: relative;
}

.section-tag {
  text-align: center;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  color: var(--cream-heading);
  margin-bottom: 14px;
}

.section-subhead {
  text-align: center;
  color: var(--slate-subtext);
  font-size: 18px;
  max-width: 660px;
  margin: 0 auto 52px;
}

/* ==========================================================================
   2. THE BEDTIMEY DIFFERENCE (COMPARISON GRID & CONTINUITY WALKTHROUGH)
   ========================================================================== */
.difference-section {
  padding: 80px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.comparison-card {
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
}

.comparison-card.other-sites {
  background: rgba(22, 28, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-card.bedtimey-side {
  background: linear-gradient(180deg, #1d2545 0%, #151d38 100%);
  border: 1px solid rgba(246, 197, 98, 0.35);
  box-shadow: 0 10px 32px rgba(246, 197, 98, 0.08);
}

.comparison-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  display: inline-block;
}

.other-sites .comparison-badge {
  color: #94a3b8;
}

.bedtimey-side .comparison-badge {
  color: var(--gold-primary);
}

.comparison-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--cream-heading);
  margin-bottom: 18px;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.comparison-list li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.comparison-list li .icon-cross {
  color: #f87171;
  font-weight: bold;
}

.comparison-list li .icon-check {
  color: var(--gold-primary);
  font-weight: bold;
}

.child-question-quote {
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--gold-primary);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: #fce4a6;
}

/* Continuity Timeline */
.timeline-container {
  margin-top: 52px;
  background: rgba(22, 30, 56, 0.7);
  border: 1px solid var(--night-card-border);
  border-radius: 20px;
  padding: 36px 30px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--cream-heading);
  text-align: center;
  margin-bottom: 24px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(9, 13, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  border-radius: 12px;
}

.timeline-badge {
  min-width: 90px;
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-content {
  flex: 1;
}

.timeline-item-title {
  color: var(--cream-heading);
  font-size: 16px;
  display: block;
}

.timeline-item-desc {
  margin: 4px 0 0;
  color: var(--slate-subtext);
  font-size: 14px;
  line-height: 1.5;
}

.timeline-item-finale {
  background: rgba(246, 197, 98, 0.08) !important;
  border: 1.5px solid rgba(246, 197, 98, 0.45) !important;
  border-radius: 12px;
  padding: 16px 20px;
}

.timeline-item-new-adv {
  background: rgba(99, 102, 241, 0.1) !important;
  border: 1.5px solid rgba(165, 180, 252, 0.45) !important;
  border-radius: 12px;
  padding: 16px 20px;
}

.timeline-header-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.timeline-pill-label {
  display: inline-block;
  background: rgba(246, 197, 98, 0.15);
  border: 1px solid rgba(246, 197, 98, 0.4);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.timeline-subtitle {
  color: var(--slate-subtext);
  font-size: 14.5px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==========================================================================
   HOW IT WORKS (FLOATING STEPS ON STARFIELD WITH CONNECTOR)
   ========================================================================== */
.how-section {
  padding: 85px 0 75px;
  position: relative;
}

.steps-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 56px;
  align-items: flex-start;
}

/* Subtle glowing horizontal connector track behind badges on desktop */
.steps-connector-line {
  position: absolute;
  top: 32px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(246, 197, 98, 0.35) 15%, 
    rgba(253, 224, 71, 0.45) 50%, 
    rgba(246, 197, 98, 0.35) 85%, 
    transparent 100%
  );
  border-top: 1px dashed rgba(251, 191, 36, 0.6);
  z-index: 1;
  pointer-events: none;
}

/* Floating step item (no outer bounding box) */
.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-badge-glow {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 197, 98, 0.22) 0%, rgba(18, 24, 49, 0.95) 75%);
  border: 2px solid rgba(246, 197, 98, 0.6);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(246, 197, 98, 0.28), 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-item:hover .step-badge-glow {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 32px rgba(246, 197, 98, 0.45), 0 6px 20px rgba(0, 0, 0, 0.5);
  border-color: rgba(253, 224, 71, 0.9);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #fffbeb;
  text-shadow: 0 0 10px rgba(253, 224, 71, 0.5);
}

.step-tag-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  background: rgba(246, 197, 98, 0.1);
  border: 1px solid rgba(246, 197, 98, 0.25);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--cream-heading);
  margin: 0 0 12px;
  line-height: 1.3;
}

.step-desc {
  font-size: 15px;
  color: var(--slate-subtext);
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
}

/* Delivery Reassurance Box (Grandparents / Delivery Modes) */
.delivery-reassurance-box {
  margin-top: 48px;
  background: rgba(22, 30, 56, 0.75);
  border: 1px solid rgba(246, 197, 98, 0.3);
  border-radius: 18px;
  padding: 28px 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  width: 100%;
}

.delivery-reassurance-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-primary);
  margin: 0 0 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}

.delivery-reassurance-title span:first-child {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1.2;
}

.delivery-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 14px;
}

.delivery-reassurance-col {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.delivery-col-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #fdfaf6;
  margin-bottom: 6px;
  line-height: 1.4;
}

.delivery-col-label.highlight-parent {
  color: #86efac;
}

.delivery-col-desc {
  font-size: 14px;
  color: var(--slate-subtext);
  line-height: 1.55;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ==========================================================================
   LIVE SAMPLE CHAPTER PREVIEW (NIGHT 1 & NIGHT 2)
   ========================================================================== */
.sample-section {
  padding: 80px 0;
}

.sample-container {
  max-width: 820px;
  margin: 0 auto;
}

.sample-tab-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.sample-tab-btn {
  background: rgba(22, 30, 56, 0.7);
  border: 1px solid rgba(246, 197, 98, 0.2);
  color: var(--slate-subtext);
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sample-tab-btn.active {
  background: var(--gold-primary);
  color: #090d1c;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.sample-reading-card {
  background: #151b34;
  border: 1px solid rgba(246, 197, 98, 0.24);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.sample-chapter-title {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--cream-heading);
  margin-bottom: 6px;
}

.sample-chapter-meta {
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sample-chapter-text {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.8;
  color: #f1f5f9;
}

.sample-chapter-text p {
  margin-bottom: 18px;
}

.continuity-highlight-box {
  margin-top: 24px;
  background: rgba(246, 197, 98, 0.08);
  border-left: 3px solid var(--gold-primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  color: #fce4a6;
}

/* ==========================================================================
   MEET THE CHARACTERS
   ========================================================================== */
.characters-section {
  padding: 80px 0;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.character-card {
  background: var(--night-card-bg);
  border: 1px solid var(--night-card-border);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.character-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 197, 98, 0.4);
}

.character-avatar {
  font-size: 44px;
  margin-bottom: 14px;
}

.character-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--cream-heading);
  margin-bottom: 4px;
}

.character-role {
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.character-card p {
  font-size: 14px;
  color: var(--slate-subtext);
  line-height: 1.6;
}

/* ==========================================================================
   STORY RHYTHM / ADVENTURE PROGRESSION (ENDURING STORY WORLD)
   ========================================================================== */
.story-rhythm-section {
  padding: 72px 0;
  position: relative;
  text-align: center;
}

.story-journey-wrap {
  position: relative;
  margin-top: 48px;
}

.story-journey-trail {
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(246, 197, 98, 0.25) 12%, 
    rgba(253, 224, 71, 0.4) 50%, 
    rgba(246, 197, 98, 0.25) 88%, 
    transparent 100%
  );
  border-top: 1px dashed rgba(251, 191, 36, 0.5);
  z-index: 1;
  pointer-events: none;
}

.story-journey-steps {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.journey-node {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}

.journey-node-orb {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a2344 0%, #10162c 100%);
  border: 1px solid rgba(246, 197, 98, 0.35);
  box-shadow: 0 0 16px rgba(246, 197, 98, 0.12), inset 0 0 12px rgba(246, 197, 98, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.journey-node:hover .journey-node-orb {
  transform: scale(1.06);
  border-color: rgba(246, 197, 98, 0.6);
}

.journey-node-orb.highlight-orb {
  border-color: rgba(253, 224, 71, 0.6);
  box-shadow: 0 0 22px rgba(253, 224, 71, 0.24), inset 0 0 14px rgba(246, 197, 98, 0.15);
}

.journey-glyph {
  font-size: 22px;
  line-height: 1;
}

.journey-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold-primary);
  margin-top: 14px;
}

.journey-badge.highlight-badge {
  color: #fde047;
}

.journey-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream-heading);
  margin: 4px 0 6px;
  line-height: 1.3;
}

.journey-title.highlight-title {
  color: #fff9ed;
}

.journey-desc {
  font-size: 13px;
  color: var(--slate-subtext);
  line-height: 1.5;
  margin: 0;
  max-width: 200px;
}

.journey-arrow-indicator {
  align-self: flex-start;
  margin-top: 16px;
  color: rgba(246, 197, 98, 0.55);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Prominent Closing Takeaway */
.story-world-takeaway {
  position: relative;
  margin-top: 48px;
  padding: 24px 32px;
  background: rgba(22, 30, 56, 0.55);
  border: 1px solid rgba(246, 197, 98, 0.28);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.takeaway-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 24px);
  font-style: italic;
  color: var(--cream-heading);
  margin: 0;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SAFETY & PARENT PEACE OF MIND
   ========================================================================== */
.safety-section {
  padding: 80px 0;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  align-items: stretch;
}

.safety-card {
  background: var(--night-card-bg);
  border: 1px solid var(--night-card-border-subtle);
  border-radius: 16px;
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  height: 100%;
  box-sizing: border-box;
}

.safety-card:hover {
  border-color: rgba(253, 224, 71, 0.25);
  transform: translateY(-2px);
}

.safety-icon {
  font-size: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 40px;
  height: 40px;
  margin-bottom: 2px;
}

.safety-icon-screen {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.safety-icon-screen .icon-phone {
  font-size: 34px;
  line-height: 1;
}

.safety-icon-screen .icon-cross {
  position: absolute;
  top: -2px;
  right: -4px;
  font-size: 16px;
  line-height: 1;
  background: rgba(239, 68, 68, 0.25);
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.safety-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.safety-card h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--cream-heading);
  margin-bottom: 8px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
}

.safety-card p {
  font-size: 13.5px;
  color: var(--slate-muted);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
  text-align: center;
}

/* Tablet (1024px and down): 2x2 grid */
@media (max-width: 1024px) {
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* ==========================================================================
   PARENT TESTIMONIALS / READER MAIL (MODERN QUOTE BLOCKS)
   ========================================================================== */
.testimonials-section {
  padding: 85px 0 75px;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 44px;
  align-items: stretch;
}

/* Clean quote block (no generic boxy card look) */
.quote-block {
  position: relative;
  background: rgba(18, 24, 49, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 3px solid var(--gold-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0 18px 18px 0;
  padding: 32px 30px 26px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-left-color 0.25s ease, background 0.25s ease;
}

.quote-block:hover {
  transform: translateY(-2px);
  background: rgba(22, 30, 60, 0.65);
  border-left-color: #fde047;
}

/* Stylized glowing gold quotation mark */
.quote-symbol {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: rgba(246, 197, 98, 0.18);
  pointer-events: none;
  user-select: none;
}

.quote-stars {
  color: var(--gold-primary);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.75;
  color: #f1f5f9;
  margin: 0 0 22px 0;
  padding: 0;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.quote-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.author-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(246, 197, 98, 0.14);
  border: 1px solid rgba(246, 197, 98, 0.4);
  color: var(--gold-primary);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cream-heading);
  line-height: 1.25;
}

.author-sub {
  display: block;
  font-size: 12.5px;
  color: var(--slate-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================================================
   PRICING SECTION & BILLING TOGGLE
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  text-align: center;
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  background: #141c38;
  border: 1px solid rgba(246, 197, 98, 0.35);
  border-radius: 9999px;
  padding: 5px;
  margin: 0 auto 52px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.billing-toggle-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #94a3b8;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.billing-toggle-btn:hover {
  color: #f1f5f9;
}

.billing-toggle-btn.active {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%) !important;
  color: #090d1c !important;
  box-shadow: 0 4px 16px rgba(246, 197, 98, 0.35) !important;
}

.billing-toggle-btn .badge-save {
  background: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.2s ease;
}

.billing-toggle-btn.active .badge-save {
  background: #064e3b;
  color: #a7f3d0;
}

.pricing-card-wrapper {
  max-width: 540px;
  margin: 0 auto;
}

.pricing-box {
  background: linear-gradient(180deg, #1a2347 0%, #131a34 100%);
  border: 2px solid rgba(246, 197, 98, 0.35);
  border-radius: 24px;
  padding: 48px 36px;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(246, 197, 98, 0.1);
}

.pricing-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%);
  color: #090d1c;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 5;
  pointer-events: none;
  line-height: 1.2;
}

.pricing-ribbon-purple {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  color: #090d1c !important;
}

.pricing-price {
  font-size: 52px;
  font-weight: 800;
  color: var(--cream-heading);
  margin: 20px 0 6px;
  font-family: var(--font-sans);
}

.pricing-period {
  font-size: 17px;
  color: var(--slate-muted);
  font-weight: 400;
}

.pricing-annual-callout {
  color: #86efac;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  max-width: 380px;
  margin: 0 auto 36px;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #e2e8f0;
}

.pricing-features li span.check {
  color: var(--gold-primary);
  font-weight: bold;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--night-card-bg);
  border: 1px solid var(--night-card-border-subtle);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(246, 197, 98, 0.25);
}

.faq-question {
  padding: 20px 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--cream-heading);
}

.faq-icon {
  font-size: 18px;
  color: var(--gold-primary);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--slate-subtext);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   BEDTIME HORIZON FOOTER & HILL SILHOUETTE
   A gentle curved hill line with the cozy child sleeping under the stars.
   ========================================================================== */
.bedtime-hill-container {
  display: none;
}

body.bedtimey-night-theme .bedtime-hill-container {
  display: block;
  position: relative;
  margin-top: 100px;
  overflow: visible;
  text-align: center;
}

.bedtime-bed-wrapper {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.bedtime-hill-bed-img {
  width: 360px;
  max-width: 85vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
}

.horizon-hill-svg {
  width: 100%;
  height: 140px;
  display: block;
  margin-bottom: -2px;
  position: relative;
  z-index: 1;
}

.horizon-footer {
  margin-top: 0;
  position: relative;
  background: #140d1e;
  padding: 20px 0 50px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .bedtime-hill-container {
    margin-top: 60px;
  }
  .bedtime-bed-wrapper {
    top: -42px;
  }
  .bedtime-hill-bed-img {
    width: 260px;
  }
  .horizon-hill-svg {
    height: 100px;
  }
}

.footer-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-logo-img {
  width: 250px;
  max-width: 250px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  margin-top: 100px;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--cream-heading);
  margin-bottom: 10px;
}

.footer-subtext {
  color: var(--slate-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--slate-subtext);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-copyright {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.7);
}

/* ==========================================================================
   NIGHT THEME DASHBOARDS (PARENT & ADMIN) & READER
   ========================================================================== */

/* Typography & General */
body.bedtimey-night-theme h1,
body.bedtimey-night-theme h2,
body.bedtimey-night-theme h3,
body.bedtimey-night-theme h4 {
  color: var(--cream-heading);
}

body.bedtimey-night-theme .dashboard-wrapper {
  position: relative;
  z-index: 2;
}

body.bedtimey-night-theme .story-supertitle {
  color: var(--gold-primary);
  font-size: 14px;
}

body.bedtimey-night-theme .story-main-title {
  color: var(--cream-heading);
  font-size: 40px;
}

body.bedtimey-night-theme .story-subtitle {
  color: #e2e8f0 !important;
  font-size: 18px !important;
  font-weight: 500;
}

/* Tonight Hero Card */
body.bedtimey-night-theme .tonight-hero-card {
  background: linear-gradient(180deg, #182242 0%, #121831 100%);
  border: 1px solid rgba(246, 197, 98, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(246, 197, 98, 0.1);
  border-radius: 20px;
}

body.bedtimey-night-theme .tonight-tag {
  background: rgba(246, 197, 98, 0.15);
  border: 1px solid rgba(246, 197, 98, 0.35);
  color: var(--gold-primary);
  font-size: 14px;
  font-weight: 700;
}

body.bedtimey-night-theme .chapter-number-pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream-heading);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
}

body.bedtimey-night-theme .tonight-title {
  color: var(--cream-heading);
  font-size: 30px;
}

body.bedtimey-night-theme .tonight-preview-box {
  background: rgba(9, 13, 28, 0.7);
  border: 1px solid rgba(246, 197, 98, 0.22);
  border-radius: 12px;
  padding: 18px 22px;
}

body.bedtimey-night-theme .tonight-preview-text {
  color: #f8fafc !important;
  font-size: 17px !important;
  line-height: 1.7;
}

body.bedtimey-night-theme .btn-tonight-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%);
  color: #090d1c !important;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 6px 20px rgba(246, 197, 98, 0.35);
  border: none;
}

body.bedtimey-night-theme .delivery-time-text {
  color: #e2e8f0 !important;
  font-size: 15px !important;
}

body.bedtimey-night-theme .btn-text-subtle {
  color: var(--gold-primary);
  font-size: 15px;
  font-weight: 600;
}

/* Continuation Card (Trial Banner) */
body.bedtimey-night-theme .continuation-card {
  background: linear-gradient(180deg, #1b2447 0%, #141c38 100%);
  border: 1px solid rgba(246, 197, 98, 0.3);
  border-radius: 16px;
}

body.bedtimey-night-theme .continuation-title {
  color: var(--cream-heading);
  font-size: 19px;
}

body.bedtimey-night-theme .continuation-desc {
  color: #e2e8f0 !important;
  font-size: 15px !important;
}

body.bedtimey-night-theme .btn-continue-story {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%);
  color: #090d1c !important;
  font-weight: 700;
  font-size: 15px;
}

body.bedtimey-night-theme .continuation-price {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 15px;
}

/* Story So Far Section */
body.bedtimey-night-theme .story-so-far-section {
  background: rgba(18, 24, 49, 0.8);
  border: 1px solid rgba(246, 197, 98, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  padding: 28px 30px;
}

body.bedtimey-night-theme .section-label,
body.bedtimey-night-theme .section-header-title {
  color: var(--cream-heading) !important;
  font-size: 26px;
  font-weight: 700;
}

body.bedtimey-night-theme .section-header-subtitle {
  color: #cbd5e1 !important;
  font-size: 15px !important;
  font-weight: 600;
}

body.bedtimey-night-theme .story-so-far-body {
  color: #f1f5f9 !important;
  font-size: 16px !important;
  line-height: 1.8;
}

/* Chapter Library Items */
body.bedtimey-night-theme .chapter-library-item {
  background: linear-gradient(180deg, #182242 0%, #121831 100%);
  border: 1px solid rgba(246, 197, 98, 0.25);
  border-radius: 14px;
}

body.bedtimey-night-theme .chapter-library-item:hover {
  border-color: var(--gold-primary);
  background: #1c274c;
}

body.bedtimey-night-theme .chapter-badge-num {
  background: rgba(246, 197, 98, 0.16);
  color: var(--gold-primary);
  border: 1px solid rgba(246, 197, 98, 0.32);
  font-size: 13px;
  font-weight: 700;
}

body.bedtimey-night-theme .chapter-item-title {
  color: var(--cream-heading) !important;
  font-size: 18px !important;
  font-weight: 700;
}

body.bedtimey-night-theme .chapter-item-snippet {
  color: #cbd5e1 !important;
  font-size: 15px !important;
  line-height: 1.6;
}

body.bedtimey-night-theme .chapter-relative-tag {
  color: #94a3b8;
  font-size: 13px;
}

body.bedtimey-night-theme .chapter-read-cta {
  color: var(--gold-primary);
  font-size: 14px;
  font-weight: 700;
}

/* Completed Adventures Accordion */
body.bedtimey-night-theme .completed-adv-accordion {
  background: linear-gradient(180deg, #182242 0%, #121831 100%) !important;
  border: 1px solid rgba(246, 197, 98, 0.3) !important;
  border-radius: 14px !important;
}

body.bedtimey-night-theme .adv-resolution-text {
  color: #f1f5f9 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

body.bedtimey-night-theme .completed-adv-accordion summary span[style*="color: #1e293b"] {
  color: var(--cream-heading) !important;
}

body.bedtimey-night-theme .completed-adv-accordion div[style*="background: #faf7f2"] {
  background: #0d1224 !important;
  border-top-color: rgba(246, 197, 98, 0.2) !important;
}

body.bedtimey-night-theme .completed-chapter-item {
  background: #121831 !important;
  border-color: rgba(246, 197, 98, 0.2) !important;
  color: var(--cream-heading) !important;
}

body.bedtimey-night-theme .completed-chapter-item span[style*="color: #1e293b"] {
  color: var(--cream-heading) !important;
}

body.bedtimey-night-theme .completed-chapter-item:hover {
  border-color: var(--gold-primary) !important;
  background: #1c2548 !important;
}

/* Story Friends */
body.bedtimey-night-theme .friend-card {
  background: linear-gradient(180deg, #182242 0%, #121831 100%);
  border: 1px solid rgba(246, 197, 98, 0.25);
  border-radius: 14px;
}

body.bedtimey-night-theme .friend-avatar {
  background: rgba(246, 197, 98, 0.15);
  border: 1px solid rgba(246, 197, 98, 0.35);
  color: var(--gold-primary);
}

body.bedtimey-night-theme .friend-name {
  color: var(--cream-heading);
}

body.bedtimey-night-theme .friend-role {
  color: var(--gold-primary);
}

body.bedtimey-night-theme .friend-desc {
  color: var(--slate-subtext);
}

/* Controls Bar */
body.bedtimey-night-theme .dashboard-controls-bar {
  border-top-color: rgba(246, 197, 98, 0.2);
}

body.bedtimey-night-theme .control-link-btn {
  background: rgba(18, 24, 49, 0.8);
  border: 1px solid rgba(246, 197, 98, 0.25);
  color: var(--cream-heading);
}

body.bedtimey-night-theme .control-link-btn:hover {
  border-color: var(--gold-primary);
  background: #1c274c;
  color: var(--gold-primary);
}

/* Modals & Popups (Dark Theme) */
body.bedtimey-night-theme .bs-modal-overlay,
.bs-modal-overlay {
  background-color: rgba(6, 10, 24, 0.8) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

body.bedtimey-night-theme .bs-modal-dialog,
.bs-modal-dialog {
  background: linear-gradient(180deg, #17203d 0%, #0f1629 100%) !important;
  border: 1px solid rgba(246, 197, 98, 0.35) !important;
  color: #fdfaf6 !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 40px rgba(246, 197, 98, 0.08) !important;
  border-radius: 20px !important;
}

body.bedtimey-night-theme .bs-modal-header,
.bs-modal-header {
  border-bottom: 1px solid rgba(246, 197, 98, 0.2) !important;
  padding-bottom: 18px !important;
  margin-bottom: 20px !important;
}

body.bedtimey-night-theme .bs-modal-title,
.bs-modal-title {
  color: var(--cream-heading, #fefae0) !important;
  font-family: var(--font-serif, "Lora", Georgia, serif) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

body.bedtimey-night-theme .bs-modal-close,
.bs-modal-close {
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

body.bedtimey-night-theme .bs-modal-close:hover,
.bs-modal-close:hover {
  color: var(--gold-primary, #f6c562) !important;
  background: rgba(246, 197, 98, 0.16) !important;
  border-color: rgba(246, 197, 98, 0.45) !important;
}

body.bedtimey-night-theme .bs-modal-dialog h4,
.bs-modal-dialog h4,
.modal-section-heading {
  color: var(--gold-primary, #f6c562) !important;
  font-family: var(--font-serif, "Lora", Georgia, serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 14px !important;
}

body.bedtimey-night-theme .bs-modal-dialog label,
.bs-modal-dialog label {
  color: var(--cream-heading, #fefae0) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 7px !important;
  display: block !important;
}

body.bedtimey-night-theme .bs-modal-dialog .form-control,
.bs-modal-dialog .form-control {
  background-color: #0b1022 !important;
  border: 1px solid rgba(246, 197, 98, 0.3) !important;
  color: #fdfaf6 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

body.bedtimey-night-theme .bs-modal-dialog select.form-control,
.bs-modal-dialog select.form-control {
  background-color: #0b1022 !important;
  color: #fdfaf6 !important;
}

body.bedtimey-night-theme .bs-modal-dialog select.form-control option,
.bs-modal-dialog select.form-control option {
  background-color: #0b1022 !important;
  color: #fdfaf6 !important;
}

body.bedtimey-night-theme .bs-modal-dialog .form-control:focus,
.bs-modal-dialog .form-control:focus {
  border-color: var(--gold-primary, #f6c562) !important;
  box-shadow: 0 0 0 3px rgba(246, 197, 98, 0.25) !important;
  outline: none !important;
}

body.bedtimey-night-theme .bs-modal-dialog .form-control:disabled,
.bs-modal-dialog .form-control:disabled {
  background-color: rgba(11, 16, 34, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
}

body.bedtimey-night-theme .bs-modal-dialog .form-text,
.bs-modal-dialog .form-text {
  color: #94a3b8 !important;
  font-size: 13px !important;
  margin-top: 6px !important;
  line-height: 1.4 !important;
}

body.bedtimey-night-theme .bs-modal-dialog div[style*="background: #faf8f5"] {
  background: #0d1224 !important;
  border-color: rgba(246, 197, 98, 0.25) !important;
  color: var(--cream-heading) !important;
}

body.bedtimey-night-theme .bs-modal-dialog strong {
  color: var(--gold-primary) !important;
}

body.bedtimey-night-theme .bs-modal-dialog p,
.modal-section-subtext {
  color: var(--slate-subtext, #cbd5e1) !important;
}

/* Modal Action Buttons */
.btn-modal-cancel {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #e2e8f0 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.btn-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.btn-modal-save {
  background: linear-gradient(135deg, var(--gold-primary, #f6c562) 0%, #e5a93c 100%) !important;
  border: 1px solid var(--gold-primary, #f6c562) !important;
  color: #0b1022 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(246, 197, 98, 0.3) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.btn-modal-save:hover {
  background: linear-gradient(135deg, var(--gold-hover, #fcd34d) 0%, var(--gold-primary, #f6c562) 100%) !important;
  box-shadow: 0 6px 20px rgba(246, 197, 98, 0.45) !important;
  transform: translateY(-1px) !important;
}

.btn-modal-pause {
  background: rgba(246, 197, 98, 0.08) !important;
  border: 1px solid rgba(246, 197, 98, 0.35) !important;
  color: var(--gold-primary, #f6c562) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.btn-modal-pause:hover {
  background: rgba(246, 197, 98, 0.18) !important;
  border-color: var(--gold-primary, #f6c562) !important;
  color: #ffffff !important;
}

.btn-modal-resume {
  background: #059669 !important;
  border: 1px solid #10b981 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.btn-modal-resume:hover {
  background: #047857 !important;
}

/* Admin Night Styles */
body.bedtimey-night-theme .card {
  background: linear-gradient(180deg, #182242 0%, #121831 100%) !important;
  border: 1px solid rgba(246, 197, 98, 0.25) !important;
  color: #fdfaf6 !important;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.bedtimey-night-theme .card h2 {
  color: var(--cream-heading) !important;
}

/* Light high-contrast button styling in night theme */
body.bedtimey-night-theme .btn-outline {
  color: #fdfaf6 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.bedtimey-night-theme .btn-outline:hover,
body.bedtimey-night-theme .btn-outline:active {
  color: var(--gold-primary, #f6c562) !important;
  border-color: var(--gold-primary, #f6c562) !important;
  background: rgba(246, 197, 98, 0.18) !important;
}

body.bedtimey-night-theme .btn-primary {
  color: #121831 !important;
  background-color: var(--gold-primary, #f6c562) !important;
  border-color: var(--gold-primary, #f6c562) !important;
  font-weight: 700 !important;
}

body.bedtimey-night-theme .btn-primary:hover,
body.bedtimey-night-theme .btn-primary:active {
  background-color: #ffd885 !important;
  border-color: #ffd885 !important;
  color: #0b0f1f !important;
}

body.bedtimey-night-theme .btn-gold {
  color: #121831 !important;
  background-color: var(--gold-primary, #f6c562) !important;
  font-weight: 700 !important;
}

body.bedtimey-night-theme table {
  color: #fdfaf6;
  background: #121831;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(246, 197, 98, 0.2);
}

body.bedtimey-night-theme th {
  background: #141c38;
  color: var(--gold-primary);
  border-bottom: 1px solid rgba(246, 197, 98, 0.25);
}

body.bedtimey-night-theme td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--slate-subtext);
}

body.bedtimey-night-theme tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Reader Container Night Styles */
body.bedtimey-night-theme .reader-container {
  background: #121831 !important;
  border: 1px solid rgba(246, 197, 98, 0.25) !important;
  color: #fdfaf6 !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;
}

body.bedtimey-night-theme .reader-container h1 {
  color: var(--cream-heading) !important;
}

body.bedtimey-night-theme .reader-container p {
  color: var(--slate-subtext) !important;
}

body.bedtimey-night-theme .story-text p {
  color: #f1f5f9 !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
  /* Container Padding */
  .container {
    padding: 0 18px !important;
  }

  /* Header & Navigation */
  .site-header .navbar {
    padding: 10px 0;
  }

  .site-header .brand-logo-img,
  .brand-logo-img {
    width: 170px !important;
    max-width: 170px !important;
  }

  .site-header .nav-links {
    gap: 8px;
  }

  .site-header .nav-links a.nav-link {
    display: none;
  }

  .site-header .nav-links a.nav-link-login {
    font-size: 13px;
    padding: 6px 10px;
  }

  .btn-nav-cta {
    font-size: 13px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  /* Celestial Moon on Mobile */
  .celestial-moon-wrapper {
    top: 180px;
    width: 50px;
    height: 50px;
  }

  .celestial-moon-svg {
    opacity: 0.6 !important;
  }

  /* Hero Section */
  .hero-section {
    padding: 44px 0 32px;
  }

  .badge-starlight {
    font-size: 11px;
    padding: 5px 12px;
    letter-spacing: 0.5px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.22;
    margin: 16px 0 14px;
  }

  .hero-subhead {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .hero-cta-group .btn-bedtimey-primary,
  .hero-cta-group .btn-bedtimey-secondary {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15.5px;
  }

  .hero-meta-reassurance {
    font-size: 12px;
    line-height: 1.6;
    padding: 0 10px;
  }

  /* Hero Visual Mockup on Mobile */
  .hero-visual-wrapper {
    margin-top: 32px;
  }

  .dispatch-notification-pill {
    padding: 8px 14px;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
  }

  .notif-title {
    font-size: 12.5px;
  }

  .notif-time-badge {
    display: none;
  }

  .reader-frame {
    border-radius: 18px;
  }

  .reader-frame-topbar {
    padding: 12px 16px;
  }

  .reader-pill-tag {
    font-size: 11px;
    padding: 2px 8px;
  }

  .reader-frame-body {
    padding: 20px 18px 18px;
  }

  .reader-chapter-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .reader-prose {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .reader-frame-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }

  /* General Section Typography & Grids */
  .section-tag {
    font-size: 11px;
    padding: 4px 12px;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .section-subhead {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 32px;
  }

  .comparison-grid,
  .steps-grid,
  .character-grid,
  .safety-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Section 2: Difference & Continuity Timeline */
  .difference-section {
    padding: 55px 0;
  }

  .comparison-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .comparison-card h3 {
    font-size: 20px;
  }

  .comparison-list li {
    font-size: 14px;
    gap: 10px;
    margin-bottom: 12px;
  }

  .child-question-quote {
    font-size: 14px;
    padding: 12px 14px;
    margin-top: 16px;
  }

  .timeline-container {
    margin-top: 36px !important;
    padding: 22px 16px !important;
    border-radius: 16px !important;
  }

  .timeline-title {
    font-size: 19px !important;
    margin-bottom: 18px !important;
  }

  .timeline-list {
    gap: 10px !important;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 12px 14px !important;
  }

  .timeline-badge {
    min-width: auto !important;
    font-size: 11.5px !important;
    padding: 4px 10px !important;
    margin-bottom: 2px !important;
  }

  .timeline-item-title {
    font-size: 14.5px !important;
  }

  .timeline-item-desc {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 3px 0 0 !important;
  }

  /* Section 3: How It Works */
  .how-section {
    padding: 55px 0;
  }

  .steps-flow {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }

  .steps-connector-line {
    display: none;
  }

  .step-item {
    padding: 0;
  }

  .step-badge-glow {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .step-num {
    font-size: 20px;
  }

  .step-title {
    font-size: 19px;
    margin-bottom: 8px;
  }

  .step-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
  }

  .delivery-reassurance-box {
    margin-top: 36px;
    padding: 20px 18px;
    border-radius: 14px;
  }

  .delivery-reassurance-title {
    font-size: 17px;
    gap: 8px;
  }

  .delivery-reassurance-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .delivery-col-label {
    font-size: 14px;
  }

  .delivery-col-desc {
    font-size: 13.5px;
  }

  /* Section 4: Live Sample Experience */
  .sample-section {
    padding: 55px 0;
  }

  .sample-tab-controls {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .sample-tab-btn {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 18px;
    flex: 1 1 140px;
    text-align: center;
  }

  .sample-reading-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .sample-chapter-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .sample-chapter-meta {
    font-size: 11px;
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .sample-chapter-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .sample-chapter-text p {
    margin-bottom: 14px;
  }

  .continuity-highlight-box {
    margin-top: 18px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  /* Section 5: Characters */
  .characters-section {
    padding: 55px 0;
  }

  .character-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .character-avatar {
    font-size: 38px;
    margin-bottom: 10px;
  }

  .character-card h3 {
    font-size: 20px;
  }

  .character-role {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .character-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Story Rhythm / Journey on Mobile */
  .story-rhythm-section {
    padding: 55px 0;
  }

  .story-journey-trail {
    display: none;
  }

  .story-journey-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .journey-node {
    width: 100%;
    max-width: 320px;
    padding: 10px 14px;
    background: rgba(18, 24, 49, 0.45);
    border: 1px solid rgba(246, 197, 98, 0.15);
    border-radius: 16px;
  }

  .journey-desc {
    max-width: 270px;
  }

  .journey-arrow-indicator {
    transform: rotate(90deg);
    margin: -6px 0;
    align-self: center;
    font-size: 18px;
    opacity: 0.7;
  }

  .story-world-takeaway {
    margin-top: 36px;
    padding: 20px 18px;
    border-radius: 14px;
  }

  .takeaway-text {
    font-size: 19px;
  }

  /* Section 6: Safety */
  .safety-section {
    padding: 55px 0;
  }

  .safety-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 28px;
  }

  .safety-card {
    padding: 22px 18px 20px;
    gap: 12px;
    border-radius: 14px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .safety-icon {
    font-size: 30px;
    min-width: 36px;
    height: 36px;
    margin-bottom: 2px;
  }

  .safety-icon-screen {
    width: 36px;
    height: 36px;
  }

  .safety-icon-screen .icon-phone {
    font-size: 30px;
  }

  .safety-icon-screen .icon-cross {
    top: -2px;
    right: -4px;
    font-size: 14px;
  }

  .safety-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
    text-align: center;
  }

  .safety-card p {
    font-size: 13.5px;
    line-height: 1.55;
    text-align: center;
  }

  /* Section 7: Testimonials (Quotes Grid on Mobile) */
  .testimonials-section {
    padding: 55px 0;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .quote-block {
    padding: 24px 20px 20px 22px;
    border-radius: 0 16px 16px 0;
  }

  .quote-symbol {
    font-size: 44px;
    top: 10px;
    right: 14px;
  }

  .quote-stars {
    font-size: 13.5px;
    margin-bottom: 10px;
  }

  .quote-text {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .quote-author-meta {
    padding-top: 12px;
  }

  /* Section 8: Pricing */
  .pricing-section {
    padding: 55px 0;
  }

  .pricing-toggle-wrap {
    margin-bottom: 28px;
    padding: 4px;
  }

  .billing-toggle-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .badge-save {
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 4px;
  }

  .pricing-box {
    padding: 44px 20px 28px !important;
    border-radius: 18px;
  }

  .pricing-ribbon {
    top: -12px;
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    white-space: nowrap !important;
  }

  .pricing-box h3 {
    font-size: 22px;
  }

  .pricing-price {
    font-size: 38px;
  }

  .pricing-period {
    font-size: 15px;
  }

  .pricing-features li {
    font-size: 13.5px;
    gap: 10px;
    margin-bottom: 12px;
    text-align: left;
  }

  /* Section 9: FAQ */
  .faq-section {
    padding: 55px 0;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 15px;
    line-height: 1.4;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  /* Bedtime Horizon Hill & Footer */
  .bedtime-hill-container {
    margin-top: 50px;
  }

  .bedtime-bed-wrapper {
    top: -38px;
  }

  .bedtime-hill-bed-img {
    width: 220px;
    max-width: 75vw;
  }

  .horizon-hill-svg {
    height: 75px;
  }

  .horizon-footer {
    padding: 10px 0 40px;
  }

  .footer-logo-img {
    margin-top: 24px !important;
    width: 170px !important;
    max-width: 170px !important;
    margin-bottom: 14px !important;
  }

  .footer-quote {
    font-size: 17px;
    margin-bottom: 6px;
    padding: 0 10px;
  }

  .footer-subtext {
    font-size: 13px;
    padding: 0 14px;
    margin-bottom: 20px;
  }

  .footer-links {
    gap: 10px 14px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 11.5px;
  }

  /* Onboarding Page Mobile Styles */
  .onboarding-container {
    padding: 32px 16px 50px !important;
  }

  .onboarding-header {
    margin-bottom: 22px !important;
  }

  .onboarding-moon-icon {
    width: 52px !important;
    height: 52px !important;
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }

  .onboarding-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .onboarding-subtitle {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .onboarding-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  .form-grid-2col,
  .form-grid-name-age {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .onboarding-section-title {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }

  .onboarding-section-account {
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
  }

  .onboarding-section-child {
    margin-bottom: 22px !important;
  }

  .onboarding-section-optional {
    margin-bottom: 26px !important;
    padding-top: 18px !important;
  }

  .night-input {
    font-size: 16px !important;
    padding: 12px 14px !important;
  }

  .onboarding-submit-btn {
    font-size: 15.5px !important;
    padding: 14px 16px !important;
    line-height: 1.3 !important;
  }

  .onboarding-guarantee-text {
    font-size: 12px !important;
    margin-top: 14px !important;
    padding: 0 4px !important;
  }
}

/* Extra Compact Phones (under 420px) */
@media (max-width: 420px) {
  .site-header .brand-logo-img,
  .brand-logo-img {
    width: 145px !important;
    max-width: 145px !important;
  }

  .site-header .nav-links a.nav-link-login {
    font-size: 12px;
    padding: 5px 6px;
  }

  .btn-nav-cta {
    font-size: 12px;
    padding: 7px 10px;
  }

  .hero-title {
    font-size: 27px;
  }

  .billing-toggle-btn {
    padding: 6px 9px;
    font-size: 11px;
  }

  .onboarding-container {
    padding: 24px 12px 40px !important;
  }

  .onboarding-card {
    padding: 20px 14px !important;
  }

  .onboarding-title {
    font-size: 22px !important;
  }

  .onboarding-submit-btn {
    font-size: 14.5px !important;
    padding: 13px 12px !important;
  }
}

/* ==========================================================================
   GRANDPARENTS LANDING & GIFT VALUE STYLES
   ========================================================================== */
.story-rhythm-section {
  padding: 72px 0;
  position: relative;
  text-align: center;
}
.story-journey-wrap {
  position: relative;
  margin-top: 36px;
  margin-bottom: 20px;
}
.story-journey-trail {
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(246, 197, 98, 0.25) 12%, 
    rgba(253, 224, 71, 0.4) 50%, 
    rgba(246, 197, 98, 0.25) 88%, 
    transparent 100%
  );
  border-top: 1.5px dashed rgba(251, 191, 36, 0.45);
  z-index: 1;
  pointer-events: none;
}
.story-journey-steps {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.journey-node {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}
.journey-node-orb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a2344 0%, #10162c 100%);
  border: 1.5px solid rgba(246, 197, 98, 0.45);
  box-shadow: 0 0 18px rgba(246, 197, 98, 0.18), inset 0 0 14px rgba(246, 197, 98, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.journey-node:hover .journey-node-orb {
  transform: scale(1.08);
  border-color: rgba(253, 224, 71, 0.7);
  box-shadow: 0 0 24px rgba(253, 224, 71, 0.35);
}
.journey-node-orb.highlight-orb {
  border-color: rgba(253, 224, 71, 0.65);
  box-shadow: 0 0 24px rgba(253, 224, 71, 0.28), inset 0 0 16px rgba(246, 197, 98, 0.2);
}
.journey-glyph {
  font-size: 24px;
  line-height: 1;
}
.journey-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #f6c562;
  margin-top: 14px;
}
.journey-badge.highlight-badge {
  color: #fde047;
}
.journey-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #fdfaf6;
  margin: 5px 0 6px;
  line-height: 1.3;
}
.journey-title.highlight-title {
  color: #fff9ed;
}
.journey-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
  max-width: 215px;
}
.journey-arrow-indicator {
  margin-top: 17px;
  color: rgba(246, 197, 98, 0.65);
  font-size: 19px;
  font-weight: 700;
  flex-shrink: 0;
  user-select: none;
}
.story-world-takeaway {
  position: relative;
  margin-top: 48px;
  padding: 24px 32px;
  background: rgba(22, 30, 56, 0.55);
  border: 1px solid rgba(246, 197, 98, 0.28);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.takeaway-text {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(20px, 3vw, 24px);
  font-style: italic;
  color: #fdfaf6;
  margin: 0;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* Pricing Card Ribbon & Responsive Padding */
.pricing-box-gift {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 30px 36px !important;
  position: relative;
}
.pricing-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-deep) 100%);
  color: #090d1c !important;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 5;
  pointer-events: none;
  line-height: 1.2;
}
.pricing-ribbon-purple {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%) !important;
  color: #1e1b4b !important;
  box-shadow: 0 4px 14px rgba(167, 139, 250, 0.28), 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Centered 3-Column Comparison Grid for 'More than a toy' */
.gift-value-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  gap: 22px;
}
.safety-card-featured {
  border: 2px solid var(--gold-primary) !important;
  background: linear-gradient(180deg, #1d2545 0%, #151d38 100%) !important;
  box-shadow: 0 0 24px rgba(246, 197, 98, 0.18) !important;
}
.safety-title-danger {
  color: #f87171;
}
.safety-title-gold {
  color: var(--gold-primary);
}

@media (max-width: 900px) {
  .gift-value-grid {
    grid-template-columns: 1fr !important;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .story-rhythm-section {
    padding: 55px 0;
  }
  .story-journey-trail {
    display: none;
  }
  .story-journey-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .journey-node {
    width: 100%;
    max-width: 320px;
    padding: 10px 14px;
    background: rgba(18, 24, 49, 0.45);
    border: 1px solid rgba(246, 197, 98, 0.15);
    border-radius: 16px;
  }
  .journey-desc {
    max-width: 270px;
  }
  .journey-arrow-indicator {
    transform: rotate(90deg);
    margin: -6px 0;
    align-self: center;
    font-size: 18px;
    opacity: 0.7;
  }
  .story-world-takeaway {
    margin-top: 36px;
    padding: 20px 18px;
    border-radius: 14px;
  }
  .takeaway-text {
    font-size: 19px;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
  }
  .pricing-box-gift {
    padding: 48px 20px 28px !important;
  }
  .pricing-ribbon {
    top: -12px;
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   ADVENTURE FLOW PROGRESSION (COMPACT VISUAL)
   ========================================================================== */
.adventure-flow-container {
  margin-top: 36px;
  margin-bottom: 24px;
  background: rgba(18, 24, 49, 0.75);
  border: 1px solid rgba(246, 197, 98, 0.25);
  border-radius: 18px;
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.adventure-flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.flow-step {
  display: inline-flex;
  align-items: center;
}

.flow-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(9, 13, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-subtext, #cbd5e1);
  white-space: nowrap;
}

.flow-pill-gold {
  background: rgba(246, 197, 98, 0.14);
  border: 1.5px solid rgba(246, 197, 98, 0.5);
  color: #fef08a;
}

.flow-pill-purple {
  background: rgba(99, 102, 241, 0.14);
  border: 1.5px solid rgba(165, 180, 252, 0.45);
  color: #e0e7ff;
}

.flow-pill-world {
  background: linear-gradient(135deg, rgba(246, 197, 98, 0.2) 0%, rgba(224, 159, 62, 0.25) 100%);
  border: 1.5px solid var(--gold-primary, #f6c562);
  color: #fff9ed;
  box-shadow: 0 0 14px rgba(246, 197, 98, 0.2);
}

.flow-arrow {
  color: var(--gold-primary, #f6c562);
  font-size: 18px;
  font-weight: 700;
  opacity: 0.85;
  user-select: none;
}

.adventure-flow-summary {
  font-family: var(--font-serif, 'Lora', Georgia, serif);
  font-size: 20px;
  font-style: italic;
  color: var(--cream-heading, #fdfaf6);
  margin: 18px 0 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .adventure-flow-container {
    padding: 20px 16px;
    margin-top: 28px;
    margin-bottom: 20px;
  }
  .adventure-flow-steps {
    gap: 8px 10px;
  }
  .flow-pill {
    font-size: 12.5px;
    padding: 7px 13px;
  }
  .flow-arrow {
    font-size: 14px;
  }
  .adventure-flow-summary {
    font-size: 17px;
    margin-top: 14px;
  }
}

