/* ============================================================
   HEADSTART PH — index.css
   ============================================================ */

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

:root {
  --green: #2ECC8F;
  --green-dark: #1aa870;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #f5f5f5;
  --muted: #888;
  --text: #111;
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --orange: #F59E0B;
  --teal: #06B6D4;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100%;
}

/* every top-level section snaps */
.snap {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
}

/* ────────────────────────────────────────────
   SCROLL REVEAL SYSTEM — Cluely-style
   Elements start: invisible + shifted down + slightly blurred
   On enter: snap up fast with blur clearing
──────────────────────────────────────────── */

.sr {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo),
    filter 0.45s var(--ease-out-expo);
  will-change: transform, opacity, filter;
}

.sr.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* stagger delays for child groups */
.sr-group .sr:nth-child(1) { transition-delay: 0s; }
.sr-group .sr:nth-child(2) { transition-delay: 0.07s; }
.sr-group .sr:nth-child(3) { transition-delay: 0.14s; }
.sr-group .sr:nth-child(4) { transition-delay: 0.21s; }
.sr-group .sr:nth-child(5) { transition-delay: 0.28s; }

/* pop variant — slight scale spring */
.sr-pop {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  filter: blur(3px);
  transition:
    opacity 0.5s var(--ease-out-expo),
    transform 0.5s var(--ease-spring),
    filter 0.4s var(--ease-out-expo);
  will-change: transform, opacity, filter;
}

.sr-pop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* slide from left */
.sr-left {
  opacity: 0;
  transform: translateX(-32px);
  filter: blur(4px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo),
    filter 0.45s var(--ease-out-expo);
}

.sr-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0px);
}

/* slide from right */
.sr-right {
  opacity: 0;
  transform: translateX(32px);
  filter: blur(4px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo),
    filter 0.45s var(--ease-out-expo);
}

.sr-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0px);
}

