/* ==========================================================================
   THE 3 AM MENOPAUSE BELLY RESET - PRE-STYLE DESIGN SYSTEM
   Theme: Calmer-Luxury (Serene Night Plum, Healthy Sage Green, Warm Cream)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* HSL Color System */
  --bg-primary: #faf8fb;       /* Warm Plum Cream */
  --bg-secondary: #ffffff;     /* Solid White */
  --bg-dark: #1b1019;          /* Serene Midnight Plum */
  --bg-dark-panel: #261623;    /* Secondary Dark Panel */
  
  --primary: #4a253e;          /* Luxurious Deep Plum */
  --primary-hover: #5c2f4e;
  --primary-rgb: 74, 37, 62;
  
  --accent: #607d66;           /* Calming Healthy Sage Green */
  --accent-hover: #4e6653;
  --accent-soft: #f1f6f2;
  
  --rose: #d69c9c;             /* Warm Blush / Rose Gold */
  --rose-soft: #fbf6f6;
  
  --text-primary: #2c1928;     /* Rich Charcoal Plum */
  --text-secondary: #5e4757;   /* Charcoal Slate Plum */
  --text-light: #ffffff;
  --text-light-muted: #c2b5be;
  
  --border: #ebdce6;
  --border-light: rgba(235, 220, 230, 0.3);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  
  /* Shadows & Layout */
  --shadow-sm: 0 4px 12px rgba(74, 37, 62, 0.04);
  --shadow-md: 0 12px 32px rgba(74, 37, 62, 0.07);
  --shadow-lg: 0 24px 64px rgba(74, 37, 62, 0.12);
  --shadow-dark: 0 16px 48px rgba(0, 0, 0, 0.4);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem; }

/* Grid & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 8px 24px rgba(74, 37, 62, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 37, 62, 0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-light);
  box-shadow: 0 8px 24px rgba(96, 125, 102, 0.2);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(96, 125, 102, 0.3);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg-primary);
  transform: translateY(-2px);
}

/* Pulsing animated button class for highly converting CTA */
.pulse-cta {
  position: relative;
  z-index: 1;
}

.pulse-cta::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 40px;
  background: rgba(74, 37, 62, 0.15);
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.1); opacity: 0; }
}

/* Header & Navbar */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  transition: var(--transition);
}

