/**
 * Vyaplin Business Solutions - Animations & Micro-Interactions
 * Lightweight CSS3 animations designed for 60fps hardware-accelerated rendering
 */

/* Fade In Up Entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered Delay Utilities */
.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; }

/* Subtle Shimmer for High-Priority Badges */
@keyframes shimmerEffect {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.badge-shimmer {
    background: linear-gradient(90deg, rgba(113, 31, 194, 0.08) 0%, rgba(113, 31, 194, 0.2) 50%, rgba(113, 31, 194, 0.08) 100%);
    background-size: 200% 100%;
    animation: shimmerEffect 4s infinite linear;
}

/* Float Glow Animation */
@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(113, 31, 194, 0.2);
    }
    50% {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(113, 31, 194, 0.35);
    }
}

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

/* Pulse Scale */
@keyframes softPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.soft-pulse {
    animation: softPulse 3s ease-in-out infinite;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

