/*
 * Cosmic Theme for EK-create
 * Применяется к существующей HTML структуре сайта
 * Подключи этот файл ПОСЛЕ style.css
 */

/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
    --primary: #00ff88;
    --primary-dark: #00cc66;
    --secondary: #00eeff;
    --dark: #0a0f1d;
    --light: #ffffff;
    --gray: #a0aec0;
    --background: #060a15;
    --neon-green: #00ff88;
    --neon-blue: #00eeff;
    --neon-purple: #b967ff;
    --neon-pink: #ff00c8;
    --neon-yellow: #ffff00;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background) !important;
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== КОСМИЧЕСКИЙ ФОН ===== */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: radial-gradient(ellipse at center, #0c1427 0%, var(--background) 100%);
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration, 3s) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -8;
    opacity: 0.4;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 238, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(185, 103, 255, 0.15) 0%, transparent 40%);
    animation: nebula-move 25s infinite alternate;
}

@keyframes nebula-move {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, -30px) rotate(5deg); }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -7;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green);
    animation: float-particle var(--duration, 10s) infinite linear;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(var(--offset, 0)); opacity: 0; }
}

.holographic-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -6;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: grid-pulse 8s infinite alternate;
}

@keyframes grid-pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.energy-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
}

.energy-wave {
    position: absolute;
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    opacity: 0;
    animation: energy-wave-pulse 6s infinite ease-out;
}

@keyframes energy-wave-pulse {
    0% { transform: scale(0.5); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.digital-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    pointer-events: none;
    opacity: 0.08;
}

.rain-drop {
    position: absolute;
    color: var(--neon-green);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    opacity: 0;
    animation: fall var(--duration, 6s) infinite linear;
}

@keyframes fall {
    0% { transform: translateY(-20px); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 255, 136, 0.02) 2px,
        rgba(0, 255, 136, 0.02) 4px
    );
    animation: scan 10s linear infinite;
    opacity: 0.5;
}

@keyframes scan {
    0% { background-position: 0 0; }
    100% { background-position: 0 100vh; }
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float-element var(--duration, 15s) infinite ease-in-out;
}

@keyframes float-element {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.5; }
    50% { transform: translateY(-60px) translateX(40px); opacity: 0.8; }
}

/* ===== ЖИВОЙ ПЕРЕЛИВАЮЩИЙСЯ ЛОГОТИП ===== */
.site-title a {
    background: linear-gradient(
        90deg,
        var(--neon-green) 0%,
        var(--neon-blue) 25%,
        var(--neon-purple) 50%,
        var(--neon-pink) 75%,
        var(--neon-green) 100%
    ) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: logo-holographic 3s linear infinite !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.site-title a:hover {
    filter: brightness(1.3) !important;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.8) !important;
}

@keyframes logo-holographic {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Живой перелив логотипа */
.site-title a.live-gradient {
    animation: none !important;
    transition: all 0.3s ease !important;
}

.site-title {
    position: relative;
}

.site-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.site-title:hover::after {
    opacity: 0.3;
    animation: logo-glow-pulse 1.5s ease-in-out infinite;
}

@keyframes logo-glow-pulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

/* Иконка кода в логотипе */
.site-title .fa-code {
    background: linear-gradient(
        90deg,
        var(--neon-green) 0%,
        var(--neon-blue) 50%,
        var(--neon-green) 100%
    ) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: logo-holographic 2s linear infinite, pulse-icon 2s infinite alternate !important;
}

@keyframes pulse-icon {
    0% { filter: drop-shadow(0 0 5px var(--neon-green)); }
    100% { filter: drop-shadow(0 0 15px var(--neon-green)) drop-shadow(0 0 30px var(--neon-blue)); }
}

/* ===== DESKTOP HEADER (Боковая панель) ===== */
.desktop-header {
    background: rgba(10, 15, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 255, 136, 0.2) !important;
    box-shadow: 5px 0 30px rgba(0, 255, 136, 0.1);
}

.desktop-header .site-title .color {
    -webkit-text-fill-color: var(--neon-green) !important;
}

/* Навигация */
.vertical-menu li a {
    color: var(--gray) !important;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px !important;
}

.vertical-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-green);
}

