/* ============================================================
   BonusStash.co — styles.css
   Fonts: Space Grotesk (headings) + DM Sans (body) via Google Fonts
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --accent:        #22c55e;
  --accent-dark:   #16a34a;
  --accent-light:  #dcfce7;
  --navy:          #0f172a;
  --navy-mid:      #1e293b;
  --white:         #ffffff;
  --off-white:     #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #475569;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --card-shadow:   0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --card-shadow-hover: 0 4px 8px rgba(0,0,0,.12), 0 12px 28px rgba(0,0,0,.1);
  --sidebar-w:     280px;
  --header-h:      64px;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-pill:   999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
}
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-large { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-claim {
  background: var(--accent);
  color: var(--navy);
  font-size: .9rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.btn-claim:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-green  { background: #dcfce7; color: #166534; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-gray   { background: #f1f5f9; color: #475569; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-amber  { background: #fef9c3; color: #92400e; }
.badge-gift   { background: #f3e8ff; color: #6b21a8; }

/* ============================================================
   STICKY HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: var(--accent); }
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-counter {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--accent);
  background: rgba(34,197,94,.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34,197,94,.25);
}
.header-counter .earned-val { font-size: 1.05rem; }

/* Share button */
.btn-share {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid rgba(255,255,255,.15);
  font-size: .8rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all .2s;
}
.btn-share:hover { color: var(--white); border-color: rgba(255,255,255,.4); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 72px) 0 80px;
  text-align: center;
}
.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: .9;
}
#hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
#hero h1 .highlight { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,.7);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-trust {
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  margin-bottom: 48px;
}

/* Hero progress bar */
.hero-progress-wrap { max-width: 580px; margin: 0 auto; }
.hero-progress-bar {
  position: relative;
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  overflow: visible;
  margin-bottom: 10px;
}
.hero-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: var(--radius-pill);
  transition: width 1.6s cubic-bezier(.25,.46,.45,.94);
}
.hero-milestone {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--navy-mid);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: all .5s ease;
  z-index: 2;
}
.hero-milestone.lit {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(34,197,94,.6);
}
.hero-milestone::after {
  content: attr(data-label);
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
}
.hero-milestone.lit::after { color: var(--accent); }
.progress-endpoints {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  margin-top: 28px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}
#how-it-works h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 48px;
  letter-spacing: -.02em;
}
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto 32px;
}
.step-item { padding: 8px 16px; }
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  opacity: .9;
}
.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.step-item p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.disclosure-line {
  font-size: .82rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section-header {
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.section-header p {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 600px;
}

/* ============================================================
   TOP PICKS
   ============================================================ */
#top-picks {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
}
#top-picks::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
}
#top-picks .section-label { color: var(--accent); }
#top-picks h2 { color: var(--white); }
#top-picks .section-header p { color: rgba(255,255,255,.6); }

