/* ========== 基础变量与重置 ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-deep: #1a365d;
    --primary: #2b6cb0;
    --primary-light: #2a4365;
    --text-dark: #2c3e50;
    --text-gray: #4a5568;
    --text-light: #718096;
    --border-light: #e2e8f0;
    --bg-page: #f4f7fa;
    --bg-white: #ffffff;
    --bg-dark-footer: #1a202c;
    --footer-text: #a0aec0;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.02);
    --shadow-card: 0 10px 25px -5px rgba(0,0,0,0.03);
    --radius: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 导航栏（与首页完全一致） ========== */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px 0;
}

.logo-area {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-deep);
    font-size: 22px;
    font-weight: 700;
    gap: 10px;
    white-space: nowrap;
}

.logo-link img {
    vertical-align: middle;
}

.menu-area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.menu-area a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.menu-area a:hover,
.menu-area a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ========== 页面Hero区 ========== */
.page-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-sub {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: #e2e8f0;
    opacity: 0.95;
}

/* ========== 主内容区 ========== */
main {
    padding: 50px 0;
}

.feature-section {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
}

.section-title {
    font-size: 24px;
    color: var(--primary-deep);
    margin: 0 0 25px 0;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
    font-weight: 700;
}

/* ========== 双核驱动对比 ========== */
.dual-core-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.core-card {
    border-radius: var(--radius);
    padding: 30px 25px;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.core-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.xray-card {
    background: linear-gradient(135deg, #1e3a5f, #2b6cb0);
}

.sing-card {
    background: linear-gradient(135deg, #1e3a5f, #4a5568);
}

.core-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.core-card h3 {
    font-size: 22px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.core-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.core-features {
    list-style: none;
    padding: 0;
}

.core-features li {
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.core-features li:last-child {
    border-bottom: none;
}

/* ========== 协议标签云 ========== */
.protocol-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.protocol-item {
    flex-shrink: 0;
}

.protocol-badge {
    display: inline-block;
    background: #edf2f7;
    color: var(--primary-deep);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
    cursor: default;
}

.protocol-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(43, 108, 176, 0.2);
}

/* ========== 图形化管理特色网格 ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.feature-card {
    background: #f9fbfd;
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(43, 108, 176, 0.06);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--primary-deep);
    margin: 0 0 10px 0;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* ========== 性能指标仪表盘 ========== */
.perf-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 30px 20px;
    background: #f7fafc;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-top: 20px;
}

.perf-stat {
    text-align: center;
    min-width: 120px;
}

.perf-number {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.perf-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

/* ========== CTA 区域 ========== */
.cta-section {
    text-align: center;
    padding: 25px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px dashed var(--primary);
    color: var(--text-gray);
    font-size: 16px;
}

.cta-section a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
    transition: opacity 0.2s;
}

.cta-section a:hover {
    opacity: 0.8;
}

/* ========== 页脚（与首页完全一致） ========== */
footer {
    background: var(--bg-dark-footer);
    color: var(--footer-text);
    padding: 50px 0 0;
    border-top: 4px solid var(--primary);
    font-size: 14px;
}

.footer-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
}

.footer-cell {
    flex: 1 1 200px;
    min-width: 160px;
}

.footer-cell h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.footer-cell ul {
    list-style: none;
}

.footer-cell ul li {
    margin-bottom: 12px;
}

.footer-cell ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-cell ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--footer-text);
    line-height: 1.8;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .menu-area {
        justify-content: center;
    }
    .page-hero h1 {
        font-size: 26px;
    }
    .hero-sub {
        font-size: 16px;
    }
    .feature-section {
        padding: 20px;
    }
    .dual-core-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .perf-bar {
        gap: 20px;
        padding: 20px 15px;
    }
    .footer-row {
        flex-direction: column;
    }
}