/* Smooth Scroll */
html { scroll-behavior: smooth; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0B0C15; }
::-webkit-scrollbar-thumb { background: #2A2D3E; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #14b8a6; }

/* Glassmorphism Utilities */
.glass {
    background: rgba(21, 23, 37, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(145deg, rgba(21, 23, 37, 0.9) 0%, rgba(21, 23, 37, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel {
    background: rgba(21, 23, 37, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, #2dd4bf 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid Pattern Background */
.bg-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* View Transitions */
.view-transition-enter { animation: fadeIn 0.3s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.active-nav-item {
    background: rgba(20, 184, 166, 0.1);
    color: #2dd4bf;
    border-right: 3px solid #14b8a6;
}