/* ============================================
   Breakthrough Author Live — Landing Page
   ============================================ */

:root {
  /* Brand accents — constant across themes */
  --gold: #c9a227;
  --gold-light: #e0bf55;
  --gold-dark: #a9841c;
  --red: #c0392b;
  --green: #3a7d55;
  --ink-on-light: #1a2140; /* text used on surfaces that stay light in both themes */

  --radius: 10px;
  --max-w: 1120px;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Light theme (default — matches reference design) ---- */
  --bg-page: #faf6ee;
  --bg-navy: #1a2140;
  --bg-navy-deep: #131933;
  --bg-navy-soft: #232b52;
  --bg-card: #ffffff;
  --bg-avatar: #faf6ee;
  --bg-subtle: #faf6ee;

  --text-primary: #1a2140;
  --text-secondary: #6b7078;
  --text-muted: #9ba0aa;
  --text-on-navy: #eef0f6;
  --text-on-navy-secondary: #c7cbdb;
  --text-on-navy-muted: #8791ad;

  --border-color: #e7e1d3;
  --border-on-navy: rgba(255, 255, 255, 0.1);

  --fit-yes-bg: #f3f8f4;
  --fit-yes-border: #d7e8dc;
  --fit-no-bg: #fbf2f0;
  --fit-no-border: #f0d9d4;
}

/* ---- Dark theme override ---- */
html[data-theme="dark"] {
  --bg-page: #14161f;
  --bg-navy: #0d1020;
  --bg-navy-deep: #090b16;
  --bg-navy-soft: #1a1e33;
  --bg-card: #1e2130;
  --bg-avatar: rgba(255, 255, 255, 0.06);
  --bg-subtle: #191c28;

  --text-primary: #eceef4;
  --text-secondary: #a7acc0;
  --text-muted: #7d829a;
  --text-on-navy: #f2f3f8;
  --text-on-navy-secondary: #b9bfd6;
  --text-on-navy-muted: #7d829a;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-on-navy: rgba(255, 255, 255, 0.12);

  --fit-yes-bg: rgba(58, 125, 85, 0.16);
  --fit-yes-border: rgba(58, 125, 85, 0.35);
  --fit-no-bg: rgba(192, 57, 43, 0.16);
  --fit-no-border: rgba(192, 57, 43, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; text-decoration: none; }

.section {
  padding: 56px 0;
  transition: background-color 0.2s ease;
}

.section--navy {
  background: var(--bg-navy);
  color: var(--text-on-navy);
}

.section--navy .eyebrow { color: var(--gold-light); }

.section--pattern {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201,162,39,0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201,162,39,0.08), transparent 40%);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 32px;
}

h2 .accent { color: var(--gold); }
h2 .accent-red { color: var(--red); }

p { margin: 0 0 14px; color: var(--text-secondary); }

.section--navy p { color: var(--text-on-navy-secondary); }

.center { text-align: center; }

/* ---------- Buttons ---------- */

.btn-gold {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--bg-navy-deep);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 17px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(201, 162, 39, 0.35);
}

.btn-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.btn-fine-print {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin: 10px 0 0;
}

.section--navy .btn-fine-print { color: var(--text-on-navy-muted); }

.cta-block {
  margin-top: 36px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background-color 0.2s ease;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.02em;
  margin-right: auto;
}

.brand span { color: var(--gold-light); font-style: italic; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  width: 44px;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.theme-toggle .icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  z-index: 1;
}

.theme-toggle .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.2s ease;
}

html[data-theme="dark"] .theme-toggle .knob {
  transform: translateX(18px);
}

.theme-toggle .icon-sun { margin-right: auto; }
.theme-toggle .icon-moon { margin-left: auto; }

.menu-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  width: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle svg { stroke: #fff; }

.nav-links {
  display: none;
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  background: var(--bg-navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-direction: column;
  padding: 10px 20px 20px;
}

.nav-links.open { display: flex; }

.nav-links a {
  color: #dfe2ec;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero h1 {
  color: #fff;
  font-size: 30px;
  text-align: center;
}

.hero h1 .accent { color: var(--gold-light); }

.hero-sub {
  text-align: center;
  font-size: 14px;
  color: #b7bdd2;
  max-width: 480px;
  margin: 0 auto 26px;
}

.hero-sub .dot { color: var(--gold); margin: 0 8px; }

.video-frame {
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(201,162,39,0.12), transparent 60%);
}

.play-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(201,162,39,0.15);
  z-index: 1;
}

.play-btn svg { margin-left: 4px; }

