/* ===== HERO/BANNER CSS ===== */

/* Sección hero basada en la referencia WHMCS con color de marca */
.app-hero {
  background: linear-gradient(135deg, #184a9a 0%, #1565C0 25%, #184a9a 50%, #1E88E5 75%, #184a9a 100%);
  padding: 60px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.app-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.app-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

/* Elementos decorativos del hero */
.hero-section:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(24, 74, 154, 0.05);
}

.hero-section:after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(13, 202, 240, 0.05);
}

/* Botones basados en la referencia WHMCS */
.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-blue);
  border-color: white;
}

/* Badge estilo WHMCS */
.badge-rounded {
  background-color: var(--primary-blue);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Estilos para botones del hero */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-hero .btn.btn-primary {
  background: linear-gradient(135deg, #184a9a 0%, #1565C0 100%);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.app-hero .btn.btn-primary:hover {
  background: linear-gradient(135deg, #1565C0 0%, #0b5ed7 100%);
  transform: translateY(-50px) scale(1.05);
  box-shadow: 0 8px 25px rgba(24, 74, 154, 0.3);
}

/* Ajustes para la visualización en móviles */
@media (max-width: 991.98px) {
  .app-hero .app-image {
    height: 350px; /* Reduce la altura en móviles */
    margin-top: 10px; /* Ajusta la posición vertical de la animación */
  }
}

/* Responsive para hero */
@media (max-width: 768px) {
  .app-hero .btn.btn-primary {
    width: 100%;
    margin-bottom: 10px;
  }

  .app-hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .app-hero .hero-buttons {
    flex-direction: column;
  }
  
  .app-hero .btn.btn-primary,
  .app-hero .btn.btn-outline-light {
    width: 100%;
    text-align: center;
  }
  
  .app-hero h1 {
    font-size: 2.5rem;
  }
  
  .app-hero p {
    font-size: 1.1rem;
  }
}

/* Fix para que el contenido del hero esté sobre la animación de partículas */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.app-hero .container {
  position: relative;
  z-index: 1;
}

/* ===== FIN HERO/BANNER CSS ===== */
