/* ============================================
   WebAutoAgency - Premium Styles
   ============================================ */

/* Custom Properties */
:root {
    --electric-50: #e6f0ff;
    --electric-100: #b3d1ff;
    --electric-200: #80b3ff;
    --electric-300: #4d94ff;
    --electric-400: #1a75ff;
    --electric-500: #0066ff;
    --electric-600: #0052cc;
    --electric-700: #003d99;
    --electric-800: #002966;
    --electric-900: #001433;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.glass-nav {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-electric {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

/* Aurora Gradients */
.aurora-gradient {
    background: radial-gradient(ellipse at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(120, 0, 255, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(0, 200, 255, 0.08) 0%, transparent 50%);
}

.aurora-gradient-2 {
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 70%, rgba(0, 200, 255, 0.15) 0%, transparent 50%);
}

.aurora-gradient-3 {
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(120, 0, 255, 0.1) 0%, transparent 50%);
}

/* Mouse Follower */
.mouse-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--electric-400);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
    mix-blend-mode: difference;
}

.mouse-follower-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--electric-400);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.mouse-follower.hover {
    width: 80px;
    height: 80px;
    border-color: var(--electric-300);
}

/* Loader */
.loader-content {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Floating Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-line.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic Button */
.magnetic-btn {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Service Cards */
.service-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* AI Network Visual */
.ai-network-visual {
    position: relative;
    width: 100%;
    height: 400px;
}

.network-node {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--electric-500);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 30%; animation-delay: 0s; }
.node-2 { top: 40%; right: 20%; animation-delay: 0.3s; }
.node-3 { bottom: 30%; left: 20%; animation-delay: 0.6s; }
.node-4 { top: 60%; left: 50%; animation-delay: 0.9s; }
.node-5 { bottom: 20%; right: 30%; animation-delay: 1.2s; }

.network-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-500), transparent);
    opacity: 0.4;
    animation: pulse 3s ease-in-out infinite;
}

.conn-1 { top: 25%; left: 32%; width: 120px; transform: rotate(30deg); animation-delay: 0.2s; }
.conn-2 { top: 45%; right: 22%; width: 100px; transform: rotate(-45deg); animation-delay: 0.5s; }
.conn-3 { bottom: 35%; left: 22%; width: 110px; transform: rotate(60deg); animation-delay: 0.8s; }
.conn-4 { top: 55%; left: 40%; width: 90px; transform: rotate(-20deg); animation-delay: 1.1s; }

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Navbar Scroll */
#navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

/* Counter Animation */
.counter {
    transition: all 0.5s ease;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth Scroll */
.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-network-visual {
        height: 300px;
    }
}

/* Selection */
::selection {
    background: var(--electric-500);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--electric-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--electric-500);
}