.top-pick-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
}
.top-pick-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--accent);
  box-shadow: 0 8px 32px rgba(34,197,94,.15);
}
.top-pick-card.claimed {
  background: rgba(34,197,94,.08);
  border-left-color: var(--accent-dark);
}
.top-pick-card.claimed::after {
  content: '✓ Claimed';
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.top-pick-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.3);
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.top-pick-card .card-company { color: var(--white); }
.top-pick-card .card-desc    { color: rgba(255,255,255,.6); }
.top-pick-card .meta-item    { color: rgba(255,255,255,.45); }
.top-pick-card .badge-green  { background: rgba(34,197,94,.15); color: #86efac; }
.top-pick-card .badge-gray   { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.top-pick-card .badge-amber  { background: rgba(245,158,11,.15); color: #fcd34d; }
.top-pick-card .badge-gift   { background: rgba(168,85,247,.15); color: #d8b4fe; }
.top-pick-card .how-to-claim { border-top-color: rgba(255,255,255,.1); }
.top-pick-card .how-to-claim summary { color: rgba(255,255,255,.45); }
.top-pick-card .how-to-claim[open] summary { color: var(--white); }
.top-pick-card .claim-step   { color: rgba(255,255,255,.8); }
.top-pick-card .payout-note  { background: rgba(0,0,0,.2); color: rgba(255,255,255,.5); }
.top-pick-card .payout-note strong { color: rgba(255,255,255,.8); }
.top-pick-card .card-footer  { border-top-color: rgba(255,255,255,.1); }
.top-pick-card .claim-check  { color: rgba(255,255,255,.45); }

.owner-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 10px;
  padding: 4px 0;
}
.owner-tag::before {
  content: '↑';
  font-size: .8rem;
}

/* ============================================================
   QUICK WINS
   ============================================================ */
#quick-wins {
  background: var(--gray-100);
  padding: 80px 0;
}
.teaser-line {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 36px;
  font-style: italic;
}

/* ============================================================
   TIER SECTIONS
   ============================================================ */
.tier-section {
  padding: 80px 0;
}
.tier-section:nth-child(even) { background: var(--white); }
.tier-section:nth-child(odd)  { background: var(--gray-100); }

/* Force specific backgrounds */
#thirty-minute-plays { background: var(--white); }
#bigger-plays        { background: var(--gray-100); }

/* ============================================================
   OFFER GRID & CARDS
   ============================================================ */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--accent);
  padding: 24px;
  transition: box-shadow .25s ease, transform .25s ease;
  position: relative;
}
.offer-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.offer-card.claimed {
  background: #f0fdf4;
  border-left-color: var(--accent-dark);
}
.offer-card.claimed::after {
  content: '✓ Claimed';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.card-company {
  font-size: 1.1rem;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.card-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.bonus-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.card-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.meta-item {
  font-size: .8rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* How to claim accordion */
.how-to-claim {
  margin-bottom: 16px;
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}
.how-to-claim summary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.how-to-claim summary::-webkit-details-marker { display: none; }
.how-to-claim summary .chevron { transition: transform .2s; font-size: .75rem; }
.how-to-claim[open] summary .chevron { transform: rotate(180deg); }
.how-to-claim[open] summary { color: var(--text); margin-bottom: 14px; }

.claim-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.claim-step {
  display: flex;
  gap: 10px;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--text);
}
.step-n {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.payout-note {
  font-size: .78rem;
  color: var(--text-muted);
  background: var(--gray-100);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}
.payout-note strong { color: var(--text); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.claim-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--text-muted);
  cursor: pointer;
}
.claim-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ============================================================
   PREDICTION MARKET EXPLAINER
   ============================================================ */
.explainer-block {
  background: #f0fdf4;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px;
  margin: 0 0 0;
}
.explainer-block h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.explainer-block p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.explainer-block p:last-child { margin-bottom: 0; }
.kalshi-steps {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kalshi-step {
  display: flex;
  gap: 10px;
  font-size: .88rem;
  line-height: 1.6;
  align-items: flex-start;
}
.kalshi-step .k-n {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent-dark);
  width: 20px;
}
.explainer-cta {
  font-size: .9rem;
  color: var(--navy);
  font-style: italic;
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
  margin-top: 4px;
}

/* ============================================================
   MID-PAGE EMAIL CAPTURE
   ============================================================ */
#email-capture {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
#email-capture h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
#email-capture .sub {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.email-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.email-form input[type="email"]::placeholder { color: rgba(255,255,255,.4); }
.email-form input[type="email"]:focus { border-color: var(--accent); }
.email-form .btn-primary { flex-shrink: 0; }
.email-legal {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin-top: 6px;
}

/* ============================================================
   PROGRESS TRACKER — Desktop Sidebar
   ============================================================ */
#progress-sidebar {
  position: fixed;
  top: calc(var(--header-h) + 24px);
  right: 24px;
  width: var(--sidebar-w);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--gray-200);
  padding: 20px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity .3s ease, transform .3s ease;
}
#progress-sidebar.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
#progress-sidebar::-webkit-scrollbar { width: 4px; }
#progress-sidebar::-webkit-scrollbar-track { background: transparent; }
#progress-sidebar::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.sidebar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sidebar-bar-wrap {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  overflow: hidden;
}
.sidebar-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: var(--radius-pill);
  width: 0;
  transition: width .5s ease;
}
.sidebar-stats {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.sidebar-earned {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 4px;
}
.sidebar-earned-label {
  text-align: center;
  font-size: .72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sidebar-offer-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
}
.sidebar-offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 0;
  font-size: .8rem;
}
.sidebar-offer-item input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.sidebar-offer-name {
  flex: 1;
  color: var(--text);
  font-size: .8rem;
}
.sidebar-offer-item.checked .sidebar-offer-name {
  color: var(--accent-dark);
  text-decoration: line-through;
  opacity: .7;
}
.sidebar-offer-bonus {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  color: var(--text-muted);
}
.sidebar-offer-item.checked .sidebar-offer-bonus { color: var(--accent); }

