/**
 * SiteNests — Adaptive Custom Mouse Pointer Styles
 * High contrast & luminous across both white spaces and dark blue sections
 */

#sitenests-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid #2563EB;
    background: rgba(37, 99, 235, 0.03);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.18);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate3d(-50%, -50%, 0);
    box-sizing: border-box;
    transition:
        width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

#sitenests-cursor-dot {
    position: fixed;
    left: 0;
    top: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563EB;
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.45);
    pointer-events: none;
    z-index: 1000000;
    transform: translate3d(-50%, -50%, 0);
    box-sizing: border-box;
    transition:
        transform 0.15s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

/* ============================================================
   LIGHT / WHITE SPACES (Default)
   ============================================================ */
#sitenests-cursor.is-hovering {
    width: 54px;
    height: 54px;
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: #1D4ED8 !important;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.28);
}

#sitenests-cursor-dot.is-hovering {
    transform: translate3d(-50%, -50%, 0) scale(1.3);
    background: #1D4ED8;
}

/* ============================================================
   DARK / BLUE SPACES (Hero, Footer, Banners)
   ============================================================ */
#sitenests-cursor.on-dark {
    border-color: #38BDF8;
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
}

#sitenests-cursor.on-dark.is-hovering {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: #60A5FA !important;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.70);
}

#sitenests-cursor-dot.on-dark {
    background: #38BDF8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.95), 0 0 18px rgba(0, 86, 179, 0.8);
}

#sitenests-cursor-dot.on-dark.is-hovering {
    transform: translate3d(-50%, -50%, 0) scale(1.3);
    background: #FFFFFF;
}

/* Mobile & Touch Devices — keep normal browser pointer */
@media (pointer: coarse) {
    #sitenests-cursor,
    #sitenests-cursor-dot {
        display: none !important;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    #sitenests-cursor,
    #sitenests-cursor-dot {
        transition: none !important;
    }
}
