/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #f5a623;
  --orange-light: #f7b84b;
  --orange-dark: #e0941a;
  --orange-faint: #fff8ee;
  --black: #0d0d0d;
  --gray-900: #1a1a1a;
  --gray-700: #444;
  --gray-500: #888;
  --gray-200: #e8e8e8;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange-faint);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== SECTION BASE ===== */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  background: var(--orange-faint);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 56px;
  max-width: 540px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--orange);
  top: -200px; right: -100px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--orange-light);
  bottom: -100px; left: -100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-faint);
  border: 1px solid #fde8b8;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-700);
  max-width: 460px;
  margin-bottom: 36px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 24px; font-weight: 800; color: var(--black); }
.stat-label { font-size: 13px; color: var(--gray-500); }
.stat-divider { width: 1px; height: 40px; background: var(--gray-200); }

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--black);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 2px #333;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--gray-100);
  border-radius: 28px;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  margin: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-avatar {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #fde8b8, var(--orange));
  border-radius: 12px;
}

.mock-info { display: flex; flex-direction: column; gap: 8px; }
.mock-name { height: 14px; background: var(--gray-200); border-radius: 4px; width: 70%; }
.mock-tag { height: 10px; background: var(--gray-200); border-radius: 4px; width: 50%; }
.mock-tag.short { width: 35%; }

.mock-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}
.mock-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.mock-btn.pass { background: #fff0f0; color: #e74c3c; }
.mock-btn.like { background: #fff8ee; color: var(--orange); }

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.card-match { top: 60px; right: -40px; animation-delay: 0s; }
.card-booking { bottom: 80px; left: -40px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.card-icon { font-size: 24px; }
.card-title { font-size: 14px; font-weight: 700; color: var(--black); }
.card-sub { font-size: 12px; color: var(--gray-500); }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--gray-100); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--orange-faint);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fde8b8;
}

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

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

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

.step-arrow {
  font-size: 28px;
  color: var(--gray-200);
  margin-top: 80px;
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features { background: var(--white); }

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

.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.feature-card:hover {
  border-color: var(--orange);
  background: var(--orange-faint);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon { font-size: 36px; margin-bottom: 16px; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.feature-card p { font-size: 14px; color: var(--gray-700); }

/* ===== ROLES ===== */
.roles { background: var(--gray-100); }

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.role-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}

.role-card.trainers { border-top: 4px solid var(--orange); }
.role-card.buddies { border-top: 4px solid var(--black); }

.role-emoji { font-size: 48px; margin-bottom: 16px; }

.role-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--orange-faint);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.role-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
}

.role-card > p {
  color: var(--gray-700);
  margin-bottom: 24px;
  font-size: 15px;
}

.role-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.role-list li {
  font-size: 15px;
  color: var(--gray-700);
  padding-left: 24px;
  position: relative;
}
.role-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ===== DOWNLOAD ===== */
.download {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.download-bg-blob {
  position: absolute;
  width: 600px; height: 600px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  top: -200px; right: -100px;
  pointer-events: none;
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.download-text h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.download-text p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 36px;
  max-width: 480px;
}

.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  transition: all 0.2s;
  color: var(--white);
}
.store-badge:hover {
  border-color: var(--orange);
  background: #222;
  transform: translateY(-2px);
}

.badge-sub { display: block; font-size: 11px; color: #aaa; }
.badge-main { display: block; font-size: 17px; font-weight: 700; }

.download-visual { display: flex; align-items: center; justify-content: center; }

.app-icon-wrapper {
  width: 160px; height: 160px;
  background: linear-gradient(135deg, var(--orange-faint), var(--orange));
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(245,166,35,0.3);
}

.app-icon-large {
  width: 100px;
  height: 100px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: #aaa;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 260px; color: #888; }

.footer-links {
  display: flex;
  gap: 60px;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: #888;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: #555; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { margin: 0 auto 20px; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .steps { flex-direction: column; }
  .step-arrow { display: none; }

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

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

  .download-inner { grid-template-columns: 1fr; text-align: center; }
  .store-badges { justify-content: center; }
  .download-visual { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }

  .section h2 { margin-bottom: 36px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 24px;
    gap: 20px;
  }
  .nav-hamburger { display: flex; }

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

  .hero-ctas { flex-direction: column; align-items: center; }

  .role-card { padding: 32px 24px; }

  .store-badges { flex-direction: column; align-items: center; }

  .footer-links { flex-direction: column; gap: 28px; }
}
