/* ==========================================================================
   PRO-LEVEL ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* 1. LAYER: ENTRANCE - KEN BURNS EFFECT (HERO) */
/* Requires the hero-bg class overlay on the background instead of inline style */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: kenburns 6s ease-out forwards;
}

@keyframes kenburns {
    0% {
        transform: scale(1.1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Gradient Overlay for Hero Visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

/* 2. LAYER: MICRO-INTERACTIONS */

/* Buttons Magnetic / Glow Hover */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.btn:hover::after {
    left: 150%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Feature Icons Hover bounce */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    animation: iconBounce 0.5s ease infinite alternate;
}

@keyframes iconBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}