/* ===== 客户端对比页专属样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 头部导航 ===== */
.header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #e2e8f0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px 0;
    gap: 16px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #334155;
    transition: color 0.2s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3b82f6;
}

/* ===== Hero 区域 ===== */
.compare-hero {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.compare-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.compare-hero h1 span {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.compare-hero p {
    color: #475569;
    font-size: 1.15rem;
}

/* ===== 通用标题 ===== */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

/* ===== 1. 工具速览卡片 ===== */
.overview-section {
    padding: 64px 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.overview-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px 18px;
    text-align: center;
    transition: all 0.25s;
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -10px rgba(0,0,0,0.1);
    border-color: #93c5fd;
}

.overview-card.highlight {
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 16px -6px rgba(59,130,246,0.15);
    background: white;
}

.ov-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.overview-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.overview-card p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 14px;
}

.ov-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
}

/* ===== 2. 可视化评分 ===== */
.rating-section {
    padding: 64px 0;
    background: #f8fafc;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.rating-category h4 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.rating-bar {
    height: 12px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 6px;
}

.bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 20px;
    width: 0%;
}

.bar-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.rating-note {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 24px;
}

/* ===== 3. 对比表格 ===== */
.table-section {
    padding: 64px 0;
    background: white;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 32px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.compare-table th {
    background: #f1f5f9;
    font-weight: 700;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #0f172a;
}

.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #334155;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: #f8fafc;
}

/* ===== 4. 场景推荐 ===== */
.scene-section {
    padding: 64px 0;
    background: #f1f5f9;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.scene-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 26px 18px;
    text-align: center;
    transition: all 0.2s;
}

.scene-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.1);
}

.scene-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 14px;
}

.scene-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.scene-card p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 16px;
}

.scene-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.scene-link:hover {
    text-decoration: underline;
}

.scene-note {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 14px;
    border-radius: 14px;
    font-size: 0.8rem;
}

/* ===== 5. 结论与动作 ===== */
.conclusion-section {
    padding: 64px 0;
    background: white;
    text-align: center;
}

.conclusion-text {
    max-width: 720px;
    margin: 0 auto 32px;
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.7;
}

.btn-conclusion-download {
    display: inline-block;
    background: #2563eb;
    color: white;
    font-weight: 700;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 18px -8px rgba(37,99,235,0.4);
    transition: all 0.2s;
}

.btn-conclusion-download:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* ===== 底部二次号召 ===== */
.cta-compare-download {
    background: #0f172a;
    padding: 48px 0;
    color: white;
    text-align: center;
}

.cta-cmp-box p:first-child {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-cmp-sub {
    color: #cbd5e1;
    margin-bottom: 24px;
}

.btn-cta-cmp {
    display: inline-block;
    background: #2563eb;
    color: white;
    font-weight: 700;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 18px -8px rgba(37,99,235,0.5);
    transition: all 0.2s;
}

.btn-cta-cmp:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 56px 0 32px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.8rem;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        gap: 18px;
        width: 100%;
        flex-wrap: wrap;
    }
    .compare-hero h1 {
        font-size: 2rem;
    }
    .compare-table {
        font-size: 0.8rem;
    }
}