.vertical-menu li a:hover,
.vertical-menu li.active a {
    color: var(--neon-green) !important;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.vertical-menu li a:hover::before,
.vertical-menu li.active a::before {
    width: 15px;
}

/* Footer в sidebar */
.desktop-header .footer {
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.desktop-header .footer p,
.desktop-header .footer .copyright {
    color: var(--gray) !important;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    background: rgba(10, 15, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2) !important;
    z-index: 1000 !important;
}

.mobile-header .site-title .color {
    -webkit-text-fill-color: var(--neon-green) !important;
}

/* Hamburger menu */
.menu-icon button span,
.menu-icon button span::before,
.menu-icon button span::after {
    background: var(--neon-green) !important;
    box-shadow: 0 0 10px var(--neon-green);
}

/* ===== SOCIAL ICONS (ИСПРАВЛЕНИЕ РАЗМЫТИЯ) ===== */
.mobile-header .social-icons,
.mobile-header .social-icons li,
.mobile-header .social-icons a,
.mobile-header .social-icons a i,
.mobile-header .social-icons .fa-telegram,
.mobile-header .social-icons .fa-whatsapp {
    -webkit-filter: none !important;
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    opacity: 1 !important;
    z-index: 1001;
}

.mobile-header .social-icons a[style],
.mobile-header .social-icons i[style] {
    filter: none !important;
    -webkit-filter: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: inherit !important;
}

.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a .fa-telegram {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 15px var(--neon-blue);
}

.social-icons a .fa-whatsapp {
    color: var(--neon-green) !important;
    text-shadow: 0 0 15px var(--neon-green);
}

.social-icons a:hover .fa-telegram,
.social-icons a:hover .fa-whatsapp {
    transform: scale(1.2);
    filter: brightness(1.3);
}

/* ===== MAIN CONTENT ===== */
.content {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* ===== HOME SECTION ===== */
#home {
    background: transparent !important;
    position: relative;
    overflow: visible;
    padding-top: 140px;
    padding-bottom: 340px;
}

#home .container,
#home .cta {
    position: relative;
    z-index: 2;
    transform: none !important;
    opacity: 1 !important;
}

#home .cta * {
    transform: none !important;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* CTA блок на всю ширину */
#home .cta {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

#home .cta h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-family: 'Orbitron', 'Space Grotesk', sans-serif !important;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    animation: glow-text 3s infinite alternate;
}

@keyframes glow-text {
    0% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    100% { text-shadow: 0 0 40px rgba(0, 255, 136, 0.7), 0 0 60px rgba(0, 238, 255, 0.3); }
}

#home h1 .color {
    color: var(--neon-green) !important;
    text-shadow: 0 0 20px var(--neon-green);
}
#home .heading-1 .color p{
    color: var(--neon-green) !important;
    text-shadow: 0 0 20px var(--neon-green);
}
#home .cta p {
    color: #fff !important;
    position: relative;
    z-index: 2;
}

#home .cta ul {
    position: relative;
    z-index: 2;
}

/* Scroll wheel */
.scroll-down .mouse {
    border-color: var(--neon-green) !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.scroll-down .wheel {
    background: var(--neon-green) !important;
    box-shadow: 0 0 10px var(--neon-green);
}

/* ===== ЭФФЕКТ ПЕЧАТАЮЩЕГОСЯ ТЕКСТА ===== */
.typing-line {
    display: block;
    width: 100%;
    text-align: center;
}

.typing-static {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green), 0 0 30px var(--neon-green);
    -webkit-text-fill-color: var(--neon-green) !important;
    text-transform: uppercase;
}

.typing-dynamic-wrapper {
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

.typing-dynamic {
    color: #fff;
    position: relative;
    display: inline;
    border-right: 3px solid var(--neon-green);
    padding-right: 5px;
    animation: blink-cursor 0.7s infinite;
    text-transform: uppercase;
}

@keyframes blink-cursor {
    0%, 50% { border-color: var(--neon-green); }
    51%, 100% { border-color: transparent; }
}

/* Цвета для разных слов */
.typing-dynamic.word-0 { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green); }
.typing-dynamic.word-1 { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue); }
.typing-dynamic.word-2 { color: var(--neon-purple); text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple); }
.typing-dynamic.word-3 { color: var(--neon-pink); text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink); }
.typing-dynamic.word-4 { color: var(--neon-yellow); text-shadow: 0 0 10px var(--neon-yellow), 0 0 20px var(--neon-yellow); }
.typing-dynamic.word-5 { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue); }

