/* YSB SYS v2 AI Assistant Edition - Astryx Design System Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Raleway:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-dark: #030712;
    --card-bg: rgba(15, 23, 42, 0.85);
    --brand-primary: #6366f1;
    --brand-cyan: #06b6d4;
    --brand-emerald: #10b981;
    --brand-amber: #f59e0b;
    --brand-rose: #f43f5e;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: #f8fafc;
    overflow: hidden;
}

.font-outfit { font-family: 'Outfit', sans-serif; }
.font-raleway { font-family: 'Raleway', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Slide Section Styling */
.slide-section {
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.98);
}

.slide-section.active-slide {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

/* Interactive Card Effects */
.interactive-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(16px);
}

.interactive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(3, 7, 18, 0.6);
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.8);
}

/* Modal Animation */
.modal-animate-enter {
    animation: modalEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* AI Chat Widget Specifics */
.ai-chat-bubble-user {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: white;
    border-radius: 1.25rem 1.25rem 0.25rem 1.25rem;
}

.ai-chat-bubble-bot {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-radius: 1.25rem 1.25rem 1.25rem 0.25rem;
}
