/* ==========================================================================
   CSS Animations & Keyframes
   ========================================================================== */

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px; height: 8px;
    background-color: var(--color-cyan);
}

.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* Marquee Infinite Scroll */
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-track h3 {
    padding: 0 40px;
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.marquee-track h3:hover {
    opacity: 1;
    color: var(--color-cyan);
}

/* Pulse Dot (Status) */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}

.pulse-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: var(--color-cyan);
    animation: pulse 2s infinite;
}

/* Card Hover 3D Tilt */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(66, 133, 244, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
