/* ==========================================================================
   变量与基底系统 (视觉契约)
   ========================================================================== */
:root {
    --bg-deep: #050505;
    --bg-surface: #111111;
    --bg-elevated: #1a1a1a;
    --accent: #df881f;
    --accent-glow: rgba(223, 136, 31, 0.2);
    --accent-bright: #f59e2b;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --border: #2a2a2a;
    --radius: 16px;
    --transition: 0.35s ease;
}

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

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

/* ==========================================================================
   强制布局规则 (防错位)
   ========================================================================== */
.flex {
    display: flex;
    flex-wrap: wrap;
}
.flex > * {
    min-width: 0;
}

.grid {
    display: grid;
}

/* ==========================================================================
   复用导航栏样式 (Zenith & Orbit)
   ========================================================================== */
.zenith {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%;
    align-items: center;
    justify-content: space-between;
}

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

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

.wire {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    white-space: nowrap;
}

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

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

.wire.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-glow);
}

/* ==========================================================================
   页面容器与壳层
   ========================================================================== */
.vault {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.realm {
    flex: 1;
    width: 100%;
}

.hull {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ==========================================================================
   排版系统 (Crown & Script)
   ========================================================================== */
.crown {
    color: #ffffff;
    font-weight: 700;
    white-space: normal;
    letter-spacing: -0.01em;
}

.crown-mega {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.crown-macro {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.crown-micro {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.script {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    word-break: keep-all;
}

.script-accent {
    color: var(--accent);
    font-weight: 500;
}

/* ==========================================================================
   Hero 变体 (Flare - Mosaic Collage)
   ========================================================================== */
.flare {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.flare::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.flare .hull {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    aspect-ratio: 1;
}

.shard {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition);
}

.shard:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.shard-tall {
    grid-row: span 2;
    background: linear-gradient(to bottom, var(--bg-surface), #1a1510);
}

.glyph-flare {
    width: 64px;
    height: 64px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    margin-bottom: 1rem;
}

/* ==========================================================================
   正文段落 (Surge & Packet)
   ========================================================================== */
.surge {
    padding: 5rem 0;
}

.surge-alt {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cloak-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.flock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.packet {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.surge-alt .packet {
    background-color: var(--bg-deep);
}

.packet:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(223, 136, 31, 0.4);
}

.streak-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-glow);
    color: var(--accent-bright);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.glyph-std {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   排查与FAQ区 (Apex)
   ========================================================================== */
.apex {
    padding: 5rem 0;
    background: radial-gradient(circle at top right, var(--bg-elevated) 0%, var(--bg-deep) 70%);
}

.flock-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.bead-faq {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 4px);
    margin-bottom: 1rem;
    overflow: hidden;
}

.bead-faq summary {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bead-faq summary::-webkit-details-marker {
    display: none;
}

.bead-faq summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform var(--transition);
}

.bead-faq[open] summary::after {
    transform: rotate(45deg);
}

.bead-faq .script {
    padding: 0 2rem 1.5rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

/* ==========================================================================
   页脚 (Nadir)
   ========================================================================== */
.nadir {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.nadir .hull {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.root-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.flock-anchor {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.flock-anchor > * {
    min-width: 0;
}

.anchor {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.anchor:hover {
    color: var(--accent);
}

.base-script {
    color: #555555;
    font-size: 0.875rem;
}

/* ==========================================================================
   响应式断点
   ========================================================================== */
@media (max-width: 992px) {
    .flare .hull {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mosaic {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .orbit {
        gap: 1rem;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    
    .zenith {
        flex-direction: column;
        padding: 1rem;
    }
    
    .flock-grid {
        grid-template-columns: 1fr;
    }
    
    .crown-mega {
        text-align: center;
    }
    
    .flare .script {
        text-align: center;
    }
    
    .surge, .apex {
        padding: 3rem 0;
    }
}

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

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

.helm-zenith.helm-flex p,
.helm-zenith.helm-flex h1,
.helm-zenith.helm-flex h2,
.helm-zenith.helm-flex h3,
.helm-zenith.helm-flex h4,
.helm-zenith.helm-flex h5,
.helm-zenith.helm-flex h6 {
    text-decoration: none;
}

.helm-zenith.helm-flex img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.helm-zenith.helm-flex {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.helm-zenith.helm-flex a.helm-helm-wire.helm-wire-2 {
    --aisite-shell-nav-padding: 0.5rem 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;
}

.helm-zenith.helm-flex a.helm-helm-wire.helm-wire-2,
.helm-zenith.helm-flex a.helm-helm-wire.helm-wire-2:hover,
.helm-zenith.helm-flex a.helm-helm-wire.helm-wire-2:focus,
.helm-zenith.helm-flex a.helm-helm-wire.helm-wire-2:active,
.helm-zenith.helm-flex a.helm-helm-wire.helm-wire-2.active,
.helm-zenith.helm-flex a.helm-helm-wire.helm-wire-2[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);
}

.helm-zenith.helm-flex .helm-flex{
            display: flex;
            flex-wrap: wrap;
        }

.helm-zenith.helm-flex .helm-flex > *{
            min-width: 0;
        }

.helm-zenith.helm-flex .helm-zenith{
            position: sticky;
            top: 0;
            z-index: 100;
            background-color: rgba(5, 5, 5, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #2a2a2a;
            padding: 1rem 2rem;
            align-items: center;
            justify-content: space-between;
        }

.helm-zenith.helm-flex .helm-sigil{
            display: flex;
            align-items: center;
        }

.helm-zenith.helm-flex .helm-sigil img{
            height: 32px;
            width: auto;
        }

.helm-zenith.helm-flex .helm-orbit{
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

.helm-zenith.helm-flex .helm-helm-wire{
            color: #e0e0e0;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
        }

.helm-zenith.helm-flex .helm-helm-wire::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #df881f;
            transition: width 0.35s ease;
        }

.helm-zenith.helm-flex .helm-helm-wire:hover::after, .helm-zenith.helm-flex .helm-helm-wire:focus::after, .helm-zenith.helm-flex .helm-helm-wire.active::after{
            width: 100%;
        }

.helm-zenith.helm-flex .helm-helm-wire.active{
            color: #ffffff;
        }

@media (max-width: 768px){.helm-zenith.helm-flex .helm-zenith{
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }

.helm-zenith.helm-flex .helm-orbit{
                justify-content: center;
                gap: 1rem;
            }}

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

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

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

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

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

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

.anchor-nadir{
            background-color: #111111;
            border-top: 1px solid #2a2a2a;
            padding: 4rem 2rem 2rem;
            margin-top: auto;
        }

.anchor-nadir .anchor-base{
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

.anchor-nadir .anchor-root{
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

.anchor-nadir .anchor-root .anchor-crown{
            font-size: 1.1rem;
            color: #ffffff;
            margin-bottom: 0.5rem;
        }

.anchor-nadir .anchor-root .anchor-wire{
            color: #888888;
            font-size: 0.95rem;
        }

.anchor-nadir .anchor-root .anchor-wire:hover{
            color: #df881f;
        }

.anchor-nadir .anchor-script{
            text-align: center;
            color: #555;
            font-size: 0.9rem;
            border-top: 1px solid #2a2a2a;
            padding-top: 2rem;
        }