/* ════════════════════════════════════════════════════════
   Bhajan Lyrics eBook — Styles
   Mobile-first, devotional-modern aesthetic
   ════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────── */

:root {
  --color-bg:          #FFF9F0;
  --color-bg-warm:     #FFF5E6;
  --color-surface:     #FFFFFF;
  --color-surface-alt: #FFFDF8;
  --color-brown:       #43281C;
  --color-brown-light: #5E3A2A;
  --color-saffron:     #A3411A;
  --color-saffron-hover: #8C3615;
  --color-saffron-light: #F5E6DE;
  --color-maroon:      #7A2831;
  --color-gold:        #B68A45;
  --color-gold-light:  #D4B87A;
  --color-gold-faint:  rgba(182, 138, 69, 0.12);
  --color-text:        #3D2B1F;
  --color-text-muted:  #6B5445;
  --color-text-light:  #8C7A6A;
  --color-border:      #E8DDD0;
  --color-border-gold: rgba(182, 138, 69, 0.3);
  --color-success:     #22C55E;
  --color-warning:     #F59E0B;
  --color-error:       #EF4444;

  --font-serif:        'Lora', 'Georgia', serif;
  --font-sans:         'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hindi:        'Noto Serif Devanagari', 'Lora', serif;

  --radius-sm:         6px;
  --radius-md:         10px;
  --radius-lg:         16px;
  --radius-xl:         24px;

  --shadow-sm:         0 1px 3px rgba(67, 40, 28, 0.06);
  --shadow-md:         0 4px 12px rgba(67, 40, 28, 0.08);
  --shadow-lg:         0 8px 32px rgba(67, 40, 28, 0.1);
  --shadow-xl:         0 16px 48px rgba(67, 40, 28, 0.12);

  --container-max:     1080px;
  --header-height:     60px;
  --strip-height:      36px;
  --sticky-bar-height: 56px;
}

/* ── Reset & Base ────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-saffron);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus-visible {
  color: var(--color-saffron-hover);
}

a:focus-visible, button:focus-visible,
details > summary:focus-visible {
  outline: 2px solid var(--color-saffron);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-brown);
  line-height: 1.3;
  font-weight: 600;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* ── Announcement Strip ──────────────────────────────── */

.announcement-strip {
  background: var(--color-brown);
  color: #FFF9F0;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.announcement-strip span {
  display: inline-block;
}

/* ── Header ──────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-brown);
}

.brand-icon {
  font-size: 22px;
  line-height: 1;
}

.brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-brown);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--color-brown);
  background: var(--color-gold-faint);
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only { display: inline-flex; }
  .header-nav { gap: 6px; }
}

/* ── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-saffron);
  color: #fff;
  box-shadow: 0 2px 8px rgba(163, 65, 26, 0.25);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--color-saffron-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(163, 65, 26, 0.3);
  transform: translateY(-1px);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  color: var(--color-brown);
  border-color: var(--color-brown);
  background: var(--color-gold-faint);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .btn-lg {
    padding: 16px 40px;
    font-size: 18px;
  }
}

/* ── Section base ────────────────────────────────────── */

.section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 48px; }
}

.section-title {
  font-size: 24px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .section-title { font-size: 30px; }
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-subtitle { font-size: 17px; }
}

/* ── HERO ────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 40px 0 48px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
}

.hero-bg-motif {
  position: absolute;
  top: -60px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid var(--color-border-gold);
  opacity: 0.3;
  pointer-events: none;
}

.hero-bg-motif::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-border-gold);
}

.hero-bg-motif::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 60px;
  right: 60px;
  bottom: 60px;
  border-radius: 50%;
  border: 1px solid var(--color-border-gold);
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 55% 45%;
    gap: 56px;
  }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-brown);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title { font-size: 38px; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 42px; }
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 18px; }
}

/* Facts row */

.hero-facts {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.fact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fact-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-brown);
  line-height: 1.2;
}

