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

:root {
  --bg: #0A0E16;
  --bg-alt: #0D121B;
  --card: #141A24;
  --card-2: #171F2C;
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);

  --teal: #00E0C7;
  --purple: #7B61FF;
  --green: #34D399;
  --amber: #FFB020;
  --muted: #8A94A6;
  --text: #F3F6F8;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
}

html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
input { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }

.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.accent-teal { color: var(--teal); }
.accent-purple { color: var(--purple); }
.accent-green { color: var(--green); }
.accent-amber { color: var(--amber); }

.icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 36px; height: 36px; }
.icon-inline { width: 16px; height: 16px; vertical-align: -2px; margin-left: 4px; display: inline-block; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn.full { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--purple));
  color: #04161a;
  box-shadow: 0 8px 30px -8px rgba(0, 224, 199, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(0, 224, 199, 0.55); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.btn-ghost-amber { background: transparent; color: var(--amber); border-color: rgba(255,176,32,.4); }
.btn-ghost-amber:hover { border-color: var(--amber); transform: translateY(-2px); background: rgba(255,176,32,.08); }

.btn-gradient-warn {
  background: linear-gradient(135deg, var(--amber), var(--green));
  color: #05140f;
}
.btn-gradient-warn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255,176,32,.4); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 22, 0.75);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 0.92rem; color: var(--muted); flex: 1; justify-content: center; }
.main-nav a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(0, 224, 199, 0.14) 0%, rgba(123, 97, 255, 0.08) 42%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  padding-bottom: 100px;
}
.hero-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 22px; }
.text-gradient { background: linear-gradient(135deg, var(--teal), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gradient-warn { background: linear-gradient(135deg, var(--amber), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 460px; }
.gauge-wrap { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; }
.gauge-ring { width: 100%; height: 100%; }
.gauge-ring-track { fill: none; stroke: rgba(0, 224, 199, 0.12); stroke-width: 2; }
.gauge-ring-fill {
  fill: rgba(0, 224, 199, 0.05);
  stroke: var(--teal); stroke-width: 2;
  stroke-dasharray: 4 8; stroke-linecap: round;
  animation: rotate-ring 20s linear infinite;
  transform-origin: 120px 120px;
  filter: drop-shadow(0 0 8px rgba(0,224,199,.5));
}
@keyframes rotate-ring { to { transform: rotate(360deg); } }
.gauge-core {
  position: absolute; inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,224,199,.18), rgba(123,97,255,.06) 60%, transparent 75%);
  animation: pulse-core 3.4s ease-in-out infinite;
}
@keyframes pulse-core { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }

.orbit-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px rgba(0,224,199,.8); animation: float-dot 5s ease-in-out infinite; }
.od-1 { top: 20%; left: 18%; animation-delay: 0s; }
.od-2 { top: 65%; left: 12%; animation-delay: .6s; background: var(--purple); box-shadow: 0 0 8px rgba(123,97,255,.8); }
.od-3 { top: 15%; left: 75%; animation-delay: 1.2s; }
.od-4 { top: 80%; left: 70%; animation-delay: 1.8s; }
.od-5 { top: 45%; left: 85%; animation-delay: 2.4s; background: var(--purple); box-shadow: 0 0 8px rgba(123,97,255,.8); }
.od-6 { top: 50%; left: 5%; animation-delay: 3s; }
@keyframes float-dot { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-10px); opacity: 1; } }

