@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

:root {
  --ink: #1a1a2e;
  --ivory: #faf9f7;
  --warm: #f0ebe3;
  --accent: #e8521a;
  --accent-light: #f07340;
  --slate: #16213e;
  --mid: #636680;
  --rule: rgba(232,82,26,0.2);
}

/* === BASE === */
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
}
h3, h4 { font-weight: 600; }

h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.6rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === PASSWORD GATE === */
#password-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.gate-card {
  background: var(--slate);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 64px 56px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.gate-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.gate-tagline {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.38);
  margin-bottom: 40px;
}
.gate-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  color: var(--ivory);
  margin-bottom: 10px;
}
.gate-sub {
  font-size: 14px;
  color: rgba(245,242,236,0.5);
  margin-bottom: 32px;
  line-height: 1.7;
}
#gate-input {
  width: 100%;
  padding: 15px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  color: var(--ivory);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.2s;
  display: block;
}
#gate-input:focus { border-color: var(--accent); }
#gate-input::placeholder { color: rgba(255,255,255,0.28); }
.gate-btn {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.gate-btn:hover { background: var(--accent-light); }
#gate-error {
  display: none;
  font-size: 13px;
  color: #e06060;
  margin-top: 12px;
}
#gate-error.visible { display: block; }

/* === NAV === */
.course-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px;
  height: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-back {
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,242,236,0.55);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-back:hover { color: var(--ivory); text-decoration: none; }
.nav-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,82,26,0.12);
  border: 1px solid rgba(232,82,26,0.25);
  padding: 6px 14px;
  border-radius: 20px;
}

/* === PROGRESS BAR === */
.progress-bar-wrap { height: 3px; background: rgba(232,82,26,0.12); }
.progress-bar-fill { height: 100%; background: var(--accent); }

/* === WELCOME HERO === */
.welcome-hero {
  background: var(--ink);
  padding: 72px 72px 72px;
  position: relative;
  overflow: hidden;
}
.welcome-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 200px; height: 3px;
  background: var(--accent);
}
.welcome-hero-inner {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 72px;
}
.hero-left { flex: 1; min-width: 0; }
.hero-right { flex-shrink: 0; }

.hero-stats-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 36px 40px;
  min-width: 260px;
}
.welcome-stat { margin-bottom: 28px; }
.welcome-stat:last-of-type { margin-bottom: 0; }
.hero-stats-note {
  font-size: 11px;
  color: rgba(245,242,236,0.25);
  letter-spacing: 0.07em;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.welcome-hero h1 { color: var(--ivory); margin-bottom: 24px; }
.welcome-hero .lead {
  font-size: 16px;
  color: rgba(245,242,236,0.62);
  line-height: 1.8;
  margin-bottom: 0;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245,242,236,0.38);
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* === COURSE INTRO BOX === */
.intro-box-wrap { background: var(--warm); padding: 48px 72px; }
.intro-box {
  background: rgba(232,82,26,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 32px 40px;
}
.intro-box .total-time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.intro-box p { font-size: 15px; color: rgba(26,26,46,0.75); line-height: 1.75; }

/* === MODULE CARDS GRID === */
.modules-section {
  padding: 72px 72px 96px;
  background: var(--warm);
}
.modules-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 36px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.module-card {
  background: #fff;
  border: 1px solid rgba(26,26,46,0.09);
  border-radius: 4px;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}
.module-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.module-card:hover { box-shadow: 0 10px 36px rgba(26,26,46,0.1); transform: translateY(-3px); }
.module-card:hover::before { transform: scaleX(1); }
.card-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.card-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(232,82,26,0.07);
  padding: 5px 12px;
  border-radius: 20px;
}
.card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}
.card-cta:hover { text-decoration: underline; }

/* === MODULE HERO === */
.module-hero {
  background: var(--slate);
  padding: 96px 72px 72px;
  position: relative;
  overflow: hidden;
}
.module-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 60%);
}
.module-hero h1 { color: var(--ivory); margin-bottom: 20px; }
.module-hook {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: rgba(245,242,236,0.68);
  margin-bottom: 28px;
  max-width: 680px;
}
.module-time-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 16px;
  border-radius: 20px;
}

