/* ═══════════════════════════════════════════════════════
   WILDLIFE GUARDIAN – Home.css  FINAL
   – NO custom scroll override (uses native browser scroll)
   – Hero: single flex row, text + image always together
   – CSS-only entrance animations (keyframes)
   – IntersectionObserver reveals (no scroll listener for anim)
═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  font-size: 16px;
  scroll-behavior: smooth
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: #fff;
  color: #0d1a10;
  overflow-x: hidden;
  line-height: 1.6
}

img {
  display: block;
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: #020c05
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#22c55e, #15803d);
  border-radius: 99px
}

/* ── SCROLL PROGRESS (GPU scaleX, no width) ── */
.wg-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #22c55e, #4ade80, #f97316);
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  box-shadow: 0 6px 22px rgba(249, 115, 22, .4);
  transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(249, 115, 22, .55)
}

.btn-primary:active {
  transform: scale(.97)
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  transition: background .2s, border-color .2s, transform .2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
  transform: translateY(-2px)
}

.btn-border {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  border: 2px solid #d1fae5;
  color: #15803d;
  transition: all .25s;
}

.btn-border svg {
  transition: transform .2s
}

.btn-border:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, .3)
}

.btn-border:hover svg {
  transform: translateX(4px)
}

/* ── SCROLL REVEAL ── */
.wg-reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
  /* GPU layer prevents flicker during scroll */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.wg-reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Card reveals (comm, news, feat) */
.comm-card,
.news-card,
.feat-card {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.97);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1),
    transform .6s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s ease,
    border-color .25s;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.comm-card.visible,
.news-card.visible,
.feat-card.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ── SECTION HEADER ── */
.sec-head {
  text-align: center;
  margin-bottom: 52px
}

.sec-chip {
  display: inline-block;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
  border-radius: 99px;
  padding: 5px 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px
}

.sec-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #0d1a10;
  margin-bottom: 12px;
  line-height: 1.05
}

.sec-head p {
  font-size: 16px;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75
}

.center-wrap {
  text-align: center;
  margin-top: 36px
}

/* ═══════════════════════════════════════════════
   HERO
   Key: display:flex on .hero-inner keeps
   text + image in ONE ROW, ALWAYS TOGETHER.
   Zero JS transform on the image.
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: #020c05;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Hero background: canvas particles (JS-driven, no video) */
.hero-video {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(5, 78, 22, .5) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(22, 163, 74, .2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(249, 115, 22, .12) 0%, transparent 60%),
    linear-gradient(135deg, #020c05 0%, #041a0a 40%, #061505 100%)
}

/* Canvas particles background */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: .7;
  display: block;
}

/* Inner: flex row – left text + right image, ALWAYS together */
.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 110px 48px 80px;
}

/* ── Hero Text (left side) ── */
.hero-text {
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .28);
  color: #4ade80;
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  width: fit-content;
  animation: heroFadeUp .8s .1s both;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0)
  }
}

.hero-title {
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 22px;
}

.hero-title span {
  display: block
}

/* Each line animates in separately */
.hero-title span:nth-child(1) {
  animation: heroFadeUp .8s .2s both
}

.hero-title span:nth-child(2) {
  animation: heroFadeUp .8s .35s both
}

.hero-title span:nth-child(3) {
  animation: heroFadeUp .8s .5s both
}

.title-green {
  background: linear-gradient(90deg, #4ade80, #22c55e, #86efac, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300%;
  animation: heroFadeUp .8s .5s both, shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 300%
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-desc {
  font-size: 16.5px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.78;
  max-width: 440px;
  margin-bottom: 32px;
  animation: heroFadeUp .8s .65s both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: heroFadeUp .8s .78s both;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 22px;
  border-radius: 14px;
  width: fit-content;
  backdrop-filter: blur(12px);
  animation: heroFadeUp .8s .9s both;
}

.hs-item {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.hs-num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1
}

.hs-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  text-transform: uppercase;
  letter-spacing: .5px
}

.hs-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .12)
}

/* ── Hero Visual (right side) ── */
.hero-visual {
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 48px;
  position: relative;
  animation: heroFadeUp .9s .3s both;
}

