/* ============================================================
   LANDING — Self-Care AMRun 5K 2026
   ============================================================ */

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(2,20,29,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--ink-soft); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--grad-run); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { --pad-y: 11px; padding-top: 11px; padding-bottom: 11px; font-size: 14px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.layer { position: absolute; inset: 0; will-change: transform; }
.layer img { width: 100%; height: 100%; object-fit: cover; }

.layer-bg img { transform: scale(1.12); }

/* foliage framing — right bush mirrors the left: same size + Y, anchored bottom-right */
.layer-folR {
  inset: auto -5% -3% auto; width: 48%; height: 82%;
}
.layer-folR img { object-fit: contain; object-position: bottom right; height: 100%; width: 100%; }

/* left foliage frames the bottom-left corner */
.layer-folL {
  inset: auto auto -3% -5%; width: 48%; height: 82%;
}
.layer-folL img { object-fit: contain; object-position: bottom left; height: 100%; width: 100%; }
.layer-folL img, .layer-folR img { filter: brightness(1.2) saturate(1.16) contrast(0.96); }

/* runner — focal, planted bottom-centre on the road */
.layer-runner {
  inset: auto 0 0 0;
  height: 82%;
  display: flex; align-items: flex-end; justify-content: center;
}
.layer-runner img {
  width: auto; height: 84%; object-fit: contain;
  transform: translateX(17%);
  filter: drop-shadow(-18px 22px 40px rgba(0,0,0,0.55));
}

/* atmosphere */
.hero-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(130% 100% at 16% 60%, rgba(2,20,29,0.26) 0%, rgba(2,20,29,0.56) 60%, rgba(2,20,29,0.76) 100%),
    linear-gradient(90deg, rgba(2,20,29,0.82) 0%, rgba(2,20,29,0.28) 46%, rgba(2,20,29,0) 70%);
}
.hero-beams {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0.5;
  background:
    linear-gradient(96deg, transparent 40%, rgba(126,233,226,0.10) 50%, transparent 60%),
    radial-gradient(60% 50% at 70% 22%, rgba(79,155,255,0.18), transparent 70%);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* hero content */
.hero-content { position: relative; z-index: 5; min-width: 0; padding-top: 96px; padding-bottom: 80px; }
.hero-sponsors { margin-bottom: 26px; }
.hero-sponsors img { height: 34px; width: auto; }
.hero-logo { width: min(50vw, 430px); height: auto; margin: 18px 0 6px; }
.hero-title { display: flex; align-items: flex-end; gap: 22px; margin: 6px 0 22px; }
.hero-5k {
  font-size: clamp(64px, 12vw, 168px);
  line-height: 0.8;
  background: var(--grad-run);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 30px rgba(31,179,90,0.35));
}
.hero-sub { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.6vw, 50px); line-height: 0.92; color: var(--ink); letter-spacing: -0.02em; }
.hero-lead { font-size: clamp(15px, 1.35vw, 18.5px); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }

.hero-meta { display: flex; gap: 38px; margin: 28px 0 6px; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-k { font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aqua); }
.meta-v { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }

/* countdown */
.countdown { display: flex; align-items: center; gap: 14px; margin: 30px 0 30px; }
.cd-cell {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 84px; padding: 14px 12px;
  border-radius: 16px;
  background: rgba(244,237,225,0.045);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.cd-cell b {
  font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, var(--aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-cell span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); }
.cd-sep { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--aqua); opacity: 0.5; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.hero-note b { color: var(--yellow); font-family: var(--font-display); }

/* scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-dim);
}
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--aqua), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content:""; position:absolute; top:-50%; left:0; width:1px; height:50%; background: var(--aqua); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{ top:-50%; } 100%{ top:100%; } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--green); color: #03161e; overflow: hidden; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1); }
.marquee-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; padding: 15px 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; letter-spacing: 0.01em; text-transform: uppercase; }
.marquee-track b { font-size: 14px; opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ABOUT ---------- */
.grad-text { background: var(--grad-run); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.1em; }
/* combined italic + gradient needs extra room so the slanted last glyph isn't clipped */
.italic-speed.grad-text, .grad-text.italic-speed { padding-right: 0.26em; }
.about { padding: clamp(80px,11vw,150px) 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,6vw,90px); align-items: start; }
.about-left .section-title { margin-top: 18px; }
.about-right { display: flex; flex-direction: column; gap: 22px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.stat {
  padding: 22px 22px 24px; border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244,237,225,0.05), rgba(244,237,225,0.015));
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.stat:hover { transform: translateY(-5px); border-color: rgba(70,224,138,0.4); box-shadow: 0 22px 46px -24px rgba(31,179,90,0.5); }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--ink); display: inline-flex; align-items: baseline; }
.stat b span { font-size: 26px; color: var(--aqua); margin-left: 2px; }
.stat p { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); max-width: 18ch; }

/* ---------- section head ---------- */
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .section-title { margin-top: 16px; }

/* ---------- DETAILS ---------- */
.details { padding: clamp(70px,9vw,120px) 0; background: linear-gradient(180deg, var(--bg-900), var(--bg-850)); border-top: 1px solid var(--line); }
.detail-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dcard {
  padding: 30px 26px 32px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(244,237,225,0.05), rgba(244,237,225,0.015));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.dcard:hover { transform: translateY(-6px); border-color: rgba(70,224,138,0.4); box-shadow: 0 24px 50px -24px rgba(31,179,90,0.5); }
