.features-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Pulsanti delle tab */
.features-tabs-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 0.8rem;
    border-radius: 100px;
    background-color: #e7e7f5;
    padding: 0.5rem;
    justify-content: space-between;
}

.feature-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem!important;
    background: var(--global-palette8);
    border-radius: 50px!important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px!important;
    font-weight: 500;
   color: var(--global-palette3)!important;
   opacity: 0.8;
    width: 100%;
    justify-content: center;
}

.feature-tab-btn:hover {
    background: rgba(255,255,255,0.5);
    transform: translateY(-2px);
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
     opacity: 1;
}

.feature-tab-btn.active {
    background: #fff;
    color: var(--global-palette3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.tab-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Contenuto delle tab */
.features-tabs-content {
    position: relative;
    min-height: 400px;
    background-color: white;
    border-radius: 1.5rem;
    padding: 0.5rem;
    transition: 0.3s;
}

/* Layout contenuto */
.feature-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Animazioni per ogni elemento */
.feature-image {
    overflow: hidden;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: var(--global-palette8);
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.feature-image img.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.feature-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
}
.feature-title.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}
.feature-subtitle {
    font-weight: 500;
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    font-size: 2rem!important;
}

.feature-subtitle.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.feature-description {
    transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

.feature-description.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.feature-description p {
    margin-bottom: 12px;
}
@media(max-width: 1100px) {
    .feature-tab-btn { 
        width: calc(50% - 5px);
    }
    .features-tabs-buttons { 
        flex-wrap: wrap;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .features-tabs-buttons {
        flex-direction: column;
        border-radius: 1.5rem;
    }

    .feature-tab-btn {
        width: 100%;
        justify-content: center;
    }

    .feature-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-title {
        font-size: 24px;
    }

    .feature-subtitle {
        font-size: 18px;
    }
    .feature-text { 
        gap: 1rem;
    }
    .feature-tab-btn { 
        width: 100%;
    }
}