/* ============================================
   FALCON VISION - Custom Cursor
   Premium Desktop Cursor Experience
   ============================================ */

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* Cursor Elements */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

/* Cursor States */

/* Hovered on clickable elements */
.cursor-hover .cursor-dot {
    width: 12px;
    height: 12px;
    background: var(--text-primary);
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--text-primary);
    opacity: 0.3;
}

/* Hovered on links */
.cursor-link .cursor-dot {
    width: 0;
    height: 0;
}

.cursor-link .cursor-outline {
    width: 80px;
    height: 80px;
    border-color: var(--accent-cyan);
    opacity: 1;
    background: rgba(0, 212, 255, 0.1);
}

/* Hovered on buttons */
.cursor-button .cursor-dot {
    width: 0;
    height: 0;
}

.cursor-button .cursor-outline {
    width: 100px;
    height: 100px;
    border-color: var(--accent-cyan);
    opacity: 0.6;
    border-width: 1px;
}

/* Hovered on images */
.cursor-view .cursor-dot {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.9);
    mix-blend-mode: normal;
}

.cursor-view .cursor-dot::after {
    content: 'VIEW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--bg-primary);
    letter-spacing: 0.1em;
}

.cursor-view .cursor-outline {
    width: 100px;
    height: 100px;
    opacity: 0;
}

/* Cursor clicking */
.cursor-click .cursor-dot {
    transform: translate(-50%, -50%) scale(0.8);
}

.cursor-click .cursor-outline {
    transform: translate(-50%, -50%) scale(0.9);
}

/* Cursor on text input */
.cursor-text .cursor-dot {
    width: 2px;
    height: 24px;
    border-radius: 1px;
    background: var(--accent-cyan);
}

.cursor-text .cursor-outline {
    opacity: 0;
}

/* Cursor hidden state */
.cursor-hidden .cursor-dot,
.cursor-hidden .cursor-outline {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* Global cursor hide on body when custom cursor active */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    input,
    textarea,
    select,
    [role="button"] {
        cursor: none;
    }
}