:root {
  --bg: #030303;
  --panel: rgba(11, 11, 11, 0.66);
  --text: #f1f6de;
  --muted: #b8c090;
  --lime: #c8ff3b;
  --line: rgba(200, 255, 59, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
}

#webgl-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.15;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

#cursor-glow {
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 255, 59, 0.2), transparent 72%);
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.nav-shell {
  width: min(1150px, 94%);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.68);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 50px;
  height: 50px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.38);
}

.brand-wordmark {
  font-size: 1.03rem;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.67rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lime {
  color: #101600;
  border-color: transparent;
  background: linear-gradient(145deg, var(--lime), #ebffc0, #a9df1d);
  box-shadow: 0 12px 36px rgba(179, 255, 50, 0.35);
}

.panel {
  width: min(1150px, 94%);
  margin: 1.5rem auto 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 11, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.8), rgba(4, 4, 4, 0.95));
}

.side-label {
  position: absolute;
  top: 46%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  letter-spacing: 0.5em;
  color: rgba(241, 246, 222, 0.43);
}

.left { left: 0.4rem; }
.right { right: 0.4rem; }

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 10;
  min-height: 60vh;
  padding: 2rem 0;
}

.hero-content {
  text-align: left;
  max-width: 580px;
}

.hero-title {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: rgba(185, 194, 152, 0.36);
}

.hero-subtitle {
  margin: 1.5rem 0 0;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: #dceea5;
  line-height: 1.5;
}

.hero-copy {
  margin: 1.25rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.hero-cta-group {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-cta-main {
  font-size: 1.05rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 25px rgba(200, 255, 59, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  border-radius: 999px;
  color: #101600;
  font-weight: 700;
  background: linear-gradient(145deg, var(--lime), #ebffc0, #a9df1d);
  position: relative;
}

.hero-cta-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(200, 255, 59, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cta-main:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(200, 255, 59, 0.45);
}

.hero-cta-main:hover::after {
  opacity: 1;
}

.hero-note {
  margin: 0;
  color: #cfdca1;
  font-size: 0.95rem;
}

/* Dashboard Collage */
.hero-collage {
  position: relative;
  width: 100%;
  height: 540px;
  perspective: 1200px;
}

.collage-card {
  position: absolute;
  background: linear-gradient(150deg, rgba(200, 255, 59, 0.08), rgba(12, 16, 10, 0.85));
  border: 1px solid rgba(200, 255, 59, 0.25);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: floatCard 8s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatCard {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(-4px) rotate(-1deg); }
}

.card-workout {
  top: 8%;
  left: 0;
  width: 240px;
  z-index: 3;
  animation-delay: -1s;
}

.card-diet {
  top: 0;
  right: 5%;
  width: 180px;
  text-align: center;
  z-index: 2;
  animation-delay: -4s;
}

.card-coach {
  bottom: 5%;
  left: 8%;
  width: 270px;
  z-index: 4;
  animation-delay: -2s;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(12, 16, 10, 0.95));
}

.card-sim {
  bottom: 22%;
  right: 0;
  width: 230px;
  z-index: 5;
  animation-delay: -5s;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.card-header .dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime);
}

.collage-card small {
  color: #bfcd96;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.collage-card strong {
  display: block;
  font-size: 2.2rem;
  color: #eaffab;
  line-height: 1;
  margin-top: 0.8rem;
}

.collage-card strong span {
  font-size: 1.1rem;
  color: var(--lime);
}

/* Workout Bars */
.card-workout .bars {
  display: flex;
  align-items: flex-end;
  height: 65px;
  gap: 8px;
  margin-bottom: 0.8rem;
}
.card-workout .bars span {
  flex: 1;
  background: rgba(200, 255, 59, 0.15);
  border-radius: 4px 4px 0 0;
}
.card-workout .bars span.highlight {
  background: var(--lime);
  box-shadow: 0 0 15px rgba(200, 255, 59, 0.4);
}

/* Diet Ring */
.card-diet .ring {
  width: 110px;
  height: 110px;
  margin: 0.5rem auto;
  filter: drop-shadow(0 0 12px rgba(200, 255, 59, 0.35));
}
.card-diet .ring-data {
  position: absolute;
  top: 52px;
  left: 0;
  width: 100%;
  text-align: center;
}
.card-diet .ring-data strong {
  font-size: 1.6rem;
  margin: 0;
}
.card-diet .ring-data small {
  font-size: 0.7rem;
}

/* Coach Message */
.card-coach .coach-label {
  display: inline-block;
  background: rgba(200, 255, 59, 0.15);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--lime);
  margin-bottom: 0.8rem;
}
.card-coach p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 1.2rem;
}
.avatar-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), #fff);
}
.time {
  color: #7b855e;
  font-size: 0.85rem;
}