.video-caption {
  position: absolute;
  bottom: 16px;
  font-size: 12px;
  color: #9aa1bd;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}

.hero-trust {
  text-align: center;
  font-size: 11px;
  color: #7f87a4;
  letter-spacing: 0.03em;
  margin-top: 18px;
}

.hero-trust span { margin: 0 8px; }

/* ---------- Sound familiar (pain list) ---------- */

.pain-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pain-list li {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  gap: 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pain-list li::before {
  content: "\2014";
  color: var(--gold-dark);
  font-weight: 700;
}

.closing-line {
  text-align: center;
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--text-primary);
}

.closing-line strong { color: var(--gold-dark); }

.section--navy .closing-line { color: var(--text-on-navy); }

/* ---------- Credibility ---------- */

.about-photo {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  background: var(--bg-navy-soft);
  border: 1.5px solid var(--gold);
  margin: 0 auto 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.about-photo svg { stroke: var(--text-on-navy-muted); }

.about-photo .photo-label {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-on-navy-muted);
}

.about-body {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.about-body strong { color: #fff; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 480px;
  margin: 26px auto;
}

.stat-card {
  background: var(--bg-navy-soft);
  border: 1px solid var(--border-on-navy);
  border-radius: 8px;
  padding: 18px 10px;
  text-align: center;
}

.stat-card .num {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-light);
  display: block;
}

.stat-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9aa1bd;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 24px 0;
  opacity: 0.8;
}

.trust-badges span {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-on-navy-secondary);
  text-transform: uppercase;
}

/* ---------- Case studies ---------- */

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  margin-bottom: 18px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.case-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-avatar);
  border: 1.5px solid var(--gold);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-avatar svg { stroke: var(--text-muted); }

.case-card h3 { font-size: 19px; margin-bottom: 8px; }

.case-quote {
  font-style: italic;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.case-results {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  text-align: left;
  font-size: 13.5px;
}

.case-results li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-primary);
}

.case-results li:first-child { border-top: none; }

.case-results li::before {
  content: "\2713";
  color: var(--gold-dark);
  font-weight: 700;
}

.case-results strong { color: var(--gold-dark); }

.case-pull {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-dark);
  font-size: 14px;
}

/* ---------- Why fails ---------- */

.fail-block {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  max-width: 560px;
  margin: 0 auto;
}

.fail-block:first-of-type { padding-top: 0; }

.fail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.x-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(192,57,43,0.15);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.fail-block p strong { color: #eef0f6; }
.fail-block p strong.gold-strong { color: var(--gold-light); }

/* ---------- Weeks ---------- */

.week-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.week-media {
  background: var(--bg-navy);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.week-media svg { stroke: var(--gold-light); }

.week-body { padding: 20px 20px 22px; }

.week-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.week-body h3 { font-size: 18px; margin: 6px 0 8px; }

.week-value {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- Bonus stack ---------- */

.bonus-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  max-width: 560px;
  margin: 0 auto;
}

.bonus-item:last-of-type { border-bottom: none; }

.bonus-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-navy-soft);
  border: 1px solid var(--border-on-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bonus-icon svg { stroke: var(--gold-light); }

.bonus-text h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}

.bonus-value {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 13px;
}

.total-value {
  text-align: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid rgba(201,162,39,0.3);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.total-value .amount {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-light);
  display: block;
  margin-top: 4px;
}

/* ---------- Price section ---------- */

.price-copy {
  max-width: 520px;
  margin: 0 auto 28px;
}

.price-display {
  text-align: center;
  margin-bottom: 24px;
}

.price-old {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 10px;
}

.price-new {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--gold-dark);
  font-weight: 700;
}

.price-code {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
}

.guarantee {
  max-width: 480px;
  margin: 0 auto 28px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 22px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.guarantee .badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(58,125,85,0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.guarantee h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.guarantee p { font-size: 13.5px; margin-bottom: 0; }

/* ---------- For / Not for ---------- */

.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.fit-card {
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--border-color);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fit-card.yes { background: var(--fit-yes-bg); border-color: var(--fit-yes-border); }
.fit-card.no { background: var(--fit-no-bg); border-color: var(--fit-no-border); }

.fit-card h3 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-on-light);
}

.fit-card ul { margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-on-light); }
.fit-card li { margin-bottom: 8px; }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--border-color);
  max-width: 640px;
  margin: 0 auto;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-question .plus {
  font-size: 20px;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question .plus { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 14px;
}

.faq-item.open .faq-answer { max-height: 320px; }

.faq-answer p { padding-bottom: 18px; margin: 0; }

/* ---------- Final CTA ---------- */

.final-copy {
  max-width: 480px;
  margin: 0 auto 8px;
  text-align: center;
  font-size: 15px;
}

.signature {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-light);
  margin-top: 26px;
  font-size: 15px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-navy-deep);
  color: var(--text-on-navy-muted);
  padding: 40px 0 26px;
  font-size: 12.5px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.footer .trust-badges { margin-bottom: 18px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a { color: var(--text-on-navy-secondary); }
.footer-links a:hover { color: #fff; }

.footer small { display: block; max-width: 480px; margin: 0 auto; line-height: 1.6; }

/* ============================================
   Desktop / larger screens
   ============================================ */

@media (min-width: 640px) {
  .menu-toggle { display: none; }
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    gap: 28px;
  }
  .nav-links a { border: none; padding: 0; font-size: 13.5px; }

  h2 { font-size: 34px; }
  .hero h1 { font-size: 42px; }

  .stat-grid { grid-template-columns: repeat(4, 1fr); max-width: 720px; }

  .case-grid, .week-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: none;
  }
  .week-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }

  .case-card, .week-card { max-width: none; margin-bottom: 0; }

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

  .hero-inner > div {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (min-width: 900px) {
  .container { padding: 0 32px; }
  .section { padding: 84px 0; }
  .hero { padding-top: 52px; }
}
