/* Stream AI — Landing Page */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --cyan:      #00D4FF;
  --cyan-dark: #00A8CC;
  --blue:      #0EA5E9;
  --orange:    #F97316;
  --green:     #10b981;

  --bg-0:  #0A0E17;
  --bg-1:  #111827;
  --bg-2:  #1E293B;
  --bg-3:  #273549;

  --text-hi:  #F1F5F9;
  --text-mid: #94A3B8;
  --text-lo:  #64748B;

  --border:       rgba(0,212,255,0.12);
  --border-hover: rgba(0,212,255,0.35);
  --glow:         0 0 24px rgba(0,212,255,0.18);
  --glow-strong:  0 0 48px rgba(0,212,255,0.28);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --t-fast:   all 0.2s cubic-bezier(0.4,0,0.2,1);
  --t-base:   all 0.35s cubic-bezier(0.4,0,0.2,1);
  --t-slow:   all 0.55s cubic-bezier(0.4,0,0.2,1);
  --t-bounce: all 0.45s cubic-bezier(0.34,1.56,0.64,1);
}

/* ─── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text-hi);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; transition: var(--t-fast); }
a:hover { color: var(--cyan-dark); }

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

section { position: relative; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Typography helpers ─────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 6px 16px;
  border-radius: var(--r-xl);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-hi);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
}

.text-center { text-align: center; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-xl);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--t-bounce);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--t-fast);
}

.btn:hover::before { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--bg-0);
  box-shadow: 0 4px 24px rgba(0,212,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(0,212,255,0.5);
  color: var(--bg-0);
}

.btn-secondary {
  background: rgba(0,212,255,0.07);
  color: var(--cyan);
  border: 1.5px solid var(--border-hover);
}

.btn-secondary:hover {
  background: rgba(0,212,255,0.14);
  transform: translateY(-2px);
  color: var(--cyan);
  box-shadow: var(--glow);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #fff;
  box-shadow: 0 4px 24px rgba(249,115,22,0.35);
}

.btn-orange:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(249,115,22,0.5);
  color: #fff;
}

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10,14,23,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: var(--t-base);
}

.navbar.scrolled {
  background: rgba(10,14,23,0.95);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-hi);
  letter-spacing: -0.5px;
}

.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--bg-0);
  font-weight: 900;
  box-shadow: var(--glow);
}

.nav-logo span { background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

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

.nav-links a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--cyan);
  background: rgba(0,212,255,0.07);
}

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: var(--t-base);
}

/* ─── Hero ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 6px 16px;
  border-radius: var(--r-xl);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-h1 .line-2 {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-h1 .line-3 {
  background: linear-gradient(135deg, var(--orange), #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-mid);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-mid);
  font-size: 0.85rem;
}

.hero-proof .divider {
  width: 1px; height: 20px;
  background: var(--border);
}

.hero-proof .highlight { color: var(--cyan); font-weight: 700; }

/* ─── App Mockup ─────────────────────────────────────────────── */
.app-mockup {
  position: relative;
}

.mockup-frame {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--glow-strong), 0 40px 80px rgba(0,0,0,0.6);
  animation: float-frame 6s ease-in-out infinite;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: var(--green); }

.mockup-screen {
  background: #0c1420;
  border-radius: var(--r-md);
  height: 440px;
  position: relative;
  overflow: hidden;
}

.mockup-pose {
  position: absolute;
  inset: 0;
  bottom: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-pose svg {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.45));
}

/* HUD bar pinned to bottom of camera frame */
.hud-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: rgba(10,14,23,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
}

.hud-cell {
  flex: 1;
  text-align: center;
}

.hud-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 3px;
}

.hud-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-hi);
}

.hud-divider {
  width: 1px;
  height: 28px;
  background: rgba(0,212,255,0.12);
  flex-shrink: 0;
}

.hud-rep-num {
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
}

.hud-rep-num.rep-flash {
  transform: scale(1.45);
}

/* Feedback chip inside camera - floats above HUD bar */
.mockup-screen .feedback-chip {
  position: absolute;
  bottom: 70px;
  left: 12px;
  align-self: unset;
  animation: none;
  font-size: 0.7rem;
  padding: 4px 10px;
}

/* ─── Forearm curl animation ─────────────────────────────────── */
/* Forearm pivots at elbow — swings from hip up to shoulder */
#mockForearm {
  transform-origin: 63px 96px;
  animation: mock-curl 3s ease-in-out infinite;
}

/* ─── Camera overlay ─────────────────────────────────────────── */
.cam-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.cam-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(0,212,255,0.65);
  border-style: solid;
}

.cam-tl { top: 8px;    left: 8px;  border-width: 2px 0 0 2px; }
.cam-tr { top: 8px;    right: 8px; border-width: 2px 2px 0 0; }
.cam-bl { bottom: 8px; left: 8px;  border-width: 0 0 2px 2px; }
.cam-br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.cam-rec {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  color: rgba(0,212,255,0.75);
  display: flex; align-items: center; gap: 5px;
}

