.industry-section {
    padding: 60px 0;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
    width: 100%;
    box-sizing: border-box;
}

/* 确保父容器背景也是白色 */
body .industry-section,
.main .industry-section,
.container .industry-section {
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
}

.industry-title {
    font-size: 32px;
    font-weight: 600;
    color: #1E293B;
    text-align: center;
    margin-bottom: 48px;
}

/* 兼容旧结构：如果直接是 .industry-cards，也应用滚动样式 */
.industry-section > .industry-cards {
    display: flex;
    gap: 20px;
    padding: 0;
    width: max-content;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
    margin-bottom: 48px;
}

.industry-cards-scroll .industry-cards {
    display: flex;
    gap: 40px;
    padding: 0;
    width: max-content;
    box-sizing: border-box;
}

.industry-cards-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 64px;
    margin-bottom: 48px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, transparent, white 5%, white 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 5%, white 95%, transparent);
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

.industry-cards-scroll .industry-cards {
    overflow-x: visible;
    overflow-y: visible;
}

.industry-cards-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.industry-card {
    position: relative;
    width: 300px;
    height: 400px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

/* 确保卡片有内容时背景色不显示 */
.industry-card:has(.industry-bg[style*="background-image"]) {
    background-color: transparent;
}

.industry-card:hover {
    box-shadow: 0 20px 40px -12px rgba(98, 70, 232, 0.4);
}

.industry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transition: transform 1s ease;
    z-index: 1;
    display: block;
    min-height: 100%;
    min-width: 100%;
    opacity: 1;
}

/* 确保背景图片正确显示 */
.industry-card .industry-bg[style*="background-image"] {
    opacity: 1 !important;
    visibility: visible !important;
}

.industry-card:hover .industry-bg {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 20;
}

.industry-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    display: inline-block;
}

.industry-arrow {
    display: none;
    margin-left: 8px;
    vertical-align: middle;
}

.industry-card:hover .industry-arrow {
    display: inline-block;
}

.arrow-icon {
    color: #6246E8;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.industry-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid #E5E7EB;
    margin-top: 48px;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #6246E8;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 16px;
    color: #6B7280;
}

@media (max-width: 1024px) {
    .industry-cards {
        gap: 20px;
    }
    .industry-card {
        width: 280px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .industry-cards {
        gap: 20px;
    }
    .industry-card {
        width: 260px;
        height: 360px;
    }
    .industry-stats {
        gap: 24px;
    }
}
