/* ============================================
   Income Academy — marketing site
   Palette: navy #0f172a | gold #f59e0b | white
   ============================================ */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gold: #f59e0b;
  --gold-hover: #d97706;
  --white: #ffffff;
  --cream: #f8fafc;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --success: #10b981;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); text-decoration: underline; }

/* ==== Layout ==== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ==== Nav ==== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  padding: 14px 0;
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.logo {
  color: var(--white); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--gold); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; font-weight: 800; font-size: 14px;
}
.logo:hover { text-decoration: none; }
.nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 8px 16px; border-radius: 6px;
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: background 120ms;
}
.nav-cta:hover { background: var(--gold-hover); color: var(--navy); text-decoration: none; }

/* ==== Buttons ==== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 120ms, box-shadow 120ms, background 120ms;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); }
.btn-large { padding: 20px 40px; font-size: 18px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ==== Hero ==== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: 19px;
  color: var(--gray-light);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.hero-cta-row {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}
.hero-guarantee {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-light);
}

/* ==== Section defaults ==== */
section.block { padding: 70px 24px; }
section.block-dark { background: var(--navy); color: var(--white); }
section.block-cream { background: var(--cream); }
.section-eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.block-dark .section-eyebrow { color: var(--gold); }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 700px;
  margin-bottom: 40px;
}
.block-dark .section-sub { color: var(--gray-light); }

/* ==== Pain points ==== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.pain-item {
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.pain-item-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.pain-item h4 { font-size: 18px; margin-bottom: 8px; }
.pain-item p { color: var(--gray); font-size: 15px; line-height: 1.5; }

/* ==== What's inside ==== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.benefit-item {
  background: var(--navy-light);
  padding: 28px 24px;
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.benefit-number {
  display: inline-block;
  width: 36px; height: 36px;
  background: var(--gold); color: var(--navy);
  border-radius: 50%;
  line-height: 36px;
  text-align: center;
  font-weight: 800; font-size: 16px;
  margin-bottom: 14px;
}
.benefit-item h4 { font-size: 19px; margin-bottom: 10px; color: var(--white); }
.benefit-item p { color: var(--gray-light); font-size: 15px; line-height: 1.55; }

/* ==== Who is / isn't ==== */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.fit-card {
  background: var(--white);
  padding: 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.fit-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.fit-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.fit-yes .fit-icon { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.fit-no .fit-icon { background: rgba(220, 38, 38, 0.15); color: #dc2626; }
.fit-card ul { list-style: none; padding: 0; }
.fit-card li {
  padding: 8px 0;
  color: var(--gray);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.fit-card li:last-child { border-bottom: none; }

/* ==== Founder ==== */
.founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 20px;
}
.founder-photo {
  width: 200px; height: 200px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; font-weight: 800;
}
.founder-body h3 { font-size: 22px; margin-bottom: 12px; }
.founder-body p { color: var(--gray); margin-bottom: 10px; }

/* ==== Testimonials ==== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.testimonial {
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}
.testimonial-stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.testimonial-quote { font-style: italic; color: var(--navy); margin-bottom: 14px; line-height: 1.55; }
.testimonial-author { font-size: 14px; font-weight: 600; }
.testimonial-author span { color: var(--gray); font-weight: 400; }
.testimonial-placeholder {
  border: 2px dashed var(--border);
  background: transparent;
  text-align: center;
  color: var(--gray);
}

/* ==== FAQ ==== */
.faq-list { max-width: 780px; margin: 30px auto 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 20px 24px;
}
.faq-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--navy);
}
.faq-item p { color: var(--gray); font-size: 15px; line-height: 1.55; }

/* ==== Final CTA ==== */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}
.final-cta p {
  color: var(--gray-light);
  margin-bottom: 30px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ==== Footer ==== */
.footer {
  background: var(--navy);
  color: var(--gray-light);
  padding: 50px 24px 30px;
  border-top: 1px solid var(--navy-light);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.footer-brand p {
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 400px;
}
.footer-links h5 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--gray-light); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--navy-light);
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}
.earnings-disclaimer {
  background: rgba(245, 158, 11, 0.05);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.55;
  border-radius: 0 6px 6px 0;
}

/* ==== Legal pages ==== */
.legal-page {
  padding: 60px 0 80px;
  background: var(--white);
}
.legal-page h1 { font-size: 36px; margin-bottom: 10px; }
.legal-updated { color: var(--gray); font-size: 14px; margin-bottom: 30px; }
.legal-notice {
  background: #fff7ed;
  border: 1px solid #fdba74;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  color: #9a3412;
  font-size: 14px;
  line-height: 1.55;
}
.legal-page h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--navy);
}
.legal-page h3 {
  font-size: 18px;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--navy);
}
.legal-page p, .legal-page li {
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.7;
}
.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--navy); }

/* ==== 404 ==== */
.not-found {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.not-found-inner h1 { font-size: 72px; color: var(--gold); margin-bottom: 10px; }
.not-found-inner p { color: var(--gray); font-size: 18px; margin-bottom: 30px; }

/* ==== Responsive ==== */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-inner { padding: 0 16px; }
  .nav-cta { padding: 6px 12px; font-size: 13px; }
  .hero { padding: 60px 20px 70px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .btn-large { padding: 16px 28px; font-size: 16px; }
  section.block { padding: 50px 20px; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
}

.checkout-placeholder {
  max-width: 600px; margin: 80px auto; padding: 40px 24px;
  text-align: center;
}
.checkout-placeholder h1 { font-size: 32px; margin-bottom: 14px; }
.checkout-placeholder p { color: var(--gray); margin-bottom: 20px; }
