/* ===== INVEST STEADY — THE WEALTH GAME ===== */

:root {
  --navy: #0d1b2a;
  --navy-2: #13263a;
  --navy-3: #1b3a5b;
  --gold: #e0a92e;
  --gold-dark: #c9931f;
  --cream: #faf7f0;
  --white: #ffffff;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --line: rgba(13, 27, 42, 0.12);
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 780px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.gold { color: var(--gold); }
.gold-text { color: var(--gold-dark); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-nav { padding: 9px 18px; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(224,169,46,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 100px 0 90px;
  text-align: center;
}
.hero-inner { max-width: 860px; }
.hero .eyebrow { color: var(--gold); }
.hero-sub {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 1.13rem;
  color: rgba(255,255,255,0.82);
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-tagline {
  margin-top: 34px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== Problem ===== */
.problem {
  padding: 90px 0;
  text-align: center;
}
.big-statement {
  font-size: 1.25rem;
  margin-top: 22px;
  color: var(--ink);
}
.big-statement em { font-style: normal; border-bottom: 3px solid var(--gold); }

/* ===== Story / Timeline ===== */
.story { padding: 90px 0; background: var(--white); }
.timeline { max-width: 720px; margin: 0 auto; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  display: flex;
  gap: 26px;
  padding: 22px 0;
  position: relative;
}
.timeline-marker {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.timeline-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.timeline-body p { color: var(--muted); }

/* ===== Rules ===== */
.rules { padding: 90px 0; background: var(--navy); color: var(--white); }
.rules .eyebrow { color: var(--gold); }
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rule-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 28px 22px;
}
.rule-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.rule-card p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
}

/* ===== Levels ===== */
.levels { padding: 90px 0; }
.level-part { margin-bottom: 48px; }
.part-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.level-list { display: flex; flex-direction: column; gap: 14px; }
.level-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 26px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.level-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(13,27,42,0.08);
}
.level-num {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.level-info h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 5px; }
.level-info p { color: var(--muted); font-size: 0.97rem; }
.levels-cta { text-align: center; margin-top: 44px; }
.levels-cta p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* ===== Quote strip ===== */
.quote-strip {
  background: var(--gold);
  padding: 54px 0;
  text-align: center;
}
.quote-strip blockquote {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--navy);
  transition: opacity 0.4s ease;
}

/* ===== Book ===== */
.book { padding: 100px 0; background: var(--navy-2); color: var(--white); }
.book-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}
.book-mock {
  aspect-ratio: 2 / 3;
  max-width: 320px;
  margin: 0 auto;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-3) 100%);
  border: 1px solid rgba(224,169,46,0.4);
  border-radius: 6px 14px 14px 6px;
  box-shadow: -14px 18px 40px rgba(0,0,0,0.45);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.book-mock-brand {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.book-mock-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.02;
  margin-top: 26px;
  color: var(--white);
}
.book-mock-sub {
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}
.book-mock-author {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
}
.book-copy .eyebrow { color: var(--gold); }
.book-copy > p { color: rgba(255,255,255,0.82); margin-top: 16px; }
.book-bullets { margin: 22px 0 28px; padding-left: 0; list-style: none; }
.book-bullets li {
  padding: 7px 0 7px 30px;
  position: relative;
  color: rgba(255,255,255,0.88);
}
.book-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 4%, 40% 72%);
}
.book-form { display: flex; gap: 12px; flex-wrap: wrap; }
.book-form input {
  flex: 1 1 240px;
  padding: 13px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.book-form input::placeholder { color: rgba(255,255,255,0.5); }
.book-form input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.book-form-note { margin-top: 12px; font-size: 0.83rem; color: rgba(255,255,255,0.55); }

/* ===== About ===== */
.about { padding: 90px 0; background: var(--white); }
.about h2 { margin-bottom: 20px; }
.about p { margin-bottom: 16px; color: var(--ink); font-size: 1.05rem; }
.about .btn { margin-top: 10px; }

/* ===== Final CTA ===== */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(224,169,46,0.18), transparent 60%),
    var(--navy);
  color: var(--white);
}
.final-cta p { margin: 18px auto 30px; max-width: 560px; color: rgba(255,255,255,0.82); }

/* ===== Footer ===== */
.site-footer { background: #0a1420; color: rgba(255,255,255,0.7); padding: 54px 0 34px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { font-size: 1.05rem; }
.footer-tagline { font-size: 0.88rem; margin-top: 6px; color: rgba(255,255,255,0.5); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { padding-top: 24px; }
.footer-legal p { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; max-width: 760px; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .book-inner { grid-template-columns: 1fr; gap: 44px; }
  .book-mock { max-width: 260px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .rules-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 64px; }
  .timeline::before { left: 21px; }
  .timeline-marker { flex-basis: 42px; height: 42px; font-size: 1rem; }
  .level-card { padding: 18px; gap: 14px; }
}
