@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes neon-pulse-white {
    0%, 100% {
        box-shadow: 0 0 8px #ffffff, 0 0 16px #ffffff, 0 0 25px rgba(255, 255, 255, 0.6);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 12px #ffffff, 0 0 22px #ffffff, 0 0 32px rgba(255, 255, 255, 0.85);
        opacity: 0.85;
    }
}

@keyframes neon-pulse {
    0%, 100% {
        box-shadow: 0 0 8px #0055ff, 0 0 15px #0055ff, 0 0 25px rgba(0, 85, 255, 0.6);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 14px #0055ff, 0 0 24px #0055ff, 0 0 38px rgba(0, 85, 255, 0.9);
        opacity: 0.85;
    }
}



.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 18px;
}

.mobile-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.mobile-contact .phone {
    display: block;
    font-size: 20px;
    margin-bottom: 15px;
}


@media (max-width: 1200px) {
    .hero-main {
        gap: 40px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .main-nav {
        gap: 20px;
    }
    
    .header-right {
        gap: 20px;
    }
}


@media (max-width: 1024px) and (min-width: 769px) {
    .hero-card {
        width: 28%;
        padding: 10px 8px;
        border-bottom-width: 3px;
        border-radius: 8px;
    }
    
    .card-pattern-box {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }
}


@media (max-width: 992px) {
    .main-nav {
        display: none !important;
    }
    
    .dropdown {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-right .phone {
        display: none;
    }

    .header-phone .phone-text {
        display: none;
    }
    
    .header-phone {
        padding: 8px;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        order: 2;
        max-width: 100%;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-section {
        order: 1;
    }
    
    .company-info {
        order: 2;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (min-width: 993px) {
    .dropdown-menu {
        display: block !important;
    }
}


@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .header-phone {
        display: none;
    }
    
    .btn-personal .btn-text {
        display: none;
    }
    
    .btn-personal {
        padding: 8px;
    }

    .btn-personal .btn-icon {
        margin: 0;
    }

    .btn-admin .admin-text {
        display: none;
    }
    
    .btn-admin {
        padding: 10px;
        margin-left: 5px;
    }
    
    .mobile-admin-btn {
        display: flex;
    }
    
    .mobile-menu {
        top: 64px;
        height: calc(100vh - 64px);
    }

    .hero {
        min-height: auto;
    }

    .main-title {
        font-size: 36px;
    }

    .hero-visual {
        position: relative !important;
        display: block;
        width: 100%;
    }

    .hero-image-container {
        transform: none !important;
        margin-bottom: 0;
    }

    .hero-image-container:hover {
        transform: none !important;
    }
    
    .hero-image {
        height: 420px; 
    }

    .hero-card {
        position: absolute !important;
        width: calc(100% - 30px) !important;
        left: 15px !important;
        right: 15px !important;
        
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        
        padding: 8px 12px !important; 
        background-color: rgba(255, 255, 255, 0.25) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 16px !important;
        
        transform: none !important;
        bottom: auto !important;
    }
    
    .hero-card:hover {
        transform: translateY(-1px) !important;
    }

    .card-energy { top: 45% !important; }
    .card-analytics { top: 62% !important; }
    .card-control { top: 79% !important; }

    .card-pattern-box {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        margin-bottom: 0 !important;
        margin-right: 10px;
    }

    .pattern-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-card .card-title {
        flex: 1;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: white !important;
        line-height: 1.2;
    }

    .map-badge.pos-logo-brand.company-about-fullwidth {
        position: relative;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        margin-top: 20px;
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }

    .map-about-box-white {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .about-white-left, .about-white-right {
        flex: 1 1 100%;
    }

    .map-overlay {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        padding: 25px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-value {
        font-size: 42px;
    }
}


@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .mobile-menu-btn {
        font-size: 24px;
    }

    .main-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .map-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}