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

:root {
  --navy:      #0A1230;
  --navy-mid:  #101929;
  --navy-deep: #080D26;
  --red:       #C71E2E;
  --red-light: #E03040;
  --gold:      #F2C733;
  --blue:      #3873CC;
  --steel:     #70A0DB;
  --white:     #FFFFFF;
  --white-70:  rgba(255,255,255,0.70);
  --white-40:  rgba(255,255,255,0.40);
  --white-12:  rgba(255,255,255,0.12);
  --white-06:  rgba(255,255,255,0.06);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-rounded: 'SF Pro Rounded', 'Inter', -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--white-12);
  background: var(--white-06);
  color: var(--gold);
}

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(8, 13, 38, 0.80);
  border-bottom: 1px solid var(--white-12);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), #8B0F1B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-70);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--red);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  color: var(--white) !important;
}

.nav__cta:hover { background: var(--red-light); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-deep) 100%);
}

/* Radial glow accent */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(199,30,46,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--navy-deep));
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: 20px;
}

.hero__heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__heading em {
  font-style: normal;
  background: linear-gradient(90deg, var(--red), #E8505F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 18px;
  color: var(--white-70);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199,30,46,0.35);
}

.btn--ghost {
  background: var(--white-12);
  color: var(--white);
  border: 1px solid var(--white-12);
}

.btn--ghost:hover {
  background: var(--white-06);
  transform: translateY(-2px);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--white-70);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D058;
}

/* Phone mockup */
.hero__phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__phone {
  width: 260px;
  aspect-ratio: 9/19.5;
  border-radius: 44px;
  background: linear-gradient(160deg, #1A2850 0%, #0D1528 100%);
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dynamic island */
.phone__island {
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  flex-shrink: 0;
}

.phone__screen {
  flex: 1;
  padding: 16px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone__time-label {
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  opacity: 0.8;
}

.phone__time {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}

.phone__divider {
  height: 1px;
  background: var(--white-12);
}

.phone__exercise-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white-06);
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid var(--white-12);
}

.phone__ex-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--white-70);
}

.phone__ex-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.phone__ex-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
}

.phone__run-chip {
  margin-top: auto;
  background: linear-gradient(90deg, var(--red) 0%, #A01020 100%);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Glow rings behind phone */
.hero__phone-wrap::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,30,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Stats bar ──────────────────────────────────────────────────────────── */
.stats {
  padding: 32px 0;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--white-12);
  border-bottom: 1px solid var(--white-12);
}

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

.stats__item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid var(--white-12);
}

.stats__item:last-child { border-right: none; }

.stats__number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stats__number span {
  background: linear-gradient(90deg, var(--red), #E8505F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats__label {
  font-size: 13px;
  color: var(--white-70);
  font-weight: 500;
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section__sub {
  font-size: 17px;
  color: var(--white-70);
  max-width: 520px;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white-06);
  border: 1px solid var(--white-12);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, background 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card__body {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.6;
}

/* ── Workout Section ────────────────────────────────────────────────────── */
.workout {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.workout__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.workout__phases {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phase-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--white-06);
  border: 1px solid var(--white-12);
  transition: background 0.2s;
}

.phase-row:hover { background: rgba(255,255,255,0.09); }

.phase-row__icon {
  font-size: 20px;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.phase-row__label {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
}

.phase-row__detail {
  font-size: 13px;
  color: var(--white-70);
}

.phase-row__badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge--red   { background: rgba(199,30,46,0.25);  color: #F87D88; }
.badge--gold  { background: rgba(242,199,51,0.20); color: var(--gold); }
.badge--blue  { background: rgba(112,160,219,0.20); color: var(--steel); }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background: linear-gradient(160deg, rgba(199,30,46,0.10) 0%, transparent 60%);
  border-top: 1px solid var(--white-12);
}

.cta-section .section__title { max-width: 600px; margin: 0 auto 16px; }
.cta-section .section__sub   { margin-bottom: 40px; }

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--navy-deep);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
}

.appstore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.appstore-btn__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.appstore-btn__sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--white-12);
  background: var(--navy-deep);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  color: var(--white-70);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-size: 12px;
  color: var(--white-40);
}

/* ── Privacy page ────────────────────────────────────────────────────────── */
.privacy-hero {
  padding: 140px 0 64px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-bottom: 1px solid var(--white-12);
}

.privacy-hero__eyebrow {
  margin-bottom: 16px;
}

.privacy-hero__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.privacy-hero__meta {
  font-size: 14px;
  color: var(--white-70);
}

.privacy-content {
  padding: 64px 0 96px;
}

.privacy-content .container {
  max-width: 720px;
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--white-12);
}

.privacy-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.privacy-content p {
  font-size: 16px;
  color: var(--white-70);
  line-height: 1.75;
  margin-bottom: 16px;
}

.privacy-content ul {
  margin: 12px 0 20px 20px;
  color: var(--white-70);
}

.privacy-content li {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 8px;
}

.privacy-content strong { color: var(--white); }

.privacy-highlight {
  background: var(--white-06);
  border: 1px solid var(--white-12);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--white-70);
  line-height: 1.65;
}

.privacy-highlight strong { color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }

  .hero { padding: 100px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__phone { width: 200px; }

  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-right: none; border-bottom: 1px solid var(--white-12); }
  .stats__item:last-child { border-bottom: none; }

  .features__grid { grid-template-columns: 1fr; }

  .workout__inner { grid-template-columns: 1fr; gap: 40px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }

  .section { padding: 64px 0; }
}