/* Tagline - красивый стиль на отдельной строке */
.typing-tagline {
    display: block !important;
    width: auto;
    margin: 20px auto 0;
    padding: 15px 35px;
    background: rgba(0, 255, 136, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--neon-green);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.3),
        0 0 40px rgba(0, 255, 136, 0.1),
        inset 0 0 20px rgba(0, 255, 136, 0.1);
    animation: tagline-glow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

.typing-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: tagline-shine 3s ease-in-out infinite;
}

@keyframes tagline-glow {
    0% {
        box-shadow: 
            0 0 20px rgba(0, 255, 136, 0.3),
            0 0 40px rgba(0, 255, 136, 0.1),
            inset 0 0 20px rgba(0, 255, 136, 0.1);
        border-color: var(--neon-green);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(0, 238, 255, 0.4),
            0 0 60px rgba(0, 238, 255, 0.2),
            inset 0 0 30px rgba(0, 238, 255, 0.1);
        border-color: var(--neon-blue);
    }
}

@keyframes tagline-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Цвета для taglines */
.typing-tagline.tagline-0 { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1); }
.typing-tagline.tagline-1 { border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(0, 238, 255, 0.4), inset 0 0 20px rgba(0, 238, 255, 0.1); }
.typing-tagline.tagline-2 { border-color: var(--neon-purple); box-shadow: 0 0 20px rgba(185, 103, 255, 0.4), inset 0 0 20px rgba(185, 103, 255, 0.1); }
.typing-tagline.tagline-3 { border-color: var(--neon-pink); box-shadow: 0 0 20px rgba(255, 0, 200, 0.4), inset 0 0 20px rgba(255, 0, 200, 0.1); }
.typing-tagline.tagline-4 { border-color: var(--neon-yellow); box-shadow: 0 0 20px rgba(255, 255, 0, 0.4), inset 0 0 20px rgba(255, 255, 0, 0.1); }
.typing-tagline.tagline-5 { border-color: #00ffcc; box-shadow: 0 0 20px rgba(0, 255, 204, 0.4), inset 0 0 20px rgba(0, 255, 204, 0.1); }
.typing-tagline.tagline-6 { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1); }
.typing-tagline.tagline-7 { border-color: #ff6b6b; box-shadow: 0 0 20px rgba(255, 107, 107, 0.4), inset 0 0 20px rgba(255, 107, 107, 0.1); }
.typing-tagline.tagline-8 { border-color: var(--neon-purple); box-shadow: 0 0 20px rgba(185, 103, 255, 0.4), inset 0 0 20px rgba(185, 103, 255, 0.1); }
.typing-tagline.tagline-9 { border-color: var(--neon-yellow); box-shadow: 0 0 20px rgba(255, 255, 0, 0.4), inset 0 0 20px rgba(255, 255, 0, 0.1); }
.typing-tagline.tagline-10 { border-color: #ff8c00; box-shadow: 0 0 20px rgba(255, 140, 0, 0.4), inset 0 0 20px rgba(255, 140, 0, 0.1); }
.typing-tagline.tagline-11 { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1); }
.typing-tagline.tagline-12 { border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(0, 238, 255, 0.4), inset 0 0 20px rgba(0, 238, 255, 0.1); }
.typing-tagline.tagline-13 { border-color: #ffd700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1); }
.typing-tagline.tagline-14 { border-color: var(--neon-pink); box-shadow: 0 0 20px rgba(255, 0, 200, 0.4), inset 0 0 20px rgba(255, 0, 200, 0.1); }
.typing-tagline.tagline-15 { border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(0, 238, 255, 0.4), inset 0 0 20px rgba(0, 238, 255, 0.1); }
.typing-tagline.tagline-16 { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1); }
.typing-tagline.tagline-17 { border-color: var(--neon-purple); box-shadow: 0 0 20px rgba(185, 103, 255, 0.4), inset 0 0 20px rgba(185, 103, 255, 0.1); }
.typing-tagline.tagline-18 { border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(0, 238, 255, 0.4), inset 0 0 20px rgba(0, 238, 255, 0.1); }
.typing-tagline.tagline-19 { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1); }

