/* ─────────────────────────────────────────────────────
   Agentpesa Ambassador — Homepage (landing) Stylesheet
   Sections:
     01. Design Tokens
     02. Reset & Base
     03. Background FX (canvas, orbs, grid)
     04. Navigation
     05. Buttons
     06. Hero
     07. Marquee Strip
     08. Section Shell
     09. How It Works
     10. Milestone Cards
     11. Tier Ladder
     12. Feature Grid
     13. Final CTA
     14. Footer
     15. Reveal-on-scroll & Keyframes
     16. Responsive
───────────────────────────────────────────────────── */


/* ─────────────────────────────────────────
   01. DESIGN TOKENS
───────────────────────────────────────── */
:root {
  /* Brand (sampled from the Agentpesa logo) */
  --pink:        #fa3785;
  --pink-soft:   rgba(250, 55, 133, 0.55);
  --indigo:      #5426e6;
  --violet:      #8b5cf6;
  --cyan:        #22d3ee;
  --gold:        #f59e0b;
  --emerald:     #10b981;

  /* Surfaces */
  --bg:       #05050e;
  --surface:  rgba(255, 255, 255, 0.04);
  --surface2: rgba(255, 255, 255, 0.07);
  --border:   rgba(255, 255, 255, 0.09);
  --nav-bg:   rgba(5, 5, 14, 0.72);
  --chip-bg:  rgba(12, 12, 26, 0.82);

  /* Text */
  --text:  #f8fafc;
  --muted: #94a3b8;

  --font-sans: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ─────────────────────────────────────────
   02. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; }

::selection { background: rgba(250, 55, 133, 0.35); }


/* ─────────────────────────────────────────
   03. BACKGROUND FX
───────────────────────────────────────── */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 75%);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
  animation: orbDrift 16s ease-in-out infinite alternate;
}
.orb--pink   { width: 480px; height: 480px; background: var(--pink);   top: -140px; right: -100px; }
.orb--indigo { width: 520px; height: 520px; background: var(--indigo); top: 45%; left: -180px; animation-delay: -5s; }
.orb--cyan   { width: 360px; height: 360px; background: var(--cyan);   bottom: -120px; right: 12%; opacity: 0.18; animation-delay: -10s; }

@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(50px, 40px, 0) scale(1.12); }
}


/* ─────────────────────────────────────────
   04. NAVIGATION
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: var(--nav-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav__brand-img {
  width: 36px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(250, 55, 133, 0.5));
}

.nav__brand-text strong {
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__links {
  display: flex;
  gap: 0.4rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover { color: var(--text); background: var(--surface2); }


/* ─────────────────────────────────────────
   05. BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.25s ease;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--indigo));
  box-shadow: 0 8px 30px rgba(250, 55, 133, 0.35);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 44px rgba(250, 55, 133, 0.5);
}

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--surface2);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.82rem; }


/* ─────────────────────────────────────────
   06. HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(7rem, 14vh, 10rem) clamp(1rem, 4vw, 2.5rem) 4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  min-height: 92vh;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(250, 55, 133, 0.1);
  border: 1px solid rgba(250, 55, 133, 0.35);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1.6s ease-in-out infinite;
}

.hero__headline {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}

.gradient-text {
  background: linear-gradient(90deg, var(--pink) 0%, var(--violet) 40%, var(--cyan) 70%, var(--pink) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5.5s linear infinite;
}

.hero__subtext {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  max-width: 34rem;
  margin-bottom: 2.1rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.8rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
}

.proof__item { min-width: 90px; }

.proof__value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proof__label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 0.25rem;
}

/* Hero visual — floating logo core with orbit rings */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.core {
  position: relative;
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatY 6s ease-in-out infinite;
}

.core__glow {
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle, rgba(250, 55, 133, 0.35) 0%, rgba(84, 38, 230, 0.22) 45%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3.2s ease-in-out infinite;
}

.core__img {
  position: relative;
  width: 62%;
  z-index: 2;
  filter: drop-shadow(0 0 34px rgba(250, 55, 133, 0.65));
}

.ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring--1 { width: 330px; height: 330px; animation: spin 22s linear infinite; }
.ring--2 { width: 440px; height: 440px; border-style: dashed; border-color: rgba(250, 55, 133, 0.25); animation: spinRev 34s linear infinite; }
.ring--3 { width: 550px; height: 550px; border-color: rgba(84, 38, 230, 0.28); animation: spin 48s linear infinite; }

.ring__dot {
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.ring--1 .ring__dot { background: var(--cyan);  box-shadow: 0 0 14px var(--cyan); }
.ring--2 .ring__dot { background: var(--pink);  box-shadow: 0 0 14px var(--pink); }
.ring--3 .ring__dot { background: var(--violet); box-shadow: 0 0 14px var(--violet); }

/* Floating chips around the core */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  animation: floatY 7s ease-in-out infinite;
}
.chip__icon { font-size: 0.95rem; }
.chip--1 { top: 6%;  left: 2%;  animation-delay: -1.5s; }
.chip--2 { bottom: 12%; left: -2%; animation-delay: -3.4s; }
.chip--3 { top: 18%; right: -2%; animation-delay: -5s; }
.chip--4 { bottom: 4%; right: 6%; animation-delay: -2.2s; }
.chip strong { color: var(--pink); font-family: var(--font-mono); }
.chip--3 strong { color: var(--gold); }
.chip--2 strong { color: var(--cyan); }
.chip--4 strong { color: var(--emerald); }


/* ─────────────────────────────────────────
   07. MARQUEE STRIP
───────────────────────────────────────── */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.9rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item span { color: var(--pink); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─────────────────────────────────────────
   08. SECTION SHELL
───────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(4rem, 9vh, 6.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.8rem;
}

.section__title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.section__title span {
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__sub {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 38rem;
  margin-bottom: 2.8rem;
}


/* ─────────────────────────────────────────
   09. HOW IT WORKS
───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.step-card {
  position: relative;
  padding: 1.7rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 55, 133, 0.4);
  box-shadow: 0 18px 44px rgba(250, 55, 133, 0.14);
}

.step-card__num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.step-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.55rem; }
.step-card__text  { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }


/* ─────────────────────────────────────────
   10. MILESTONE CARDS
───────────────────────────────────────── */
.milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.mile-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.mile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mile-color), transparent);
}

.mile-card:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }

.mile-card--30 { --mile-color: var(--emerald); }
.mile-card--45 { --mile-color: var(--gold); }
.mile-card--60 { --mile-color: var(--violet); }

.mile-card__days {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mile-color);
  margin-bottom: 0.9rem;
}

.mile-card__points {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.mile-card__points small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.mile-card__desc {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ─────────────────────────────────────────
   11. TIER LADDER
───────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.tier-card {
  position: relative;
  padding: 1.6rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-8px);
  border-color: var(--tier-color);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--tier-color) 22%, transparent);
}

.tier-card__icon { font-size: 2rem; margin-bottom: 0.7rem; }

.tier-card__name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--tier-color);
  margin-bottom: 0.35rem;
}

.tier-card__range {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}


/* ─────────────────────────────────────────
   12. FEATURE GRID
───────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.feature-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.feature-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, 0.35); }

.feature-card__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(250, 55, 133, 0.18), rgba(84, 38, 230, 0.18));
  border: 1px solid rgba(250, 55, 133, 0.25);
}

.feature-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.feature-card__text  { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }


/* ─────────────────────────────────────────
   13. FINAL CTA
───────────────────────────────────────── */
.cta-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(250, 55, 133, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 100% at 50% 120%, rgba(84, 38, 230, 0.25), transparent 60%),
    var(--surface);
  border: 1px solid rgba(250, 55, 133, 0.25);
}

.cta-panel__logo {
  width: 74px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 26px rgba(250, 55, 133, 0.6));
  animation: floatY 5s ease-in-out infinite;
}

.cta-panel__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-panel__sub {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
  font-size: 0.96rem;
}

