/* ==========================================================================
   30 RAAG eBOOK — page styles
   Same pattern as the 30 Alankaar page: reuses every token, font, radius,
   shadow and button class from css/style.css and only adds the handful of
   rules unique to a book-style product page. (Moved out of an inline <style>
   so the browser can cache it.)
   ========================================================================== */

/* Devanagari text (product title in Hindi, raag names). Fraunces/Inter have no
   Devanagari glyphs, so these elements use Noto Serif Devanagari. */
:lang(hi), .hi { font-family: 'Noto Serif Devanagari', var(--font-display); letter-spacing: 0; }

/* ---------------- Hero ---------------- */
.ebook-hero { padding: 140px 0 90px; overflow: hidden; }
.ebook-hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.ebook-hero-copy .eyebrow { margin-bottom: 16px; }
.ebook-hero-copy h1 { font-size: clamp(38px, 5.4vw, 62px); margin-bottom: 6px; line-height: 1.05; }
.ebook-hero-copy h1 .h1-sub { display: block; font-size: 0.5em; font-weight: 500; color: var(--ink-soft); margin-top: 10px; line-height: 1.2; }
.ebook-hero-hindi { font-size: clamp(17px, 2vw, 20px); font-weight: 600; color: var(--orange-deep); margin: 14px 0 18px; line-height: 1.5; }
.ebook-hero-copy p.lede { font-size: 17px; color: var(--ink-soft); max-width: 520px; margin-bottom: 24px; }
.ebook-hero-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 28px; max-width: 520px; }
.ebook-hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ebook-hero-points svg { color: var(--orange); flex-shrink: 0; }

.ebook-price-block { margin-bottom: 24px; }
.ebook-price-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ebook-price { font-family: var(--font-display); font-size: clamp(36px, 6vw, 46px); font-weight: 800; color: var(--orange); line-height: 1; }
.ebook-price-original { font-size: 18px; font-weight: 600; color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 2px; opacity: 0.75; }
.ebook-price-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ebook-save-badge { display: inline-flex; align-items: center; background: #E7F1EA; color: var(--green); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 100px; }
.ebook-access-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-wash); color: var(--orange-deep);
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 7px 14px; border-radius: 100px;
}
.ebook-countdown { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 12px; }
.ebook-countdown svg { color: var(--gold); flex-shrink: 0; }
.ebook-countdown-time { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--orange); }
[data-offer-timer][hidden] { display: none !important; }
.checkout-timer { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin: -12px 0 20px; }
.summary-price { display: inline-flex; align-items: baseline; gap: 8px; }
.ebook-checkout-price-original, .sticky-original { font-size: 13px; font-weight: 600; color: var(--ink-soft); text-decoration: line-through; opacity: 0.75; }
.sticky-original { font-family: var(--font-body); font-size: 12px; }
.pr-price-original { font-size: 15px; font-weight: 600; color: var(--ink-soft); text-decoration: line-through; opacity: 0.7; }
.ebook-hero .hero-actions { margin-bottom: 18px; }
.ebook-hero-note { font-size: 13.5px; color: var(--ink-soft); }

/* Book showcase — transparent cover floats above a breathing ground shadow
   (same animation as the Alankaar page). */
.ebook-showcase { display: flex; justify-content: center; align-items: center; position: relative; padding: 20px 20px 44px; }
.ebook-showcase::before {
  content: ""; position: absolute; inset: 6% 12% 14%;
  background: radial-gradient(closest-side, rgba(142,27,27,0.18), transparent 72%);
  filter: blur(30px); z-index: 0;
}
.ebook-cover-frame { position: relative; z-index: 2; max-width: 380px; width: 100%; animation: ebook-float 4.5s ease-in-out infinite; }
.ebook-cover-frame img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 22px 18px rgba(43,27,20,0.25)) drop-shadow(0 6px 8px rgba(43,27,20,0.18));
}
.ebook-ground-shadow {
  position: absolute; z-index: 1; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 46%; height: 20px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43,27,20,0.32), transparent 75%);
  filter: blur(7px);
  animation: ebook-shadow-breathe 4.5s ease-in-out infinite;
}
@keyframes ebook-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes ebook-shadow-breathe { 0%, 100% { width: 46%; opacity: 0.9; } 50% { width: 36%; opacity: 0.5; } }

