/* ====================================
   ANIMAÇÕES PROFISSIONAIS - CORPORATIVO
   Movimentos sutis e elegantes
   ==================================== */

/* Fade In - Entrada Profissional */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float Sutil - Breathing Effect */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Subtle Glow - Profissional */
@keyframes subtleGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 0 rgba(59, 130, 246, 0);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
    }
}

/* Gradient Animation - Suave */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

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

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

/* Loading Spinner - Profissional */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Shimmer Premium - Muito Sutil */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        background-position: 1000px 0;
        opacity: 0;
    }
}

/* Reveal - Efeito Premium */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


/* ====================================
   CLASSES DE ANIMAÇÃO - TIMING PROFISSIONAL
   ==================================== */

.animate-fade-in {
    animation: fadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.animate-glow {
    animation: subtleGlow 3s ease-in-out infinite;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-reveal {
    animation: reveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ====================================
   DELAYS ESCALONADOS
   ==================================== */

.delay-100 { animation-delay: 150ms; }
.delay-200 { animation-delay: 300ms; }
.delay-300 { animation-delay: 450ms; }
.delay-400 { animation-delay: 600ms; }
.delay-500 { animation-delay: 750ms; }

/* ====================================
   HOVER EFFECTS - MINIMALISTAS
   ==================================== */

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hover-scale {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hover-glow {
    transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2),
                0 4px 16px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}



/* ====================================
   GLASSMORPHISM - PROFISSIONAL
   ==================================== */

.glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ====================================
   GRADIENT TEXT - SUAVE
   ==================================== */

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

/* ====================================
   PERFORMANCE OPTIMIZATION
   ==================================== */

.parallax {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Smooth GPU acceleration */
.gpu-accelerated {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform, opacity;
}

/* ====================================
   MICRO-INTERACTIONS PREMIUM
   ==================================== */

.btn-premium-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-hover:hover::before {
    width: 300px;
    height: 300px;
}

/* ====================================
   ELEGANT LOADING STATES
   ==================================== */

.loading-elegant {
    position: relative;
    overflow: hidden;
}

.loading-elegant::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent);
    animation: shimmer 2.5s infinite;
}

/* ====================================
   ACCESSIBILITY - REDUCE MOTION
   ==================================== */

@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;
    }
}
