/* ── PASSIONATE INCOME — SHARED SITE STYLES ── */
/* Used by: /about/, /programs/, /contact/, /privacy-policy.html, /terms.html, /earnings-disclaimer.html */
/* Self-contained pages (index.html, webinar, igmastery, thank-you) keep their own inline styles. */

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

:root {
  --purple-1: #7c3aed;
  --purple-2: #9d5ff5;
  --purple-3: #c4b5fd;
  --bg: #09090b;
  --bg2: #0f0f11;
  --card: rgba(255,255,255,0.035);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text: #fafafa;
  --muted: rgba(255,255,255,0.55);
  --dim: rgba(255,255,255,0.32);
  --font: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── BG LAYERS ── */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}
.grid-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.05) 0%, transparent 70%);
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0;
  opacity: 0.025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ── NAV ── */
.topnav {
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(9,9,11,0.6);
  position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700; font-style: italic; color: #fff; font-size: 17px;
  box-shadow: 0 0 18px rgba(124,58,237,0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.brand-sub {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim);
  font-family: 'JetBrains Mono', monospace; margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color 0.18s; letter-spacing: -0.005em;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg);
  padding: 10px 18px; border-radius: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
  text-decoration: none; transition: opacity 0.18s, transform 0.18s;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-cta svg { width: 13px; height: 13px; }

.mobile-toggle {
  display: none;
  background: var(--card); border: 1px solid var(--border);
  width: 38px; height: 38px; border-radius: 9px;
  align-items: center; justify-content: center; cursor: pointer;
  color: var(--text);
}
.mobile-toggle svg { width: 18px; height: 18px; }

/* ── PAGE HEAD ── */
.page-head {
  max-width: 880px;
  margin: 0 auto;
  padding: 88px 40px 24px;
  text-align: left;
}
.page-eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--purple-3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 22px;
}
.page-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900; letter-spacing: -0.035em; line-height: 1.04;
  color: var(--text); margin-bottom: 22px;
}
.page-title .script {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 600; color: var(--purple-3);
}
.page-lede {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  max-width: 640px;
}

/* ── CONTENT SECTIONS ── */
.block {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 40px;
  width: 100%;
}
.block-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px;
  width: 100%;
}
.section-eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--purple-3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--text); margin-bottom: 18px;
}
.section-lede {
  font-size: 15.5px; line-height: 1.7;
  color: var(--muted); max-width: 640px;
  margin-bottom: 32px;
}

.prose p {
  font-size: 15.5px; line-height: 1.8; color: var(--muted);
  margin-bottom: 18px;
}
.prose p strong { color: var(--text); font-weight: 700; }
.prose ul {
  margin: 8px 0 22px;
  padding-left: 22px;
}
.prose ul li {
  font-size: 15px; line-height: 1.75; color: var(--muted);
  margin-bottom: 8px;
}
.prose a {
  color: var(--purple-3); text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--text); }
.prose h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin: 56px 0 16px;
  line-height: 1.2;
}
.prose h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); margin: 36px 0 12px;
}

/* ── BUTTONS ── */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s, opacity 0.18s, border-color 0.18s, background 0.18s;
  border: 1px solid transparent;
  font-family: var(--font);
}
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.03); }
.btn-primary svg, .btn-ghost svg { width: 14px; height: 14px; }

/* ── INFO CARDS ── */
.card-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.card-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color 0.25s, transform 0.25s;
  position: relative; overflow: hidden;
}
.info-card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-3px); }
.info-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.info-card-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--purple-3); opacity: 0.85;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 14px;
}
.info-card-title {
  font-size: 16px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 10px; line-height: 1.3;
}
.info-card-body {
  font-size: 13.5px; line-height: 1.7; color: var(--muted);
}

/* ── CALLOUT ── */
.callout {
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(255,255,255,0.02) 60%);
  border: 1px solid rgba(124,58,237,0.22);
  border-radius: 16px;
  padding: 28px 30px;
  margin: 28px 0;
}
.callout h3 {
  font-size: 16px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 12px;
}
.callout p {
  font-size: 14px; line-height: 1.75; color: var(--muted);
  margin-bottom: 10px;
}
.callout p:last-child { margin-bottom: 0; }
.callout a {
  color: var(--purple-3); text-decoration: underline; text-underline-offset: 3px;
}

/* ── FOOTER ── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 40px 40px;
  background: rgba(255,255,255,0.012);
  margin-top: 56px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13.5px; color: var(--muted); text-decoration: none; transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-blurb {
  font-size: 13px; line-height: 1.65; color: var(--muted);
  max-width: 360px; margin-bottom: 24px;
}
.footer-contact {
  font-size: 13px; line-height: 1.7; color: var(--muted);
}
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
}
.footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--dim); }
.footer-legal-links {
  display: flex; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: var(--dim);
}
.footer-legal-links a { color: var(--muted); text-decoration: none; }
.footer-legal-links a:hover { color: var(--text); }
.footer-legal-links span { opacity: 0.4; }

.brand-disclaimers {
  font-size: 10.5px; line-height: 1.6;
  color: rgba(255,255,255,0.32);
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* ── FADE IN ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-head > *, .block > *, .block-wide > * {
  animation: fade-up 0.6s ease backwards;
}
.page-head > *:nth-child(1) { animation-delay: 0.05s; }
.page-head > *:nth-child(2) { animation-delay: 0.12s; }
.page-head > *:nth-child(3) { animation-delay: 0.19s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .topnav { padding: 14px 20px; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 18px 20px; z-index: 49;
    align-items: flex-start;
  }
  .nav-links.open a { font-size: 14px; padding: 8px 0; width: 100%; }
  .page-head { padding: 56px 20px 20px; }
  .block, .block-wide { padding: 40px 20px; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 0; }
  .footer-brand { grid-column: 1 / -1; }
  footer.site-footer { padding: 48px 20px 32px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
}
