/* =========================================
   FITCAST — Landing Page Stylesheet
   Dark, electric, premium
   ========================================= */

/* --- Variables --- */
:root {
  --bg: #0D0D0D;
  --bg-2: #111111;
  --bg-3: #181818;
  --accent: #B4FF00;
  --accent-dim: rgba(180, 255, 0, 0.12);
  --coral: #FF4D4D;
  --yellow: #FFD60A;
  --text: #F2F2F2;
  --text-muted: #888;
  --border: rgba(255,255,255,0.07);
  --radius: 14px;
  --radius-sm: 8px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 { font-family: 'Outfit', sans-serif; font-weight: 700; }

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-wordmark {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.nav-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(180,255,0,0.2);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Hero --- */
.hero {
  padding: 80px 0 60px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(180,255,0,0.2);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-highlight {
  display: block;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { }
.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 80px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Coach Dashboard Card --- */
.coach-dash {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(180,255,0,0.05);
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}
.dash-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.dash-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dash-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.dash-clients { padding: 8px 0; }
.client-row {
  display: grid;
  grid-template-columns: 44px 1fr 100px 60px;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.client-row:last-child { border-bottom: none; }
.client-row--header {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 20px;
}
.client-row--alert { background: rgba(255,77,77,0.04); }
.client-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1.5px solid rgba(180,255,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
}
.client-avatar--warn {
  border-color: var(--yellow);
  color: var(--yellow);
}
.client-avatar--alert {
  border-color: var(--coral);
  color: var(--coral);
}
.client-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.client-goal {
  font-size: 11px;
  color: var(--text-muted);
}
.compliance-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  flex: 1;
}
.compliance-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0;
}
.compliance-fill--warn { background: var(--yellow); }
.compliance-fill--alert { background: var(--coral); }
.compliance-pct {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
  white-space: nowrap;
}
.risk {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
}
.risk--green { color: var(--accent); background: var(--accent-dim); }
.risk--yellow { color: var(--yellow); background: rgba(255,214,10,0.1); }
.risk--red { color: var(--coral); background: rgba(255,77,77,0.1); }
.dash-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  background: var(--bg-3);
}
.dash-stat {
  padding: 12px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.dash-stat:last-child { border-right: none; }
.dash-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.dash-stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Features --- */
.features { padding: 80px 0; }
.features-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.features-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(180,255,0,0.2);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s;
}
.feature-card--primary::before { background: var(--accent); }
.feature-card--primary { border-color: rgba(180,255,0,0.15); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-icon--accent { background: var(--accent-dim); color: var(--accent); }
.feature-icon--muted { background: rgba(255,255,255,0.04); color: var(--text-muted); }
.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}

/* --- How --- */
.how { padding: 80px 0; background: var(--bg-2); }
.how-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.how .section-headline { margin-bottom: 56px; }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.step { }
.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(180,255,0,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

/* --- Manifesto --- */
.manifesto { padding: 80px 0; }
.manifesto-inner { max-width: 900px; margin: 0 auto; padding: 0 32px; text-align: center; }
.manifesto-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: 48px;
}
.manifesto-quote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.manifesto-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* --- Closing --- */
.closing { padding: 80px 0 100px; }
.closing-inner { max-width: 860px; margin: 0 auto; padding: 0 32px; text-align: center; }
.closing-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 16px;
}
.closing-vision {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 28px;
  background: var(--accent-dim);
  border: 1px solid rgba(180,255,0,0.2);
  border-radius: 40px;
}
.vision-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
}

/* --- Footer --- */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-wordmark {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline { font-size: 13px; color: var(--text-muted); }
.footer-meta { font-size: 12px; color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { transform: rotate(90deg); }
  .hero-stats { flex-wrap: wrap; }
  .dash-footer { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 40px; }
  .features, .how, .manifesto, .closing { padding: 60px 0; }
  .nav-inner { padding: 14px 20px; }
  .hero-inner, .features-inner, .how-inner, .manifesto-inner, .closing-inner { padding: 0 20px; }
  .stat-value { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .client-row { grid-template-columns: 36px 1fr 80px 50px; gap: 8px; padding: 8px 16px; }
  .dash-footer { grid-template-columns: 1fr; }
  .dash-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 10px 16px; }
  .dash-stat:last-child { border-bottom: none; }
  .feature-card { padding: 24px; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(180,255,0,0.2); }

/* --- Text selection --- */
::selection { background: rgba(180,255,0,0.25); color: var(--text); }

/* --- Focus states --- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
