/* ACTIV KODE - Custom CSS */

/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Scrollbar styling - dark themed */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 5px;
    border: 2px solid #0A0A0A;
}

::-webkit-scrollbar-thumb:hover {
    background: #3A3A3A;
}

/* Selection */
::selection {
    background: rgba(0, 212, 170, 0.3);
    color: #fff;
}

/* Counter setup - initial opacity */
.counter-up {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}

/* Grid pattern overlay - reusable */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Gradient text helper */
.text-gradient-primary {
    background: linear-gradient(135deg, #4DE6BA 0%, #00D4AA 50%, #1ADFA6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow effect helper */
.shadow-glow-primary {
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.3);
}

/* Smooth focus rings */
*:focus-visible {
    outline: 2px solid #00D4AA;
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline-offset: 4px;
}

/* Disable animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile menu transition */
.mobile-menu-enter {
    transform: translateY(-100%);
    opacity: 0;
}
.mobile-menu-enter-active {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}
