/* 数智解决方案模块样式 */
.jiejuefangan {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.jiejuefangan h2 {
    color: #212836;
    font-family: Barlow;
    font-size: 2rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2.5rem;
    margin: 30px auto;
    text-align: center;
}

/* Tab标题栏样式 */
.tab-header {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    position: relative;
    margin: 4px auto 0;
}

.tab-item {
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-align: center;
    position: relative;
    transition: color 0.3s;
}

.tab-item:hover {
    color: #00629b;
    position: relative;
}

.tab-item:hover::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00629b;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.tab-item.active {
    color: #00629b;
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00629b;
}

/* Tab内容区域样式 */
.tab-content {
    /* 添加响应式宽度控制 */
    width: 100%;
    max-width: 100%;
    /* 增加最小高度使图片显示得更高 */
    min-height: 300px;
    
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
}

.tab-pane {
    display: none;
    padding: 40px;
    color: #fff;
}

.tab-pane.active {
    display: block;
}

/* 为每个tab-pane添加独立的背景图 */
.tab-pane#general {
    background: url('../img/fangan1.webp');
    background-size: cover;
    background-position: center;
}

.tab-pane#ai {
    background: url('../img/fangan2.webp');
    background-size: cover;
    background-position: center;
}

.tab-pane#industry {
    background: url('../img/fangan3.webp');
    background-size: cover;
    background-position: center;
}

/* 解决方案内容样式 */
.solution-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.solution-content h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.solution-content p {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 600px;
    line-height: 1.6;
    color: #ffffff;
}

.solution-image {
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
    text-align: center;
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.learn-more {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.learn-more:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.btn-blue {
    display: inline-block;
    padding: 6px 14px;
    background-color: #0067b9;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 40px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-blue:hover {
    background-color: #005285;
    transform: translateY(-2px);
}

/* 按钮容器样式 */
.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 160px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .jiejuefangan h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .tab-header {
        flex-wrap: wrap;
    }
    
    .tab-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tab-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .tab-pane {
        padding: 20px 15px;
    }
    
    .solution-content h3 {
        font-size: 20px;
    }
    
    .solution-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 针对更小屏幕的额外优化 */
    @media (max-width: 480px) {
        .tab-header {
            flex-direction: column;
            align-items: center;
        }
        
        .tab-item {
            width: 100%;
            padding: 12px 15px;
        }
        
        .tab-item.active::after {
            width: 50%;
            left: 25%;
        }
        
        .solution-image {
            max-width: 90%;
        }
    }
}