
.features-container {
    display: flex;
    justify-content: center;
    gap: 2px !important;
    margin: 25px 0;
    flex-wrap: wrap;
    padding: 0 5px;
}

.feature-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    min-height: 120px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 60;
    flex-shrink: 0;
    margin: 3px !important;
    transform: translateZ(0);
    will-change: transform;
     isolation: isolate;
}

.feature-card::after {
    content: " ";
    position: absolute;
    height: 80px !important;
    width: 100px;
    left: 50%;
    top: 10%;
    transform: translateX(-100%);
    background-image: linear-gradient(orange, magenta);
    filter: brightness(-7.-9)!important;
    display: flex;
    border-radius: 10%;
    z-index:  -10;
    border: 1px solid #ffffffa6;
    box-shadow: 
        inset 12px 0px 20px #fff,
        0 0 15px rgb(234, 0, 255);
    animation: 
        ani 20s cubic-bezier(0.4, 0, 0.2, 1) infinite,
        moveBallAfter 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, left, top;
}

.feature-card::before {
    content: " ";
    position: absolute;
    height: 60px;
    width: 60px;
    left: 50%;
    bottom: 10%;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, magenta, orange);
    border-radius: 50%;
    z-index: -1;
    border: 3px solid #ffffffa6;
    box-shadow: inset 12px 0px 20px #fff;
    animation: 
        ani-before 25s cubic-bezier(0.4, 0, 0.2, 1) infinite,
        moveBallBefore 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, left, bottom;
}

.feature-card .card-inner {
    width: 100%;
    height: 100%;
    border: 4px solid #ffffff56;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 15px;
    position: relative;
    box-shadow: 
        inset 2px 2px 8px rgba(255, 255, 255, 0.6),
        0 10px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 40;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover .card-inner {
    transform: scale(1.03);
    box-shadow: 
        inset 2px 2px 10px rgba(255, 255, 255, 0.8),
        0 15px 45px rgba(0, 0, 0, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-card .card-inner::after {
    content: " ";
    position: absolute;
    width: 300%;
    height: 25px;
    top: -100px;
    left: -100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 20%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 0.6) 80%, 
        transparent 100%
    );
    transform: rotate(45deg);
    filter: blur(15px);
    z-index: 8;
    animation: shine 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform;
}

.feature-card .feature-title {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(90deg, #000000, #333333);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1em;
    margin: 8px 0 12px 0;
    text-align: center;
    font-family: 'Bayon', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
     filter: none !important;
    -webkit-filter: none !important;
}

.feature-card .feature-desc {
    padding: 8px;
    color: #2a2a2a;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    font-family: 'Bayon', sans-serif;

    font-weight: 200;
    background: none;
}

/* НОВЫЕ АНИМАЦИИ ДЛЯ ДВИЖЕНИЯ ШАРОВ */
@keyframes moveBallAfter {
    0%, 100% {
        left: 50%;
        top: 10%;
        transform: translateX(-100%) scale(1) rotate(0deg);
    }
    25% {
        left: 65%;
        top: 20%;
        transform: translateX(-100%) scale(1.1) rotate(90deg);
    }
    50% {
        left: 50%;
        top: 35%;
        transform: translateX(-100%) scale(0.95) rotate(180deg);
    }
    75% {
        left: 35%;
        top: 25%;
        transform: translateX(-100%) scale(1.05) rotate(270deg);
    }
}

@keyframes moveBallBefore {
    0%, 100% {
        left: 50%;
        bottom: 10%;
        transform: translateX(-100%) scale(1) rotate(0deg);
    }
    25% {
        left: 35%;
        bottom: 25%;
        transform: translateX(-100%) scale(1.1) rotate(90deg);
    }
    50% {
        left: 65%;
        bottom: 35%;
        transform: translateX(-100%) scale(0.95) rotate(180deg);
    }
    75% {
        left: 50%;
        bottom: 20%;
        transform: translateX(-100%) scale(1.05) rotate(270deg);
    }
}

@keyframes ani {
    0%, 100% {
        transform: translateX(-100%) rotate(0deg);
    }
    50% {
        transform: translateX(-100%) rotate(360deg);
    }
}

@keyframes ani-before {
    0%, 100% {
        transform: translateX(-100%) rotate(0deg);
    }
    50% {
        transform: translateX(-100%) rotate(-360deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100px) rotate(45deg);
        opacity: 0.2;
    }
    10% {
        opacity: 0.4;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.9;
    }
    75% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(100%) translateY(500px) rotate(45deg);
        opacity: 0.1;
    }
}

/* Адаптивность для карточек особенностей */
@media (max-width: 1024px) {
    .features-container {
        gap: 6px;
    }
    
    .feature-card {
        max-width: 240px;
        min-height: 180px;
    }
    
    .feature-card::after {
        height: 80px;
        width: 80px;
    }
    
    .feature-card::before {
        height: 50px;
        width: 50px;
    }
    
    .feature-card .feature-title {
        font-size: 18px;
    }
    
    .feature-card .feature-desc {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .features-container {
        gap: 5px;
        padding: 0 3px;
    }
    
    .feature-card {
        max-width: 200px;
        min-height: 160px;
        margin: 1px;
    }
    
    .feature-card::after {
        height: 70px;
        width: 70px;
        animation: 
            ani 25s cubic-bezier(0.4, 0, 0.2, 1) infinite,
            moveBallAfter 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    
    .feature-card::before {
        height: 45px;
        width: 45px;
        animation: 
            ani-before 30s cubic-bezier(0.4, 0, 0.2, 1) infinite,
            moveBallBefore 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    
    .feature-card .card-inner::after {
        animation: shine 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    
    .feature-card .feature-title {
        font-size: 16px;
        margin: 6px 0 10px 0;
    }
    
    .feature-card .feature-desc {
        font-size: 12px;
        padding: 6px;
    }
}

@media (max-width: 640px) {
    .features-container {
        flex-direction: row;
        gap: 8px;
        padding: 0 10px;
    }
    
    .feature-card {
        max-width: 100%;
        min-height: 150px;
        flex: 1 1 calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .features-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .feature-card {
        max-width: 90%;
        min-height: 140px;
        flex: none;
    }
    
    .feature-card::after {
        animation: 
            ani 30s cubic-bezier(0.4, 0, 0.2, 1) infinite,
            moveBallAfter 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    
    .feature-card::before {
        animation: 
            ani-before 35s cubic-bezier(0.4, 0, 0.2, 1) infinite,
            moveBallBefore 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    
    .feature-card .card-inner::after {
        animation: shine 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
}