/* ============================================
   THE SOCCER LIFE — Landing Page Styles
   Athletic, energetic, no-nonsense
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito+Sans:wght@400;600;700;800&display=swap');

/* ─── Variables ──────────────────────────────── */
:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2128;
  --bg-card-hover: #22272e;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --accent-green: #39d353;
  --accent-green-dim: #238636;
  --accent-yellow: #e3b341;
  --accent-coral: #ff7b72;
  --border-color: #30363d;
  --border-light: #21262d;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Typography ────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

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

/* ─── Navigation ────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

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

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-logo span { color: var(--accent-green); }

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent-green);
  color: var(--bg-primary) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 800 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #4ae563 !important; }

/* Mobile nav */
.nav-links { display: none; }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ─── Hero ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_139857/1e3a5b28-6f0b-43cb-920c-83657b532fd3.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.18;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13, 17, 23, 0.97) 0%,
    rgba(22, 27, 34, 0.85) 50%,
    rgba(13, 17, 23, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(57, 211, 83, 0.12);
  border: 1px solid rgba(57, 211, 83, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 0.95;
}

.hero h1 .accent { color: var(--accent-green); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-form input[type="email"] {
  flex: 1;
  min-width: 260px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Nunito Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form input[type="email"]:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(57, 211, 83, 0.15);
}

.hero-form input[type="email"]::placeholder { color: var(--text-muted); }

.btn-primary {
  background: var(--accent-green);
  color: var(--bg-primary);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: #4ae563; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover { border-color: var(--text-secondary); background: var(--bg-card); }

.hero-form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-form-note span { color: var(--accent-green); }

/* Success state */
.hero-form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(57, 211, 83, 0.1);
  border: 1px solid rgba(57, 211, 83, 0.3);
  border-radius: 8px;
  color: var(--accent-green);
  font-weight: 700;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Problem Section ───────────────────────── */
.section-problem {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 60px;
  max-width: 640px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  gap: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.problem-card:hover { border-color: var(--border-color); }

.problem-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 123, 114, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.problem-card h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: 0;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Solution Section ──────────────────────── */
.section-solution {
  padding: 100px 0;
}

.solution-header {
  text-align: center;
  margin-bottom: 64px;
}

.solution-header .section-title { margin: 0 auto 16px; }
.solution-header p { color: var(--text-secondary); max-width: 480px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-yellow));
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-card:hover {
  border-color: rgba(57, 211, 83, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before { opacity: 1; }

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

.feature-card h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: 0;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Pricing Section ───────────────────────── */
.section-pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-title { margin: 0 auto 16px; }
.pricing-header p { color: var(--text-secondary); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}

@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card.featured {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px rgba(57, 211, 83, 0.2), 0 0 48px rgba(57, 211, 83, 0.08);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: var(--bg-primary);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 100px;
  font-weight: 700;
}

.pricing-plan-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-price .amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-price .period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.pricing-features li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(57, 211, 83, 0.12);
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  font-weight: 700;
}

.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.pricing-cta.primary {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.pricing-cta.primary:hover { background: #4ae563; }

.pricing-cta.secondary {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.pricing-cta.secondary:hover { border-color: var(--text-secondary); }

/* ─── Testimonials ──────────────────────────── */
.section-testimonials {
  padding: 100px 0;
}

.testimonials-header { text-align: center; margin-bottom: 56px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-quote::before { content: '"'; }
.testimonial-quote::after { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--accent-green);
  flex-shrink: 0;
}

.testimonial-name { font-weight: 800; font-size: 0.9rem; color: var(--text-primary); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* ─── Footer ────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 56px 0 40px;
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand .nav-logo { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; max-width: 280px; line-height: 1.5; }

.footer-email-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-email-form input {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Nunito Sans', sans-serif;
  outline: none;
  min-width: 200px;
  transition: border-color 0.2s;
}

.footer-email-form input:focus { border-color: var(--accent-green); }
.footer-email-form input::placeholder { color: var(--text-muted); }

.footer-email-form button {
  background: var(--accent-green);
  color: var(--bg-primary);
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s;
}

.footer-email-form button:hover { background: #4ae563; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* ─── Animations ────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fade-up 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ─── Utilities ─────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Section divider */
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--accent-green);
  border-radius: 2px;
  margin: 20px 0;
}