.sidebar-reset {
  display: block;
  text-align: center;
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.sidebar-reset:hover { color: #ef4444; }

/* ============================================================
   PROGRESS TRACKER — Mobile Sticky Bar
   ============================================================ */
#mobile-progress {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  z-index: 900;
  padding: 0;
}
.mobile-progress-bar-strip {
  height: 3px;
  background: rgba(255,255,255,.1);
}
.mobile-progress-fill-strip {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width .5s ease;
}
.mobile-progress-tap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
}
.mobile-progress-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
}
.mobile-progress-text span { color: var(--accent); }
.mobile-chevron {
  font-size: .75rem;
  color: var(--gray-400);
  transition: transform .25s;
}
.mobile-drawer-open .mobile-chevron { transform: rotate(180deg); }

.mobile-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.25,.46,.45,.94);
}
.mobile-drawer-open .mobile-drawer {
  max-height: 70vh;
}
.mobile-drawer-inner {
  max-height: 60vh;
  overflow-y: auto;
  padding: 16px 20px 24px;
  background: var(--navy-mid);
}
.mobile-drawer-inner .sidebar-offer-list { border-top: none; padding-top: 0; }
.mobile-drawer-inner .sidebar-offer-name { color: rgba(255,255,255,.85); }
.mobile-drawer-inner .sidebar-offer-item.checked .sidebar-offer-name { color: var(--accent); }
.mobile-drawer-inner .sidebar-earned { color: var(--accent); }
.mobile-drawer-inner .sidebar-bar-wrap { background: rgba(255,255,255,.1); }
.mobile-drawer-inner .sidebar-stats { color: rgba(255,255,255,.45); }
.mobile-drawer-inner .sidebar-earned-label { color: rgba(255,255,255,.4); }
.mobile-drawer-inner .sidebar-reset { color: rgba(255,255,255,.3); }

/* ============================================================
   FAQ
   ============================================================ */
#faq {
  background: var(--white);
  padding: 80px 0;
}
#faq h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 40px;
  letter-spacing: -.02em;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-question:hover { color: var(--accent-dark); }
.faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
  transition: transform .25s ease;
  font-family: monospace;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.25,.46,.45,.94), padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding-bottom: 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 6px; }
.footer-brand p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin-top: 4px;
}
.footer-disclosure {
  font-size: .78rem;
  line-height: 1.7;
  color: rgba(255,255,255,.38);
  max-width: 480px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .85rem;
}
.footer-links a {
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  text-align: center;
}

/* ============================================================
   SCROLL ANIMATIONS (fade-up)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — Tablet 640px+
   ============================================================ */
@media (min-width: 640px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .offer-grid.two-col { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — Desktop 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  /* Main content shifts left to make room for sidebar */
  .sidebar-layout {
    max-width: calc(1120px + var(--sidebar-w) + 48px);
    padding-right: calc(var(--sidebar-w) + 48px);
  }
  #progress-sidebar { display: block; }
  #mobile-progress  { display: none !important; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 2fr 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile only (< 1024px)
   ============================================================ */
@media (max-width: 1023px) {
  #progress-sidebar { display: none; }
  #mobile-progress  { display: block; }
  body { padding-bottom: 72px; }

  /* Hide counter in header on mobile */
  .header-counter { display: none; }
  .btn-share { display: none; }
}

@media (max-width: 639px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .email-form { flex-direction: column; }
  .email-form input[type="email"] { min-width: unset; width: 100%; }
  .card-top { flex-direction: column; }
  .bonus-badge { font-size: 1.2rem; }
  .explainer-block { padding: 24px 20px; }
}
