/* ═══════════════════════════════════════════════════════════════
   animations.css — Keyframes & Animation Utility Classes
   ═══════════════════════════════════════════════════════════════ */

/* ── Pulse ring (avatar +3 badge) ── */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 111, 232, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 111, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 111, 232, 0);
    }
}

/* ── Float (trusted widget) ── */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ── Fade up (entrance) ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Footer floating icons ── */
@keyframes floatA {
    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
    }
    50% {
        transform: translateY(-14px) rotate(2deg);
    }
}

@keyframes floatB {
    0%,
    100% {
        transform: translateY(0) rotate(8deg);
    }
    50% {
        transform: translateY(-10px) rotate(-4deg);
    }
}

@keyframes morph {
    0% {
        border-radius: 38% 62% 55% 45% / 45% 45% 55% 55%;
    }
    20% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    40% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
    }
    60% {
        border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
    }
    80% {
        border-radius: 40% 70% 40% 60% / 40% 60% 30% 70%;
    }
    100% {
        border-radius: 38% 62% 55% 45% / 45% 45% 55% 55%;
    }
}

@keyframes floatUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-4px);
    }
}

/* ── Utility classes ── */
.float-anim {
    animation: float 4s ease-in-out infinite;
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.7s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}
.delay-2 {
    animation-delay: 0.3s;
}
.delay-3 {
    animation-delay: 0.45s;
}
.delay-4 {
    animation-delay: 0.6s;
}
.delay-5 {
    animation-delay: 0.75s;
}