.visual-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.frame-ring {
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  background: conic-gradient(from 0deg, rgba(34, 197, 94, .85), rgba(249, 115, 22, .45), rgba(34, 197, 94, .85));
  animation: ringRotate 7s linear infinite;
  filter: blur(2px);
  z-index: 0;
}

@keyframes ringRotate {
  to {
    transform: rotate(360deg)
  }
}

.panda-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .65), 0 0 60px rgba(34, 197, 94, .18);
  /* CSS clip-path reveal: right-to-left wipe on load */
  animation: imgReveal 1.2s .4s both;
}

@keyframes imgReveal {
  0% {
    clip-path: inset(0 100% 0 0 round 22px)
  }

  100% {
    clip-path: inset(0 0% 0 0 round 22px)
  }
}

.frame-shine {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 50%);
  pointer-events: none
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(4, 14, 8, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .4);
  z-index: 20;
}

.fb-left {
  bottom: 20px;
  left: -30px;
  animation: floatBob 4s ease-in-out infinite
}

.fb-right {
  top: 20px;
  right: -20px;
  animation: floatBob 4s 2s ease-in-out infinite
}

@keyframes floatBob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.fb-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.green-fb {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  box-shadow: 0 0 14px rgba(22, 163, 74, .35)
}

.orange-fb {
  background: linear-gradient(135deg, #f97316, #dc2626);
  color: #fff;
  box-shadow: 0 0 14px rgba(249, 115, 22, .35)
}

.fb-text {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.fb-text strong {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1
}

.fb-text small {
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .35);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollHint 2s ease-in-out infinite;
  cursor: pointer;
}

@keyframes scrollHint {

  0%,
  100% {
    opacity: .4;
    transform: translateX(-50%) translateY(0)
  }

  50% {
    opacity: .85;
    transform: translateX(-50%) translateY(8px)
  }
}

.sh-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, .28);
  border-radius: 99px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px
}

.sh-wheel {
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, .55);
  border-radius: 99px;
  animation: wheelDrop 2s ease-in-out infinite
}

@keyframes wheelDrop {
  0% {
    opacity: 1;
    transform: translateY(0)
  }

  75% {
    opacity: 0;
    transform: translateY(10px)
  }

  100% {
    opacity: 0;
    transform: translateY(0)
  }
}

/* ═══════════════════════════════════════════════
   STATS  — dark band, bold numbers, glow rings
═══════════════════════════════════════════════ */
.stats-section {
  position: relative;
  background: #020c05;
  padding: 80px 0 90px;
  overflow: hidden;
}

.stats-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 120% at 50% 50%, rgba(22, 163, 74, .12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-label-top {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(74, 222, 128, .55);
  margin-bottom: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Vertical dividers between cells */
.stat-item+.stat-item {
  border-left: 1px solid rgba(255, 255, 255, .07);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 36px;
  position: relative;
  /* Reveal animation */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1),
    background .25s;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item.visible:hover {
  transform: scale(1.04);
  background: rgba(22, 163, 74, .05);
  z-index: 1;
}

/* Floating glow ring behind icon */
.stat-glow-ring {
  position: absolute;
  top: 28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, .18) 0%, transparent 70%);
  animation: statFloat 4s ease-in-out infinite;
  pointer-events: none;
}

.stat-item:nth-child(2) .stat-glow-ring {
  animation-delay: -1.3s;
  background: radial-gradient(circle, rgba(249, 115, 22, .15) 0%, transparent 70%);
}

.stat-item:nth-child(3) .stat-glow-ring {
  animation-delay: -2.6s;
}

.stat-item:nth-child(4) .stat-glow-ring {
  animation-delay: -3.9s;
  background: radial-gradient(circle, rgba(96, 165, 250, .15) 0%, transparent 70%);
}

@keyframes statFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.1);
  }
}

.stat-icon {
  position: relative;
  width: 62px;
  height: 62px;
  background: rgba(22, 163, 74, .12);
  border: 1px solid rgba(34, 197, 94, .25);
  color: #4ade80;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  backdrop-filter: blur(10px);
}

