<style>
.service-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.service-hero {
    background: url('/img/server_bg.jpg') center/cover no-repeat, linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #581c87 100%);
    color: white;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    width: 180px;
    flex-shrink: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.service-categories {
    padding: 80px 0;
    background: #f8fafc;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

/* 服务项目布局 */
.service-item {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    width: 100%;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    scroll-margin-top: 100px;
}

.service-item.right-text {
    scroll-margin-top: 150px;
}

#IntelligentWarehouseManagement {
    scroll-margin-top: 180px;
    padding-top: 50px;
}

.service-item:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: none;
    box-shadow: none;
}

.service-content {
    display: flex;
    align-items: center;
    min-height: 500px;
}

/* 左文字右图片布局 */
.service-item.left-text .service-content {
    flex-direction: row;
}

.service-item.left-text .service-text {
    order: 1;
}

.service-item.left-text .service-image {
    order: 2;
}

/* 左图片右文字布局 */
.service-item.right-text .service-content {
    flex-direction: row;
}

.service-item.right-text .service-text {
    order: 2;
}

.service-item.right-text .service-image {
    order: 1;
}

.service-text {
    flex: 1.8;
    padding: 3rem;
}

.service-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
    position: relative;
}

.service-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.service-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.service-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: #475569;
    font-size: 0.9rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    border: none;
    flex: 1;
    min-width: 200px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: #10b981;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.service-metrics {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.metric {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af, #3730a3);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
    margin-left: 1rem;
    min-width: 120px;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    text-decoration: none;
    color: white;
}
.service-image {
    flex: 2.5;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}



/* Responsive Design */
@media (max-width: 1024px) {
    .service-content {
        min-height: 400px;
    }
    
    .service-text {
        padding: 2.5rem;
    }
    
    .service-text h3 {
        font-size: 1.4rem;
    }
    
    .service-image img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    /* 移动端改为垂直布局 */
    .service-item.left-text .service-content,
    .service-item.right-text .service-content {
        flex-direction: column;
    }
    
    .service-content {
        min-height: auto;
    }
    
    .service-text {
        padding: 2rem;
        order: 2;
    }
    
    .service-image {
        order: 1;
    }
    
    .service-image img {
        height: 300px;
    }
    
    .service-text h3 {
        font-size: 1.4rem;
    }
    
    .service-text h4 {
        font-size: 1.1rem;
    }
    
    .service-text p {
        font-size: 1rem;
    }
    

    
    .service-item {
        margin-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-text {
        padding: 1.5rem;
    }
    
    .service-text h3 {
        font-size: 1.4rem;
    }
    
    .service-text h4 {
        font-size: 1rem;
    }
    
    .service-features li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    
    .metric {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .service-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-metrics {
        justify-content: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-image img {
        height: 250px;
    }
}
</style>