/* hero.css - Versión completa y centrada */

/* ===== HERO SECTION ===== */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: visible;
  padding: 4rem 1rem;
  margin-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { 
    opacity: 0.5; 
    transform: scale(1); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.1); 
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-gray);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.6;
}

.hero-buttons, 
.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-btn {
  padding: 1rem 2rem;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
}

.cta-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: var(--shadow-glow);
}

.cta-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.cta-primary:hover {
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

/* Efectos adicionales para los botones */
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

/* Iconos en los botones */
.cta-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 50px);
    padding: 3rem 1rem;
    margin-top: 50px;
  }
  
  .hero-cta,
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 1.2rem 2rem;
  }
  
  .hero h1 {
    margin-bottom: 1.5rem;
  }
  
  .hero p {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: calc(100vh - 40px);
    margin-top: 40px;
    padding: 2rem 1rem;
  }
  
  .cta-btn {
    max-width: 280px;
    padding: 1rem 1.5rem;
    font-size: 14px;
  }
  
  .hero h1 {
    margin-bottom: 1rem;
  }
  
  .hero p {
    margin-bottom: 1.5rem;
  }
}

/* Para pantallas muy grandes */
@media (min-width: 1200px) {
  .hero {
    padding: 6rem 2rem;
  }
  
  .hero-content {
    max-width: 1000px;
  }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.6s both;
}