/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f9fbfd;
    line-height: 1.6;
}

/* 通用样式 */
.section-container {
    max-width: 80%;
    margin: 0 auto;
    margin-top: 20px;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #2c3e50;
    position: relative;
}

.section-title small {
    display: block;
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
    color: #7f8c8d;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #3498db;
    margin: 15px auto 0;
}

.btn-primary {
    background-color: #2c58a5;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #1a3c75;
}

/* 顶部 Hero - 紧贴页面顶部 */
.hero-section {
    background: linear-gradient(rgba(44, 88, 165, 0.6), rgba(44, 88, 165, 0.4)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

/* 确保后续内容不被hero图片遮挡 */
.section-container.pain-points {
    margin-top: 300px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* 1. 痛点 6宫格 */
.pain-points .grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pain-points .card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.pain-points .card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 32px;
    color: #3498db;
    margin-bottom: 15px;
}

.pain-points h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.pain-points p {
    color: #666;
    font-size: 14px;
}

/* CTA Banner */
.cta-banner {
    text-align: center;
    margin: 20px 0;
}

/* 2. 解决方案 */
.solutions {
    background: #fff;
}

.tabs {
    text-align: center;
    margin-bottom: 40px;
}

.tabs span {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ddd;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 20px;
    color: #666;
}

.tabs span.active {
    background: #2c58a5;
    color: white;
    border-color: #2c58a5;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.solution-card {
    display: flex;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.s-icon {
    font-size: 36px;
    color: #2c58a5;
    margin-right: 20px;
    min-width: 50px;
}

/* 3. 为何选择 (圆形布局模拟) */
.why-us {
    background: #f0f4f8;
    text-align: center;
}

.why-nav span {
    margin: 0 15px;
    color: #666;
    font-weight: 500;
}

.circle-container {
    position: relative;
    width: 600px;
    height: 400px;
    margin: 50px auto 0;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
    z-index: 2;
}

.center-circle i {
    font-size: 36px;
    margin-bottom: 5px;
}

.outer-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    z-index: 1;
}

.orbit-item {
    position: absolute;
    width: 220px;
    text-align: left;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.orbit-item i {
    font-size: 24px;
    color: #2c58a5;
    margin-right: 15px;
}

.orbit-item h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.orbit-item p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* 定位四个点 */
.item-left-top {
    top: 20px;
    left: -20px;
}

.item-right-top {
    top: 20px;
    right: -20px;
}

.item-left-bottom {
    bottom: 20px;
    left: -20px;
}

.item-right-bottom {
    bottom: 20px;
    right: -20px;
}

/* 4. 流程 */
.process {
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.step {
    flex: 1;
    background: white;
    border: 1px solid #eee;
    padding: 30px 10px;
    border-radius: 4px;
    position: relative;
}

.active-step {
    background: #f0f7ff;
    border-color: #2c58a5;
}

.step-icon {
    font-size: 30px;
    color: #2c58a5;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.sub-step {
    font-size: 12px;
    background: #eee;
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    border-radius: 4px;
    color: #555;
}

.arrow {
    padding-top: 80px;
    color: #ddd;
    font-size: 24px;
    margin: 0 10px;
}

.center-btn {
    margin-top: 30px;
}



/* 右侧侧边栏 */
.sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #2c58a5;
    color: white;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    z-index: 1000;
}

.side-item {
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
    width: 60px;
}

.side-item:hover {
    background: #1a3c75;
}

.side-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.side-item span {
    font-size: 12px;
}

.side-item:last-child {
    border-bottom: none;
}

/* 响应式适配 (手机端简单适配) */
@media (max-width: 768px) {

    .pain-points .grid-box,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .circle-container {
        width: 100%;
        height: auto;
    }

    .orbit-item {
        position: static;
        margin: 10px auto;
        width: 100%;
    }

    .center-circle,
    .outer-ring {
        display: none;
    }

    .process-steps {
        flex-direction: column;
    }

    .arrow {
        display: none;
    }

    .step {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        gap: 20px;
    }

    .subcategory-image {
        height: 180px;
    }
}