@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body { 
    font-family: 'Inter', sans-serif; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    width: 100%;
}

/* Movimiento tecnológico de fondo para el Hero */
.hero-animated-bg {
    background: linear-gradient(-45deg, #0f172a, #1e293b, #0891b2, #0f172a);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.glass-card-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilo Dropdown estilo Dropbox deslizable */
#mobile-menu {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    max-height: 100vh;
}

/* Animación de apertura del chat */
#chat-window.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

/* Personalizar scrollbar del chat */
.scrollbar-thin::-webkit-scrollbar {
    width: 4px;
}
.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #0891b2;
}

.message-content {
    white-space: pre-wrap; /* Esto respeta los saltos de línea que envía la IA */
}