/* ========================================
   MoveWithNoah — Global Styles
   ======================================== */

/* ---- CSS Custom Properties ---- */
:root {
  --bg-light: #FAFAF8;
  --bg-dark: #1A1A1A;
  --bg-card-dark: #262626;
  --accent-red: #E63946;
  --accent-dark-red: #B91C1C;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --text-muted: #6B7280;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --transition: all 0.2s ease;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  margin-bottom: 0.75rem;
}

.subheadline {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-dark-red);
}

.btn-secondary {
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
}

.btn-outline {
  border: 2px solid var(--text-light);
  color: var(--text-light);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.btn-book {
  background-color: var(--text-light);
  color: var(--accent-red);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-book:hover {
  background-color: var(--accent-red);
  color: var(--text-light);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}

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

/* ========================================
   1. NAVBAR
   ======================================== */
.navbar {
  background-color: var(--bg-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-red);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* ========================================
   2. HERO
   ======================================== */
.hero {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-content .subheadline {
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.social-icons a:hover {
  color: var(--accent-red);
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ========================================
   3. STATS BAR
   ======================================== */
.stats-bar {
  background-color: var(--bg-dark);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ========================================
   4. ABOUT / MY STORY
   ======================================== */
.about {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.about-content .quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 1.5rem 0;
}

.about-content .btn {
  margin-top: 1rem;
}

/* ========================================
   5. WHY CHOOSE US
   ======================================== */
.why-choose {
  background-color: var(--bg-dark);
  padding: 5rem 0;
  color: var(--text-light);
}

.why-choose h2 {
  margin-bottom: 3rem;
  color: var(--text-light);
}

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

.feature-card {
  background-color: var(--bg-card-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.feature-icon {
  color: var(--accent-red);
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ========================================
   6. PROGRAMS
   ======================================== */
.programs {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.programs h2 {
  margin-bottom: 3rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.program-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.program-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background-color: var(--bg-light);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

.program-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--accent-red);
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  vertical-align: middle;
}

.program-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ========================================
   7. MEET YOUR TRAINER
   ======================================== */
.trainer {
  background-color: var(--bg-dark);
  padding: 5rem 0;
  color: var(--text-light);
}

.trainer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.trainer-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.trainer-content h2 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.trainer-title {
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 1.25rem;
}

.trainer-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.trainer-content .btn {
  margin-top: 1rem;
}

/* ========================================
   8. HOW IT WORKS
   ======================================== */
.how-it-works {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.how-it-works h2 {
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  width: 2px;
  height: calc(100% - 1rem);
  background-color: #E5E7EB;
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--text-light);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ========================================
   9. PRICING
   ======================================== */
.pricing {
  background-color: var(--bg-dark);
  padding: 5rem 0;
  color: var(--text-light);
}

.pricing h2 {
  color: var(--text-light);
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-card-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
  border: 1px solid var(--border-subtle);
}

.pricing-card.featured {
  border: 2px solid var(--accent-red);
  box-shadow: 0 0 32px rgba(230, 57, 70, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background-color: var(--accent-red);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.375rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.pricing-note {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-limit {
  font-size: 0.875rem;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ========================================
   10. TESTIMONIALS
   ======================================== */
.testimonials {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.testimonials h2 {
  margin-bottom: 2rem;
}

.testimonials-placeholder {
  text-align: center;
  padding: 3rem;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-style: italic;
}

/* ========================================
   11. FINAL CTA
   ======================================== */
.final-cta {
  background-color: var(--bg-dark);
  padding: 5rem 0;
  text-align: center;
  color: var(--text-light);
}

.final-cta h2 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.final-cta .subheadline {
  color: var(--text-muted);
  margin: 0 auto 2rem;
}

/* ========================================
   12. FOOTER
   ======================================== */
.footer {
  background-color: var(--bg-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-brand .logo {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.footer-brand .tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-red);
}

.footer .social-icons {
  justify-content: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.5;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ========================================
   RESPONSIVE — Tablet (768px)
   ======================================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  /* Nav */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.875rem 0;
  }

  .btn-book {
    display: none;
  }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image {
    order: -1;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* About */
  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  /* Programs */
  .programs-grid {
    grid-template-columns: 1fr;
  }

  /* Trainer */
  .trainer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE — Mobile (480px)
   ======================================== */
@media (max-width: 480px) {
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stats-grid {
    gap: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .features-grid,
  .programs-grid,
  .pricing-grid {
    gap: 1rem;
  }

  .feature-card,
  .program-card,
  .pricing-card {
    padding: 1.5rem;
  }

  .step {
    gap: 1rem;
  }

  .footer-nav {
    gap: 1rem;
  }
}
