/* ==========================================================================
   Fat Loss Ebook Landing Page - Pure Vanilla CSS Design System
   Palette: Warm Ivory (#F7F3E8), Forest Green (#1F3D2B), Turmeric (#D9A441), Chili Red (#B5482F)
   ========================================================================== */

/* Google Fonts Import: Fraunces (Headlines) & Inter (Body) & Space Mono (Data) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..800;1,9..144,400..800&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* Colors */
  --bg-warm-ivory: #F7F3E8;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F0EAE1;
  --primary-forest: #1F3D2B;
  --primary-forest-dark: #14291D;
  --accent-turmeric: #D9A441;
  --accent-turmeric-light: #F2D283;
  --accent-chili: #B5482F;
  --accent-chili-hover: #963821;
  --text-charcoal: #221F1A;
  --text-muted: #5C574F;
  --border-hairline: rgba(217, 164, 65, 0.3);
  --border-light: #E2DACD;

  /* Typography */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --container-max: 1140px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(34, 31, 26, 0.05);
  --shadow-md: 0 8px 24px rgba(31, 61, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 61, 43, 0.12);
  --shadow-cta: 0 8px 24px rgba(181, 72, 47, 0.3);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-warm-ivory);
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  padding-bottom: 75px; /* Space for sticky bottom CTA bar */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-spacing {
  padding: 5.5rem 0;
}

/* Thali Hairline Divider */
.thali-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3.5rem 0;
}

.thali-divider::before {
  content: '';
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-turmeric), transparent);
}

.thali-divider-icon {
  position: absolute;
  background: var(--bg-warm-ivory);
  padding: 0 1.25rem;
  color: var(--accent-turmeric);
  display: flex;
  align-items: center;
}

/* Typography Styles */
h1, h2, h3, .heading-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-forest);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  margin-bottom: 1.25rem;
}

.subheadline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(31, 61, 43, 0.08);
  color: var(--primary-forest);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(31, 61, 43, 0.15);
}

.mono-num {
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Header & Announcement Bar */
.announcement-bar {
  background-color: var(--primary-forest);
  color: var(--bg-warm-ivory);
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.announcement-bar .highlight {
  color: var(--accent-turmeric);
  font-weight: 700;
}

/* Buttons & CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--accent-chili);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.15rem 2.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  width: 100%;
  max-width: 440px;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--accent-chili-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(181, 72, 47, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glow-ring {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  animation: shine 3s infinite;
}

@keyframes shine {
  100% { transform: translateX(100%); }
}

/* Sticky Mobile-Friendly Bottom CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(31, 61, 43, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--accent-turmeric);
  padding: 0.85rem 1.25rem;
  z-index: 999;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.sticky-cta-bar.active {
  transform: translateY(0);
}

.sticky-cta-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta-info {
  display: flex;
  flex-direction: column;
}

.sticky-cta-title {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.sticky-cta-price .old-price {
  font-family: var(--font-mono);
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-right: 0.4rem;
}

.sticky-cta-price .new-price {
  font-family: var(--font-mono);
  color: var(--accent-turmeric);
  font-weight: 700;
  font-size: 1.15rem;
}

.sticky-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-chili);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(181, 72, 47, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.sticky-btn-primary:hover {
  background-color: var(--accent-chili-hover);
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .sticky-cta-info {
    display: none;
  }
  .sticky-cta-container {
    justify-content: center;
  }
  .sticky-btn-primary {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 1.1rem;
  }
}

/* Section: HERO */
.hero-section {
  padding: 3rem 0 4.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .subheadline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Signature Element: DAY COUNTER PROGRESS STRIP */
/* Generous spacing & flexible min-height so NO TEXT IS CUT OFF */
.day-counter-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.day-counter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.day-counter-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary-forest);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.day-counter-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(217, 164, 65, 0.15);
  color: var(--primary-forest);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
}

.day-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.25rem 0;
}

.day-strip-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--border-light);
  z-index: 1;
  transform: translateY(-50%);
}

.day-strip-fill {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 5%;
  height: 4px;
  background: var(--accent-turmeric);
  z-index: 1;
  transform: translateY(-50%);
  transition: width 0.4s ease;
}

