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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo span { color: var(--secondary); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

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

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--primary-dark); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-block;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #f0fdf4 100%);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero h1 span { color: var(--primary); }

.hero > .container > p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Search Box */
.search-box {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.search-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.search-field {
  flex: 1;
}

.search-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--primary);
}

.search-btn {
  white-space: nowrap;
}

/* Categories */
.categories {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--secondary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-header .view-all {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

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

.category-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* For Coaches CTA */
.for-coaches {
  padding: 80px 0;
  background: var(--secondary);
  color: white;
}

.cta-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

.cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature {
  font-size: 1rem;
  opacity: 0.9;
}

/* Stats */
.stats {
  padding: 60px 0;
  background: var(--bg-alt);
}

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

.stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* Articles Preview */
.articles-preview {
  padding: 80px 0;
}

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

.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}

.article-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.article-category {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--secondary);
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.article-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Events Preview */
.events-preview {
  padding: 80px 0;
  background: var(--bg-alt);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.event-date {
  text-align: center;
  min-width: 60px;
}

.event-date .month {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.event-date .day {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
}

.event-info {
  flex: 1;
}

.event-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.event-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
footer {
  padding: 60px 0 30px;
  background: var(--secondary);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand p {
  opacity: 0.7;
  line-height: 1.8;
}

.footer-links h4 {
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Page Headers */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Directory */
.directory-filters {
  padding: 40px 0;
  background: white;
  border-bottom: 1px solid var(--border);
}

.filters-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.coach-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}

.coach-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.coach-avatar {
  width: 80px;
  height: 80px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.coach-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.coach-specialty {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.coach-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.coach-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Forms */
.form-section {
  padding: 60px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-alt);
  padding: 48px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Pricing */
.pricing-section {
  padding: 60px 0;
  background: var(--bg-alt);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  border: 2px solid var(--border);
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--primary);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Best Value';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card ul {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.pricing-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu-btn { display: block; }
  
  .hero h1 { font-size: 2rem; }
  
  .search-row {
    flex-direction: column;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-features {
    justify-content: center;
  }
  
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .articles-grid,
  .coach-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero { padding: 120px 0 60px; }
  .category-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-container { padding: 32px 24px; }
}
