/* ============================================================
   MusterSport — Landing Pages Design System
   mustersport.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0B1120;
  --navy-light:  #111827;
  --navy-card:   #1a2540;
  --navy-border: #1E2D4A;
  --green:       #22C55E;
  --green-dark:  #16A34A;
  --green-glow:  rgba(34, 197, 94, 0.15);
  --white:       #FFFFFF;
  --grey-100:    #F3F4F6;
  --grey-300:    #D1D5DB;
  --grey-400:    #9CA3AF;
  --grey-600:    #4B5563;
  --text:        #E2E8F0;
  --text-muted:  #94A3B8;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --transition:  all 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-muted); }

.highlight { color: var(--green); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.btn-nav {
  background: var(--green);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
}

.btn-nav:hover { background: var(--green-dark) !important; color: var(--white) !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--navy-border);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--green-glow);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  margin-bottom: 24px;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 { margin-bottom: 24px; }

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Grid Layouts ─────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 560px; margin: 0 auto; font-size: 1.1rem; }

/* ── Content Pages (Privacy, Terms, Support) ──────────────── */
.page-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 48px;
}

.page-header .badge { margin-bottom: 16px; }
.page-header h1     { margin-bottom: 12px; }

.content-section { margin-bottom: 40px; }
.content-section h2 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--navy-border);
}

.content-section h3 {
  font-size: 1rem;
  color: var(--text);
  margin: 20px 0 8px;
}

.content-section p  { margin-bottom: 12px; font-size: 0.95rem; }

.content-section ul, .content-section ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.content-section li { margin-bottom: 8px; }

/* ── Contact / Support Cards ──────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.support-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.support-card:hover { border-color: rgba(34,197,94,0.3); }
.support-card .icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.support-card h3    { color: var(--white); margin-bottom: 8px; }
.support-card a     { color: var(--green); text-decoration: none; }
.support-card a:hover { text-decoration: underline; }

/* ── Feedback Form ────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

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

input, textarea, select {
  width: 100%;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

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

/* ── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--navy-border);
  padding: 48px 0 32px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--green); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--grey-600);
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--navy-border);
  margin: 48px 0;
}

/* ── Alert box ────────────────────────────────────────────── */
.alert {
  background: var(--green-glow);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 24px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 60px 0; }
  section { padding: 56px 0; }
  .hero-actions { flex-direction: column; align-items: center; }
}
