/* Variables de Diseño Modern Premium */
:root {
    --primary: #05070A;
    --accent: #2BB673;
    --accent-glow: rgba(43, 182, 115, 0.3);
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --glass-bg: rgba(15, 23, 42, 0.8);
}

/* Configuraciones Base */
body {
    background-color: var(--primary);
    color: var(--text-main);
    overflow-x: hidden;
}

.glass {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Effect */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Estilo Neobrutalista Elegante para Cards */
.card-premium {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-premium:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

/* Tipografías Vanguardistas */
.text-display {
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.text-gradient {
    background: linear-gradient(to right, #2BB673, #5EEAD4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-gradient {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: #2BB673;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(43, 182, 115, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(43, 182, 115, 0.4);
}

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

::-webkit-scrollbar-track {
    background: #05070A;
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 10px;
}
/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 100px; /* Debajo del nav */
    right: 24px;
    z-index: 100;
}

.toast {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(43, 182, 115, 0.3);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show { transform: translateX(0); }

/* Validación visual */
input:focus:invalid { border-color: #ef4444 !important; }

/* Prevenir saltos visuales al bloquear scroll */
/* Bloqueo de scroll profesional */
.body-lock {
    overflow: hidden; /* Evita el scroll */
    touch-action: none; /* Evita el scroll por toque en móviles */
    height: 100%;
}
#mobile-menu {
    pointer-events: auto;
}

/* Animación de los enlaces del menú móvil */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease forwards;
}

#mobile-menu:not(.translate-x-full) .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

/* Delay escalonado para los enlaces */
#mobile-menu .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu .mobile-link:nth-child(4) { transition-delay: 0.4s; }