@media (max-width: 980px) {
  .ebook-hero { padding: 110px 0 70px; }
  .ebook-hero .container { grid-template-columns: 1fr; gap: 26px; }
  .ebook-showcase { order: -1; padding: 0 20px 34px; }
  .ebook-cover-frame { max-width: 230px; }
  .ebook-ground-shadow { bottom: 18px; }
}
@media (max-width: 430px) {
  .ebook-hero-points { grid-template-columns: 1fr; }
  .ebook-hero .hero-actions .cta-wrap, .ebook-hero .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .ebook-cover-frame { max-width: 200px; }
}

/* ---------------- Learning path strip ---------------- */
.learn-path { display: flex; align-items: stretch; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.learn-step {
  flex: 1 1 150px; max-width: 200px; min-width: 0;
  background: var(--white); border: 1px solid var(--orange-light); border-radius: var(--radius);
  padding: 16px 14px; text-align: center; box-shadow: var(--shadow-soft);
}
.learn-step .n { display: block; font-family: var(--font-display); color: var(--orange); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.learn-step strong { display: block; font-family: var(--font-display); font-size: 16px; line-height: 1.25; }
.learn-arrow { display: flex; align-items: center; color: var(--orange); font-size: 20px; }
@media (max-width: 760px) {
  .learn-arrow { display: none; }
  .learn-step { flex: 1 1 calc(50% - 10px); max-width: none; }
  .learn-step:last-child { flex-basis: 100%; }
}

/* ---------------- Features / benefits grid ---------------- */
.ebook-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ebook-benefit-grid .benefit-icon { font-size: 22px; }
@media (max-width: 1080px) { .ebook-benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ebook-benefit-grid { grid-template-columns: 1fr; } }

/* ---------------- 30 Raag list ---------------- */
.raag-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.raag-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 10px; text-align: center; min-width: 0;
}
.raag-chip .hi { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.raag-chip .en { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
@media (max-width: 980px) { .raag-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .raag-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------------- Instruments ---------------- */
.instrument-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.instrument-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--orange-light); border-radius: 100px;
  padding: 10px 18px; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-soft);
}
.instrument-chip span[aria-hidden] { font-size: 18px; }
.fine-note { max-width: 640px; margin: 0 auto; text-align: center; font-size: 13.5px; color: var(--ink-soft); }

/* ---------------- How to Read callout ---------------- */
.howto-card {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  background: linear-gradient(135deg, var(--orange-wash) 0%, var(--cream) 100%);
  border: 1px solid var(--orange-light); border-radius: var(--radius-lg);
  padding: 34px 36px;
}
.howto-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: var(--shadow-soft); }
.howto-card h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.howto-card p { color: var(--ink-soft); font-size: 15.5px; }
.howto-card ul { margin-top: 12px; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }
.howto-card li { margin-bottom: 4px; }
@media (max-width: 640px) { .howto-card { grid-template-columns: 1fr; padding: 26px 22px; gap: 14px; } }

/* ---------------- Product info list ---------------- */
.ebook-info-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 40px; max-width: 640px; margin: 0 auto;
}
.ebook-info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ebook-info-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.ebook-info-list li strong { color: var(--ink); }
.ebook-info-list li svg { color: var(--orange); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 430px) { .ebook-info-card { padding: 26px 20px; } }

/* ---------------- Preview viewer (view-only) ---------------- */
.ebook-preview-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 32px; max-width: 520px; margin: 0 auto; text-align: center;
}
.ebook-preview-viewer { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream); aspect-ratio: 720 / 1018; }
.ebook-preview-viewer img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-select: none; pointer-events: none; }
.ebook-preview-watermark {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='110'%3E%3Ctext x='-6' y='68' font-family='Inter, sans-serif' font-size='19' font-weight='700' fill='rgba(43,27,20,0.15)' transform='rotate(-28 85 55)'%3EPREVIEW%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
}
.ebook-preview-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 11px; border-radius: 100px;
}
.ebook-preview-caption { margin-top: 12px; font-size: 14px; font-weight: 600; }
.ebook-preview-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.ebook-preview-nav .slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.ebook-preview-counter { font-size: 14px; font-weight: 600; color: var(--ink-soft); min-width: 54px; }
.ebook-preview-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 430px) { .ebook-preview-card { padding: 20px 16px; } }

/* ---------------- Student reviews (rendered from CONFIG.REVIEWS) ---------------- */
.ebook-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ebook-review-grid .review-card { min-width: 0; width: 100%; }
@media (max-width: 980px) { .ebook-review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ebook-review-grid { grid-template-columns: 1fr; } }

