.features__title {
    text-align: center;
    line-height: 1.2;
}

.features__grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.features__card {
    box-sizing: border-box;
    width: 282px;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(153, 153, 153, 0.16) 100%);
    border-radius: 25px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.features__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.features__card-content {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.features__card-text {
    font-family: var(--font-tertiary);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.features__button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.features__button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.features__button:hover {
    transform: translateY(-3px);
}

.features__button-img {
    width: 160px;
    height: 40px;
}

/* Адаптивность для десктопов с меньшим разрешением */
@media (max-width: 1250px) {
    .features__grid {
        padding: 0 20px;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 1200px) {
    .features__grid {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .features {
        padding: 60px 0;
    }
    
    .features__grid {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }
    
    .features__card {
        width: 282px;
        flex: 0 0 282px;
    }

    .features__button-container {
        margin-top: 30px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .features {
        padding: 40px 0;
    }
    
    .features__grid {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        margin-top: 20px;
    }
    
    .features__card {
        width: 100%;
        flex: 0 0 auto;
    }

    .features__button-container {
        margin-top: 20px;
    }
    
    .features__card-content {
        padding: 20px;
    }

    .features__card-text {
        margin-top: 10px;
    }
    
    .features__button-img {
        width: 140px;
        height: 35px;
    }
} 