/* 基础变量与重置 - 继承站内视觉契约 */
:root {
    --accent: #22d3d3;
    --accent-glow: rgba(34, 211, 211, 0.3);
    --bg-dark: #050505;
    --bg-surface: #121212;
    --bg-surface-elevated: #1a1a1a;
    --border: #222222;
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 8px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* 强制：文本换行规范 */
h1, h2, h3, h4, p, span, a, div {
    word-break: break-word;
    overflow-wrap: break-word;
}
p {
    word-break: keep-all;
}
h1, h2, h3 {
    white-space: normal;
}

/* ==========================================================================
   导航栏 - 强制复用代码样式
   ========================================================================== */
.apex {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.orbit {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    flex-wrap: wrap; /* 强制 */
    align-items: center;
    justify-content: space-between;
}

.stamp {
    display: flex;
    align-items: center;
    min-width: 0; /* 强制 */
}

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

.mesh {
    display: flex;
    flex-wrap: wrap; /* 强制 */
    gap: 32px;
    align-items: center;
    min-width: 0; /* 强制 */
}

.wire {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    min-width: 0; /* 强制 */
}

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

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

@media (max-width: 768px) {
    .mesh {
        display: none; /* 移动端简化，实际项目中会有汉堡菜单，此处按蓝图要求保持基础结构 */
    }
}

/* ==========================================================================
   主容器
   ========================================================================== */
.core-foil {
    padding-top: 100px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.bounds {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ==========================================================================
   区块 1: Hero (intro) - 垂直堆叠变体
   ========================================================================== */
.flare-stack {
    display: flex;
    flex-wrap: wrap; /* 强制 */
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 4rem 0;
}

.flare-stack > * {
    min-width: 0; /* 强制 */
}

.flare-stack::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.luster-etch {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
}

.flare-grain {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 3rem;
}

/* 按钮组件语法复用 */
.rivet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.rivet-primary {
    color: var(--bg-dark);
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.rivet-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
    background: #28e5e5;
}

/* Hero 视觉承载 - 动效与SVG */
.flare-visual {
    margin-top: 4rem;
    width: 100%;
    max-width: 800px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.flare-visual > * { min-width: 0; }

.sync-ring {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sync-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.sync-ring::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.device-glyph {
    width: 64px;
    height: 64px;
    fill: var(--text-muted);
    transition: var(--transition);
}

.device-glyph:hover {
    fill: var(--accent);
    transform: translateY(-5px);
}

/* ==========================================================================
   区块 2: Data Types (proof) - 卡片矩阵
   ========================================================================== */
.alloy {
    display: flex;
    flex-wrap: wrap; /* 强制 */
    flex-direction: column;
    gap: 3rem;
}
.alloy > * { min-width: 0; }

.alloy-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.shell-etch {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.shell-grain {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

/* 卡片表面语法复用 */
.plate {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    display: flex;
    flex-wrap: wrap; /* 强制 */
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.plate > * { min-width: 0; }

.plate:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 211, 0.5);
    background: var(--bg-surface-elevated);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(34, 211, 211, 0.05);
}

.plate-glyph {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 211, 0.1);
    border-radius: 12px;
    color: var(--accent);
}

.plate-glyph svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.plate-etch {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.plate-grain {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   区块 3: Configuration (proof) - 数据UI界面
   ========================================================================== */
.vault-layout {
    display: flex;
    flex-wrap: wrap; /* 强制 */
    align-items: center;
    gap: 4rem;
}

.vault-layout > * { min-width: 0; }

.vault-info {
    flex: 1;
    min-width: 300px;
}

.vault-ui {
    flex: 1;
    min-width: 300px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 12px;
}

.vault-ui > * { min-width: 0; }

.vault-apex {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.seam {
    display: flex;
    flex-wrap: wrap; /* 强制 */
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.seam > * { min-width: 0; }

.seam:hover {
    background: #222;
}

.seam-grain {
    font-size: 1rem;
    font-weight: 500;
}

/* 模拟开关组件 */
.stud {
    width: 44px;
    height: 24px;
    background: #333;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.stud::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.stud-active {
    background: var(--accent);
}

.stud-active::after {
    left: 22px;
    background: var(--bg-dark);
}

/* ==========================================================================
   区块 4: Security (proof) - 徽章与强调
   ========================================================================== */
.casing-shield {
    background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap; /* 强制 */
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.casing-shield > * { min-width: 0; }

.casing-shield::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.shield-seal {
    width: 80px;
    height: 80px;
    background: rgba(34, 211, 211, 0.05);
    border: 1px solid rgba(34, 211, 211, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px var(--accent-glow);
}

.shield-seal svg {
    width: 36px;
    height: 36px;
    fill: var(--accent);
}

.casing-etch {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.casing-grain {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ==========================================================================
   页脚 - 统一词汇 chassis
   ========================================================================== */
.chassis {
    border-top: 1px solid var(--border);
    padding: 4rem 24px 2rem;
    background: var(--bg-dark);
}

.chassis-bounds {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* 强制 */
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.chassis-bounds > * { min-width: 0; }

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

.chassis-mesh {
    display: flex;
    flex-wrap: wrap; /* 强制 */
    gap: 24px;
}

.chassis-mesh > * { min-width: 0; }

.chassis-wire {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.chassis-meta {
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* 响应式断点 */
@media (max-width: 768px) {
    .core-foil {
        gap: 4rem;
        padding-top: 80px;
    }
    
    .vault-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .matrix {
        grid-template-columns: 1fr;
    }
    
    .casing-shield {
        padding: 3rem 1.5rem;
    }
}

.bezel-apex {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    word-break: break-word;
    color: var(--text-main);
}
.bezel-apex,
.bezel-apex *,
.bezel-apex *::before,
.bezel-apex *::after {
    box-sizing: border-box;
}

.bezel-apex nav,
.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: 8px 16px;
    --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{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(5, 5, 5, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 16px 0;
        }

.bezel-apex .bezel-orbit{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 24px;
        }

.bezel-apex .bezel-stamp{
            display: flex;
            align-items: center;
        }

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

.bezel-apex .bezel-mesh{
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

.bezel-apex .bezel-wire{
            padding: 8px 16px;
            font-size: 0.95rem;
            color: #a1a1a6;
            border-radius: 8px;
            transition: all 0.25s ease;
            font-weight: 500;
        }

.bezel-apex .bezel-wire:hover, .bezel-apex .bezel-wire.active{
            color: #f5f5f7;
            background: rgba(255, 255, 255, 0.05);
        }

.bezel-apex .bezel-wire.active{
            color: #22d3d3;
        }

@media (max-width: 768px){.bezel-apex .bezel-orbit{
                flex-direction: column;
                align-items: flex-start;
            }

.bezel-apex .bezel-mesh{
                width: 100%;
                overflow-x: auto;
                padding-bottom: 8px;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
            }

.bezel-apex .bezel-wire{
                white-space: nowrap;
            }}

.bezel-apex {
    background: rgb(5, 5, 5);
    background-image: none;
}

.chassis-heel {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    word-break: break-word;
    color: var(--text-main);
}
.chassis-heel,
.chassis-heel *,
.chassis-heel *::before,
.chassis-heel *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.chassis-heel{
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: #050505;
            padding: 60px 24px 40px;
        }

.chassis-heel .chassis-chassis{
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
        }

.chassis-heel .chassis-plinth-brand{
            flex: 1;
            min-width: 250px;
        }

.chassis-heel .chassis-plinth-brand-etch{
            font-size: 1.5rem;
            font-weight: 700;
            color: #f5f5f7;
            margin-bottom: 16px;
            letter-spacing: -0.02em;
        }

.chassis-heel .chassis-plinth-grain{
            color: #666;
            font-size: 0.9rem;
        }

.chassis-heel .chassis-plinth-links{
            display: flex;
            flex-wrap: wrap;
            gap: 48px;
        }

.chassis-heel .chassis-plinth-col{
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

.chassis-heel .chassis-plinth-col-etch{
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
        }

.chassis-heel .chassis-plinth-wire{
            color: #888;
            font-size: 0.9rem;
            transition: all 0.25s ease;
        }

.chassis-heel .chassis-plinth-wire:hover{
            color: #22d3d3;
        }

.chassis-heel .chassis-plinth-bottom{
            max-width: 1280px;
            margin: 40px auto 0;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 16px;
            color: #555;
            font-size: 0.85rem;
        }