/* Hero Gradient Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-gradient-bg {
    background: linear-gradient(
        -45deg,
        var(--terminal-bg),
        var(--terminal-bg-light),
        var(--terminal-bg),
        var(--terminal-bg-light)
    );
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

/* Terminal-specific animations */
@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.terminal-window:hover {
    animation: glitch 0.3s ease;
}

/* Progress bar animation */
@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Glow pulse */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Terminal Output Animations */
.terminal-output {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.terminal-output.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for Service Items */
.service-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-item.active {
    opacity: 1;
    transform: translateX(0);
}

.service-item:nth-child(1).active {
    transition-delay: 0.1s;
}

.service-item:nth-child(2).active {
    transition-delay: 0.2s;
}

.service-item:nth-child(3).active {
    transition-delay: 0.3s;
}

/* ASCII Table Animation */
.ascii-table {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ascii-table.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Item Animation */
.gallery-item {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gallery-item.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:nth-child(1).active {
    transition-delay: 0.1s;
}

.gallery-item:nth-child(2).active {
    transition-delay: 0.2s;
}

.gallery-item:nth-child(3).active {
    transition-delay: 0.3s;
}

.gallery-item:nth-child(4).active {
    transition-delay: 0.4s;
}

/* Product Preview Animation */
.product-preview {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.product-preview.active {
    opacity: 1;
    transform: scale(1);
}

/* Removed pulse animation for terminal theme */
