/* ============================================================
   PDF Wealth Academy — Main Stylesheet
   Mobile-first, fully responsive
   ============================================================ */

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

:root {
  --primary: #6C63FF;
  --primary-light: #A89BFF;
  --primary-dark: #4A42CC;
  --accent: #FF6B6B;
  --accent2: #FFD93D;
  --teal: #4ECDC4;
  --dark: #0D0D1A;
  --darker: #07070F;
  --card: #13132A;
  --cream: #F0EEFF;
  --text: #E2DFFF;
  --muted: #7B78A8;
  --border: rgba(108,99,255,0.2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

/* ── Touch devices: restore cursor ─── */
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* ── Custom Cursor ─────────────────── */
.cursor {
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: screen;
}

/* ── Noise texture overlay ─────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(108,99,255,0.15) 0%, rgba(255,107,107,0.05) 60%, transparent 100%);
}

.hero-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.4);
  color: var(--primary-light);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeDown 0.8s ease both;
  position: relative; z-index: 2;
}
.badge::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp   { from { opacity:0; transform:translateY(30px);  } to { opacity:1; transform:translateY(0); } }
@keyframes shimmer  { 0% { background-position:0% 50%; } 100% { background-position:200% 50%; } }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.3em;
  animation: fadeUp 0.9s 0.2s ease both;
  position: relative; z-index: 2;
}

.hero h1 span {
  background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6C63FF, #4ECDC4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300%;
  animation: shimmer 5s infinite linear;
}

.punchline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 1.5rem;
  opacity: 0.85;
  animation: fadeUp 0.9s 0.4s ease both;
  position: relative; z-index: 2;
  padding: 0 1rem;
}

.hero-sub {
  max-width: 540px;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.5s ease both;
  position: relative; z-index: 2;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.9s 0.7s ease both;
  position: relative; z-index: 2;
}

/* ── Buttons ───────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(108,99,255,0.4);
  letter-spacing: 0.03em;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(108,99,255,0.6), 0 0 20px rgba(255,107,107,0.3);
  color: #fff;
  text-decoration: none;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
}
.cta-btn { font-size: 1.1rem; padding: 1.1rem 2.5rem; }

/* ── Social Proof ──────────────────── */
.social-proof {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.9s 0.9s ease both;
  position: relative; z-index: 2;
}
.avatars { display: flex; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  margin-left: -10px;
  background: linear-gradient(135deg, #2a2060, #5a45cc);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--primary-light);
}
.proof-text { font-size: 0.82rem; color: var(--muted); }
.proof-text strong { color: var(--accent2); }
.stars { color: var(--accent2); font-size: 0.8rem; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  border-top: 1px solid rgba(108,99,255,0.15);
  border-bottom: 1px solid rgba(108,99,255,0.15);
  background: linear-gradient(90deg, rgba(108,99,255,0.05), rgba(255,107,107,0.03), rgba(108,99,255,0.05));
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-light);
  display: block;
}
.stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.content-section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  max-width: 550px;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ============================================================
   WHY PDFs GRID
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: rgba(108,99,255,0.1);
  margin-top: 2.5rem;
  border: 1px solid rgba(108,99,255,0.15);
}
.why-card {
  background: var(--card);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.why-card:hover { background: rgba(108,99,255,0.08); }
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--primary), var(--teal));
  transition: height 0.4s ease;
}
.why-card:hover::before { height: 100%; }
.why-icon { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
.why-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--cream); }
.why-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--darker); }
.how-section .content-section { padding: 5rem 1.5rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.step {
  padding: 1.8rem;
  background: rgba(108,99,255,0.04);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.step:hover {
  border-color: rgba(108,99,255,0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(108,99,255,0.15);
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(108,99,255,0.2);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.step h3 { font-size: 0.95rem; font-weight: 500; color: var(--cream); margin-bottom: 0.4rem; }
.step p { font-size: 0.83rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-section {
  background: linear-gradient(135deg, rgba(108,99,255,0.1) 0%, rgba(78,205,196,0.05) 100%);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-top: 2.5rem;
  text-align: center;
}
.calc-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--cream);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.calc-item label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.calc-item input[type=range] {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
  height: 6px;
}
.calc-item .val {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--primary-light);
  font-weight: 700;
}
.formula-row {
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.formula-result { color: var(--teal); }
.result {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(108,99,255,0.4));
  margin-top: 0.5rem;
}
.result-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }

/* ============================================================
   NICHES
   ============================================================ */
.niches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.niche {
  background: rgba(108,99,255,0.05);
  border: 1px solid rgba(108,99,255,0.2);
  color: var(--muted);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 50px;
  transition: all 0.2s;
  cursor: default;
}
.niche:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(108,99,255,0.12); }
.niche.hot { border-color: rgba(255,107,107,0.4); color: #FF9E9E; background: rgba(255,107,107,0.06); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testi {
  background: var(--card);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: 12px;
  padding: 1.8rem;
  transition: border-color 0.3s, transform 0.3s;
}
.testi:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-3px); }
.testi-body { font-size: 0.88rem; line-height: 1.8; color: var(--text); margin-bottom: 1.2rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: #fff; font-weight: 700;
}
.testi-name { font-size: 0.88rem; font-weight: 500; color: var(--cream); }
.testi-info { font-size: 0.73rem; color: var(--muted); }
.testi-earn { font-size: 0.83rem; color: var(--teal); font-weight: 500; }

