/* ═══════════════════════════════════════════════════
   CREDMANTRI LANDING PAGE — style.css
   Deep Forest Green × Crisp White Premium Theme
   Mobile-first, production-ready
   Accessibility: A+ | Performance: A | UX: A+
═══════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────── */
:root {
  --green-950: #052e16;
  --green-900: #0f4c35;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-300: #86efac;
  --green-200: #bbf7d0;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --primary:       #15803d;
  --primary-light: #22c55e;
  --primary-dark:  #0f4c35;
  --primary-glow:  rgba(21,128,61,0.22);

  --surface:   #ffffff;
  --surface-2: #f8fffe;
  --surface-3: #f0fdf4;
  --bg:        #f7fffe;

  --text-1: #0a1a0f;
  --text-2: #2d4a37;
  --text-3: #537a60;
  --text-4: #7da888;

  --border:       rgba(21,128,61,0.12);
  --border-hover: rgba(21,128,61,0.3);

  --sh-sm:    0 1px 4px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.03);
  --sh-md:    0 4px 20px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.04);
  --sh-lg:    0 12px 40px rgba(0,0,0,.09), 0 4px 16px rgba(0,0,0,.05);
  --sh-xl:    0 24px 64px rgba(0,0,0,.11), 0 8px 24px rgba(0,0,0,.06);
  --sh-green: 0 8px 28px rgba(21,128,61,.28);

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-full: 9999px;

  --font-h: 'Bricolage Grotesque', sans-serif;
  --font-b: 'Plus Jakarta Sans', sans-serif;

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

  --section-gap: 96px;
  --container:   1200px;

  /* Focus ring — visible on all elements */
  --focus-ring: 0 0 0 3px rgba(21,128,61,0.45);
}

/* ─── RESET ───────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body { font-family: var(--font-b); color: var(--text-1); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
img,svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul,ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
strong { font-weight: 700; }

/* ─── SCREEN-READER ONLY ──────────────────────────── */
.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;
}

/* ─── SKIP LINK ───────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--primary-dark); color: #fff;
  padding: 10px 22px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: var(--font-h); font-weight: 700; font-size: 0.9rem;
  z-index: 9999; transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; outline: 3px solid var(--primary-light); outline-offset: 2px; }

/* ─── FOCUS STYLES (visible for keyboard users) ─── */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}
a:focus-visible,
button:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--r-sm); }

