/* Стили для блока "Области применения" */
.applications-section {
    padding: 80px 0;
    background-color: white;
}

.applications-container {
    max-width: 1900px;
    margin: 0 auto;
}

/* Навигация по табам */
.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    background-color: var(--light);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 180px;
    text-align: center;
    font-weight: 600;
    color: var(--dark);
}

.tab-btn i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
    transition: var(--transition);
}

.tab-btn span {
    font-size: 1rem;
    line-height: 1.3;
}

.tab-btn:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tab-btn.active i {
    color: white;
}

/* Контент табов */
.tabs-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-pane {
    display: none;
    padding: 40px;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.tab-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.tab-text > p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--dark);
}

/* Преимущества */
.benefits h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background-color: var(--light);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-item span {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Изображение таба */
.tab-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    align-items: center;
}

.tab-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.tab-image:hover img {
    transform: scale(1.03);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .tab-content-grid {
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tabs-nav {
        gap: 10px;
    }
    
    .tab-btn {
        min-width: 150px;
        padding: 15px 20px;
    }
    
    .tab-btn i {
        font-size: 1.7rem;
    }
    
    .tab-btn span {
        font-size: 0.9rem;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tab-image {
        order: -1;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .applications-section {
        padding: 60px 0;
    }
    
    .tabs-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 15px 20px;
    }
    
    .tab-btn i {
        margin-bottom: 0;
        margin-right: 15px;
        font-size: 1.5rem;
    }
    
    .tab-pane {
        padding: 30px 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .applications-section {
        padding: 40px 0;
    }
    
    .tab-pane {
        padding: 20px 15px;
    }
    
    .benefit-item {
        padding: 15px 10px;
    }
    
    .benefit-item i {
        font-size: 1.7rem;
    }
}