.day-node {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.day-node.active {
  border-color: var(--accent-turmeric);
  background: var(--primary-forest);
  color: #FFFFFF;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(31, 61, 43, 0.25);
}

/* FLEXIBLE PREVIEW CARD: Spacious padding & auto height ensures 100% text visibility */
.day-preview-card {
  background: var(--bg-warm-ivory);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--accent-turmeric);
  transition: opacity 0.25s ease;
  min-height: 135px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.day-preview-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-forest);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.day-preview-desc {
  font-size: 0.925rem;
  color: var(--text-charcoal);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .day-counter-container {
    padding: 1.5rem 1.25rem;
    min-height: 310px;
  }
  .day-preview-card {
    padding: 1.25rem;
    min-height: 155px;
  }
}

.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

.hero-mockup-wrapper:hover .hero-mockup-img {
  transform: translateY(-6px);
}

.hero-float-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--primary-forest);
  color: #FFFFFF;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--accent-turmeric);
}

.hero-float-badge .price-old {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 0.9rem;
}

.hero-float-badge .price-new {
  color: var(--accent-turmeric);
  font-size: 1.3rem;
  font-weight: 700;
}

/* ==========================================================================
   CAROUSEL SLIDER ENGINE (SPACIOUS & FULLY VISIBLE)
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 0.5rem;
  display: flex;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--primary-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.carousel-arrow:hover {
  background: var(--primary-forest);
  color: var(--accent-turmeric);
  border-color: var(--accent-turmeric);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(31, 61, 43, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 26px;
  border-radius: 12px;
  background: var(--accent-turmeric);
}

.dark-dots .dot {
  background: rgba(255, 255, 255, 0.3);
}

.dark-dots .dot.active {
  background: var(--accent-turmeric);
}

.dark-dots .carousel-arrow {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: var(--border-hairline);
}

.dark-dots .carousel-arrow:hover {
  background: var(--accent-turmeric);
  color: var(--primary-forest);
}

/* Section: PROBLEM */
.problem-section {
  background-color: #FAF7F0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  position: relative;
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-chili);
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: rgba(181, 72, 47, 0.1);
  color: var(--accent-chili);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Section: WHAT'S INSIDE GRID */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.inside-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.inside-card:hover {
  border-color: var(--accent-turmeric);
  box-shadow: var(--shadow-md);
}

.inside-icon {
  width: 52px;
  height: 52px;
  background: rgba(31, 61, 43, 0.08);
  color: var(--primary-forest);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.inside-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.inside-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Section: 30-DAY TRANSFORMATION MOTIVATION GALLERY */
.gallery-section {
  background-color: var(--primary-forest-dark);
  color: var(--bg-warm-ivory);
}

.gallery-section h2 {
  color: #FFFFFF;
}

.gallery-section .subheadline {
  color: rgba(247, 243, 232, 0.8);
}

.gallery-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 540px;
  height: auto;
}

.gallery-card:hover {
  border-color: var(--accent-turmeric);
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.05);
}

.gallery-overlay-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-turmeric);
  color: var(--primary-forest-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.gallery-info {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-turmeric);
  margin-bottom: 0.5rem;
}

.gallery-info p {
  font-size: 0.925rem;
  color: rgba(247, 243, 232, 0.85);
  line-height: 1.6;
}

/* Section: REVIEWS WITH EDITABLE PROFILE BADGES */
.reviews-section {
  background-color: #FAF7F0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 290px;
  height: auto;
  transition: border-color 0.3s ease;
}

.review-card:hover {
  border-color: var(--accent-turmeric);
  box-shadow: var(--shadow-md);
}

.star-rating {
  color: #F1C40F;
  font-size: 1.1rem;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.975rem;
  color: var(--text-charcoal);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.client-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.profile-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-forest);
  color: var(--accent-turmeric);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-turmeric);
  flex-shrink: 0;
  overflow: hidden;
}

.profile-avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-name {
  font-weight: 700;
  color: var(--primary-forest);
  font-size: 1.05rem;
}

.client-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Section: PRINTABLE POSTERS SHOWCASE */
.posters-section {
  background: var(--primary-forest);
  color: var(--bg-warm-ivory);
  overflow: hidden;
}

.posters-section h2 {
  color: #FFFFFF;
}

.posters-section .subheadline {
  color: rgba(247, 243, 232, 0.8);
}