/* Адаптив для tagline */
@media (max-width: 768px) {
    .typing-tagline {
        padding: 12px 25px;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .typing-tagline {
        padding: 10px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
    
    .typing-dynamic-wrapper {
        min-width: 150px;
    }
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif !important;
    color: var(--light) !important;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    border-radius: 3px;
    box-shadow: 0 0 15px var(--neon-green);
}

/* ===== ABOUT SECTION ===== */
#about {
    background: rgba(10, 15, 30, 0.5) !important;
}

.about-img img {
    border: 3px solid transparent;
    background: linear-gradient(var(--background), var(--background)) padding-box,
                linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--neon-purple)) border-box;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.about-img img:hover {
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
    transform: scale(1.02);
}

.about-desc {
    color: var(--light) !important;
}

.about-desc p {
    color: #fff !important;
}

.about-desc .color {
    color: var(--neon-green) !important;
}

.about-desc .h2 {
    color: var(--light) !important;
}

.about-desc ul li {
    color: #fff !important;
}

.about-desc ul li .fa-angle-double-right {
    color: var(--neon-green) !important;
}

/* ===== FACTS/ПРЕИМУЩЕСТВА SECTION ===== */
#facts {
    background: transparent !important;
}

#facts .box,
.fact-item {
    background: rgba(16, 24, 40, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 20px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#facts .box::before,
.fact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

#facts .box:hover::before,
.fact-item:hover::before {
    left: 100%;
}

#facts .box:hover,
.fact-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

#facts .box .icon,
.fact-item .icon {
    color: var(--neon-green) !important;
    text-shadow: 0 0 20px var(--neon-green);
    transition: all 0.3s ease;
}

#facts .box:hover .icon,
.fact-item:hover .icon {
    transform: scale(1.2);
    text-shadow: 0 0 30px var(--neon-green), 0 0 50px var(--neon-blue);
}

#facts .box p,
.fact-item p {
    color: var(--gray) !important;
}

#facts .box b,
.fact-item b {
    color: var(--light) !important;
}

/* ===== SERVICES SECTION ===== */
#service {
    background: rgba(10, 15, 30, 0.5) !important;
}

 .service-box {
    background: rgba(16, 24, 40, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 22px !important;
    padding: 30px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden !important;
}

.service-box::before {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-green), var(--neon-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 22px 0 0 22px;
}


.service-box:hover::before {
    opacity: 1;
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.service-box .icon {
    width: 70px;
    height: 70px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1) !important;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 18px !important;
    color: var(--neon-green) !important;
    font-size: 1.8rem !important;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.service-box:hover .icon {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
    color: var(--dark) !important;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    border-color: transparent;
}

.service-box .h4,
.service-box h4 {
    color: var(--light) !important;
}

.service-box a {
    color: var(--light) !important;
    text-decoration: none;
}

.service-box a:hover {
    color: var(--neon-green) !important;
}

.service-box p {
    color: var(--neon-green) !important;
    font-weight: 600;
}

/* ===== WORKS/КЕЙСЫ SECTION ===== */
#works {
    background: transparent !important;
}

#works .blog-item {
    background: rgba(16, 24, 40, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    padding: 0 !important;
}

#works .blog-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

#works .blog-item .thumb {
    position: relative;
    overflow: hidden;
}

#works .blog-item .thumb img {
    transition: all 0.5s ease;
}

#works .blog-item:hover .thumb img {
    transform: scale(1.1);
}

#works .blog-item .thumb .category {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
    color: var(--dark) !important;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

#works .blog-item .h4,
#works .blog-item h4 {
    color: var(--light) !important;
    padding: 0 20px 20px;
}