.float-card {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  background: rgba(20, 26, 36, 0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 18px; animation: float-card 4.5s ease-in-out infinite;
}
.fc-label { font-size: 0.75rem; color: var(--muted); }
.fc-value { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.fc-value small { font-size: .7rem; color: var(--muted); }
.fc-hrv { top: 8%; left: 2%; animation-delay: 0s; }
.fc-recovery { top: 5%; right: 0%; animation-delay: .8s; }
.fc-risk { bottom: 22%; left: 34%; animation-delay: 1.6s; flex-direction: row; align-items: center; gap: 8px; }
.fc-risk .fc-label { margin-right: 4px; }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(52,211,153,.8); flex-shrink: 0; }

.ecg-line { position: absolute; bottom: 18%; right: 2%; width: 130px; height: 40px; }
.ecg-line polyline {
  fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(0,224,199,.7));
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: draw-ecg 3s ease-in-out infinite;
}
@keyframes draw-ecg { 0% { stroke-dashoffset: 420; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }

/* ---------- Stat bar ---------- */
.stat-bar { position: relative; z-index: 2; border-top: 1px solid var(--border-soft); padding: 32px 0; }
.stat-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-pill {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 14px 20px; font-size: 0.92rem; font-weight: 500;
}
.stat-pill .icon { color: var(--teal); flex-shrink: 0; }
.stat-pill.inline { display: inline-flex; width: auto; color: var(--muted); }
.stat-pill.inline .fc-dot { margin-right: 2px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; z-index: 2; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 20px; }
.section-title.center { margin-left: auto; margin-right: auto; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 20px; }
.section-lead.center { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,224,199,.08); border: 1px solid rgba(0,224,199,.25); padding: 8px 16px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow.center { display: flex; width: fit-content; margin: 0 auto 20px; }
.mini-label { color: var(--muted); font-size: .85rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.caption { color: var(--text-dim, var(--muted)); font-size: .9rem; margin-top: 32px; }

/* Panels/icons */
.panel-icon {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.panel-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.panel-icon.lg { width: 60px; height: 60px; }
.panel-icon.lg svg { width: 28px; height: 28px; }
.icon-teal { background: rgba(0,224,199,.12); color: var(--teal); border: 1px solid rgba(0,224,199,.25); }
.icon-purple { background: rgba(123,97,255,.12); color: var(--purple); border: 1px solid rgba(123,97,255,.25); }
.icon-amber { background: rgba(255,176,32,.12); color: var(--amber); border: 1px solid rgba(255,176,32,.25); }
.icon-green { background: rgba(52,211,153,.12); color: var(--green); border: 1px solid rgba(52,211,153,.25); }
.icon-muted { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--border); }
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.panel-head h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }

/* Generic split layout */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Cards */
.wide-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px; margin-top: 16px;
}
.wide-card h4 { font-size: 1rem; margin-bottom: 4px; }
.wide-card p { color: var(--muted); font-size: .9rem; }
.wide-card-teal { justify-content: space-between; background: rgba(0,224,199,.06); border-color: rgba(0,224,199,.25); font-weight: 600; }
.wide-card-teal-tint { background: rgba(0,224,199,.06); border-color: rgba(0,224,199,.2); }
.wide-card-teal-tint p { color: var(--text); font-size: .95rem; }
.wide-card-mixed { background: linear-gradient(135deg, rgba(0,224,199,.06), rgba(123,97,255,.06)); border-color: rgba(123,97,255,.25); }

.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-grid-2 { grid-template-columns: repeat(2, 1fr); }
.metric-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px; font-size: .92rem; font-weight: 500; transition: border-color .2s ease, transform .2s ease;
}
.metric-card:hover { border-color: rgba(0,224,199,.35); transform: translateY(-2px); }
.metric-card-stat { flex-direction: column; align-items: flex-start; gap: 8px; }
.mc-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.mc-value { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }

/* ---------- Compare (Technology) ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-panel { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.compare-panel h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.compare-panel p { color: var(--muted); margin-bottom: 24px; }
.compare-panel-highlight { border-color: rgba(0,224,199,.35); box-shadow: 0 20px 50px -24px rgba(0,224,199,.3); }
.risk-tag { position: absolute; top: 24px; right: 24px; background: rgba(255,176,32,.15); color: var(--amber); border: 1px solid rgba(255,176,32,.35); font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.trend-graph { width: 100%; height: 100px; overflow: visible; }
.line-muted { fill: none; stroke: var(--muted); stroke-width: 2; }
.line-teal { fill: none; stroke: var(--teal); stroke-width: 2.5; filter: drop-shadow(0 0 4px rgba(0,224,199,.6)); }
.line-purple-dash { fill: none; stroke: var(--purple); stroke-width: 2.5; stroke-dasharray: 6 5; filter: drop-shadow(0 0 4px rgba(123,97,255,.6)); }
.dash-line { stroke: rgba(255,255,255,.15); stroke-width: 1; stroke-dasharray: 4 4; }
.dash-line.teal { stroke: rgba(0,224,199,.3); }
.graph-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: .8rem; color: var(--muted); }

/* ---------- Band / hardware orbit ---------- */
.band-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.band-orbit { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; margin: 0 auto; }
.orbit-ring-static { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,224,199,.25); }
.orbit-node { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px rgba(0,224,199,.7); animation: orbit-spin 16s linear infinite; }
.orbit-node.on-1 { top: -4px; left: 50%; margin-left: -4px; }
.orbit-node.on-2 { top: 18%; right: 2%; }
.orbit-node.on-3 { bottom: 18%; right: 2%; }
.orbit-node.on-4 { bottom: -4px; left: 50%; margin-left: -4px; }
.orbit-node.on-5 { bottom: 18%; left: 2%; }
.orbit-node.on-6 { top: 18%; left: 2%; }
.orbit-node.on-7 { top: 4%; left: 28%; }
.orbit-node.on-8 { top: 4%; right: 28%; }
.band-center {
  position: absolute; inset: 32%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,224,199,.22), rgba(0,224,199,.04) 70%);
  border: 1px solid rgba(0,224,199,.3);
  display: flex; align-items: center; justify-content: center;
  animation: pulse-core 3.4s ease-in-out infinite;
}
.band-center .icon { width: 32px; height: 32px; color: var(--teal); }
@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.lede { font-size: 1.1rem; margin-bottom: 24px; }