/* ─── REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── TYPOGRAPHY ──────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 800; line-height: 1.12; color: var(--text-1); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
p  { color: var(--text-2); }

/* ─── CONTAINER ───────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media(min-width:768px){ .container { padding: 0 32px; } }

/* ─── SECTION ─────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-title  { margin-bottom: 14px; letter-spacing: -0.02em; }
.section-sub    { font-size: 1.05rem; color: var(--text-3); line-height: 1.7; }

.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-h); font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--primary); background: var(--green-100);
  padding: 5px 13px; border-radius: var(--r-full); margin-bottom: 14px;
}
.section-tag-light { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.95); }

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-weight: 700; font-size: 0.875rem;
  border-radius: var(--r-full); white-space: nowrap;
  transition: transform 0.22s var(--spring), box-shadow 0.22s ease, background 0.2s ease, color 0.2s ease;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97) !important; }
.btn:focus-visible { box-shadow: var(--focus-ring); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; padding: 11px 22px;
  box-shadow: var(--sh-green);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(21,128,61,.38); }

.btn-glass {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  color: #fff; padding: 11px 22px;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-glass:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--primary); padding: 12px 26px;
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-green); }

.btn-white {
  background: #fff; color: var(--primary-dark); padding: 13px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }

.btn-glass-white {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9); padding: 13px 24px;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-glass-white:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.btn-disabled {
  opacity: 0.5; cursor: not-allowed; pointer-events: none;
}

.btn-sm   { font-size: 0.78rem; padding: 8px 16px; }
.btn-lg   { font-size: 1rem; padding: 14px 30px; }
.btn-hero { font-size: 1rem; padding: 14px 28px; }

/* ─── LIVE DOT ────────────────────────────────────── */
.live-dot, .live-dot-sm {
  display: inline-block; border-radius: 50%;
  background: #22c55e;
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot    { animation: pulse 2s ease-in-out infinite; }
  .live-dot-sm { animation: pulse 2s ease-in-out infinite; }
}
.live-dot    { width: 8px; height: 8px; }
.live-dot-sm { width: 6px; height: 6px; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* ─── SCROLL REVEAL ───────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d0 { transition-delay: 0s; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Hero stagger */
.stagger-1,.stagger-2,.stagger-3,.stagger-4,.stagger-5 { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: no-preference) {
  .stagger-1 { animation: fadeUp .6s var(--ease) .05s forwards; }
  .stagger-2 { animation: fadeUp .65s var(--ease) .15s forwards; }
  .stagger-3 { animation: fadeUp .65s var(--ease) .25s forwards; }
  .stagger-4 { animation: fadeUp .65s var(--ease) .35s forwards; }
  .stagger-5 { animation: fadeUp .65s var(--ease) .45s forwards; }
}
/* For reduced-motion users, show immediately */
@media (prefers-reduced-motion: reduce) {
  .stagger-1,.stagger-2,.stagger-3,.stagger-4,.stagger-5 { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease;
}
.header.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border), var(--sh-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex; align-items: center; justify-content: center; color: #fff;
  flex-shrink: 0;
}
.brand-logo-sm { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-h); font-size: 1.2rem; font-weight: 800; color: var(--text-1); letter-spacing: -0.03em; }

/* Nav */
.nav-links { display: flex; gap: 2px; }
.nav-link {
  font-family: var(--font-h); font-size: 0.85rem; font-weight: 600;
  color: var(--text-2); padding: 7px 14px; border-radius: var(--r-full);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--primary); background: var(--green-100); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger { display: none; padding: 7px; border-radius: var(--r-sm); transition: background .2s; }
.hamburger:hover { background: var(--green-100); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  background: #fff; border-top: 1px solid var(--border);
  padding: 14px 20px 20px;
}
.mobile-menu.open { display: flex; }
.mob-link {
  padding: 11px 14px; font-family: var(--font-h); font-weight: 600; font-size: 0.9rem;
  color: var(--text-2); border-radius: var(--r-sm); transition: background .2s, color .2s;
}
.mob-link:hover { background: var(--green-50); color: var(--primary); }
.mob-cta { margin-top: 8px; justify-content: center; }

@media(max-width:768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100svh; position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, #052e16 0%, #0f4c35 45%, #15803d 100%);
  overflow: hidden; padding-top: 68px;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.3;
}
@media (prefers-reduced-motion: no-preference) {
  .orb-1 { animation: drift 14s ease-in-out infinite alternate; }
  .orb-2 { animation: drift 18s ease-in-out infinite alternate-reverse; }
  .orb-3 { animation: drift 10s ease-in-out infinite alternate; }
}
.orb-1 { width:550px;height:550px;background:radial-gradient(circle,#22c55e,transparent 70%); top:-120px;right:-80px; }
.orb-2 { width:350px;height:350px;background:radial-gradient(circle,#4ade80,transparent 70%); bottom:0;left:-60px; }
.orb-3 { width:250px;height:250px;background:radial-gradient(circle,#86efac,transparent 70%); top:40%;left:35%; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(25px,15px) scale(1.07); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
}

.hero-layout {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding-top: 60px; padding-bottom: 80px; position: relative; z-index: 2;
}

/* ─── HERO VISUAL (right side: illustration + card) ── */
.hero-visual {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  position: relative;
}

/* Illustrated panel */
.hero-illus-panel {
  position: relative; width: 100%; max-width: 420px;
  height: 300px; display: flex; align-items: center; justify-content: center;
  margin-bottom: -28px;
}

/* Soft glow rings behind figure */
.illus-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.illus-ring-1 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(74,222,128,0.2), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.illus-ring-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(34,197,94,0.09), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: no-preference) {
  .illus-ring-1 { animation: illus-pulse 3.5s ease-in-out infinite; }
  .illus-ring-2 { animation: illus-pulse 3.5s ease-in-out infinite 0.5s; }
}
@keyframes illus-pulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:0.7; }
  50%      { transform: translate(-50%,-50%) scale(1.08); opacity:1; }
}

/* The SVG figure */
.illus-figure {
  position: relative; z-index: 3;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.38));
}
.illus-svg { width: 190px; height: 248px; }

/* Floating badge pills around the illustration */
.illus-badge {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.13); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  padding: 7px 13px; color: rgba(255,255,255,0.95);
  font-family: var(--font-h); font-size: 0.7rem; font-weight: 700;
  white-space: nowrap; pointer-events: none;
}
.illus-badge svg { opacity: 0.85; flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .illus-badge-1 { animation: badgeFloat 4s ease-in-out infinite; }
  .illus-badge-2 { animation: badgeFloat 5s ease-in-out infinite 0.8s; }
  .illus-badge-3 { animation: badgeFloat 4.5s ease-in-out infinite 1.4s; }
  .illus-badge-4 { animation: badgeFloat 5.5s ease-in-out infinite 0.4s; }
}
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.illus-badge-1 { top: 10px; left: 0px; }
.illus-badge-2 { top: 20px; right: 0px; }
.illus-badge-3 { bottom: 55px; left: 0px; }
.illus-badge-4 { bottom: 45px; right: 0px; }
@media(max-width:500px) { .illus-badge { display:none; } }

