/* Motion System & Subtleties */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Subtly Glowing Elements */
@keyframes ambient-glow {
    0% { box-shadow: 0 0 15px rgba(34, 197, 94, 0.1), inset 0 0 10px rgba(34, 197, 94, 0.05); }
    50% { box-shadow: 0 0 25px rgba(34, 197, 94, 0.2), inset 0 0 20px rgba(34, 197, 94, 0.1); }
    100% { box-shadow: 0 0 15px rgba(34, 197, 94, 0.1), inset 0 0 10px rgba(34, 197, 94, 0.05); }
}

.glow-effect {
    animation: ambient-glow 4s infinite alternate;
}

/* Floating Dust Particles */
.dust-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.dust-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Parallax Background */
@keyframes slow-pan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.1) translate(-1%, -1%); }
}

.parallax-bg {
    animation: slow-pan 30s infinite alternate ease-in-out;
}