/* 变量体系 - 继承首页视觉家族 */
:root {
    --core-accent: #3aee8b;
    --core-accent-dim: rgba(58, 238, 139, 0.15);
    --core-surface: #141c2b;
    --core-surface-alt: #1e293b;
    --core-bg: #090e17;
    --core-text: #f8fafc;
    --core-text-muted: #94a3b8;
    --radius-base: 12px;
    --radius-lg: 16px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(58, 238, 139, 0.1);
    --transition: 0.25s ease;
}

/* 全局重置与基底 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--core-bg);
    color: var(--core-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 强制：文本换行规范 */
.vox-break {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.vox-cn {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 强制：Flexbox 通用类 */
.mesh-flex {
    display: flex;
    flex-wrap: wrap;
}
.mesh-flex > * {
    min-width: 0;
}

/* --- 导航栏复用样式 (严格保持结构匹配) --- */
.crest-top {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.radar-zone {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}
.glyph {
    display: flex;
    align-items: center;
}
.glyph img {
    height: 32px;
    width: auto;
    display: block;
}
.route-threads {
    gap: 2rem;
    align-items: center;
}
.wire {
    color: var(--core-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}
.wire:hover,
.wire.active {
    color: var(--core-accent);
}

/* --- 页面骨架与版心 --- */
.fold-master {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.hub-core {
    flex: 1;
    width: 100%;
}
.zone-bound {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* --- Section 1: 部署您的XChat工作区 (Hero 变体) --- */
.nexus-reverse {
    position: relative;
    padding: 6rem 0 4rem;
    background: radial-gradient(circle at 70% 30%, var(--core-accent-dim) 0%, transparent 60%);
}
.nexus-mesh {
    gap: 4rem;
    align-items: center;
}
.nexus-vox-pod {
    flex: 1 1 400px;
}
.nexus-lens-pod {
    flex: 1 1 500px;
    position: relative;
}
.apex-prime {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}
.apex-prime-highlight {
    color: var(--core-accent);
}
.vox-lead {
    font-size: 1.125rem;
    color: var(--core-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.mesh-actions {
    gap: 1rem;
}
.ping-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--core-accent);
    color: var(--core-bg);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(58, 238, 139, 0.2);
    transition: all var(--transition);
}
.ping-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 238, 139, 0.3);
}
.ping-primary:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.ping-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.05);
    color: var(--core-text);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition);
}
.ping-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}
.lens-nexus {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.05);
    display: block;
}
.rune-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- Section 2: 全平台发行矩阵 (Data Panel) --- */
.flare-zone {
    padding: 5rem 0;
    background: var(--core-bg);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.02);
}
.apex-matrix {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #ffffff;
}
.packet-mesh {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.node-blip {
    background: linear-gradient(135deg, var(--core-surface), var(--core-bg));
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), border-color var(--transition);
}
.node-blip:hover {
    transform: translateY(-5px);
    border-color: rgba(58, 238, 139, 0.3);
}
.node-crest {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.node-rune-pod {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--core-accent);
    border: 1px solid rgba(58, 238, 139, 0.2);
}
.node-rune-pod svg {
    width: 24px;
    height: 24px;
}
.apex-node {
    font-size: 1.25rem;
    font-weight: 600;
}
.data-band {
    margin-bottom: 2rem;
    flex: 1;
}
.data-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    font-size: 0.9rem;
}
.data-row:last-child {
    border-bottom: none;
}
.data-key {
    color: var(--core-text-muted);
}
.data-val {
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.ping-emit {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(58, 238, 139, 0.1);
    color: var(--core-accent);
    padding: 0.875rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(58, 238, 139, 0.2);
    transition: all var(--transition);
}
.ping-emit:hover {
    background: var(--core-accent);
    color: var(--core-bg);
}

/* 视觉插图区 */
.visual-mesh {
    gap: 3rem;
    align-items: center;
    background: var(--core-surface-alt);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
}
.visual-lens {
    flex: 1 1 300px;
}
.visual-lens img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.visual-vox {
    flex: 1 1 300px;
}
.apex-sub {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}
.vox-desc {
    color: var(--core-text-muted);
    margin-bottom: 1.5rem;
}

/* --- Section 3: 环境依赖与安全性 (Status List) --- */
.wave-abyss {
    padding: 5rem 0 6rem;
    background: linear-gradient(to bottom, var(--core-bg), #05080f);
}
.status-mesh {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}
.status-pod {
    background: transparent;
}
.status-crest {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(58, 238, 139, 0.3);
}
.status-crest svg {
    width: 24px;
    height: 24px;
    color: var(--core-accent);
}
.apex-status {
    font-size: 1.25rem;
    color: #fff;
}
.dl-mesh dt {
    font-weight: 600;
    color: #fff;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
}
.dl-mesh dt:first-child {
    margin-top: 0;
}
.dl-mesh dd {
    color: var(--core-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.code-band {
    display: block;
    background: var(--core-surface);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: ui-monospace, monospace;
    font-size: 0.85rem;
    color: var(--core-accent);
    margin-top: 0.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    overflow-x: auto;
}

/* --- Footer --- */
.sole-abyss {
    background: #05080f;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.sole-vox {
    color: var(--core-text-muted);
    font-size: 0.9rem;
}
.sole-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: block;
}

/* 响应式断点 */
@media (max-width: 768px) {
    .radar-zone {
        padding: 1rem;
    }
    .route-threads {
        gap: 1rem;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    .nexus-reverse {
        padding: 3rem 0 2rem;
        text-align: center;
    }
    .mesh-actions {
        justify-content: center;
    }
    .apex-prime {
        font-size: 2rem;
    }
    .zone-bound {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .visual-mesh {
        padding: 1.5rem;
    }
}

.radar-crest-top .radar-mesh-flex{
            display: flex;
            flex-wrap: wrap;
        }

.radar-crest-top .radar-mesh-flex > *{
            min-width: 0;
        }

.radar-crest-top{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(9, 14, 23, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

.radar-crest-top .radar-radar-zone{
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem 2rem;
            align-items: center;
            justify-content: space-between;
        }

.radar-crest-top .radar-glyph{
            height: 32px;
            display: flex;
            align-items: center;
        }

.radar-crest-top .radar-glyph img{
            height: 100%;
            width: auto;
            object-fit: contain;
        }

.radar-crest-top .radar-route-threads{
            align-items: center;
            gap: 2rem;
        }

.radar-crest-top .radar-wire{
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.25s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.radar-crest-top .radar-wire:hover, .radar-crest-top .radar-wire.active{
            color: #f8fafc;
        }

.radar-crest-top .radar-wire.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #3aee8b;
            border-radius: 2px;
        }

@media (max-width: 768px){.radar-crest-top .radar-radar-zone{
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }}

.radar-crest-top {
    background: rgb(9, 14, 23);
    background-image: none;
}

.echo-sole-bottom {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--core-light);
}
.echo-sole-bottom,
.echo-sole-bottom *,
.echo-sole-bottom *::before,
.echo-sole-bottom *::after {
    box-sizing: border-box;
}

.echo-sole-bottom nav,
.echo-sole-bottom div,
.echo-sole-bottom section,
.echo-sole-bottom article,
.echo-sole-bottom aside,
.echo-sole-bottom p,
.echo-sole-bottom h1,
.echo-sole-bottom h2,
.echo-sole-bottom h3,
.echo-sole-bottom h4,
.echo-sole-bottom h5,
.echo-sole-bottom h6,
.echo-sole-bottom a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.echo-sole-bottom p,
.echo-sole-bottom h1,
.echo-sole-bottom h2,
.echo-sole-bottom h3,
.echo-sole-bottom h4,
.echo-sole-bottom h5,
.echo-sole-bottom h6 {
    text-decoration: none;
}

.echo-sole-bottom img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.echo-sole-bottom {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.echo-sole-bottom a,
.echo-sole-bottom a:hover,
.echo-sole-bottom a:focus,
.echo-sole-bottom a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.echo-sole-bottom .echo-vox-cn{ word-break: keep-all; }

.echo-sole-bottom{
            background: #141c2b;
            padding: 4rem 2rem;
            border-top: 1px solid rgba(255,255,255,0.05);
            text-align: center;
        }

.echo-sole-bottom .echo-echo-brand{
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: 1px;
            margin-bottom: 1rem;
            color: #f8fafc;
        }

.echo-sole-bottom .echo-echo-vox{
            color: #94a3b8;
            font-size: 0.9rem;
        }