/* ==========================================================================
   NEXTLEVEL INSTALA - ESTILOS PERSONALIZADOS Y GLASSMORPHISM
   ========================================================================== */

/* Reglas de Fuente Global */
body, html {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #070b14;
  color: #f1f5f9;
  scroll-behavior: smooth;
}

/* Glassmorphism Refinado */
.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  background: rgba(20, 30, 55, 0.75);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px 0 rgba(0, 210, 255, 0.12);
}

/* Degradados de Marca */
.brand-gradient-text {
  background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-gradient-bg {
  background: linear-gradient(135deg, #00d2ff 0%, #2563eb 50%, #9333ea 100%);
}

/* Animaciones suaves */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Tab panes transiciones */
.tab-pane {
  animation: fadeIn 0.35s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #070b14;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00d2ff;
}

/* Inputs & Focus glow */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.25);
}

/* Campo señuelo honeypot para protección contra bots automatizados */
.hp-secure-trap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: -10 !important;
}

/* Alerta de bloqueo por tasa de envíos */
.rate-limit-warning {
  border-left: 4px solid #ef4444;
}

/* Asegurar legibilidad en dispositivos móviles */
@media (max-width: 640px) {
  .glass-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
