/* ============================================
   PREMIUM FINAL FIXES - UI AWARD WINNING DESIGN
   ============================================ */

/* 1. FIRE ANIMATION FOR STATS - ATTENTION GRABBING */
.stats-number,
.stats-item .number,
.metric-value {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    background: linear-gradient(45deg, 
        #FF6B00 0%, 
        #FF8C00 20%, 
        #FFA500 40%, 
        #FFD700 60%, 
        #FFA500 80%, 
        #FF6B00 100%) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: fire-gradient 2s ease-in-out infinite !important;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5)) !important;
    position: relative;
}

@keyframes fire-gradient {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5)) brightness(1);
    }
    25% {
        background-position: 50% 100%;
        filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.7)) brightness(1.1);
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) brightness(1.2);
    }
    75% {
        background-position: 50% 0%;
        filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.7)) brightness(1.1);
    }
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5)) brightness(1);
    }
}

/* Fire particles for stats */
.stats-item {
    position: relative;
    overflow: visible !important;
}

.stats-item::before,
.stats-item::after {
    content: '🔥';
    position: absolute;
    top: -10px;
    font-size: 20px;
    animation: fire-float 3s ease-in-out infinite;
    pointer-events: none;
}

.stats-item::before {
    left: 20%;
    animation-delay: 0s;
}

.stats-item::after {
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes fire-float {
    0%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) scale(1);
        opacity: 1;
    }
}

/* 2. PREMIUM INFINITE PATTERN - AWARD WINNING */
.hero {
    position: relative;
    background: linear-gradient(135deg, #2573D1 0%, #4A90E2 100%) !important;
    overflow: hidden;
}

/* Animated gradient mesh background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.09) 0%, transparent 50%);
    animation: mesh-flow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Geometric grid overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-slide 10s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes mesh-flow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
}

@keyframes grid-slide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* 3. FORCE ALL FOOTER TEXT TO BLACK !!! */
footer .logo,
footer .logo *,
footer .logo span,
footer h1,
footer h2,
footer h3,
footer .footer-title,
footer .footer-description,
footer p,
.footer .logo,
.footer .logo *,
.footer .logo span,
.footer h1,
.footer h2,
.footer h3,
.footer p {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-fill-color: #000000 !important;
}

/* Even the icon */
footer .logo i {
    color: #2573D1 !important;
}

/* 4. VIBRO WAVES FROM ROBOT HEAD - SIMPLE & VISIBLE */
.robot-display {
    position: relative !important;
}

/* Wave Ring 1 */
.wave-ring-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: vibro-wave 3s linear infinite;
    pointer-events: none;
    z-index: 5;
}

/* Wave Ring 2 */
.wave-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: vibro-wave 3s linear infinite;
    animation-delay: 1s;
    pointer-events: none;
    z-index: 5;
}

/* Wave Ring 3 */
.wave-ring-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: vibro-wave 3s linear infinite;
    animation-delay: 2s;
    pointer-events: none;
    z-index: 5;
}

@keyframes vibro-wave {
    0% {
        width: 200px;
        height: 200px;
        opacity: 0.8;
        border-width: 3px;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Signal dots from head */
.signal-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 10;
}

.signal-dot-1 {
    top: 25%;
    left: 48%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.signal-dot-2 {
    top: 25%;
    left: 52%;
    animation: dot-pulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.signal-dot-3 {
    top: 30%;
    left: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Premium floating shapes in hero */
.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 3;
}

.shape-1 {
    width: 100px;
    height: 100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 5%;
    animation: float-1 15s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    top: 70%;
    right: 10%;
    animation: float-2 18s ease-in-out infinite;
}

.shape-3 {
    width: 120px;
    height: 120px;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    top: 40%;
    right: 5%;
    animation: float-3 20s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-30px, 30px) rotate(-120deg);
    }
    66% {
        transform: translate(20px, -20px) rotate(-240deg);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-40px, -20px) rotate(180deg);
    }
    66% {
        transform: translate(30px, 30px) rotate(360deg);
    }
}

/* Override any conflicting styles */
.stats-number {
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
}

footer * {
    text-fill-color: inherit !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .floating-shape {
        display: none;
    }
    
    .hero::after {
        background-size: 30px 30px;
    }
    
    @keyframes grid-slide {
        0% {
            transform: translate(0, 0);
        }
        100% {
            transform: translate(30px, 30px);
        }
    }
}