.cta-panel__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}


/* ─────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.6rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer__logo { height: 26px; opacity: 0.9; }

.footer__note {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer__links { display: flex; gap: 1.4rem; }

.footer__link {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__link:hover { color: var(--pink); }


/* ─────────────────────────────────────────
   15. REVEAL-ON-SCROLL & KEYFRAMES
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-spring);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes shimmer {
  to { background-position: 250% center; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.92); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

@keyframes spin    { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinRev { to { transform: translate(-50%, -50%) rotate(-360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
}


/* ─────────────────────────────────────────
   16. RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: unset; }
  .hero__subtext { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__proof { justify-content: center; }
  .hero__visual { min-height: 380px; order: -1; margin-top: 1rem; }
  .ring--3 { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav { justify-content: space-between; }
  .milestones { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .chip--3, .chip--4 { display: none; }
  .ring--2 { width: 340px; height: 340px; }
  .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .hero__proof { gap: 1.4rem; }
}


/* ─────────────────────────────────────────
   17. BENEFITS ("What's In It For You")
───────────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.benefit-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% -20%, rgba(250, 55, 133, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 55, 133, 0.4);
  box-shadow: 0 18px 44px rgba(250, 55, 133, 0.13);
}
.benefit-card:hover::after { opacity: 1; }

.benefit-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(250, 55, 133, 0.16), rgba(84, 38, 230, 0.16));
  border: 1px solid rgba(250, 55, 133, 0.25);
  margin-bottom: 1.1rem;
}

.benefit-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.55rem; }
.benefit-card__text  { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }


/* ─────────────────────────────────────────
   18. THEME TOGGLE & THEME-BOUND ASSETS
───────────────────────────────────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), border-color 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: rgba(250, 55, 133, 0.5);
  transform: rotate(20deg) scale(1.08);
}

/* Show the right logo variant per theme */
.only-light { display: none; }
[data-theme="light"] .only-light { display: inline-block; }
[data-theme="light"] .only-dark  { display: none; }


/* ─────────────────────────────────────────
   19. LIGHT THEME
   Activated via <html data-theme="light">.
───────────────────────────────────────── */
[data-theme="light"] {
  --bg:       #f5f6fb;
  --surface:  rgba(15, 23, 42, 0.045);
  --surface2: rgba(15, 23, 42, 0.08);
  --border:   rgba(15, 23, 42, 0.12);
  --nav-bg:   rgba(248, 249, 253, 0.8);
  --chip-bg:  rgba(255, 255, 255, 0.88);
  --text:     #0f172a;
  --muted:    #5b6579;
}

[data-theme="light"] body {
  background:
    radial-gradient(ellipse 80% 55% at 75% -10%, rgba(250, 55, 133, 0.08), transparent 60%),
    radial-gradient(ellipse 70% 55% at 5% 55%, rgba(84, 38, 230, 0.07), transparent 60%),
    var(--bg);
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
}

[data-theme="light"] #bgCanvas { opacity: 0.55; }
[data-theme="light"] .orb      { opacity: 0.14; }

