/* apps/homepage/styles.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0d1117;
  color: #e5e7eb;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.nav {
  background: #0d1117;
  border-bottom: 1px solid #1f2937;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { color: #10b981; font-weight: 800; font-size: 18px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: #9ca3af; font-size: 14px; }
.nav-links a:hover { color: #e5e7eb; }
.btn { display: inline-block; border-radius: 8px; padding: 9px 20px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; }
.btn-primary { background: #10b981; color: #fff; }
.btn-primary:hover { background: #059669; }
.btn-outline { background: transparent; border: 1px solid #374151; color: #e5e7eb; }
.btn-outline:hover { border-color: #6b7280; }

.hero {
  background: linear-gradient(135deg, #0d1117 0%, #111827 60%, #0d2b1d 100%);
  padding: 72px 32px 56px;
  text-align: center;
}
.hero-eyebrow { font-size: 11px; color: #10b981; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { color: #10b981; }
.hero p { color: #9ca3af; font-size: 16px; max-width: 480px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stats-bar {
  display: flex;
  border: 1px solid #1f2937;
  border-radius: 12px;
  overflow: hidden;
  max-width: 480px;
  margin: 48px auto 0;
}
.stat { flex: 1; padding: 16px; text-align: center; border-right: 1px solid #1f2937; }
.stat:last-child { border-right: none; }
.stat-value { color: #10b981; font-weight: 800; font-size: 22px; }
.stat-label { color: #6b7280; font-size: 11px; margin-top: 2px; }

section { padding: 56px 32px; border-top: 1px solid #1f2937; }
.section-eyebrow { font-size: 11px; color: #6b7280; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; text-align: center; }
.section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 32px; }

.sports-grid { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sport-card { background: #1f2937; border-radius: 12px; padding: 18px 22px; text-align: center; min-width: 90px; }
.sport-card .icon { font-size: 32px; margin-bottom: 8px; }
.sport-card .name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.sport-card .count { color: #6b7280; font-size: 11px; }
.sport-card.more { background: transparent; border: 1px dashed #10b98140; color: #10b981; }

.steps { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.step { background: #1f2937; border-radius: 12px; padding: 20px; width: 160px; text-align: center; }
.step .step-icon { font-size: 28px; margin-bottom: 10px; }
.step h3 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.step p { color: #6b7280; font-size: 11px; }
.step-arrow { color: #374151; font-size: 24px; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 800px; margin: 0 auto; }
@media (max-width: 600px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { border-radius: 12px; padding: 24px; }
.audience-card.clubs { background: #1a2e1a; border: 1px solid #10b98140; }
.audience-card.umpires { background: #1a1a2e; border: 1px solid #3b82f640; }
.audience-card h3 { font-size: 15px; font-weight: 700; margin: 12px 0 10px; }
.audience-card.clubs h3 { color: #10b981; }
.audience-card.umpires h3 { color: #3b82f6; }
.audience-card ul { list-style: none; color: #9ca3af; font-size: 13px; line-height: 2.2; }
.audience-card .btn { margin-top: 18px; width: 100%; text-align: center; display: block; }
.audience-card.clubs .btn { background: #10b981; color: #fff; }
.audience-card.umpires .btn { background: #3b82f6; color: #fff; }

.testimonials-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.testimonial { background: #111827; border: 1px solid #1f2937; border-radius: 12px; padding: 20px; max-width: 220px; }
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 10px; }
.testimonial p { color: #e5e7eb; font-size: 12px; line-height: 1.6; margin-bottom: 14px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.reviewer-name { font-size: 12px; font-weight: 600; }
.reviewer-club { color: #6b7280; font-size: 10px; }

.app-section { text-align: center; background: #111827; }
.app-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.app-badge { background: #1f2937; border: 1px solid #374151; border-radius: 12px; padding: 12px 22px; display: flex; align-items: center; gap: 12px; opacity: 0.65; position: relative; }
.badge-soon { position: absolute; top: -9px; right: -9px; background: #f59e0b; color: #000; font-size: 9px; font-weight: 800; border-radius: 10px; padding: 2px 8px; }
.app-badge .badge-sub { color: #9ca3af; font-size: 10px; }
.app-badge .badge-name { color: #fff; font-size: 14px; font-weight: 700; }
.notify-box { max-width: 380px; margin: 0 auto; background: #1f2937; border: 1px solid #374151; border-radius: 12px; padding: 18px 20px; }
.notify-box h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.notify-box p { color: #6b7280; font-size: 11px; margin-bottom: 14px; }
.notify-form { display: flex; gap: 8px; }
.notify-form input { flex: 1; background: #111827; border: 1px solid #374151; border-radius: 8px; padding: 9px 12px; color: #e5e7eb; font-size: 12px; outline: none; }
.notify-form button { background: #10b981; border: none; color: #fff; border-radius: 8px; padding: 9px 16px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }

.faq { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #111827; border: 1px solid #1f2937; border-radius: 10px; padding: 16px 18px; }
.faq-item h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.faq-item p { color: #6b7280; font-size: 12px; line-height: 1.6; }

footer { background: #0d1117; border-top: 1px solid #1f2937; padding: 40px 32px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { color: #10b981; font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.footer-tagline { color: #6b7280; font-size: 12px; line-height: 1.6; max-width: 200px; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-link { width: 32px; height: 32px; border-radius: 8px; background: #1f2937; border: 1px solid #374151; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #9ca3af; }
.social-link:hover { color: #e5e7eb; border-color: #6b7280; }
.footer-col h5 { color: #9ca3af; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-col a { display: block; color: #6b7280; font-size: 12px; line-height: 2.2; }
.footer-col a:hover { color: #e5e7eb; }
.footer-badge { background: #1f2937; border: 1px solid #374151; border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; opacity: 0.6; }
.footer-badge .sub { color: #9ca3af; font-size: 10px; }
.footer-badge .name { color: #fff; font-size: 12px; font-weight: 700; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: #374151; font-size: 11px; }