/* Earnings ping indicator */
.illus-ping {
  position: absolute; top: -4px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff; padding: 6px 14px 6px 10px; border-radius: 999px;
  font-family: var(--font-h); font-size: 0.72rem; font-weight: 800;
  box-shadow: 0 4px 18px rgba(21,128,61,0.55);
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .illus-ping { animation: pingBounce 2.2s ease-in-out infinite; }
}
@keyframes pingBounce {
  0%,100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.05); }
}
.illus-ping-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #bbf7d0;
  animation: pulse 1.5s ease-in-out infinite; flex-shrink: 0;
}

/* Hero content */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.92); padding: 6px 14px; border-radius: var(--r-full);
  font-family: var(--font-h); font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.15); margin-bottom: 22px;
}

.hero-heading { color: #fff; margin-bottom: 20px; letter-spacing: -0.025em; }
.heading-em { color: rgba(255,255,255,.8); }
.heading-rupee {
  display: inline-block; font-size: 1.2em;
  background: linear-gradient(135deg, #4ade80, #bbf7d0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc {
  font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.78);
  max-width: 480px; margin-bottom: 34px;
}
.hero-desc strong { color: #4ade80; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-proof { display: flex; align-items: center; gap: 14px; }
.proof-avatars { display: flex; }
.proof-av {
  width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: #fff;
  margin-left: -8px;
}
.proof-av:first-child { margin-left: 0; }
.proof-stars { color: #fbbf24; font-size: 0.82rem; letter-spacing: 2px; margin-bottom: 3px; }
.proof-text p { font-size: 0.82rem; color: rgba(255,255,255,.72); }
.proof-text strong { color: #4ade80; }

/* Hero Card */
.hero-card-wrap {
  position: relative; display: flex; justify-content: center;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-card-wrap { animation: heroFloat 5s ease-in-out infinite; }
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-card {
  width: 100%; max-width: 380px;
  background: rgba(255,255,255,0.97);
  border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(255,255,255,.08);
}

.hc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hc-logo {
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; font-family: var(--font-h); font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hc-label { font-size: 0.7rem; color: var(--text-3); font-weight: 500; margin-bottom: 2px; }
.hc-title { font-family: var(--font-h); font-size: 0.9rem; font-weight: 700; color: var(--text-1); line-height: 1.3; }
.hot-badge {
  margin-left: auto; background: linear-gradient(135deg,#fbbf24,#d97706);
  color: #fff; font-size: 0.65rem; font-weight: 700; padding: 3px 9px;
  border-radius: var(--r-full); flex-shrink: 0;
}

.hc-payout { background: var(--green-50); border-radius: var(--r-md); padding: 16px; margin-bottom: 18px; }
.hc-payout-label { font-size: 0.7rem; color: var(--text-3); margin-bottom: 4px; }
.hc-payout-amt { font-family: var(--font-h); font-size: 2rem; font-weight: 800; color: var(--primary-dark); line-height: 1; margin-bottom: 10px; }
.hc-bar { height: 5px; background: var(--green-200); border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.hc-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
}
.hc-bar-note { font-size: 0.67rem; color: var(--text-3); }

.hc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.hc-stat { text-align: center; }
.hc-stat-n { font-family: var(--font-h); font-size: 1rem; font-weight: 800; color: var(--text-1); }
.hc-stat-l { font-size: 0.65rem; color: var(--text-3); margin-top: 2px; }

/* Floating chips — hidden on small screens to prevent overflow */
.float-chip {
  position: absolute; background: #fff; border-radius: var(--r-md);
  padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--sh-lg); border: 1px solid var(--border); min-width: 155px;
}
.float-chip-a { top: 15px; right: -60px; }
.float-chip-b { bottom: 35px; left: -55px; }
@media (prefers-reduced-motion: no-preference) {
  .float-chip-a { animation: chipPop .5s var(--spring) 1.2s both; }
  .float-chip-b { animation: chipPop .5s var(--spring) 1.5s both; }
}
@keyframes chipPop {
  from { opacity:0; transform: scale(.8); }
  to   { opacity:1; transform: scale(1); }
}

/* Hide chips on small screens to prevent viewport overflow */
@media(max-width:500px) {
  .float-chip { display: none; }
}

.chip-icon { font-size: 1.1rem; }
.chip-label { font-size: 0.63rem; color: var(--text-3); }
.chip-val   { font-family: var(--font-h); font-size: 0.78rem; font-weight: 700; color: var(--text-1); }

/* Wave */
.wave-sep { line-height: 0; margin-top: 40px; }
.wave-sep svg { width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════ */
.trust-bar { background: var(--surface); padding: 36px 0; border-bottom: 1px solid var(--border); }
.trust-grid {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.trust-item { text-align: center; padding: 12px 28px; }
.trust-num { font-family: var(--font-h); font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); line-height: 1; margin-bottom: 4px; }
.trust-lbl { font-size: 0.78rem; color: var(--text-3); font-weight: 500; }
.trust-divider { width: 1px; height: 44px; background: var(--border); }
@media(max-width:640px) {
  .trust-item { padding: 10px 14px; }
  .trust-divider { display: none; }
  .trust-num { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════
   CATEGORIES
═══════════════════════════════════════════════════ */
.categories-section { background: var(--surface-3); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media(max-width:1024px){ .categories-grid { grid-template-columns: repeat(4,1fr); } }
@media(max-width:768px)  { .categories-grid { grid-template-columns: repeat(3,1fr); gap: 12px; } }
@media(max-width:480px)  { .categories-grid { grid-template-columns: repeat(2,1fr); } }

.cat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 16px; text-align: center;
  cursor: pointer; position: relative;
  transition: transform .28s var(--spring), box-shadow .28s ease, border-color .2s;
}
.cat-card:hover {
  transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--border-hover);
}
.cat-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--sh-lg);
  border-color: var(--primary);
}
.cat-icon {
  width: 52px; height: 52px; border-radius: var(--r-md); margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--spring);
}
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-name  { font-family: var(--font-h); font-size: 0.78rem; font-weight: 700; color: var(--text-1); margin-bottom: 4px; line-height: 1.3; }
.cat-count { font-size: 0.68rem; color: var(--text-3); }
.cat-arrow {
  position: absolute; top: 12px; right: 14px;
  font-size: 0.75rem; color: var(--text-4); opacity: 0;
  transition: opacity .2s, transform .2s;
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(3px); }

/* ═══════════════════════════════════════════════════
   OFFERS SECTION
═══════════════════════════════════════════════════ */
.offers-section { background: var(--surface); }

/* Filter bar — tablist */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px;
}
.filter-pill {
  font-family: var(--font-h); font-size: 0.78rem; font-weight: 700;
  color: var(--text-3); padding: 7px 16px; border-radius: var(--r-full);
  background: var(--surface-3); border: 1.5px solid transparent;
  transition: all .2s ease;
}
.filter-pill:hover { color: var(--primary); background: var(--green-100); }
.filter-pill.active { background: var(--primary); color: #fff; box-shadow: var(--sh-green); }
.filter-pill:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Skeleton loaders */
.offers-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}
@media(max-width:1100px){ .offers-skeleton { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .offers-skeleton { grid-template-columns: 1fr; } }

.skeleton-card {
  border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 22px;
  background: var(--surface);
}
.skel {
  background: linear-gradient(90deg, var(--green-50) 25%, var(--green-100) 50%, var(--green-50) 75%);
  background-size: 200% 100%;
  border-radius: var(--r-sm);
}
@media (prefers-reduced-motion: no-preference) {
  .skel { animation: shimmer 1.4s infinite; }
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.skel-logo  { width: 46px; height: 46px; border-radius: var(--r-md); margin-bottom: 14px; }
.skel-title { height: 18px; width: 80%; margin-bottom: 8px; }
.skel-desc  { height: 14px; width: 65%; margin-bottom: 20px; }
.skel-btn   { height: 36px; width: 120px; border-radius: var(--r-full); }

/* Offers grid */
.offers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-bottom: 44px;
  /* Hidden until JS reveals it (avoids FOUC alongside skeleton) */
  opacity: 0; transition: opacity .3s ease;
}
.offers-grid.loaded { opacity: 1; }
@media(max-width:1100px){ .offers-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .offers-grid { grid-template-columns: 1fr; } }

/* Offer card */
.offer-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; position: relative;
  transition: transform .3s var(--spring), box-shadow .3s ease, border-color .25s;
  overflow: hidden;
}
.offer-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--green-50), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--border-hover); }
.offer-card:hover::before { opacity: 1; }
.offer-card--hot { border-color: rgba(21,128,61,.35); background: linear-gradient(160deg,var(--green-50) 0%,#fff 50%); }
.offer-card:focus-within { box-shadow: var(--focus-ring); }

.hot-ribbon {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg,#fbbf24,#d97706);
  color: #fff; font-size: 0.65rem; font-weight: 700; padding: 3px 9px;
  border-radius: var(--r-full);
}

.offer-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; gap: 10px; position: relative; }
.offer-logo-wrap { flex-shrink: 0; }
.offer-logo { width: 46px; height: 46px; border-radius: var(--r-md); object-fit: cover; border: 1px solid var(--border); }
.offer-logo-placeholder {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 0.85rem; font-weight: 800;
}
.offer-meta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.type-chip {
  font-size: 0.67rem; font-weight: 700; padding: 3px 9px;
  border-radius: var(--r-full);
}
.type-chip-sm {
  display: inline-block; font-size: 0.63rem; font-weight: 700; padding: 2px 8px;
  border-radius: var(--r-full);
}
.offer-clicks { font-size: 0.68rem; color: var(--text-3); display: flex; align-items: center; gap: 4px; }

.offer-title { font-size: 0.92rem; font-weight: 700; color: var(--text-1); margin-bottom: 7px; line-height: 1.4; position: relative; }
.offer-desc  { font-size: 0.78rem; color: var(--text-3); line-height: 1.55; margin-bottom: 16px; position: relative; }

.offer-payout-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; position: relative; }
.payout-label  { font-size: 0.65rem; color: var(--text-3); font-weight: 500; margin-bottom: 2px; }
.payout-amount { font-family: var(--font-h); font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }

.btn-offer { font-size: 0.8rem; padding: 9px 18px; }

.offer-meter { position: relative; }
.meter-track { height: 4px; background: var(--green-100); border-radius: 2px; overflow: hidden; margin-bottom: 5px; }
.meter-fill  { height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary-dark)); border-radius: 2px; transition: width 1s var(--ease); }
.meter-label { font-size: 0.65rem; color: var(--text-3); }

