/* ======================================================================
   CYBERPUNK FOOTER — WESTELECOM
   8 Effects: Dark Grid, Neon Links, Social Glow, Section Headers,
   Holo Separator, SpeedTest Neon, App Glassmorphism, Scanline
   Created: 06.02.2026
   ====================================================================== */

@keyframes cyberHoloLineFooter {
    0%% { background-position: 0%% 0%%; }
    100%% { background-position: 200%% 0%%; }
}

@keyframes footerScanline {
    0%% { left: -100%%; }
    100%% { left: 200%%; }
}

@keyframes speedtestPulse {
    0%%, 100%% {
        filter: drop-shadow(0 0 5px rgba(0,212,255,0.3));
        transform: scale(1);
    }
    50%% {
        filter: drop-shadow(0 0 15px rgba(0,212,255,0.6)) drop-shadow(0 0 30px rgba(0,212,255,0.3));
        transform: scale(1.03);
    }
}

@keyframes appBtnShine {
    0%%, 80%% { left: -100%%; }
    100%% { left: 200%%; }
}

/* 1. DARK GRADIENT + DATA GRID */

.footer {
    background: linear-gradient(180deg, #050810 0%%, #0a0e1a 40%%, #0c1020 70%%, #050810 100%%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.footer > .container {
    position: relative;
    z-index: 1;
    overflow: hidden !important;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff 0%%, #ff00ff 25%%, #00d4ff 50%%, #ff00ff 75%%, #00d4ff 100%%);
    background-size: 200%% 100%%;
    animation: cyberHoloLineFooter 4s linear infinite;
    z-index: 10;
}

.footer .footer__inner {
    border-bottom-color: rgba(0,212,255,0.12) !important;
}

/* 2. NEON LINKS */

.footer .footer__list-item a {
    color: rgba(255,255,255,0.65) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}

.footer .footer__list-item a:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 12px rgba(0,212,255,0.5) !important;
    text-decoration: none !important;
}

.footer .footer__list-item a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, #00d4ff, #ff00ff) !important;
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1) !important;
}

.footer .footer__list-item a:hover::after {
    width: 100%% !important;
    box-shadow: 0 0 6px rgba(0,212,255,0.4) !important;
}

.footer .accordion__list .footer__list-item a {
    color: rgba(255,255,255,0.65) !important;
    transition: all 0.3s ease !important;
}

.footer .accordion__list .footer__list-item a:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 12px rgba(0,212,255,0.5) !important;
}

.footer .footer-lang-links a {
    color: rgba(255,255,255,0.4) !important;
    transition: all 0.3s ease !important;
}

.footer .footer-lang-links a:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 10px rgba(0,212,255,0.4) !important;
}

/* 3. SOCIAL ICONS WITH GLOW */

.footer .footer-link__social-item {
    background-color: rgba(0,212,255,0.08) !important;
    border: 1px solid rgba(0,212,255,0.15) !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.footer .footer-link__social-item:hover {
    background-color: rgba(0,212,255,0.15) !important;
    border-color: rgba(0,212,255,0.4) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0,212,255,0.3), 0 0 15px rgba(0,212,255,0.2) !important;
}

.footer .footer-link__social-item__img img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.footer .footer-link__social-item:hover .footer-link__social-item__img img {
    opacity: 1 !important;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0,212,255,0.8)) !important;
}

/* 4. SECTION HEADERS — unique neon colors + glow effect */

@keyframes footerTitleGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Base style for ALL footer titles — same size */
.footer .footer__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 8px !important;
    animation: footerTitleGlow 3s ease-in-out infinite !important;
}

/* Animated underline for all titles */
.footer .footer__title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    border-radius: 1px !important;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease !important;
}

.footer .footer__item:hover .footer__title::after,
.footer .footer__accordion-item:hover .footer__title::after {
    width: 100% !important;
}

