/* 贵州同森科技官网样式 - 基于DRD规范 */
/* 主色: #1E88E5 (科技蓝) | 辅助色: #333333 | 背景: #FFFFFF | 强调色: #E3F2FD */

/* ==================== 全局样式 ==================== */
body {
    font-family: "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
    color: #333333;
    background: #FFFFFF;
}

a {
    color: #1E88E5;
    transition: all 0.3s ease;
}

a:hover {
    color: #1976D2;
}

/* ==================== 首屏Banner ==================== */
#tongsen-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #0D47A1 0%, #1E88E5 100%);
}

#tongsen-hero .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 1s ease;
}

#tongsen-hero .hero-slide.active {
    opacity: 1;
}

#tongsen-hero .hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

#tongsen-hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#tongsen-hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

#tongsen-hero .btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #FFFFFF;
    color: #1E88E5;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#tongsen-hero .btn-primary:hover {
    background: #E3F2FD;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* ==================== 核心价值主张 ==================== */
#tongsen-value {
    padding: 80px 0;
    text-align: center;
    background: #FFFFFF;
}

#tongsen-value .value-text {
    font-size: 24px;
    color: #1E88E5;
    font-weight: 600;
    margin-bottom: 40px;
}

#tongsen-value .value-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
}

#tongsen-value .value-icon-item {
    text-align: center;
}

#tongsen-value .value-icon-item i {
    font-size: 48px;
    color: #1E88E5;
    margin-bottom: 15px;
    display: block;
}

#tongsen-value .value-icon-item span {
    font-size: 16px;
    color: #666666;
}

/* ==================== 企业痛点解决 ==================== */
#tongsen-pain-points {
    padding: 80px 0;
    background: #F8F9FA;
}

#tongsen-pain-points .section-title {
    text-align: center;
    font-size: 32px;
    color: #333333;
    margin-bottom: 50px;
}

#tongsen-pain-points .pain-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

#tongsen-pain-points .pain-card {
    flex: 1;
    min-width: 200px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

#tongsen-pain-points .pain-card:hover {
    background: #E3F2FD;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#tongsen-pain-points .pain-card .icon {
    font-size: 40px;
    color: #1E88E5;
    margin-bottom: 15px;
}

#tongsen-pain-points .pain-card h4 {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
}

#tongsen-pain-points .pain-card .arrow {
    color: #1E88E5;
    font-size: 20px;
    margin: 10px 0;
}

#tongsen-pain-points .pain-card p {
    font-size: 14px;
    color: #666666;
}

/* ==================== AI核心服务 ==================== */
#tongsen-ai-services {
    padding: 80px 0;
    background: #FFFFFF;
}

#tongsen-ai-services .section-title {
    text-align: center;
    font-size: 32px;
    color: #333333;
    margin-bottom: 50px;
}

#tongsen-ai-services .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#tongsen-ai-services .service-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

#tongsen-ai-services .service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#tongsen-ai-services .service-card.highlight {
    border: 2px solid #1E88E5;
    background: linear-gradient(135deg, #E3F2FD 0%, #FFFFFF 100%);
}

#tongsen-ai-services .service-card .icon {
    font-size: 48px;
    color: #1E88E5;
    margin-bottom: 15px;
}

#tongsen-ai-services .service-card h4 {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
}

#tongsen-ai-services .service-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* ==================== 行业解决方案 ==================== */
#tongsen-industries {
    padding: 80px 0;
    background: #F8F9FA;
}

#tongsen-industries .section-title {
    text-align: center;
    font-size: 32px;
    color: #333333;
    margin-bottom: 50px;
}

#tongsen-industries .industry-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

#tongsen-industries .industry-tab {
    padding: 12px 24px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #333333;
}

#tongsen-industries .industry-tab:hover,
#tongsen-industries .industry-tab.active {
    background: #1E88E5;
    color: #FFFFFF;
    border-color: #1E88E5;
}

#tongsen-industries .industry-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

#tongsen-industries .industry-card {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

#tongsen-industries .industry-card:hover {
    transform: scale(1.05);
}

#tongsen-industries .industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#tongsen-industries .industry-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0,0,0,0.7);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
}

/* ==================== 核心优势 ==================== */
#tongsen-advantages {
    padding: 80px 0;
    background: #FFFFFF;
}

#tongsen-advantages .section-title {
    text-align: center;
    font-size: 32px;
    color: #333333;
    margin-bottom: 50px;
}

#tongsen-advantages .advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

#tongsen-advantages .advantage-card {
    text-align: center;
    padding: 30px 20px;
}

#tongsen-advantages .advantage-card .icon {
    font-size: 48px;
    color: #1E88E5;
    margin-bottom: 20px;
}

#tongsen-advantages .advantage-card h4 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 15px;
}

#tongsen-advantages .advantage-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
}

/* ==================== 成功案例 ==================== */
#tongsen-cases {
    padding: 80px 0;
    background: #F8F9FA;
}

#tongsen-cases .section-title {
    text-align: center;
    font-size: 32px;
    color: #333333;
    margin-bottom: 50px;
}

#tongsen-cases .cases-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

#tongsen-cases .case-card {
    flex: 0 0 350px;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

#tongsen-cases .case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#tongsen-cases .case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#tongsen-cases .case-card .content {
    padding: 20px;
}

#tongsen-cases .case-card h4 {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
}

#tongsen-cases .case-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* ==================== 免费福利入口 ==================== */
#tongsen-free-benefits {
    padding: 60px 0;
    background: #1E88E5;
    color: #FFFFFF;
}

#tongsen-free-benefits .benefits-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#tongsen-free-benefits .benefit-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

#tongsen-free-benefits .benefit-item .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

#tongsen-free-benefits .benefit-item p {
    font-size: 16px;
    margin-bottom: 15px;
}

#tongsen-free-benefits .btn-white {
    display: inline-block;
    padding: 12px 30px;
    background: #FFFFFF;
    color: #1E88E5;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#tongsen-free-benefits .btn-white:hover {
    background: #E3F2FD;
}

/* ==================== 底部咨询栏 ==================== */
#tongsen-footer-contact {
    padding: 40px 0;
    background: #F8F9FA;
    border-top: 1px solid #E0E0E0;
}

#tongsen-footer-contact .contact-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

#tongsen-footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #1E88E5;
}

#tongsen-footer-contact .contact-item i {
    font-size: 24px;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1199px) {
    #tongsen-hero h1 {
        font-size: 32px;
    }
    
    #tongsen-ai-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #tongsen-advantages .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #tongsen-hero {
        height: 400px;
    }
    
    #tongsen-hero h1 {
        font-size: 28px;
    }
    
    #tongsen-hero p {
        font-size: 16px;
    }
    
    #tongsen-value .value-icons {
        flex-direction: column;
        gap: 30px;
    }
    
    #tongsen-pain-points .pain-cards {
        flex-direction: column;
    }
    
    #tongsen-ai-services .services-grid {
        grid-template-columns: 1fr;
    }
    
    #tongsen-advantages .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    #tongsen-free-benefits .benefits-grid {
        flex-direction: column;
    }
}
