/* ============================================================
   OLYFTICS — Marketing Site Stylesheet
   ============================================================ */

:root {
  --bg: #1A1A1F;
  --bg-elev-1: #22232A;
  --bg-elev-2: #2A2B33;
  --text: #F4F1E8;
  --text-muted: #9A9AA3;
  --text-dim: #6B6B73;
  --accent: #E85A1A;
  --accent-glow: rgba(232, 90, 26, 0.45);
  --accent-soft: rgba(232, 90, 26, 0.12);
  --gold: #D8B564;
  --gold-soft: rgba(216, 181, 100, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius-card: 16px;
  --radius-form: 20px;
  --display: 'Lilita One', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   Typography helpers
   ============================================================ */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}
.eyebrow.gold { color: var(--gold); }

.accent { color: var(--accent); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(26, 26, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 0.5rem 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: var(--text) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #F26F2A 0%, var(--accent) 100%);
  color: var(--text);
  box-shadow: 0 6px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; padding: 1.1rem 1.5rem; text-transform: uppercase; }

.btn-arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/olyftics_bannerimg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(26,26,31,0.7) 100%),
    linear-gradient(180deg, rgba(26,26,31,0.2) 0%, rgba(26,26,31,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0.5rem 0 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text);
  max-width: 580px;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: bob 2s ease-in-out infinite;
}
.scroll-cue .chevron { font-size: 1.4rem; line-height: 1; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

@media (max-width: 768px) {
  .hero { padding-top: 6rem; text-align: center; }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
}

/* ============================================================
   Generic section
   ============================================================ */

.section {
  position: relative;
  padding: 7rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Lyftlings grid
   ============================================================ */

.lyftling-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 6rem;
}

@media (max-width: 960px) { .lyftling-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lyftling-grid { grid-template-columns: 1fr; } }

.lyftling-card {
  position: relative;
  background: var(--bg-elev-1);
  border-radius: var(--radius-card);
  padding: 8.5rem 1.75rem 2rem;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: visible;
}
.lyftling-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklch, var(--theme) 50%, transparent);
  box-shadow: 0 16px 40px -10px color-mix(in oklch, var(--theme) 35%, transparent);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 240px;
  background: radial-gradient(ellipse at center, color-mix(in oklch, var(--theme) 60%, transparent) 0%, transparent 65%);
  filter: blur(20px);
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}
.lyftling-card:hover .card-glow { opacity: 1; }

.lyftling-img {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 320px;
  height: auto;
  z-index: 2;
  transition: transform 0.4s var(--ease);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}
.lyftling-card:hover .lyftling-img {
  transform: translateX(-50%) translateY(-6px);
}

