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

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

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes scale-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(79,70,229,0.3); }
    50% { box-shadow: 0 0 40px rgba(79,70,229,0.6); }
}

@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce-in {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes text-reveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes counter-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wave {
    0% { transform: translateX(0) translateZ(0) scaleY(1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(0.55); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 5s ease-in-out infinite 1s; }
.animate-rotate-slow { animation: rotate-slow 20s linear infinite; }
.animate-rotate-reverse { animation: rotate-reverse 15s linear infinite; }
.animate-scale-pulse { animation: scale-pulse 3s ease-in-out infinite; }
.animate-glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }
.animate-morph { animation: morph 8s ease-in-out infinite; }
.animate-gradient { animation: gradient-shift 3s ease infinite; background-size: 200% 200%; }

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

.parallax-layer {
    transition: transform 0.1s ease-out;
}

.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card-3d-inner {
    transform: translateZ(20px);
}

.text-shimmer {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 25%, var(--primary) 50%, var(--primary-light) 75%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s linear infinite;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(79,70,229,0.3);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-ai);
    z-index: 9999;
    transition: width 0.1s;
}

.cursor-follower {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
}

.cursor-follower.hover {
    width: 48px;
    height: 48px;
    border-color: var(--primary-light);
    background: rgba(79,70,229,0.1);
}

@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple-effect:active::after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

.number-counter {
    display: inline-block;
    transition: all 0.5s;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.wave-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    animation: wave 10s linear infinite;
}

.particle-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: particle-drift linear infinite;
}

@keyframes particle-drift {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 0.5;
        transform: translateY(-90vh) translateX(-10px) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(0) scale(0);
    }
}

.gradient-border {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-ai);
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

.glass-effect {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
}

.neon-text {
    text-shadow: 0 0 10px rgba(79,70,229,0.5), 0 0 20px rgba(79,70,229,0.3), 0 0 40px rgba(79,70,229,0.1);
}

.neon-box {
    box-shadow: 0 0 10px rgba(79,70,229,0.3), 0 0 20px rgba(79,70,229,0.1), inset 0 0 10px rgba(79,70,229,0.1);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-card .tilt-content {
    transform: translateZ(30px);
}
