:root {
    /* --- 高端专业配色 (Professional Light Theme) --- */
    --bg-color: #ffffff;         /* 纯白背景 */
    --bg-secondary: #fafbfc;     /* 浅蓝灰背景 */
    --text-primary: #0f172a;     /* 深蓝文字 */
    --text-secondary: #475569;   /* 中灰文字 */

    /* 品牌色：深蓝+金色 */
    --primary-color: #1e3a8a;    /* 深蓝 */
    --primary-light: #3b82f6;    /* 浅蓝 */
    --accent-color: #d97706;     /* 金色/橙色 */

    /* 渐变色：深蓝到金色 */
    --gradient-main: linear-gradient(135deg, #1e3a8a 0%, #d97706 100%);

    /* 布局变量 */
    --container-width: 1200px;
    --nav-height: 70px;
    --border-radius: 12px;
}

/* 基础重置 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* 容器工具类 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.15);
    border: none;
}
.btn-primary:hover { box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 10px;
}
.btn-outline:hover {
    background: rgba(224, 35, 78, 0.05);
}

/* 导航栏 - 玻璃拟态效果 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}
.logo-img { height: 32px; margin-right: 10px; }
.nav-links a {
    margin-left: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-links a:hover { color: var(--primary-color); }
.nav-links .btn { color: white; margin-left: 30px; padding: 8px 20px; font-size: 0.9rem; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); }

/* Hero 区域 */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    overflow: hidden;
    background: white;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}
.text-gradient {
    color: var(--primary-color);
}
.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* 代码终端效果 */
.code-terminal {
    background: #1e1e2e;
    border-radius: 12px;
    width: 100%;
    max-width: 640px;
    margin: 60px auto 0;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}
.terminal-header { display: flex; gap: 8px; margin-bottom: 15px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.terminal-body p {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    color: #dcdcdc;
    margin-bottom: 10px;
}
.prompt { color: var(--accent-color); margin-right: 8px; font-weight: bold; }
.success { color: #27c93f; }

/* 背景光晕 */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(180px);
    opacity: 0.03;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.glow-1 { top: -200px; left: -100px; }
.glow-2 { bottom: -100px; right: -100px; background: var(--accent-color); }

/* 特性板块 */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--text-primary); }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

/* 核心特性列表 */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.feature-item {
    padding-left: 60px;
    position: relative;
}
.feature-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.15;
}
.feature-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}
.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 58, 138, 0.1);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}
.icon-box { font-size: 3rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.3rem; color: var(--text-primary); }
.card p { color: var(--text-secondary); font-size: 1rem; }

/* 左右分栏布局 */
.alt-bg { background: var(--bg-secondary); }
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}
.split-content { flex: 1; }
.split-content h2 { color: var(--text-primary); }
.split-content p { color: var(--text-secondary); }
.desc-text { color: var(--text-secondary); margin-bottom: 20px; }
.split-image { flex: 1; text-align: center; }

.feature-list li {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-secondary);
}
.feature-list strong { color: var(--text-primary); display: block; margin-bottom: 5px; font-size: 1.1rem;}
.tech-img { width: 100%; max-width: 450px; border-radius: 12px; }
.glow-img { filter: drop-shadow(0 8px 16px rgba(0, 173, 216, 0.15)); }

/* 统计数据 */
.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary-color); display: block; }
.stat-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: 8px; }

/* 对比表格 */
.comparison-table {
    overflow-x: auto;
    margin-top: 40px;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
thead {
    background: var(--bg-secondary);
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}
th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
}
td {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-secondary);
}
td.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* 应用场景列表 */
.scenarios-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.scenario-item {
    padding: 24px;
    border-left: 3px solid var(--primary-color);
    background: white;
    border-radius: 4px;
    transition: 0.2s;
}
.scenario-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.06);
}
.scenario-item h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}
.scenario-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 应用场景 */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.use-case-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.1);
}
.use-case-icon { font-size: 2.5rem; margin-bottom: 15px; }
.use-case-card h3 { color: var(--text-primary); margin-bottom: 10px; }
.use-case-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* 快速开始 */
.start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.start-step {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    margin-bottom: 15px;
}
.start-step b { color: var(--text-primary); display: block; margin-bottom: 15px; }
.cmd {
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}
.cmd code {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-family: 'Menlo', monospace;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cmd-copy {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
}
.cmd-copy:hover {
    background: var(--primary-color);
    color: white;
}
.muted { color: var(--text-secondary); }

/* 社区卡片 */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.community-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.1);
}
.community-icon { font-size: 2.5rem; margin-bottom: 15px; }
.community-card h3 { color: var(--text-primary); margin-bottom: 10px; }
.community-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 15px; }
.community-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: 0.2s;
}
.community-link:hover { color: var(--accent-color); }

/* 社区与支持列表 */
.support-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.support-item {
    padding: 24px;
    border-top: 2px solid var(--primary-color);
    background: white;
    border-radius: 4px;
    transition: 0.2s;
}
.support-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.06);
}
.support-item h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}
.support-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.support-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}
.support-link:hover {
    color: var(--accent-color);
}

/* 页脚 */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    text-align: center;
}
.footer h3 { margin-bottom: 10px; font-size: 1.5rem; color: var(--text-primary); }
.footer p { color: var(--text-secondary); margin-bottom: 30px; }
.footer-links { margin-bottom: 50px; }
.footer-links a {
    margin: 0 20px;
    color: var(--text-secondary);
    font-weight: 500;
}
.footer-links a:hover { color: var(--primary-color); }
.copyright { color: rgba(0, 0, 0, 0.4); font-size: 0.85rem; }

/* 响应式适配 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .split-layout { flex-direction: column; }
    .hero { padding-top: 130px; }
    .stats { flex-direction: column; gap: 20px; }
}