/* === CONTENT SECTIONS === */
.content-section { padding: 96px 72px; }
.content-section.warm { background: var(--warm); }
.content-section.dark {
  background: var(--slate);
  color: var(--ivory);
}
.content-section.dark p,
.content-section.dark li { color: rgba(245,242,236,0.75); }
.content-section.dark h2,
.content-section.dark h3 { color: var(--ivory); }
.content-section.dark .section-label { color: rgba(240,115,64,0.9); }
.content-section.dark ul,
.content-section.dark ol { color: rgba(245,242,236,0.75); }

.section-inner { max-width: 900px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-inner h2 { margin-bottom: 24px; }
.section-inner h3 { margin-top: 40px; margin-bottom: 14px; }

/* Two columns */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 20px;
}
.two-col .col h3:first-child { margin-top: 0; }

/* Highlight list */
.highlight-list { list-style: none; padding: 0; margin-top: 16px; }
.highlight-list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  margin-bottom: 12px;
  align-items: flex-start;
  line-height: 1.65;
}
.highlight-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.content-section.dark .highlight-list li::before { color: var(--accent-light); }

/* Process steps */
.process-steps { list-style: none; padding: 0; margin-top: 24px; counter-reset: step; }
.process-steps li {
  counter-increment: step;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.process-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.step-body strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.step-body span { font-size: 14px; color: var(--mid); line-height: 1.7; }
.content-section.dark .step-body span { color: rgba(245,242,236,0.5); }
.content-section.dark .process-steps li::before { background: rgba(232,82,26,0.8); }

/* Diff cards */
.diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.diff-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 32px 26px;
}
.diff-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 10px;
  line-height: 1.35;
}
.diff-card p { font-size: 15px; color: rgba(245,242,236,0.58); margin: 0; line-height: 1.7; }

/* Diff cards on light background */
.content-section:not(.dark) .diff-card {
  background: #fff;
  border-color: rgba(26,26,46,0.07);
  border-top: 3px solid var(--accent);
  box-shadow: 0 2px 12px rgba(26,26,46,0.06);
}
.content-section:not(.dark) .diff-card:nth-child(2) { border-top-color: #059669; }
.content-section:not(.dark) .diff-card:nth-child(3) { border-top-color: #0284c7; }
.content-section:not(.dark) .diff-card h4 {
  color: var(--ink);
  font-size: 18px;
}
.content-section:not(.dark) .diff-card p { color: var(--mid); }

/* === PRICING SECTION === */
.pricing-section {
  background: var(--ink);
  padding: 96px 72px;
  color: var(--ivory);
}
.pricing-section .section-label { color: rgba(240,115,64,0.9); margin-bottom: 16px; }
.pricing-section h2 { color: var(--ivory); margin-bottom: 12px; }
.pricing-section .pricing-intro { font-size: 14px; color: rgba(245,242,236,0.5); margin-bottom: 44px; }

.pricing-track { margin-bottom: 60px; }
.pricing-track:last-child { margin-bottom: 0; }
.track-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pkg-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid transparent;
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pkg-card.featured {
  background: rgba(232,82,26,0.07);
  border-top-color: var(--accent);
}
.pkg-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  min-height: 16px;
}
.pkg-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 4px;
}
.pkg-tagline { font-size: 13px; color: rgba(245,242,236,0.38); margin-bottom: 20px; }
.pkg-price {
  display: flex; align-items: baseline; gap: 5px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pkg-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
}
.pkg-period { font-size: 13px; color: rgba(245,242,236,0.35); }
.pkg-features { list-style: none; padding: 0; flex: 1; }
.pkg-features li {
  font-size: 13px;
  color: rgba(245,242,236,0.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.pkg-features li::before { content: '—'; color: rgba(232,82,26,0.45); flex-shrink: 0; margin-top: 1px; }

.addons-note {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.addons-note-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.3);
  margin-bottom: 18px;
}
.addon-items { display: flex; flex-wrap: wrap; gap: 12px; }
.addon-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 14px 20px;
  border-radius: 3px;
  font-size: 13px;
}
.addon-item strong { color: var(--ivory); display: block; margin-bottom: 3px; }
.addon-item span { color: rgba(245,242,236,0.45); font-size: 12px; }

