body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* 
   Native Smooth Scroll with Offset 
   This handles the fixed header automatically without complex JS 
*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px; /* Height of nav (80px) + a little buffer */
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Chat specific scrollbar */
.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
}

/* Navigation Active State */
.nav-link {
    position: relative;
    color: #475569; /* Slate-600 */
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Link Active State */
.mobile-nav-link.active {
    color: #2563eb;
    background-color: #eff6ff; /* blue-50 */
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-fade-in {
    animation: fadeInUp 0.4s ease-out forwards;
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Helper to rotate the chat toggle button */
.rotate-90-opacity-0 {
    transform: rotate(90deg);
    opacity: 0;
}