/* Animations modernes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(142, 165, 255, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(142, 165, 255, 0.8);
        transform: scale(1.05);
    }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.gradient-animate {
    background: linear-gradient(270deg, #323b7f, #8ea5ff, #0D21A1);
    background-size: 600% 600%;
    animation: gradient-shift 8s ease infinite;
}

.text-glow {
    text-shadow: 0 0 30px rgba(142, 165, 255, 0.6),
                    0 0 60px rgba(142, 165, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Hover effects */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(50, 59, 127, 0.3);
}

.card-hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-hover::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(45deg, #8ea5ff, #0D21A1, #8ea5ff);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(50, 59, 127, 0.35);
}

.card-hover:hover::before {
    opacity: 1;
}

/* Image zoom effect */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom:hover img {
    transform: scale(1.2) rotate(2deg);
}

/* Stagger animations */
.stagger-fade {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.stagger-fade:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade:nth-child(2) { animation-delay: 0.3s; }
.stagger-fade:nth-child(3) { animation-delay: 0.5s; }
.stagger-fade:nth-child(4) { animation-delay: 0.7s; }

/* Button shimmer */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Header blur effect */
.header-blur {
    backdrop-filter: blur(12px) saturate(180%);
    background: rgba(255, 255, 255, 0.7);
}

body, html {
    overflow-x: unset !important;
}