/* ===== BLOG SECTION ===== */
#blog {
    background: rgba(10, 15, 30, 0.5) !important;
}

#blog .text-link {
    color: var(--neon-green) !important;
    transition: all 0.3s ease;
}

#blog .text-link:hover {
    text-shadow: 0 0 15px var(--neon-green);
}

#blog .blog-item {
    background: rgba(16, 24, 40, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 !important;
}

#blog .blog-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

#blog .blog-item .thumb {
    overflow: hidden;
}

#blog .blog-item .thumb img {
    transition: all 0.5s ease;
}

#blog .blog-item:hover .thumb img {
    transform: scale(1.1);
}

#blog .blog-item .meta {
    color: var(--gray) !important;
    padding: 15px 20px 0;
}

#blog .blog-item h4 {
    padding: 0 20px 20px;
}

#blog .blog-item h4 a {
    color: var(--light) !important;
    transition: color 0.3s ease;
}

#blog .blog-item h4 a:hover {
    color: var(--neon-green) !important;
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: transparent !important;
}

#contact .box {
    background: rgba(16, 24, 40, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 20px !important;
    transition: all 0.3s ease;
    padding: 30px !important;
}

#contact .box:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

#contact .box .icon {
    color: var(--neon-green) !important;
    font-size: 2.5rem !important;
    text-shadow: 0 0 20px var(--neon-green);
    transition: all 0.3s ease;
}

#contact .box:hover .icon {
    transform: scale(1.2);
    text-shadow: 0 0 30px var(--neon-green), 0 0 50px var(--neon-blue);
}

#contact .box .fa-telegram {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 20px var(--neon-blue);
}

#contact .box .fa-whatsapp {
    color: var(--neon-green) !important;
}

#contact .box h4,
#contact .box .number {
    color: var(--light) !important;
}

#contact .box a {
    text-decoration: none;
}

/* ===== BUTTONS ===== */
.btn-default,
.btn-animation {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
    color: var(--dark) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 35px !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-default::before,
.btn-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-default:hover::before,
.btn-animation:hover::before {
    left: 100%;
}

.btn-default:hover,
.btn-animation:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.6), 0 0 80px rgba(0, 238, 255, 0.3);
}

/* ===== PRELOADER ===== */
#preloader {
    background: var(--background) !important;
}

.Aksh-cube {
    background: var(--neon-green) !important;
    box-shadow: 0 0 20px var(--neon-green);
}

/* ===== RETURN TO TOP ===== */
#return-to-top {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)) !important;
    color: var(--dark) !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.8);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-green), var(--neon-blue));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple));
}

/* ===== SELECTION ===== */
::selection {
    background: var(--neon-green);
    color: var(--dark);
}

/* ===== FORM INPUTS ===== */
.form-control {
    background: rgba(16, 24, 40, 0.8) !important;
    border: 1px solid rgba(0, 255, 136, 0.3) !important;
    border-radius: 12px !important;
    color: var(--light) !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--neon-green) !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3) !important;
    outline: none;
}

.form-control::placeholder {
    color: var(--gray) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .desktop-header {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .desktop-header.open {
        transform: translateX(0);
    }
    
    /* ФИКС ДЛЯ ЗАГОЛОВКА */
    #home {
        padding-top: 120px !important;
    }
    #home .cta {
        padding-top: 60px !important;
    }
}

@media (max-width: 768px) {
    #home h1 {
        font-size: 1.8rem;
    }
    
    .service-box,
    #facts .box,
    #contact .box {
        padding: 20px !important;
    }
    
    /* ЕЩЁ БОЛЬШЕ ОТСТУПА */
    #home {
        padding-top: 140px !important;
    }
    #home .cta {
        padding-top: 80px !important;
    }
}

@media (max-width: 480px) {
    #home {
        padding-top: 210px !important;
    }

    #home .cta {
        padding-top: 110px !important;
    }

    #home h1 {
        margin-top: 105px !important;
    }
}

@media (max-width: 768px) {
    #home .cta {
        transform: none !important;
    }

    #home {
        padding-bottom: 140px !important;
    }
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ КРУТЫЕ ЭФФЕКТЫ
   ============================================ */

