/* 行业解决方案区域样式 - 已删除，使用多行业解决方案切换展示模块 */
/* .industry-solutions {
    padding: 80px 0;
    background-color: #f9f9fa;
} */

/* 行业解决方案切换器样式 */
/* 默认隐藏所有行业面板 */
.industry-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* 默认显示制造行业面板 */
#manufacturing-panel {
    display: block;
    opacity: 1;
}

/* PC端行业标签样式 */
@media (min-width: 769px) {
    /* 行业标签样式 */
    .industry-tab {
        text-decoration: none !important;
        display: block !important;
        padding: 12px 15px !important;
        margin-bottom: 10px !important;
        border-radius: 25px !important;
        transition: all 0.3s ease !important;
        color: #333 !important;
        background-color: #f8f8f8 !important;
        border: 2px solid transparent !important;
        font-weight: 500 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    /* 激活状态的标签样式 - 移除线框描边 */
    .industry-tab.active {
        background-color: #2c7be5 !important;
        color: #ffffff !important;
        border-color: transparent !important;
        box-shadow: 0 4px 12px rgba(44, 123, 229, 0.3) !important;
    }
    
    /* 激活状态的标签图标样式 */
    .industry-tab.active i {
        color: #ffffff !important;
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
    }
    
    /* 悬停效果 - 移除线框描边 */
    .industry-tab:not(.active):hover {
        background-color: #f0f0f0 !important;
        color: #2c7be5 !important;
        border-color: transparent !important;
    }
    
    .industry-tab:not(.active):hover i {
        color: #2c7be5 !important;
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
    }
    
    /* 确保图标显示和颜色正确 */
    .industry-tab i {
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        color: #f39c12 !important;
    }
    
    /* 非激活状态的标签图标颜色 - 确保不继承激活状态的白色 */
    .industry-tab:not(.active) i {
        color: #f39c12 !important;
    }
    
    /* PC端全面覆盖所有交互状态的线框样式 - 保留边框定义以维持尺寸一致性 */
    .industry-tab:focus,
    .industry-tab:focus-visible,
    .industry-tab:active,
    .industry-tab.active:focus,
    .industry-tab.active:focus-visible,
    .industry-tab.active:active {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
        border: 2px solid transparent !important;
    }
    
    /* 移除PC端点击时的缩放效果，防止标签颤动 */
    .industry-tab:active {
        transform: none !important;
    }
}

/* PC端行业切换器容器样式 */
@media (min-width: 769px) {
    /* 行业解决方案切换器容器 - 调整高度以缩小显示区域20像素 */
    .industry-switcher-container {
        display: flex !important;
        gap: 30px !important;
        margin-top: 40px !important;
        flex-direction: row !important;
        height: 650px !important;
        position: relative !important;
    }
}

/* PC端行业导航容器样式 */
@media (min-width: 769px) {
    /* 左侧行业导航 */
    .industry-nav {
        flex: 0 0 200px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        padding: 0 !important;
        position: relative !important;
        border-bottom: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
        z-index: 10 !important;
        text-align: left !important;
        margin-bottom: 0 !important;
        max-width: none !important;
        white-space: normal !important;
    }
}

/* 右侧内容展示区 - 去掉滚动条 */
.industry-content {
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 移动端响应式设计 - 优化版 */
@media (max-width: 768px) {
    /* 调整行业切换器容器布局 - 移动端不使用固定高度 */
    .industry-switcher-container {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
        height: auto !important;
    }
    
    /* 调整左侧行业导航布局为横向排列并自动换行 */
    .industry-nav {
        flex: none;
        overflow: visible;
        padding: 8px 15px 15px 15px;
        position: relative;
        border-bottom: 1px solid #f0f0f0;
        background-color: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
        z-index: 10;
        display: block;
        text-align: left;
        margin-bottom: 0;
        max-width: 100%;
        white-space: normal;
    }
    
    /* 移除滚动条相关样式 */
    .industry-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    /* 标签横向排列并自动换行 */
    .industry-nav > .industry-tab {
        display: inline-block !important;
        align-items: center;
        margin: 4px 6px !important;
        white-space: nowrap !important;
        min-width: auto !important;
        width: auto !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        border-radius: 16px !important;
        background-color: #f8f8f8 !important;
        color: #333 !important;
        border: 1px solid transparent !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        /* 增加点击区域 */
        touch-action: manipulation;
    }
    
    /* 隐藏图标，只保留文字 - 移动端优化 */
    .industry-nav > .industry-tab i {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        visibility: hidden !important;
    }
    
    /* 移除滚动提示指示器 */
    .industry-nav::after {
        content: none !important;
    }
    
    /* 增强移动端激活状态样式 - 移除线框描边 */
    .industry-nav > .industry-tab.active {
        background-color: #2c7be5 !important;
        color: #ffffff !important;
        border-color: transparent !important;
        box-shadow: 0 4px 12px rgba(44, 123, 229, 0.3) !important;
    }
    
    /* 调整内容区域 */
    .industry-content {
        padding-top: 20px;
        background-color: #fff;
        border-radius: 12px !important;
        padding: 25px !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
    }
    
    /* 确保移动端标签图标可见 */
    .industry-nav > .industry-tab i {
        margin-right: 6px !important;
        font-size: 16px !important;
        display: inline-block !important;
        color: inherit;
    }
    
    /* 滑动提示指示器 - 窄化版 */
    .industry-nav::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #ddd, transparent);
        opacity: 0.5;
    }
    
    /* 移动端触摸反馈 - 仅在移动端生效 */
    .industry-nav > .industry-tab:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* 移动端悬停效果 - 移除线框描边 */
    .industry-nav > .industry-tab:hover {
        background-color: #f0f0f0 !important;
        color: #2c7be5 !important;
        border-color: transparent !important;
    }
    
    /* 激活状态的悬停效果 - 移除线框描边 */
    .industry-nav > .industry-tab.active:hover {
        background-color: #2c7be5 !important;
        color: #ffffff !important;
        border-color: transparent !important;
    }
    
    /* 全面覆盖所有交互状态的线框样式 - 保留边框定义以维持尺寸一致性 */
    .industry-tab:focus,
    .industry-tab:focus-visible,
    .industry-tab:active,
    .industry-tab.active:focus,
    .industry-tab.active:focus-visible,
    .industry-tab.active:active {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
        border: 1px solid transparent !important;
    }
    
    /* 确保移动端也覆盖所有状态 */
    .industry-nav > .industry-tab:focus,
    .industry-nav > .industry-tab:focus-visible,
    .industry-nav > .industry-tab:active,
    .industry-nav > .industry-tab.active:focus,
    .industry-nav > .industry-tab.active:focus-visible,
    .industry-nav > .industry-tab.active:active {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
        border: none !important;
    }
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.industry-icon {
    font-size: 32px;
    color: #1890ff;
    margin-bottom: 20px;
}

.industry-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.industry-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.industry-features {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.industry-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: #666;
}

.industry-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1890ff;
    font-weight: bold;
}

/* 客户案例logo样式 - 仅显示图片 */
.industry-cases {
    margin-top: 30px;
}

.industry-cases h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.case-logos {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.case-logo {
    display: block;
    width: 200px;
    height: 100px;
    overflow: hidden;
    text-align: center;
    line-height: 100px;
    border: none;
    background: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 优化的鼠标悬停效果 - 去掉边框 */
.case-logo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: none;
    background: #ffffff;
}

.case-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    vertical-align: middle;
    width: auto;
    height: auto;
    display: inline-block;
}

/* 行业解决方案按钮样式 - 最终优化版 */
.industry-btn {
    padding: 12px 20px;
    background-color: #2c7be5;
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: none;
    box-shadow: none;
    min-height: 60px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.industry-btn:hover {
    background-color: #1e6de4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 123, 229, 0.4);
    color: white !important;
}

.industry-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(44, 123, 229, 0.3);
}

/* 确保按钮在各种状态下都有正确的样式 */
.industry-btn:focus,
.industry-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .case-logos {
        justify-content: center;
        gap: 15px;
    }
    
    .case-logo {
        width: 160px;
        height: 80px;
        line-height: 80px;
    }
}

/* 行业亮点项目样式 */
.industry-highlights {
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 0;
}

.highlight-dot {
    width: 12px;
    height: 12px;
    background-color: #2c7be5;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.highlight-item p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

/* 行业标题和描述样式 */
.industry-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.industry-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

/* 优化后的客户评价区域样式 */
.testimonials {
    padding: 80px 0;
    background-color: #f0f4ff;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.quote-icon {
    font-size: 32px;
    color: #e6f7ff;
    position: absolute;
}

.quote-icon.fa-quote-left {
    top: 20px;
    left: 20px;
}

.quote-icon.fa-quote-right {
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
    padding: 10px 40px;
    position: relative;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
    width: 100%;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1890ff, #36cfc9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .industry-solutions, .testimonials {
        padding: 60px 0;
    }
    
    .solutions-grid, .testimonial-cards {
        gap: 20px;
    }
    
    .industry-card, .testimonial-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .testimonial-text {
        padding: 10px 30px;
        font-size: 15px;
    }
    
    .quote-icon {
        font-size: 24px;
    }
}