:root {
  --gradient-primary: linear-gradient(135deg, oklch(0.32 0.14 260) 0%, oklch(0.45 0.18 250) 50%, oklch(0.6 0.18 220) 100%);
  --gradient-text: linear-gradient(135deg, oklch(0.32 0.14 260), oklch(0.55 0.2 230));
  --gradient-card: linear-gradient(180deg, oklch(1 0 0 / 0.7), oklch(0.96 0.015 230 / 0.6));
  --gradient-hero: radial-gradient(1200px 600px at 20% 10%, oklch(0.92 0.05 230 / 0.6), transparent 60%),
                   radial-gradient(900px 600px at 90% 0%, oklch(0.78 0.13 230 / 0.25), transparent 60%),
                   linear-gradient(180deg, oklch(1 0 0), oklch(0.98 0.01 230));
}

html { scroll-behavior: smooth; }
body {
  background-image:
    radial-gradient(800px 500px at 10% -10%, oklch(0.78 0.13 230 / 0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 0%, oklch(0.32 0.14 260 / 0.10), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, h4 { letter-spacing: -0.02em; color: oklch(0.15 0.05 260); }

.bg-hero { background: var(--gradient-hero); }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--gradient-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid oklch(0.32 0.14 260 / 0.08);
  border-radius: 1rem;
}

/* Buttons */
.btn-hero {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--gradient-primary);
  color: #fff; font-weight: 600;
  padding: .9rem 1.4rem; border-radius: .9rem;
  box-shadow: 0 12px 30px -10px oklch(0.32 0.14 260 / 0.55);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-hero:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--gradient-card);
  border: 1px solid oklch(0.32 0.14 260 / 0.12);
  padding: .9rem 1.4rem; border-radius: .9rem; font-weight: 600;
  color: oklch(0.18 0.04 255);
  backdrop-filter: blur(12px);
  transition: transform .25s ease;
}
.btn-glass:hover { transform: translateY(-2px); }

/* Stat cards */
.stat-card {
  position: relative;
  padding: 1.5px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, oklch(0.32 0.14 260 / 0.4), oklch(0.78 0.18 80 / 0.3), oklch(0.32 0.14 260 / 0.1));
  box-shadow: 0 10px 30px -15px oklch(0.32 0.14 260 / 0.3);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 0 50px -10px oklch(0.78 0.13 230 / 0.5); }
.stat-card > * {} 
.stat-card { display: block; }
.stat-card::after { content: ""; }
.stat-card {
  /* inner card container via padding box trick */
}
.stat-card { padding: 1.5px; }
.stat-card .stat-num, .stat-card .stat-lbl { padding: 0; }
.stat-card {
  background-clip: padding-box, border-box;
}
.stat-card > .stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem; font-weight: 800; letter-spacing: -.02em;
  padding-top: 1.4rem;
}
.stat-card > .stat-lbl {
  text-align: center; font-size: .75rem; color: oklch(0.42 0.05 255);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 500;
  padding: .5rem 1rem 1.4rem;
}
.stat-card > .stat-num { text-align: center; }
.stat-card {
  position: relative;
}
.stat-card::before {
  content: "";
  position: absolute; inset: 1.5px;
  background: oklch(1 0 0 / 0.8);
  backdrop-filter: blur(14px);
  border-radius: calc(1.25rem - 1.5px);
  z-index: 0;
}
.stat-card > * { position: relative; z-index: 1; }

/* Feature card */
.feature-card {
  position: relative;
  background: var(--gradient-card);
  backdrop-filter: blur(14px);
  border: 1px solid oklch(0.32 0.14 260 / 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform .5s ease, box-shadow .5s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 0 50px -10px oklch(0.78 0.13 230 / 0.55); }
.feature-icon {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: .9rem;
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px oklch(0.32 0.14 260 / 0.5);
  font-size: 1.1rem;
}

/* Module card */
.module-card {
  background: var(--gradient-card);
  backdrop-filter: blur(14px);
  border: 1px solid oklch(0.32 0.14 260 / 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.module-card:hover { transform: translateY(-4px); border-color: oklch(0.32 0.14 260 / 0.3); box-shadow: 0 20px 40px -20px oklch(0.18 0.04 255 / 0.25); }

/* Showcase */
.reel-card {
  position: relative;
  background: var(--gradient-card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid oklch(0.32 0.14 260 / 0.08);
  transition: transform .5s ease, box-shadow .5s ease;
}
.reel-card:hover { transform: translateY(-6px); box-shadow: 0 0 50px -10px oklch(0.78 0.13 230 / 0.55); }
.reel-iframe-wrap { position: relative; height: 370px; overflow: hidden; background: #fff; }
.reel-iframe-wrap iframe { width: 100%; height: 720px; border: 0; margin-top: -54px; }

/* FAQ */
.faq-item {
  background: var(--gradient-card);
  border: 1px solid oklch(0.32 0.14 260 / 0.08);
  border-radius: .9rem; padding: 0 1.25rem;
}
.faq-trigger {
  width: 100%; text-align: left; padding: 1rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  cursor: pointer; background: none; border: 0; color: inherit; font-size: 1rem;
}
.faq-trigger .chev { transition: transform .3s ease; }
.faq-item.open .faq-trigger .chev { transform: rotate(180deg); }
.faq-content {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .9rem; color: oklch(0.42 0.05 255); line-height: 1.6;
}
.faq-item.open .faq-content { max-height: 300px; padding: 0 0 1rem; }

/* Animations */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px -6px oklch(0.6 0.18 220 / 0.5); }
  50% { box-shadow: 0 0 60px -6px oklch(0.78 0.18 215 / 0.7); }
}
.animate-pulse-glow { animation: pulse-glow 2.6s ease-in-out infinite; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float-y 6s ease-in-out infinite; }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-hero-enter { animation: hero-enter 0.8s ease-out both; }

.scroll-reveal { opacity: 0; transform: translateY(32px) scale(0.985); transition: opacity .75s ease, transform .75s cubic-bezier(0.22, 1, 0.36, 1); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scroll-reveal { opacity: 1; transform: none; }
}

/* === Earn from home — animated section === */
.earn-section { isolation: isolate; }
.earn-orb {
  position: absolute; border-radius: 9999px; filter: blur(80px); opacity: .55;
  pointer-events: none; z-index: 0;
}
.earn-orb-1 { width: 520px; height: 520px; top: -120px; left: -120px;
  background: radial-gradient(circle, oklch(0.78 0.13 230 / 0.6), transparent 70%);
  animation: orb-drift-a 14s ease-in-out infinite; }
.earn-orb-2 { width: 460px; height: 460px; bottom: -140px; right: -100px;
  background: radial-gradient(circle, oklch(0.55 0.2 280 / 0.55), transparent 70%);
  animation: orb-drift-b 18s ease-in-out infinite; }
@keyframes orb-drift-a { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,40px) scale(1.1)} }
@keyframes orb-drift-b { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,-30px) scale(1.08)} }