/* ---------- Body map (injury) ---------- */
.bodymap-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.bodymap-grid {
  position: relative; min-height: 380px;
  background-image: linear-gradient(rgba(0,224,199,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,224,199,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex; align-items: center; justify-content: center;
}
.body-diagram { position: relative; width: 100%; max-width: 320px; aspect-ratio: 200 / 500; margin: 0 auto; }
.body-svg { width: 100%; height: 100%; display: block; }

.knee-pulse-outer, .knee-pulse-inner {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: knee-pulse 2.4s ease-in-out infinite;
}
.knee-pulse-inner { animation-delay: .15s; }
@keyframes knee-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

.joint {
  position: absolute; display: flex; align-items: center; gap: 6px;
  background: rgba(10,14,22,.9); backdrop-filter: blur(4px);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 12px; font-size: .78rem; font-weight: 600; font-family: var(--font-mono);
  white-space: nowrap; transform: translate(-50%, -50%) scale(0); opacity: 0;
  transition: opacity .5s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.joint.in-view { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.jdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ---------- Alert / hydration cards ---------- */
.alert-card, .alert-card-teal { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.alert-card-teal { border-color: rgba(0,224,199,.3); box-shadow: 0 20px 50px -28px rgba(0,224,199,.3); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 18px; }
.tag-amber { background: rgba(255,176,32,.12); color: var(--amber); border: 1px solid rgba(255,176,32,.3); font-family: var(--font-mono); }
.tag-green { background: rgba(52,211,153,.12); color: var(--green); border: 1px solid rgba(52,211,153,.3); }
.tag.full-tag { display: flex; justify-content: center; margin-top: 16px; margin-bottom: 0; }
.dot-tag { gap: 8px; }
.alert-body p { color: var(--text); margin-bottom: 12px; font-size: .95rem; }
.alert-body p:last-child { color: var(--muted); }
.stat-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border-soft); font-size: .92rem; }
.stat-row:last-of-type { margin-bottom: 20px; }
.callout { font-size: 1.05rem; margin-bottom: 20px; }
.progress-row { margin-top: 4px; }
.progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .88rem; }
.progress-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--amber)); transition: width 1.2s cubic-bezier(.16,1,.3,1); }

/* ---------- Readiness gauge ---------- */
.readiness-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.readiness-card h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 24px; }
.eyebrow-sm { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.readiness-gauge { position: relative; width: 220px; height: 220px; margin: 0 auto 28px; }
.readiness-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rg-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 14; }
.rg-fill {
  fill: none; stroke: var(--teal); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 540; stroke-dashoffset: 540;
  transition: stroke-dashoffset 1.4s cubic-bezier(.16,1,.3,1);
  filter: drop-shadow(0 0 6px rgba(0,224,199,.5));
}
.rg-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rg-number { font-size: 2.6rem; font-weight: 700; font-family: var(--font-head); }
.rg-label { color: var(--muted); font-size: .82rem; margin-top: 4px; }