/* ===== 1. КУРСОР С НЕОНОВЫМ СЛЕДОМ ===== */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
    mix-blend-mode: screen;
}

.cursor-glow.hover {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--neon-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* ===== 2. ГЛИТЧ ЭФФЕКТ ===== */
.glitch-text-effect {
    position: relative;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}

.glitch-text-effect::before,
.glitch-text-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text-effect::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-text-effect::after {
    left: -2px;
    text-shadow: 2px 0 var(--neon-blue);
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    animation: glitch-anim2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); }
    20% { clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%); }
    40% { clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%); }
    60% { clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%); }
    80% { clip-path: polygon(0 33%, 100% 33%, 100% 35%, 0 35%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); }
}

@keyframes glitch-anim2 {
    0% { clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); }
    20% { clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%); }
    40% { clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%); }
    60% { clip-path: polygon(0 98%, 100% 98%, 100% 100%, 0 100%); }
    80% { clip-path: polygon(0 67%, 100% 67%, 100% 68%, 0 68%); }
    100% { clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    20% { transform: skew(0deg); }
    21% { transform: skew(1deg); }
    22% { transform: skew(-1deg); }
    23% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

/* ===== 3. 3D TILT ЭФФЕКТ ===== */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card:hover {
    transform: rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
}

/* ===== 4. МОРФИНГ БОРДЕР ===== */
.morphing-border {
    position: relative;
}

.morphing-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--neon-green), 
        var(--neon-blue), 
        var(--neon-purple), 
        var(--neon-pink), 
        var(--neon-green));
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: gradient-rotate 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.morphing-border:hover::after {
    opacity: 1;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== 5. ПУЛЬСИРУЮЩИЙ BEACON ===== */
.beacon {
    position: relative;
}

.beacon::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: beacon-pulse 2s infinite;
}

@keyframes beacon-pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* ===== ПЛАШКИ/БЕЙДЖИ ===== */
.hit-badge,
.new-badge,
.top-badge,
.sale-badge {
    position: relative;
    overflow: visible !important;
}

.hit-badge::after {
    content: '🔥 ХИТ';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 
        0 0 20px rgba(255, 107, 107, 0.8),
        0 0 40px rgba(255, 107, 107, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: hit-pulse 1.5s ease-in-out infinite, hit-float 3s ease-in-out infinite;
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes hit-pulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(255, 107, 107, 0.8),
            0 0 40px rgba(255, 107, 107, 0.4),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(255, 107, 107, 1),
            0 0 60px rgba(255, 107, 107, 0.6),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

@keyframes hit-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

.new-badge::after {
    content: '✨ NEW';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 
        0 0 20px rgba(0, 238, 255, 0.8),
        0 0 40px rgba(185, 103, 255, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: new-pulse 1.5s ease-in-out infinite, hit-float 3s ease-in-out infinite;
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes new-pulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(0, 238, 255, 0.8),
            0 0 40px rgba(185, 103, 255, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(0, 238, 255, 1),
            0 0 60px rgba(185, 103, 255, 0.6);
    }
}

.top-badge::after {
    content: '⭐ ТОП';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 140, 0, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: top-pulse 1.5s ease-in-out infinite, hit-float 3s ease-in-out infinite;
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes top-pulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 140, 0, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 140, 0, 0.6);
    }
}

.sale-badge::after {
    content: '💰 -20%';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--neon-green), #00cc66);
    color: #1a1a2e;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.8),
        0 0 40px rgba(0, 204, 102, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: sale-pulse 1.5s ease-in-out infinite, hit-float 3s ease-in-out infinite;
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes sale-pulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(0, 255, 136, 0.8),
            0 0 40px rgba(0, 204, 102, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 136, 1),
            0 0 60px rgba(0, 204, 102, 0.6);
    }
}

/* ===== 6. ЭЛЕКТРИЧЕСКИЙ ТЕКСТ ===== */
.electric-text {
    position: relative;
    text-shadow: 
        0 0 5px var(--neon-green),
        0 0 10px var(--neon-green),
        0 0 20px var(--neon-green),
        0 0 40px var(--neon-green);
    animation: electric-flicker 0.15s infinite;
}

