/* 平台服务页面样式 */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--light-orange) 0%, var(--light-green) 100%);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-gray);
}

/* 核心服务 */
.core-services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 13px;
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

/* 技术架构 */
.tech-architecture {
    background: var(--bg-light);
}

.architecture-diagram {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.arch-layer {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.arch-item {
    flex: 1;
    max-width: 200px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.arch-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.arch-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.arch-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.arch-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-orange), var(--primary-green));
    position: relative;
}

.arch-connector::before,
.arch-connector::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.arch-connector::before {
    top: -4px;
}

.arch-connector::after {
    bottom: -4px;
    background: var(--primary-green);
}

/* 服务优势对比 */
.service-compare {
    background: white;
}

.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.compare-table th,
.compare-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.compare-table th {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
}

.compare-table td {
    font-size: 14px;
    color: var(--text-gray);
}

.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.highlight-col {
    background: linear-gradient(135deg, rgba(255,179,102,0.1) 0%, rgba(126,215,193,0.1) 100%);
    color: var(--primary-orange) !important;
    font-weight: 600;
}

.compare-table tr:hover td {
    background: var(--bg-light);
}

.compare-table tr:hover .highlight-col {
    background: linear-gradient(135deg, rgba(255,179,102,0.15) 0%, rgba(126,215,193,0.15) 100%);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .arch-layer {
        flex-wrap: wrap;
    }
    
    .arch-item {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px 16px;
    }

    .service-icon {
        font-size: 36px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    .compare-table {
        font-size: 11px;
    }

    .compare-table th,
    .compare-table td {
        padding: 8px 10px;
    }

    .arch-diagram {
        flex-wrap: wrap;
        gap: 12px;
    }

    .arch-item {
        max-width: 80px;
        padding: 12px;
    }

    .arch-icon {
        font-size: 20px;
    }

    .arch-item span {
        font-size: 11px;
    }

    .arch-connector {
        font-size: 16px;
    }
}