/* ---------------- Checkout ---------------- */
.ebook-checkout-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--orange-wash); border-radius: 12px; padding: 18px 20px; margin-bottom: 26px; flex-wrap: wrap;
}
.ebook-checkout-summary span { min-width: 0; }
.ebook-checkout-summary strong { font-family: var(--font-display); font-size: 22px; }
.form-field input { width: 100%; min-width: 0; }
#checkoutBtn { white-space: normal; }
#checkoutBtn[disabled] { opacity: 0.8; cursor: wait; transform: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff; animation: spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Payment status box (states: info / error / checking / ok) */
.pay-state { display: none; margin-top: 16px; border-radius: 12px; padding: 14px 16px; font-size: 14px; text-align: left; }
.pay-state.show { display: block; }
.pay-state strong { display: block; margin-bottom: 4px; font-size: 15px; }
.pay-state .pay-state-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pay-state .pay-state-actions .btn { padding: 11px 18px; font-size: 14px; }
.pay-state.info { background: var(--cream); border: 1px solid var(--line); color: var(--ink); }
.pay-state.error { background: #FDEDEC; border: 1.5px solid #F1948A; color: #922B21; }
.pay-state.checking { background: #FFF8E1; border: 1.5px solid #F4C95D; color: #6B4E00; }
.pay-state.ok { background: #EAF6EF; border: 1.5px solid #9FD3B4; color: #14563A; }
.pay-help-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--ink-soft); text-decoration: underline; background: none; border: none; cursor: pointer; width: 100%; font-family: var(--font-body); }
.secure-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); }
.secure-row span { display: inline-flex; align-items: center; gap: 6px; }
.secure-row svg { color: var(--orange); }

/* Returning-visitor "checking your previous payment" banner */
.recovery-banner { display: none; position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 880;
  width: min(560px, calc(100% - 32px)); background: #FFF8E1; border: 1.5px solid #F4C95D; color: #6B4E00;
  border-radius: 12px; padding: 12px 16px; font-size: 14px; box-shadow: var(--shadow-soft); }
.recovery-banner.show { display: block; }

/* Sticky mobile CTA (markup is new on this page; .sticky-cta styles come from style.css) */
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta { transition: transform 0.3s var(--ease); }
.sticky-cta .btn { padding: 12px 18px; font-size: 14px; }

/* ---------------- Payment recovery popup (same as Alankaar) ---------------- */
.pay-recovery-overlay {
  position: fixed; inset: 0; z-index: 1100; background: rgba(20, 16, 12, 0.72);
  display: flex; align-items: center; justify-content: center; padding: 12px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.pay-recovery-overlay.open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity 0.25s var(--ease); }