.stat-item.visible:hover .stat-icon {
  background: rgba(22, 163, 74, .25);
  border-color: #4ade80;
  color: #fff;
  box-shadow: 0 0 28px rgba(34, 197, 94, .35);
  transform: rotate(-8deg) scale(1.12);
}

.stat-num {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .38);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  white-space: nowrap;
}

.stat-track {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, .08);
  border-radius: 99px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #16a34a, #4ade80);
  border-radius: 99px;
  transition: width 1.6s cubic-bezier(.22, 1, .36, 1);
}

.stat-item.visible .stat-fill {
  width: 100%;
}

/* ═══════════════════════════════════════════════
   FEATURES — Staggered Bento Grid
═══════════════════════════════════════════════ */
.section-features {
  padding: 96px 0;
  background: linear-gradient(180deg, #f8fffe, #f0fdf4);
}

/* Bento grid: 3 columns, 2 rows */
.features-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Card 1: Large — spans row 1 col 1, row 2 col 1 (2 rows tall) */
.feat-card--large {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Card 4: Wide — spans col 2 + col 3 on row 2 */
.feat-card--wide {
  grid-column: 2 / 4;
  grid-row: 2;
}

/* ── Base feat-card ── */
.feat-card {
  background: #fff;
  border: 1px solid #e8f5ec;
  border-radius: 22px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s ease,
    border-color .25s;
  will-change: transform;
  /* Reveal: cards use JS observer */
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.97);
}

.feat-card.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.feat-card.visible:hover {
  transform: translate3d(0, -6px, 0) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .1);
  border-color: rgba(134, 239, 172, .8);
  z-index: 2;
}

/* Large card specific */
.feat-card--large {
  padding: 36px 30px;
  background: linear-gradient(160deg, #fff 60%, #f0fdf4 100%);
}

/* Wide card: horizontal layout */
.feat-card--wide {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #0d1a10 0%, #1a3324 100%);
  border-color: transparent;
}

.feat-card--wide .fc-content h3 {
  color: #fff;
}

.feat-card--wide .fc-content p {
  color: rgba(255, 255, 255, .55);
}

.feat-card--wide .fc-link {
  color: #4ade80;
}

.feat-card--wide .fc-number {
  color: rgba(255, 255, 255, .06);
}

/* ── Icon wrapper + glow ── */
.fc-ico-wrap {
  position: relative;
  display: inline-flex;
  width: fit-content;
}

.fc-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--gc, rgba(22, 163, 74, .2));
  filter: blur(10px);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.feat-card.visible:hover .fc-glow {
  opacity: 1;
}

.fc-ico {
  position: relative;
  width: 58px;
  height: 58px;
  background: var(--c);
  color: var(--t);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .3s ease;
  z-index: 1;
}

.feat-card.visible:hover .fc-ico {
  transform: rotate(-8deg) scale(1.12);
  box-shadow: 0 8px 24px var(--gc, rgba(22, 163, 74, .25));
}

/* ── Content ── */
.fc-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.feat-card h3,
.fc-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0d1a10;
  letter-spacing: -.4px;
  line-height: 1.15;
}

.feat-card--large h3 {
  font-size: 24px;
}

.feat-card p,
.fc-content p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  flex: 1;
}

.fc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 700;
  color: #16a34a;
  transition: gap .2s;
}

.feat-card.visible:hover .fc-link {
  gap: 9px;
}

/* Decorative number */
.fc-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 56px;
  font-weight: 900;
  color: rgba(0, 0, 0, .04);
  line-height: 1;
  letter-spacing: -3px;
  pointer-events: none;
  user-select: none;
}

.feat-card--large .fc-number {
  font-size: 96px;
  top: 12px;
  right: 18px;
  color: rgba(0, 0, 0, .03);
}

.fc-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.feat-card.visible:hover .fc-accent {
  transform: scaleX(1);
}


/* ═══════════════════════════════════════════════
   COMMUNITIES  — Balanced 3-column card grid
═══════════════════════════════════════════════ */
.section-comm {
  padding: 96px 0;
  background: #f8fffe;
}

/* === Balanced 3-column grid === */
.comm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

