/* Core Variables & Resets */
:root {
  --primary: #ff3e3e;
  --primary-hover: #e02828;
  --bg-dark: #0f1115;
  --bg-card: #181b22;
  --bg-card-hover: #222630;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #22c55e;
  --border: #2e3440;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(15, 17, 21, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-menu a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-card);
}

.btn-large {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.badge {
  background-color: rgba(255, 62, 62, 0.15);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat h3 {
  font-size: 1.8rem;
  color: var(--primary);
}

.stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Features & Grids */
.features, .directory {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.directory-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card, .gym-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.card:hover, .gym-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-card-hover);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3, .gym-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.card p, .gym-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gym-tag {
  display: inline-block;
  background-color: var(--border);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.gym-card ul {
  list-style: none;
  margin: 1.2rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.gym-card li {
  margin-bottom: 0.4rem;
}

.btn-card {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

/* CTA & Footer */
.cta-banner {
  background: linear-gradient(135deg, #181b22, #261010);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.footer {
  padding: 4rem 0 2rem;
  background-color: #0b0c0f;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a, .footer-contact p {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .nav-menu { display: none; }
  .footer-content { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}