/* ==========================================================================
   Breakthrough Author Live — Landing Page Styles
   Theme system: "light" = visual-reference theme (navy + cream + gold)
                 "dark"  = all-dark variant (deep charcoal, same gold accent)
   ========================================================================== */

:root {
  --navy: #14192f;
  --navy-deep: #0d1122;
  --cream: #f7f1e3;
  --cream-card: #fffdf8;
  --gold: #d4a94a;
  --gold-dark: #b88a2e;
  --ink: #1b1f2e;
  --line: rgba(20, 25, 47, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 10px 30px rgba(13, 17, 34, 0.18);
  --shadow-sm: 0 4px 14px rgba(13, 17, 34, 0.10);
  --max-w: 720px;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* semantic tokens — light (reference) theme */
  --bg-page: var(--cream);
  --bg-navy-section: var(--navy);
  --bg-cream-section: var(--cream);
  --bg-card: var(--cream-card);
  --text-on-navy: #f4ede0;
  --text-on-navy-muted: #c7c2d6;
  --text-on-cream: var(--ink);
  --text-on-cream-muted: #55597a;
  --card-border: var(--line);
  --divider: rgba(20, 25, 47, 0.10);
}

[data-theme='dark'] {
  --bg-page: #0b0e1c;
  --bg-navy-section: #090b16;
  --bg-cream-section: #12162a;
  --bg-card: #1b2036;
  --text-on-navy: #f4ede0;
  --text-on-navy-muted: #a9a6c2;
  --text-on-cream: #f1eee6;
  --text-on-cream-muted: #b7b3cc;
  --card-border: rgba(212, 169, 74, 0.22);
  --divider: rgba(212, 169, 74, 0.16);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg-page);
  color: var(--text-on-cream);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { line-height: 1.6; margin: 0 0 1em; }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Focus states */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-navy-section);
  border-bottom: 1px solid var(--divider);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  font-family: var(--serif);
  color: var(--text-on-navy);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand span { color: var(--gold); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--divider);
  color: var(--text-on-navy);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--sans);
}
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle .icon { font-size: 1rem; line-height: 1; }

/* ---------- Sections ---------- */
.section {
  padding: 48px 0;
}
.section--navy {
  background: var(--bg-navy-section);
  color: var(--text-on-navy);
}
.section--cream {
  background: var(--bg-cream-section);
  color: var(--text-on-cream);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: 1.6rem;
}
.section--navy .section-title { color: var(--text-on-navy); }
.section-sub {
  color: var(--text-on-cream-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}
.section--navy .section-sub { color: var(--text-on-navy-muted); }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--sans);
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-gold {
  background: linear-gradient(180deg, #e6c46e, var(--gold) 55%, var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(212, 169, 74, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(212, 169, 74, 0.45); }
.btn-gold:active { transform: translateY(0); }
.btn-wrap { margin: 28px 0 6px; }
.btn-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-on-cream-muted);
  margin-top: 10px;
}
.section--navy .btn-note { color: var(--text-on-navy-muted); }

/* ---------- Hero ---------- */
.hero { padding-top: 40px; }
.hero-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  display: block;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 1.9rem;
  text-align: center;
  color: var(--text-on-navy);
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  text-align: center;
  color: var(--text-on-navy-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 26px;
}

.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #1c2340, #0d1122);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-placeholder .glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.18;
  filter: blur(60px);
  top: -40px;
  right: -40px;
}
.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  z-index: 1;
}
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }
.video-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: var(--text-on-navy-muted);
  font-size: 0.75rem;
  z-index: 1;
}

