/* 基础与变量体系 (继承首页视觉基因) */
:root {
    --bg: #fdfcfd;
    --surface: #ffffff;
    --primary: #9c63d9;
    --primary-hover: #8a52c6;
    --text-main: #2d2438;
    --text-muted: #6b6378;
    --radius: 14px;
    --shadow-soft: 0 8px 24px rgba(156, 99, 217, 0.06);
    --shadow-hover: 0 16px 40px rgba(156, 99, 217, 0.12);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: 0.15s ease;
}

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

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

/* 文本换行规范 */
p, span, div, dt, dd, li {
    word-break: break-word;
    overflow-wrap: break-word;
}
h1, h2, h3, h4 {
    white-space: normal;
    color: var(--text-main);
}
p {
    word-break: keep-all;
}

/* 强制 Flex 规则 */
.flex {
    display: flex;
    flex-wrap: wrap;
}
.flex > * {
    min-width: 0;
}

/* --- 顶部壳层 (继承) --- */
.thread {
    position: sticky;
    top: 0;
    background: rgba(253, 252, 253, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(156, 99, 217, 0.1);
    z-index: 100;
}
.helm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}
.helm > * { min-width: 0; }
.seal img {
    height: 32px;
    display: block;
}
.vein {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.vein > * { min-width: 0; }
.rune {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}
.rune:hover, .rune:focus {
    color: var(--primary);
}
.rune.active {
    color: var(--primary);
    font-weight: 600;
}

/* --- 第一舞台：获取入口 (Hero 变体) --- */
.glory {
    width: 100vw;
    position: relative;
    background: linear-gradient(145deg, #181124, #2a1b41, #4d2b7d);
    padding: 8rem 2rem 10rem;
    overflow: hidden;
}
.glory::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(156, 99, 217, 0.2) 0%, transparent 50%);
    pointer-events: none;
}
.vault {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.vault > * {
    min-width: 0;
}
.vault-left {
    flex: 1 1 500px;
}
.vault-right {
    flex: 1 1 400px;
}
.lens-flare {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.aura-feng {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 540px;
    line-height: 1.8;
}
.dart-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(156, 99, 217, 0.4);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.dart-pulse:hover, .dart-pulse:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(156, 99, 217, 0.5);
    background: var(--primary-hover);
}
.wing-editorial {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    display: block;
    transform: translateY(0);
    transition: transform 0.5s ease;
}
.vault-right:hover .wing-editorial {
    transform: translateY(-8px);
}

/* --- 第二舞台：版本矩阵 (Comparison) --- */
.feng {
    padding: 8rem 2rem;
    background: var(--bg);
    max-width: 1200px;
    margin: -4rem auto 0;
    position: relative;
    z-index: 10;
}
.cove-head {
    text-align: center;
    margin-bottom: 4rem;
}
.lens-matrix {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.aura-matrix {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.wing-matrix {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-soft);
}
.echo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.tome-platform {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(156, 99, 217, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.tome-platform:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.glyph-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(156, 99, 217, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.tome-dl {
    flex-grow: 1;
    margin-bottom: 2rem;
}
.tome-dt {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.tome-dd {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.dart-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}
.dart-ghost:hover, .dart-ghost:focus {
    background: var(--primary);
    color: #ffffff;
}
.dart-ghost svg {
    margin-right: 0.5rem;
    fill: currentColor;
}

/* --- 第三舞台：部署指南 (Steps) --- */
.nest-guide {
    padding: 6rem 2rem;
    background: rgba(156, 99, 217, 0.03);
    border-top: 1px solid rgba(156, 99, 217, 0.08);
}
.wire-steps {
    max-width: 900px;
    margin: 0 auto;
}
.lens-guide {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}
.node-vein {
    list-style: none;
    counter-reset: counter;
}
.node-step {
    display: flex;
    flex-wrap: wrap;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    align-items: flex-start;
    gap: 2rem;
    transition: transform var(--transition);
}
.node-step > * { min-width: 0; }
.node-step:hover {
    transform: translateX(5px);
}
.node-step::before {
    counter-increment: counter;
    content: counter(counter);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(156, 99, 217, 0.3);
}
.spark-wire {
    flex: 1;
}
.lens-step {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.aura-step {
    color: var(--text-muted);
}
.aura-meta {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
    background: rgba(0,0,0,0.04);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}

/* --- 底部 (Footer) --- */
.mark {
    background: #1a1523;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 2rem;
}
.roots {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}
.roots > * { min-width: 0; }
.gen-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}
.gen-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.gen-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition);
}
.gen-links a:hover {
    color: #ffffff;
}
.gen-aura {
    text-align: center;
    font-size: 0.9rem;
}

/* --- 响应式断点 --- */
@media (max-width: 768px) {
    .helm { flex-direction: column; gap: 1rem; padding: 1rem; }
    .vein { justify-content: center; gap: 1rem; }
    .glory { padding: 6rem 1rem 8rem; text-align: center; }
    .vault { flex-direction: column; gap: 3rem; }
    .aura-feng { margin: 0 auto 2rem; }
    .feng { margin-top: 0; padding: 4rem 1rem; }
    .echo-grid { grid-template-columns: 1fr; }
    .nest-guide { padding: 4rem 1rem; }
    .node-step { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; gap: 1rem; }
    .roots { flex-direction: column; text-align: center; align-items: center; }
}

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

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

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

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

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

.xun-thread a.xun-rune {
    --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;
}

.xun-thread a.xun-rune,
.xun-thread a.xun-rune:hover,
.xun-thread a.xun-rune:focus,
.xun-thread a.xun-rune:active,
.xun-thread a.xun-rune.active,
.xun-thread a.xun-rune[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);
}

.xun-thread .xun-helm{
            display: flex;
            flex-wrap: wrap;
        }

.xun-thread .xun-helm > *{
            min-width: 0;
        }

.xun-thread{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 1000;
            border-bottom: 1px solid rgba(156, 99, 217, 0.1);
        }

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

.xun-thread .xun-seal{
            flex-shrink: 0;
            display: flex;
            align-items: center;
        }

.xun-thread .xun-seal img{
            height: 32px;
            width: auto;
            display: block;
        }

.xun-thread .xun-vein{
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

.xun-thread .xun-rune{
            font-size: 0.95rem;
            font-weight: 500;
            color: #6b6378;
            padding: 0.5rem 0;
            position: relative;
        }

.xun-thread .xun-rune:hover, .xun-thread .xun-rune.active{
            color: #9c63d9;
        }

.xun-thread .xun-rune.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #9c63d9;
            border-radius: 2px;
        }

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

.xun-thread .xun-vein{
                justify-content: center;
                gap: 1rem;
            }}

.xun-thread {
    background: rgb(255, 255, 255);
    background-image: none;
}

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

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

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

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

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

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

.gen-mark .gen-roots{
            display: flex;
            flex-wrap: wrap;
        }

.gen-mark .gen-roots > *{
            min-width: 0;
        }

.gen-mark{
            background: #110d18;
            color: #8c8599;
            padding: 4rem 2rem 2rem;
            margin-top: auto;
        }

.gen-mark .gen-roots{
            max-width: 1280px;
            margin: 0 auto;
            justify-content: space-between;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 2rem;
            align-items: center;
        }

.gen-mark .gen-roots-brand{
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
        }

.gen-mark .gen-roots-links{
            display: flex;
            gap: 1.5rem;
            font-size: 0.9rem;
        }

.gen-mark .gen-roots-links a:hover{
            color: #ffffff;
        }

@media (max-width: 768px){.gen-mark .gen-roots{
                flex-direction: column;
                gap: 1.5rem;
                text-align: center;
            }}