.fact-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.fact-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}

/* Price */

.hero-price {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero-price strong {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--color-saffron);
  font-weight: 700;
}

/* Actions */

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-secondary-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-saffron);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reassurance */

.hero-reassurance {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reassurance-line {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-check {
  flex-shrink: 0;
  color: var(--color-success);
}

.format-note {
  font-size: 13px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.icon-info {
  flex-shrink: 0;
  color: var(--color-text-light);
}

/* ── Hero Visual (eBook Mockup) ──────────────────────── */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ebook-mockup {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0;
  max-width: 380px;
}

.mockup-book {
  position: relative;
  z-index: 2;
  width: 180px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mockup-book { width: 220px; }
}

.cover-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl), 6px 6px 0 var(--color-gold-faint);
  border: 2px solid var(--color-gold);
  object-fit: cover;
}

.mockup-phone {
  position: relative;
  z-index: 1;
  width: 110px;
  margin-left: -24px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mockup-phone {
    width: 130px;
    margin-left: -20px;
  }
}

.phone-frame {
  background: var(--color-surface);
  border-radius: 16px;
  border: 3px solid #333;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  padding-top: 14px;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 14px;
  background: #333;
  border-radius: 0 0 8px 8px;
  z-index: 1;
}

.phone-screen-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.mockup-label {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* ── SAMPLE PREVIEW ──────────────────────────────────── */

.section-preview {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.preview-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .preview-gallery {
    flex-direction: row;
    gap: 24px;
  }
}

.preview-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .preview-thumbnails {
    flex-direction: column;
    overflow-x: visible;
    min-width: 100px;
  }
}

.preview-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 96px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.preview-thumb:hover {
  border-color: var(--color-gold);
}

.preview-thumb.active {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 2px var(--color-saffron-light);
}

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

.preview-page-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

/* Creator photo (real) */

.creator-photo-area {
  flex-shrink: 0;
}

.creator-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid var(--color-border-gold);
  box-shadow: var(--shadow-md);
  display: block;
}

@media (min-width: 768px) {
  .creator-photo {
    width: 130px;
    height: 130px;
  }
}

/* Purchase cover (real) */

.purchase-cover-real {
  position: relative;
  width: 120px;
  flex-shrink: 0;
}

.purchase-cover-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-gold);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.purchase-format-badge-real {
  display: block;
  text-align: center;
  margin-top: 8px;
  background: var(--color-gold-faint);
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
}

.preview-main {
  flex: 1;
}

.preview-page-wrapper {
  position: relative;
}

.preview-page {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .preview-page { min-height: 440px; }
}

.preview-placeholder-full {
  padding: 40px 24px;
  text-align: center;
}

.preview-placeholder-content svg {
  margin: 0 auto 16px;
  opacity: 0.6;
}

.placeholder-text-primary {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.placeholder-text-secondary {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.preview-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.preview-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.preview-nav:hover:not(:disabled) {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
}

.preview-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.preview-counter {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
  min-width: 80px;
  text-align: center;
}

.preview-cta {
  text-align: center;
  padding-top: 8px;
}

.preview-cta-text {
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 14px;
  font-weight: 500;
}

/* ── WHAT'S INCLUDED — Sections Grid ─────────────────── */

.section-contents {
  background: var(--color-bg);
}

.sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sections-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .sections-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 100%;
    gap: 14px;
  }
}

.section-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 12px 16px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.section-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.sections-grid .section-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--color-gold-faint);
  border: 2px solid var(--color-border-gold);
  overflow: hidden;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(182, 138, 69, 0.15);
}

.section-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (min-width: 768px) {
  .sections-grid .section-card-icon {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .sections-grid .section-card-icon {
    width: 88px;
    height: 88px;
  }
}

.section-card-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brown);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .section-card { padding: 20px 14px; }
  .section-card-title { font-size: 14px; }
}

