/* Animations CSS - All Keyframes and Animation Classes */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Float Animation for Particles */
@keyframes float {
    from {
        transform: translateY(100vh) translateX(0);
    }
    to {
        transform: translateY(-100px) translateX(100px);
    }
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(30deg);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-pulse {
    animation: pulse 4s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 10s linear infinite;
}

.animate-float {
    animation: float 20s infinite linear;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Hero Animations */
.hero-bg {
    animation: pulse 4s ease-in-out infinite;
}

.hero-title {
    animation: fadeInUp 1s forwards;
}

.hero-subtitle {
    animation: fadeInUp 1s 0.2s forwards;
}

.hero-cta-group {
    animation: fadeInUp 1s 0.4s forwards;
}

/* Product Animation */
.product-animation {
    animation: rotate 10s linear infinite;
}

/* Particle Animation */
.particle {
    animation: float 20s infinite linear;
}

/* Hover Transitions */
.transition-all {
    transition: all var(--transition-base);
}

.transition-transform {
    transition: transform var(--transition-base);
}

.transition-colors {
    transition: color var(--transition-base), background-color var(--transition-base);
}

.transition-shadow {
    transition: box-shadow var(--transition-base);
}

/* Transform on Hover */
.hover-lift:hover {
    transform: translateY(-5px);
}

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

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Loading Animation */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loading 0.8s linear infinite;
}

@keyframes orbitLeftToRight {
    0% {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    50% {
        transform: translateX(0%) scale(1);
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }
}

.orbiting-partners {
    position: relative;
    height: 60px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-text {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    opacity: 0;
}