.trust-bar {
  margin-top: 30px;
  text-align: center;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  margin-bottom: 14px;
  opacity: 0.85;
}
.trust-logos .logo-placeholder {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-on-navy-muted);
  border: 1px solid var(--divider);
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.03em;
}
.trust-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-on-navy-muted);
}
.trust-stats span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--divider);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Sound Familiar list ---------- */
.check-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.check-list .mark {
  color: var(--gold-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.closing-line {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  font-size: 1.05rem;
  margin-top: 18px;
}

/* ---------- About / stats ---------- */
.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(160deg, #2a3155, #171c33);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-navy-muted);
  font-size: 0.7rem;
  text-align: center;
  overflow: hidden;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 18px 10px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-on-navy-muted);
}

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  gap: 20px;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.case-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(160deg, #eadfc4, #d9c99a);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  border: 3px solid var(--gold);
}
.case-name {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.case-desc {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-on-cream-muted);
  margin-bottom: 16px;
}
.case-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.case-results li {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  border-top: 1px solid var(--divider);
  padding-top: 8px;
}
.case-results li:first-child { border-top: none; padding-top: 0; }
.case-results .bullet { color: var(--gold-dark); font-weight: 700; }
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  font-size: 1.05rem;
  margin: 28px 0 6px;
  color: var(--text-on-cream-muted);
}
.pull-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gold-dark);
}

/* ---------- Fail blocks ---------- */
.fail-grid { display: grid; gap: 16px; }
.fail-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 20px;
}
.fail-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(214, 90, 90, 0.18);
  color: #e08a8a;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 10px;
}
.fail-card h3 { font-size: 1.05rem; color: var(--text-on-navy); }
.fail-card p { color: var(--text-on-navy-muted); font-size: 0.92rem; margin-bottom: 0; }
.closing-strong {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-top: 24px;
  color: var(--text-on-navy);
}

/* ---------- Weeks ---------- */
.week-grid { display: grid; gap: 18px; }
.week-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.week-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  margin-bottom: 12px;
}
.week-card h3 { font-size: 1.05rem; }
.week-card p { font-size: 0.92rem; color: var(--text-on-cream-muted); margin-bottom: 10px; }
.week-value {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: rgba(212,169,74,0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Bonus stack ---------- */
.bonus-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bonus-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.bonus-item h3 { font-size: 0.98rem; color: var(--text-on-navy); margin-bottom: 4px; }
.bonus-item p { font-size: 0.85rem; color: var(--text-on-navy-muted); margin-bottom: 0; }
.bonus-value {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.total-value {
  text-align: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-md);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-on-navy);
}
.total-value strong { color: var(--gold); }

/* ---------- Price ---------- */
.price-box {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.price-old {
  text-decoration: line-through;
  color: var(--text-on-cream-muted);
  font-size: 1.2rem;
}
.price-new {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-dark);
  font-weight: 700;
}
.price-code {
  font-size: 0.85rem;
  background: rgba(212,169,74,0.14);
  border: 1px dashed var(--gold-dark);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}
.guarantee {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  font-size: 0.92rem;
  color: var(--text-on-cream-muted);
}
.guarantee .badge {
  font-weight: 700;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 6px;
}

/* ---------- For / Not for ---------- */
.fit-grid { display: grid; gap: 18px; }
.fit-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--card-border);
}
.fit-card.yes { background: rgba(90, 168, 120, 0.10); border-color: rgba(90,168,120,0.35); }
.fit-card.no { background: rgba(200, 90, 90, 0.08); border-color: rgba(200,90,90,0.3); }
.fit-card h3 { font-size: 1.05rem; }
.fit-card ul { margin: 0; padding-left: 1.1em; }
.fit-card li { margin-bottom: 8px; font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 18px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-on-cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.faq-item[data-open='true'] .plus { transform: rotate(45deg); }
.faq-a {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  color: var(--text-on-cream-muted);
  font-size: 0.92rem;
}
.faq-item[data-open='true'] .faq-a {
  padding: 0 18px 18px;
  max-height: 400px;
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta p { color: var(--text-on-navy-muted); }
.final-cta .lede {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text-on-navy);
}
.signature {
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-on-navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-navy-section);
  color: var(--text-on-navy-muted);
  text-align: center;
  padding: 28px 0;
  font-size: 0.78rem;
  border-top: 1px solid var(--divider);
}
.site-footer .placeholder-note {
  color: var(--gold);
  margin-top: 6px;
}

/* ---------- Responsive: tablet+ ---------- */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: 1fr 1fr; }
  .btn { width: auto; padding: 18px 40px; }
  .btn-wrap { text-align: center; }
  .fail-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  :root { --max-w: 1040px; }
  .hero h1 { font-size: 2.9rem; }
  .week-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