.dcard-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(126,233,226,0.08); color: var(--aqua); margin-bottom: 22px; }
.dcard-ic svg { width: 26px; height: 26px; }
.dcard h3 { font-size: 22px; margin-bottom: 12px; }
.dcard p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- PRICING ---------- */
.pricing { padding: clamp(70px,9vw,120px) 0; }
.price-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; align-items: stretch; }
.pcard {
  padding: 38px 36px 36px; border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244,237,225,0.045), rgba(244,237,225,0.01));
  display: flex; flex-direction: column;
}
.pcard-feature {
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(31,179,90,0.22), transparent 60%),
    linear-gradient(180deg, rgba(244,237,225,0.06), rgba(244,237,225,0.015));
  border-color: rgba(70,224,138,0.4);
  box-shadow: 0 30px 70px -34px rgba(31,179,90,0.55);
}
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.pill-hot { background: rgba(236,236,61,0.14); border-color: rgba(236,236,61,0.4); color: var(--yellow); }
.pcard-save { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--green-bright); }
.price { display: flex; align-items: flex-start; gap: 4px; color: var(--ink); margin-bottom: 28px; }
.price .cur { font-family: var(--font-display); font-weight: 700; font-size: 30px; margin-top: 10px; color: var(--ink-soft); }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px,8vw,104px); line-height: 0.85; letter-spacing: -0.03em; }
.pcard-feature .price .amt { background: var(--grad-run); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .k { font-family: var(--font-display); font-weight: 800; font-size: 30px; margin-top: 8px; color: var(--ink-soft); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; flex: 1; }
.price-feats li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.price-feats li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(70,224,138,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%2346e08a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.price-btn { width: 100%; justify-content: center; }

/* ---------- REWARDS ---------- */
.rewards { padding: clamp(70px,9vw,120px) 0; background: linear-gradient(180deg, var(--bg-850), var(--bg-900)); border-top: 1px solid var(--line); }
.rewards-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.rewards-copy .section-title { margin: 16px 0 22px; }
.rewards-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.rewards-list li {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 28px; border-radius: 20px;
  background: rgba(244,237,225,0.035); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.rewards-list li:hover { transform: translateX(8px); border-color: rgba(70,224,138,0.4); }
.rewards-list span { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: transparent; -webkit-text-stroke: 1.4px var(--aqua); opacity: 0.8; }
.rewards-list b { font-family: var(--font-display); font-size: 19px; display: block; margin-bottom: 6px; }
.rewards-list p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- SPONSORS ---------- */
.sponsors { padding: clamp(56px,7vw,90px) 0; }
.sponsors-label { text-align: center; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 26px; }
.sponsors-bar { background: #f4ede1; border-radius: 20px; padding: 24px 34px; display: flex; justify-content: center; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6); }
.sponsors-bar img { max-height: 60px; width: auto; object-fit: contain; }

/* ---------- FOOTER ---------- */
.foot-cta { padding: clamp(80px,10vw,140px) 0; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 50% 0%, rgba(31,179,90,0.16), transparent 60%); border-top: 1px solid var(--line); }
.foot-cta .section-title { margin-bottom: 18px; }
.foot-cta .lead { margin: 0 auto 30px; text-align: center; }
.foot-cta .btn { margin: 0 auto; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 50px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-logo { height: 34px; width: auto; }
.foot-meta { text-align: right; }
.foot-meta p { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.foot-meta a { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--aqua); }
.foot-meta a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .detail-cards { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .rewards-inner { grid-template-columns: 1fr; }
  .layer-runner { width: 56vw; opacity: 0.92; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .hero-title { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-meta { gap: 24px; }
  .countdown { gap: 8px; flex-wrap: wrap; }
  .cd-cell { min-width: 64px; padding: 11px 8px; }
  .cd-cell b { font-size: 30px; }
  .cd-sep { display: none; }
  .detail-cards { grid-template-columns: 1fr; }
  .layer-runner { width: 78vw; bottom: 8%; opacity: 0.5; }
  .layer-folL { width: 80%; }
  .hero-tint { background: linear-gradient(180deg, rgba(2,20,29,0.5) 0%, rgba(2,20,29,0.75) 60%, var(--bg-900) 100%); }
  .foot-bottom { flex-direction: column; text-align: center; }
  .foot-meta { text-align: center; }
  .about-stats { gap: 10px; }
  .stat { padding: 16px 12px 18px; }
  .stat b { font-size: 34px; }
  .stat b span { font-size: 18px; }
  .stat p { font-size: 12px; margin-top: 8px; max-width: none; }
  .rewards-list li { padding: 20px 20px; gap: 16px; }
  .sponsors-bar { padding: 18px 18px; }
}
@media (max-width: 430px) {
  .hero-sponsors img { height: 26px; }
  .hero-content { padding-top: 84px; }
  .hero-5k { font-size: clamp(56px, 22vw, 96px); }
  .about-stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; }
  .stat b { font-size: 38px; }
  .stat p { margin-top: 0; }
  .price .amt { font-size: clamp(56px, 17vw, 80px); }
  .cd-cell { min-width: 0; flex: 1; }
}
