/* Score GoalX - Academy Landing Page Styles */

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #07112B;
  color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: rgba(255, 255, 255, 0.6);
}

a {
  color: #60A5FA;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #BFDBFE;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* === HEADER === */
.header {
  background: #0E1F45;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-badge {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1E3A8A, #60A5FA);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1E3A8A, #60A5FA);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* === HERO === */
.hero {
  background: linear-gradient(180deg, #0A1628 0%, #1E3A8A 50%, #2563EB 100%);
  padding: 6rem 0 8rem;
  position: relative;
  text-align: center;
}

.hero-badge {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #1E3A8A, #60A5FA);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(96, 165, 250, 0.3);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.app-store-badge {
  display: inline-block;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

.app-store-badge:hover {
  transform: scale(1.05);
}

.app-store-badge img {
  height: 60px;
}

/* === WAVE DIVIDER === */
.wave-divider {
  position: relative;
  background: #07112B;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: #07112B;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1E3A8A, #60A5FA);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.step-content p {
  color: rgba(255, 255, 255, 0.6);
}

/* === FEATURES === */
.features {
  background: #0E1F45;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(96, 165, 250, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
}

/* === STATS === */
.stats {
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #BFDBFE, #FFFFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* === CTA === */
.cta {
  background: #07112B;
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 80"><path fill="%230E1F45" d="M0,40 Q300,0 600,40 T1200,40 L1200,0 L0,0 Z"/></svg>') no-repeat center top;
  background-size: 100% 80px;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #1E3A8A, #60A5FA);
  color: #FFFFFF;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(96, 165, 250, 0.6);
  color: #FFFFFF;
}

/* === FOOTER === */
.footer {
  background: #0E1F45;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* === PRIVACY/CONTACT PAGES === */
.page-header {
  background: linear-gradient(180deg, #0A1628 0%, #1E3A8A 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-content {
  background: #07112B;
  padding: 3rem 0;
}

.content-card {
  background: #0E1F45;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #60A5FA;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-card ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-card li {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

/* Contact form */
.contact-info {
  text-align: center;
  padding: 2rem;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 12px;
  margin-top: 2rem;
}

.contact-email {
  font-size: 1.25rem;
  color: #60A5FA;
  font-weight: 600;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  .hero {
    padding: 8rem 0 10rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile menu toggle (hidden by default for simple nav) */
@media (max-width: 767px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0E1F45;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}