/* Simulation */
.card-sim .trend-line {
  height: 55px;
  margin: 1.2rem 0;
}
.card-sim .trend-line svg {
  width: 100%;
  height: 100%;
  stroke: var(--lime);
  stroke-width: 4;
  fill: none;
  filter: drop-shadow(0 6px 8px rgba(200, 255, 59, 0.3));
}
.card-sim .down-trend {
  color: #101600;
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--lime);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}

.icon-row span {
  padding: 0.7rem 0.4rem;
  border: 1px solid rgba(200, 255, 59, 0.2);
  border-radius: 10px;
  color: #d9e2af;
}

.pixel-label {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  color: #cfe966;
  font-size: 0.66rem;
}

h2 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
}

.intro-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.intro-card.app-theme {
  border: 1px solid rgba(200, 255, 59, 0.22);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(11, 13, 9, 0.92), rgba(13, 16, 10, 0.76));
}

.intro-copy {
  padding: 0.2rem 0.2rem 0.2rem 0.1rem;
}

.intro-kicker {
  margin: 0;
  color: #cfe966;
  font-family: "Press Start 2P", monospace;
  font-size: 0.56rem;
}

.intro-copy h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

.chip-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-row span {
  border: 1px solid rgba(200, 255, 59, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  color: #dce8b2;
  background: rgba(200, 255, 59, 0.08);
}

.phone-stage {
  position: relative;
  min-height: 265px;
  display: grid;
  place-items: center;
}

.phone {
  width: 168px;
  height: 318px;
  border-radius: 28px;
  border: 1px solid rgba(200, 255, 59, 0.28);
  background: #0a0d08;
}

.phone-back {
  position: absolute;
  transform: translateX(-34px) rotate(-11deg);
  opacity: 0.38;
  background: linear-gradient(180deg, #101608, #080a06);
}

.phone-front {
  position: absolute;
  transform: translateX(22px) rotate(7deg);
  padding: 8px;
  background: linear-gradient(180deg, #161d0f, #0b0f08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.phone-notch {
  width: 60px;
  height: 12px;
  border-radius: 0 0 10px 10px;
  background: #050706;
  margin: 0 auto 8px;
}

.phone-screen {
  height: calc(100% - 20px);
  border-radius: 20px;
  background: linear-gradient(170deg, #1f2715, #13180e 45%, #0e120a);
  border: 1px solid rgba(200, 255, 59, 0.18);
  padding: 0.75rem;
}

.phone-head small {
  color: #bfcd96;
}

.phone-head strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 2rem;
  color: #e6ff9e;
}

.phone-bars {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.44rem;
}

.phone-bars span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(210, 220, 180, 0.13);
  overflow: hidden;
}

.phone-bars span::after {
  content: "";
  display: block;
  width: var(--bar);
  height: 100%;
  background: linear-gradient(120deg, #c8ff3b, #ecffb9);
}

.phone-tags {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.phone-tags span {
  font-size: 0.68rem;
  padding: 0.22rem 0.44rem;
  border-radius: 999px;
  color: #d7e6aa;
  border: 1px solid rgba(200, 255, 59, 0.22);
}

.phone-float {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: "Press Start 2P", monospace;
  font-size: 0.52rem;
  color: #182100;
  background: linear-gradient(140deg, #ecffbe, #b4e92f);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.phone-float.f-one {
  left: 0.25rem;
  top: 1.4rem;
}

.phone-float.f-two {
  right: 0.1rem;
  bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 2.3rem;
  color: var(--muted);
  line-height: 1.7;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08rem;
  color: var(--lime);
  font-weight: 900;
}

.section-copy {
  color: var(--muted);
  max-width: 58ch;
  margin-top: 0.8rem;
  line-height: 1.85;
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(200, 255, 59, 0.18);
  color: #e8ffbb;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.privacy-note {
  margin-top: 0.9rem;
  color: #b8c090;
  font-size: 0.92rem;
}

.feature-card h3 {
  border: 1px solid rgba(200, 255, 59, 0.2);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.7);
  position: relative;
  overflow: hidden;
}

.feature-card.highlighted {
  border-color: rgba(200, 255, 59, 0.48);
  box-shadow: 0 0 0 1px rgba(200, 255, 59, 0.14) inset;
}

.feature-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(140deg, #e9ffb8, #b9ee2e);
  color: #101700;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
}

.spin { animation: spin 6s linear infinite; }
.pulse { animation: pulse 1.8s ease-in-out infinite; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  max-width: 30ch;
}

.mini-3d {
  width: 100%;
  height: 120px;
  margin-top: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(200, 255, 59, 0.18);
  background: radial-gradient(circle at center, rgba(200, 255, 59, 0.12), rgba(8, 8, 8, 0.85));
}

.retro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.retro-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 1rem;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 10px 26px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.retro-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 16px 32px rgba(0, 0, 0, 0.22);
}

.retro-card h3 {
  margin: 0.7rem 0 0.35rem;
  color: #f0f6db;
  font-size: 1.14rem;
}

.retro-card p {
  margin: 0;
  color: #b5c18f;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.45;
}

.retro-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.retro-tag {
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  font-size: 0.53rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(200, 255, 59, 0.14);
  border: 1px solid rgba(200, 255, 59, 0.25);
  color: #d8e8ac;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(200, 255, 59, 0.2);
  border: 1px solid rgba(200, 255, 59, 0.34);
  color: #e7f7b3;
  font-size: 0.9rem;
}

.retro-card.peach {
  background: linear-gradient(150deg, rgba(20, 27, 14, 0.95), rgba(15, 19, 12, 0.93));
}

.retro-card.violet {
  background: linear-gradient(150deg, rgba(22, 20, 14, 0.95), rgba(15, 16, 12, 0.94));
}

.retro-card.mint {
  background: linear-gradient(150deg, rgba(16, 24, 14, 0.95), rgba(13, 19, 12, 0.94));
}

.retro-card.pink {
  background: linear-gradient(150deg, rgba(23, 22, 14, 0.95), rgba(16, 16, 11, 0.94));
}

.mini-device {
  margin-top: 0.75rem;
  position: relative;
  height: 95px;
  border-radius: 12px;
  border: 1px solid rgba(200, 255, 59, 0.24);
  background: radial-gradient(circle at 70% 30%, rgba(200, 255, 59, 0.1), rgba(11, 11, 11, 0.2));
  overflow: hidden;
}

.mini-phone-back,
.mini-phone-front {
  position: absolute;
  width: 54px;
  height: 88px;
  border-radius: 12px;
  border: 1px solid rgba(200, 255, 59, 0.3);
}

.mini-phone-back {
  left: calc(50% - 36px);
  top: 4px;
  transform: rotate(-10deg);
  background: rgba(12, 15, 10, 0.7);
  opacity: 0.45;
}

.mini-phone-front {
  left: calc(50% - 14px);
  top: 2px;
  transform: rotate(7deg);
  background: linear-gradient(180deg, #12190d, #0a0f08);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.25);
  animation: miniFloat 3.6s ease-in-out infinite;
}

.mini-screen {
  margin: 5px;
  border-radius: 9px;
  height: calc(100% - 10px);
  padding: 0.33rem;
  border: 1px solid rgba(200, 255, 59, 0.18);
  background: linear-gradient(170deg, #212a16, #141a10 48%, #0e130b);
}

.mini-screen small {
  font-size: 0.5rem;
  color: #c5d89a;
}

.mini-screen strong {
  display: block;
  margin-top: 0.06rem;
  color: #eaffab;
  font-size: 0.84rem;
}

.mini-bars {
  margin-top: 0.24rem;
  display: grid;
  gap: 0.15rem;
}

.mini-bars span {
  height: 5px;
  border-radius: 999px;
  display: block;
  background: rgba(190, 210, 140, 0.18);
  overflow: hidden;
}

.mini-bars span::after {
  content: "";
  display: block;
  width: var(--mini);
  height: 100%;
  background: linear-gradient(120deg, #c8ff3b, #ebffc0);
}

.mini-tags {
  margin-top: 0.22rem;
  display: flex;
  gap: 0.15rem;
}

.mini-tags span {
  font-size: 0.45rem;
  line-height: 1;
  border: 1px solid rgba(200, 255, 59, 0.24);
  border-radius: 999px;
  padding: 0.08rem 0.18rem;
  color: #d9e9ad;
}

.mini-chat {
  margin-top: 0.25rem;
  display: grid;
  gap: 0.18rem;
}

.mini-chat span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(200, 255, 59, 0.8), rgba(235, 255, 192, 0.55));
}

.mini-line {
  margin-top: 0.45rem;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(200, 255, 59, 0.18);
  background: linear-gradient(160deg, rgba(200, 255, 59, 0.12), rgba(12, 16, 10, 0.5));
  position: relative;
}

.mini-line::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #c8ff3b 40%, #ecffbe 80%, transparent 100%);
  transform: skewX(-18deg);
}

.mini-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: "Press Start 2P", monospace;
  font-size: 0.34rem;
  color: #152000;
  background: linear-gradient(140deg, #ecffbe, #b4e92f);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.mini-device.watch .mini-badge { top: auto; bottom: 8px; }
.mini-device.food .mini-badge { right: auto; left: 8px; }
.mini-device.coach .mini-badge { top: 32px; }
.mini-device.sim .mini-badge { bottom: 8px; top: auto; }

@keyframes miniFloat {
  0%, 100% {
    transform: rotate(7deg) translateY(0);
  }
  50% {
    transform: rotate(7deg) translateY(-2px);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

figure {
  margin: 0;
  border: 1px solid rgba(200, 255, 59, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.72);
}

figure img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18);
  transition: transform 0.35s ease;
}

figure:hover img { transform: scale(1.06); }

figcaption {
  padding: 0.55rem 0.7rem;
  color: #d8e1b1;
  font-size: 0.86rem;
}

.comic-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.comic-strip article {
  border: 1px solid rgba(200, 255, 59, 0.2);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(11, 11, 11, 0.67);
}

.comic-strip p { color: var(--muted); margin: 0; }

.final-cta {
  text-align: center;
  padding: 2.2rem 1rem;
}

.site-footer {
  display: grid;
  place-items: center;
  text-align: center;
  color: #8e966e;
  padding: 2rem 0 2.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  color: #b8c090;
}

.footer-links a {
  color: #b8c090;
  text-decoration: none;
  font-size: 0.93rem;
}

.footer-copy {
  margin-top: 0.9rem;
  max-width: 48rem;
  color: #8e966e;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.waitlist-main {
  width: min(740px, 92%);
  margin: 2rem auto 0;
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
}

.waitlist-card {
  width: 100%;
  border: 1px solid rgba(200, 255, 59, 0.2);
  border-radius: 18px;
  padding: 1.3rem;
  background: rgba(10, 10, 10, 0.68);
  backdrop-filter: blur(8px);
}

.subtext { color: var(--muted); }

.form-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: #d9e1b3;
}

input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  border-radius: 10px;
  border: 1px solid rgba(200, 255, 59, 0.24);
  background: rgba(12, 12, 12, 0.88);
  padding: 0.65rem 0.7rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #d4ff64;
  box-shadow: 0 0 0 3px rgba(200, 255, 59, 0.22);
}

.success-message {
  display: none;
  margin-top: 0.8rem;
  border: 1px solid rgba(200, 255, 59, 0.36);
  background: rgba(200, 255, 59, 0.12);
  color: #edffc0;
  border-radius: 10px;
  padding: 0.7rem;
}

.success-message.visible { display: block; }

@media (max-width: 980px) {
  .retro-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .gallery-grid,
  .comic-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro-card { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  nav a:not(.btn) { display: none; }
  .hero { min-height: 520px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-subtitle { font-size: 1.15rem; max-width: 30ch; }
  .hero-copy { padding: 0 1rem; }
  .hero-note { padding: 0 1rem; }
  .side-label { display: none; }
  .hero-athlete { width: 100%; height: 72%; bottom: -6%; }
  .hud-card {
    width: 78px;
    height: 78px;
    border-radius: 14px;
  }
  .hud-card small { font-size: 0.66rem; }
  .hud-card strong { font-size: 1rem; }
  .one { left: 0.7rem; top: 46%; }
  .two { left: 0.7rem; top: 66%; }
  .three { right: 0.7rem; top: 46%; }
  .four { right: 0.7rem; top: 66%; }
  .hero-cta {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    min-width: 0;
  }
  .final-cta .hero-cta {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 1rem auto 0;
    display: inline-flex;
    justify-content: center;
  }
  .icon-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.45rem;
  }
  .feature-grid,
  .steps-grid,
  .gallery-grid,
  .comic-strip {
    grid-template-columns: 1fr;
  }
  .panel { padding: 1.1rem; }
  .feature-card,
  .retro-card,
  .comic-strip article {
    padding: 0.95rem;
    border-radius: 14px;
  }
  .waitlist-card { padding: 1rem; }
  .site-footer { padding: 1.8rem 0 2rem; }
}

/* Scroll Storytelling Styles */

.story-wrapper {
  position: relative;
  width: 100%;
  margin: 2rem 0;
}

.story-container {
  position: relative;
  width: min(1150px, 94%);
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--panel);
  backdrop-filter: blur(8px);
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.story-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.story-scene:nth-child(1) {
  opacity: 1;
  visibility: visible;
}

.story-text {
  flex: 1;
  max-width: 500px;
  z-index: 2;
}

.story-visual {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lg-card {
  width: 320px;
  height: 320px;
  background: linear-gradient(145deg, rgba(200, 255, 59, 0.08), rgba(12, 16, 10, 0.85));
  border: 1px solid rgba(200, 255, 59, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
}

.lg-card small {
  color: #bfcd96;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.lg-card strong {
  font-size: 3rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: #eaffab;
  line-height: 1;
}

.lg-card .unit {
  font-size: 1.2rem;
  color: var(--lime);
}

.lg-card .trend {
  font-size: 1rem;
  color: var(--lime);
  background: rgba(200, 255, 59, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  margin-left: 0.5rem;
}

/* Specific Card Styles */
.visual-card-1 {
  align-items: flex-start;
}

.visual-card-1 .mini-bars {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  height: 120px;
  width: 100%;
  gap: 12px;
}
.visual-card-1 .mini-bars span {
  flex: 1;
  background: rgba(200, 255, 59, 0.1);
  border-radius: 6px 6px 0 0;
  height: var(--mini);
  position: relative;
}
.visual-card-1 .mini-bars span::after {
  display: none;
}
.visual-card-1 .mini-bars span:last-child {
  background: var(--lime);
  box-shadow: 0 0 20px rgba(200, 255, 59, 0.4);
}

.visual-card-2 {
  justify-content: center;
  align-items: center;
}
.visual-card-2 strong {
  font-size: 4.5rem;
  text-shadow: 0 0 30px rgba(200, 255, 59, 0.5);
}
.visual-card-2 .mini-line {
  position: absolute;
  bottom: 3rem;
  width: 70%;
  height: 6px;
  background: linear-gradient(90deg, #304010, var(--lime), #304010);
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(200, 255, 59, 0.4);
}
.visual-card-2 .mini-line::after { display: none; }

.visual-card-3 {
  align-items: center;
}
.camera-frame {
  width: 140px;
  height: 140px;
  border: 2px dashed rgba(200, 255, 59, 0.4);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  position: relative;
  display: grid;
  place-items: center;
  background: rgba(200, 255, 59, 0.05);
}
.camera-frame::after {
  content: "+";
  font-size: 3rem;
  color: var(--lime);
  opacity: 0.8;
}

.visual-card-4 {
  justify-content: flex-start;
}
.chat-bubble {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  border-radius: 18px 18px 18px 4px;
  font-size: 1rem;
  margin-top: 1rem;
  width: 85%;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.chat-bubble.reply {
  background: linear-gradient(135deg, rgba(200, 255, 59, 0.15), rgba(120, 160, 20, 0.15));
  border-radius: 18px 18px 4px 18px;
  align-self: flex-end;
  border: 1px solid rgba(200, 255, 59, 0.2);
  margin-top: 0.8rem;
}

.visual-card-5 {
  align-items: flex-start;
}
.graph-line {
  position: absolute;
  bottom: 2rem;
  left: 5%;
  width: 90%;
  height: 100px;
  stroke: var(--lime);
  stroke-width: 4;
  fill: none;
  filter: drop-shadow(0 8px 12px rgba(200, 255, 59, 0.4));
  overflow: visible;
}

@media (max-width: 860px) {
  .story-container {
    height: auto;
    min-height: 0;
  }
  .story-scene {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3rem;
    padding: 3rem 1.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .story-scene:last-child {
    border-bottom: none;
  }
  .story-text {
    text-align: center;
  }
  .story-text p.section-copy {
    margin-left: auto;
    margin-right: auto;
  }
  .lg-card {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 1rem 0 3rem;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }
  .hero-collage {
    height: 480px;
    transform: scale(0.9);
    transform-origin: top center;
  }
}