@keyframes electric-flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
        text-shadow: 
            0 0 5px var(--neon-green),
            0 0 10px var(--neon-green),
            0 0 20px var(--neon-green),
            0 0 40px var(--neon-green);
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.5;
        text-shadow: none;
    }
}

/* ===== 7. ГОЛОГРАФИЧЕСКИЙ ТЕКСТ ===== */
.holographic-text {
    background: linear-gradient(
        90deg,
        var(--neon-green) 0%,
        var(--neon-blue) 25%,
        var(--neon-purple) 50%,
        var(--neon-pink) 75%,
        var(--neon-green) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographic-shift 3s linear infinite;
}

@keyframes holographic-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== 8. НЕОНОВАЯ ПОДСВЕТКА СЕКЦИЙ ===== */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--neon-green) 20%, 
        var(--neon-blue) 50%, 
        var(--neon-green) 80%, 
        transparent 100%);
    opacity: 0.5;
}

/* ===== 9. ЛЕТАЮЩИЕ МЕТЕОРЫ ===== */
.meteors {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.meteor {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--neon-green), transparent);
    transform: rotate(-45deg);
    animation: meteor-fall var(--duration, 3s) linear infinite;
    opacity: 0;
}

@keyframes meteor-fall {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(-100px) rotate(-45deg);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 100px)) translateY(calc(100vh + 100px)) rotate(-45deg);
    }
}

/* ===== 10. КОСМИЧЕСКАЯ ПЫЛЬ ПРИ HOVER ===== */
.cosmic-dust {
    position: relative;
    overflow: visible;
}

.cosmic-dust::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    opacity: 0;
    z-index: -1;
}

.cosmic-dust:hover::before {
    width: 200%;
    height: 200%;
    opacity: 0.2;
}

/* ===== 11. АНИМИРОВАННЫЕ ИКОНКИ ===== */
.service-box .icon,
#facts .box .icon,
#contact .box .icon {
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.service-box:hover .icon,
#facts .box:hover .icon,
#contact .box:hover .icon {
    animation: spin-glow 0.6s ease-out;
}

@keyframes spin-glow {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1.1); }
}

/* ===== 12. TYPING ЭФФЕКТ ===== */
.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--neon-green);
    white-space: nowrap;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* ===== 13. ВОЛНОВОЙ ФОН ===== */
.wave-bg {
    position: relative;
    overflow: hidden;
}

.wave-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(0,255,136,0.05)'/%3E%3C/svg%3E");
    background-size: 50% 100px;
    animation: wave-move 10s linear infinite;
    pointer-events: none;
}

@keyframes wave-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== 14. ЦВЕТОВЫЕ АКЦЕНТЫ ДЛЯ КАРТОЧЕК ===== */
.service-box:nth-child(3n+1):hover {
    border-color: var(--neon-green) !important;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

.service-box:nth-child(3n+2):hover {
    border-color: var(--neon-blue) !important;
    box-shadow: 0 20px 40px rgba(0, 238, 255, 0.3);
}

.service-box:nth-child(3n+2):hover .icon {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple)) !important;
}

.service-box:nth-child(3n+3):hover {
    border-color: var(--neon-purple) !important;
    box-shadow: 0 20px 40px rgba(185, 103, 255, 0.3);
}

.service-box:nth-child(3n+3):hover .icon {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)) !important;
}

/* ===== 15. ПОЯВЛЕНИЕ ЭЛЕМЕНТОВ ПРИ СКРОЛЛЕ ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== 16. STAGGERED АНИМАЦИЯ ===== */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }
.stagger-item:nth-child(7) { transition-delay: 0.7s; }
.stagger-item:nth-child(8) { transition-delay: 0.8s; }
.stagger-item:nth-child(9) { transition-delay: 0.9s; }

/* ===== 17. ЭФФЕКТ RIPPLE ===== */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== 18. ПОДСВЕТКА ССЫЛОК ===== */
a {
    position: relative;
    transition: color 0.3s ease;
}