header.sticky {
  position: fixed;
  background-color: rgba(250, 248, 253, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  background: radial-gradient(circle at 80% 20%, #f4eef5 0%, var(--bg-primary) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(74, 37, 62, 0.06);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tag svg {
  color: var(--accent);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: rgba(214, 156, 156, 0.3);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 90%;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  background-color: var(--border);
  margin-right: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

.hero-avatar:nth-child(1) { background-color: #a3b899; }
.hero-avatar:nth-child(2) { background-color: #d8b2b2; }
.hero-avatar:nth-child(3) { background-color: #c9b1c6; }
.hero-avatar:nth-child(4) { background-color: #b1bcc9; }

.hero-proof-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-proof-text strong {
  color: var(--text-primary);
}

/* 3D Book Cover styling with animations */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-back {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 156, 156, 0.4) 0%, rgba(250, 248, 253, 0) 70%);
  filter: blur(30px);
  z-index: 1;
  animation: slow-glow 8s infinite alternate;
}

@keyframes slow-glow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

.book-wrapper {
  position: relative;
  z-index: 2;
  perspective: 1200px;
  transition: var(--transition);
}

.book-wrapper:hover {
  transform: translateY(-8px) rotateY(-4deg);
}

.book-cover-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 4px 16px 16px 4px;
  box-shadow: 0 20px 40px rgba(74, 37, 62, 0.25), -6px 0 12px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Pain Points Section */
.pain {
  background-color: var(--bg-secondary);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.pain-card {
  background-color: var(--bg-primary);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(214, 156, 156, 0.15);
  color: #c07a7a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.pain-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pain-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* The Solution Section */
.solution {
  background-color: var(--bg-primary);
  background: linear-gradient(180deg, var(--bg-primary) 0%, #f3edf4 100%);
}

.solution-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.solution-badge {
  display: inline-block;
  background-color: rgba(96, 125, 102, 0.1);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.solution-title {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.solution-desc {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.solution-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  background-color: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-text strong {
  color: var(--text-primary);
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.bullet-text p {
  font-size: 0.9rem;
}

/* What's Inside Section */
.inside {
  background-color: var(--bg-secondary);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.inside-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.inside-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.inside-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(74, 37, 62, 0.15);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.inside-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.inside-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.inside-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-core { background-color: rgba(74, 37, 62, 0.08); color: var(--primary); }
.badge-bonus { background-color: rgba(214, 156, 156, 0.15); color: #b66a6a; }

/* Interactive Preview Section */
.preview-banner {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 50px;
  color: var(--text-light);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.preview-content h3 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.preview-content p {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* Testimonials / Reviews Section */
.reviews {
  background-color: var(--bg-primary);
}

.reviews-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stars {
  color: #ffb547;
  font-size: 0.95rem;
}

.review-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.review-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(74, 37, 62, 0.05);
  padding-top: 16px;
}

.user-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(74, 37, 62, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.user-info h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.user-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Urgent Pricing / Checkout Section */
.pricing {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 120px 0;
  background: radial-gradient(circle at 10% 20%, #291827 0%, var(--bg-dark) 80%);
}

.pricing h2, .pricing h3 {
  color: var(--text-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pricing-info h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.pricing-subtitle {
  color: var(--text-light-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
}

.value-check {
  color: var(--rose);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-text h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
}

.value-text p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* Pricing Card Component */
.pricing-card-wrapper {
  perspective: 1000px;
}

.pricing-card {
  background: var(--bg-dark-panel);
  border: 1px solid rgba(235, 220, 230, 0.15);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: 'BEST VALUE';
  position: absolute;
  top: 24px;
  right: -36px;
  background-color: var(--rose);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.pricing-timer {
  background: rgba(214, 156, 156, 0.1);
  border: 1px solid rgba(214, 156, 156, 0.2);
  color: var(--rose);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.timer-countdown {
  font-family: monospace;
  font-size: 0.95rem;
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.pricing-prices {
  margin: 20px 0 30px;
}

.price-old {
  font-size: 1.4rem;
  text-decoration: line-through;
  color: var(--text-light-muted);
  margin-right: 12px;
}

.price-new {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-serif);
}

.pricing-card .btn {
  width: 100%;
  margin-bottom: 24px;
}

.pricing-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.pricing-guarantees p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-guarantees p svg {
  color: var(--accent);
}

/* FAQ Section */
.faq {
  background-color: var(--bg-secondary);
}

.faq-max {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-primary);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-secondary);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-secondary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background-color: var(--primary);
  color: var(--text-light);
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-panel p {
  padding: 0 30px 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer styling */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-info p {
  color: var(--text-light-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-info .logo {
  color: var(--text-light);
}

.footer-info .logo-icon {
  background-color: var(--rose);
  color: var(--bg-dark);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--rose);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 900px;
  margin: 0 auto 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--rose);
  color: var(--bg-dark);
}

/* ==========================================================================
   INTERACTIVE OVERLAYS & MODALS
   ========================================================================== */

/* Sneak Peek Modal */
.sneak-peek-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 16, 25, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sneak-peek-modal {
  background-color: var(--bg-primary);
  width: 90%;
  max-width: 750px;
  height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border);
}

.sneak-peek-header {
  padding: 24px 30px;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sneak-peek-header h3 {
  font-size: 1.3rem;
}

.sneak-peek-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.sneak-peek-close:hover {
  color: var(--primary);
}

.sneak-peek-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 40px;
  background-color: var(--bg-secondary);
}

.reader-page {
  display: none;
  animation: page-fade 0.4s ease;
}

.reader-page.active {
  display: block;
}

@keyframes page-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reader-page-header {
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.reader-page-num {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

.reader-page-title {
  font-size: 1.6rem;
  margin-top: 6px;
}

.reader-content {
  font-size: 1.05rem;
  line-height: 1.7;
}

.reader-content p {
  margin-bottom: 20px;
}

.reader-content h3 {
  font-size: 1.25rem;
  margin: 30px 0 15px;
}

.reader-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.reader-content li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.reader-blur {
  margin-top: 30px;
  padding: 40px 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(250, 248, 253, 0) 0%, var(--bg-primary) 70%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  position: relative;
}

.reader-blur::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(0deg, var(--bg-secondary) 0%, rgba(255, 255, 255, 0) 100%);
}

.reader-blur p {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.sneak-peek-footer {
  padding: 20px 30px;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reader-controls {
  display: flex;
  gap: 12px;
}

.reader-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.reader-btn:hover:not(:disabled) {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.reader-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Secure Checkout Modal Overlay */
.checkout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 16, 25, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkout-modal {
  background-color: var(--bg-secondary);
  width: 95%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border);
}

.checkout-modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-modal-header h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.checkout-modal-close:hover {
  color: var(--primary);
}

.checkout-modal-body {
  padding: 30px;
  max-height: 80vh;
  overflow-y: auto;
}

.checkout-summary {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px dashed var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.summary-row:last-child {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
}

/* Card Inputs styling */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 37, 62, 0.08);
}

/* Card brand container */
.card-input-wrapper {
  position: relative;
}

.card-brand-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.checkout-secure-badge {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.checkout-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Success State Screen inside Checkout Modal */
.checkout-success-screen {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
}

.checkout-success-screen h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.checkout-success-screen p {
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.success-details {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  border: 1px solid var(--border);
  margin-bottom: 30px;
}

.success-details h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.success-details ul {
  list-style: none;
  font-size: 0.9rem;
}

.success-details li {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.success-details li:last-child {
  margin-bottom: 0;
}

/* loading state indicator */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-guarantee {
    justify-content: center;
  }
  
  .hero-social-proof {
    justify-content: center;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .solution-title {
    font-size: 2.2rem;
  }
  
  .preview-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px;
  }
  
  .preview-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .pricing-info {
    text-align: center;
  }
  
  .value-list {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-info p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav {
    display: none; /* Mobile menu would sit here, kept clean for single product conversions */
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .pain-grid {
    grid-template-columns: 1fr;
  }
  
  .inside-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-filter-bar {
    flex-wrap: wrap;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .faq-trigger {
    padding: 20px;
    font-size: 1.1rem;
  }
  
  .faq-panel p {
    padding: 0 20px 20px;
  }
  
  .sneak-peek-modal, .checkout-modal {
    width: 95%;
    height: 90vh;
  }
  
  .sneak-peek-body {
    padding: 20px;
  }
}

/* ==========================================================================
   ENHANCED THEME-SPECIFIC CUSTOM STYLE BLOCKS
   ========================================================================== */

/* Nightlight Mode Variable Overrides */
[data-theme="nightlight"] {
  --bg-primary: #180f16;       /* Comforting dark slate plum */
  --bg-secondary: #231621;     /* Warm dark charcoal panel */
  --text-primary: #f2e8f0;     /* Soft glowing white */
  --text-secondary: #cfc0cc;   /* Soft warm lavender slate */
  --border: #3b2438;
  
  --primary: #f3a8d1;          /* Soft glowing lavender pink */
  --primary-hover: #ffc2e3;
  --accent: #fbc274;           /* Serene night candle orange/gold */
  --accent-hover: #fcd296;
  --accent-soft: rgba(251, 194, 116, 0.12);
  --rose: #f3a8d1;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
}

[data-theme="nightlight"] body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="nightlight"] h1, 
[data-theme="nightlight"] h2, 
[data-theme="nightlight"] h3, 
[data-theme="nightlight"] h4 {
  color: var(--text-primary);
}

[data-theme="nightlight"] p {
  color: var(--text-secondary);
}

[data-theme="nightlight"] header.sticky {
  background-color: rgba(24, 15, 22, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="nightlight"] .logo {
  color: var(--primary);
}

[data-theme="nightlight"] .logo-icon {
  background-color: var(--primary);
  color: var(--bg-primary);
}

[data-theme="nightlight"] nav a {
  color: var(--text-secondary);
}

[data-theme="nightlight"] nav a:hover {
  color: var(--primary);
}

[data-theme="nightlight"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

[data-theme="nightlight"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

[data-theme="nightlight"] .pain-card, 
[data-theme="nightlight"] .inside-card, 
[data-theme="nightlight"] .review-card,
[data-theme="nightlight"] .faq-item,
[data-theme="nightlight"] .filter-btn {
  background-color: var(--bg-secondary);
  border-color: var(--border);
  color: var(--text-primary);
}

[data-theme="nightlight"] .filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-primary);
}

[data-theme="nightlight"] .faq-item.active {
  border-color: var(--primary);
  background-color: var(--bg-primary);
}

[data-theme="nightlight"] .hero-tag {
  background-color: rgba(243, 168, 209, 0.1);
  color: var(--primary);
}

[data-theme="nightlight"] .bullet-icon {
  background-color: var(--accent-soft);
  color: var(--accent);
}

[data-theme="nightlight"] .inside-num {
  color: rgba(243, 168, 209, 0.2);
}

[data-theme="nightlight"] .preview-banner {
  border: 1px solid rgba(243, 168, 209, 0.2);
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
  background: rgba(74, 37, 62, 0.08);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary);
  transition: var(--transition);
  outline: none;
}

.theme-toggle-btn:hover {
  background: rgba(74, 37, 62, 0.15);
  transform: scale(1.05);
}

/* Circadian Cortisol Quiz Section */
.quiz-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.quiz-container {
  max-width: 680px;
  margin: 0 auto;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-md);
}

.quiz-progress {
  height: 6px;
  background-color: var(--border);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 25%;
  background-color: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
  animation: page-fade 0.4s ease;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  position: relative;
  display: block;
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.quiz-option label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.quiz-option label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.quiz-option input:checked + label {
  border-color: var(--primary);
  background-color: rgba(74, 37, 62, 0.04);
}

[data-theme="nightlight"] .quiz-option input:checked + label {
  background-color: rgba(243, 168, 209, 0.05);
}

.quiz-option input:checked + label::before {
  border-color: var(--primary);
  background-color: var(--primary);
  box-shadow: inset 0 0 0 4px var(--bg-primary);
}

.quiz-results {
  display: none;
  text-align: center;
  animation: page-fade 0.5s ease;
}

.quiz-score-wrapper {
  margin: 24px auto 30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-secondary) 60%, rgba(96, 125, 102, 0.1) 100%);
  border: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  animation: slow-glow 4s infinite alternate;
}

.quiz-score-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.quiz-score-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.quiz-results h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.quiz-results p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 30px;
}

.quiz-discount-box {
  background-color: var(--accent-soft);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
}

.quiz-discount-box h5 {
  font-family: var(--font-sans);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 21-Day Transformation Timeline styling */
.timeline-section {
  background-color: var(--bg-primary);
}

.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.timeline-tab-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 40px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text-secondary);
  outline: none;
}

.timeline-tab-btn:hover, .timeline-tab-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(96, 125, 102, 0.2);
}

.timeline-content-pane {
  display: none;
  animation: page-fade 0.5s ease;
}

.timeline-content-pane.active {
  display: block;
}

.timeline-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.timeline-step-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-step-card::before {
  content: '';
  position: absolute;
  top: 34px;
  right: 30px;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: rgba(96, 125, 102, 0.1);
  font-weight: 700;
}

.timeline-step-card:nth-child(1)::before { content: 'Day 1'; }
.timeline-step-card:nth-child(2)::before { content: 'Day 3'; }
.timeline-step-card:nth-child(3)::before { content: 'Day 7'; }

.timeline-pane-2 .timeline-step-card:nth-child(1)::before { content: 'Day 8'; }
.timeline-pane-2 .timeline-step-card:nth-child(2)::before { content: 'Day 12'; }
.timeline-pane-2 .timeline-step-card:nth-child(3)::before { content: 'Day 14'; }

.timeline-pane-3 .timeline-step-card:nth-child(1)::before { content: 'Day 15'; }
.timeline-pane-3 .timeline-step-card:nth-child(2)::before { content: 'Day 18'; }
.timeline-pane-3 .timeline-step-card:nth-child(3)::before { content: 'Day 21'; }

.timeline-step-card h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  padding-right: 60px;
}

.timeline-step-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Hormone Spike Visual Graphic (CSS bar/line chart) */
.hormone-graphic-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 30px;
}

.hormone-graphic-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hormone-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 150px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
  position: relative;
  margin-bottom: 20px;
}

.hormone-chart::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(74, 37, 62, 0.15);
  z-index: 1;
}

[data-theme="nightlight"] .hormone-chart::before {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.hormone-chart-bar {
  flex-grow: 1;
  max-width: 32px;
  background-color: rgba(96, 125, 102, 0.25);
  border-radius: 4px 4px 0 0;
  position: relative;
  z-index: 2;
  transition: height 0.6s ease;
}

.hormone-chart-bar.spike {
  background: linear-gradient(180deg, var(--rose) 0%, rgba(214, 156, 156, 0.3) 100%);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 4px rgba(214, 156, 156, 0.2); }
  100% { box-shadow: 0 0 16px rgba(214, 156, 156, 0.6); }
}

.hormone-chart-bar.spike::after {
  content: '3 AM Spike';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rose);
  white-space: nowrap;
}

.chart-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.8rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.color-healthy { background-color: rgba(96, 125, 102, 0.5); }
.color-spike { background-color: var(--rose); }

@media (max-width: 768px) {
  .timeline-step-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-step-card::before {
    font-size: 1.5rem;
    top: 24px;
    right: 24px;
  }
  
  .quiz-step h3 {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   MOBILE-FIRST BOTTOM DRAWER CHECKOUT & REAL MEDIA LAYOUTS
   ========================================================================== */

/* 2-Column Empathy Pain Section Grid */
.pain-main-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.pain-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-height: 400px;
}

.pain-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pain-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(27, 16, 25, 0) 0%, rgba(27, 16, 25, 0.85) 100%);
  padding: 30px 24px;
  color: var(--text-light);
}

.pain-visual-overlay span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

/* 2-Column Timeline Section layouts */
.timeline-pane-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.timeline-step-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-visual-side {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
}

.timeline-side-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.timeline-side-caption {
  padding: 24px 30px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-side-caption strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.timeline-side-caption p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Bottom Drawer slide-up Checkout Modal for Mobile Devices (Fast Checkout) */
@media (max-width: 576px) {
  .checkout-overlay {
    align-items: flex-end; /* Align modal to bottom of viewport */
  }

  .checkout-modal {
    width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  /* Trigger smooth slide up when overlay becomes visible */
  .checkout-overlay.active .checkout-modal {
    transform: translateY(0);
  }

  .checkout-modal-body {
    padding: 24px 20px 40px; /* More padding at bottom for safe mobile tap areas */
  }

  .pain-main-layout {
    grid-template-columns: 1fr;
  }

  .pain-visual-card {
    min-height: 300px;
  }

  .timeline-pane-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline-side-img {
    height: 200px;
  }
}

/* ==========================================================================
   ULTRA-PREMIUM BEAUTY & MOBILE-FIRST EXTRA DESIGNS
   ========================================================================== */

/* Shimmer Animation for Pulse CTA Buttons */
.pulse-cta {
  position: relative;
  overflow: hidden !important;
}

.pulse-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: button-shimmer 5s infinite ease-in-out;
  z-index: 5;
}

@keyframes button-shimmer {
  0% { left: -150%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

/* Glassmorphism & Ambient Glow for Quiz Container */
.quiz-container {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  position: relative;
}

[data-theme="nightlight"] .quiz-container {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1c111a 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-lg), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Premium Card hover glowing outline border transition */
.pain-card, .inside-card, .review-card, .faq-item {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pain-card:hover, .inside-card:hover, .review-card:hover {
  border-color: rgba(96, 125, 102, 0.35); /* sage accent hint */
  box-shadow: 0 20px 48px rgba(74, 37, 62, 0.09);
}

[data-theme="nightlight"] .pain-card:hover, 
[data-theme="nightlight"] .inside-card:hover, 
[data-theme="nightlight"] .review-card:hover {
  border-color: rgba(243, 168, 209, 0.25); /* glowing pink lavender hint */
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* Sticky Floating Bottom Bar for Mobile fast checkout (hidden on desktop) */
.mobile-floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(74, 37, 62, 0.12);
  padding: 12px 20px 24px; /* safe bottom padding for modern screens */
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
  opacity: 0;
}

[data-theme="nightlight"] .mobile-floating-cta {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

.mobile-floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.mobile-cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-cta-thumb {
  width: 44px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
}

.mobile-cta-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-cta-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #ffb547;
  font-weight: 700;
}

.mobile-cta-rating span {
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 2px;
}

.mobile-cta-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mobile-price-new {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-sans);
}

[data-theme="nightlight"] .mobile-price-new {
  color: var(--primary);
}

.mobile-price-old {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-secondary);
}

.mobile-cta-btn {
  padding: 10px 20px !important;
  font-size: 0.9rem !important;
  border-radius: 30px !important;
  background-color: var(--accent) !important;
  color: var(--text-light) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(96, 125, 102, 0.25) !important;
}

.mobile-cta-btn:hover {
  background-color: var(--accent-hover) !important;
  transform: translateY(-1px) !important;
}

[data-theme="nightlight"] .mobile-cta-btn {
  background-color: var(--accent) !important;
  color: #1b1019 !important; /* contrast on dark mode with candle orange/gold */
  box-shadow: 0 4px 14px rgba(251, 194, 116, 0.25) !important;
}

/* Hide on desktop, show only on mobile portrait */
@media (min-width: 769px) {
  .mobile-floating-cta {
    display: none !important;
  }
}