.pay-recovery {
  position: relative; width: 100%; max-width: 440px;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(43,27,20,0.28);
  padding: 26px 22px 22px; text-align: center;
}
.pay-recovery-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pr-icon { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 12px; background: var(--orange-wash); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; }
.pay-recovery h3 { font-size: 22px; margin-bottom: 6px; }
.pr-lede { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.pr-warning { background: #FFF8E1; border: 1px solid #F4C95D; color: #6B4E00; border-radius: 10px; padding: 10px 12px; font-size: 13px; text-align: left; margin-bottom: 14px; }
.pr-or { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.pr-or::before, .pr-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pr-amount { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.pr-amount strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.pr-block { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.pr-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 10px; }
.pr-qr { display: block; margin: 0 auto; width: min(220px, 62vw); height: auto; border-radius: 14px; background: #F3D38F; }
.pr-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.pr-upi-row { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px dashed var(--orange); border-radius: 12px; padding: 8px 8px 8px 14px; }
.pr-upi-id { flex: 1; min-width: 0; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); word-break: break-all; user-select: all; -webkit-user-select: all; }
.pr-copy-btn { flex-shrink: 0; background: var(--orange); color: #fff; border: none; border-radius: 100px; padding: 10px 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.pr-copied { min-height: 18px; margin-top: 8px; font-size: 13px; font-weight: 700; color: #1F7A4D; }
.pr-apps { margin-top: 16px; }
.pr-apps-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.pr-app-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pr-app-top, .pr-app-row { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.pr-app { display: inline-flex; align-items: center; justify-content: center; }
.pr-app img { height: 34px; width: auto; display: block; object-fit: contain; }
.pr-app-top .pr-app img { height: 38px; }
.pr-app-text { font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--cream); }
.pr-payee { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius); background: #EAF6EF; border: 1px solid #9FD3B4; font-size: 13px; color: #14563A; text-align: left; }
.pr-payee strong { color: #0F4A31; letter-spacing: 0.04em; }
.pr-payee span { display: block; margin-top: 3px; font-size: 12px; color: #3F6B55; }
.pr-after { text-align: left; font-size: 14px; color: var(--ink); margin-top: 16px; }
.pr-wa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #1F7A4D; color: #fff; border-radius: 100px; padding: 14px 18px; font-weight: 700; font-size: 14.5px; margin: 10px 0 12px; text-align: center; }
.pr-steps { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.pr-steps li::before { content: "✓ "; color: var(--orange); font-weight: 700; }
.pr-support { margin-top: 14px; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.pr-support-actions { display: flex; gap: 8px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }
.pr-support-actions a { border: 1.5px solid var(--line); border-radius: 100px; padding: 8px 14px; font-weight: 700; color: var(--ink); font-size: 13px; }
@media (max-width: 380px) { .pay-recovery { padding: 22px 16px 18px; } .pr-upi-id { font-size: 15px; } }

/* Floating "Payment trouble?" button — same ring animation as Alankaar, but it
   is only revealed AFTER a checkout attempt did not complete (less clutter, and
   it can't tempt someone into paying twice before they've tried at all). */
@property --pr-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.pay-help-float {
  position: fixed; right: 24px; bottom: 104px; z-index: 861;
  padding: 2px; border: none; border-radius: 100px; cursor: pointer;
  background: conic-gradient(from var(--pr-angle), rgba(142,27,27,0.15) 0deg, var(--orange) 70deg, #E9C98B 110deg, rgba(142,27,27,0.15) 170deg, rgba(142,27,27,0.15) 360deg);
  animation: pr-spin 4s linear infinite;
  box-shadow: 0 10px 26px rgba(142,27,27,0.28);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pay-help-float[hidden] { display: none; }
.pay-help-float-inner { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 100px; padding: 11px 18px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.pay-help-float-inner .pay-here { color: var(--gold-light); }
.pay-help-float:hover { transform: translateY(-2px); }
.pay-help-float:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 3px; }
.pay-help-float.is-tucked { opacity: 0; pointer-events: none; transform: translateY(8px); }
@keyframes pr-spin { to { --pr-angle: 360deg; } }
@media (max-width: 760px) {
  .pay-help-float { right: 16px; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .pay-help-float-inner { padding: 10px 15px; font-size: 13px; }
}

/* ---------------- Success page ---------------- */
.success-body { background: var(--cream); }
.success-wrap { max-width: 620px; margin: 0 auto; padding: 60px 20px 90px; }
.success-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 40px 32px; text-align: center; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--orange-wash); color: var(--orange); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.success-icon.checking { background: #FFF8E1; color: #B7860B; }
.success-icon.bad { background: #FDEDEC; color: #C0392B; }
.ebook-mini-cover { width: 110px; height: auto; margin: 0 auto 16px; filter: drop-shadow(0 14px 12px rgba(43,27,20,0.22)); }
.lifetime-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--orange-wash); color: var(--orange-deep); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 7px 14px; border-radius: 100px; margin: 14px 0 20px; }
.download-box { background: var(--orange-wash); border-radius: 14px; padding: 22px 20px; margin: 6px 0 4px; }
.download-box p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.download-box .btn { white-space: normal; }
.success-status { font-size: 14.5px; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 10px; }
.success-status .spinner { border-color: rgba(229,104,0,0.25); border-top-color: var(--orange-deep); }
.support-box { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-align: left; font-size: 14px; margin: 22px 0 0; color: var(--ink-soft); }
.support-box strong { display: block; color: var(--ink); margin-bottom: 4px; }
.btn-whatsapp-support { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #1F7A4D; color: #fff; border: none; border-radius: 100px; padding: 12px 20px; font-weight: 700; font-size: 14px; cursor: pointer; margin-top: 10px; }
.detail-list { text-align: left; font-size: 14px; color: var(--ink-soft); margin-top: 20px; }
.detail-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.detail-list strong { word-break: break-all; text-align: right; color: var(--ink); }
@media (max-width: 430px) { .success-card { padding: 30px 20px; } }

/* ---------------- Policy pages ---------------- */
.policy-wrap { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.policy-wrap h1 { font-size: 32px; margin-bottom: 24px; }
.policy-wrap h2 { font-size: 19px; margin: 30px 0 10px; }
.policy-wrap p, .policy-wrap li { color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; line-height: 1.7; }
.policy-wrap ul { padding-left: 20px; }
.policy-wrap a { color: var(--orange-deep); text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--orange-deep); text-decoration: none !important; }


/* ==========================================================================
   RAAG THEME ACCENTS (maroon · forest green · antique gold on parchment)
   ========================================================================== */
.eyebrow { color: var(--green); }
.eyebrow::before { background: var(--gold); }
.ebook-hero-hindi { color: var(--green); }
.logo span { color: var(--orange); }
.why-num, .learn-step .n { color: var(--gold-text); }
.benefit-card:hover { border-color: var(--gold); }
.review-card .stars { color: var(--gold); }
.ebook-hero { background: radial-gradient(ellipse at 85% 30%, #F6ECDD 0%, transparent 60%), var(--white); }
.ebook-showcase::before { background: radial-gradient(closest-side, rgba(184,134,43,0.22), transparent 72%); }
.highlight-banner { background: linear-gradient(135deg, #F6ECDD 0%, #FBF5EA 100%); }
footer a:hover { color: var(--gold-light); }
.faq-q .plus { color: var(--gold-text); }

/* ==========================================================================
   MAIN CTA — richer button + sargam / instrument notes rising from behind
   ========================================================================== */
.cta-wrap { position: relative; display: inline-flex; isolation: isolate; max-width: 100%; }
.cta-wrap.cta-block { display: flex; width: 100%; }
.btn-cta {
  position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(135deg, #A62424 0%, #8E1B1B 55%, #6E1212 100%);
  border: 1px solid rgba(233,201,139,0.55);
  box-shadow: 0 10px 26px rgba(142,27,27,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  padding: 17px 30px; font-size: 16px; letter-spacing: 0.01em;
}
.btn-cta:hover { background: linear-gradient(135deg, #B02828 0%, #8E1B1B 60%, #5E0F0F 100%); box-shadow: 0 16px 34px rgba(142,27,27,0.42), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn-cta .cta-arrow { transition: transform 0.25s var(--ease); }
.btn-cta:hover .cta-arrow { transform: translateX(4px); }
/* soft shine that sweeps across every few seconds */
.btn-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,240,210,0.35), transparent);
  transform: skewX(-18deg); animation: cta-shine 4.5s ease-in-out infinite; pointer-events: none;
}
@keyframes cta-shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.btn-cta[disabled]::after { animation: none; display: none; }

.cta-notes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cta-note {
  position: absolute; bottom: 30%; font-size: 17px; line-height: 1; color: var(--gold-text);
  opacity: 0; will-change: transform, opacity;
  animation: cta-rise 3s ease-out forwards;
}
.cta-note.hi { font-family: 'Noto Serif Devanagari', serif; font-weight: 600; color: var(--orange); font-size: 16px; }
@keyframes cta-rise {
  0%   { transform: translate(0, 0) rotate(0) scale(0.7); opacity: 0; }
  15%  { opacity: 0.95; }
  70%  { opacity: 0.55; }
  100% { transform: translate(var(--dx, 0), -70px) rotate(var(--rot, 0)) scale(1); opacity: 0; }
}
@media (max-width: 430px) { .btn-cta { padding: 16px 20px; font-size: 15px; } }

/* ==========================================================================
   FLOATING "Payment failed? — Pay here" — always visible, highlighted,
   full text on every screen size, sits just above the WhatsApp button.
   ========================================================================== */
.pay-help-float { box-shadow: 0 10px 26px rgba(142,27,27,0.35), 0 0 0 0 rgba(233,201,139,0.6); animation: pr-spin 4s linear infinite, pay-glow 2.4s ease-in-out infinite; }
.pay-help-float-inner { background: var(--ink); border: 1px solid rgba(233,201,139,0.35); }
.pay-dot { width: 8px; height: 8px; border-radius: 50%; background: #E0453A; box-shadow: 0 0 0 0 rgba(224,69,58,0.7); animation: pay-dot 1.6s ease-out infinite; flex-shrink: 0; }
@keyframes pay-dot { 0% { box-shadow: 0 0 0 0 rgba(224,69,58,0.7); } 100% { box-shadow: 0 0 0 9px rgba(224,69,58,0); } }
@keyframes pay-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(233,201,139,0)); } 50% { filter: drop-shadow(0 0 10px rgba(233,201,139,0.55)); } }
.pay-help-float.attn { animation: pr-spin 4s linear infinite, pay-glow 1.2s ease-in-out infinite; }
@media (max-width: 760px) {
  .pay-help-float-inner { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 340px) { .pay-help-float-inner { font-size: 12px; padding: 9px 12px; gap: 6px; } }
