/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
  --accent: #FF6762;
  --accent-dark: #E85550;
  --accent-light: #FFF0EF;
  --bg-dark: #1A1A2E;
  --bg-dark-2: #16213E;
  --text-dark: #1C1C1E;
  --text-secondary: #6C6C70;
  --text-light: #FFFFFF;
  --text-light-secondary: rgba(255, 255, 255, 0.75);
  --category-cardio: #FF3B30;
  --category-lower: #007AFF;
  --category-upper: #FF9500;
  --category-core: #AF52DE;
  --category-stretch: #34C759;
  --border: #E5E5EA;
  --bg-section: #F8F8FA;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.6;
  background: #fff;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 8px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--accent-light) 0%, #fff 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 20px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 103, 98, 0.3);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 103, 98, 0.4);
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-dark);
  color: white;
}

.btn-secondary:hover {
  background: #0D1B2A;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-platforms {
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-image {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 80px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-alt {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 12px auto 0;
}

.section-dark .section-subtitle {
  color: var(--text-light-secondary);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

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

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============================================
   MODES
   ============================================ */

.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mode-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.mode-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(255, 103, 98, 0.1);
  transform: translateY(-4px);
}

.mode-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.mode-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mode-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.mode-features {
  list-style: none;
}

.mode-features li {
  padding: 6px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mode-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   FEATURES GRID
   ============================================ */

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

.feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature p {
  font-size: 14px;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

/* ============================================
   TEACHER RESOURCES
   ============================================ */

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.resource-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.resource-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  text-decoration: none;
}

.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.resource-icon-unit { background: #FFF0EF; }
.resource-icon-assess { background: #E8F5E9; }
.resource-icon-guide { background: #FFF8E1; }
.resource-icon-student { background: #E3F2FD; }

.resource-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.resource-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.resource-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.proof-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

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

.proof-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
}

.proof-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============================================
   BOTTOM CTA
   ============================================ */

.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
}

.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: var(--text-light-secondary);
  padding: 48px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: white;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-light-secondary);
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  font-size: 13px;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

  .hero {
    padding: 120px 20px 60px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

  .proof-bar {
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 60px 0;
  }
}

/* ============================================
   PRIVACY / TERMS PAGES
   ============================================ */

.legal-page {
  padding: 120px 24px 80px;
  max-width: 700px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.legal-page p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-page ul {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}