/* 1. Компанія — Cyan #00d4ff */
.footer .footer__title.company__color,
.footer .footer__title.acc_Company {
    color: #00d4ff !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.2) !important;
}
.footer .footer__title.company__color::after,
.footer .footer__title.acc_Company::after {
    background: linear-gradient(90deg, #00d4ff, rgba(0, 212, 255, 0.2)) !important;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.4) !important;
}

/* 2. Для дому — Magenta #ff4cc7 */
.footer .footer__title.home__color,
.footer .footer__title.acc__Home {
    color: #ff4cc7 !important;
    text-shadow: 0 0 10px rgba(255, 76, 199, 0.5), 0 0 20px rgba(255, 76, 199, 0.2) !important;
}
.footer .footer__title.home__color::after,
.footer .footer__title.acc__Home::after {
    background: linear-gradient(90deg, #ff4cc7, rgba(255, 76, 199, 0.2)) !important;
    box-shadow: 0 0 6px rgba(255, 76, 199, 0.4) !important;
}

/* 3. Для бізнесу — Electric Purple #a78bfa */
.footer .footer__title.business__color,
.footer .footer__title.acc__Business {
    color: #a78bfa !important;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.5), 0 0 20px rgba(167, 139, 250, 0.2) !important;
}
.footer .footer__title.business__color::after,
.footer .footer__title.acc__Business::after {
    background: linear-gradient(90deg, #a78bfa, rgba(167, 139, 250, 0.2)) !important;
    box-shadow: 0 0 6px rgba(167, 139, 250, 0.4) !important;
}

/* 4. Інтернет у містах — Neon Green #4ade80 (override inline style) */
.footer .footer__title[style*="4CAF50"],
.footer .footer__item .footer__title[style*="4CAF50"] {
    color: #4ade80 !important;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5), 0 0 20px rgba(74, 222, 128, 0.2) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 8px !important;
    animation: footerTitleGlow 3s ease-in-out infinite !important;
}
.footer .footer__title[style*="4CAF50"]::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    border-radius: 1px !important;
    background: linear-gradient(90deg, #4ade80, rgba(74, 222, 128, 0.2)) !important;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.4) !important;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease !important;
}

/* 5. Вакансії — Amber/Gold #f59e0b (override inline style) */
.footer .footer__title[style*="ff6b35"],
.footer .footer__item .footer__title[style*="ff6b35"],
.footer .footer__accordion-item .footer__title[style*="ff6b35"] {
    color: #f59e0b !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5), 0 0 20px rgba(245, 158, 11, 0.2) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 8px !important;
    animation: footerTitleGlow 3s ease-in-out infinite !important;
}
.footer .footer__title[style*="ff6b35"]::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    border-radius: 1px !important;
    background: linear-gradient(90deg, #f59e0b, rgba(245, 158, 11, 0.2)) !important;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4) !important;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease !important;
}

/* Hover expand underline for inline-styled titles */
.footer .footer__item:hover .footer__title[style*="4CAF50"]::after,
.footer .footer__item:hover .footer__title[style*="ff6b35"]::after,
.footer .footer__accordion-item:hover .footer__title[style*="ff6b35"]::after {
    width: 100% !important;
}

/* 5. HOLOGRAPHIC SEPARATOR */

.footer .footer-link {
    position: relative !important;
    background: transparent !important;
    padding-top: 30px !important;
}

.footer .footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%%;
    right: 5%%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%%, #ff00ff 15%%, #00d4ff 35%%, #ff00ff 50%%, #00d4ff 65%%, #ff00ff 85%%, transparent 100%%);
    background-size: 200%% 100%%;
    animation: cyberHoloLineFooter 5s linear infinite;
    box-shadow: 0 0 8px rgba(0,212,255,0.3), 0 0 15px rgba(255,0,255,0.15);
}

.footer .footer__accordion {
    border-bottom-color: rgba(0,212,255,0.12) !important;
}

.footer .footer__accordion-item {
    border-bottom-color: rgba(0,212,255,0.08) !important;
    background: transparent !important;
}

/* 6. SPEEDTEST NEON */

.footer .footer-link__speedTest {
    transition: all 0.4s ease !important;
}

.footer .footer-link__speedTest .speedTest {
    fill: #00d4ff !important;
    transition: all 0.4s ease !important;
    animation: speedtestPulse 3s ease-in-out infinite;
}

.footer .footer-link__speedTest:hover .speedTest {
    fill: #60e0ff !important;
    filter: drop-shadow(0 0 20px rgba(0,212,255,0.8)) drop-shadow(0 0 40px rgba(0,212,255,0.4)) !important;
    animation: none !important;
    transform: scale(1.08) !important;
}

/* 7. APP BUTTONS GLASSMORPHISM */

.footer .btn__link.center_link,
.footer .btn__link {
    background: rgba(0,212,255,0.06) !important;
    border: 1px solid rgba(0,212,255,0.15) !important;
    border-radius: 12px !important;
    padding: 8px 16px !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.footer .btn__link.center_link:hover,
.footer .btn__link:hover {
    border-color: rgba(0,212,255,0.4) !important;
    background: rgba(0,212,255,0.12) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0,212,255,0.25), 0 0 12px rgba(0,212,255,0.15) !important;
}

.footer .btn__link img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.85 !important;
    transition: all 0.3s ease !important;
}

.footer .btn__link:hover img {
    opacity: 1 !important;
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(0,212,255,0.6)) !important;
}

.footer .btn__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%%;
    width: 50%%;
    height: 100%%;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.12), rgba(255,255,255,0.08), transparent);
    animation: appBtnShine 6s ease-in-out infinite;
    pointer-events: none;
}

/* 8. SCANNING LINE */

.footer > .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%%;
    width: 40%%;
    height: 100%%;
    background: linear-gradient(90deg, transparent 0%, rgba(0,212,255,0.06) 20%, rgba(0,212,255,0.12) 40%, rgba(0,212,255,0.18) 50%, rgba(0,212,255,0.12) 60%, rgba(0,212,255,0.06) 80%, transparent 100%);
    animation: footerScanline 12s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* MOBILE */

@media (max-width: 768px) {
    .footer::before {
        background-size: 40px 40px;
    }
    .footer .footer__title {
        font-size: 12px !important;
    }
    .footer .footer-link__social-item:hover {
        transform: translateY(-2px) !important;
    }
    .footer .btn__link:hover {
        transform: translateY(-2px) !important;
    }
}
