/* 基础变量与重置 */
:root {
    --color-primary: #37b9e9;
    --color-primary-hover: #2aa2d1;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-dark: #0f172a;
    --color-dark-border: #1e293b;
    --color-text-main: #334155;
    --color-text-muted: #64748b;
    --color-text-light: #f1f5f9;
    
    --radius: 8px;
    --radius-lg: 11px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-dark: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --transition: all 0.25s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 强制排版规则 */
.lore, .crux, .wire {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* --- 强制继承的导航栏样式 --- */
.brow {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brow-mesh {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    min-width: 0;
}

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

.flow {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    min-width: 0;
}

.wire {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 500;
    transition: var(--transition);
    min-width: 0;
}

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

/* --- 页面骨架与容器 --- */
.mesh-pod {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 1. Hero / Intro (section) */
.nova {
    background: radial-gradient(circle at 100% 0%, #f0f9ff 0%, #ffffff 60%);
    padding: 6rem 0 4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.nova-mesh {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    min-width: 0;
}

.nova-lore {
    flex: 1 1 45%;
    min-width: 0;
}

.crux-pod {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.15;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
    white-space: normal;
}

.lore-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* 数据视觉承载: 服务器列表UI模拟 */
.nova-lens {
    flex: 1 1 45%;
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
    padding: 1.5rem;
    border: 1px solid var(--color-dark-border);
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lens-brow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.75rem;
    min-width: 0;
}

.crux-lens {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.knot-lens {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.blip-lens {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    min-width: 0;
    cursor: default;
}

.blip-lens:hover {
    background: rgba(255,255,255,0.08);
}

.lore-network {
    color: var(--color-text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glyph-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.lore-mono {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 0.85rem;
}

/* 2. Guide / Steps (aside) */
.hive {
    padding: 5rem 0;
    background: var(--color-bg);
}

.crux-hive {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    white-space: normal;
}

.lore-center {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

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

.node {
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.node:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(55, 185, 233, 0.3);
}

.node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    opacity: 0;
    transition: var(--transition);
}

.node:hover::before {
    opacity: 1;
}

.glyph-node {
    width: 48px;
    height: 48px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.crux-node {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    white-space: normal;
}

/* 3. Security (section) */
.pod {
    padding: 5rem 0;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.pod-mesh {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4rem;
    min-width: 0;
}

.shard-knot {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.shard {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
    transition: var(--transition);
}

.shard:hover {
    border-color: var(--color-primary);
}

.glyph-shard {
    flex-shrink: 0;
}

.lore-shard {
    flex: 1;
    min-width: 0;
}

.crux-shard {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

/* 4. LAN (article) */
.vault {
    padding: 6rem 0;
    background: var(--color-bg);
}

.vault-mesh {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.slate {
    width: 100%;
    max-width: 800px;
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-dark);
    color: var(--color-text-light);
}

.band-slate {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    min-width: 0;
}

.knot-input {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lore-seal {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pod-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--color-dark-border);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    color: #fff;
    font-size: 0.95rem;
}

.ping-primary {
    display: inline-block;
    background: var(--color-primary);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(55, 185, 233, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.ping-primary:hover, .ping-primary:focus {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 185, 233, 0.4);
}

/* 页脚 */
.heel {
    background: var(--color-dark);
    color: var(--color-text-muted);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--color-dark-border);
}

.root-lore {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* 响应式断点 */
@media (max-width: 768px) {
    .brow-mesh {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow {
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    .nova {
        padding: 3rem 0;
    }
    
    .crux-pod {
        font-size: 2rem;
    }
    
    .nova-mesh, .pod-mesh {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .knot-grid {
        grid-template-columns: 1fr;
    }
    
    .band-slate {
        flex-direction: column;
    }
}

.orbit-brow {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: #334155;
}
.orbit-brow,
.orbit-brow *,
.orbit-brow *::before,
.orbit-brow *::after {
    box-sizing: border-box;
}

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

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

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

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

.orbit-brow a.orbit-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;
}

.orbit-brow a.orbit-wire,
.orbit-brow a.orbit-wire:hover,
.orbit-brow a.orbit-wire:focus,
.orbit-brow a.orbit-wire:active,
.orbit-brow a.orbit-wire.active,
.orbit-brow a.orbit-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);
}

.orbit-brow{
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #e2e8f0;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
        }

.orbit-brow .orbit-brow-mesh{
            max-width: 1300px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
        }

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

.orbit-brow .orbit-sigil{
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }

.orbit-brow .orbit-sigil > *{ min-width: 0; }

.orbit-brow .orbit-sigil img{
            height: 36px;
            width: auto;
            display: block;
        }

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

.orbit-brow .orbit-flow > *{ min-width: 0; }

.orbit-brow .orbit-wire{
            font-size: 0.95rem;
            font-weight: 600;
            color: #64748b;
            transition: color 0.25s ease;
            position: relative;
        }

.orbit-brow .orbit-wire:hover, .orbit-brow .orbit-wire.active{
            color: #37b9e9;
        }

.orbit-brow .orbit-wire.active::after{
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #37b9e9;
            border-radius: 2px;
        }

.orbit-brow {
    background: rgb(255, 255, 255);
    background-image: none;
}

.root-heel {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: #334155;
}
.root-heel,
.root-heel *,
.root-heel *::before,
.root-heel *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.root-heel .root-wire{
            font-size: 0.95rem;
            font-weight: 600;
            color: #64748b;
            transition: color 0.25s ease;
            position: relative;
        }

.root-heel .root-wire:hover, .root-heel .root-wire.active{
            color: #37b9e9;
        }

.root-heel .root-wire.active::after{
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #37b9e9;
            border-radius: 2px;
        }

.root-heel{
            background: #020617;
            color: #64748b;
            padding: 5rem 2rem 2rem 2rem;
            word-break: break-word;
            font-size: 0.95rem;
        }

.root-heel .root-root-mesh{
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 4rem;
            margin-bottom: 4rem;
        }

.root-heel .root-root-col{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            gap: 1.25rem;
        }

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

.root-heel .root-crux-root{
            color: #f8fafc;
            font-weight: 700;
            font-size: 1.1rem;
            margin: 0 0 0.5rem 0;
        }

.root-heel .root-root-col .root-wire{
            color: #94a3b8;
            font-weight: 400;
        }

.root-heel .root-root-col .root-wire:hover{
            color: #37b9e9;
        }

.root-heel .root-tail{
            max-width: 1300px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid #1e293b;
            text-align: center;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }

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