/* New card style: image on top, content below */
.comm-card-v2 {
  background: #fff;
  border: 1px solid #e8f5ec;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Reveal */
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.97);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1),
    transform .6s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s, border-color .25s;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.comm-card-v2.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.comm-card-v2.visible:hover {
  border-color: #86efac;
  box-shadow: 0 16px 50px rgba(22, 163, 74, .14);
  transform: translate3d(0, -5px, 0) scale(1.01);
  z-index: 2;
}

/* Image zone: fixed height, object-fit cover */
.ccv2-img {
  position: relative;
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}

.ccv2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.comm-card-v2.visible:hover .ccv2-img img {
  transform: scale(1.07);
}

.ccv2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 46, 22, .45) 0%, transparent 60%);
  pointer-events: none;
}

/* Member count badge on image */
.ccv2-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(5, 46, 22, .75);
  backdrop-filter: blur(8px);
  color: #86efac;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(134, 239, 172, .2);
}

/* Body: text content */
.ccv2-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ccv2-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0d1a10;
  letter-spacing: -.3px;
  line-height: 1.2;
  transition: color .25s;
}

.comm-card-v2.visible:hover .ccv2-body h3 {
  color: #15803d;
}

.ccv2-body p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.65;
  flex: 1;
}

.ccv2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.ccv2-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  background: #f0fdf4;
  color: #16a34a;
  border-radius: 99px;
  border: 1px solid #bbf7d0;
  text-transform: uppercase;
  letter-spacing: .5px;
}



/* --- Bento outer grid: featured (left) + right column --- */
.comm-bento {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 16px;
  align-items: stretch;
}

.comm-bento-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

/* --- Base card --- */
.comm-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8f5ec;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  /* Reveal */
  opacity: 0;
  transform: translateY(20px) scale(.98);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1),
    transform .6s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s, border-color .25s;
}

.comm-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.comm-card.visible:hover {
  border-color: #86efac;
  box-shadow: 0 12px 40px rgba(22, 163, 74, .14);
  transform: scale(1.025);
  z-index: 2;
}

.comm-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #dcfce7;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.comm-card.visible:hover img {
  transform: scale(1.12) rotate(-3deg);
}

.cc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cc-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0d1a10;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-cnt {
  font-size: 11.5px;
  color: #6b7280;
}

.cc-join {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  transition: all .2s;
  flex-shrink: 0;
}

.cc-join:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  transform: scale(1.06);
}

/* --- FEATURED card (spans full left column) --- */
.comm-featured {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  border: none;
  align-items: stretch;
  gap: 0;
  min-height: 340px;
}

.cc-img-wrap {
  position: relative;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
}

.cc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  display: block;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.comm-featured.visible:hover .cc-img-wrap img {
  transform: scale(1.06);
}

.cc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 46, 22, .85) 0%, rgba(5, 46, 22, .2) 60%, transparent 100%);
}

.cc-featured-body {
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cc-members-pill {
  display: inline-flex;
  align-self: flex-start;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
}

.cc-featured-body h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0d1a10;
  letter-spacing: -.5px;
  line-height: 1.2;
}

.cc-featured-body p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
}

.cc-join-lg {
  display: inline-flex;
  align-self: flex-start;
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .3);
  transition: all .25s;
}

.cc-join-lg:hover {
  box-shadow: 0 10px 30px rgba(22, 163, 74, .5);
  transform: scale(1.04);
}

/* ═══════════════════════════════════════════════
   NEWS  — Bento layout: 1 big featured + 3 compact
═══════════════════════════════════════════════ */
.section-news {
  padding: 96px 0;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}

/* Bento outer grid */
.news-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.news-bento-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Base news card --- */
.news-card {
  background: #fff;
  border: 1px solid #e8f5ec;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Reveal */
  opacity: 0;
  transform: translateY(22px) scale(.98);
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1),
    box-shadow .3s, border-color .25s;
}

.news-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.news-card.visible:hover {
  box-shadow: 0 16px 50px rgba(22, 163, 74, .14);
  border-color: #86efac;
  transform: scale(1.025);
  z-index: 2;
}

