/* ── Keyframes ───────────────────────────────────────────────────────── */
@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes meshFloat1 {

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

    50% {
        transform: translate(-40px, 30px) scale(1.1);
    }
}

@keyframes meshFloat2 {

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

    50% {
        transform: translate(30px, -40px) scale(1.08);
    }
}

@keyframes spScroll {
    0% {
        transform: translateX(0);
    }

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

@keyframes ringPulse {

    0%,
    100% {
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(59, 210, 208, 0);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 0 6px rgba(59, 210, 208, 0.15);
    }
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

@keyframes toastIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

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

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* ── Mesh / Spotlight ────────────────────────────────────────────────── */
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-mesh::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 210, 208, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: meshFloat1 8s ease-in-out infinite;
}

.hero-mesh::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 107, 255, 0.12) 0%, transparent 70%);
    bottom: -50px;
    left: 10%;
    animation: meshFloat2 10s ease-in-out infinite;
}

.hero-spotlight {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 210, 208, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
}

/* ── Shimmer Effects ─────────────────────────────────────────────────── */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
}

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

article.shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    background-size: 400px 100%;
    animation: shimmer 1s linear;
    pointer-events: none;
}

/* ── Orbs ───────────────────────────────────────────────────────────── */
.orb-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 210, 208, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(111, 107, 255, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: -150px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 185, 85, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 50%;
}

/* ── Particle Canvas ─────────────────────────────────────────────────── */
#particle-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ── Cursor Glow ─────────────────────────────────────────────────────── */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 210, 208, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-250px, -250px);
}