/* ==========================================================================
   Sparktech Automation Premium 3D & Glassmorphism Animation Framework
   ========================================================================== */

/* 1. Global Inter Font Integration Smoothness */
body {
    font-family: 'Inter', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* 2. Custom Active Selection Highlight */
::selection {
    background-color: #0052CC;
    color: #ffffff;
}

/* 3. Floating 3D Mesh Glowing Background Effect */
.mesh-glowing-gradient {
    animation: floating3DMesh 10s ease-in-out infinite alternate;
}

@keyframes floating3DMesh {
    0% {
        transform: translateY(0px) scale(1) rotate(0deg);
        filter: blur(80px);
    }
    50% {
        transform: translateY(-40px) scale(1.1) rotate(10deg);
        filter: blur(100px);
    }
    100% {
        transform: translateY(20px) scale(0.95) rotate(-10deg);
        filter: blur(80px);
    }
}

/* 4. Industrial Stats Numbers Pulse Effect */
.stats-card-glowing {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card-glowing:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(0, 82, 204, 0.15);
}

/* 5. 3D Card Hover Dynamic Perspective Rotation */
.card-3d-effect {
    perspective: 1000px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-3d-effect:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(2deg);
}

/* 6. Smooth Scroll Custom Progress Styling for modern browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

/* Dark/Light custom adaptive track */
.light ::webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0052CC 0%, #FF6B00 100%);
    border-radius: 20px;
}