/* ============================================================
   RESELLING MASTERY — styles.css v4
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bg:            #060606;
  --bg-card:       #0e0e0e;
  --bg-card-hover: #131313;
  --bg-card-alt:   #090909;

  --gold:          #f0c040;
  --gold-light:    #ffe580;
  --gold-dim:      rgba(240, 192, 64, 0.08);
  --gold-border:   rgba(240, 192, 64, 0.20);

  --text:          #ffffff;
  --text-muted:    #666666;
  --text-dim:      #2e2e2e;

  --border:        rgba(255, 255, 255, 0.06);
  --border-card:   rgba(255, 255, 255, 0.07);

  --radius:        14px;
  --radius-lg:     18px;
  --radius-btn:    8px;

  --section-gap:   clamp(56px, 7vw, 88px);
  --max-w:         860px;
}

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

body > * {
  position: relative;
  z-index: 1;
}

img, video, iframe { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* Gold gradient text — used only on accent spans */
.accent {
  font-weight: 900;
  background: linear-gradient(160deg, #ffe580 0%, #f0a500 55%, #ffd040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section heading */
.section-heading {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: clamp(24px, 3vw, 36px);
  text-align: center;
  line-height: 1.05;
}

.section-heading::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  margin: 7px auto 0;
}

/* ── CTA Button ────────────────────────────────────────────── */
@keyframes btn-pulse {
  0%   { box-shadow: 0 0 18px rgba(245,200,66,0.40), 0 8px 24px rgba(245,200,66,0.28), inset 0 1px 0 rgba(255,255,255,0.25); }
  50%  { box-shadow: 0 0 28px rgba(245,200,66,0.62), 0 10px 32px rgba(245,200,66,0.38), inset 0 1px 0 rgba(255,255,255,0.25); }
  100% { box-shadow: 0 0 18px rgba(245,200,66,0.40), 0 8px 24px rgba(245,200,66,0.28), inset 0 1px 0 rgba(255,255,255,0.25); }
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #f5c842 0%, #d4920a 100%);
  color: #000000;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid rgba(255, 220, 100, 0.6);
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow:
    0 0 18px rgba(245, 200, 66, 0.40),
    0 8px 24px rgba(245, 200, 66, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  width: auto;
  position: relative;
  z-index: 2;
  animation: btn-pulse 2.5s ease-in-out infinite;
}

.btn:hover {
  background: linear-gradient(135deg, #ffe066 0%, #e8a800 100%);
  transform: translateY(-2px);
  animation: none;
  box-shadow:
    0 0 32px rgba(245, 200, 66, 0.70),
    0 12px 36px rgba(245, 200, 66, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.btn:active { transform: translateY(0); animation: none; }

.btn--hero {
  font-size: 0.9rem;
  padding: 18px 48px;
  margin-top: 28px;
  margin-bottom: 24px;
}

.btn--lg {
  font-size: 0.9rem;
  padding: 18px 52px;
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in--visible { opacity: 1; transform: none; }

/* ============================================================
   STICKY HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0 20px;
  background: transparent;
  text-align: center;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg,
    rgba(6,6,6,0.98) 0%,
    rgba(6,6,6,0.95) 25%,
    rgba(6,6,6,0.75) 50%,
    rgba(6,6,6,0.30) 70%,
    rgba(6,6,6,0) 100%);
  pointer-events: none;
  z-index: -1;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(6,6,6,0.18) 0%, transparent 100%);
  pointer-events: none;
}

.site-header .brand-name {
  margin-bottom: 0;
  font-family: "Didot", "Bodoni 72", "Hoefler Text", "Palatino Linotype", "Palatino", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #ffffff;
  opacity: 0.92;
  text-shadow: 0 0 14px rgba(255,255,255,0.10);
}

.brand-spark {
  display: inline-block;
  font-size: 0.75em;
  color: #ffffff;
  text-shadow:
    0 0 6px rgba(255,255,255,0.95),
    0 0 14px rgba(255,255,255,0.70),
    0 0 30px rgba(255,255,255,0.40),
    0 0 60px rgba(255,255,255,0.18);
  animation: spark-pulse 3s ease-in-out infinite;
}

@keyframes spark-pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 6px rgba(255,255,255,0.95), 0 0 14px rgba(255,255,255,0.70), 0 0 30px rgba(255,255,255,0.40), 0 0 60px rgba(255,255,255,0.18); }
  50%       { opacity: 0.7; text-shadow: 0 0 4px rgba(255,255,255,0.70), 0 0 10px rgba(255,255,255,0.45), 0 0 20px rgba(255,255,255,0.25), 0 0 40px rgba(255,255,255,0.10); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(24px, 3vw, 36px);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.02) 25%,
    rgba(255,255,255,0.01) 45%,
    transparent 70%
  );
}


.hero__glow {
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 18%,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.10) 20%,
      rgba(255,255,255,0.04) 40%,
      rgba(255,255,255,0.015) 55%,
      rgba(255,255,255,0.005) 65%,
      transparent 75%);
}

.hero .container { position: relative; z-index: 2; }

.brand-name {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0.85;
}

.hero__headline {
  font-size: clamp(1.9rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 780px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.hero__headline .accent {
  font-size: 1.15em;
}

.hero__sub-badge {
  display: inline-block;
  width: auto;
  margin-top: 14px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.rec-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ff3b3b;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  box-shadow: 0 0 6px rgba(255, 59, 59, 0.8);
  animation: rec-pulse 1.8s ease-in-out infinite;
}

@keyframes rec-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255, 59, 59, 0.8); }
  50%       { opacity: 0.4; box-shadow: 0 0 3px rgba(255, 59, 59, 0.4); }
}

.video-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.video-wrap--wistia {
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 0;
}

.wistia-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.wistia-placeholder__inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  color: var(--text-muted);
}

.wistia-placeholder__inner span {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.35;
}

.play-icon { width: 56px; height: 56px; color: rgba(255,255,255,0.18); }

/* ============================================================
   CREDIBILITY BAR
   ============================================================ */
.cred-bar {
  padding-top: 0;
  padding-bottom: 0;
}

.cred-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cred-block {
  border-radius: var(--radius-lg);
  overflow: visible;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding-bottom: 0;
  transition: border-color 0.2s ease;
  position: relative;
}

.cred-block:hover { border-color: var(--gold-border); }


.cred-block__text {
  position: relative;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: visible;
}

.cred-block__stat {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding-bottom: 4px;
  background: linear-gradient(135deg, #ffe580 0%, #f0a500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cred-block__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.cred-block__img-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.cred-block__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.cred-block__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
  pointer-events: none;
}

/* ============================================================
   MODULES
   ============================================================ */
.modules {
  padding-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--border);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.modules-timeline {
  position: relative;
}

.modules-timeline__track {
  display: none;
}

@media (max-width: 520px) {
  .modules-timeline {
    padding-left: 20px;
  }

  .modules-timeline__track {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
  }

  .tl-dot {
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    transform: translateX(0);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
  }

  .tl-dot--active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 6px rgba(240,192,64,0.6);
  }

  .tl-segment {
    position: absolute;
    left: 2px;
    width: 1px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
  }

  .tl-segment__fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gold);
    box-shadow: 0 0 6px rgba(240,192,64,0.5);
    transition: height 0.06s linear;
  }
}

.module-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.module-card:hover::before {
  opacity: 1.5;
}

.module-card:hover {
  background: #111111;
  border-color: var(--gold-border);
}

.module-card__header,
.module-card__desc {
  position: relative;
  z-index: 1;
}

.module-card--wide { grid-column: 1 / -1; }

@media (min-width: 640px) {
  .module-card--wide { grid-column: span 2; }
}

.module-card__header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}

.module-card__icon { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }

.module-card__title {
  font-size: 0.9rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em;
}

.module-card__desc {
  font-size: 0.825rem; color: var(--text-muted); line-height: 1.55;
}

/* ============================================================
   STUDENT RESULTS
   ============================================================ */
.results {
  padding-top: clamp(36px, 4vw, 52px);
  padding-bottom: var(--section-gap);
  border-top: 1px solid var(--border);
}

.video-wrap--youtube {
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(40px, 5vw, 60px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-wrap--youtube iframe { width: 100%; height: 100%; }

.result-block { margin-bottom: clamp(28px, 4vw, 44px); }

.result-block__heading {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 14px; text-align: center;
}

.result-block__images { display: grid; gap: 8px; }
.result-block__images--three {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.result-block__images--three .result-img-wrap {
  border: none;
}

.result-block__images--three .result-img-wrap:last-child {
  grid-column: 1 / -1;
  max-width: 50%;
  margin-inline: auto;
}

.result-block__images--two {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.result-block__images--two .result-img-wrap {
  aspect-ratio: 3 / 4;
}

.result-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.result-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  pointer-events: none;
}

.result-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

.more-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.portrait-video-wrap,
.whatsapp-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  width: 100%;
  aspect-ratio: unset;
}

.portrait-video-wrap img,
.whatsapp-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* ============================================================
   MID CTA
   ============================================================ */
.mid-cta {
  padding-block: clamp(16px, 2.5vw, 28px);
  text-align: center;
  border-top: none;
  border-bottom: none;
}

/* ============================================================
   WHY MOST RESELLERS FAIL
   ============================================================ */
.fail {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(28px, 3vw, 40px);
}

.fail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.fail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.2s ease;
}

.fail-card:hover { border-color: rgba(255, 60, 60, 0.22); }

.fail-card__header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}

.fail-card__icon { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }

.fail-card__title {
  font-size: 0.9rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em;
}

.fail-card__desc {
  font-size: 0.825rem; color: var(--text-muted); line-height: 1.6;
}

/* ============================================================
   FAQs
   ============================================================ */
.faqs {
  padding-top: clamp(28px, 3vw, 40px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--border);
}

.accordion { display: flex; flex-direction: column; gap: 6px; }

.accordion__item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.accordion__item--open { border-color: rgba(255,255,255,0.14); }

.accordion__trigger {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 20px;
  background: transparent; border: none; cursor: pointer;
  color: var(--text); font-family: inherit;
  font-size: 0.9rem; font-weight: 600;
  text-align: left; letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.accordion__trigger:hover { color: var(--gold); }
.accordion__item--open .accordion__trigger { color: var(--gold); }

.accordion__chevron {
  flex-shrink: 0; width: 16px; height: 16px;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.15s ease;
}

.accordion__item--open .accordion__chevron {
  transform: rotate(180deg); color: var(--gold);
}

.accordion__panel { padding: 0 20px 18px; }

.accordion__panel p {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.75;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding-block: clamp(48px, 6vw, 72px);
  position: relative;
  text-align: center;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.final-cta__glow {
  position: absolute;
  bottom: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta__heading {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 900; letter-spacing: -0.035em;
  color: var(--text); margin-bottom: 14px; line-height: 1.06;
}

.today-accent {
  position: relative;
  display: inline-block;
}

.today-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  border-radius: 2px;
}

.final-cta__sub {
  font-size: 0.95rem; color: var(--text-muted);
  max-width: 460px; margin-inline: auto;
  margin-bottom: 32px; line-height: 1.7;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  padding-block: 32px;
  border-top: 1px solid var(--border);
}

.disclaimer p {
  font-size: 0.68rem; color: var(--text-dim);
  line-height: 1.75; max-width: 780px;
  margin-inline: auto; text-align: center;
}

.disclaimer strong { color: #444; font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
}

@media (max-width: 520px) {
  .hero__headline br {
    display: none;
  }
  .hero__headline {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
    text-wrap: balance;
  }
  .modules-grid { grid-template-columns: 1fr; }
  .module-card--wide { grid-column: 1; }
  .fail-grid { grid-template-columns: 1fr; }
  .result-block__images--three { grid-template-columns: 1fr 1fr; }
  .result-block__images--three .result-img-wrap:last-child {
    grid-column: 1 / -1; max-width: 55%; margin-inline: auto;
  }
  .more-results-grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-wrap, .portrait-video-wrap { max-width: 100%; margin-inline: 0; grid-column: auto; }
  .btn--hero, .btn--lg { padding-inline: 36px; }
}
