/* My Athlete — Website Styles */
/* Brand: Navy (#0F172A), Orange (#F97316), White (#FFFFFF) */

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-medium: #334155;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --light: #CBD5E1;
  --white: #FFFFFF;
  --orange: #F97316;
  --orange-light: #FB923C;
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --green: #22C55E;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-medium);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}

.nav-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--slate-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-login {
  border: 1px solid var(--navy-medium) !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600 !important;
  color: var(--white) !important;
  transition: all 0.2s !important;
}

.nav-login:hover {
  border-color: var(--orange) !important;
  background: rgba(249, 115, 22, 0.1) !important;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--navy) 0%, #0B1120 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.text-orange {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--slate-light);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--navy-medium);
}

.btn-secondary:hover {
  border-color: var(--slate);
  background: var(--navy-light);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 13px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--navy-light);
  border-radius: 40px;
  border: 3px solid var(--navy-medium);
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: 30% center;
  background: var(--navy-medium);
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--navy-light);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--slate-light);
  text-align: center;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--navy);
  border: 1px solid var(--navy-medium);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.6;
}

/* Sports */
.sports {
  padding: 100px 0;
  background: var(--navy);
}

.sports-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.sport-badge {
  background: var(--navy-light);
  border: 1px solid var(--navy-medium);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.sport-badge:hover {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
}

.ltad-stages {
  background: var(--navy-light);
  border: 1px solid var(--navy-medium);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.ltad-stages h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.ltad-description {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 100%;
  margin: 0 auto 24px;
  text-align: center;
}

.ltad-description strong {
  color: var(--white);
}

/* Timeline bar */
.ltad-timeline {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  height: 36px;
  margin-bottom: 24px;
}

.ltad-timeline-seg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.ltad-seg-1 { background: #81C784; color: #1A1A2E; }
.ltad-seg-2 { background: #F5A623; color: #1A1A2E; }
.ltad-seg-3 { background: #4EA8FF; color: #1A1A2E; }
.ltad-seg-4 { background: #AB7AE0; color: #1A1A2E; }
.ltad-seg-5 { background: #E84C4C; color: #1A1A2E; }

/* Stage cards grid */
.ltad-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.ltad-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 20px;
  border-top: 4px solid;
}

.ltad-card-1 { border-top-color: #81C784; }
.ltad-card-2 { border-top-color: #F5A623; }
.ltad-card-3 { border-top-color: #4EA8FF; }
.ltad-card-4 { border-top-color: #AB7AE0; }
.ltad-card-5 { border-top-color: #E84C4C; }

.ltad-card-ages {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #4EA8FF;
  margin-bottom: 4px;
}

.ltad-card-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.ltad-card-1 .ltad-card-name { color: #81C784; }
.ltad-card-2 .ltad-card-name { color: #F5A623; }
.ltad-card-3 .ltad-card-name { color: #4EA8FF; }
.ltad-card-4 .ltad-card-name { color: #AB7AE0; }
.ltad-card-5 .ltad-card-name { color: #E84C4C; }

.ltad-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ltad-card ul li {
  font-size: 13px;
  color: #CBD5E1;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.ltad-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #555;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: var(--navy-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--slate-light);
  line-height: 1.6;
}

/* Trust */
.trust {
  padding: 100px 0;
  background: var(--navy);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding: 24px;
}

.trust-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.trust-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 13px;
  color: var(--slate-light);
  line-height: 1.5;
}

/* Download */
.download {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  text-align: center;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.store-badge img {
  height: 52px;
  transition: transform 0.2s;
}

.store-badge:hover img {
  transform: scale(1.05);
}

.download-note {
  font-size: 14px;
  color: var(--slate);
  margin-top: 16px;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--navy-medium);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--slate-light);
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 12px;
  color: var(--slate);
  margin-top: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 13px;
  color: var(--slate-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--navy-medium);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: row;
    gap: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .ltad-cards {
    grid-template-columns: 1fr;
  }

  .ltad-timeline-seg {
    font-size: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Page styles (privacy, terms, support) */
.page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.page-content .updated {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content p {
  font-size: 15px;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.page-content ul li {
  font-size: 15px;
  color: var(--light);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.page-content ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--orange);
}

.page-content a {
  color: var(--blue-light);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

/* Growth Intelligence Section */
.growth-intel {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--navy) 0%, #0c1220 100%);
  border-top: 1px solid var(--navy-light);
  border-bottom: 1px solid var(--navy-light);
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.growth-card {
  background: var(--navy-light);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--navy-medium);
  transition: transform 0.2s, border-color 0.2s;
}

.growth-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.growth-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.growth-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.growth-card p {
  color: var(--slate-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.growth-source {
  margin-top: 32px;
  color: var(--slate);
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
}

/* Sport Inline Expand */
.sport-badge[data-sport] {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.sport-badge[data-sport]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}
.sport-badge-active {
  border-color: var(--orange) !important;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4) !important;
  transform: translateY(-2px) !important;
}

.sport-detail-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 20px;
}

.sport-detail-inner {
  background: var(--navy);
  border: 1px solid var(--navy-medium);
  border-radius: 12px;
  padding: 28px;
}

.sport-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sport-detail-emoji {
  font-size: 2rem;
}

.sport-detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.sport-detail-pitch {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sport-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sport-detail-col h4 {
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.sport-detail-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sport-detail-col ul li {
  color: #CBD5E1;
  font-size: 0.9rem;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.sport-detail-col ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.sport-detail-assessments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sport-detail-assess {
  color: #CBD5E1;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 8px 12px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(71, 85, 105, 0.4);
}

.sport-detail-assess strong {
  color: #fff;
}

@media (max-width: 600px) {
  .sport-detail-columns {
    grid-template-columns: 1fr;
  }
  .sport-detail-inner {
    padding: 20px;
  }
}