/* ────────────────────────────────────────────
   NAV
──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-out-expo);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46,204,143,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.14);
}

.btn-ghost:hover {
  border-color: var(--black);
  background: rgba(0,0,0,0.03);
}

/* ────────────────────────────────────────────
   HERO — full viewport scattered cards
──────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  padding: 0;
}

.hero-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: all;
}

.hero-eyebrow {
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out-expo) 0.1s both;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(62px, 8.5vw, 110px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--black);
  opacity: 0;
  animation: heroFadeUp 0.65s var(--ease-out-expo) 0.2s both;
}

.hero-title .accent { color: var(--green); }

/* section background alternation */
.module-path-section  { background: #ffffff; }
.how-section          { background:#ffffff}
.community-section    { background: #ffffff; }
.explore-section      { background: #ffffff; }
footer                { background: #ffffff; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out-expo) 0.35s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

.hero-card {
  position: absolute;
  width: 240px;
  border-radius: 24px;
  padding: 26px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 320px;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 28px 72px rgba(0,0,0,0.22);
  overflow: hidden;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out-expo) both;
}

.hc-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hc-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.hc-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
  flex: 1;
}

.hc-sym {
  position: absolute;
  bottom: -12px; right: 8px;
  font-size: 96px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.hc-actions {
  display: flex;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.hc-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: transparent;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hc-btn.filled { background: rgba(255,255,255,0.18); border-color: transparent; }
.hc-btn:hover  { background: rgba(255,255,255,0.28); }

.hsc-tl-1 {
  top: -60px; left: -30px;
  transform: rotate(-20deg);
  background: linear-gradient(145deg,#065f46,#022c22);
  z-index: 2;
  animation-delay: 0.55s;
}

.hsc-tl-2 {
  top: -30px; left: 170px;
  transform: rotate(-10deg);
  background: linear-gradient(145deg,#F59E0B,#B45309);
  z-index: 3;
  animation-delay: 0.45s;
}

.hsc-tr-1 {
  top: -30px; right: 170px;
  transform: rotate(10deg);
  background: linear-gradient(145deg,#2563EB,#1E40AF);
  z-index: 3;
  animation-delay: 0.45s;
}

.hsc-tr-2 {
  top: -60px; right: -30px;
  transform: rotate(20deg);
  background: linear-gradient(145deg,#7C3AED,#4C1D95);
  z-index: 2;
  animation-delay: 0.55s;
}

.hsc-bl-1 {
  bottom: -80px; left: -20px;
  transform: rotate(-16deg);
  background: linear-gradient(145deg,#00C864,#006E40);
  z-index: 2;
  animation-delay: 0.6s;
}

.hsc-br-1 {
  bottom: -80px; right: -20px;
  transform: rotate(16deg);
  background: linear-gradient(145deg,#2563EB,#1E40AF);
  z-index: 2;
  animation-delay: 0.6s;
}

.hci {
  position: absolute;
  width: 280px;
  height: auto;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.hci-upper-left {
  top: -60px;
  left: 25px;
  width: 350px;
  rotate: -10deg;
  transform-origin: bottom right;
}

.hci-up-blue {
  top: 0px;
  left: 35%;
  width: 600px;
  rotate: 0deg;
  transform-origin: center;
}

.hci-upper-right {
  top: -50px;
  right: -20px;
  width: 320px;
  rotate: 10deg;
  transform-origin: bottom left;
}

.hci-bottom-left {
  bottom: 20px;
  left: -120px;
  width: 380px;
  rotate: -10deg;
  transform-origin: top right;
}

.hci-bottom-right {
  bottom: 20px;
  right: -80px;
  width: 370px;
  rotate: 0deg;
  transform-origin: top left;
}

/* ────────────────────────────────────────────
   DIVIDER
──────────────────────────────────────────── */
.section-divider { display: none; }

/* ────────────────────────────────────────────
   MODULE CAROUSEL
──────────────────────────────────────────── */
.module-path-section {
  padding: 100px 0 80px;
  text-align: center;
  background: #fff;
  overflow: hidden;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 48px;
  line-height: 1.05;
  padding: 0 60px;
}

/* Arrow + wrapper row */
.carousel-outer { display: none; } /* replaced by Flickity */

/* ── Flickity carousel container ── */
.flickity-carousel {
  width: 100%;
  outline: none;
  padding-bottom: 8px;
}

/* Each card — Flickity sizes these */
.carousel-card {
  width: 72%;
  margin-right: 20px;
  border-radius: 28px;
  padding: 52px 60px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: 280px;
  /* Flickity handles transitions */
}

.cc-blue   { background: linear-gradient(135deg,#2563EB,#1E40AF); }
.cc-green  { background: linear-gradient(135deg,#00C864,#006E40); }
.cc-purple { background: linear-gradient(135deg,#8B5CF6,#5B21B6); }
.cc-yellow { background: linear-gradient(135deg,#F59E0B,#B45309); }
.cc-teal   { background: linear-gradient(135deg,#06B6D4,#0E7490); }

.cc-content { flex: 1; position: relative; z-index: 2; }

.cc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.cc-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cc-title span { color: rgba(255,255,255,0.55); }

.cc-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 24px;
}

.cc-pills { display: flex; gap: 8px; margin-bottom: 28px; }

.cc-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
}

.cc-actions { display: flex; gap: 10px; }

.cc-btn {
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s var(--ease-out-expo);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.cc-btn-solid { background: #fff; color: var(--black); border: none; }
.cc-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.cc-sym {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  user-select: none;
  z-index: 1;
  pointer-events: none;
}

/* ── Style Flickity's built-in prev/next buttons ── */
.flickity-prev-next-button {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1.5px solid rgba(0,0,0,0.12) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
  transition: all 0.2s var(--ease-out-expo) !important;
}

.flickity-prev-next-button:hover {
  background: var(--black) !important;
  border-color: var(--black) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
}

.flickity-prev-next-button .flickity-button-icon {
  fill: var(--black);
  transition: fill 0.2s;
}

.flickity-prev-next-button:hover .flickity-button-icon {
  fill: #fff;
}

/* Position the buttons vertically centered on the card */
.flickity-prev-next-button.previous { left: 12px; }
.flickity-prev-next-button.next     { right: 12px; }

/* ── Flickity page dots ── */
.flickity-page-dots {
  bottom: -32px;
}

.flickity-page-dots .dot {
  width: 7px;
  height: 7px;
  background: rgba(0,0,0,0.14);
  opacity: 1;
  transition: all 0.3s var(--ease-out-expo);
}

.flickity-page-dots .dot.is-selected {
  background: var(--green);
  width: 22px;
  border-radius: 4px;
}

.carousel-dots-row { display: none; } /* Flickity has its own dots */

/* ────────────────────────────────────────────
   VIDEO SECTION
──────────────────────────────────────────── */
.video-section {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.full-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(205,202,202,0.08) 0%,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,0) 70%,
    rgba(217,217,217,0.35) 100%
  );
  pointer-events: none;
}

.video-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#b2b2b2,#d6d6d6);
  color: rgba(255,255,255,0.2);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
  min-height: 400px;
}

/* ────────────────────────────────────────────
   SECTION DOT NAV
──────────────────────────────────────────── */
.section-dot-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  pointer-events: all;
}

.sdot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  padding: 0;
}

.sdot::before {
  content: attr(data-label);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out-expo), transform 0.2s var(--ease-out-expo);
  transform: translateY(-50%) translateX(-4px);
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.sdot:hover::before,
.sdot.active::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sdot:hover {
  background: rgba(0,0,0,0.35);
  transform: scale(1.3);
}

.sdot.active {
  background: var(--green);
  width: 8px;
  height: 24px;
  border-radius: 4px;
  transform: scale(1); /* ← instead of transform: none */

}

.section-dot-nav.on-dark .sdot { background: rgba(255,255,255,0.3); }
.section-dot-nav.on-dark .sdot:hover { background: rgba(255,255,255,0.7); }
.section-dot-nav.on-dark .sdot.active { background: var(--green); }
.section-dot-nav.on-dark .sdot::before { background: rgba(20,20,20,0.9); color: #fff; }

/* ────────────────────────────────────────────
   HOW IT WORKS — Timeline style
──────────────────────────────────────────── */
.how-section {
  padding: 120px 60px 140px;
  background: #ffffff
  position: relative;
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 16px;
  color: var(--black);
  white-space: nowrap;
}

.how-header .section-eyebrow {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
}

/* ── Timeline container ── */
.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Spine track */
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
}

/* Animated green fill */
.timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--green);
  border-radius: 2px;
  transition: height 0.4s var(--ease-out-expo);
}

/* Step row — 3-col grid: content | badge | visual */
.timeline-step {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 0 32px;
  align-items: center;
  min-height: 220px;
  padding: 40px 0;
  position: relative;
}

/* Number badge sits on the spine */
.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(46,204,143,0.15), 0 4px 16px rgba(46,204,143,0.35);
  /* start hidden, pop in via JS */
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.4s ease, box-shadow 0.3s;
}

.step-badge.visible {
  transform: scale(1);
  opacity: 1;
}

/* Odd steps: text left, card right */
.step-content {
  text-align: right;
  padding-right: 8px;
}

.step-visual-wrap {
  padding-left: 8px;
}

/* Even steps: card left, text right */
.timeline-step:nth-child(even) .step-content {
  order: 3;
  text-align: left;
  padding-right: 0;
  padding-left: 8px;
}

.timeline-step:nth-child(even) .step-visual-wrap {
  order: 1;
  padding-left: 0;
  padding-right: 8px;
}

.timeline-step:nth-child(even) .step-badge {
  order: 2;
}

.step-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── Visual cards ── */
.how-step-visual {
  border-radius: 20px;
  height: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  gap: 8px;
  width: 100%;
}

/* Visual 1 — Blue module card */
.how-visual-1 { background: linear-gradient(135deg,#2563EB,#1E40AF); }

.hv-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hv-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.hv-title span { color: rgba(255,255,255,0.5); }

.hv-sym {
  position: absolute;
  right: 8px;
  bottom: -12px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  font-family: 'Poppins', sans-serif;
  user-select: none;
  pointer-events: none;
}

.hv-pills { display: flex; gap: 6px; }

.hv-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
}

.hv-pill.green { background: var(--green); color: #000; }

.hv-actions { display: flex; gap: 8px; position: relative; z-index: 1; }

.hv-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.hv-btn.solid   { background: #fff; color: #1E40AF; border: none; }
.hv-btn.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }

/* Visual 2 — Dark green budget tracker */
.how-visual-2 { background: linear-gradient(135deg,#065f46,#022c22); }

.hv-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.hv-title2 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.hv-bars { width: 100%; display: flex; flex-direction: column; gap: 8px; }

.hv-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.hv-bar-row span:first-child { width: 48px; }
.hv-bar-row span:last-child  { width: 28px; text-align: right; }

.hv-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.hv-bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 1s var(--ease-out-expo) 0.3s;
}

/* Visual 3 — Light community card */
.how-visual-3 {
  background: #f0fdf4;
  border: 1px solid rgba(46,204,143,0.2);
}

.hv-comm-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.hv-comm-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
}

.hv-avatars { display: flex; gap: 6px; align-items: center; }

.hv-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
}

.hv-avatar-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin-left: 4px;
}

.hv-comm-channels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hv-channel {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0,0,0,0.06);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.hv-channel.active {
  background: var(--green);
  color: #fff;
}

/* community-section styles are now in the new compact block below */

/* explore section removed — replaced by floating back-to-top CTA */

/* footer styles now in .footer-gradient block */

/* ────────────────────────────────────────────
   HERO BUTTON — expanding icon style
──────────────────────────────────────────── */
.btn-hero-new {
  background: var(--green);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 0.9em;
  border: none;
  display: inline-flex;
  align-items: center;
  box-shadow:
    inset 0 0 1.6em -0.6em rgba(0,0,0,0.25),
    0 8px 32px rgba(46,204,143,0.45);
  overflow: hidden;
  position: relative;
  height: 3em;
  padding: 0 3.6em 0 3em;
  cursor: pointer;
  text-decoration: none;
  /* fade-in with hero */
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out-expo) 0.35s both, heroGlowPulse 2.8s ease-in-out 1.2s infinite;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* the white pill that expands on hover */
.btn-hero-icon {
  background: rgba(255,255,255,0.22);
  position: absolute;
  right: 0.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.4em;
  width: 2.4em;
  border-radius: 0.65em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em rgba(0,0,0,0.15);
  transition: width 0.35s var(--ease-out-expo), background 0.2s;
  overflow: hidden;
}

.btn-hero-new:hover .btn-hero-icon {
  width: calc(100% - 0.6em);
  background: rgba(255,255,255,0.28);
}

.btn-hero-icon svg {
  width: 1.1em;
  height: 1.1em;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

.btn-hero-new:hover .btn-hero-icon svg {
  transform: translateX(0.12em);
}

.btn-hero-new:active .btn-hero-icon {
  transform: scale(0.93);
}

.btn-hero-new:hover {
  background: var(--green-dark);
  box-shadow:
    inset 0 0 1.6em -0.6em rgba(0,0,0,0.3),
    0 16px 48px rgba(46,204,143,0.6),
    0 0 0 6px rgba(46,204,143,0.15);
}

/* ambient glow behind button */
.btn-hero-new::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 1em;
  background: var(--green);
  opacity: 0.22;
  filter: blur(16px);
  z-index: -1;
  transition: opacity 0.3s, filter 0.3s;
  pointer-events: none;
}

.btn-hero-new:hover::before {
  opacity: 0.5;
  filter: blur(22px);
}

@keyframes heroGlowPulse {
  0%, 100% { box-shadow: inset 0 0 1.6em -0.6em rgba(0,0,0,0.25), 0 8px 32px rgba(46,204,143,0.4); }
  50%       { box-shadow: inset 0 0 1.6em -0.6em rgba(0,0,0,0.25), 0 8px 48px rgba(46,204,143,0.7), 0 0 0 8px rgba(46,204,143,0.1); }
}

/* ────────────────────────────────────────────
   BACK TO TOP
──────────────────────────────────────────── */
.back-to-top-wrap {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 200;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.back-to-top-wrap.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--black);
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  transition: all 0.2s var(--ease-out-expo);
}

.back-to-top-btn:hover {
  background: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(46,204,143,0.4);
}

.back-to-top-btn span:first-child { font-size: 16px; }

/* ────────────────────────────────────────────
   COMMUNITY SECTION — compact
──────────────────────────────────────────── */
.community-section {
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: unset !important;
}

.community-section.snap { scroll-snap-align: none; min-height: unset; }

.community-inner { display: flex; align-items: center; gap: 14px; }

.discord-icon {
  width: 40px; height: 40px;
  background: #5865F2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(88,101,242,0.3);
}

.community-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.community-text p { font-size: 12px; color: var(--muted); margin-top: 2px; }

.comm-actions { display: flex; gap: 10px; }
.comm-actions .btn { padding: 9px 20px; font-size: 13px; }

/* ────────────────────────────────────────────
   FOOTER — orange gradient fade (brand reference)
──────────────────────────────────────────── */
.footer-gradient {
  position: relative;
  background: transparent; /* wrapper gradient owns all colour */
  padding: 0;
  overflow: visible;
}

/* footer-fade disabled — bottom-gradient-wrap handles the blend */
.footer-fade {
  display: none;
}

/* JS opt-in fade animation */
.footer-gradient.footer-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.footer-gradient.footer-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Discord strip */
.footer-discord {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 250px;
  padding: 24px 100px;
  background: #ffffff
}

.footer-discord-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-discord-icon {
  width: 38px; height: 38px;
  background: #5865F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.footer-discord-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.footer-discord-sub {
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  margin-top: 2px;
}

.footer-discord-btn {
  padding: 10px 22px;
  border-radius: 100px;
  background: #5865F2;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.footer-discord-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

/* Main columns */
.footer-columns {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 48px 60px 36px;
  position: relative;
  z-index: 1;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-svg-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  line-height: 1.6;
  max-width: 200px;
}

.footer-social {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.45);
  text-decoration: none;
  transition: all 0.18s var(--ease-out-expo);
  flex-shrink: 0;
}

.footer-social-btn:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(0,0,0,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(0,0,0,0.65);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}

.footer-col a:hover { color: var(--black); }

/* Bottom bar */
.footer-bottom {
  padding: 20px 60px;
  border-top: 1px solid rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { font-size: 12px; color: rgba(0,0,0,0.4); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--black); }

footer.footer-gradient .footer-links { display: none; }

.footer-logo-wrap { display: flex; align-items: center; }

.footer-logo-fallback {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
  letter-spacing: -0.01em;
  display: flex;
  gap: 2px;
}

.footer-logo-fallback span { color: rgba(255,255,255,0.7); }


/* ────────────────────────────────────────────
   HOW IT WORKS — enriched step descriptions
──────────────────────────────────────────── */
.step-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

.step-content .step-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(46,204,143,0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}



html { scroll-behavior: auto !important; }  /* let Lenis take over */
.snap { scroll-snap-align: none; }           /* remove snap fighting */

/* ────────────────────────────────────────────
   RESPONSIVE — Tablet (≤900px)
──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hci {
    width: 220px;
  }

  .hci-upper-left {
    top: -30px;
    left: -20px;
    width: 260px;
  }

  .hci-upper-right {
    top: -30px;
    right: -20px;
    width: 240px;
  }

  .hci-bottom-left {
    bottom: 0px;
    left: -80px;
    width: 260px;
  }

  .hci-bottom-right {
    bottom: 0px;
    right: -50px;
    width: 260px;
  }

  .hci-up-blue {
    display: none; /* hide the large center-top card on tablet */
  }

  .hero-title {
    font-size: clamp(44px, 7vw, 72px);
  }
}

/* ────────────────────────────────────────────
   RESPONSIVE — Mobile hero cards (≤600px)
   Cards are pushed into corners so they clip
   naturally at the screen edge — no mid-card cuts
──────────────────────────────────────────── */
@media (max-width: 600px) {
  .hci-upper-left {
    top: -50px;
    left: -95px;
    width: 210px;
    rotate: -15deg;
  }

  .hci-upper-right {
    top: -50px;
    right: -95px;
    width: 210px;
    rotate: 15deg;
  }

  .hci-bottom-left {
    bottom: -10px;
    left: -95px;
    width: 230px;
    rotate: -10deg;
  }

  .hci-bottom-right {
    bottom: -10px;
    right: -95px;
    width: 230px;
    rotate: 10deg;
  }

  .hci-up-blue {
    display: none;
  }
}

/* ────────────────────────────────────────────
   RESPONSIVE — Mobile (≤480px)
──────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Shrink hero heading so it doesn't collide */
  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
  }

  /* Nav — tighten up */
  nav {
    padding: 14px 20px;
  }

  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  /* Community section */
  .community-section {
    flex-direction: column;
    padding: 24px 20px;
    text-align: center;
  }

  /* How section */
  .how-section {
    padding: 80px 20px 100px;
  }

  .how-title {
    font-size: clamp(38px, 10vw, 56px);
    white-space: normal;
  }

  /* Timeline — spine on left, badge centered on it, content flows right */
  .timeline-track {
    display: block;
    left: 21px;
    transform: none;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    padding: 0 0 40px 52px;
    min-height: unset;
    position: relative;
  }

  .timeline-step .step-badge {
    order: 1 !important;
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-50%);
    margin: 0;
  }

  .timeline-step .step-content,
  .timeline-step:nth-child(even) .step-content {
    order: 2 !important;
    text-align: left !important;
    padding: 8px 0 0 0 !important;
    width: 100%;
  }

  .timeline-step .step-visual-wrap,
  .timeline-step:nth-child(even) .step-visual-wrap {
    order: 3 !important;
    padding: 0 !important;
    width: 100%;
  }

  /* Footer */
  .footer-discord {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    padding: 32px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    text-align: center;
  }

  /* Module path section */
  .module-path-section {
    padding: 60px 0 60px;
  }

  .section-title {
    padding: 0 20px;
    font-size: clamp(32px, 8vw, 48px);
  }

  .carousel-card {
    width: 88%;
    padding: 32px 28px;
    flex-direction: column;
    gap: 24px;
  }
}