.content a:not(.btn-default):not(.btn-animation):hover {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* ===== 19. АНИМАЦИЯ ДЛЯ ЛОГОТИПА ===== */
.site-title .fa-code {
    display: inline-block;
    animation: logo-pulse 2s infinite, logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

/* ===== 20. HOVER ЭФФЕКТ ДЛЯ ИЗОБРАЖЕНИЙ ===== */
.about-img {
    position: relative;
    display: inline-block;
}

.about-img::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue), var(--neon-purple), var(--neon-green));
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    animation: gradient-rotate 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-img:hover::before {
    opacity: 1;
}

/* ===== 21. НЕОНОВЫЙ DIVIDER ===== */
.neon-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--neon-green) 20%, 
        var(--neon-blue) 50%, 
        var(--neon-purple) 80%, 
        transparent);
    margin: 40px 0;
    position: relative;
}

.neon-divider::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--neon-green);
    animation: beacon-pulse 2s infinite;
}

/* ===== 22. COUNTER ANIMATION ===== */
.count-up {
    display: inline-block;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

/* ===== 23. БЛЮР ПРИ СКРОЛЛЕ ДЛЯ HEADER ===== */
.desktop-header.scrolled {
    background: rgba(10, 15, 30, 0.98) !important;
    box-shadow: 5px 0 40px rgba(0, 255, 136, 0.2);
}

.mobile-header.scrolled {
    background: rgba(10, 15, 30, 0.98) !important;
    box-shadow: 0 5px 40px rgba(0, 255, 136, 0.2);
}

/* ===== 24. ПЛАВАЮЩИЕ БЕЙДЖИ ===== */
.floating-badge {
    position: absolute;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    animation: badge-float 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

/* ===== 25. LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(16, 24, 40, 0.5) 25%, 
        rgba(0, 255, 136, 0.1) 50%, 
        rgba(16, 24, 40, 0.5) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== MOBILE FIXES: SHARP ICONS + HOME OFFSET ===== */
.mobile-header .social-icons,
.mobile-header .social-icons li,
.mobile-header .social-icons a,
.mobile-header .social-icons a i,
.mobile-header .social-icons .fa-telegram,
.mobile-header .social-icons .fa-whatsapp,
.mobile-header .social-icons.list-inline.site-title,
.mobile-header .social-icons.list-inline.site-title a,
.mobile-header .social-icons.list-inline.site-title i,
.mobile-header .social-icons.list-inline.site-title svg {
    background: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
    opacity: 1 !important;
}

.mobile-header .social-icons a[style],
.mobile-header .social-icons i[style] {
    background: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
    opacity: 1 !important;
}

.mobile-header .social-icons a,
.mobile-header .social-icons i {
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}

/* Keep service glow inside cards */
.service-box,
#service2 .service-box {
    overflow: hidden !important;
    background-clip: padding-box;
}

.service-box::before,
#service2 .service-box::before {
    border-radius: 22px 0 0 22px;
    clip-path: inset(0 0 0 0 round 22px 0 0 22px);
}

@media (max-width: 991px) {
    #home {
        padding-top: 380px !important;
        padding-bottom: 460px !important;
    }

    #home .cta {
        padding-top: 220px !important;
    }

    #home h1 {
        margin-top: 180px !important;
    }
}

@media (max-width: 768px) {
    #home {
        padding-top: calc(260px + env(safe-area-inset-top)) !important;
        padding-bottom: 620px !important;
    }

    #home .cta {
        padding-top: 240px !important;
    }

    #home h1 {
        margin-top: 210px !important;
    }
}

@media (max-width: 480px) {
    #home {
        padding-top: calc(300px + env(safe-area-inset-top)) !important;
        padding-bottom: 680px !important;
    }

    #home .cta {
        padding-top: 260px !important;
    }

    #home h1 {
        margin-top: 230px !important;
    }
}

.mobile-header .social-icons.list-inline.site-title,
.mobile-header .social-icons.list-inline.site-title a,
.mobile-header .social-icons.list-inline.site-title i {
    background: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: geometricPrecision !important;
}

.mobile-header,
.mobile-header .container,
.mobile-header .social-icons.list-inline.site-title {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}