.cam-tag {
  position: absolute;
  bottom: 70px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(0,212,255,0.5);
  white-space: nowrap;
}

.rep-num {
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), color 0.15s;
}

.rep-num.rep-flash {
  transform: scale(1.5);
}

.pose-landmarks {
  position: absolute;
  inset: 0;
}

.landmark {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: landmark-pulse 1.5s ease-in-out infinite;
}

.rep-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,212,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
}

.rep-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  animation: count-pulse 2.5s ease-in-out infinite;
}

.form-score {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-score label {
  font-size: 0.75rem;
  color: var(--text-mid);
  font-weight: 600;
}

.score-bar {
  width: 120px;
  height: 8px;
  background: var(--bg-3);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: var(--r-xl);
  background: linear-gradient(90deg, var(--green), var(--cyan));
  animation: score-breathe 2.5s ease-in-out infinite;
}

.feedback-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-xl);
  align-self: flex-start;
  animation: chip-fade 2.5s ease-in-out infinite;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.glow-orb.orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  top: -80px; right: -80px;
}

.glow-orb.orb-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(249,115,22,0.1), transparent 70%);
  bottom: -60px; left: -60px;
}

/* ─── Floating icons ─────────────────────────────────────────── */
.float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.fi {
  position: absolute;
  font-size: 2rem;
  opacity: 0.12;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.fi-1  { top: 12%;  left: 5%;  animation: fi-float 7s   ease-in-out infinite 0s; }
.fi-2  { top: 25%;  right: 4%; animation: fi-float 8.5s ease-in-out infinite 1s; }
.fi-3  { top: 60%;  left: 3%;  animation: fi-float 6.5s ease-in-out infinite 2s; }
.fi-4  { top: 75%;  right: 6%; animation: fi-float 9s   ease-in-out infinite 0.5s; }
.fi-5  { top: 45%;  left: 1%;  animation: fi-float 7.5s ease-in-out infinite 1.5s; }
.fi-6  { bottom: 15%; right: 3%; animation: fi-float 8s ease-in-out infinite 3s; }

/* ─── Stats Bar ──────────────────────────────────────────────── */
#stats {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ─── How It Works ───────────────────────────────────────────── */
#how {
  padding: 100px 0;
  background: var(--bg-0);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.step-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: var(--t-base);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: var(--t-base);
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--glow), 0 20px 40px rgba(0,0,0,0.3);
}

.step-card:hover::before { opacity: 1; }

.step-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0,212,255,0.08);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
  font-variant-numeric: tabular-nums;
}

.step-icon {
  width: 56px; height: 56px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: var(--t-base);
}

.step-card:hover .step-icon {
  background: rgba(0,212,255,0.2);
  box-shadow: var(--glow);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── Features ───────────────────────────────────────────────── */
#features {
  padding: 100px 0;
  background: var(--bg-1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transition: var(--t-base);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow), 0 12px 30px rgba(0,0,0,0.2);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 50px; height: 50px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: var(--t-base);
}

.feature-card:hover .feature-icon {
  background: rgba(0,212,255,0.15);
  transform: scale(1.1) rotate(-4deg);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── Demo Video ─────────────────────────────────────────────── */
#demo {
  padding: 100px 0;
  background: var(--bg-0);
}

.demo-wrapper {
  margin-top: 60px;
  position: relative;
}

.video-container {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow-strong), 0 40px 80px rgba(0,0,0,0.5);
  background: var(--bg-1);
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--t-base);
}

.video-placeholder:hover { background: var(--bg-3); }

.play-btn {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--bg-0);
  box-shadow: 0 0 40px rgba(0,212,255,0.5);
  animation: play-pulse 2s ease-in-out infinite;
  transition: var(--t-bounce);
}

.video-placeholder:hover .play-btn {
  transform: scale(1.1);
}

.video-label {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
}

.video-corner-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(10,14,23,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}

.live-dot {
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

/* ─── Exercises Ticker ───────────────────────────────────────── */
#exercises {
  padding: 80px 0;
  background: var(--bg-1);
  overflow: hidden;
}

.ticker-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg-1), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg-1), transparent); }

.ticker {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
  flex-shrink: 0;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--t-fast);
}

.ticker-item .ex-icon { font-size: 1rem; color: var(--cyan); }

/* ─── Waitlist CTA ───────────────────────────────────────────── */
#waitlist {
  padding: 100px 0;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}

.waitlist-glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow), 0 20px 60px rgba(0,0,0,0.3);
}

.waitlist-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--orange), transparent);
}

.waitlist-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
}

.waitlist-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 36px;
}

.waitlist-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.waitlist-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-lo);
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-mid);
  font-size: 0.9rem;
  transition: var(--t-fast);
}

.footer-col a:hover { color: var(--cyan); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-lo);
  font-size: 0.82rem;
}