[data-theme="light"] .proof__value {
  background: linear-gradient(135deg, #0f172a, #0e7490);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .marquee {
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .ring   { border-color: rgba(15, 23, 42, 0.14); }
[data-theme="light"] .ring--2 { border-color: rgba(250, 55, 133, 0.3); }
[data-theme="light"] .ring--3 { border-color: rgba(84, 38, 230, 0.25); }

[data-theme="light"] .chip {
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .cta-panel {
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(250, 55, 133, 0.1), transparent 60%),
    radial-gradient(ellipse 70% 100% at 50% 120%, rgba(84, 38, 230, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.6);
}


/* ─────────────────────────────────────────
   20. REGISTRATION PAGE
───────────────────────────────────────── */
.reg-page {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(7rem, 13vh, 9rem) clamp(1rem, 4vw, 2rem) 4rem;
}

.reg-intro { text-align: center; margin-bottom: 2.2rem; }

.reg-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.9rem;
}

.reg-sub {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 30rem;
  margin: 0 auto;
}

.reg-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.req { color: var(--pink); }

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input::placeholder { color: rgba(148, 163, 184, 0.5); }

.form-input:focus {
  border-color: var(--pink);
  background: rgba(250, 55, 133, 0.05);
  box-shadow: 0 0 0 3px rgba(250, 55, 133, 0.15);
}

.form-input--mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

/* Native dropdown lists follow the page theme */
:root                     { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
.form-select option       { background: #0e0e1e; color: #f8fafc; }
[data-theme="light"] .form-select option { background: #ffffff; color: #0f172a; }

.form-textarea { resize: vertical; min-height: 110px; line-height: 1.65; }

.form-hint {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Phone with fixed +234 prefix */
.phone-wrap { display: flex; }

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  background: var(--surface2);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pink);
  white-space: nowrap;
}

.phone-input { border-radius: 0 12px 12px 0; }

/* Yes/No segmented control */
.seg {
  display: inline-flex;
  gap: 0.5rem;
}

.seg input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg__opt {
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.seg__opt:hover { border-color: rgba(250, 55, 133, 0.4); }

.seg input[type="radio"]:checked + .seg__opt {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--indigo));
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(250, 55, 133, 0.35);
}

.seg input[type="radio"]:focus-visible + .seg__opt {
  box-shadow: 0 0 0 3px rgba(250, 55, 133, 0.35);
}

.codename-preview {
  color: var(--pink);
  font-weight: 700;
}

.reg-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.4rem;
  font-size: 1rem;
  padding: 1rem 1.7rem;
}

.reg-result { grid-column: 1 / -1; }
.reg-result:empty { display: none; }

.reg-box {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.65;
}

.reg-box--error {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

[data-theme="light"] .reg-box--error { color: #be123c; }

.reg-box--success {
  text-align: center;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.reg-box__big { font-size: 2.2rem; margin-bottom: 0.4rem; }

.reg-code {
  display: inline-block;
  margin: 0.8rem auto 1.1rem;
  padding: 0.6rem 1.4rem;
  border: 1.5px dashed var(--emerald);
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--emerald);
}

.is-hidden { display: none !important; }

@media (max-width: 640px) {
  .reg-card { grid-template-columns: 1fr; }
}

[data-theme="light"] .reg-card {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .form-input { background: rgba(255, 255, 255, 0.8); }
[data-theme="light"] .form-input::placeholder { color: rgba(91, 101, 121, 0.5); }


/* ─────────────────────────────────────────
   21. PROMO / EARNINGS (What's In It For You)
───────────────────────────────────────── */
.statement {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 42rem;
  margin-bottom: 2.6rem;
}

.statement strong {
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-card {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.3rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  margin-bottom: 1.1rem;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  border-color: rgba(250, 55, 133, 0.35);
  box-shadow: 0 18px 44px rgba(250, 55, 133, 0.1);
}

.promo-card__title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}

.promo-card__text {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
  max-width: 46rem;
}

.promo-card__text strong { color: var(--text); }

.promo-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
}

.promo-card--pay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan), transparent);
}

/* Payout ledger */
.pay-table {
  margin-top: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.pay-row:last-child { border-bottom: none; }

.pay-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
}

.pay-row--total {
  background: rgba(16, 185, 129, 0.09);
  font-weight: 700;
}

.pay-row--total .pay-amount { font-size: 1.3rem; }

/* Retainer + prizes side by side */
.promo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.promo-duo .promo-card { margin-bottom: 0; }

.prize-rows { margin-top: 1.2rem; display: grid; gap: 0.6rem; }

.prize-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--prize-color) 40%, transparent);
  background: color-mix(in srgb, var(--prize-color) 9%, transparent);
  font-size: 0.9rem;
  font-weight: 700;
}

.prize-row strong { color: var(--prize-color); font-size: 1.05rem; }