/* Green left accent line */
.news-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(#22c55e, #4ade80);
  border-radius: 0 99px 99px 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.news-card.visible:hover::before {
  transform: scaleY(1);
}

.news-card.visible:hover h3 {
  color: #15803d;
}

.nc-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nc-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nc-tag.blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.nc-tag.purple {
  background: #f5f3ff;
  color: #6d28d9;
}

.nc-tag.orange {
  background: #fff7ed;
  color: #c2410c;
}

.nc-time {
  font-size: 12px;
  color: #9ca3af;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.3;
  color: #0d1a10;
  transition: color .25s;
}

.news-card p {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.65;
  flex: 1;
}

.nc-read {
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
}

/* --- FEATURED NEWS card --- */
.news-featured {
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}

.news-feat-bg {
  flex: 1;
  background: url('https://assets.worldwildlife.org/www-prd/images/wwfcmsprodimagescapt.2e16d0ba.format-webp.fill-1280x640.webp') center/cover no-repeat;
  position: relative;
}

.news-feat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 46, 22, .1) 0%, rgba(5, 46, 22, .75) 100%);
}

.news-feat-body {
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-feat-body h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0d1a10;
  letter-spacing: -.5px;
  line-height: 1.2;
  transition: color .25s;
}

.news-featured.visible:hover .news-feat-body h3 {
  color: #15803d;
}

.news-feat-body p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
}

.nc-read-lg {
  font-size: 14px;
  font-weight: 700;
  color: #16a34a;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   CTA  — wave divider + glow button
═══════════════════════════════════════════════ */
.section-cta {
  position: relative;
  padding: 100px 24px 120px;
  background: #020c05;
  overflow: hidden;
  text-align: center;
}

/* Wave top divider */
.cta-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.cta-wave-top svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Floating emoji grid background */
.cta-decor-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  pointer-events: none;
  overflow: hidden;
}

.cta-decor-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: .05;
  filter: grayscale(1);
  animation: ctaFloat 8s ease-in-out infinite;
}

.cta-decor-grid span:nth-child(2) {
  animation-delay: -1s;
}

.cta-decor-grid span:nth-child(3) {
  animation-delay: -2s;
}

.cta-decor-grid span:nth-child(4) {
  animation-delay: -3s;
}

.cta-decor-grid span:nth-child(5) {
  animation-delay: -4s;
}

.cta-decor-grid span:nth-child(6) {
  animation-delay: -5s;
}

.cta-decor-grid span:nth-child(7) {
  animation-delay: -6s;
}

.cta-decor-grid span:nth-child(8) {
  animation-delay: -7s;
}

@keyframes ctaFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(8deg);
  }
}

.cta-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.co {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbDrift 10s ease-in-out infinite alternate;
}

.co1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22, 163, 74, .2), transparent 70%);
  left: -200px;
  top: -100px;
}

.co2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, .15), transparent 70%);
  right: -150px;
  bottom: -80px;
  animation-delay: 5s;
}

.co3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96, 165, 250, .1), transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 2.5s;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 48px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .2);
  color: #4ade80;
  border-radius: 99px;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}

.cta-inner h2 {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -3px;
  line-height: 1.02;
}

.cta-inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, .55);
  max-width: 520px;
  line-height: 1.75;
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* GLOW BUTTON with sweeping gradient on hover */
.btn-cta-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 6px 30px rgba(22, 163, 74, .45);
  overflow: hidden;
  transition: box-shadow .3s, transform .25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-cta-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .3) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.btn-cta-glow:hover::before {
  transform: translateX(120%);
}

.btn-cta-glow:hover {
  box-shadow: 0 12px 50px rgba(22, 163, 74, .65), 0 0 0 4px rgba(34, 197, 94, .18);
  transform: scale(1.04);
}

/* Trust row */
.cta-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.cta-trust span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .35);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: #020c05;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 60px 0 0
}

.footer-top {
  display: flex;
  gap: 60px;
  padding-bottom: 48px
}

.ft-brand {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff
}

.ft-logo .logo-icon {
  background: linear-gradient(135deg, #16a34a, #14532d);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff
}

.ft-logo .logo-icon svg {
  width: 17px;
  height: 17px
}

.ft-logo span {
  font-size: 17px;
  font-weight: 800
}

.ft-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, .38);
  line-height: 1.6
}