.insight-stack { display: flex; flex-direction: column; gap: 16px; }
.insight-card { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.insight-card h4 { font-size: 1rem; margin-bottom: 6px; }
.insight-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Bullet lists / checks ---------- */
.bullet-stack { display: flex; flex-direction: column; gap: 22px; margin-bottom: 24px; }
.bullet-item { display: flex; gap: 16px; align-items: flex-start; }
.bullet-item h4 { font-size: 1rem; margin-bottom: 4px; }
.bullet-item p { color: var(--muted); font-size: .9rem; }
.bullet-item-sm { gap: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.dot-teal { background: var(--teal); box-shadow: 0 0 6px rgba(0,224,199,.7); }
.dot-purple { background: var(--purple); box-shadow: 0 0 6px rgba(123,97,255,.7); }
.check-dot {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0; font-weight: 700;
}
.check-dot.teal { background: rgba(0,224,199,.15); color: var(--teal); border: 1px solid rgba(0,224,199,.3); }
.check-dot.purple { background: rgba(123,97,255,.15); color: var(--purple); border: 1px solid rgba(123,97,255,.3); }

/* ---------- Nutrition steps ---------- */
.step-stack { display: flex; flex-direction: column; align-items: stretch; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-card-highlight { border-color: rgba(0,224,199,.35); box-shadow: 0 20px 50px -28px rgba(0,224,199,.3); }
.step-num { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.step-card h4 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 16px; }
.step-arrow { text-align: center; color: var(--teal); font-size: 1.2rem; padding: 8px 0; }
.camera-box { height: 140px; border: 1px dashed var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.analyzing-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-bottom: 10px; }
.analyzing-fill { height: 100%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--teal)); animation: analyzing-scan 1.8s ease-in-out infinite; }
@keyframes analyzing-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.analyzing-caption { color: var(--muted); font-size: .85rem; }
.feature-copy-block { padding-top: 8px; }

/* ---------- Digital twin ---------- */
.twin-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.twin-grid {
  position: relative; min-height: 380px;
  background-image: linear-gradient(rgba(123,97,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(123,97,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex; align-items: center; justify-content: center;
}
.twin-tag { position: absolute; top: 24px; left: 24px; background: rgba(123,97,255,.15); border: 1px solid rgba(123,97,255,.35); color: var(--purple); font-size: .78rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.twin-figure { width: 190px; animation: pulse-core 3.4s ease-in-out infinite; }
.twin-line { fill: none; stroke: var(--purple); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(123,97,255,.6)); }
.twin-dot { fill: var(--teal); filter: drop-shadow(0 0 6px rgba(0,224,199,.8)); }

.scenario-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.scenario-row { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; transition: border-color .2s ease; }
.scenario-row:hover { border-color: rgba(123,97,255,.3); }
.scenario-row > div { flex: 1; }
.scenario-row h4 { font-size: .98rem; }
.scenario-row p { color: var(--muted); font-size: .85rem; }
.chevron { color: var(--muted); flex-shrink: 0; }

/* ---------- Schedule timeline ---------- */
.schedule-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.schedule-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.schedule-card h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 24px; }
.timeline { position: relative; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 16px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 16px; }
.timeline-node {
  position: absolute; left: -44px; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; font-family: var(--font-mono);
  background: var(--bg); border: 2px solid var(--border);
}
.timeline-node.teal { border-color: var(--teal); color: var(--teal); }
.timeline-node.purple { border-color: var(--purple); color: var(--purple); }
.timeline-card { display: flex; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.timeline-card h4 { font-size: .95rem; margin-bottom: 4px; }
.timeline-card p { color: var(--muted); font-size: .85rem; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step-num-card { position: relative; background: var(--card); border: 1px solid var(--border); border-top: 3px solid; border-radius: var(--radius); padding: 32px; }
.step-num-card.teal { border-top-color: var(--teal); }
.step-num-card.purple { border-top-color: var(--purple); }
.step-num-card.amber { border-top-color: var(--amber); }
.step-big-num { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; opacity: .18; margin-bottom: 8px; }
.step-num-card h3 { font-size: 1.15rem; margin: 16px 0 10px; }
.step-num-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Phone cards ---------- */
.phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.phone-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.phone-card.teal { border-color: rgba(0,224,199,.3); }
.phone-card.purple { border-color: rgba(123,97,255,.3); }
.phone-card.amber { border-color: rgba(255,176,32,.3); }
.phone-status { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .78rem; margin-bottom: 20px; }
.phone-bars { width: 40px; height: 8px; background: repeating-linear-gradient(90deg, var(--muted) 0 4px, transparent 4px 8px); border-radius: 2px; opacity: .5; }
.phone-card h4 { font-size: 1rem; margin: 14px 0 6px; }
.phone-card p { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.phone-block { height: 60px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); margin-bottom: 10px; }
.phone-block-sm { height: 28px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; }
.price-card.teal { border-color: rgba(0,224,199,.25); }
.price-card.purple.featured { border-color: rgba(123,97,255,.45); box-shadow: 0 24px 60px -28px rgba(123,97,255,.4); transform: scale(1.03); }
.price-card.amber { border-color: rgba(255,176,32,.25); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--teal), var(--purple)); color: #04161a; font-family: var(--font-head); font-size: .75rem; font-weight: 700; padding: 6px 18px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.price-card h3 { font-family: var(--font-head); font-size: 1.3rem; margin: 16px 0 6px; }
.price-desc { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.price-list { margin-bottom: 28px; flex: 1; }
.price-list li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: .92rem; color: var(--text); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-align: left; }
.faq-q .chevron { transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); color: var(--teal); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: .92rem; }
.faq-item.open .faq-a { max-height: 240px; }

.disclaimer-card { display: flex; gap: 16px; background: var(--card); border: 1px solid rgba(255,176,32,.25); border-radius: var(--radius); padding: 26px; }
.disclaimer-card h4 { margin-bottom: 8px; }
.disclaimer-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Team ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 48px; }
.team-card {
  --accent: var(--teal); --accent-rgb: 0,224,199;
  position: relative; flex: 0 1 calc((100% - 80px) / 5); min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 20px 28px; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.team-card.purple { --accent: var(--purple); --accent-rgb: 123,97,255; }
.team-card.amber { --accent: var(--amber); --accent-rgb: 255,176,32; }
.team-card.green { --accent: var(--green); --accent-rgb: 52,211,153; }
.team-card::before {
  content: ""; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 65%);
  pointer-events: none;
}
.team-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent); opacity: .7;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 24px 50px -28px rgba(var(--accent-rgb), .5); }
.team-index { position: absolute; top: 16px; left: 18px; font-size: .72rem; color: var(--muted); opacity: .7; }