/* Quarterly spotlight */
.promo-card--spotlight {
  text-align: center;
  border-color: rgba(250, 55, 133, 0.3);
  background:
    radial-gradient(ellipse 75% 120% at 50% -30%, rgba(250, 55, 133, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 100% at 50% 130%, rgba(84, 38, 230, 0.16), transparent 60%),
    var(--surface);
}

.promo-card--spotlight .promo-card__text { margin: 0 auto; }

.spotlight-icon { font-size: 2.6rem; margin-bottom: 0.6rem; }

.spotlight-kicker {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}

/* Credential stats inside benefit card */
.cred-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--muted);
}

.cred-stats strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--pink);
  margin-right: 0.25rem;
}

/* Honest math closer */
.math-panel {
  margin-top: 2.6rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16, 185, 129, 0.3);
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(16, 185, 129, 0.1), transparent 60%),
    var(--surface);
  text-align: center;
}

.math-lines {
  max-width: 34rem;
  margin: 0 auto 1.2rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
}

.math-lines strong { color: var(--text); }

.math-total {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.45;
}

.math-panel .promo-note { margin-bottom: 1.6rem; }

.fineprint {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 820px) {
  .promo-duo { grid-template-columns: 1fr; }
  .pay-row { flex-direction: row; }
}


/* ─────────────────────────────────────────
   22. EARNINGS CALCULATOR
───────────────────────────────────────── */
.calc-panel {
  margin-top: 2.6rem;
  padding: clamp(1.8rem, 5vw, 3rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(250, 55, 133, 0.3);
  background:
    radial-gradient(ellipse 80% 120% at 50% -25%, rgba(250, 55, 133, 0.13), transparent 62%),
    radial-gradient(ellipse 70% 100% at 50% 125%, rgba(84, 38, 230, 0.13), transparent 62%),
    var(--surface);
  text-align: center;
}

.calc-title {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.calc-slider-wrap { max-width: 40rem; margin: 0 auto 2rem; }

.calc-count {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 9vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

.calc-count-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Range input — fill is driven by --fill (set in JS) */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin-top: 1.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--pink) 0%, var(--indigo) var(--fill, 25%),
    var(--surface2) var(--fill, 25%), var(--surface2) 100%);
  border: 1px solid var(--border);
  cursor: pointer;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pink);
  box-shadow: 0 4px 18px rgba(250, 55, 133, 0.55);
  cursor: grab;
  transition: transform 0.18s var(--ease-spring);
}
.calc-slider::-webkit-slider-thumb:hover  { transform: scale(1.18); }
.calc-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }

.calc-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pink);
  box-shadow: 0 4px 18px rgba(250, 55, 133, 0.55);
  cursor: grab;
}

.calc-slider:focus-visible { box-shadow: 0 0 0 4px rgba(250, 55, 133, 0.28); }

.calc-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

/* Result tiles */
.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.calc-tile {
  padding: 1.3rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.calc-tile__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.calc-tile__value {
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.calc-tile__note {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.5;
}

.calc-tile--total {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}
.calc-tile--total .calc-tile__value { color: var(--emerald); }

/* Retainer tile locked state */
.calc-tile.is-locked { opacity: 0.55; }
.calc-tile.is-locked .calc-tile__value { color: var(--muted); }
.calc-tile.is-unlocked { border-color: rgba(250, 55, 133, 0.45); }
.calc-tile.is-unlocked .calc-tile__value { color: var(--pink); }

/* Leaderboard toggle */
.calc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.calc-toggle:hover { border-color: rgba(245, 158, 11, 0.5); }
.calc-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.calc-toggle__box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--surface2);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.calc-toggle input:checked + .calc-toggle__box {
  background: linear-gradient(135deg, var(--gold), var(--pink));
  border-color: transparent;
}

.calc-toggle input:checked + .calc-toggle__box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
}

.calc-toggle input:focus-visible + .calc-toggle__box {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}

.calc-toggle strong { color: var(--gold); }

.calc-foot { max-width: 34rem; margin: 1.4rem auto 1.8rem; }

@media (max-width: 720px) {
  .calc-results { grid-template-columns: 1fr; }
}
