/* 变量体系 - 继承视觉家族契约 */
:root {
    --color-primary: #896edc;
    --color-primary-light: #f3effc;
    --color-primary-dark: #6a4eb8;
    --color-text-main: #2d3142;
    --color-text-sub: #5a627a;
    --color-bg: #fbfcff;
    --color-surface: #ffffff;
    --radius-base: 18px;
    --radius-large: 22px;
    --shadow-sm: 0 4px 12px rgba(137, 110, 220, 0.08);
    --shadow-md: 0 8px 24px rgba(137, 110, 220, 0.12);
    --transition: 0.35s ease;
    --max-width: 1240px; /* 响应式调整，非死板1200px */
}

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    overflow-wrap: break-word;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 强制 Flexbox 规则 & 文本换行 */
.flex-shell {
    display: flex;
    flex-wrap: wrap;
}
.flex-shell > * {
    min-width: 0;
}
.byte {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.byte-cn {
    word-break: keep-all;
}
.crest {
    white-space: normal;
    word-break: break-word;
}

/* 导航壳层 (Apex) - 严格复用 */
.apex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(137, 110, 220, 0.1);
}
.apex > * { min-width: 0; }

.seal {
    display: flex;
    align-items: center;
}
.seal > * { min-width: 0; }
.seal img {
    height: 36px;
    width: auto;
}

.dict {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.dict > * { min-width: 0; }

.knot {
    font-weight: 500;
    color: var(--color-text-sub);
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}
.knot:hover {
    color: var(--color-primary);
}
.knot.active {
    color: var(--color-primary);
    font-weight: 600;
}
.knot.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

/* 主容器 (Pack) */
.pack {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.pack > * { min-width: 0; }

/* 基础约束带 (Band) */
.band {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 5%;
    width: 100%;
}

/* 首屏区域 (Prime - article) */
.prime {
    background: linear-gradient(145deg, #f0eafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.prime .band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    min-height: 70vh; /* 变体：比首页稍短，紧凑高效 */
}
.prime .band > * { min-width: 0; }

.prime-byte {
    flex: 1 1 450px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.prime-byte > * { min-width: 0; }

.prime-crest {
    color: var(--color-text-main);
    line-height: 1.2;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.prime-sub {
    font-size: 1.125rem;
    color: var(--color-text-sub);
    line-height: 1.8;
}

.prime-visual {
    flex: 1 1 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.prime-visual > * { min-width: 0; }

/* 核心详情区 1 (Vault - div) */
.vault {
    background-color: var(--color-surface);
}
.vault .band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}
.vault .band > * { min-width: 0; }

.vault-visual {
    flex: 1 1 400px;
    order: 1;
}
.vault-visual > * { min-width: 0; }

.vault-byte {
    flex: 1 1 400px;
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.vault-byte > * { min-width: 0; }

.vault-crest {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.3;
}

/* 核心详情区 2 (Burst - article) */
.burst {
    background-color: var(--color-bg);
}
.burst .band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}
.burst .band > * { min-width: 0; }

.burst-byte {
    flex: 1 1 400px;
    order: 1; /* 图在右，文在左，形成节奏变体 */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.burst-byte > * { min-width: 0; }

.burst-visual {
    flex: 1 1 400px;
    order: 2;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transform: translateY(0);
    transition: transform var(--transition), box-shadow var(--transition);
}
.burst-visual > * { min-width: 0; }
.burst-visual:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(137, 110, 220, 0.18);
}
.burst-visual .snap {
    width: 100%;
    display: block;
    border-radius: var(--radius-large);
}

/* 闭幕/特性块区 (Stash - section) */
.stash {
    background-color: var(--color-surface);
}
.stash .band {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}
.stash .band > * { min-width: 0; }

.stash-crest {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    max-width: 700px;
    margin: 0 auto;
}

.batch {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}
.batch > * { min-width: 0; }

/* 卡片/碎片 (Shard) - 沿用表面语法 */
.shard {
    flex: 1 1 300px;
    max-width: 450px;
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(137, 110, 220, 0.1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all var(--transition);
}
.shard > * { min-width: 0; }
.shard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(137, 110, 220, 0.3);
}

.shard-glyph {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.shard-glyph > * { min-width: 0; }
.shard-glyph svg {
    width: 28px;
    height: 28px;
}

.shard-crest {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
}

/* 按钮 (Press) */
.press {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--radius-base);
    box-shadow: 0 6px 16px rgba(137, 110, 220, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    align-self: flex-start;
}
.press:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(137, 110, 220, 0.4);
    color: #ffffff;
}

/* 页脚 (Core) */
.core {
    background-color: #1e1f26; /* 适度深色沉淀，符合官方感 */
    color: #9499ad;
    padding: 4rem 5% 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.core > * { min-width: 0; }

.base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    gap: 3rem;
    margin-bottom: 3rem;
}
.base > * { min-width: 0; }

.base-chunk {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.base-chunk > * { min-width: 0; }

.base-crest {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tail {
    width: 100%;
    max-width: var(--max-width);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}
.tail > * { min-width: 0; }

/* 响应式断点 */
@media (max-width: 1024px) {
    .vault-visual { order: -1; }
    .burst-visual { order: -1; }
    .vault-byte, .burst-byte { order: 0; }
}

@media (max-width: 768px) {
    .apex {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .dict {
        gap: 1rem;
        justify-content: center;
    }
    .band {
        padding: 3rem 5%;
    }
    .prime .band,
    .vault .band,
    .burst .band {
        gap: 2.5rem;
    }
    .press {
        width: 100%;
    }
}

.index-apex .index-dict{
            display: flex;
            flex-wrap: wrap;
        }

.index-apex .index-dict > *{
            min-width: 0;
        }

.index-apex{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(137, 110, 220, 0.1);
            padding: 1rem 5%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

.index-apex .index-seal img{
            height: 36px;
            width: auto;
            display: block;
        }

.index-apex .index-dict{
            gap: 2rem;
            align-items: center;
        }

.index-apex .index-knot{
            font-weight: 500;
            font-size: 1rem;
            color: #5a627a;
            transition: all 0.35s ease;
            position: relative;
            padding: 0.5rem 0;
        }

.index-apex .index-knot:hover{
            color: #896edc;
        }

.index-apex .index-knot.active{
            color: #896edc;
        }

.index-apex .index-knot.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #896edc;
            border-radius: 3px;
        }

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

.index-apex{
                justify-content: center;
            }}

.index-apex {
    background: rgb(255, 255, 255);
    background-image: none;
}

.tail-core {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-main);
}
.tail-core,
.tail-core *,
.tail-core *::before,
.tail-core *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.tail-core{
            background-color: #1a1b24;
            padding: 4rem 5%;
            color: #8c93a8;
            text-align: center;
        }

.tail-core .tail-crest{
            color: white;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
            letter-spacing: 1px;
        }

.tail-core .tail-byte{
            font-size: 0.95rem;
        }