/* === PRICING — LIGHT VARIANT === */
.pricing-section.light {
  background: var(--warm);
  color: var(--ink);
}
.pricing-section.light .section-label { color: var(--accent); }
.pricing-section.light h2 { color: var(--ink); }
.pricing-section.light .pricing-intro { color: var(--mid); }
.pricing-section.light .track-label {
  color: rgba(26,26,46,0.4);
  border-bottom-color: rgba(26,26,46,0.09);
}
.pricing-section.light .pkg-card {
  background: #fff;
  border: 1px solid rgba(26,26,46,0.08);
  border-top: 3px solid transparent;
  box-shadow: 0 2px 16px rgba(26,26,46,0.06);
}
.pricing-section.light .pkg-card.featured {
  background: rgba(232,82,26,0.03);
  border-top-color: var(--accent);
  box-shadow: 0 4px 24px rgba(232,82,26,0.1);
}
.pricing-section.light .pkg-badge { color: var(--accent); }
.pricing-section.light .pkg-name { color: var(--ink); }
.pricing-section.light .pkg-tagline { color: var(--mid); opacity: 0.75; }
.pricing-section.light .pkg-price { border-bottom-color: rgba(26,26,46,0.07); }
.pricing-section.light .pkg-amount { color: var(--accent); }
.pricing-section.light .pkg-period { color: var(--mid); }
.pricing-section.light .pkg-features li {
  color: var(--ink);
  border-bottom-color: rgba(26,26,46,0.05);
  opacity: 0.82;
}
.pricing-section.light .pkg-features li::before { color: rgba(232,82,26,0.45); }
.pricing-section.light .addons-note {
  border-top-color: rgba(26,26,46,0.08);
}
.pricing-section.light .addons-note-label { color: rgba(26,26,46,0.38); }
.pricing-section.light .addon-item {
  background: #fff;
  border-color: rgba(26,26,46,0.08);
}
.pricing-section.light .addon-item strong { color: var(--ink); }
.pricing-section.light .addon-item span { color: var(--mid); }
.pricing-section.light .key-terms {
  background: rgba(232,82,26,0.04);
  border-left-color: var(--accent);
}
.pricing-section.light .key-terms-label { color: var(--accent); }
.pricing-section.light .term-item { border-bottom-color: rgba(26,26,46,0.08); }
.pricing-section.light .term-item dt { color: var(--ink); }
.pricing-section.light .term-item dd { color: var(--mid); }
.pricing-section.light .step-nav { border-top-color: rgba(26,26,46,0.1); }
.pricing-section.light .step-nav-label { color: var(--mid); }
.pricing-section.light .step-nav-prev {
  border-color: rgba(26,26,46,0.18);
  color: var(--ink);
}
.pricing-section.light .step-nav-prev:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

/* === TALKING POINTS === */
.objections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.objection-card {
  background: #fff;
  border-radius: 4px;
  padding: 28px 28px;
  border-left: 3px solid var(--accent);
}
.objection-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.5;
}
.objection-a {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.75;
  opacity: 0.82;
}

/* === QUIZ === */
.quiz-section {
  background: var(--ivory);
  padding: 96px 72px;
  border-top: 1px solid rgba(26,26,46,0.06);
}
.quiz-section .section-inner { max-width: 760px; }
.quiz-section h2 { margin-bottom: 10px; }
.quiz-intro { font-size: 15px; color: var(--mid); margin-bottom: 40px; }