/* ── BENEFITS ────────────────────────────────────────── */

.section-benefits {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.benefits-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  margin-bottom: 14px;
}

.benefit-icon svg {
  margin: 0 auto;
}

.benefit-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-brown);
}

.benefit-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── CREATOR ─────────────────────────────────────────── */

.section-creator {
  background: var(--color-bg);
}

.creator-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .creator-content {
    flex-direction: row;
    text-align: left;
    gap: 32px;
  }
}

.creator-photo-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--color-gold-faint);
  border: 2px solid var(--color-border-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}

.creator-photo-placeholder span {
  font-size: 10px;
  color: var(--color-text-light);
  font-weight: 500;
}

.creator-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .creator-desc { font-size: 17px; }
}

.creator-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 768px) {
  .creator-socials { justify-content: flex-start; }
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface);
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
  background: var(--color-saffron-light);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* ── DELIVERY ────────────────────────────────────────── */

.section-delivery {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
  }
}

.step-item {
  text-align: center;
  padding: 16px;
  flex: 1;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-saffron);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-brown);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .step-title { font-size: 16px; }
}

.step-connector {
  width: 1px;
  height: 24px;
  background: var(--color-border);
}

@media (min-width: 768px) {
  .step-connector {
    width: 48px;
    height: 1px;
    margin-top: 38px;
    flex-shrink: 0;
  }
}

.delivery-note {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-muted);
  margin-top: 20px;
  font-style: italic;
}

/* ── PURCHASE PANEL ──────────────────────────────────── */

.section-purchase {
  background: var(--color-bg-warm);
  position: relative;
  overflow: hidden;
}

.section-purchase::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid var(--color-border-gold);
  opacity: 0.2;
  pointer-events: none;
}

.purchase-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .purchase-panel {
    flex-direction: row;
    padding: 40px 40px;
    gap: 36px;
    align-items: flex-start;
  }
}

.purchase-visual {
  flex-shrink: 0;
}

.purchase-cover-placeholder {
  width: 120px;
  height: 160px;
  background: linear-gradient(145deg, #5E3A2A, var(--color-brown));
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.purchase-cover-placeholder::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(182, 138, 69, 0.3);
  border-radius: 2px;
  pointer-events: none;
}

.purchase-cover-inner {
  text-align: center;
  padding: 10px;
}

.purchase-cover-hindi {
  font-family: var(--font-hindi);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.4;
  margin-bottom: 8px;
}

.purchase-format-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}

.purchase-details {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .purchase-details { text-align: left; }
}

.purchase-heading {
  font-size: 22px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .purchase-heading { font-size: 24px; }
}

.purchase-features {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.purchase-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .purchase-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

.icon-check-sm {
  flex-shrink: 0;
}

.purchase-price-block {
  margin-bottom: 16px;
}

.purchase-price {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-saffron);
}

.purchase-main-btn {
  width: 100%;
  max-width: 320px;
}

.purchase-reassurance {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.purchase-format {
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 500;
  margin-top: 4px;
}

/* ── FAQ ─────────────────────────────────────────────── */

.section-faq {
  background: var(--color-bg);
}

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

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--color-gold);
}

.faq-question {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: '';
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--color-text-light);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.faq-answer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-support-info {
  margin-top: 8px;
  font-size: 14px;
}

/* ── FOOTER ──────────────────────────────────────────── */

.site-footer {
  background: var(--color-brown);
  color: rgba(255, 249, 240, 0.7);
  padding: 36px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .brand-text {
  color: #FFF9F0;
}

.site-footer .brand-icon {
  font-size: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  color: rgba(255, 249, 240, 0.5);
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: var(--color-gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 249, 240, 0.1);
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 249, 240, 0.5);
  transition: color 0.2s;
}

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

.footer-support {
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 249, 240, 0.35);
}

