/* ==================== ANIMATIONS ==================== */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right Animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Grid Move Animation */
@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Slide In From Bottom */
@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* Apply Animations to Elements */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.hero-logo {
    animation: float 3s ease-in-out infinite;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.command-card {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.command-card:nth-child(1) { animation-delay: 0.1s; }
.command-card:nth-child(2) { animation-delay: 0.2s; }
.command-card:nth-child(3) { animation-delay: 0.3s; }
.command-card:nth-child(4) { animation-delay: 0.4s; }
.command-card:nth-child(5) { animation-delay: 0.5s; }
.command-card:nth-child(6) { animation-delay: 0.6s; }

.stat-card {
    animation: scaleIn 0.6s ease-out forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Navbar Scroll Effect */
.navbar {
    transition: all 0.3s ease;
}

/* Loading Animation */
.loading-dot {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Hover Lift Effect */
.feature-card,
.command-card,
.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Glow Effect */
.hero-title,
.section-title {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Card Entrance Animations */
.feature-card.visible,
.command-card.visible,
.stat-card.visible {
    animation-play-state: running;
}

/* Grid Background Animation */
.grid-overlay {
    animation: gridMove 20s linear infinite;
}

/* CTA Section Pulse */
.cta-logo {
    animation: float 3s ease-in-out infinite;
}

/* Footer Links Slide */
.footer-section a {
    transition: all 0.3s ease, padding-left 0.3s ease;
}

/* Ripple Effect (wird via JS hinzugefügt) */
@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}