/* 视觉契约变量：继承自首页深色霓虹体系 */
:root {
    --brand-primary: #469bf0;
    --brand-glow: rgba(70, 155, 240, 0.4);
    --bg-base: #0a0f1c;
    --bg-surface: #121a2f;
    --bg-elevated: #1a243e;
    --bg-glass: rgba(10, 15, 28, 0.85);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px var(--brand-glow);
    --radius-base: 24px;
    --radius-sm: 16px;
    --transition: all 0.25s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shell-width: 1280px;
}

/* 基础重置与排版设定 */
*, *::before, *::after {
    box-sizing: border-box;
    min-width: 0; /* Flex子项安全规则 */
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 文本换行规范 */
.grain, .brass {
    word-break: break-word;
    overflow-wrap: break-word;
}
.grain {
    word-break: keep-all; /* 中文优化 */
}
.brass {
    white-space: normal;
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
}

/* 强制：导航菜单复用样式 */
.apex {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.visor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--shell-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.stamp img {
    height: 32px;
    width: auto;
    display: block;
}

.mesh {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.wire {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.wire:hover {
    color: var(--text-primary);
}

.wire.active {
    color: var(--brand-primary);
}

.wire.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-primary);
    border-radius: 2px;
    box-shadow: var(--shadow-neon);
}

/* 通用容器壳层 */
.foil {
    max-width: var(--shell-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

/* 主内容区 */
.core {
    padding-top: 80px; /* 避开固定导航 */
}

/* Hero区块：基于 reverse_split 蓝图变体 */
.glare {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, rgba(70, 155, 240, 0.15) 0%, transparent 50%),
                radial-gradient(circle at bottom right, rgba(10, 15, 28, 1) 0%, transparent 70%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.glare::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    z-index: 0;
    pointer-events: none;
}

.glare .foil {
    flex-direction: row-reverse; /* 实现 reverse_split 布局 */
    align-items: center;
    position: relative;
    z-index: 1;
}

.glare-grain {
    flex: 1;
    min-width: 300px;
}

.brass-h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.grain-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.glare-lens {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 矢量徽章设计：安全护盾 */
.chip-forge {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chip-ring {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px solid rgba(70, 155, 240, 0.2);
    border-radius: 50%;
    animation: pulse-ring 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.chip-ring:nth-child(2) {
    width: 100%;
    height: 100%;
    animation-delay: -2s;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0; }
}

.etch-shield {
    width: 40%;
    height: 40%;
    fill: none;
    stroke: var(--brand-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(var(--shadow-neon));
    position: relative;
    z-index: 2;
}

/* 文档策略区块（无痕模式科普） */
.stratum {
    padding: 8rem 0;
    background: var(--bg-base);
    border-top: 1px solid rgba(255,255,255,0.03);
}

.stratum .foil {
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
}

.brass-h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-align: center;
}

.dictionary {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    margin: 0;
}

.term-weld {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.term {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.term-etch {
    width: 24px;
    height: 24px;
    stroke: var(--brand-primary);
    fill: none;
    stroke-width: 2;
}

.definition {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 主动防御与安全检查区块 (带图片) */
.sector {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-elevated) 100%);
}

.sector .foil {
    align-items: center;
}

.sector-grain {
    flex: 1;
    min-width: 320px;
}

.sector-lens {
    flex: 1.2;
    min-width: 320px;
}

.plate-media {
    background: var(--bg-surface);
    border-radius: var(--radius-base);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.plate-media:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), var(--shadow-neon);
    border-color: rgba(70, 155, 240, 0.3);
}

.lens {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
    object-fit: cover;
}

/* 精细化数据管理区块 (卡片网格) */
.appendix {
    padding: 8rem 0;
    background: var(--bg-base);
    border-top: 1px solid rgba(255,255,255,0.03);
}

.appendix .foil {
    flex-direction: column;
    gap: 4rem;
}

.matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.plate {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-base);
    padding: 2.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plate:hover {
    background: var(--bg-elevated);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.plate-etch {
    width: 48px;
    height: 48px;
    padding: 12px;
    background: rgba(70, 155, 240, 0.1);
    border-radius: 14px;
    stroke: var(--brand-primary);
    fill: none;
    stroke-width: 2;
}

.brass-h3 {
    font-size: 1.25rem;
    margin: 0;
}

/* 行动入口 (复用首页按钮语法) */
.rivet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(70, 155, 240, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    cursor: pointer;
    margin-top: 1rem;
}

.rivet:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 155, 240, 0.5);
    background-color: #5aaaf5;
}

/* 页脚 */
.heel {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    background: var(--bg-base);
}

.heel-foil {
    max-width: var(--shell-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.heel-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.heel-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.heel-mesh {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.heel-wire {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.heel-wire:hover {
    color: var(--text-primary);
}

.heel-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 响应式断点 */
@media (max-width: 1024px) {
    .glare {
        padding: 4rem 0;
    }
    .brass-h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .foil {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .glare .foil,
    .sector .foil {
        flex-direction: column;
    }
    .mesh {
        display: none; /* 移动端隐藏顶部菜单细节，实际项目由JS处理汉堡菜单 */
    }
    .dictionary {
        padding: 1.5rem;
    }
    .term-weld {
        flex: 1 1 100%;
    }
    .matrix {
        grid-template-columns: 1fr;
    }
    .chip-forge {
        max-width: 300px;
    }
}

.bezel-apex,
.bezel-apex *,
.bezel-apex *::before,
.bezel-apex *::after {
    box-sizing: border-box;
}

.bezel-apex [role="navigation"],
.bezel-apex div,
.bezel-apex section,
.bezel-apex article,
.bezel-apex aside,
.bezel-apex p,
.bezel-apex h1,
.bezel-apex h2,
.bezel-apex h3,
.bezel-apex h4,
.bezel-apex h5,
.bezel-apex h6,
.bezel-apex a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.bezel-apex p,
.bezel-apex h1,
.bezel-apex h2,
.bezel-apex h3,
.bezel-apex h4,
.bezel-apex h5,
.bezel-apex h6 {
    text-decoration: none;
}

.bezel-apex img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.bezel-apex {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.bezel-apex a.bezel-wire {
    --aisite-shell-nav-padding: 0;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.bezel-apex a.bezel-wire,
.bezel-apex a.bezel-wire:hover,
.bezel-apex a.bezel-wire:focus,
.bezel-apex a.bezel-wire:active,
.bezel-apex a.bezel-wire.active,
.bezel-apex a.bezel-wire[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.bezel-apex .bezel-wire{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.bezel-apex .bezel-visor, .bezel-apex .bezel-mesh{
            display: flex;
            flex-wrap: wrap;
        }

.bezel-apex .bezel-visor > *, .bezel-apex .bezel-mesh > *{
            min-width: 0;
        }

.bezel-apex{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(18, 26, 47, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.bezel-apex .bezel-visor{
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem 2rem;
            align-items: center;
            justify-content: space-between;
        }

.bezel-apex .bezel-stamp img{
            height: 32px;
            width: auto;
            display: block;
        }

.bezel-apex .bezel-mesh{
            gap: 2rem;
            align-items: center;
        }

.bezel-apex .bezel-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #94a3b8;
            transition: all 0.25s ease;
            position: relative;
        }

.bezel-apex .bezel-wire:hover{
            color: #f8fafc;
        }

.bezel-apex .bezel-wire.active{
            color: #469bf0;
        }

.bezel-apex .bezel-wire.active::after{
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #469bf0;
            border-radius: 2px;
            box-shadow: 0 0 10px #469bf0;
        }

@media (max-width: 768px){.bezel-apex .bezel-mesh{
                display: none; 
            }}

.bezel-apex {
    background: rgb(18, 26, 47);
    background-image: none;
}

.plinth-heel,
.plinth-heel *,
.plinth-heel *::before,
.plinth-heel *::after {
    box-sizing: border-box;
}

.plinth-heel [role="navigation"],
.plinth-heel div,
.plinth-heel section,
.plinth-heel article,
.plinth-heel aside,
.plinth-heel p,
.plinth-heel h1,
.plinth-heel h2,
.plinth-heel h3,
.plinth-heel h4,
.plinth-heel h5,
.plinth-heel h6,
.plinth-heel a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.plinth-heel p,
.plinth-heel h1,
.plinth-heel h2,
.plinth-heel h3,
.plinth-heel h4,
.plinth-heel h5,
.plinth-heel h6 {
    text-decoration: none;
}

.plinth-heel img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.plinth-heel {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.plinth-heel a,
.plinth-heel a:hover,
.plinth-heel a:focus,
.plinth-heel a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.plinth-heel .plinth-brass, .plinth-heel .plinth-grain, .plinth-heel .plinth-wire{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.plinth-heel .plinth-brass{
            white-space: normal; 
        }

.plinth-heel .plinth-plinth{
            display: flex;
            flex-wrap: wrap;
        }

.plinth-heel .plinth-plinth > *{
            min-width: 0;
        }

.plinth-heel .plinth-brass-h3{
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: #ffffff;
        }

.plinth-heel .plinth-grain-body{
            font-size: 1rem;
            color: #94a3b8;
        }

.plinth-heel .plinth-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #94a3b8;
            transition: all 0.25s ease;
            position: relative;
        }

.plinth-heel .plinth-wire:hover{
            color: #f8fafc;
        }

.plinth-heel .plinth-wire.active{
            color: #469bf0;
        }

.plinth-heel .plinth-wire.active::after{
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #469bf0;
            border-radius: 2px;
            box-shadow: 0 0 10px #469bf0;
        }

.plinth-heel{
            background-color: #03050a;
            padding: 5rem 2rem 2rem;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

.plinth-heel .plinth-plinth{
            max-width: 1280px;
            margin: 0 auto;
            gap: 4rem;
            justify-content: space-between;
        }

.plinth-heel .plinth-plinth-weld{
            display: flex;
            flex-wrap: wrap;
            gap: 4rem;
            flex: 1 1 auto;
        }

.plinth-heel .plinth-node{
            flex: 1 1 150px;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

.plinth-heel .plinth-node .plinth-brass-h3{
            font-size: 1.1rem;
            color: #ffffff;
            margin-bottom: 0.5rem;
        }

.plinth-heel .plinth-node .plinth-wire{
            color: #64748b;
            transition: all 0.25s ease;
        }

.plinth-heel .plinth-node .plinth-wire:hover{
            color: #469bf0;
        }

.plinth-heel .plinth-heel-brand{
            flex: 0 0 250px;
        }

.plinth-heel .plinth-heel-brand .plinth-brass{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 1rem;
            letter-spacing: 1px;
        }

.plinth-heel .plinth-heel-bottom{
            max-width: 1280px;
            margin: 4rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.05);
            text-align: center;
            color: #64748b;
            font-size: 0.875rem;
        }

@media (max-width: 768px){.plinth-heel .plinth-plinth{
                flex-direction: column;
                gap: 2rem;
            }}