/* --- 变量定义 --- */
:root {
    --bg-dark: #050b14;
    --bg-card: rgba(20, 30, 48, 0.6);
    --primary: #00f2ff;       /* 青色霓虹 */
    --secondary: #7000ff;     /* 紫色霓虹 */
    --accent: #00ff9d;        /* 绿色高光 */
    --text-main: #ffffff;
    --text-muted: #a0aab5;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* --- 全局重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* --- 背景Canvas --- */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- 头部导航 --- */
.tech-header {
    position: fixed;
    top: 0; width: 100%;
    height: 80px;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-box {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}
.logo-text .highlight { color: var(--primary); text-shadow: 0 0 10px rgba(0, 242, 255, 0.5); }
.desktop-nav ul { display: flex; gap: 30px; }
.desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.desktop-nav a:hover { color: var(--primary); text-shadow: 0 0 8px var(--primary); }
.mobile-toggle { display: none; font-size: 24px; color: var(--text-main); cursor: pointer; }

/* 按钮样式 */
.btn-neon {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}
.btn-neon:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

/* --- 首屏 Hero --- */
.hero-section {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}
.badge-animate {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid var(--secondary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}
.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--primary), #fff);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}
.hero-desc {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}
.hero-btns { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; }
.btn-primary-lg {
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}
.btn-outline-lg {
    padding: 15px 40px;
    border: 1px solid var(--text-muted);
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
}
.btn-outline-lg:hover { border-color: var(--primary); color: var(--primary); }

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}
.stat-item { text-align: center; }
.stat-item .num { display: block; font-size: 36px; font-weight: 800; color: var(--accent); }
.stat-item .label { font-size: 14px; color: var(--text-muted); }

/* --- 通用Section --- */
.section-dark { padding: 100px 0; background: linear-gradient(180deg, var(--bg-dark), #0a1120); }
.section-light { padding: 100px 0; background: #080f1c; position: relative; }
.section-header-center { text-align: center; margin-bottom: 60px; }
.tech-title { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 15px; }
.tech-title-dark { font-size: 42px; font-weight: 700; color: #fff; }
.sub-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.line-deco, .line-deco-dark {
    width: 80px; height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    margin: 15px auto;
    border-radius: 2px;
}
.line-deco-dark { background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* --- GEO定义卡片 --- */
.geo-definition-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.card-icon { font-size: 48px; color: var(--accent); }
.strict-copy {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e6ed;
    text-align: justify;
}

/* --- 对比表格 --- */
.comparison-table-wrapper { margin-top: 60px; }
.sub-title { text-align: center; font-size: 24px; margin-bottom: 30px; color: var(--text-muted); }
.tech-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.tech-table th, .tech-table td { padding: 20px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.tech-table th { background: rgba(112, 0, 255, 0.2); color: var(--primary); font-weight: 600; }
.highlight-col { color: var(--accent); font-weight: 600; border-left: 1px solid var(--glass-border); }
.tech-table tr:last-child td { border-bottom: none; }

/* --- 百科服务网格 --- */
.wiki-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.wiki-card-pro {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
    height: 100%;
}
.wiki-card-pro:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15); }
.wiki-bg { position: absolute; top: 0; left: 0; width: 100%; height: 10px; }
.wiki-content { padding: 30px; position: relative; z-index: 2; }
.wiki-content i { font-size: 32px; color: #fff; margin-bottom: 15px; display: block; }
.wiki-content h3 { font-size: 22px; margin-bottom: 10px; color: #fff; }
.wiki-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.service-list li { font-size: 13px; color: #ccc; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.service-list i { color: var(--accent); font-size: 12px; }
.case-tag {
    display: inline-block;
    margin-top: 15px;
    padding: 4px 10px;
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent);
    font-size: 12px;
    border-radius: 4px;
    font-weight: 600;
}

/* 流程图 */
.process-flow { text-align: center; margin-top: 80px; }
.process-flow h3 { font-size: 28px; margin-bottom: 40px; }
.flow-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.step { flex: 1; min-width: 200px; background: rgba(255,255,255,0.03); padding: 20px; border-radius: 10px; }
.step-num { font-size: 32px; font-weight: 800; color: var(--secondary); opacity: 0.5; margin-bottom: 10px; }
.step h4 { color: #fff; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-muted); }

/* --- 案例卡片 --- */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.case-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}
.case-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--secondary);
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
}
.case-card h3 { color: var(--primary); margin-bottom: 15px; font-size: 20px; }
.case-problem, .case-solution, .case-result { font-size: 14px; margin-bottom: 10px; color: #ccc; }
.case-result strong { color: var(--accent); font-size: 16px; }

/* --- 解决方案 Tab --- */
.solution-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    font-weight: 600;
}
.sol-panel {
    display: none;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    animation: fadeIn 0.5s ease;
}
.sol-panel.active { display: block; }
.sol-panel h3 { color: var(--accent); margin-bottom: 15px; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.sol-panel p { color: var(--text-muted); font-size: 16px; line-height: 1.8; }

/* --- 新闻资讯 --- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}
.news-card:hover { border-color: var(--secondary); }
.news-date { font-size: 12px; color: var(--primary); margin-bottom: 10px; }
.news-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.news-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: 13px; color: var(--accent); font-weight: 600; }

/* --- 页脚 --- */
.tech-footer {
    background: #020408;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h3 { color: #fff; margin-bottom: 20px; font-size: 20px; }
.footer-col h4 { color: var(--primary); margin-bottom: 20px; font-size: 16px; }
.footer-col p, .footer-col li { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary); }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { font-size: 20px; color: var(--text-muted); }
.social-links a:hover { color: var(--primary); transform: scale(1.1); }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: #666;
}
.footer-bottom a { color: #888; margin: 0 5px; }
.footer-bottom a:hover { color: var(--primary); }
.separator { color: #444; }

/* --- 动画 --- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(112, 0, 255, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(112, 0, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(112, 0, 255, 0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 响应式 --- */
@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .stats-row { flex-direction: column; gap: 30px; }
    .geo-definition-card { flex-direction: column; }
    .flow-steps { flex-direction: column; }
    .nav-flex { position: relative; }
    /* 移动端菜单展开逻辑需在JS配合 */
    .mobile-menu-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: #050b14;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
}