.quiz-q {
  background: #fff;
  border: 1px solid rgba(26,26,46,0.07);
  border-radius: 4px;
  padding: 32px 32px 24px;
  margin-bottom: 20px;
}
.q-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.q-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.55;
}
.q-options { list-style: none; padding: 0; }
.q-options li { margin-bottom: 8px; }
.q-options label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.55;
  padding: 10px 12px;
  border-radius: 3px;
  transition: background 0.15s;
}
.q-options label:hover { background: rgba(232,82,26,0.05); }
.q-options input[type="radio"] { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.q-feedback {
  display: none;
  font-size: 14px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 3px;
  line-height: 1.6;
}
.q-correct { background: rgba(34,130,80,0.09); color: #1a6640; border-left: 3px solid #22824a; }
.q-wrong { background: rgba(200,50,50,0.08); color: #b83232; border-left: 3px solid #c83232; }

.quiz-check-btn {
  margin-top: 28px;
  padding: 15px 40px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.quiz-check-btn:hover { background: var(--accent-light); }
.quiz-check-btn:disabled { opacity: 0.38; cursor: default; }

.quiz-results {
  display: none;
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.quiz-results.perfect { background: rgba(34,130,80,0.1); color: #1a6640; border-left: 3px solid #22824a; }
.quiz-results.good { background: rgba(232,152,30,0.12); color: #8a5800; border-left: 3px solid #e8981e; }
.quiz-results.retry { background: rgba(200,50,50,0.08); color: #b83232; border-left: 3px solid #c83232; }
.quiz-results.warning { background: rgba(232,82,26,0.09); color: #c44810; border-left: 3px solid var(--accent); }

/* === NEXT MODULE CTA === */
.next-cta {
  background: var(--warm);
  border-top: 1px solid rgba(26,26,46,0.08);
  padding: 72px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.next-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,26,46,0.38);
  margin-bottom: 10px;
}
.next-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--ink);
  line-height: 1.2;
}
.next-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  cursor: pointer;
}
.next-cta-btn:hover { background: var(--accent-light); text-decoration: none; }
.back-link {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.back-link:hover { color: var(--ink); text-decoration: none; }

/* === FOOTER === */
.course-footer {
  background: var(--slate);
  padding: 32px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ivory);
}
.footer-note { font-size: 13px; color: rgba(245,242,236,0.3); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-cards { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .course-nav { padding: 0 40px; }
  .welcome-hero,
  .intro-box-wrap,
  .modules-section,
  .content-section,
  .pricing-section,
  .quiz-section,
  .next-cta { padding-left: 40px; padding-right: 40px; }
  .module-hero { padding: 72px 40px 56px; }
  .course-footer { padding: 28px 40px; }
  .welcome-hero-inner { gap: 48px; }
  .hero-stats-card { min-width: 220px; padding: 28px 28px; }
}

@media (max-width: 768px) {
  .modules-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .packages-grid { grid-template-columns: 1fr; }
  .diff-cards { grid-template-columns: 1fr; }
  .objections-grid { grid-template-columns: 1fr; }
  .course-nav { padding: 0 24px; }
  .welcome-hero,
  .intro-box-wrap,
  .modules-section,
  .content-section,
  .pricing-section,
  .quiz-section { padding-left: 24px; padding-right: 24px; }
  .welcome-hero { padding-top: 56px; padding-bottom: 56px; }
  .module-hero { padding: 56px 24px 48px; }
  .welcome-hero-inner { flex-direction: column; gap: 40px; }
  .hero-right { width: 100%; }
  .hero-stats-card { display: flex; gap: 0; padding: 24px 28px; }
  .welcome-stat { flex: 1; border-right: 1px solid rgba(255,255,255,0.06); padding-right: 20px; margin-bottom: 0; }
  .welcome-stat:last-of-type { border-right: none; padding-right: 0; padding-left: 20px; }
  .hero-stats-note { display: none; }
  .next-cta { flex-direction: column; align-items: flex-start; padding: 56px 24px; }
  .course-footer { flex-direction: column; gap: 8px; padding: 24px; text-align: center; }
  .welcome-stats { flex-direction: column; gap: 24px; }
  .gate-card { padding: 44px 28px; }
  .addon-items { flex-direction: column; }
  .quiz-section .section-inner { max-width: 100%; }
}

@media (max-width: 480px) {
  .welcome-hero { padding: 48px 20px 44px; }
  .module-hero { padding: 40px 20px 36px; }
  .content-section,
  .pricing-section,
  .quiz-section { padding: 64px 20px; }
  .modules-section { padding-left: 20px; padding-right: 20px; }
  .intro-box-wrap { padding: 32px 20px; }
  .next-cta { padding: 48px 20px; }
  .gate-card { padding: 36px 20px; }
  .quiz-check-btn { width: 100%; }

  /* Hero stats: keep horizontal on phones, just tighten sizing */
  .hero-stats-card { flex-direction: row; gap: 0; padding: 20px 16px; }
  .welcome-stat { flex: 1; border-right: 1px solid rgba(255,255,255,0.06); padding-right: 12px; padding-left: 12px; margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
  .welcome-stat:first-child { padding-left: 0; }
  .welcome-stat:last-of-type { border-right: none; padding-right: 0; }
  .stat-num { font-size: 2rem; }

  /* Nav: hide back link and label on phones (logo stays, pill stays) */
  .nav-back { display: none; }
  .nav-right span { display: none; }
  .nav-pill { font-size: 10px; padding: 5px 10px; }

  /* Module hero heading scale */
  .module-hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }

  /* Key terms */
  .key-terms { padding: 20px 18px; margin-top: 32px; }

  /* Objection cards: reduce padding */
  .objection-card { padding: 22px 20px; }

  /* Quiz padding */
  .quiz-q { padding: 24px 20px 18px; }
}

/* ── Very small phones (375px) ────────────────────── */
@media (max-width: 390px) {
  .course-nav { padding: 0 16px; }
  .nav-logo svg { height: 26px; }
  .step-nav-btn { padding: 10px 14px; font-size: 11px; }
  .pkg-card { padding: 24px 20px; }
}

/* ====================================================
   BRIGHTER COLORS — per-module accent system
   ==================================================== */

.module-1 { --mc: #e8521a; }
.module-2 { --mc: #059669; }
.module-3 { --mc: #0284c7; }
.module-4 { --mc: #d97706; }

.module-1 .progress-bar-fill { background: #e8521a; }
.module-2 .progress-bar-fill { background: #059669; }
.module-3 .progress-bar-fill { background: #0284c7; }
.module-4 .progress-bar-fill { background: #d97706; }

.module-1 .nav-pill { color: #e8521a; background: rgba(232,82,26,0.1); border-color: rgba(232,82,26,0.2); }
.module-2 .nav-pill { color: #059669; background: rgba(5,150,105,0.1); border-color: rgba(5,150,105,0.2); }
.module-3 .nav-pill { color: #0284c7; background: rgba(2,132,199,0.1); border-color: rgba(2,132,199,0.2); }
.module-4 .nav-pill { color: #d97706; background: rgba(217,119,6,0.1); border-color: rgba(217,119,6,0.2); }

/* Module card per-color accents on index */
.module-card-1::before { background: #e8521a; }
.module-card-2::before { background: #059669; }
.module-card-3::before { background: #0284c7; }
.module-card-4::before { background: #d97706; }
.module-card-1 .card-num { color: #e8521a; }
.module-card-2 .card-num { color: #059669; }
.module-card-3 .card-num { color: #0284c7; }
.module-card-4 .card-num { color: #d97706; }
.module-card-1 .card-cta { color: #e8521a; }
.module-card-2 .card-cta { color: #059669; }
.module-card-3 .card-cta { color: #0284c7; }
.module-card-4 .card-cta { color: #d97706; }

/* ====================================================
   STEP INDICATOR
   ==================================================== */

#step-indicator {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  padding: 0 72px;
  position: sticky;
  top: 68px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 48px;
}

.step-dots-row {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-shrink: 0;
}

.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(26,26,46,0.06);
  border: 1.5px solid rgba(26,26,46,0.14);
  color: rgba(26,26,46,0.35);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  padding: 0;
}
.step-dot .dot-num { line-height: 1; }
.step-dot:hover { border-color: rgba(26,26,46,0.3); color: rgba(26,26,46,0.6); }

.step-dot.is-active {
  background: var(--mc, var(--accent));
  border-color: var(--mc, var(--accent));
  color: #fff;
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.step-dot.is-done {
  background: rgba(5,150,105,0.16);
  border-color: #059669;
  color: #34d399;
}

.step-name-row {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26,26,46,0.38);
  border-left: 1px solid rgba(26,26,46,0.1);
  padding-left: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-all-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(26,26,46,0.15);
  color: rgba(26,26,46,0.4);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s;
}
.review-all-btn:hover {
  border-color: rgba(26,26,46,0.3);
  color: rgba(26,26,46,0.7);
}

/* ====================================================
   WIZARD STEP NAV
   ==================================================== */

.module .next-cta { display: none !important; }

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 0;
  margin-top: 52px;
  border-top: 1px solid rgba(26,26,46,0.1);
}
.content-section.dark .step-nav,
.pricing-section .step-nav { border-top-color: rgba(255,255,255,0.07); }
.quiz-section .step-nav { border-top-color: rgba(26,26,46,0.1); }

.step-nav-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--mid);
  text-align: center;
  font-style: italic;
  flex: 1;
}
.content-section.dark .step-nav-label,
.pricing-section .step-nav-label { color: rgba(245,242,236,0.3); }

.step-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  background: transparent;
  border: 1.5px solid rgba(26,26,46,0.18);
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.step-nav-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.step-nav-next {
  background: var(--mc, var(--accent));
  border-color: var(--mc, var(--accent));
  color: #fff;
}
.step-nav-next:hover { opacity: 0.88; background: var(--mc, var(--accent)); color: #fff; }

.content-section.dark .step-nav-prev,
.pricing-section .step-nav-prev {
  border-color: rgba(255,255,255,0.15);
  color: rgba(245,242,236,0.6);
}
.content-section.dark .step-nav-prev:hover,
.pricing-section .step-nav-prev:hover {
  background: rgba(255,255,255,0.07);
  color: var(--ivory);
  border-color: rgba(255,255,255,0.25);
}

/* Quiz completion CTA */
.quiz-complete-cta {
  margin-top: 28px;
  padding: 32px 36px;
  background: rgba(26,26,46,0.04);
  border-radius: 4px;
  text-align: center;
  border: 1px solid rgba(26,26,46,0.06);
}
.quiz-complete-cta p {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 20px;
}
.quiz-complete-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--mc, var(--accent));
  color: #fff;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.18s;
}
.quiz-complete-btn:hover { opacity: 0.86; text-decoration: none; }
.quiz-complete-back {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}
.quiz-complete-back:hover { color: var(--ink); text-decoration: none; }

/* Step enter animation */
@keyframes stepSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step-enter { animation: stepSlideIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ====================================================
   KEY TERMS GLOSSARY
   ==================================================== */

.key-terms {
  margin-top: 48px;
  padding: 32px 36px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
}
.key-terms-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,115,64,0.9);
  margin-bottom: 24px;
}
.terms-list { list-style: none; padding: 0; margin: 0; }
.term-item {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.term-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.term-item dt {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 5px;
}
.term-item dd {
  font-size: 13px;
  color: rgba(245,242,236,0.55);
  line-height: 1.7;
  margin-left: 0;
}

/* ====================================================
   SCROLL ANIMATIONS (index.html only)
   ==================================================== */

.anim-hidden {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   RESPONSIVE — WIZARD / INDICATOR
   ==================================================== */

@media (max-width: 1024px) {
  #step-indicator { padding: 0 40px; }
}
@media (max-width: 768px) {
  #step-indicator { padding: 0 24px; top: 68px; height: 44px; gap: 14px; }
  .step-dots-row { gap: 5px; }
  .step-dot { width: 20px; height: 20px; font-size: 9px; }
  .step-dot.is-active { width: 24px; height: 24px; font-size: 10px; }
  .step-name-row { font-size: 10px; padding-left: 14px; }
  .step-nav { flex-wrap: wrap; padding-top: 28px; margin-top: 40px; }
  .step-nav-label { order: -1; width: 100%; text-align: left; }
  .step-nav-btn { padding: 12px 20px; font-size: 11px; }
  .key-terms { padding: 24px 22px; }
}
@media (max-width: 480px) {
  #step-indicator { padding: 0 20px; height: 40px; }
  .step-dot { width: 18px; height: 18px; font-size: 9px; }
  .step-dot.is-active { width: 22px; height: 22px; }
  .step-name-row { display: none; }
  .step-nav-btn { padding: 11px 16px; }
}

/* === LOGOUT BUTTON === */
.nav-logout {
  font-size: 12px;
  font-weight: 500;
  color: rgba(245,242,236,0.45);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  padding: 8px 0;
  min-height: 44px;
  transition: color 0.2s;
}
.nav-logout:hover { color: var(--ivory); }

/* === IDLE TIMEOUT TOAST === */
.idle-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 16px 20px;
  max-width: 300px;
  box-shadow: 0 4px 16px rgba(26,26,46,0.12);
  z-index: 200;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  display: none;
}
.idle-toast.visible { display: block; }
.idle-toast-btn {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.04em;
  min-height: 44px;
}
.idle-toast-btn:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
