/* ===================================
   INNOVATIVE SKILLS - ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

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

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s var(--ease-out) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s var(--ease-spring) forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

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

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

/* Hero Animation Elements */
.hero-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-animation__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-animation__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
}

.hero-animation__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-animation__orb--1 {
    width: 300px;
    height: 300px;
    background: rgba(6, 182, 212, 0.2);
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.hero-animation__orb--2 {
    width: 200px;
    height: 200px;
    background: rgba(139, 92, 246, 0.15);
    top: 60%;
    right: 15%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-animation__orb--3 {
    width: 150px;
    height: 150px;
    background: rgba(59, 130, 246, 0.1);
    bottom: 20%;
    left: 30%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-glow {
    transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
    box-shadow: var(--glow-cyan);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .animate-fade-in,
    .animate-fade-in-up,
    .animate-scale-in,
    .animate-float,
    .animate-glow {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-animation__orb {
        animation: none;
    }
}