.team-avatar { position: relative; width: 112px; height: 112px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; }
.team-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.team-ring circle {
  fill: none; stroke: var(--accent); stroke-width: 1.5;
  stroke-dasharray: 4 8; stroke-linecap: round;
  transform-origin: 60px 60px;
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .5));
  animation: rotate-ring 24s linear infinite;
}
.team-card:hover .team-ring circle { animation-duration: 6s; }
.team-initials {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; color: var(--accent);
  background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), .28), rgba(var(--accent-rgb), .06) 70%);
  border: 1px solid rgba(var(--accent-rgb), .35);
}
.team-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.team-pulse {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: .74rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; line-height: 1.4;
}
.team-bio { color: var(--muted); font-size: .84rem; line-height: 1.55; }
.team-pulse .fc-dot { background: var(--accent); box-shadow: 0 0 6px rgba(var(--accent-rgb), .8); width: 6px; height: 6px; }
.team-card { justify-content: flex-start; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; padding-top: 140px; }
.final-cta .hero-glow { top: -300px; }
.waitlist-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.waitlist-form input {
  flex: 1 1 220px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); font-size: 0.95rem;
}
.waitlist-form input:focus { outline: none; border-color: var(--teal); }
.waitlist-msg { margin-top: 16px; min-height: 1.2em; color: var(--teal); font-size: 0.92rem; }
.final-stats { display: flex; justify-content: center; gap: 64px; margin-top: 64px; flex-wrap: wrap; }
.final-stats > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.final-stat-num { font-size: 2rem; font-weight: 700; color: var(--teal); }
.final-stats span:last-child { color: var(--muted); font-size: .88rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 64px 0 32px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.footer-tagline { margin-top: 12px; font-style: italic; color: var(--muted); font-size: 0.92rem; }
.footer-form { display: flex; gap: 8px; margin-top: 12px; max-width: 280px; }
.footer-form input { flex: 1; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: .85rem; }
.footer-form button { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--purple)); display: flex; align-items: center; justify-content: center; color: #04161a; flex-shrink: 0; }
.footer-col h5 { font-family: var(--font-head); color: var(--text); font-size: .9rem; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 12px; font-size: .88rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--border-soft); padding-top: 24px; font-size: .82rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--teal); color: var(--teal); }
.lang-select { background: var(--card); border: 1px solid var(--border); color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg-alt); border-bottom: 1px solid var(--border-soft); padding: 8px 24px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { height: 340px; margin-top: 20px; }
  .stat-bar-grid { grid-template-columns: repeat(2, 1fr); }

  .compare-grid, .band-grid, .split-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .band-grid { gap: 40px; }
  .phone-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .team-card { flex-basis: calc((100% - 40px) / 3); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .stat-bar-grid, .phone-grid, .metric-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .team-grid { gap: 14px; }
  .team-card { flex-basis: calc((100% - 14px) / 2); padding: 32px 14px 24px; }
  .team-avatar { width: 92px; height: 92px; }
  .team-initials { width: 68px; height: 68px; font-size: 1.3rem; }
  .footer-top { grid-template-columns: 1fr; }
}