.poster-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.poster-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
}

.poster-item:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: var(--accent-turmeric);
}

.poster-img {
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.poster-item h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent-turmeric);
  margin-bottom: 0.4rem;
}

.poster-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* Section: BONUS STACK */
.bonus-card {
  background: var(--bg-card);
  border: 2px solid var(--accent-turmeric);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.bonus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.bonus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--border-light);
}

.bonus-item:last-child {
  border-bottom: none;
}

.bonus-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bonus-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(31, 61, 43, 0.1);
  color: var(--primary-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bonus-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.bonus-val {
  font-family: var(--font-mono);
  color: var(--accent-chili);
  font-weight: 700;
  background: rgba(181, 72, 47, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.bonus-total-bar {
  background: var(--primary-forest);
  color: #FFFFFF;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.bonus-total-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent-turmeric);
  font-weight: 700;
}

/* Section: PRICING & BUY NOW */
.pricing-section {
  background: radial-gradient(circle at center, #FFFDF8 0%, var(--bg-warm-ivory) 100%);
  position: relative;
}

.pricing-box {
  background: var(--bg-card);
  border: 2px solid var(--primary-forest);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pricing-badge-popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-turmeric);
  color: var(--primary-forest);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 1.2rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.price-strike {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-main {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-forest);
}

.timer-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(181, 72, 47, 0.08);
  color: var(--accent-chili);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* Section: FAQ ACCORDION */
.faq-container {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.open {
  border-color: var(--accent-turmeric);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-forest);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-turmeric);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--primary-forest-dark);
  color: rgba(247, 243, 232, 0.7);
  padding: 3.5rem 0 2rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--border-hairline);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent-turmeric);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--bg-warm-ivory);
}

/* Scroll reveal utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   CHECKOUT MODAL & FORM STYLES
   ========================================================================== */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 30, 22, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.checkout-modal-overlay.active .checkout-modal-card {
  transform: translateY(0) scale(1);
}

.checkout-modal-header {
  background: var(--primary-forest);
  color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent-turmeric);
}

.checkout-modal-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-modal-close {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.checkout-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.checkout-modal-body {
  padding: 1.5rem;
  max-height: 85vh;
  overflow-y: auto;
}

/* Order Summary Box inside Modal */
.checkout-order-summary {
  background: var(--bg-warm-ivory);
  border: 1px dashed var(--accent-turmeric);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-summary-details {
  display: flex;
  flex-direction: column;
}

.checkout-summary-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-forest);
  line-height: 1.3;
}

.checkout-summary-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-summary-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-chili);
  white-space: nowrap;
}

/* Form Groups & Inputs */
.checkout-form-group {
  margin-bottom: 1.15rem;
}

.checkout-form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-charcoal);
  margin-bottom: 0.4rem;
}

.checkout-label-mandatory {
  background: rgba(181, 72, 47, 0.12);
  color: var(--accent-chili);
  font-size: 0.725rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.checkout-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.checkout-input-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
}

.checkout-input {
  width: 100%;
  padding: 0.8rem 0.8rem 0.8rem 2.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-charcoal);
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-input:focus {
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 3px rgba(31, 61, 43, 0.12);
}

.checkout-input.input-error {
  border-color: var(--accent-chili);
  background: rgba(181, 72, 47, 0.03);
}

.checkout-input.input-error:focus {
  box-shadow: 0 0 0 3px rgba(181, 72, 47, 0.15);
}

.checkout-field-error {
  color: var(--accent-chili);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
  font-weight: 500;
}

.checkout-field-error.active {
  display: block;
}

/* Alert Banner */
.checkout-alert-error {
  background: rgba(181, 72, 47, 0.1);
  border: 1px solid var(--accent-chili);
  color: var(--accent-chili);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: none;
}

.checkout-alert-error.active {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pay Button inside Modal */
.checkout-pay-btn {
  width: 100%;
  background-color: var(--accent-chili);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-cta);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}

.checkout-pay-btn:hover {
  background-color: var(--accent-chili-hover);
  transform: translateY(-1px);
}

.checkout-pay-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.checkout-security-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 600px) {
  .checkout-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .checkout-modal-card {
    max-height: 90vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    transform: translateY(100%);
  }
}
