/* === AgentWeb 扁平化样式 === */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #2563eb; --secondary: #7c3aed; --accent: #06b6d4;
    --bg-card: #ffffff; --bg-page: #f4f6fb;
    --text-primary: #1e293b; --text-secondary: #64748b;
    --border: #e2e8f0;
}
body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-page); color: var(--text-primary); overflow-x: hidden; min-height: 100vh;
}

/* === 纯色背景 === */
.video-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
    background: var(--bg-page);
}

/* === 星云背景（简化） === */
.nebula-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.3;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 30%, rgba(124,58,237,0.06) 0%, transparent 40%);
}

/* === 网格（去掉3D透视，保持2D） === */
.grid-floor {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 50%; z-index: -1; pointer-events: none; opacity: 0.06;
    background:
        linear-gradient(rgba(37,99,235,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}

/* === 画布层 === */
#matrix-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.05; }
#particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cursor-glow { position: fixed; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.06), transparent 70%); pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }

/* ==================== 导航栏（扁平版） ==================== */
nav {
    position: fixed; top: 0; width: 100%; padding: 0 50px; height: 64px;
    display: flex; justify-content: space-between; align-items: center; z-index: 1000;
    background: #fff; border-bottom: 1px solid var(--border);
}
.logo {
    font-family: 'Orbitron', sans-serif; font-size: 1.5em; font-weight: 700; letter-spacing: 1px;
    color: var(--primary); text-decoration: none;
}
.nav-links {
    display: flex; gap: 4px; list-style: none; align-items: center;
    background: var(--bg-page); border-radius: 8px; padding: 4px;
    border: 1px solid var(--border);
}
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.9em; font-weight: 500;
    padding: 7px 16px; border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--primary); background: #fff; }
.nav-links a.active {
    color: #fff; background: var(--primary); font-weight: 600;
}

/* CTA 按钮 */
.nav-cta, .nav-cta:hover, .nav-cta:active, .nav-cta:focus { text-decoration: none !important; border: none !important; outline: none !important; }
.nav-links .nav-cta {
    display: inline-block; padding: 8px 20px; border-radius: 6px; font-size: 0.88em; font-weight: 600;
    color: #fff !important; background: var(--primary); line-height: 1; transition: all 0.2s;
}
.nav-links .nav-cta:hover { background: var(--secondary); }

/* ==================== 通用区块 ==================== */
.page-hero {
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 160px 50px 80px; text-align: center; position: relative; z-index: 2;
}
.page-hero h1 { font-family: 'Orbitron', sans-serif; font-size: clamp(2em, 5vw, 3.5em); font-weight: 900; margin-bottom: 15px;
    color: var(--text-primary);
}
.page-hero p { font-size: 1.2em; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }
section { padding: 80px 50px; position: relative; z-index: 2; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-family: 'Orbitron', sans-serif; font-size: 2.2em; margin-bottom: 15px;
    color: var(--text-primary);
}
.section-title p { color: var(--text-secondary); font-size: 1.1em; }

/* === 卡片（扁平版） === */
.glass-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 40px;
    transition: all 0.2s;
}
.glass-card:hover {
    border-color: var(--primary); box-shadow: 0 2px 12px rgba(37,99,235,0.08);
}

/* === 按钮（扁平版） === */
.btn-primary {
    display: inline-block; padding: 12px 32px; background: var(--primary);
    border: none; border-radius: 8px; color: #fff; font-size: 1.05em; font-weight: 600;
    cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-primary:hover { background: var(--secondary); }
.btn-secondary {
    display: inline-block; padding: 12px 32px; background: #fff; border: 2px solid var(--primary);
    border-radius: 8px; color: var(--primary); font-size: 1.05em;
    text-decoration: none; transition: all 0.2s;
}
.btn-secondary:hover { background: var(--bg-page); }

/* === Footer === */
footer { text-align: center; padding: 30px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9em; position: relative; z-index: 2; background: #fff; }
footer a { color: var(--primary); text-decoration: none; }

/* === 滚动动画 === */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* === 响应式 === */
@media (max-width: 768px) {
    nav { padding: 0 20px; height: 60px; }
    .nav-links { display: none; }
    section, .page-hero { padding: 60px 20px; }
    .page-hero { padding: 120px 20px 60px; }
}

/* === 动画 === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.feature-icon { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero { min-height: 100vh; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 100px 20px; position: relative; }
.hero-badge { display: inline-block; padding: 8px 20px; border: 1px solid #e2e8f0; border-radius: 50px; font-size: 0.85em; color: var(--primary); margin-bottom: 30px; animation: fadeInUp 0.8s ease 0.2s both; }
.gradient-text { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; }
.hero h1 { font-family: 'Orbitron', sans-serif; font-size: clamp(2.5em, 6vw, 4.5em); font-weight: 900; line-height: 1.1; margin-bottom: 25px; }
.hero p { font-size: 1.2em; color: var(--text-secondary); max-width: 600px; margin-bottom: 40px; }
.metric-value { font-family: 'Orbitron'; font-size: 3.5em; font-weight: 900; color: var(--primary); }
