/* 
 * NexusAI Motion System
 * Smooth, premium transitions for "back and forth" interactivity
 */

:root {
    /* Easing Curves */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   Entrance Animations
   ======================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s var(--ease-out-expo) forwards;
}

/* ========================================
   Interactive States (Back and Forth)
   ======================================== */

.hover-lift {
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--vox-shadow-lg);
}

.hover-glow {
    transition: box-shadow 0.3s var(--ease-in-out-smooth);
}

.hover-glow:hover {
    box-shadow: 0 0 20px var(--vox-primary-glow);
}

/* ========================================
   Page Transitions
   ======================================== */

.page-transition-enter {
    animation: fadeIn 0.5s var(--ease-in-out-smooth);
}

.page-transition-exit {
    animation: fadeIn 0.5s var(--ease-in-out-smooth) reverse;
}

/* ========================================
   3D Container Transitions
   ======================================== */

.scene-transition {
    transition: opacity 0.5s ease-in-out;
}

.scene-hidden {
    opacity: 0;
    pointer-events: none;
}