:root {
    --bg-main: #060913;
    --bg-glass: rgba(15, 23, 42, 0.72);
    --border-glass: rgba(255, 255, 255, 0.14);
    --text-main: #f1f5f9;
    --accent: #6366f1;
}
[data-bs-theme="light"] {
    --bg-main: #eef2ff;
    --bg-glass: rgba(255, 255, 255, 0.86);
    --border-glass: rgba(99, 102, 241, 0.18);
    --text-main: #0f172a;
}

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(at 10% 10%, rgba(99, 102, 241, 0.30) 0px, transparent 45%),
        radial-gradient(at 90% 15%, rgba(6, 182, 212, 0.25) 0px, transparent 42%),
        radial-gradient(at 80% 85%, rgba(236, 72, 153, 0.22) 0px, transparent 45%),
        radial-gradient(at 15% 85%, rgba(16, 185, 129, 0.22) 0px, transparent 45%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 38px 38px, 38px 38px;
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.45); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(6, 182, 212, 0.75); }

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 16px 38px rgba(99, 102, 241, 0.32);
}

/* Tombol Bergradasi Hidup */
.btn-glow-primary {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    border: none;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    transition: all 0.2s ease;
}
.btn-glow-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(6, 182, 212, 0.55);
}

.btn-glow-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}
.btn-glow-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(16, 185, 129, 0.55);
}

.ai-sidebar-item {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 12px;
    border: 1px solid transparent;
}
.ai-sidebar-item:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateX(4px);
}
.ai-sidebar-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.30), rgba(6, 182, 212, 0.18));
    border-color: #38bdf8;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}

.chat-bubble {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.6;
}
.chat-user {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}
.chat-ai {
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-bottom-left-radius: 4px;
}
[data-bs-theme="light"] .chat-ai {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(99, 102, 241, 0.2);
}

.quick-chip {
    cursor: pointer;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: inherit;
    font-size: 12px;
    padding: 4px 11px;
    border-radius: 999px;
    transition: all 0.18s ease;
}
.quick-chip:hover {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #fff;
    border-color: transparent;
}

/* === ANIMASI GEDUNG KANTOR VIRTUAL === */
.office-stage {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.office-building-anim {
    animation: floatY 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 50px rgba(56, 189, 248, 0.38));
}
.office-win { animation: windowGlow 3.2s ease-in-out infinite; }
.office-win.delay-1 { animation-delay: 0.6s; }
.office-win.delay-2 { animation-delay: 1.3s; }
.office-win.delay-3 { animation-delay: 2.0s; }

.floating-badge {
    position: absolute;
    z-index: 3;
    animation: floatBadge 4s ease-in-out infinite;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}
.fb-1 { top: 8%; left: 2%; animation-delay: 0s; border-color: rgba(56, 189, 248, 0.45); }
.fb-2 { top: 14%; right: 0%; animation-delay: 1s; border-color: rgba(244, 114, 182, 0.45); }
.fb-3 { bottom: 20%; left: 0%; animation-delay: 1.8s; border-color: rgba(52, 211, 153, 0.45); }
.fb-4 { bottom: 10%; right: 4%; animation-delay: 2.5s; border-color: rgba(167, 139, 250, 0.45); }

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 1.8s infinite;
}
.radar-ring {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1.5px dashed rgba(56, 189, 248, 0.4);
    animation: spinSlow 22s linear infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}
@keyframes windowGlow {
    0%, 100% { opacity: 0.45; fill: #38bdf8; }
    50% { opacity: 1; fill: #34d399; }
}
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}