/* GLOBALAFFIXPRO — Passive Income Blueprint | Premium Sales Site
   Design system: Midnight Navy + Royal Gold + Emerald trust accents */

:root {
  --navy-950: #060d1f;
  --navy-900: #0a1633;
  --navy-800: #101f45;
  --navy-700: #17295a;
  --gold-400: #f2cd6b;
  --gold-500: #e0ad3f;
  --gold-600: #c08f26;
  --emerald: #2fbf87;
  --ink: #eef2fb;
  --muted: #b3bfd8;
  --line: rgba(242, 205, 107, 0.18);
  --card: rgba(255, 255, 255, 0.045);
  --radius: 18px;
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 18px 45px -18px rgba(224, 173, 63, 0.65);
  --grad-gold: linear-gradient(135deg, #f7e3a1 0%, #e0ad3f 45%, #b8811d 100%);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-400); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: var(--gold-500); color: #0a1633; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 84px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.45rem); }
p { color: var(--muted); }
.lead { font-size: clamp(1rem, 2.4vw, 1.15rem); color: #d5deef; }
.gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-400); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; background: rgba(242, 205, 107, 0.07); margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { margin-top: 14px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  text-align: center; line-height: 1.2;
}
.btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.btn-primary { background: var(--grad-gold); color: #14213d; box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-3px); color: #14213d; }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,0.11); color: #fff; }
.btn-wa { background: linear-gradient(135deg, #34d17a, #1da851); color: #05230f; box-shadow: 0 18px 40px -18px rgba(37, 211, 102, 0.7); }
.btn-wa:hover { transform: translateY(-3px); color: #05230f; }
.btn-lg { padding: 19px 38px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.pulse { animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,173,63,0.55); }
  70% { box-shadow: 0 0 0 20px rgba(224,173,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,173,63,0); }
}
.btn-note { font-size: 0.83rem; color: var(--muted); margin-top: 12px; max-width: 460px; }

/* ============ HEADER ============ */
.topbar {
  background: var(--grad-gold); color: #16233f; text-align: center;
  font-size: 0.82rem; font-weight: 800; padding: 8px 14px; letter-spacing: 0.03em;
}
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px); background: rgba(6, 13, 31, 0.86);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; color: #fff; letter-spacing: 0.04em; }
.brand-tag { font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #d7dfef; font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover { color: var(--gold-400); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--gold-400); margin: 4px 0; border-radius: 2px; }

/* ============ HERO ============ */
.hero { padding: 70px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,13,31,0.82) 0%, rgba(6,13,31,0.93) 60%, var(--navy-950) 100%),
    url("../images/passive-income-blueprint-hero-workspace-globalaffixpro.jpg") center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -160px;
  background: radial-gradient(circle, rgba(224,173,63,0.22), transparent 65%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { margin-top: 18px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: #d5deef; }
.hero-points svg { flex: none; margin-top: 3px; }

.price-tag { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.price-now { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; }
.price-old { color: #8fa0c2; text-decoration: line-through; font-weight: 700; }
.price-save { background: rgba(47,191,135,0.15); color: var(--emerald); border: 1px solid rgba(47,191,135,0.35); border-radius: 999px; padding: 5px 13px; font-size: 0.78rem; font-weight: 800; }

/* Book showcase (styled cover, not a plain image) */
.book-stage { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px; }
.book-stage::before {
  content: ""; position: absolute; width: 78%; height: 78%; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,173,63,0.35), transparent 68%); filter: blur(28px);
}
.book-stage img {
  position: relative; width: min(330px, 82%);
  filter: drop-shadow(0 42px 46px rgba(0,0,0,0.78)) drop-shadow(0 0 22px rgba(224,173,63,0.16));
  transform: rotate(-3deg); animation: float 6.5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg);} 50% { transform: translateY(-16px) rotate(-1.5deg);} }
.book-badge {
  position: absolute; right: 4%; bottom: 8%; background: var(--grad-gold); color: #16233f;
  font-weight: 900; font-size: 0.78rem; letter-spacing: 0.08em; padding: 10px 16px; border-radius: 12px;
  box-shadow: var(--shadow-lg); text-transform: uppercase;
}

/* ============ COUNTDOWN ============ */
.countdown-bar { background: linear-gradient(90deg, var(--navy-800), var(--navy-700), var(--navy-800)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.countdown-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; text-align: center; }
.countdown-label { font-weight: 800; color: #fff; letter-spacing: 0.04em; }
.countdown { display: flex; gap: 10px; }
.cd-box { min-width: 68px; background: rgba(6,13,31,0.75); border: 1px solid var(--line); border-radius: 14px; padding: 8px 6px; }
.cd-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--gold-400); line-height: 1.1; }
.cd-unit { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ============ TRUST BADGES ============ */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px 16px; }
.trust-item strong { display: block; color: #fff; font-size: 0.92rem; }
.trust-item span { font-size: 0.78rem; color: var(--muted); }
.trust-icon { width: 38px; height: 38px; flex: none; border-radius: 11px; background: rgba(242,205,107,0.12); display: grid; place-items: center; color: var(--gold-400); }

/* ============ CARDS / GRIDS ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 26px; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); background: rgba(255,255,255,0.07); }
.card h3 { color: #fff; margin-bottom: 8px; }
.card p { font-size: 0.94rem; }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-gold); color: #16233f; display: grid; place-items: center; margin-bottom: 16px; }
.media-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; }

.check-list { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #d5deef; font-size: 0.97rem; }
.check-list svg { flex: none; margin-top: 4px; }

/* Problem / Solution */
.ps-card { border-radius: var(--radius); padding: 28px; border: 1px solid rgba(255,255,255,0.08); }
.ps-problem { background: rgba(220, 76, 76, 0.07); border-color: rgba(220,76,76,0.25); }
.ps-solution { background: rgba(47, 191, 135, 0.07); border-color: rgba(47,191,135,0.28); }
.ps-card h3 { color: #fff; }
.ps-list { list-style: none; display: grid; gap: 11px; margin-top: 16px; }
.ps-list li { display: flex; gap: 10px; font-size: 0.95rem; color: #d5deef; }
.x-mark { color: #ff8a8a; font-weight: 900; }
.v-mark { color: var(--emerald); font-weight: 900; }

/* Chapters */
.chapter-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid rgba(255,255,255,0.07); }
.chapter-num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--gold-500); min-width: 34px; }
.chapter-card h4 { color: #fff; font-size: 1rem; margin-bottom: 3px; }
.chapter-card p { font-size: 0.85rem; }

/* Audience chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 9px 17px; font-size: 0.87rem; font-weight: 600; color: #e6ecf9; background: rgba(242,205,107,0.06); }

/* Testimonials */
.tcard { background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 26px; }
.stars { color: var(--gold-400); letter-spacing: 2px; font-size: 0.95rem; }
.tcard blockquote { margin: 12px 0 18px; color: #e3e9f7; font-size: 0.97rem; }
.tperson { display: flex; gap: 12px; align-items: center; }
.tperson img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-500); }
.tperson strong { display: block; color: #fff; font-size: 0.93rem; }
.tperson span { font-size: 0.78rem; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--gold-400); }
.stat-lbl { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.05em; }

/* Offer / pricing box */
.offer-box {
  max-width: 640px; margin: 0 auto; text-align: center; border-radius: 26px; padding: 40px 28px;
  background: linear-gradient(160deg, rgba(242,205,107,0.14), rgba(6,13,31,0.6));
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.offer-box .price-now { font-size: 3.4rem; }
.offer-includes { list-style: none; display: grid; gap: 10px; text-align: left; max-width: 420px; margin: 24px auto; }
.offer-includes li { display: flex; gap: 10px; font-size: 0.95rem; color: #dbe3f4; }

/* Lead capture */
.lead-form { display: grid; gap: 12px; max-width: 480px; margin-top: 22px; }
.lead-form input {
  width: 100%; padding: 15px 17px; border-radius: 14px; font-family: var(--font-body); font-size: 0.97rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff;
}
.lead-form input::placeholder { color: #93a2c0; }
.lead-form input:focus { outline: 2px solid var(--gold-500); border-color: transparent; }
.form-msg { font-size: 0.88rem; color: var(--emerald); min-height: 20px; }
.privacy-note { font-size: 0.78rem; color: #93a2c0; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 4px 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: #fff; font-size: 1rem;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-400); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; font-size: 0.94rem; }

/* Footer */
.site-footer { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.08); padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: var(--font-body); font-weight: 800; letter-spacing: 0.04em; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-links a { color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--gold-400);
}
.socials a:hover { background: var(--grad-gold); color: #16233f; }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.83rem; color: #93a2c0;
}

/* Floating chat */
.float-stack { position: fixed; right: 16px; bottom: 18px; z-index: 80; display: grid; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; }
.float-wa { background: #25d366; color: #05230f; }
.float-tg { background: #229ed9; }
.float-btn:hover { transform: scale(1.08); color: #fff; }

/* Sticky mobile buy bar */
.mobile-buy { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(3,7,18,0.82); backdrop-filter: blur(6px); z-index: 120; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.open { display: flex; }
.modal-card {
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; border-radius: 22px; padding: 30px 26px;
  background: linear-gradient(165deg, #101f45, #060d1f); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.modal-card h3 { color: #fff; margin-bottom: 6px; }
.modal-note { background: rgba(242,205,107,0.09); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 16px 0; font-size: 0.93rem; color: #e2e9f8; }
.modal-steps { list-style: none; display: grid; gap: 10px; margin: 16px 0; }
.modal-steps li { display: flex; gap: 10px; font-size: 0.92rem; color: #d5deef; }
.modal-close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* Legal pages */
.legal { padding: 60px 0 80px; }
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-wrap h2 { color: #fff; margin: 34px 0 12px; font-size: 1.5rem; }
.legal-wrap p, .legal-wrap li { color: #cad4e8; font-size: 0.97rem; }
.legal-wrap ul { margin: 10px 0 10px 22px; display: grid; gap: 7px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .grid-4, .trust-strip, .stats, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 12px; right: 12px; top: 72px; padding: 14px 18px;
    background: #0b1531; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .burger { display: block; }
  .book-stage { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 58px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 44px 0 60px; }
  .grid-3, .grid-4, .trust-strip, .stats, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; }
  .hero-actions { gap: 12px; }
  .nav-cta .btn { width: auto; }
  .cd-box { min-width: 60px; }
  .price-now { font-size: 2.2rem; }
  .float-stack { bottom: 86px; }
  .mobile-buy {
    display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6,13,31,0.96); border-top: 1px solid var(--line);
  }
  .mobile-buy .btn { padding: 14px 18px; font-size: 0.95rem; }
  .mobile-buy .mb-price { font-family: var(--font-display); font-weight: 800; color: var(--gold-400); font-size: 1.25rem; white-space: nowrap; }
  .site-footer { padding-bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Mobile header + hero refinements ---- */
@media (max-width: 640px) {
  .topbar { font-size: 0.74rem; padding: 7px 12px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 0.92rem; }
  .brand-tag { display: none; }
  .nav { gap: 8px; padding: 10px 0; }
  .nav-cta .btn { padding: 10px 14px; font-size: 0.8rem; white-space: nowrap; }
  .book-stage { padding: 6px; }
  .book-stage img { width: min(250px, 66%); }
  .book-badge { right: 50%; transform: translateX(50%); bottom: 0; font-size: 0.66rem; padding: 8px 12px; }
  .countdown-inner { gap: 12px; }
  .countdown-label { font-size: 0.95rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.14em; }
  .hero-points li, .check-list li, .ps-list li { font-size: 0.92rem; }
  .modal-card { padding: 24px 18px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 0.82rem; }
  .cd-box { min-width: 52px; }
  .cd-num { font-size: 1.3rem; }
}

@media (max-width: 640px) {
  .eyebrow { white-space: normal; max-width: 100%; line-height: 1.5; text-align: left; }
  .book-stage img { width: min(215px, 58%); }
  .hero { padding-top: 26px; }
  .hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.4rem); }
}
