/* ==========================================================================
   KAOZ DEV STUDIO - HOJA DE ESTILOS PRINCIPAL (HIGH CONTRAST THEME)
   Paleta: Azul Noche (#070913), Azul Eléctrico (#2563EB / #3B82F6),
           Morado Intenso (#7C3AED / #9333EA) y Rojo Carmesí (#E11D48 / #F43F5E)
   ========================================================================== */

:root {
    --bg-main: #070913;
    --bg-card: #0F1428;
    --bg-card-hover: #161D38;
    --border-subtle: #2E365F;
    --border-glow: #6366F1;
    --electric-blue: #2563EB;
    --electric-blue-light: #3B82F6;
    --deep-purple: #7C3AED;
    --deep-purple-light: #9333EA;
    --crimson-red: #E11D48;
    --crimson-neon: #F43F5E;
}

body {
    background-color: var(--bg-main);
    color: #F8FAFC;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

/* Grilla de ingeniería cibernética de alto contraste */
.bg-grid-cyber {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(46, 54, 95, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(46, 54, 95, 0.4) 1px, transparent 1px);
}

/* Gradientes de texto */
.text-gradient-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple-blue {
    background: linear-gradient(135deg, #60A5FA 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-crimson {
    background: linear-gradient(135deg, #F43F5E 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Resplandores y Efectos Glow */
.glow-blue-purple {
    box-shadow: 0 0 45px -10px rgba(59, 130, 246, 0.35), 0 0 25px -12px rgba(124, 58, 237, 0.3);
}

.glow-crimson {
    box-shadow: 0 0 35px -8px rgba(225, 29, 72, 0.4);
}

.glow-card {
    border-color: #2E365F;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-card:hover {
    border-color: #6366F1;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.25), 0 0 15px -3px rgba(225, 29, 72, 0.15);
    transform: translateY(-3px);
}

/* Scrollbar estilizada en tonos púrpura y azul */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #070913;
}
::-webkit-scrollbar-thumb {
    background: #2E365F;
    border-radius: 6px;
    border: 2px solid #070913;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563EB, #7C3AED);
}

/* Animaciones */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 4s infinite ease-in-out;
}

/* Estilo para acordeón desplegable */
details summary::-webkit-details-marker {
    display: none;
}

/* Widget de Chat en Vivo */
.chat-window {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px -5px rgba(59, 130, 246, 0.3);
}

.chat-bubble-agent {
    background: #161D38;
    border: 1px solid #2E365F;
}

.chat-bubble-user {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}