/* ── STICKY BAR ──────────────────────────────────────── */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 249, 240, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(67, 40, 28, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

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

.sticky-bar.hidden-for-checkout {
  transform: translateY(100%) !important;
}

.sticky-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-bar-info {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

.sticky-bar-info strong {
  color: var(--color-saffron);
  font-family: var(--font-serif);
  font-size: 18px;
}

.sticky-bar-btn {
  flex-shrink: 0;
}

/* Add bottom padding to body when sticky bar is visible */
body.has-sticky-bar {
  padding-bottom: calc(var(--sticky-bar-height) + env(safe-area-inset-bottom, 0) + 16px);
}

/* ── MODAL ───────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(67, 40, 28, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

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

.modal-overlay[hidden] {
  display: none;
}

.modal-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 36px 28px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-state {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.modal-state[hidden] {
  display: none;
}

.modal-state h3 {
  font-size: 20px;
  margin: 0;
}

.modal-state p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.modal-state .btn {
  min-width: 200px;
}

.modal-subtext {
  font-size: 13px !important;
  color: var(--color-text-light) !important;
}

.modal-state-icon {
  margin-bottom: 4px;
}

.modal-order-info {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-light);
  background: var(--color-bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  width: 100%;
}

.modal-close-btn {
  margin-top: 4px;
}

.modal-support-line {
  font-size: 13px !important;
  color: var(--color-text-muted) !important;
  background: var(--color-bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  width: 100%;
}

.modal-support-line a {
  color: var(--color-saffron);
  text-decoration: none;
}

/* Spinner */

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-saffron);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ── Utility ─────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Floating Devotional Particles ────────────────────── */

.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  opacity: 0;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

/* Floating petals */
.petal {
  width: 12px;
  height: 16px;
  background: radial-gradient(ellipse at 30% 30%, #E8A87C, #C4653B);
  border-radius: 50% 0 50% 50%;
  animation-name: floatPetal;
  box-shadow: 0 0 4px rgba(182, 138, 69, 0.2);
}

.petal:nth-child(1) { left: 8%; animation-duration: 12s; animation-delay: 0s; width: 10px; height: 13px; }
.petal:nth-child(2) { left: 22%; animation-duration: 15s; animation-delay: 2s; width: 14px; height: 18px; }
.petal:nth-child(3) { left: 42%; animation-duration: 11s; animation-delay: 5s; }
.petal:nth-child(4) { left: 65%; animation-duration: 14s; animation-delay: 1s; width: 9px; height: 12px; }
.petal:nth-child(5) { left: 85%; animation-duration: 13s; animation-delay: 3s; }
.petal:nth-child(6) { left: 52%; animation-duration: 16s; animation-delay: 7s; width: 11px; height: 14px; }

@keyframes floatPetal {
  0%   { transform: translateY(-20px) rotate(0deg) scale(0.8); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { transform: translateY(calc(50vh)) rotate(180deg) scale(1); opacity: 0.4; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(calc(100vh + 20px)) rotate(360deg) scale(0.6); opacity: 0; }
}

/* Glowing diya dots */
.diya-dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation-name: glowDiya;
  box-shadow: 0 0 8px var(--color-gold), 0 0 16px rgba(182, 138, 69, 0.3);
}

.diya-dot:nth-child(7)  { left: 12%; top: 20%; animation-duration: 4s; animation-delay: 0s; }
.diya-dot:nth-child(8)  { left: 78%; top: 35%; animation-duration: 3.5s; animation-delay: 1s; }
.diya-dot:nth-child(9)  { left: 90%; top: 15%; animation-duration: 5s; animation-delay: 2s; width: 4px; height: 4px; }
.diya-dot:nth-child(10) { left: 5%;  top: 60%; animation-duration: 4.5s; animation-delay: 0.5s; width: 5px; height: 5px; }
.diya-dot:nth-child(11) { left: 55%; top: 10%; animation-duration: 3.8s; animation-delay: 1.5s; }
.diya-dot:nth-child(12) { left: 35%; top: 70%; animation-duration: 4.2s; animation-delay: 3s; width: 4px; height: 4px; }

@keyframes glowDiya {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.5); box-shadow: 0 0 12px var(--color-gold), 0 0 24px rgba(182, 138, 69, 0.4); }
}

