/* --- SECCIÓN HERO --- */
.hero {
  background-color: var(--bg); /* Fondo negro profundo */
  color: var(--secundary-text-color);
  padding: 1.5rem 5% 1.5rem 5%;
  display: flex;
  justify-content: center;
}

.hero-container {
  max-width: 1200px; /* Mantiene el contenido centrado en pantallas ultra anchas */
  width: 100%;
  text-align: center;
}

/* Tipografía del Hero */
.hero-text h1 {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.highlight {
  color: var(--primario); /* Amarillo neón */
}

.hero-text p {
  font-size: 1.3rem;
  line-height: 1.5;
  max-width: 800px; /* Evita que el texto sea muy largo de leer */
  margin: 0 auto 3rem auto;
  color: var(--secundary-text-color);
}

/* Botones del Hero */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.btn-primary {
  background-color: var(--primario);
  color: #000;
}

.btn-primary:hover {
  background-color: #d4e600;
  transform: translateY(-3px); /* Pequeño salto al pasar el mouse */
}

.btn-primary .arrow {
  margin-left: 10px;
  font-size: 1.2rem;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Estadísticas (Uso de CSS Grid para alinear fácilmente) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
  gap: 2rem;
}

.stat-item h3 {
  color: var(--primario);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  color: #f5f5f5;
}

/* --- RESPONSIVE DESIGN PARA EL HERO --- */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 4rem;
  }
  .stat-item h3 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 5%;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-text p {
    font-size: 1.1rem;
  }
  .hero-stats {
    /* En tablets pasamos a 2 columnas */
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  /* Apilamos los botones uno sobre otro en móviles */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    /* En celulares pequeños pasamos a 1 sola columna */
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