.offer-card.hidden { display: none; }

/* Offers footer */
.offers-footer { text-align: center; }
.offers-note { font-size: 0.82rem; color: var(--text-3); margin-bottom: 16px; }

/* No offers */
.no-offers { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--text-3); font-size: 1rem; }

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════ */
.how-section { background: var(--surface-3); position: relative; overflow: hidden; }
.how-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(21,128,61,.06) 1.5px, transparent 1.5px);
  background-size: 22px 22px; pointer-events: none;
}

.steps-container { max-width: 760px; margin: 0 auto; position: relative; }
.steps-line {
  position: absolute; left: 28px; top: 48px; bottom: 48px; width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--primary-dark));
  opacity: 0.25; border-radius: 2px;
}
@media(max-width:640px){ .steps-line { display: none; } }

.step { display: flex; gap: 20px; margin-bottom: 36px; position: relative; }
.step:last-child { margin-bottom: 0; }
.step-num {
  font-family: var(--font-h); font-size: 2.8rem; font-weight: 800;
  color: var(--green-200); line-height: 1; flex-shrink: 0; width: 56px; text-align: center;
  padding-top: 8px;
}
.step-body { display: flex; gap: 18px; flex: 1; }
.step-icon {
  width: 56px; height: 56px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  transition: transform .3s var(--spring);
}
.step:hover .step-icon { transform: scale(1.08) rotate(-2deg); }
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.step-desc  { font-size: 0.88rem; color: var(--text-3); line-height: 1.65; margin-bottom: 10px; }
.step-highlight {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-100); border: 1px solid var(--green-200);
  color: var(--primary-dark); font-size: 0.75rem; font-weight: 600;
  padding: 5px 11px; border-radius: var(--r-full);
}
.step-highlight svg { color: var(--primary); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════ */
.stats-section { background: var(--surface); }

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 40px;
}
@media(max-width:900px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

.stat-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 20px; text-align: center;
  transition: transform .3s var(--spring), box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.stat-card:hover::after { transform: scaleX(1); }

.stat-card-dark {
  background: linear-gradient(145deg, #0f4c35, #166534); border-color: transparent;
}
.stat-card-dark .stat-val { color: #fff; }
.stat-card-dark .stat-lbl { color: rgba(255,255,255,.7); }
.stat-card-dark .stat-sub { color: var(--green-300); }
.stat-card-dark::after { display: none; }

.stat-icon { width: 46px; height: 46px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.stat-val  { font-family: var(--font-h); font-size: 1.85rem; font-weight: 800; color: var(--text-1); line-height: 1; margin-bottom: 6px; }
.stat-lbl  { font-size: 0.82rem; color: var(--text-3); font-weight: 600; margin-bottom: 5px; }
.stat-sub  { font-size: 0.72rem; color: var(--primary); font-weight: 600; }

/* Activity box — "Recent Payouts" (not "Live" — accurate label) */
.activity-box {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.activity-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; background: var(--green-50);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-h); font-size: 0.8rem; font-weight: 700; color: var(--primary-dark);
}
.activity-list { max-height: 260px; overflow: hidden; }
.activity-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--surface-3);
  transition: background .2s;
}
.activity-item:hover { background: var(--green-50); }
.activity-item:last-child { border-bottom: none; }
.activity-av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800; color: #fff;
}
.activity-name  { font-family: var(--font-h); font-size: 0.82rem; font-weight: 700; color: var(--text-1); }
.activity-offer { font-size: 0.72rem; color: var(--text-3); }
.activity-amount { margin-left: auto; font-family: var(--font-h); font-size: 0.88rem; font-weight: 800; color: var(--primary-dark); white-space: nowrap; }