.ft-nav {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  gap: 40px
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.ft-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px
}

.ft-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, .32);
  transition: color .2s
}

.ft-col a:hover {
  color: #4ade80
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.footer-bottom span {
  font-size: 13px;
  color: rgba(255, 255, 255, .2)
}

.ft-social {
  display: flex;
  gap: 10px
}

.ft-social a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .32);
  text-decoration: none;
  transition: all .2s
}

.ft-social a:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff
}



/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media(max-width:1100px) {

  /* Features bento: collapse to 2 cols */
  .features-bento {
    grid-template-columns: 1fr 1fr;
  }

  .feat-card--large {
    grid-column: 1;
    grid-row: auto;
  }

  .feat-card--wide {
    grid-column: 1 / 3;
    grid-row: auto;
    flex-direction: row;
  }

  /* Communities: 2 columns */
  .comm-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .comm-bento {
    grid-template-columns: 1fr;
  }

  .comm-bento-right {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-bento {
    grid-template-columns: 1fr;
  }

  .news-featured {
    min-height: 380px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, .07);
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-left: none;
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, .07);
  }
}

@media(max-width:820px) {

  /* Stack hero vertically on tablet */
  .hero-inner {
    flex-direction: column;
    padding: 110px 0 70px
  }

  .hero-text {
    flex: none;
    width: 100%;
    padding: 0 24px;
    align-items: center;
    text-align: center
  }

  .hero-badge,
  .hero-stats-row {
    margin: 0 auto
  }

  .hero-ctas {
    justify-content: center
  }

  .hero-desc {
    margin: 0 auto 28px
  }

  .hero-visual {
    flex: none;
    width: 100%;
    padding: 0 24px 40px;
    max-width: 420px;
    margin: 0 auto
  }

  .fb-left,
  .fb-right {
    display: none
  }

  /* hide floating badges on mobile */
  .footer-top {
    flex-direction: column
  }

  .ft-brand {
    flex: none
  }
}

@media(max-width:640px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }

  .stat-item+.stat-item {
    border-left: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .stat-item:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, .07);
  }

  .stat-item:nth-child(4) {
    border-left: 1px solid rgba(255, 255, 255, .07);
  }

  .stat-item {
    min-height: 190px;
    justify-content: center;
    padding: 24px 12px;
  }

  .stat-num {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.6px;
    white-space: nowrap;
    margin-bottom: 14px;
  }

  /* Features bento: 1 column on mobile */
  .features-bento {
    grid-template-columns: 1fr;
  }

  .feat-card--large,
  .feat-card--wide {
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
  }

  /* Communities → single col */
  .comm-grid-3 {
    grid-template-columns: 1fr;
  }

  .comm-bento {
    grid-template-columns: 1fr;
  }

  .comm-bento-right {
    grid-template-columns: 1fr;
  }

  /* News bento → single col */
  .news-bento {
    grid-template-columns: 1fr;
  }

  .news-featured {
    min-height: auto;
  }

  .news-feat-bg {
    min-height: 160px;
  }

  .ft-nav {
    flex-direction: column;
    gap: 20px
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center
  }

  .cta-btns {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto
  }

  .btn-cta-glow {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES ([data-theme="light"]) — HOME PAGE
   WCAG AA Contrast Compliant · High Legibility & Premium Styling
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="light"] body {
  background: #f8fafc;
  color: #1e293b;
}

/* ── Hero Light Mode ── */
[data-theme="light"] .hero {
  background: #f0fdf4;
}