.rarity {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 3;
}
.rarity-starter {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.rarity-rare {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(216,181,100,0.3);
}

.lyftling-name {
  font-family: var(--display);
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 2;
}

.lyftling-tag {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.stat-affinity {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.stat-icon {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  background: var(--bg-elev-2);
  border-radius: 8px;
  border: 1px solid color-mix(in oklch, var(--stat-color, #fff) 30%, var(--border));
  box-shadow: 0 0 12px color-mix(in oklch, var(--stat-color, transparent) 35%, transparent);
  transition: transform 0.2s var(--ease);
}
.stat-icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  background-color: var(--stat-color, #fff);
  mask: var(--stat-icon) center / contain no-repeat;
  -webkit-mask: var(--stat-icon) center / contain no-repeat;
}
.lyftling-card:hover .stat-icon { transform: translateY(-2px); }

.stat-icon[data-stat="strength"]    { --stat-color: #E64C3F; --stat-icon: url('/images/icons/strength_icon.svg'); }
.stat-icon[data-stat="speed"]       { --stat-color: #F5C518; --stat-icon: url('/images/icons/speed_icon.svg'); }
.stat-icon[data-stat="stamina"]     { --stat-color: #A26BE8; --stat-icon: url('/images/icons/stamina_icon.svg'); }
.stat-icon[data-stat="endurance"]   { --stat-color: #3A7BD5; --stat-icon: url('/images/icons/endurance_icon.svg'); }
.stat-icon[data-stat="health"]      { --stat-color: #5BD58F; --stat-icon: url('/images/icons/health_icon.svg'); }
.stat-icon[data-stat="consistency"] { --stat-color: #3DCBC6; --stat-icon: url('/images/icons/consistency_icon.svg'); }

.lyftling-blurb {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

.more-tease {
  text-align: center;
  margin-top: 5rem;
}
.more-tease p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
}
/* ============================================================
   How It Works
   ============================================================ */

.how-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.how-block.reverse { direction: rtl; }
.how-block.reverse > * { direction: ltr; }

@media (max-width: 860px) {
  .how-block, .how-block.reverse { grid-template-columns: 1fr; direction: ltr; gap: 2.5rem; }
}

.how-visual {
  position: relative;
  background: var(--bg-elev-1);
  border-radius: var(--radius-card);
  padding: 3rem 2rem;
  min-height: 360px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-icon { margin-bottom: 1.25rem; }

.lyftling-mark {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-color: #A06CE0;
  mask: url('/images/lyftling_icon.svg') center / contain no-repeat;
  -webkit-mask: url('/images/lyftling_icon.svg') center / contain no-repeat;
  filter: drop-shadow(0 0 14px rgba(160, 108, 224, 0.55));
}

.how-text h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.how-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.accent-line {
  color: var(--accent) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem !important;
}

/* Radar chart visual */
.radar {
  position: relative;
  width: 320px;
  height: 300px;
  max-width: 100%;
}
.radar-svg { width: 100%; height: 100%; display: block; }

.hex-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
}
.hex-spoke {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}
.hex-shape {
  filter: drop-shadow(0 0 18px rgba(230, 76, 63, 0.35));
  transform-origin: 170px 160px;
  animation: radarPulse 4.5s ease-in-out infinite;
}
@keyframes radarPulse {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.03); }
}

/* Isolate the glow stack so additive blending only sums between the gradients,
   not against the dark card behind them. Matches Flutter's saveLayer + BlendMode.plus. */
.hex-glows { isolation: isolate; }
.hex-axis-glow { mix-blend-mode: plus-lighter; }

.hex-shape-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.hex-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: var(--text-muted);
  text-transform: uppercase;
}
.hex-label[data-stat="strength"]    { fill: #E64C3F; }
.hex-label[data-stat="speed"]       { fill: #F5C518; }
.hex-label[data-stat="stamina"]     { fill: #A26BE8; }
.hex-label[data-stat="endurance"]   { fill: #3A7BD5; }
.hex-label[data-stat="health"]      { fill: #5BD58F; }
.hex-label[data-stat="consistency"] { fill: #3DCBC6; }

.floater {
  position: absolute;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
  animation: floatUp 4s ease-in-out infinite;
}
.floater[data-stat="strength"]    { color: #E64C3F; background: rgba(230, 76, 63, 0.16);  border: 1px solid rgba(230, 76, 63, 0.4); }
.floater[data-stat="speed"]       { color: #F5C518; background: rgba(245, 197, 24, 0.16); border: 1px solid rgba(245, 197, 24, 0.4); }
.floater[data-stat="stamina"]     { color: #A26BE8; background: rgba(162, 107, 232, 0.16); border: 1px solid rgba(162, 107, 232, 0.4); }
.floater[data-stat="endurance"]   { color: #3A7BD5; background: rgba(58, 123, 213, 0.16); border: 1px solid rgba(58, 123, 213, 0.4); }
.floater[data-stat="health"]      { color: #5BD58F; background: rgba(91, 213, 143, 0.16); border: 1px solid rgba(91, 213, 143, 0.4); }
.floater[data-stat="consistency"] { color: #3DCBC6; background: rgba(61, 203, 198, 0.16); border: 1px solid rgba(61, 203, 198, 0.4); }
.f1 { top: 10%; left: -10%; animation-delay: 0s; }
.f2 { top: 60%; right: -15%; animation-delay: 1.4s; }
.f3 { bottom: 5%; left: 10%; animation-delay: 2.8s; }
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(10px); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* Battle pass: real in-app screenshot */
.how-visual-tall {
  padding: 1.5rem;
  min-height: 0;
}
.lifttrack-img {
  max-height: 520px;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 24px rgba(232, 90, 26, 0.18));
  mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
  animation: lifttrackFloat 5s ease-in-out infinite;
}
@keyframes lifttrackFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 860px) {
  .lifttrack-img { max-height: 420px; }
}

/* Competition visual */
.comp-banner {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-ticket {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 10px 30px var(--accent-glow));
  animation: rock 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes rock {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
.comp-reward {
  position: absolute;
  width: 78px;
  height: auto;
  z-index: 3;
  animation: floatReward 4s ease-in-out infinite;
}
.reward-ironite {
  top: 6%;
  left: 6%;
  transform: rotate(-10deg);
  filter: drop-shadow(0 6px 18px rgba(160, 108, 224, 0.55));
  animation-delay: 0s;
}
.reward-shredit {
  top: 8%;
  right: 6%;
  filter: drop-shadow(0 6px 18px rgba(224, 138, 74, 0.55));
  animation: floatReward 4s ease-in-out infinite 1.2s, spinShredit 6s linear infinite;
}
@keyframes spinShredit {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}
.reward-shard {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  filter: drop-shadow(0 6px 18px rgba(126, 217, 87, 0.55));
  animation-delay: 2.4s;
}
@keyframes floatReward {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
.comp-sparkle {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}
.s1 { top: 30%; left: 30%; animation: twinkle 2s ease-in-out infinite; }
.s2 { top: 50%; right: 25%; animation: twinkle 2.5s ease-in-out infinite 0.5s; }
.s3 { bottom: 30%; left: 60%; animation: twinkle 3s ease-in-out infinite 1s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Gacha visual */
.gacha {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gacha-beam {
  position: absolute;
  width: 200px;
  height: 320px;
  background: linear-gradient(180deg, rgba(160,108,224,0) 0%, rgba(160,108,224,0.4) 50%, rgba(160,108,224,0) 100%);
  filter: blur(20px);
  z-index: 1;
}
.gacha-char {
  position: relative;
  z-index: 2;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(160,108,224,0.7));
  animation: floatGacha 4s ease-in-out infinite;
}
@keyframes floatGacha {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.gacha-box {
  position: absolute;
  bottom: 8px;
  width: 220px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(160, 108, 224, 0.55)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}
.gacha-sparkle {
  position: absolute;
  width: 8px; height: 8px;
  background: #C8B0E8;
  border-radius: 50%;
  box-shadow: 0 0 12px #B89AE0;
}
.gs1 { top: 20%; left: 20%; animation: burstSparkle 2s ease-out infinite 0s; }
.gs2 { top: 30%; right: 25%; animation: burstSparkle 2s ease-out infinite 0.4s; }
.gs3 { top: 50%; left: 15%; animation: burstSparkle 2s ease-out infinite 0.8s; }
.gs4 { bottom: 35%; right: 20%; animation: burstSparkle 2s ease-out infinite 1.2s; }
.gs5 { top: 15%; left: 50%; animation: burstSparkle 2s ease-out infinite 1.6s; }
@keyframes burstSparkle {
  0% { opacity: 0; transform: scale(0); }
  30% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(0.5); }
}

/* ============================================================
   Why Olyftics
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 90, 26, 0.3);
}
.why-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-card h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ============================================================
   Signup
   ============================================================ */

.signup {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 8rem;
  max-width: 100%;
  overflow: hidden;
}

.signup-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,90,26,0.18) 0%, var(--bg) 65%);
  z-index: 0;
}

.signup-anchor {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  width: 260px;
  max-width: 25vw;
  filter: drop-shadow(0 0 40px rgba(126,217,87,0.4));
  z-index: 1;
  pointer-events: none;
  animation: floatGacha 5s ease-in-out infinite;
}
@media (max-width: 768px) {
  .signup-anchor { width: 140px; right: 1rem; bottom: 1rem; opacity: 0.6; }
}

.signup .section-head,
.signup .form-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.form-wrap {
  max-width: 500px !important;
}

.signup-form {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-form);
  padding: 2.5rem 2rem;
  box-shadow: 0 0 60px rgba(232,90,26,0.15), 0 20px 50px -20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field { display: flex; flex-direction: column; }

.field-row {
  display: flex;
  gap: 0.75rem;
}
.field-row .field { flex: 1; min-width: 0; }
@media (max-width: 480px) {
  .field-row { flex-direction: column; gap: 1rem; }
}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.signup-form input::placeholder { color: var(--text-dim); }
.signup-form input:focus,
.signup-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,90,26,0.2);
}

.signup-form select { appearance: none; cursor: pointer; }

.field-error,
.form-error {
  color: #FF7A6A;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
}
.form-error { text-align: center; }

.btn-primary[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.form-privacy,
.form-social-proof {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 1rem auto 0;
}
#signupCount { color: var(--accent); font-weight: 600; }

/* Confirmation */
.confirmation {
  background: var(--bg-elev-1);
  border: 1px solid rgba(126,217,87,0.3);
  border-radius: var(--radius-form);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 60px rgba(126,217,87,0.2);
  animation: confirmIn 0.5s var(--ease);
}
@keyframes confirmIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.confirm-img {
  width: 160px;
  margin: 0 auto 1rem;
  animation: bobConfirm 2.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 24px rgba(126,217,87,0.4));
}
@keyframes bobConfirm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.confirmation h3 {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.confirmation p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 1rem;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.share-btn:hover { transform: scale(1.1); border-color: var(--accent); }

/* Confetti */
.confetti {
  position: fixed;
  width: 8px; height: 14px;
  z-index: 9999;
  pointer-events: none;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.footer-logo { width: 32px; height: 32px; }
.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--text); }
.footer-social {
  list-style: none;
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

@media (max-width: 640px) {
  .footer-inner { justify-content: center; text-align: center; }
}

/* ============================================================
   What Olyftics Does
   ============================================================ */

.strength { color: #E64C3F; }

.what {
  position: relative;
  background: #1E1F25;
  padding: 7rem 0;
  overflow: hidden;
}
.what-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.what-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'><path d='M14 1 L42 1 L56 17 L56 47 L42 63 L14 63 L0 47 L0 17 Z' fill='none' stroke='%23ffffff' stroke-width='1.2'/></svg>");
  background-size: 56px 64px;
  opacity: 0.035;
  pointer-events: none;
}

/* Big alternating hero blocks (Blocks 1 & 2) */
.feat-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 5rem 0;
}
.feat-hero.reverse { direction: rtl; }
.feat-hero.reverse > * { direction: ltr; }

@media (max-width: 960px) {
  .feat-hero, .feat-hero.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 3rem;
  }
}

.feat-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.feat-text { max-width: 520px; }

.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.tag-ai   { color: var(--gold);   background: var(--gold-soft);    border: 1px solid rgba(216, 181, 100, 0.35); }
.tag-lift { color: #E64C3F; background: rgba(230, 76, 63, 0.12); border: 1px solid rgba(230, 76, 63, 0.35); }

.feat-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.feat-text > p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.02rem; }

.feat-pills {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.feat-pills li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
/* Lucide-style inline SVG icons */
.licon {
  width: 1.4rem;
  height: 1.4rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.licon-inline {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  vertical-align: -2px;
}

.feat-pill-icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 2px;
}
.feat-pills.tone-ai  .feat-pill-icon { color: var(--gold); }
.feat-pills.tone-lift .feat-pill-icon { color: #E64C3F; }

.feat-icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--accent);
}

/* CSS-masked strength stat icon used as inline glyph in lift tag */
.stat-mask {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
          mask: center / contain no-repeat;
  vertical-align: -2px;
}
.stat-mask-strength {
  -webkit-mask-image: url('/images/icons/strength_icon.svg');
          mask-image: url('/images/icons/strength_icon.svg');
}
.feat-pills li div { display: flex; flex-direction: column; gap: 0.15rem; }
.feat-pills li strong { color: var(--text); font-size: 0.95rem; }
.feat-pills li span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.45; }

.feat-callout {
  color: var(--gold) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem !important;
  margin-top: 1rem;
}

/* ---- Phone mock ---- */
.phone-mock {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 20;
  border-radius: 38px;
  background: #0a0b10;
  padding: 8px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1.5px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  z-index: 2;
}
.phone-mock.has-screenshot .phone-screen {
  padding: 0;
  background: #1A1A1F;
  border-radius: 30px;
  overflow: hidden;
}
.phone-mock.has-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 7px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c1d24 0%, #14151b 100%);
  padding: 36px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.ps-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 8px;
}
.ps-back { color: var(--text-muted); font-size: 1.4rem; line-height: 1; }
.ps-title {
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  flex: 1;
}
.ps-ai-badge {
  font-family: var(--display);
  font-size: 0.7rem;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(216, 181, 100, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}

/* AI screen */
.ps-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2a2733 0%, #1a1b22 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ps-photo-icon { font-size: 3.2rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.ps-scan-frame {
  position: absolute;
  inset: 14px;
  border: 1.5px solid rgba(216, 181, 100, 0.6);
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(216, 181, 100, 0.4);
  pointer-events: none;
}
.ps-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}
.ps-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ps-meal {
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.ps-macros {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 4px;
}
.ps-macros span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.6rem;
  color: var(--text-muted);
}
.ps-macros b { color: var(--text); font-size: 0.85rem; }
.ps-macros em { font-style: normal; font-size: 0.55rem; letter-spacing: 0.04em; }

.ps-cta {
  margin-top: auto;
  background: linear-gradient(180deg, #F26F2A 0%, var(--accent) 100%);
  color: var(--text);
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Lift screen */
.ps-exercises {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ps-exercises li {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.6fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.72rem;
  gap: 6px;
}
.ps-ex-name { color: var(--text); font-weight: 600; }
.ps-ex-sets { color: var(--text-muted); }
.ps-ex-weight { color: #E64C3F; font-weight: 700; text-align: right; }

.ps-graph {
  margin-top: auto;
  background: rgba(230, 76, 63, 0.06);
  border: 1px solid rgba(230, 76, 63, 0.25);
  border-radius: 10px;
  padding: 10px;
}
.ps-graph svg { width: 100%; height: 50px; display: block; }
.ps-graph-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-top: 4px;
  text-align: center;
}

/* Floating chips around hero phones */
.feat-chip {
  position: absolute;
  z-index: 3;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: chipBob 5s ease-in-out infinite;
}
.chip-ai.chip-1   { top: 10%;  left: 0%;  color: var(--gold); border-color: rgba(216, 181, 100, 0.4); animation-delay: 0s; }
.chip-ai.chip-2   { top: 60%; right: 0%;  color: var(--accent); border-color: rgba(232, 90, 26, 0.4); animation-delay: 1.5s; }
.chip-lift.chip-1 { top: 8%;  right: 0%;  color: #E64C3F; border-color: rgba(230, 76, 63, 0.45); animation-delay: 0s; }
.chip-lift.chip-2 { bottom: 16%; left: -2%; color: var(--text-muted); animation-delay: 1.5s; }
@keyframes chipBob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

/* ---- Centered block (Live Calorie) ---- */
.feat-center {
  text-align: center;
  margin: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.feat-center .feat-text { max-width: 700px; }
.feat-center .feat-title { font-size: clamp(2rem, 4vw, 3.2rem); }

.feat-center-visual {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.live-core {
  position: relative;
  z-index: 2;
  background: var(--bg-elev-1);
  border: 1px solid rgba(232, 90, 26, 0.35);
  border-radius: 20px;
  padding: 1.75rem 2.5rem;
  box-shadow: 0 0 60px rgba(232, 90, 26, 0.2), 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.lc-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}
.lc-number {
  font-family: var(--display);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  animation: livePulse 2.5s ease-in-out infinite;
}
.lc-number span {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1;
}
.lc-number em {
  font-style: normal;
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--sans);
}
.lc-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}

.live-input {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: chipBob 5s ease-in-out infinite;
}
.live-input i {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  margin-left: 0.4rem;
}
.live-input.plus i { color: #5BD58F; }

.live-1 { top: 6%;     left: 6%;    animation-delay: 0s; }
.live-2 { top: 50%;    right: 4%;   transform: translateY(-50%); animation-delay: 1.2s; }
.live-3 { bottom: 6%;  left: 14%;   animation-delay: 0.6s; }

@media (max-width: 720px) {
  .feat-center-visual { min-height: 0; flex-direction: column; gap: 1rem; padding: 1rem 0; }
  .live-input { position: static; }
  .live-core { padding: 1.25rem 1.5rem; }
}

/* ---- Supporting card row (Blocks 4-6) ---- */
.feat-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 6rem 0 4rem;
}
@media (max-width: 880px) { .feat-card-row { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 90, 26, 0.35);
}
.feat-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(232, 90, 26, 0.08);
  border: 1px solid rgba(232, 90, 26, 0.3);
  color: var(--accent);
  flex-shrink: 0;
}
.feat-card-icon .licon { width: 1.5rem; height: 1.5rem; }
.feat-card-body { min-width: 0; }
.feat-card h4 {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.feat-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }

/* Closing bridge: real-world tracking → game */
.feat-bridge {
  text-align: center;
  max-width: 900px;
  margin: 2rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.bridge-headline {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.01em;
}
.bridge-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 1rem;
}

.bridge-flow {
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem 0;
}
.bf-step {
  flex: 1;
  max-width: 240px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.bf-step:hover {
  border-color: rgba(232, 90, 26, 0.4);
  transform: translateY(-3px);
}
.bf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(232, 90, 26, 0.08);
  border: 1px solid rgba(232, 90, 26, 0.3);
  color: var(--accent);
}
.bf-icon .licon { width: 1.4rem; height: 1.4rem; }
.bf-step p {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}
.bf-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  flex-shrink: 0;
}
.bf-arrow svg { width: 1.4rem; height: 1.4rem; }

@media (max-width: 760px) {
  .bridge-flow { flex-direction: column; align-items: center; }
  .bf-step { max-width: 360px; width: 100%; }
  .bf-arrow { transform: rotate(90deg); }
}

.bridge-foot {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1.5rem;
}
.feat-bridge em { color: var(--text); font-style: italic; }

/* ============================================================
   Reduced motion
   ============================================================ */

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