body {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.section-divider {
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.glass-nav {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* Particle Effects */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Wave Animation */
.wave-container {
    height: 150px;
    z-index: 1;
}

.wave-svg {
    width: 150%;
    height: 100%;
    animation: wave-movement 18s ease-in-out infinite;
}

.wave-parallax use:nth-child(1) {
    animation: wave-movement 12s ease-in-out infinite reverse;
}

.wave-parallax use:nth-child(2) {
    animation: wave-movement 15s ease-in-out infinite;
}

.wave-parallax use:nth-child(3) {
    animation: wave-movement 20s ease-in-out infinite reverse;
}

@keyframes wave-movement {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-40px); }
}

/* Enhanced floating animations */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(203, 213, 225, 0.15));
    animation: float-complex 12s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(148, 163, 184, 0.1);
}

.floating-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -6s;
    animation-duration: 22s;
}

.floating-shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 30%;
    animation-delay: -12s;
    animation-duration: 16s;
}

@keyframes float-complex {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-30px) translateX(20px) rotate(90deg); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) translateX(-15px) rotate(180deg); 
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-40px) translateX(25px) rotate(270deg); 
        opacity: 0.8;
    }
}

/* Section animations */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Card stagger animations */
.card-hover {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

/* Enhanced gradient background */
.gradient-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(148, 163, 184, 0.06) 0%, transparent 40%);
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wave-container {
        height: 80px;
    }
    
    .floating-shape {
        opacity: 0.3;
    }
    
    .floating-shape:nth-child(2) {
        display: none;
    }
    
    #particles-js canvas {
        opacity: 0.5;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}