/* ═══════════════════════════════════════════════════════════
   SHAADI SAATHI — Premium Wedding Marketplace Document
   Design System: Sahara Dusk × Rosewood Library
   Fonts: Cormorant Garamond (display) + Plus Jakarta Sans (body)
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --gold:        #C9956B;
  --gold-light:  #E6C07B;
  --gold-pale:   #F9F3EB;
  --rose:        #7D3C50;
  --rose-dark:   #4A1C2B;
  --rose-light:  #C9A87C;
  --cream:       #F2EDE4;
  --cream-dark:  #E8DDD0;
  --ink:         #2C1810;
  --ink-mid:     #5C3D2E;
  --ink-light:   #8B6355;
  --white:       #FEFCF9;
  --green:       #2D6A4F;
  --green-light: #B7E4C7;
  --blue:        #1B4F72;
  --blue-light:  #AED6F1;
  --red:         #922B21;
  --red-light:   #F5B7B1;
  --haldi:       #F4A300;
  --haldi-light: #FFF3CD;
  --mehendi:     #4A7C59;
  --mehendi-light: #D4EDDA;
  --shaadi:      #8B1A4A;
  --shaadi-light: #F8D7E3;
  --reception:   #1A3A5C;
  --reception-light: #D1ECF1;

  --font-display: 'Cormorant Garamond', 'Noto Sans Devanagari', serif;
  --font-body:    'Plus Jakarta Sans', 'Noto Sans Devanagari', sans-serif;
  --font-hindi:   'Noto Sans Devanagari', sans-serif;

  --shadow-sm:  0 2px 8px rgba(44,24,16,0.08);
  --shadow-md:  0 4px 20px rgba(44,24,16,0.12);
  --shadow-lg:  0 8px 40px rgba(44,24,16,0.18);
  --radius:     12px;
  --radius-sm:  8px;
}

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

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* ── Print Setup ── */
@media print {
  body { background: white; font-size: 11pt; }
  .page-break-after { page-break-after: always; }
  .no-print { display: none !important; }
  .cover-page, .toc-page, .content-section, .back-cover {
    page-break-inside: avoid;
  }
  table { page-break-inside: auto; }
  tr { page-break-inside: avoid; }
  .ceremony-block { page-break-inside: avoid; }
}

/* ═══════════════════════════════════════════════════════════
   COVER PAGE
   ═══════════════════════════════════════════════════════════ */
.cover-page {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--rose-dark) 0%, #6B1E35 40%, var(--rose) 70%, var(--gold) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}

.cover-mandala {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(230,192,123,0.15);
  box-shadow:
    0 0 0 40px rgba(230,192,123,0.05),
    0 0 0 80px rgba(230,192,123,0.04),
    0 0 0 120px rgba(230,192,123,0.03),
    0 0 0 160px rgba(230,192,123,0.02);
}

.cover-mandala::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(230,192,123,0.2);
  background: radial-gradient(circle, rgba(230,192,123,0.08) 0%, transparent 70%);
}

.cover-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
}

.cover-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(230,192,123,0.15);
  border: 1px solid rgba(230,192,123,0.3);
  padding: 6px 20px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 32px;
}

.cover-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.logo-icon { font-size: 2.5rem; }

.logo-text {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.cover-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.cover-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(249,243,235,0.75);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}

.cover-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0 auto 40px;
}

.cover-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(230,192,123,0.2);
  border: 1px solid rgba(230,192,123,0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.cover-meta-item {
  background: rgba(74,28,43,0.6);
  padding: 16px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.meta-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.meta-value {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

.cover-footer {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  font-size: 0.65rem;
  color: rgba(249,243,235,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   TABLE OF CONTENTS
   ═══════════════════════════════════════════════════════════ */
.toc-page {
  min-height: 100vh;
  background: var(--white);
  padding: 60px 60px 80px;
}

.toc-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.toc-chapter {
  display: flex;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: flex-start;
  transition: background 0.2s;
}

.toc-chapter:last-child { border-bottom: none; }

.toc-chapter-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  min-width: 70px;
  padding-top: 4px;
}

.toc-chapter-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 4px;
}

.toc-chapter-content > p {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-bottom: 10px;
}

.toc-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.toc-items span {
  font-size: 0.7rem;
  background: var(--cream);
  color: var(--ink-mid);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--cream-dark);
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--cream-dark);
}

.section-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  min-width: 100px;
}

