/* 基础样式 */
* {  padding: 0; box-sizing: border-box; }
body { 
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif; 
    line-height: 1.6; 
    color: #333;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 区块通用样式 */
section { padding: 60px 0; }
h2 { 
    text-align: center; 
    font-size: 2.2em; 
    margin-bottom: 50px; 
    color: #2c3e50;
    word-break: keep-all;
}

/* 图标基础样式 - 增加优先级 */
.icon,
.card-icon,
.step-icon,
.result-icon {
    color: #1890ff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 痛点展示区图标 - 强制尺寸 */
.pain-card .icon,
.pain-card .iconfont { 
    font-size: 48px !important;  /* 使用px单位 */
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;

}

/* 解决方案区图标 - 强制尺寸 */
.service-card .card-icon,
.service-card .iconfont { 
    font-size: 36px !important;
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    margin-bottom: 15px;
}

/* 服务流程区图标 - 强制尺寸 */
.step .step-icon,
.step .iconfont {
    font-size: 40px !important;
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    margin: 20px 0;
}

/* 数据成果区图标 - 强制尺寸 */
.result-item .result-icon,
.result-item .iconfont {
    font-size: 32px !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    margin-bottom: 15px;
}

/* 确保图标本身也应用样式 */
.iconfont {
    display: inline-block !important;
    font-style: normal !important;
    vertical-align: middle !important;
}
/* 确保图标居中显示 */
.iconfont {
    display: inline-block;
}

/* 统一滚动容器样式 */
.scroll-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.scroll-track {
    display: flex;
    gap: 15px;
    animation: autoScroll 40s linear infinite;
}

/* 统一滚动动画 */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 4 - 15px * 3));
    }
}

/* 鼠标悬停时暂停滚动 */
.scroll-wrapper:hover .scroll-track {
    animation-play-state: paused;
}

/* 统一卡片样式 - 三层结构 */
.service-card {
    background: white;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    min-width: 220px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* 第二层：标题 */
.card-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
    line-height: 1.3;
}

/* 第三层：副标题/描述 */
.card-desc {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
}

/* 解决方案卡片特定样式 */
.solution-card {
    border-left: 3px solid #667eea;
}

/* 资质保障卡片特定样式 */
.qualification-card {
    border-left: 3px solid #e74c3c;
}

/* 痛点展示区样式 */
.pain-points { background: #f8f9fa; }
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}
.pain-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pain-card:hover { 
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.pain-card h3 { 
    font-size: 1.4em; 
    margin-bottom: 15px; 
    color: #2c3e50;
    font-weight: bold;
}
.pain-card p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}

/* 数据成果区样式 */
.results { 
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}
.results h2 { 
    color: white; 
    margin-bottom: 0px; /* 添加这行：调整标题与内容间距 */
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 0; /* 把这行从30px改为0 */
}
.result-item {
    text-align: center;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}
.result-number {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e74c3c;
    line-height: 1.1;
}
.result-label {
    font-size: 1em;
    opacity: 0.95;
    line-height: 1.4;
    font-weight: 500;
}

/* 服务流程区样式 */
.process { background: #f8f9fa; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}
.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}
.step h4 { 
    font-size: 1.3em; 
    margin-bottom: 12px; 
    color: #2c3e50;
    font-weight: bold;
}
.step p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}

/* 其他样式 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}
.hero h1 {
    font-size: 2em;
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero .subtitle {
    font-size: 1em;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}
.cta-buttons { margin-top: 25px; }
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 0 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
}
.btn-primary {
    background: #e74c3c;
    color: white;
}
.btn-primary:hover { background: #c0392b; transform: translateY(-2px); }

.contact { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}
.contact h2 { color: white; }
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}
.form-group { 
    margin-bottom: 15px; 
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 0.9em;
    color: white;
}
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background: white;
    box-sizing: border-box;
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.4;
}
.submit-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 10px;
}
.submit-btn:hover { background: #c0392b; }

/* 手机端样式 */
@media (max-width: 768px) {
    section { padding: 40px 0; }
    
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 1.8em;
        margin-bottom: 12px;
    }
    .hero .subtitle {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 1.6em;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    /* 手机端图标大小调整 */
    .pain-card .icon {
        font-size: 2.2em;
        height: 60px;
    }
    .service-card .card-icon {
        font-size: 1.6em;
        height: 40px;
    }
    .step .step-icon {
        font-size: 1.6em;
        height: 35px;
    }
    .result-item .result-icon {
        font-size: 1.3em;
        height: 30px;
    }
    
    /* 手机端卡片宽度调整 */
    .service-card {
        min-width: 200px;
        padding: 15px 12px;
    }
    .card-title {
        font-size: 1em;
    }
    .card-desc {
        font-size: 0.8em;
    }
    
    /* 手机端痛点展示区优化 */
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .pain-card {
        padding: 25px 20px;
    }
    .pain-card h3 {
        font-size: 1.3em;
    }
    .pain-card p {
        font-size: 0.9em;
    }
    
    /* 手机端数据成果区优化 */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
    .result-item {
        min-height: 120px;
        padding: 20px 12px;
    }
    .result-number {
        font-size: 1.8em;
    }
    .result-label {
        font-size: 0.9em;
    }
    
    /* 手机端服务流程区优化 */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .step {
        padding: 25px 20px;
    }
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.4em;
    }
    .step h4 {
        font-size: 1.2em;
    }
    .step p {
        font-size: 0.9em;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .contact-form {
        padding: 20px;
        margin: 0 15px;
    }
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.85em;
    }
    .form-group textarea {
        min-height: 60px;
    }
}

/* 电脑端隐藏重复内容 */
@media (min-width: 769px) {
    .scroll-track .service-card:nth-child(n+5) {
        display: none;
    }
}

/* 小手机端样式 */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6em;
    }
    .hero .subtitle {
        font-size: 0.9em;
    }
    h2 {
        font-size: 1.4em;
    }
    
    .service-card {
        min-width: 180px;
    }
    
    /* 小手机端图标调整 */
    .pain-card .icon {
        font-size: 2em;
        height: 50px;
    }
    .service-card .card-icon {
        font-size: 1.4em;
        height: 35px;
    }
    .step .step-icon {
        font-size: 1.4em;
        height: 30px;
    }
    .result-item .result-icon {
        font-size: 1.2em;
        height: 25px;
    }
    
    .container {
        padding: 0 15px;
    }
}