@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #020617; /* slate-950 */
    color: #f8fafc; /* slate-50 */
    overflow-x: hidden;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* 3D Tilt Effect */
.tilt-card {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.tilt-content {
    transform: translateZ(20px);
}

/* Background Gradients */
.bg-grid-pattern {
    background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #06b6d4; /* cyan-500 */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee-slow {
    animation: marquee 25s linear infinite;
}

.animate-marquee-slow:hover {
    animation-play-state: paused;
}
