/* ── Landing Page — Forest Canopy Theme ───────────────── */
body { overflow-y: auto; overflow-x: hidden; }

/* ── Nav (frosted glass, sticky) ─────────────────────── */
/* Landing-only nav override — intentionally sticky + frosted (shared.css default is plain). */
.top-nav {
  position: sticky;
  top: 0;
  height: 56px;
  background: rgba(244, 241, 236, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-cta {
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--forest-2), var(--forest-4));
  color: #fff;
  border-radius: 24px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(58, 114, 80, 0.25);
}

/* ── Hero — Sage Dot Grid ────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3ea 0%, #e6efe1 55%, #dde7d6 100%);
}

/* Live canvas dot field — animated waves, mouse interaction, pulse rings. */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* Soft edge vignette — subtly darkens corners to add depth. */
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 110% 95% at 50% 50%, transparent 55%, rgba(45, 90, 61, 0.10) 100%);
  z-index: 2;
}

/* ── Hero content ────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.0;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotate(-2deg);
  animation: wordBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.w:nth-child(1) { animation-delay: 0.1s; }
.w:nth-child(2) { animation-delay: 0.2s; }
.w:nth-child(3) { animation-delay: 0.3s; }
.w:nth-child(4) { animation-delay: 0.4s; }

.w.pop {
  background: linear-gradient(135deg, var(--forest-2), var(--forest-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.5s;
}

@keyframes wordBounce {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.hero-sub {
  margin: 24px auto 0;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.4;
  max-width: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease-out 0.8s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Activity pills */
.hero-pills {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease-out 1s forwards;
}

.pill {
  padding: 11px 22px;
  border-radius: 26px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  background: rgba(244, 241, 236, 0.9);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.pill:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.pill i { font-size: 22px; }
.pill-hike i    { color: var(--hike); }
.pill-ride i    { color: var(--ride); }
.pill-run i     { color: var(--run); }
.pill-trailrun i { color: var(--trail-run); }
.pill-kayak i    { color: var(--kayak); }

/* Hero CTA */
.hero-cta-wrap {
  margin-top: 36px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease-out 1.2s forwards;
}

.btn-hero {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--forest-2), var(--forest-4));
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(58, 114, 80, 0.25);
}

.btn-hero:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 36px rgba(58, 114, 80, 0.35);
}

.btn-hero .ar {
  transition: transform 0.2s;
}

.btn-hero:hover .ar {
  transform: translateX(4px);
}

/* ── Hero KPIs ───────────────────────────────────────── */
.hero-kpis {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 28px 0 8px;
  flex-wrap: wrap;
}

.hero-kpi {
  text-align: center;
  min-width: 80px;
}

.hero-kpi-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: var(--text-1);
  letter-spacing: -1px;
  line-height: 1;
}

.hero-kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* ── Footer ──────────────────────────────────────────── */
.landing-footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-kpis { gap: 24px; }
  .hero-kpi-value { font-size: 26px; }
  .hero-sub { white-space: normal; font-size: 18px; }
}

/* ── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero h1 .w, .hero-sub, .hero-pills, .hero-cta-wrap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