.footer-bottom a { color: var(--text-lo); }
.footer-bottom a:hover { color: var(--cyan); }

/* ─── About Page ─────────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-0);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero p {
  color: var(--text-mid);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.mission-section {
  padding: 100px 0;
  background: var(--bg-1);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 48px;
}

.mission-visual {
  position: relative;
}

.mission-card {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
}

.mission-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.m-stat {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}

.m-stat .num {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.m-stat .lbl {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: 4px;
}

.story-section {
  padding: 100px 0;
  background: var(--bg-0);
}

.story-text {
  max-width: 740px;
  margin: 0 auto;
}

.story-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-text .pullquote {
  border-left: 3px solid var(--cyan);
  padding: 16px 24px;
  background: rgba(0,212,255,0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-hi);
  font-size: 1.1rem;
  font-style: italic;
  margin: 32px 0;
}

.roadmap-section {
  padding: 100px 0;
  background: var(--bg-1);
}

.roadmap-timeline {
  position: relative;
  margin-top: 60px;
  padding-left: 40px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--blue), rgba(14,165,233,0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--border);
  transition: var(--t-base);
}

.timeline-item.active::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,212,255,0.5);
}

.timeline-item.future::before {
  border-color: rgba(0,212,255,0.3);
}

.timeline-phase {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.timeline-item.future .timeline-phase { color: var(--text-lo); }

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 8px;
}

.timeline-item.future .timeline-title { color: var(--text-mid); }

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 600px;
}

/* ─── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Keyframes ──────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

@keyframes float-frame {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(0.5deg); }
  66%       { transform: translateY(-6px) rotate(-0.5deg); }
}

@keyframes fi-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(8deg); }
}

@keyframes count-pulse {
  0%, 100% { text-shadow: 0 0 20px rgba(0,212,255,0.5); }
  50%       { text-shadow: 0 0 40px rgba(0,212,255,0.9); }
}

@keyframes score-breathe {
  0%    { width: 72%; }
  50%   { width: 88%; }
  75%   { width: 81%; }
  100%  { width: 72%; }
}

@keyframes chip-fade {
  0%, 80%, 100% { opacity: 1; }
  90%           { opacity: 0.3; }
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(0,212,255,0.5); }
  50%       { box-shadow: 0 0 70px rgba(0,212,255,0.8); }
}

/* CCW rotation swings wrist from hanging at hip → forward and up to shoulder */
@keyframes mock-curl {
  0%   { transform: rotate(0deg); }
  8%   { transform: rotate(-12deg); }
  42%  { transform: rotate(-125deg); }
  58%  { transform: rotate(-128deg); }
  88%  { transform: rotate(-6deg); }
  95%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

@keyframes landmark-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glitch-clip {
  0%   { clip-path: inset(0 0 98% 0); transform: translate(-2px, 0); opacity: 0.7; }
  20%  { clip-path: inset(40% 0 40% 0); transform: translate(2px, 0); }
  40%  { clip-path: inset(80% 0 5% 0); transform: translate(-1px, 0); }
  60%  { clip-path: inset(20% 0 70% 0); transform: translate(1px, 0); opacity: 0.5; }
  80%  { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 0); }
  100% { clip-path: inset(0 0 98% 0); transform: translate(0, 0); opacity: 0; }
}

/* ─── AI Scan Line ───────────────────────────────────────────── */
.ai-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 35%, rgba(255,255,255,0.9) 50%, var(--cyan) 65%, transparent 100%);
  box-shadow: 0 0 8px var(--cyan), 0 0 24px rgba(0,212,255,0.5), 0 0 2px #fff;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}

/* ─── Mockup holographic shimmer ─────────────────────────────── */
.mockup-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(
    108deg,
    transparent 20%,
    rgba(0,212,255,0.06) 38%,
    rgba(255,255,255,0.1) 50%,
    rgba(0,212,255,0.06) 62%,
    transparent 80%
  );
  background-size: 220% 100%;
  animation: shimmer 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: var(--r-xl);
}

/* ─── Hero glitch overlay (pseudo-element on h1) ─────────────── */
.hero-h1 {
  position: relative;
}

.hero-h1::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  color: var(--cyan);
  opacity: 0;
  animation: glitch-clip 8s ease-in-out infinite 3s;
  pointer-events: none;
  white-space: nowrap;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-mockup { max-width: 480px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(10,14,23,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 4px;
    z-index: 999;
  }

  .nav-cta.open {
    display: flex;
    padding: 0 24px 20px;
    position: fixed;
    top: auto;
    left: 0; right: 0;
    background: rgba(10,14,23,0.97);
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .waitlist-card { padding: 40px 24px; }
  .hero-proof { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .waitlist-btns { flex-direction: column; align-items: center; }
}

/* ─── Accessibility: reduced motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ai-scan-line { display: none; }
  .mockup-frame::after { animation: none; }
  .hero-h1::after { display: none; }
}