.section-title-block h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--rose-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.section-title-block p {
  font-family: var(--font-hindi);
  font-size: 0.85rem;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════════════════════ */
.content-section {
  background: var(--white);
  padding: 60px 60px 80px;
  min-height: 100vh;
}

.content-section + .content-section {
  border-top: 8px solid var(--cream);
}

/* ═══════════════════════════════════════════════════════════
   SUBSECTION TITLES
   ═══════════════════════════════════════════════════════════ */
.subsection-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin: 36px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════
   HIGHLIGHT BOXES
   ═══════════════════════════════════════════════════════════ */
.highlight-box {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  align-items: flex-start;
}

.highlight-box.gold {
  background: linear-gradient(135deg, #FFF8EC, #FFF3D6);
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--gold);
}

.highlight-box.blue {
  background: linear-gradient(135deg, #EBF5FB, #D6EAF8);
  border: 1px solid var(--blue-light);
  border-left: 4px solid var(--blue);
}

.highlight-box.green {
  background: linear-gradient(135deg, #EAFAF1, #D5F5E3);
  border: 1px solid var(--green-light);
  border-left: 4px solid var(--green);
}

.highlight-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }

.highlight-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 6px;
}

.highlight-content p {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   TWO / THREE COLUMN GRIDS
   ═══════════════════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

/* ═══════════════════════════════════════════════════════════
   INFO CARDS
   ═══════════════════════════════════════════════════════════ */
.info-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid;
}

.info-card.red {
  background: linear-gradient(135deg, #FEF9F9, #FDEDEC);
  border-color: #F5B7B1;
}

.info-card.green {
  background: linear-gradient(135deg, #F9FEF9, #EAFAF1);
  border-color: var(--green-light);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.82rem;
  color: var(--ink-mid);
  margin-bottom: 12px;
  line-height: 1.6;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card ul li {
  font-size: 0.8rem;
  color: var(--ink-mid);
  padding: 3px 0 3px 16px;
  position: relative;
}

.info-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   MODEL FLOW
   ═══════════════════════════════════════════════════════════ */
.model-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  padding: 28px 32px;
  border-radius: var(--radius);
  margin: 20px 0 32px;
  overflow-x: auto;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.flow-icon { font-size: 1.8rem; margin-bottom: 6px; }

.flow-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.flow-desc {
  font-size: 0.68rem;
  color: rgba(249,243,235,0.65);
  line-height: 1.4;
}

.flow-arrow {
  color: var(--gold-light);
  font-size: 1.4rem;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   DATA TABLES
   ═══════════════════════════════════════════════════════════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table thead tr {
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
}

.data-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.15s;
}

.data-table tbody tr:nth-child(even) {
  background: var(--gold-pale);
}

.data-table tbody tr:hover {
  background: #FFF5E6;
}

.data-table tbody td {
  padding: 11px 16px;
  color: var(--ink-mid);
  vertical-align: top;
  line-height: 1.5;
}

.data-table tbody td strong {
  color: var(--ink);
}

.total-row {
  background: linear-gradient(135deg, #FFF8EC, #FFF3D6) !important;
  border-top: 2px solid var(--gold) !important;
}

.total-row td {
  color: var(--rose-dark) !important;
  font-weight: 600;
}

.highlight-row {
  background: linear-gradient(135deg, var(--shaadi-light), #F0D0DC) !important;
}

.highlight-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rose-dark) !important;
}

/* ═══════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge.silver { background: #E8E8E8; color: #555; border: 1px solid #CCC; }
.badge.gold   { background: #FFF3CD; color: #856404; border: 1px solid #FFD700; }
.badge.platinum { background: #E8D5F5; color: #6A0DAD; border: 1px solid #9B59B6; }
.badge.luxury { background: linear-gradient(135deg, #FFD700, #FFA500); color: #4A1C2B; border: none; }
.badge.blue   { background: var(--blue-light); color: var(--blue); border: 1px solid #85C1E9; }
.badge.green  { background: var(--green-light); color: var(--green); border: 1px solid #82E0AA; }

/* ═══════════════════════════════════════════════════════════
   CEREMONY BLOCKS
   ═══════════════════════════════════════════════════════════ */
.ceremony-block {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.ceremony-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  position: relative;
}

.ceremony-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.ceremony-header p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}

.ceremony-emoji { font-size: 2.5rem; }

.ceremony-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 100px;
}

/* Haldi Theme */
.haldi-theme .ceremony-header {
  background: linear-gradient(135deg, #D4860A, #F4A300, #E8B84B);
}
.haldi-theme .three-col,
.haldi-theme .subsection-title,
.haldi-theme .data-table {
  background: var(--white);
  padding: 20px 28px;
}
.haldi-theme .three-col { padding: 20px 28px 0; }
.haldi-theme .subsection-title { padding: 0 28px; margin: 20px 0 0; }
.haldi-theme .data-table { margin: 0; border-radius: 0; }
.haldi-theme .data-table thead tr {
  background: linear-gradient(135deg, #D4860A, #F4A300);
}

/* Mehendi Theme */
.mehendi-theme .ceremony-header {
  background: linear-gradient(135deg, #1E5631, #2D6A4F, #40916C);
}
.mehendi-theme .three-col,
.mehendi-theme .subsection-title,
.mehendi-theme .data-table {
  background: var(--white);
  padding: 20px 28px;
}
.mehendi-theme .three-col { padding: 20px 28px 0; }
.mehendi-theme .subsection-title { padding: 0 28px; margin: 20px 0 0; }
.mehendi-theme .data-table { margin: 0; border-radius: 0; }
.mehendi-theme .data-table thead tr {
  background: linear-gradient(135deg, #1E5631, #2D6A4F);
}

/* Shaadi Theme */
.shaadi-theme .ceremony-header {
  background: linear-gradient(135deg, #5C0F2E, #8B1A4A, #B5265E);
}
.shaadi-theme .three-col,
.shaadi-theme .subsection-title,
.shaadi-theme .data-table {
  background: var(--white);
  padding: 20px 28px;
}
.shaadi-theme .three-col { padding: 20px 28px 0; }
.shaadi-theme .subsection-title { padding: 0 28px; margin: 20px 0 0; }
.shaadi-theme .data-table { margin: 0; border-radius: 0; }
.shaadi-theme .data-table thead tr {
  background: linear-gradient(135deg, #5C0F2E, #8B1A4A);
}

/* Reception Theme */
.reception-theme .ceremony-header {
  background: linear-gradient(135deg, #0D2137, #1A3A5C, #2E5F8A);
}
.reception-theme .three-col,
.reception-theme .subsection-title,
.reception-theme .data-table {
  background: var(--white);
  padding: 20px 28px;
}
.reception-theme .three-col { padding: 20px 28px 0; }
.reception-theme .subsection-title { padding: 0 28px; margin: 20px 0 0; }
.reception-theme .data-table { margin: 0; border-radius: 0; }
.reception-theme .data-table thead tr {
  background: linear-gradient(135deg, #0D2137, #1A3A5C);
}

/* ═══════════════════════════════════════════════════════════
   REQUIREMENT CARDS
   ═══════════════════════════════════════════════════════════ */
.req-card {
  background: var(--gold-pale);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.req-card h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rose-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cream-dark);
}

.req-card ul {
  list-style: none;
  padding: 0;
}

.req-card ul li {
  font-size: 0.78rem;
  color: var(--ink-mid);
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.4;
}

.req-card ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.55rem;
  top: 5px;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS TIMELINE
   ═══════════════════════════════════════════════════════════ */
.process-timeline {
  position: relative;
  padding-left: 60px;
  margin-bottom: 32px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--rose), var(--gold));
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}

.timeline-num {
  position: absolute;
  left: -52px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gold-light);
}

.timeline-content {
  background: var(--gold-pale);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  flex: 1;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.8rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 10px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--rose-dark);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════
   SOP CARDS
   ═══════════════════════════════════════════════════════════ */
.sop-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sop-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-dark);
}

.sop-icon { font-size: 1.4rem; }

.sop-header h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rose-dark);
}

.sop-card ol {
  padding-left: 18px;
}

.sop-card ol li {
  font-size: 0.78rem;
  color: var(--ink-mid);
  padding: 3px 0;
  line-height: 1.5;
}

.sop-card ol li strong {
  color: var(--rose-dark);
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT FLOW
   ═══════════════════════════════════════════════════════════ */
.payment-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  overflow-x: auto;
}

.payment-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  border: 2px solid;
}

.payment-step.customer { background: #EBF5FB; border-color: #85C1E9; }
.payment-step.escrow   { background: #FFF3CD; border-color: #FFD700; }
.payment-step.platform { background: #EAFAF1; border-color: #82E0AA; }
.payment-step.vendor   { background: var(--shaadi-light); border-color: #F1948A; }

.ps-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.ps-action {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.ps-amount {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rose-dark);
}

.payment-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   PRICING GRID
   ═══════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  border: 2px solid;
}

.pricing-card.basic {
  background: var(--white);
  border-color: var(--cream-dark);
}

.pricing-card.pro {
  background: linear-gradient(145deg, var(--rose-dark), var(--rose));
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.pricing-card.elite {
  background: linear-gradient(145deg, #1A1A2E, #2D1B4E);
  border-color: var(--gold-light);
}

.pricing-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--rose-dark);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-card.basic .pricing-tier { color: var(--ink-light); }
.pricing-card.pro .pricing-tier   { color: var(--gold-light); }
.pricing-card.elite .pricing-tier { color: var(--gold-light); }

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1;
}

.pricing-card.basic .pricing-price { color: var(--rose-dark); }
.pricing-card.pro .pricing-price   { color: var(--white); }
.pricing-card.elite .pricing-price { color: var(--gold-light); }

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.pricing-card ul li {
  font-size: 0.78rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.4;
}

.pricing-card.basic ul li { color: var(--ink-mid); }
.pricing-card.pro ul li   { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.1); }
.pricing-card.elite ul li { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.08); }

.pricing-note {
  font-size: 0.68rem;
  font-style: italic;
  opacity: 0.6;
}

.pricing-card.basic .pricing-note { color: var(--ink-light); }
.pricing-card.pro .pricing-note   { color: var(--gold-light); }
.pricing-card.elite .pricing-note { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════
   CUSTOMER JOURNEY MAP
   ═══════════════════════════════════════════════════════════ */
.journey-map {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 20px 0 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.journey-stage {
  flex: 1;
  min-width: 110px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
}

.journey-icon { font-size: 1.6rem; margin-bottom: 6px; }

.journey-stage-name {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 10px;
}

.journey-touchpoints {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.tp {
  font-size: 0.65rem;
  background: var(--gold-pale);
  color: var(--ink-mid);
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1.3;
}

.journey-emotion {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
}

.journey-emotion.happy { background: #EAFAF1; color: var(--green); }
.journey-emotion.neutral { background: #FFF3CD; color: #856404; }

.journey-connector {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════════
   GTM CARDS
   ═══════════════════════════════════════════════════════════ */
.gtm-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.gtm-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rose-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream-dark);
}

.gtm-card ul {
  list-style: none;
  padding: 0;
}

.gtm-card ul li {
  font-size: 0.78rem;
  color: var(--ink-mid);
  padding: 4px 0 4px 14px;
  position: relative;
  line-height: 1.4;
}

.gtm-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════════════════
   ROADMAP TABLE COLORS
   ═══════════════════════════════════════════════════════════ */
.q1-row td:first-child { border-left: 4px solid #E74C3C; }
.q2-row td:first-child { border-left: 4px solid #F39C12; }
.q3-row td:first-child { border-left: 4px solid #27AE60; }
.q4-row td:first-child { border-left: 4px solid var(--blue); }

/* ═══════════════════════════════════════════════════════════
   RISK BADGES
   ═══════════════════════════════════════════════════════════ */
.risk {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.risk.high   { background: #FDEDEC; color: #C0392B; border: 1px solid #F5B7B1; }
.risk.medium { background: #FEF9E7; color: #D68910; border: 1px solid #FAD7A0; }
.risk.low    { background: #EAFAF1; color: #1E8449; border: 1px solid #A9DFBF; }

/* ═══════════════════════════════════════════════════════════
   BACK COVER
   ═══════════════════════════════════════════════════════════ */
.back-cover {
  min-height: 60vh;
  background: linear-gradient(145deg, var(--ink) 0%, var(--rose-dark) 50%, var(--rose) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 60px;
  text-align: center;
}

.back-mandala {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(230,192,123,0.1);
  box-shadow:
    0 0 0 30px rgba(230,192,123,0.04),
    0 0 0 60px rgba(230,192,123,0.03),
    0 0 0 90px rgba(230,192,123,0.02);
}

.back-content { z-index: 2; max-width: 600px; }

.back-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.back-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  font-style: italic;
}

.back-content p {
  font-size: 0.85rem;
  color: rgba(249,243,235,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}

.back-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-light);
  margin: 0 auto 28px;
  opacity: 0.5;
}

.back-contact {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.back-contact div {
  font-size: 0.8rem;
  color: var(--gold-light);
}

.back-footer {
  font-size: 0.65rem;
  color: rgba(249,243,235,0.3);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════
   PDF EXPORT BUTTON (screen only)
   ═══════════════════════════════════════════════════════════ */
.pdf-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  color: var(--gold-light);
  border: 2px solid var(--gold);
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(74,28,43,0.4);
}

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

@media print {
  .pdf-btn { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS (screen only)
   ═══════════════════════════════════════════════════════════ */
@media screen {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .cover-meta-grid { grid-template-columns: 1fr 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.pro { transform: none; }
  .content-section { padding: 40px 24px 60px; }
  .toc-page { padding: 40px 24px 60px; }
  .model-flow { flex-wrap: wrap; }
  .journey-map { flex-wrap: wrap; }
  .cover-footer { flex-direction: column; gap: 4px; text-align: center; }
  .back-contact { flex-direction: column; gap: 12px; }
}