:root {
  --brand-primary: #0d6efd;
  --brand-dark: #0a1628;
  --brand-muted: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --gradient-start: #eff6ff;
  --gradient-end: #f0fdf4;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  background-color: var(--surface);
}

.text-muted-custom {
  color: var(--brand-muted) !important;
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92) !important;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--surface) 45%, var(--gradient-end) 100%);
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 36rem;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.hero-stat {
  border-right: 1px solid var(--border);
}

.hero-stat:last-child {
  border-right: none;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.sport-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.sport-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.sport-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.sport-padel { background: #dbeafe; color: #1d4ed8; }
.sport-soccer { background: #dcfce7; color: #15803d; }
.sport-basketball { background: #ffedd5; color: #c2410c; }
.sport-volleyball { background: #fae8ff; color: #a21caf; }

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: #eff6ff;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.api-endpoint {
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.85rem;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
}

.flow-diagram {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.cta-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.75);
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

@media (max-width: 767.98px) {
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-stat:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
