:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --blue-pale: #eff6ff;
  --white: #ffffff;
  --cream: #f8f6f2;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --gold: #f59e0b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.header-cta {
  background: var(--blue);
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--blue-dark);
}

/* Hero */
.hero {
  padding: 48px 0 32px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.hero h1 span {
  color: var(--blue);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Book covers */
.book-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin: 40px 0;
  perspective: 800px;
}

.book-cover {
  width: 160px;
  border-radius: 4px 12px 12px 4px;
  box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.2), inset -3px 0 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.book-cover.side {
  width: 130px;
  opacity: 0.85;
  transform: rotateY(8deg) scale(0.92);
}

.book-cover.side.right {
  transform: rotateY(-8deg) scale(0.92);
}

.book-cover.main {
  width: 200px;
  z-index: 2;
  transform: translateY(-12px);
}

.book-cover-inner {
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px;
  position: relative;
}

.book-cover.main .book-cover-inner {
  background: linear-gradient(145deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

.book-cover.side:nth-child(1) .book-cover-inner {
  background: linear-gradient(145deg, #1e3a5f 0%, #2563eb 100%);
}

.book-cover.side.right .book-cover-inner {
  background: linear-gradient(145deg, #312e81 0%, #4338ca 100%);
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.book-title {
  color: white;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.book-cover.main .book-title {
  font-size: 20px;
}

.book-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 500;
  margin-top: 6px;
}

.book-author {
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 500;
}

.book-icon {
  font-size: 28px;
  opacity: 0.9;
}

.bundle-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 8px;
}

.ecourse-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.ecourse-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.ecourse-highlight strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.ecourse-highlight p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.before-after-caption {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: -8px 0 28px;
  line-height: 1.5;
}

.before-after {
  margin: 20px 0 12px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.before-after img {
  width: 100%;
  display: block;
}

.before-after figcaption {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--white);
  font-family: 'Inter', sans-serif;
}

.ba-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ba-label.before { color: #dc2626; }
.ba-label.after { color: #16a34a; }

.before-after-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.before-after-gallery .before-after {
  margin: 0;
}

/* Value props */
.value-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  margin: 32px 0;
  box-shadow: var(--shadow);
}

.value-section h2 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
}

.value-grid {
  display: grid;
  gap: 24px;
}

.value-group h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.value-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
}

.value-item label {
  font-size: 16px;
  cursor: pointer;
}

.value-item.negative label {
  font-weight: 700;
  color: #dc2626;
}

.value-item.positive label {
  font-weight: 700;
  color: var(--blue-dark);
}

/* Credibility */
.credibility {
  text-align: center;
  padding: 32px 0;
}

.credibility-avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid var(--white);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.avatar:first-child {
  margin-left: 0;
}

.credibility p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.credibility strong {
  color: var(--text);
}

/* Pricing CTA */
.pricing-cta {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 100%);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin: 32px 0;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.price-current {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
}

.price-original {
  font-size: 24px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-badge {
  background: #dc2626;
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 18px 40px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  width: 100%;
  max-width: 400px;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Guarantee */
.guarantee-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  margin: 32px 0 48px;
  box-shadow: var(--shadow);
}

.guarantee-seal {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.guarantee-content h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.guarantee-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* What's included */
.included-section {
  padding: 32px 0;
}

.included-section h2 {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.included-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.included-card .book-mini {
  width: 80px;
  margin: 0 auto 12px;
}

.included-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.included-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

@media (max-width: 640px) {
  .book-showcase {
    gap: 10px;
  }

  .book-cover {
    width: 110px;
  }

  .book-cover.main {
    width: 140px;
  }

  .book-cover.side {
    width: 90px;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ===== Advertorial ===== */
.advertorial-page {
  background: #fff;
}

.magazine-header {
  border-bottom: 1px solid var(--border);
}

.magazine-bar {
  background: #0f4c5c;
  color: white;
  text-align: center;
  padding: 14px 20px;
}

.magazine-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.breadcrumb {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.advertorial-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 32px 20px 48px;
  max-width: 1100px;
}

.advertorial-main {
  min-width: 0;
}

.adv-headline {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.adv-deck {
  font-size: 18px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.adv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.adv-byline {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.adv-hero-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.adv-img-placeholder {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
}

.adv-img-placeholder.wide {
  aspect-ratio: 16/7;
  margin: 20px 0;
}

.adv-img-placeholder.small {
  aspect-ratio: 16/10;
  margin-bottom: 12px;
}

.adv-img-placeholder.doctor {
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
}

.adv-body {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
}

.adv-body p {
  margin-bottom: 18px;
}

.adv-subhead {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  line-height: 1.3;
}

.adv-quote {
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--blue-pale);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 16px;
}

.adv-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.adv-value {
  margin: 28px 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.adv-value h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.adv-cta {
  margin: 32px 0;
  text-align: center;
}

.doctor-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--blue-pale);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
}

.doctor-avatar {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  border: 2px solid var(--blue-light);
}

.doctor-avatar.lg {
  width: 72px;
  height: 72px;
  font-size: 36px;
}

.doctor-card h3,
.doctor-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.doctor-title {
  font-size: 13px;
  color: var(--blue-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.doctor-quote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
}

.advertorial-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.sidebar-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
}

.doctor-sidebar {
  text-align: center;
}

.doctor-sidebar .doctor-avatar {
  margin: 0 auto 12px;
}

.sidebar-cta {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
}

.sidebar-list li {
  padding: 6px 0;
  font-size: 14px;
}

/* Reviews */
.reviews-section {
  padding: 48px 20px;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.reviews-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue-dark);
  flex-shrink: 0;
  font-size: 14px;
}

.review-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.verified {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.review-stars {
  color: #f59e0b;
  font-size: 13px;
  margin-bottom: 6px;
}

.review-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.reviews-cta {
  display: block;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 900px) {
  .advertorial-layout {
    grid-template-columns: 1fr;
  }

  .advertorial-sidebar {
    position: static;
  }

  .adv-hero-images {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