[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(167, 243, 208, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(187, 247, 208, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(254, 215, 170, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 40%, #e6f7ef 100%);
}

[data-theme="light"] #hero-canvas {
  opacity: 0.35;
}

[data-theme="light"] .hero-badge {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
  font-weight: 700;
}

[data-theme="light"] .hero-title {
  color: #0f172a;
}

[data-theme="light"] .title-green {
  background: linear-gradient(90deg, #059669, #10b981, #047857, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-desc {
  color: #334155;
}

[data-theme="light"] .hero-stats-row {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hs-num {
  color: #0f172a;
}

[data-theme="light"] .hs-lbl {
  color: #475569;
  font-weight: 600;
}

[data-theme="light"] .hs-sep {
  background: #e2e8f0;
}

[data-theme="light"] .btn-ghost {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-ghost:hover {
  background: #ffffff;
  border-color: #059669;
  color: #059669;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.15);
}

[data-theme="light"] .float-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .fb-text strong {
  color: #0f172a;
}

[data-theme="light"] .fb-text small {
  color: #475569;
  font-weight: 600;
}

[data-theme="light"] .scroll-hint {
  color: #475569;
}

[data-theme="light"] .sh-mouse {
  border-color: #94a3b8;
}

[data-theme="light"] .sh-wheel {
  background: #475569;
}

/* ── Stats Section Light Mode ── */
[data-theme="light"] .stats-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .stats-bg-glow {
  background: radial-gradient(ellipse 70% 120% at 50% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .stats-label-top {
  color: #059669;
  font-weight: 700;
}

[data-theme="light"] .stat-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .stat-item:hover {
  background: #ffffff;
  border-color: #86efac;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .stat-num {
  color: #0f172a;
}

[data-theme="light"] .stat-label {
  color: #475569;
  font-weight: 600;
}

[data-theme="light"] .stat-track {
  background: #e2e8f0;
}

/* ── Features Section Light Mode ── */
[data-theme="light"] .section-features {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
}

[data-theme="light"] .feat-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .feat-card:hover {
  border-color: #86efac;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feat-card--wide {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
}

[data-theme="light"] .feat-card--wide .fc-content h3 {
  color: #064e3b;
}

[data-theme="light"] .feat-card--wide .fc-content p {
  color: #1e293b;
}

[data-theme="light"] .feat-card--wide .fc-link {
  color: #047857;
  font-weight: 700;
}

[data-theme="light"] .feat-card--wide .fc-number {
  color: rgba(6, 78, 59, 0.08);
}

/* ── Community & News Light Mode ── */
[data-theme="light"] .section-comm {
  background: #ffffff;
}

[data-theme="light"] .comm-card-v2,
[data-theme="light"] .comm-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .section-news {
  background: linear-gradient(180deg, #f8fafc, #f0fdf4);
}

[data-theme="light"] .news-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .news-card h3 {
  color: #0f172a;
}

[data-theme="light"] .news-card p {
  color: #475569;
}

[data-theme="light"] .news-feat-body {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .news-feat-body h3 {
  color: #0f172a;
}

[data-theme="light"] .news-feat-body p {
  color: #475569;
}

/* ── CTA Section Light Mode ── */
[data-theme="light"] .section-cta {
  background: #ecfdf5 !important;
  border-top: 1px solid #d1fae5 !important;
}

[data-theme="light"] .cta-wave-top path {
  fill: #ffffff !important;
}

[data-theme="light"] .cta-orbs {
  opacity: 0.3 !important;
}

[data-theme="light"] .cta-badge {
  background: #dcfce7 !important;
  border: 1px solid #86efac !important;
  color: #15803d !important;
}

[data-theme="light"] .section-cta h2,
[data-theme="light"] .cta-inner h2,
[data-theme="light"] .cta-title {
  color: #0f172a !important;
}

[data-theme="light"] .section-cta p,
[data-theme="light"] .cta-inner p,
[data-theme="light"] .cta-desc {
  color: #334155 !important;
}

[data-theme="light"] .cta-trust span {
  color: #475569 !important;
}

[data-theme="light"] .cta-decor-grid span {
  opacity: 0.07;
}

/* ── Footer Light Mode ── */
[data-theme="light"] .site-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .ft-logo span {
  color: #0f172a !important;
}

[data-theme="light"] .ft-brand p {
  color: #475569 !important;
}

[data-theme="light"] .ft-col h4 {
  color: #0f172a !important;
}

[data-theme="light"] .ft-col a {
  color: #475569 !important;
}

[data-theme="light"] .ft-col a:hover {
  color: #059669 !important;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .footer-bottom span {
  color: #475569 !important;
}

[data-theme="light"] .footer-bottom a {
  color: #64748b !important;
}

[data-theme="light"] .footer-bottom a:hover {
  color: #059669 !important;
}