/* books-monetization-1527851.css — Task #1527851
   Tiered access: Pro=1 book, Pro+=all, $99 bundle, paywall gates
   Mobile-first. Supplements books-1527573.css */

/* ─── Hero CTA variants ──────────────────────────────────────── */
.bk-hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}

.bk-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00875A;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 4px 18px rgba(0,135,90,.32);
}
.bk-hero__cta-primary:hover { opacity: .88; transform: translateY(-1px); }

.bk-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid #D1D5DB;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.bk-hero__cta-secondary:hover { color: #00875A; border-color: #00875A; }

.bk-hero__unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ECFDF5;
  color: #047857;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1.5px solid #6EE7B7;
}

.bk-hero__pro-picker-note {
  background: #FFF9EC;
  border: 1.5px solid #FDE68A;
  color: #92400E;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  max-width: 480px;
  text-align: center;
  line-height: 1.5;
}
.bk-hero__pro-picker-note a { color: #00875A; }

/* ─── Book card unlocked state ───────────────────────────────── */
.bk-card--selected {
  border: 2px solid #00875A !important;
  box-shadow: 0 0 0 4px rgba(0,135,90,0.12), 0 8px 32px rgba(0,135,90,0.14) !important;
}

.bk-card__unlocked-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.bk-card__unlocked-check {
  font-size: 15px;
  color: #047857;
}

.bk-card__price--pro {
  color: #047857;
  font-size: 22px;
}

/* ─── Book-picker button (Pro basic: Choose This Book) ───────── */
.bk-btn-choose-book {
  background: linear-gradient(135deg, #00875A, #047857);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  transition: opacity 0.18s;
  letter-spacing: 0.01em;
}
.bk-btn-choose-book:hover:not(:disabled) { opacity: 0.88; }
.bk-btn-choose-book:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ─── Tiers section ──────────────────────────────────────────── */
.bk-tiers {
  background: #F3F4F6;
  padding: 64px 24px;
  margin-top: 0;
}

.bk-tiers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1060px;
  margin: 40px auto 0;
}
@media (min-width: 640px) {
  .bk-tiers__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .bk-tiers__grid { grid-template-columns: repeat(3, 1fr); }
}

.bk-tier-card {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.bk-tier-card--featured {
  border-color: #00875A;
  box-shadow: 0 6px 32px rgba(0,135,90,.18);
  background: linear-gradient(180deg, #ECFDF5 0%, #fff 80px);
}

.bk-tier-card__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00875A;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.bk-tier-card__tag--value {
  background: linear-gradient(135deg, #00875A, #047857);
}

.bk-tier-card__price {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 800;
  color: #0A0A0A;
  margin-top: 12px;
  line-height: 1;
}
.bk-tier-card__price span {
  font-size: 18px;
  font-weight: 500;
  color: #6B7280;
  font-family: 'DM Sans', sans-serif;
}

.bk-tier-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-top: 6px;
  margin-bottom: 12px;
}

.bk-tier-card__book-perk {
  font-size: 14px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.bk-tier-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.bk-tier-card__features li {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.4;
}

.bk-tier-card__cta {
  display: block;
  background: #00875A;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.18s;
  box-shadow: 0 4px 14px rgba(0,135,90,.25);
}
.bk-tier-card__cta:hover { opacity: .88; }
.bk-tier-card__cta--bundle {
  background: linear-gradient(135deg, #00875A, #047857);
  font-size: 15px;
  padding: 15px 20px;
  box-shadow: 0 6px 20px rgba(0,135,90,.32);
}

.bk-tier-card__note {
  font-size: 12px;
  color: #9CA3AF;
  text-align: center;
  margin: 8px 0 0;
}

/* ─── Bundle purchased confirmation ─────────────────────────── */
.bk-bundle-success {
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
  color: #047857;
  font-weight: 700;
  text-align: center;
  padding: 16px 24px;
  border-radius: 10px;
  margin: 24px auto;
  max-width: 520px;
  font-size: 16px;
}

/* ─── Paywall gate (book reader) ─────────────────────────────── */
.bk-paywall {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #E5E7EB;
  padding: 40px 32px;
  margin: 32px 0;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.bk-paywall__blur-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 180px;
  margin-bottom: 32px;
}
.bk-paywall__blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.7) 40%, rgba(255,255,255,.98) 100%);
}
.bk-paywall__progress {
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.bk-paywall__progress-bar {
  height: 4px;
  width: 140px;
  background: #E5E7EB;
  border-radius: 99px;
  overflow: hidden;
  display: inline-block;
}
.bk-paywall__progress-fill {
  height: 100%;
  background: #00875A;
  border-radius: 99px;
  width: 33%; /* 3 of 9 chapters */
}
.bk-paywall__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.bk-paywall__sub {
  font-size: 16px;
  color: #4B5563;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Stacked paywall CTAs */
.bk-paywall__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.bk-paywall__cta-primary {
  display: block;
  background: #7c3aed;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.18s;
  box-shadow: 0 5px 20px rgba(124,58,237,.35);
}
.bk-paywall__cta-primary:hover { opacity: .88; }
.bk-paywall__cta-primary--label {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.bk-paywall__cta-bundle {
  display: block;
  background: #00875A;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.bk-paywall__cta-bundle:hover { opacity: .88; }
.bk-paywall__cta-single {
  display: block;
  background: #fff;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid #D1D5DB;
  transition: border-color 0.15s, color 0.15s;
}
.bk-paywall__cta-single:hover { border-color: #374151; }

/* ─── Pro book picker (inside book reader) ───────────────────── */
.bk-pro-picker {
  background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
  border: 2px solid #6EE7B7;
  border-radius: 14px;
  padding: 28px 24px;
  margin: 24px 0;
  text-align: center;
}
.bk-pro-picker__headline {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 8px;
}
.bk-pro-picker__sub {
  font-size: 14px;
  color: #047857;
  margin-bottom: 20px;
  line-height: 1.5;
}
.bk-pro-picker__btn {
  display: inline-block;
  background: #00875A;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s;
  box-shadow: 0 4px 14px rgba(0,135,90,.25);
}
.bk-pro-picker__btn:hover:not(:disabled) { opacity: .88; }
.bk-pro-picker__btn:disabled { opacity: .6; cursor: wait; }
.bk-pro-picker__alt {
  margin-top: 12px;
  font-size: 13px;
  color: #6B7280;
}
.bk-pro-picker__alt a { color: #7c3aed; font-weight: 600; }

/* ─── Social proof grid ──────────────────────────────────────── */
.bk-proof {
  padding: 64px 24px;
  background: #fff;
}
.bk-proof__inner { max-width: 1060px; margin: 0 auto; }
.bk-proof__header { text-align: center; margin-bottom: 40px; }
.bk-proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .bk-proof__grid { grid-template-columns: repeat(3, 1fr); } }

.bk-proof__card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px 20px;
}
.bk-proof__stars { color: #F59E0B; font-size: 16px; margin-bottom: 12px; }
.bk-proof__quote {
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 16px;
  font-style: italic;
}
.bk-proof__author { font-weight: 700; color: #111827; font-size: 14px; }
.bk-proof__location { font-size: 12px; color: #9CA3AF; margin: 2px 0 8px; }
.bk-proof__amount {
  font-size: 13px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ─── Section header ─────────────────────────────────────────── */
.bk-section-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 24px;
}
.bk-section-header__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00875A;
  margin-bottom: 8px;
}
.bk-section-header__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #0A0A0A;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.bk-section-header__sub {
  font-size: 16px;
  color: #4B5563;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Cross-sell CTA (injected on other pages) ───────────────── */
.bk-xsell {
  background: #0a2540;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.18s;
}
.bk-xsell:hover { opacity: .9; }
.bk-xsell__icon { font-size: 28px; flex-shrink: 0; }
.bk-xsell__body { flex: 1; min-width: 160px; }
.bk-xsell__title { font-weight: 700; font-size: 15px; color: #fff; line-height: 1.3; }
.bk-xsell__sub { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 3px; }
.bk-xsell__cta {
  background: #00875A;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.bk-xsell:hover .bk-xsell__cta { opacity: .88; }

@media (max-width: 480px) {
  .bk-xsell { gap: 10px; }
  .bk-xsell__cta { width: 100%; text-align: center; margin-top: 6px; }
}
