/**
 * Premium Animations CSS - AvisV
 * Clean, minimal, fast - enterprise style
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --accent-color: #0d83fd;
    --glow-color: rgba(13, 131, 253, 0.3);
}

/* ============================================
   SCROLL PROGRESS BAR (subtle)
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-color);
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* ============================================
   HEADER ENHANCEMENT
   ============================================ */
.header .header-container {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scrolled .header .header-container {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   CLEAN HOVER EFFECTS
   ============================================ */
.features-cards .feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-cards .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ============================================
   STATS GRADIENT TEXT
   ============================================ */
.stats-item .purecounter {
    color: var(--accent-color);
}

/* ============================================
   CLEAN NAV UNDERLINES
   ============================================ */
.navmenu a {
    position: relative;
}

.navmenu a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navmenu a:hover::after,
.navmenu a.active::after {
    transform: scaleX(1);
}

/* ============================================
   DARK MODE (minimal)
   ============================================ */
.dark-mode {
    --background-color: #0f172a;
    --default-color: #e2e8f0;
    --heading-color: #f8fafc;
    --surface-color: #1e293b;
}

.dark-mode .header .header-container {
    background: rgba(15, 23, 42, 0.98) !important;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(13, 131, 253, 0.3);
}

.dark-mode-toggle:hover {
    transform: scale(1.05);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}