#page-ai-agent { background-color: #0a0e1a; color: #e2e8f0; }
#page-ai-agent .glass { background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); }
#page-ai-agent .glass-card { background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%); backdrop-filter: blur(10px); border: 1px solid rgba(148, 163, 184, 0.1); transition: all 0.3s ease; }
#page-ai-agent .glass-card:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.2); }
#page-ai-agent .text-gradient { background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#page-ai-agent .bg-grid { background-image: linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px); background-size: 50px 50px; }
#page-ai-agent .hero-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
#page-ai-agent .section-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
#page-ai-agent .section-fade.visible { opacity: 1; transform: translateY(0); }
#page-ai-agent .feature-icon { background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(139, 92, 246, 0.2)); border: 1px solid rgba(56, 189, 248, 0.3); }
#page-ai-agent .tag { background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3); color: #38bdf8; }
#page-ai-agent .architecture-line { background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent); }
#page-ai-agent .step-number { background: linear-gradient(135deg, #0ea5e9, #8b5cf6); }
#page-ai-agent .metric-card { background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8)); border: 1px solid rgba(148, 163, 184, 0.1); }
#page-ai-agent .btn-primary { background: linear-gradient(135deg, #0ea5e9, #6366f1); transition: all 0.3s ease; }
#page-ai-agent .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -5px rgba(14, 165, 233, 0.4); }
#page-ai-agent .btn-secondary { border: 1px solid rgba(148, 163, 184, 0.3); transition: all 0.3s ease; }
#page-ai-agent .btn-secondary:hover { border-color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
#page-ai-agent .tech-table { width: 100%; border-collapse: separate; border-spacing: 0; }
#page-ai-agent .tech-table th { background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.15)); color: #e2e8f0; font-weight: 600; padding: 12px 16px; text-align: left; border-bottom: 2px solid rgba(56, 189, 248, 0.3); font-size: 0.875rem; }
#page-ai-agent .tech-table td { padding: 10px 16px; color: #cbd5e1; border-bottom: 1px solid rgba(148, 163, 184, 0.08); font-size: 0.8125rem; }
#page-ai-agent .tech-table tbody tr:hover { background: rgba(56, 189, 248, 0.05); }
#page-ai-agent .tech-table tbody tr:last-child td { border-bottom: none; }
#page-ai-agent .flow-node { background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9)); border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 12px; padding: 12px 20px; text-align: center; min-width: 100px; transition: all 0.3s ease; }
#page-ai-agent .flow-node:hover { border-color: rgba(56, 189, 248, 0.6); transform: translateY(-2px); box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.2); }
#page-ai-agent .flow-node .node-title { color: #f1f5f9; font-weight: 600; font-size: 0.8125rem; }
#page-ai-agent .flow-node .node-desc { color: #94a3b8; font-size: 0.6875rem; margin-top: 2px; }
#page-ai-agent .flow-arrow { color: #38bdf8; font-size: 1.25rem; font-weight: bold; flex-shrink: 0; }
#page-ai-agent .evolution-stage { position: relative; padding: 16px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.15); background: rgba(15, 23, 42, 0.6); }
#page-ai-agent .evolution-stage:hover { border-color: rgba(56, 189, 248, 0.4); }
#page-ai-agent .dual-model-box { border-radius: 16px; padding: 20px; border: 1px solid rgba(148, 163, 184, 0.12); background: rgba(15, 23, 42, 0.6); position: relative; overflow: hidden; }
#page-ai-agent .img-container { border-radius: 16px; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.1); position: relative; }
#page-ai-agent .img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
#page-ai-agent .img-container:hover img { transform: scale(1.03); }
#page-ai-agent .img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 14, 26, 0.6) 0%, transparent 50%); pointer-events: none; }
#page-ai-agent .img-caption { text-align: center; color: #94a3b8; font-size: 0.9rem; margin-top: 10px; font-style: italic; font-weight: 500; }
#page-ai-agent .kit-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 500; border: 1px solid; }
#page-ai-agent .kit-tag.ok { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); color: #34d399; }
#page-ai-agent .kit-tag.partial { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); color: #fbbf24; }
#page-ai-agent .kit-tag.no { background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.3); color: #fb7185; }
#page-ai-agent .knowledge-layer { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.1); margin-bottom: 8px; }
#page-ai-agent .knowledge-layer:hover { border-color: rgba(56, 189, 248, 0.3); background: rgba(56, 189, 248, 0.03); }
#page-ai-agent .knowledge-layer .layer-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#page-ai-agent .knowledge-layer .layer-title { color: #f1f5f9; font-weight: 600; font-size: 0.8125rem; }
#page-ai-agent .knowledge-layer .layer-desc { color: #94a3b8; font-size: 0.75rem; }
#page-ai-agent .scroll-x { overflow-x: auto; }
#page-ai-agent .scroll-x::-webkit-scrollbar { height: 6px; }
#page-ai-agent .scroll-x::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.5); border-radius: 3px; }
#page-ai-agent .scroll-x::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.3); border-radius: 3px; }
#page-ai-agent .highlight-card { background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(139, 92, 246, 0.05)); border: 1px solid rgba(56, 189, 248, 0.2); }
#page-ai-agent .scenario-card { position: relative; overflow: hidden; }
#page-ai-agent .approval-step { display: flex; align-items: stretch; position: relative; }
#page-ai-agent .approval-step .step-left { width: 160px; flex-shrink: 0; padding: 16px; display: flex; align-items: center; justify-content: center; }
#page-ai-agent .approval-step .step-left .role-badge { background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.1)); border: 1px solid rgba(56, 189, 248, 0.25); color: #e2e8f0; padding: 8px 16px; border-radius: 8px; font-size: 0.8125rem; font-weight: 600; text-align: center; }
#page-ai-agent .approval-step .step-connector { width: 40px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; position: relative; }
#page-ai-agent .approval-step .step-connector .dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #0ea5e9, #8b5cf6); border: 2px solid #0a0e1a; z-index: 2; margin-top: 24px; }
#page-ai-agent .approval-step .step-connector .line { flex: 1; width: 2px; background: linear-gradient(to bottom, rgba(56, 189, 248, 0.5), rgba(139, 92, 246, 0.3)); }
#page-ai-agent .approval-step .step-right { flex: 1; padding: 12px 0; }
#page-ai-agent .approval-step .step-card { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(148, 163, 184, 0.1); border-radius: 12px; padding: 14px 18px; }
#page-ai-agent .approval-step .step-card .card-title { color: #f1f5f9; font-weight: 600; font-size: 0.8125rem; margin-bottom: 4px; }
#page-ai-agent .approval-step .step-card .card-desc { color: #94a3b8; font-size: 0.75rem; }
#page-ai-agent .flow-container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
#page-ai-agent .flow-v { display: flex; flex-direction: column; align-items: center; gap: 6px; }
#page-ai-agent .flow-v .flow-node { width: 100%; max-width: 280px; }
#page-ai-agent .flow-v .flow-arrow { transform: rotate(90deg); }
#page-ai-agent .flow-node.start { border-color: rgba(16, 185, 129, 0.4); background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(15, 23, 42, 0.9)); }
#page-ai-agent .flow-node.end { border-color: rgba(244, 63, 94, 0.4); background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(15, 23, 42, 0.9)); }
#page-ai-agent .flow-node.ai { border-color: rgba(139, 92, 246, 0.4); background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(15, 23, 42, 0.9)); }
#page-ai-agent .flow-node.tool { border-color: rgba(245, 158, 11, 0.4); background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(15, 23, 42, 0.9)); }
#page-ai-agent .flow-node.decision { border-color: rgba(236, 72, 153, 0.4); background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(15, 23, 42, 0.9)); border-radius: 24px; }

/* 视频弹窗 */
.video-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-modal-overlay.active {
    display: flex;
}
.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 960px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}
.video-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.video-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.video-player {
    width: 100%;
    display: block;
    max-height: 80vh;
}