/* ═══════════════════════════════════════════════════
   TOP OFFERS
═══════════════════════════════════════════════════ */
.top-offers-section { background: var(--surface-3); }

.top-offers-list { display: flex; flex-direction: column; gap: 14px; }
.top-offer-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 20px;
  transition: transform .28s var(--spring), box-shadow .28s ease;
}
.top-offer-row:hover { transform: translateX(4px); box-shadow: var(--sh-md); }

.rank-badge {
  width: 36px; height: 36px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 0.75rem; font-weight: 800;
}
.top-offer-logo { flex-shrink: 0; }
.top-offer-logo img { width: 40px; height: 40px; border-radius: var(--r-sm); object-fit: cover; }
.top-offer-placeholder {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 0.75rem; font-weight: 800;
}
.top-offer-info { flex: 1; min-width: 0; }
.top-offer-title { font-family: var(--font-h); font-size: 0.9rem; font-weight: 700; color: var(--text-1); line-height: 1.3; margin-bottom: 4px; }
.top-offer-payout { text-align: right; flex-shrink: 0; }
.top-payout-amt { font-family: var(--font-h); font-size: 1.25rem; font-weight: 800; color: var(--primary-dark); }
.top-payout-lbl { font-size: 0.65rem; color: var(--text-3); }
@media(max-width:600px){
  .top-offer-row { flex-wrap: wrap; gap: 10px; }
  .top-offer-info { order: 3; width: 100%; }
  .top-offer-payout { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════
   JOIN CTA
═══════════════════════════════════════════════════ */
.join-section { background: var(--surface); }
.join-card {
  background: linear-gradient(145deg, #052e16 0%, #0f4c35 50%, #166534 100%);
  border-radius: var(--r-xl); padding: 72px 64px;
  position: relative; overflow: hidden; text-align: center;
}
.join-bg { position: absolute; inset: 0; pointer-events: none; }
.join-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .25; }
.join-orb-1 { width:400px;height:400px;background:radial-gradient(circle,#22c55e,transparent);top:-120px;right:0; }
.join-orb-2 { width:300px;height:300px;background:radial-gradient(circle,#4ade80,transparent);bottom:-80px;left:0; }

.join-content { position: relative; max-width: 620px; margin: 0 auto; }
.join-title { color: #fff; font-size: clamp(1.9rem,4vw,2.8rem); margin: 12px 0 16px; letter-spacing: -0.025em; }
.join-title em { font-style: normal; opacity: .8; }
.join-desc { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.7; margin-bottom: 30px; }

/* Using <ul> for perks — proper list semantics */
.join-perks {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center;
  margin-bottom: 34px; padding: 0;
}
.perk-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.88); font-size: 0.85rem; font-weight: 500; }
.perk-item svg { color: #4ade80; flex-shrink: 0; }

.join-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer { background: var(--green-950); color: rgba(255,255,255,.6); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .brand-name { color: #fff; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,.45); margin-top: 10px; max-width: 220px; line-height: 1.6; }

.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer-col-title { font-family: var(--font-h); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 0.82rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-link:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,0.4); border-radius: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; max-width: var(--container); margin: 0 auto; font-size: 0.74rem; color: rgba(255,255,255,.3); padding-left: 20px; padding-right: 20px; }

/* ═══════════════════════════════════════════════════
   FLOATING CTA
═══════════════════════════════════════════════════ */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--spring);
}
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta-btn {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; font-family: var(--font-h); font-size: 0.875rem; font-weight: 700;
  padding: 13px 22px; border-radius: var(--r-full);
  box-shadow: var(--sh-xl), var(--sh-green);
  transition: transform .2s var(--spring), box-shadow .2s;
}
.float-cta-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 44px rgba(21,128,61,.42); }
.float-cta-btn:focus-visible { box-shadow: var(--focus-ring), var(--sh-xl); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — mobile overrides
═══════════════════════════════════════════════════ */
@media(max-width:960px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-desc { max-width: 100%; }
  .hero-ctas  { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-card-wrap { order: unset; }
  .hero-card { max-width: 340px; }
  .hero-illus-panel { height: 240px; }
  .illus-svg { width: 150px; height: 196px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media(max-width:768px) {
  :root { --section-gap: 72px; }
  .step { flex-direction: column; gap: 14px; }
  .step-num { width: auto; font-size: 2rem; padding: 0; }
  .step-body { flex-direction: column; gap: 12px; }
  .join-card { padding: 44px 24px; }
  .footer-links { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .float-cta { bottom: 16px; right: 16px; }
}

@media(max-width:480px) {
  .hero-heading { font-size: 2rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .join-actions { flex-direction: column; align-items: stretch; }
  .join-actions .btn { justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .trust-item { padding: 8px 10px; }
  .stat-val { font-size: 1.5rem; }
}

/* ─── HIGH CONTRAST MODE ──────────────────────────── */
@media (forced-colors: active) {
  .btn-primary, .float-cta-btn { border: 2px solid ButtonText; }
  .offer-card, .stat-card { border: 2px solid ButtonText; }
}