@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Vibrant Utilities */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.05),
        0 0 15px -3px rgba(99, 102, 241, 0.1);
    /* Subtle Indigo Glow */
}

.shadow-soft {
    box-shadow: 0 4px 25px -4px rgba(15, 23, 42, 0.05);
}

/* Vibrant Mesh Gradients */
.mesh-gradient-hero {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, rgba(45, 212, 191, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
    filter: blur(40px);
}

.mesh-blob-teal {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.4) 0%, rgba(45, 212, 191, 0) 70%);
    filter: blur(60px);
}

.mesh-blob-indigo {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(60px);
}

.mesh-blob-pink {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, rgba(236, 72, 153, 0) 70%);
    filter: blur(60px);
}

/* Glassmorphism Light */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Text Gradients */
.text-gradient-vibrant {
    background: linear-gradient(135deg, #2DD4BF 0%, #6366F1 50%, #EC4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Scroll Behavior */
/* Scroll Behavior */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

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

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

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

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

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

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

/* Mobile Menu */
.mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Continuous "Wide Roaming" Orbits Animation (V4.1 - Dynamic Scaling) */

/* Path 1: Clockwise Triangle (Teal) - Wide Sweep + Heavy Pulse */
@keyframes float-orbit-1 {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1);
    }

    33% {
        transform: translate3d(45vw, -20vh, 0) scale(1.3);
    }

    66% {
        transform: translate3d(20vw, 30vh, 0) scale(0.8);
    }

    100% {
        transform: translate3d(0px, 0px, 0) scale(1);
    }
}

/* Path 2: Counter-Clockwise Box/Ellipse (Indigo) - Deep Cross + Shrink/Grow */
@keyframes float-orbit-2 {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1);
    }

    25% {
        transform: translate3d(-35vw, 20vh, 0) scale(0.8);
    }

    50% {
        transform: translate3d(-50vw, -10vh, 0) scale(1.2);
    }

    75% {
        transform: translate3d(-20vw, -30vh, 0) scale(0.9);
    }

    100% {
        transform: translate3d(0px, 0px, 0) scale(1);
    }
}

/* Path 3: Figure-8 (Fuchsia) - Full Width + Agile Breathing */
@keyframes float-orbit-3 {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1);
    }

    25% {
        transform: translate3d(30vw, -20vh, 0) scale(1.2);
    }

    50% {
        transform: translate3d(50vw, 15vh, 0) scale(0.8);
    }

    75% {
        transform: translate3d(20vw, 35vh, 0) scale(1.1);
    }

    100% {
        transform: translate3d(0px, 0px, 0) scale(1);
    }
}

.animate-blob-1 {
    animation: float-orbit-1 25s infinite ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.animate-blob-2 {
    animation: float-orbit-2 35s infinite ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.animate-blob-3 {
    animation: float-orbit-3 30s infinite ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Marquee Animation for Candidate Logos */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 60s linear infinite;
    width: max-content;
    display: flex;
}

.animate-marquee:hover {
    animation-play-state: paused;
}