.earn-grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .35;
  background-image:
    linear-gradient(to right, oklch(0.32 0.14 260 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.32 0.14 260 / 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.earn-chip { animation: chip-bob 3.4s ease-in-out infinite; }
@keyframes chip-bob {
  0%,100% { transform: translateY(0); box-shadow: 0 0 0 0 oklch(0.32 0.14 260 / 0.25); }
  50% { transform: translateY(-3px); box-shadow: 0 0 0 8px oklch(0.32 0.14 260 / 0); }
}

/* Earn step card */
.earn-step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.85), oklch(0.96 0.015 230 / 0.55));
  backdrop-filter: blur(14px);
  border: 1px solid oklch(0.32 0.14 260 / 0.08);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease, border-color .5s ease;
}
.earn-step::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, oklch(0.78 0.13 230 / 0.18), transparent 60%);
  opacity: 0; transition: opacity .5s ease;
}
.earn-step::after {
  content: "";
  position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--a, 0deg), oklch(0.32 0.14 260), oklch(0.78 0.13 230), oklch(0.55 0.2 280), oklch(0.32 0.14 260));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease;
  animation: spin-conic 4s linear infinite;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-conic { to { --a: 360deg; } }
.earn-step:hover { transform: translateY(-8px); border-color: transparent;
  box-shadow: 0 30px 60px -25px oklch(0.32 0.14 260 / 0.45); }
.earn-step:hover::before { opacity: 1; }
.earn-step:hover::after { opacity: 1; }

.earn-step-head { display: flex; align-items: center; justify-content: space-between; position: relative; }
.earn-step-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 1rem; color: #fff; font-size: 1.2rem;
  background: var(--gradient-primary);
  box-shadow: 0 12px 30px -10px oklch(0.32 0.14 260 / 0.55);
  position: relative;
}
.earn-step-icon::before {
  content: ""; position: absolute; inset: -6px; border-radius: 1.25rem;
  background: var(--gradient-primary); filter: blur(14px); opacity: .55; z-index: -1;
  animation: icon-pulse 2.6s ease-in-out infinite;
}
@keyframes icon-pulse { 0%,100% { opacity: .35; transform: scale(.95); } 50% { opacity: .7; transform: scale(1.08); } }
.earn-step:hover .earn-step-icon { animation: icon-wiggle .6s ease; }
@keyframes icon-wiggle {
  0%,100% { transform: rotate(0); }
  25% { transform: rotate(-8deg) scale(1.05); }
  75% { transform: rotate(8deg) scale(1.05); }
}

.earn-step-num {
  font-family: "Space Grotesk", sans-serif; font-weight: 800;
  font-size: 2.5rem; letter-spacing: -.04em;
  background: linear-gradient(180deg, oklch(0.32 0.14 260 / 0.25), oklch(0.32 0.14 260 / 0.05));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .4s ease;
}
.earn-step:hover .earn-step-num { transform: translateX(-4px) scale(1.05); }

.earn-step-title {
  margin-top: 1.25rem; font-size: 1.15rem; font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}
.earn-step-copy { margin-top: .65rem; line-height: 1.6; color: oklch(0.42 0.05 255); font-size: .92rem; }

.earn-step-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, oklch(0.55 0.2 230), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.earn-step:hover .earn-step-bar { transform: scaleX(1); }

/* Reveal stagger */
.earn-step { opacity: 0; transform: translateY(28px); }
.earn-section.is-visible .earn-step {
  animation: earn-rise .8s cubic-bezier(.22,1,.36,1) forwards;
}
.earn-section.is-visible .earn-step:nth-child(1) { animation-delay: .05s; }
.earn-section.is-visible .earn-step:nth-child(2) { animation-delay: .2s; }
.earn-section.is-visible .earn-step:nth-child(3) { animation-delay: .35s; }
@keyframes earn-rise { to { opacity: 1; transform: translateY(0); } }
