        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        :root {
            /* 主色：蓝紫渐变 */
            --primary-100: #e0e7ff;
            --primary-300: #a5b4fc;
            --primary-500: #6366f1;
            --primary-600: #4f46e5;
            --primary-700: #4338ca;
            --primary: var(--primary-500);
            --purple: #8b5cf6;
            
            /* 辅助色 */
            --secondary-emerald-500: #10b981; /* 成功/正向数据 */
            --secondary-amber-500: #f59e0b; /* 警告/提示信息 */
            
            /* 灰度系（全端通用） */
            --gray-100: #f1f5f9;
            --gray-300: #cbd5e1;
            --gray-400: #94a3b8;
            --gray-500: #64748b;
            --gray-700: #334155;
            --gray-900: #0f172a;
            
            /* 基础全局变量 */
            --bg-dark: #020617;
            --bg-primary: #020617;
            --bg-card: var(--gray-900);
            --text-primary: #f8fafc;
            --text-secondary: var(--gray-400);
            --border: var(--gray-700);
            --container-width: 896px;  /* max-w-4xl */
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #020617;
            color: var(--text-primary);
            overflow-x: hidden;
        }
/* 浅色模式全局变量适配 */
[data-theme=light] {
    --bg-dark: var(--gray-100);
    --bg-card: white;
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-500);
    --border: var(--gray-500); /* 边框再深1个梯度，对比度从10%→15%，解决辨识度低问题 */
    /* 浅色模式下主色渐变饱和度降低20%，避免太艳 */
    --primary-gradient-opacity: 0.85;
}
/* 浅色模式Demo盒子背景适配：和demo页一致，极淡Byte蓝，和页面协调不突兀 */
html[data-theme=light] .demo-box {
    background: rgba(59, 111, 232, 0.05) !important;
}
[data-theme=light] body { background: rgba(255,255,255,0.95) !important; color: var(--gray-900) !important; }
/* 深色模式主色渐变不透明 */
[data-theme=dark] {
    --primary-gradient-opacity: 1;
}

        
        .glow-btn {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            background: linear-gradient(135deg, var(--primary), var(--purple));
            color: white;
            font-size: 14px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
            transition: all 0.3s;
        }
        
        .glow-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 28px rgba(99, 102, 241, 0.6);
        }
        
        /* Main - 单屏极紧凑 */
        main {
            /* max-width removed for consistency */
            margin: 0 auto;
            padding: 5rem 0px 3rem; /* 已改为rem单位，Tailwind pt-20=5rem pb-12=3rem */
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        /* Hero - 紧凑 */
        .hero {
            text-align: left;
            padding: 0 0 6px 0;
        }
        
        .hero h1 {
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 8px;
            line-height: 1.4;
            background: linear-gradient(135deg, var(--primary), var(--purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .hero-subtitle {
            font-size: 11px;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }
        
        .hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
        
        .outline-btn {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            background: transparent;
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 600;
            border: 1px solid var(--border);
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .outline-btn:hover { border-color: var(--primary); background: var(--bg-card); }
        
        /* 三能力入口 - 紧凑 */
        .entry-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }
        
        .entry-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 14px 12px;
            text-align: center;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .entry-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            border-radius: 12px 12px 0 0;
        }
        
        /* 所有卡片顶部渐变统一为主色，深浅模式自动适配透明度 */
        .entry-card::before { 
            background: linear-gradient(90deg, rgba(99, 102, 241, var(--primary-gradient-opacity)), rgba(139, 92, 246, var(--primary-gradient-opacity))); 
        }
        
        .entry-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
        }
        
        .entry-icon { font-size: 28px; margin-bottom: 8px; }
        .entry-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
        .entry-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
        
        .entry-cta {
            display: inline-block;
            padding: 6px 14px;
            background: rgba(99, 102, 241, 0.1);
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 6px;
            color: var(--primary);
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .entry-cta:hover { background: var(--primary); color: white; }
        
        /* Demo - 紧凑 */
        .demo-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
        }
        
        .demo-header {
            display: flex;
            gap: 16px;
            align-items: center;
            margin-bottom: 16px;
        }
        
        .demo-box {
            height: 100px;
            justify-content: center;
            flex: 1;

            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 16px;
            display: flex;
            flex-direction: column;
        }
        
        .demo-label {
            display: inline-block;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            padding: 3px 8px;
            border-radius: 100px;
            margin-bottom: 8px;
        }
        
        .demo-label.original { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
        .demo-label.optimized { background: rgba(16, 185, 129, 0.2); color: #10b981; }
        
        .demo-text { font-size: 12px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
        .demo-text code { background: rgba(99, 102, 241, 0.2); color: var(--primary); padding: 2px 4px; border-radius: 3px; }
        
        .demo-arrow {
            display: flex;
            align-items: center;
            font-size: 20px;
            color: var(--primary);
            flex-shrink: 0;
        }
        
        .demo-metrics {
            display: flex;
            justify-content: center;
            gap: 24px;
            padding-top: 8px;
            border-top: 1px solid var(--border) !important;
        }
        
        .metric { text-align: center; }
        .metric-value { font-size: 13px; font-weight: 700; color: #10b981; }
        .metric-label { font-size: 11px; color: var(--text-secondary); margin-top: 4px; }
        
        /* 价值+信任 合并行 */
        .stats-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        
        /* 三维价值 */
        .value-section {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
            border: 1px solid rgba(99, 102, 241, 0.2);
            border-radius: 12px;
            padding: 20px;
        }
        
        .value-title {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .value-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }
        
        .value-item {
            text-align: center;
            padding: 4px;
        }
        
        .value-highlight {
            font-size: 16px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .value-item p {
            font-size: 11px;
            color: var(--text-secondary);
            margin-top: 4px;
        }
        
        /* 信任数据 */
        .trust-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
        }
        
        .trust-title {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .trust-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }
        
        .stat-card {
            text-align: center;
            padding: 4px;
        }
        
        .stat-value {
            font-size: 12px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .stat-label {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 4px;
        }
        
        /* Footer */
        footer {
            background: var(--bg-primary) !important;
            border-top: 1px solid var(--border) !important;
            padding: 16px 24px;
            text-align: center;
            margin-top: 12px;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 12px;
            list-style: none;
            margin-bottom: 8px;
        }
        
        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 11px;
            transition: color 0.2s;
        }
        
        .footer-links a:hover { color: var(--text-primary); }
        
        .footer-copyright { color: var(--text-secondary); font-size: 10px; }
        
        /* 导航栏 Tab 样式 */
        .navbar-tab {
            padding: 8px 12px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s;
        }
        .navbar-tab:hover {
            color: var(--text-primary);
            background: rgba(255,255,255,0.05);
        }
        .navbar-tab.active {
            color: var(--text-primary);
            background: rgba(255,255,255,0.2);
        }

        .glow-btn:hover { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); transform: translateY(-2px); }
        
        /* Responsive - 移动端 */
        @media (max-width: 768px) {
            main { padding: 5rem 0px 3rem; /* 已改为rem单位，Tailwind pt-20=5rem pb-12=3rem */ gap: 16px; }
            .hero h1 { font-size: 22px; }
            .hero-cta { flex-direction: column; align-items: center; gap: 10px; }
            .entry-grid { grid-template-columns: 1fr; gap: 12px; }
            .demo-header { flex-direction: column; gap: 12px; }
            .demo-arrow { display: none; }
            .demo-metrics { flex-wrap: wrap; gap: 16px; }
            .stats-row { grid-template-columns: 1fr; }
            .value-grid { grid-template-columns: 1fr; }
            .trust-grid { grid-template-columns: 1fr; }
        }
    
        
        
        /* 平板端 (640px - 1024px) */
        @media (min-width: 640px) and (max-width: 1023px) {
            .entry-grid { grid-template-columns: repeat(2, 1fr); }
            .value-grid { grid-template-columns: repeat(2, 1fr); }
        }

    
        /* ===== 移动端优化 - 减少压迫感 2026-05-15 ===== */
        
        /* 手机端 (< 640px) */
        @media (max-width: 639px) {
            main { 
                padding: 56px 16px 24px;  /* 减小水平padding */
                gap: 16px;                /* 减小区块间距 */
            }
            
            .hero { padding: 0 0 80px 0; }
            .hero h1 { font-size: 17px; line-height: 1.4; }
            .hero-subtitle { font-size: 12px; margin-bottom: 12px; }
            .hero-cta { flex-direction: column; gap: 10px; }
            .hero-cta a { width: 100%; justify-content: center; padding: 10px 16px; }
            
            /* 三能力入口 - 单列，减少间距 */
            .entry-grid { gap: 10px; }
            .entry-card { padding: 12px 10px; }
            .entry-icon { font-size: 24px; margin-bottom: 6px; }
            .entry-title { font-size: 14px; margin-bottom: 4px; }
            .entry-desc { font-size: 12px; margin-bottom: 10px; }
            
            /* Demo展示 - 优化间距 */
            .demo-section { padding: 14px; }
            .demo-header { flex-direction: column; gap: 10px; }
            .demo-arrow { 
                transform: rotate(90deg); 
                font-size: 20px; 
                justify-content: center;
                padding: 4px 0;
            }
            .demo-box {
            height: 100px;
            justify-content: center; width: 100%; padding: 12px; }
            .demo-text { font-size: 12px; }
            .demo-metrics { 
                padding-top: 10px; 
                gap: 8px; 
            }
            .metric-value { font-size: 12px; }
            .metric-label { font-size: 10px; }
            
            /* 价值+信任 - 单列，优化间距 */
            .stats-row { gap: 10px; }
            .value-section { padding: 14px; }
            .value-title { font-size: 10px; margin-bottom: 10px; }
            .value-grid { grid-template-columns: 1fr; gap: 6px; }
            .value-item { 
                display: flex; 
                align-items: center; 
                gap: 12px; 
                text-align: left;
                padding: 6px 0;
                border-bottom: 1px solid rgba(99, 102, 241, 0.1);
            }
            .value-item:last-child { border-bottom: none; }
            .value-highlight { font-size: 15px; }
            
            /* 信任数据 */
            .trust-section { padding: 14px; }
            .trust-title { font-size: 10px; margin-bottom: 10px; }
            .trust-grid { gap: 8px; }
            .stat-value { font-size: 12px; }
            .stat-label { font-size: 12px; }
            
            /* 底部 */
            footer { padding: 16px; }
    background: var(--bg-primary) !important;
    background: var(--bg-primary) !important;
            .footer-links { gap: 8px; }
            .footer-links a { font-size: 11px; }
            .footer-copyright { font-size: 11px; }
        }

    
        /* ===== 移动端价值合并卡片 2026-05-15 ===== */
        @media (max-width: 639px) {
            .stats-row {
                padding: 12px 12px !important;
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 8px !important;
            }
            .stats-row > div {
                padding: 10px 8px !important;
            }
            .stats-row > div > div:last-child {
                gap: 8px !important;
            }
            .stats-row > div > div:last-child > div {
                font-size: 14px !important;
            }
        }

    

    /* 侧边栏 - 深浅模式适配 */
    .sidebar-left {
        position: fixed;
        left: 0;
        top: 60px;
        width: 160px;
        bottom: 0;
        background: #020617;
        border-right: 1px solid var(--border);
        padding: 16px 12px;
        overflow-y: auto;
        z-index: 40;
    }
    html[data-theme=light] body .sidebar-left {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    /* 深色模式明确对齐顶导色 */
    html[data-theme=dark] body .sidebar-left {
        background: #020617 !important;
    }
    .sidebar-item {
        display: block;
        padding: 12px 8px;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid transparent;
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.2s;
        color: var(--text-secondary);
    }
    .sidebar-item:hover {
        background: rgba(99, 102, 241, 0.15);
        border-color: rgba(99, 102, 241, 0.3);
        color: var(--text-primary);
    }
    .sidebar-item.active {
        background: rgba(99, 102, 241, 0.2);
        border-color: var(--primary);
        color: var(--text-primary);
    }
    .sidebar-icon { font-size: 20px; margin-bottom: 4px; display: block; }
    .sidebar-title { font-size: 12px; font-weight: 600; color: inherit; display: block; }
    .sidebar-desc { font-size: 10px; color: var(--text-secondary); display: block; margin-top: 2px; }
    .sidebar-right {
        position: fixed;
        right: 0;
        top: 60px;
        width: 160px;
        bottom: 0;
        background: #020617;
        z-index: 40;
    }
    [data-theme=light] .sidebar-right { background: rgba(255,255,255,0.95) !important; }
    .ad-placeholder {
        width: 100%;
        height: 100%;
        background: transparent;
        border-left: 1px dashed var(--border);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        font-size: 11px;
        text-align: center;
        opacity: 0.6;
    }
    .ad-placeholder .ad-icon { font-size: 24px; margin-bottom: 8px; }
    .ad-placeholder .ad-size { font-size: 9px; color: var(--text-secondary); opacity: 0.5; margin-top: 8px; }
    /* 响应式 */
    @media (max-width: 1024px) {
        .sidebar-left, .sidebar-right { display: none; }
        main { margin-left: 0 !important; margin-right: 0 !important; }
    }


        /* 移动端保持原样 */
        @media (max-width: 768px) {
            main {
                margin-left: 0 !important;
                margin-right: 0 !important;
                max-width: 100% !important;
            }
        }
    
@media (max-width: 639px) { :root[data-theme="light"] footer { background: rgba(255, 255, 255, 0.95) !important; } }
@media (max-width: 639px) { .stats-row { padding-left: 16px !important; padding-right: 16px !important; gap: 12px !important; } }

/* P4: 搜索来源 + 模型标签 */
.web-sources-inline {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 0.82rem;
}
.sources-header {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-400);
}
.source-item {
    padding: 4px 0;
    color: var(--text-secondary, #94a3b8);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    word-break: break-all;
    font-size: 0.78rem;
    line-height: 1.4;
}
.source-item:last-child { border-bottom: none; }
.model-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: none;
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
}
/* 问智工具层 */
.model-badge.hermes-agent {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}
.model-badge.orca-router {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}
/* 模型层 - DeepSeek 系 */
.model-badge.deepseek-chat,
.model-badge.deepseek-coder {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}
/* 模型层 - Qwen 系 */
.model-badge.qwen-turbo,
.model-badge.qwen-plus {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}
/* 模型层 - Moonshot 系 */
.model-badge.moonshot-v1,
.model-badge.moonshot-v1-32k {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}
/* 模型层 - GLM 系 */
.model-badge.glm-4-flash,
.model-badge.glm-4-plus {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}
/* 模型层 - Doubao 系 */
.model-badge.doubao-seed-2,
.model-badge.doubao-pro {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
}

/* 亮色主题 */
[data-theme=light] .web-sources-inline {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.1);
}
[data-theme=light] .source-item {
    color: #64748b;
}
[data-theme=light] .model-badge {
    background: rgba(100, 116, 139, 0.08);
    color: #64748b;
}
[data-theme=light] .model-badge.hermes-agent {
    background: rgba(79, 70, 229, 0.1);
    color: #6366f1;
}
[data-theme=light] .model-badge.orca-router {
    background: rgba(79, 70, 229, 0.1);
    color: #6366f1;
}
[data-theme=light] .model-badge.deepseek-chat,
[data-theme=light] .model-badge.deepseek-coder {
    background: rgba(5, 150, 105, 0.12);
    color: #059669;
}
[data-theme=light] .model-badge.qwen-turbo,
[data-theme=light] .model-badge.qwen-plus {
    background: rgba(217, 119, 6, 0.12);
    color: #d97706;
}
[data-theme=light] .model-badge.moonshot-v1,
[data-theme=light] .model-badge.moonshot-v1-32k {
    background: rgba(219, 39, 119, 0.12);
    color: #db2777;
}
[data-theme=light] .model-badge.glm-4-flash,
[data-theme=light] .model-badge.glm-4-plus {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}
[data-theme=light] .model-badge.doubao-seed-2,
[data-theme=light] .model-badge.doubao-pro {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}
    /* 内容区扩宽 - 仅PC/平板端生效，移动端保持原样 */
    /* 左右间距统一为7px，与左侧侧边栏间距对称 */
    @media (min-width: 769px) {
        /* 顶导航栏对齐内容区宽度 */
        nav > div:first-child {
            margin-left: 170px !important;
            margin-right: 20px !important;
            max-width: calc(100vw - 350px) !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
        main > .max-w-4xl {
            margin-left: 170px !important;
            margin-right: 10px !important;
            max-width: calc(100vw - 340px) !important;
        }
    }