/* Sparkle stars */
.sparkle {
  width: 3px;
  height: 3px;
  background: var(--color-gold-light);
  border-radius: 50%;
  animation-name: twinkle;
}

.sparkle:nth-child(13) { left: 18%; top: 25%; animation-duration: 2.5s; animation-delay: 0s; }
.sparkle:nth-child(14) { left: 72%; top: 45%; animation-duration: 3s; animation-delay: 0.8s; }
.sparkle:nth-child(15) { left: 45%; top: 15%; animation-duration: 2.8s; animation-delay: 1.5s; }
.sparkle:nth-child(16) { left: 88%; top: 55%; animation-duration: 2.2s; animation-delay: 2s; }
.sparkle:nth-child(17) { left: 30%; top: 75%; animation-duration: 3.2s; animation-delay: 0.3s; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%      { opacity: 0.9; transform: scale(1.3); }
}

/* Floating mini flowers for benefits & purchase sections */
.section-benefits,
.section-purchase {
  position: relative;
  overflow: hidden;
}

.section-benefits::after,
.section-purchase::after {
  content: '✿';
  position: absolute;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  animation: floatFlower 18s ease-in-out infinite;
  color: var(--color-gold);
  right: 5%;
  top: 10%;
}

.section-benefits::before {
  content: '❀';
  position: absolute;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  animation: floatFlower 22s ease-in-out infinite 4s;
  color: var(--color-saffron);
  left: 8%;
  bottom: 15%;
  z-index: 0;
}

@keyframes floatFlower {
  0%, 100% { opacity: 0; transform: translateY(0) rotate(0deg); }
  15%      { opacity: 0.3; }
  50%      { opacity: 0.25; transform: translateY(-30px) rotate(60deg); }
  85%      { opacity: 0.3; }
}

/* Gentle pulse on purchase panel */
.purchase-panel {
  animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% { box-shadow: var(--shadow-lg); }
  50%      { box-shadow: var(--shadow-lg), 0 0 24px rgba(182, 138, 69, 0.12); }
}

/* Soft entrance animations */
.section-header,
.benefit-item,
.section-card,
.step-item,
.faq-item {
  animation: fadeSlideUp 0.6s ease-out both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .particle,
  .section-benefits::after,
  .section-benefits::before,
  .section-purchase::after,
  .purchase-panel {
    animation: none !important;
    opacity: 0 !important;
  }

  .section-header,
  .benefit-item,
  .section-card,
  .step-item,
  .faq-item {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* (Duplicate section-card-icon removed — see .sections-grid .section-card-icon above) */

/* ── Language Toggle Button ──────────────────────────── */

.lang-toggle-btn {
  background: transparent;
  border: 1.5px solid var(--color-border-gold);
  color: var(--color-brown);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.lang-toggle-btn:hover {
  background: var(--color-gold-faint);
  border-color: var(--color-gold);
  color: var(--color-saffron);
}

/* ── Modal Button Size Fix ──────────────────────────── */

.modal-state .btn {
  min-width: 200px;
  padding: 14px 28px;
  font-size: 16px;
  margin-top: 8px;
}

.modal-state .btn-secondary {
  min-width: 160px;
  padding: 12px 24px;
  font-size: 15px;
}

@media (max-width: 480px) {
  .modal-state .btn {
    min-width: unset;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }
  .modal-state .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }
}

/* ── Print ───────────────────────────────────────────── */

@media print {
  .sticky-bar,
  .modal-overlay,
  .announcement-strip,
  .particles-container,
  .site-header { display: none !important; }
}

