/* =============================================
   HANDBALLSTATS PRO - LANDING CSS
   ============================================= */
:root {
  --primary: #2563EB;
  --primary-dark: #1E3A5F;
  --accent: #F59E0B;
  --danger: #EF4444;
  --success: #10B981;
  --dark: #0F172A;
  --dark-card: #1E293B;
  --gray: #64748B;
  --light: #F1F5F9;
  --white: #FFFFFF;
  --border: #334155;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

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

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--white); font-size: 26px; font-weight: 800;
}
.nav-logo em { font-style: normal; color: var(--accent); }
.nav-logo small { font-size: 11px; color: var(--accent); letter-spacing: 3px; vertical-align: super; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; color: #94A3B8; font-size: 14px; font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
  background: var(--primary) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 10px;
  font-weight: 600 !important; transition: all 0.3s !important;
}
.btn-nav:hover { background: #1D4ED8 !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 5px 0; transition: 0.3s;
}

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15;
}
.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--danger); bottom: -100px; left: -100px; }
.orb-3 { width: 300px; height: 300px; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 100px;
  background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 14px; font-weight: 600; color: #93C5FD; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--danger), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; color: #94A3B8; max-width: 600px; margin: 0 auto 36px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; background: var(--primary); color: var(--white);
  border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 16px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary-lg:hover { background: #1D4ED8; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3); }
.btn-ghost-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; background: transparent; color: #94A3B8;
  border: 1px solid var(--border); border-radius: 14px; text-decoration: none;
  font-weight: 600; font-size: 16px; transition: all 0.3s;
}
.btn-ghost-lg:hover { color: var(--white); border-color: #64748B; }
.hero-stats { display: flex; gap: 48px; justify-content: center; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 32px; font-weight: 800; color: var(--accent); }
.hero-stat span { font-size: 13px; color: #64748B; font-weight: 500; }

/* FEATURES */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 13px; font-weight: 600; color: #93C5FD; margin-bottom: 16px;
}
.section-header h2 { font-size: 36px; font-weight: 800; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--dark-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; transition: all 0.3s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #94A3B8; line-height: 1.6; }

/* STATS */
.stats-section { padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  text-align: center; padding: 40px 20px;
  background: var(--dark-card); border: 1px solid var(--border); border-radius: 16px;
}
.stat-number { font-size: 48px; font-weight: 900; color: var(--accent); }
.stat-label { font-size: 14px; color: #94A3B8; margin-top: 8px; }

/* ABOUT */
.about { padding: 100px 0; }
.about-text { max-width: 700px; }
.about-text h2 { font-size: 36px; font-weight: 800; margin: 16px 0; }
.about-text p { font-size: 16px; color: #94A3B8; line-height: 1.7; margin-bottom: 16px; }

/* CTA */
.cta {
  padding: 80px 0;
}
.cta-content {
  text-align: center; padding: 60px 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(37, 99, 235, 0.3); border-radius: 24px;
}
.cta-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: #94A3B8; margin-bottom: 28px; }

/* FOOTER */
.footer {
  padding: 40px 0; border-top: 1px solid var(--border);
}
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-size: 18px; font-weight: 700; }
.footer-logo em { font-style: normal; color: var(--accent); }
.footer-logo small { font-size: 10px; color: var(--accent); letter-spacing: 2px; vertical-align: super; }
.footer-brand p { font-size: 13px; color: #64748B; margin-top: 4px; }
.footer-copy p { font-size: 13px; color: #64748B; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .hero-stat strong { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { flex-direction: column; text-align: center; }
}
