
        body {
            background-color: #f8fafc;
            color: #334155;
            overflow-x: hidden;
        }

        .mesh-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -2;
            background: 
                radial-gradient(at 0% 0%, hsla(192,100%,94%,1) 0, transparent 50%), 
                radial-gradient(at 100% 0%, hsla(230,100%,96%,1) 0, transparent 50%), 
                radial-gradient(at 100% 100%, hsla(170,100%,94%,1) 0, transparent 50%), 
                radial-gradient(at 0% 100%, hsla(260,100%,97%,1) 0, transparent 50%);
            background-size: 200% 200%;
            animation: moveGradient 20s ease infinite;
        }

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

        .glass {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.3);
}

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

        .data-flow-line {
            stroke-dasharray: 10;
            animation: flow 2s linear infinite;
        }

        @keyframes flow {
            to { stroke-dashoffset: -20; }
        }

        .live-dot {
            position: relative;
        }
        .live-dot::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            background: #10b981;
            opacity: 0.4;
            animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

        .chat-bubble {
            animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        @keyframes popIn {
            from { opacity: 0; transform: scale(0.8) translateY(10px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .pulse-ring {
            position: absolute;
            border-radius: 50%;
            border: 2px solid currentColor;
            opacity: 0;
            animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
        }
        @keyframes pulseRing {
            0% { transform: scale(0.8); opacity: 0.8; }
            100% { transform: scale(2); opacity: 0; }
        }

        .gradient-text {
            background: linear-gradient(135deg, #0ea5e9, #6366f1, #14b8a6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* ============================================
           MODERN SPLASH SCREEN - GANTI SEMUA DARI SINI
           ============================================ */
        
        #splashScreen {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: #0f172a;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        /* Animated Background Gradient */
        .splash-aurora {
            position: absolute;
            inset: 0;
            background: 
                radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.3), transparent),
                radial-gradient(ellipse 60% 40% at 80% 80%, rgba(99, 102, 241, 0.2), transparent),
                radial-gradient(ellipse 50% 30% at 20% 60%, rgba(20, 184, 166, 0.15), transparent);
            filter: blur(60px);
            animation: auroraMove 20s ease-in-out infinite;
        }

        @keyframes auroraMove {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -30px) rotate(120deg); }
            66% { transform: translate(-20px, 20px) rotate(240deg); }
        }

        /* Grid Pattern Overlay */
        .splash-grid {
            position: absolute;
            inset: 0;
            background-image: 
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
            -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
        }

        /* Floating Particles */
        .splash-particles {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255,255,255,0.4);
            border-radius: 50%;
            animation: particleFloat 15s infinite;
        }

        .particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
        .particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; }
        .particle:nth-child(3) { left: 80%; top: 10%; animation-delay: 4s; }
        .particle:nth-child(4) { left: 90%; top: 70%; animation-delay: 6s; }
        .particle:nth-child(5) { left: 50%; top: 50%; animation-delay: 8s; }
        .particle:nth-child(6) { left: 30%; top: 40%; animation-delay: 10s; }
        .particle:nth-child(7) { left: 70%; top: 30%; animation-delay: 12s; }
        .particle:nth-child(8) { left: 40%; top: 90%; animation-delay: 14s; }

        @keyframes particleFloat {
            0%, 100% { 
                transform: translateY(0) translateX(0) scale(1); 
                opacity: 0;
            }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { 
                transform: translateY(-100vh) translateX(50px) scale(0); 
                opacity: 0;
            }
        }

        /* Main Content Container */
        .splash-content {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 2rem;
            max-width: 600px;
            animation: contentFloat 6s ease-in-out infinite;
        }

        @keyframes contentFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        /* Logo Container with Glow */
        .splash-logo-container {
            position: relative;
            margin-bottom: 3rem;
            display: inline-block;
        }

        .splash-logo-glow {
            position: absolute;
            inset: -20px;
            background: conic-gradient(from 0deg, transparent, #0ea5e9, #6366f1, #14b8a6, transparent);
            border-radius: 50%;
            filter: blur(20px);
            opacity: 0.5;
            animation: glowRotate 4s linear infinite;
        }

        @keyframes glowRotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .splash-logo {
            position: relative;
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #14b8a6 100%);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 
                0 0 0 1px rgba(255,255,255,0.1),
                0 25px 50px -12px rgba(14, 165, 233, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.2);
            transform-style: preserve-3d;
            animation: logoPulse 2s ease-in-out infinite;
        }

        @keyframes logoPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .splash-logo::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 24px;
            background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
            pointer-events: none;
        }

        .splash-logo i {
            font-size: 2.5rem;
            color: white;
            position: relative;
            z-index: 1;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        /* Brand Typography */
        .splash-brand {
            margin-bottom: 2.5rem;
        }

        .splash-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
            letter-spacing: -0.03em;
            line-height: 1.1;
            margin-bottom: 0.75rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
        }

        .splash-title .highlight {
            background: linear-gradient(135deg, #0ea5e9, #6366f1, #14b8a6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
        }

        .splash-subtitle {
            font-size: 0.875rem;
            color: rgba(255,255,255,0.5);
            font-weight: 500;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards 0.6s;
        }

        /* Feature Pills */
        .splash-features {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards 0.9s;
        }

        .splash-pill {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 9999px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .splash-pill:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.2);
            transform: translateY(-2px);
        }

        .splash-pill i {
            font-size: 0.75rem;
            color: #0ea5e9;
        }

        .splash-pill span {
            font-size: 0.75rem;
            color: rgba(255,255,255,0.7);
            font-weight: 500;
        }

        /* Progress Section */
        .splash-progress-section {
            opacity: 0;
            animation: fadeIn 0.8s ease forwards 1.2s;
        }

        .splash-status {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .splash-status-dot {
            width: 8px;
            height: 8px;
            background: #10b981;
            border-radius: 50%;
            position: relative;
        }

        .splash-status-dot::after {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            background: #10b981;
            opacity: 0.4;
            animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
        }

        .splash-status-text {
            font-size: 0.75rem;
            color: rgba(255,255,255,0.6);
            font-weight: 500;
            letter-spacing: 0.05em;
        }

        /* Modern Progress Bar */
        .splash-loader {
            width: 200px;
            height: 3px;
            background: rgba(255,255,255,0.1);
            border-radius: 3px;
            margin: 0 auto;
            overflow: hidden;
            position: relative;
        }

        .splash-loader-track {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .splash-loader-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #0ea5e9, #6366f1, #14b8a6);
            border-radius: 3px;
            position: relative;
            animation: loadProgress 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 1.5s;
            box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
        }

        .splash-loader-bar::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(255,255,255,0.8);
        }

        @keyframes loadProgress {
            0% { width: 0%; }
            50% { width: 70%; }
            100% { width: 100%; }
        }

        /* Version Badge */
        .splash-version {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.75rem;
            color: rgba(255,255,255,0.3);
            font-weight: 500;
            letter-spacing: 0.1em;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards 1.8s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .splash-version::before {
            content: '';
            width: 4px;
            height: 4px;
            background: rgba(255,255,255,0.3);
            border-radius: 50%;
        }

/* Exit Animation - Fast & Clean */
.splash-exit {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s ease-out !important;
    opacity: 0 !important;
    transform: scale(1.02) !important;
    pointer-events: none;
}

        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        /* ============================================
           SAMPAI SINI - AKHIR SPLASH SCREEN BARU
           ============================================ */

        @media (max-width: 768px) {
            .glass-card:hover {
                transform: none;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            }
            
            .splash-title {
                font-size: 1.875rem;
            }
            
            .splash-logo {
                width: 80px;
                height: 80px;
            }
            
            .splash-features {
                gap: 0.5rem;
            }
            
            .splash-pill {
                padding: 0.375rem 0.75rem;
            }
        }
        
        /* Modern Button Animations */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-modern:hover::before {
    transform: scaleX(1);
}

.btn-modern:active {
    transform: translateY(0) scale(0.98);
}

.btn-modern span,
.btn-modern i {
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

/* Warna spesifik untuk setiap tombol */
.btn-primary::before { background: #0ea5e9; }
.btn-primary:hover { color: white; box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4); }

.btn-accent::before { background: #14b8a6; }
.btn-accent:hover { color: white; box-shadow: 0 10px 25px -5px rgba(20, 184, 166, 0.4); }

.btn-warning::before { background: #f59e0b; }
.btn-warning:hover { color: white; box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4); }

.btn-secondary::before { background: #6366f1; }
.btn-secondary:hover { color: white; box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4); }

.btn-danger::before { background: #ef4444; }
.btn-danger:hover { color: white; box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.4); }

.btn-success::before { background: #10b981; }
.btn-success:hover { color: white; box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4); }

/* Icon animation */
.btn-modern:hover i {
    transform: translateX(4px);
}/* Chat Bubble Colors - Fix Green Theme */
.chat-bubble-user {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 1rem 1rem 0.25rem 1rem;
    box-shadow: 0 4px 15px -3px rgba(16, 185, 129, 0.3);
}

.chat-bubble-ai {
    background: white;
    color: #334155;
    border-radius: 1rem 1rem 1rem 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Input focus ring hijau */
#chatInput:focus {
    ring: 2px;
    ring-color: rgba(16, 185, 129, 0.5);
    border-color: #10b981;
}

/* Send button gradient */
.btn-send {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

.btn-send:active {
    transform: scale(0.95);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}


