/* Scrumlin Technology Pvt Ltd � Website styles (scrumlin-cursor.css) */

/* Custom pointer — cyan / violet neon to match hero */

.sc-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 30000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sc-cursor.is-ready {
    opacity: 1;
}

.sc-cursor.is-hidden {
    opacity: 0;
}

.sc-cursor__core {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #e0f2fe, var(--sc-cyan) 45%, var(--sc-indigo) 100%);
    box-shadow:
        0 0 8px rgba(var(--sc-cyan-rgb), 0.95),
        0 0 18px rgba(var(--sc-blue-rgb), 0.55);
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) scale(var(--core-scale, 1));
    transition: transform 0.05s linear, width 0.2s ease, height 0.2s ease, margin 0.2s ease, background 0.2s ease;
    will-change: transform;
}

.sc-cursor__ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--sc-cyan-rgb), 0.55);
    box-shadow:
        0 0 12px rgba(var(--sc-cyan-rgb), 0.28),
        inset 0 0 10px rgba(var(--sc-blue-rgb), 0.12);
    background: radial-gradient(circle, rgba(var(--sc-cyan-rgb), 0.06), transparent 65%);
    transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(var(--ring-scale, 1)) rotate(var(--ring-rot, 0deg));
    transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.sc-cursor__ring::before,
.sc-cursor__ring::after {
    content: '';
    position: absolute;
    background: rgba(165, 243, 252, 0.85);
    box-shadow: 0 0 6px rgba(var(--sc-cyan-rgb), 0.8);
}

/* subtle tech ticks on the ring */
.sc-cursor__ring::before {
    top: -1px;
    left: 50%;
    width: 2px;
    height: 6px;
    margin-left: -1px;
    border-radius: 1px;
}

.sc-cursor__ring::after {
    bottom: -1px;
    left: 50%;
    width: 2px;
    height: 6px;
    margin-left: -1px;
    border-radius: 1px;
}

.sc-cursor.is-hover .sc-cursor__core {
    --core-scale: 0.35;
    background: radial-gradient(circle at 35% 30%, #fff, var(--sc-cyan-soft) 40%, var(--sc-purple) 100%);
}

.sc-cursor.is-hover .sc-cursor__ring {
    --ring-scale: 1.55;
    border-color: rgba(var(--sc-purple-rgb), 0.7);
    box-shadow:
        0 0 18px rgba(var(--sc-purple-rgb), 0.4),
        inset 0 0 14px rgba(var(--sc-cyan-rgb), 0.15);
}

.sc-cursor.is-orbit .sc-cursor__ring {
    --ring-scale: 1.35;
    border-color: rgba(var(--sc-cyan-rgb), 0.85);
    box-shadow:
        0 0 20px rgba(var(--sc-cyan-rgb), 0.45),
        inset 0 0 12px rgba(var(--sc-blue-rgb), 0.2);
}

.sc-cursor.is-orbit .sc-cursor__core {
    --core-scale: 1.15;
    box-shadow:
        0 0 12px rgba(var(--sc-cyan-rgb), 1),
        0 0 28px rgba(var(--sc-blue-rgb), 0.7);
}

.sc-cursor.is-down .sc-cursor__core {
    --core-scale: 0.7;
}

.sc-cursor.is-down .sc-cursor__ring {
    --ring-scale: 0.82;
}

body.sc-cursor-on,
body.sc-cursor-on * {
    cursor: none !important;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
    .sc-cursor {
        display: none !important;
    }

    body.sc-cursor-on,
    body.sc-cursor-on * {
        cursor: auto !important;
    }
}