/* ============================================================
   FEAR BUSTERS
   ============================================================ */
.fear-section {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.fear-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
.fear-item { margin-bottom: 1.2rem; }
.fear-q { font-weight: 500; color: var(--text); margin-bottom: 0.3rem; }
.fear-q::before { content: '✗ '; color: #ff6b6b; }
.fear-a { font-size: 0.88rem; color: var(--muted); padding-left: 1.2rem; line-height: 1.7; }
.fear-a::before { content: '✓ '; color: #6bff9e; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  background: linear-gradient(180deg, var(--darker) 0%, #0D0A2A 100%);
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(108,99,255,0.2) 0%, rgba(255,107,107,0.05) 50%, transparent 70%);
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
}
.guarantee {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-quote {
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary-light);
  font-style: italic;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   MOBILE — max 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero { padding: 5rem 1.2rem 3rem; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .punchline { font-size: 1rem; }
  .calc-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .calc-section { padding: 1.8rem 1.2rem; }
  .stats { gap: 1.2rem; padding: 1.5rem 1rem; }
  .stat-num { font-size: 1.8rem; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .btn-primary { width: 100%; text-align: center; }
  .cta-btn { font-size: 1rem; padding: 1rem 1.5rem; }
  .content-section { padding: 3.5rem 1.2rem; }
  .cta-section { padding: 4rem 1.2rem; }
  .niches-list { gap: 0.5rem; }
  .niche { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
}

/* ============================================================
   TABLET — 481px to 768px
   ============================================================ */
@media (min-width: 481px) and (max-width: 768px) {
  .hero h1 { font-size: clamp(2.8rem, 8vw, 4.5rem); }
  .calc-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .content-section { padding: 4rem 1.5rem; }
  .cta-section { padding: 5rem 1.5rem; }
  .btn-primary { font-size: 0.95rem; }
}

/* ============================================================
   DESKTOP — 769px+
   ============================================================ */
@media (min-width: 769px) {
  .hero { padding: 7rem 2rem 5rem; }
  .content-section { padding: 6rem 2rem; }
  .cta-section { padding: 8rem 2rem; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   META AD POLICY COMPLIANCE ADDITIONS
   ============================================ */

/* Stats disclaimer */
.stats-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  padding: 0.4rem 2rem 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Calculator disclaimers */
.calc-disclaimer-top,
.calc-disclaimer-bottom {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0.8rem 0;
  padding: 0.75rem 1rem;
  background: rgba(255,200,0,0.06);
  border-left: 3px solid rgba(255,200,0,0.4);
  border-radius: 0 6px 6px 0;
}
.calc-disclaimer-bottom {
  border-left-color: rgba(255,100,100,0.5);
  background: rgba(255,100,100,0.05);
  color: rgba(255,180,180,0.8);
}

/* Testimonial disclaimers */
.testi-disclaimer-top,
.testi-disclaimer-bottom {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0 auto 1.5rem;
  max-width: 860px;
  padding: 0.9rem 1.2rem;
  background: rgba(255,200,0,0.06);
  border: 1px solid rgba(255,200,0,0.2);
  border-radius: 8px;
}
.testi-disclaimer-bottom {
  margin: 1.5rem auto 0;
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
}

/* Earnings Disclaimer Block */
.earnings-disclaimer {
  max-width: 860px;
  margin: 3rem auto 2rem;
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.earnings-disclaimer h4 {
  font-size: 0.9rem;
  color: rgba(255,200,80,0.85);
  margin-bottom: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.earnings-disclaimer p {
  margin-bottom: 0.7rem;
}
.earnings-disclaimer strong {
  color: rgba(255,255,255,0.7);
}

/* Removed income figures in testimonials — earn label is now neutral */
.testi-earn {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.45) !important;
  font-style: italic;
}
.testi-earn::before {
  content: '' !important; /* remove any ↑ arrow styling */
}
