/* 变量体系 - 继承自首页视觉契约 */
:root {
    --primary: #5d3ae5;
    --primary-hover: #4a2ec2;
    --bg-dark: #0a0514;
    --bg-dark-alt: #140d26;
    --bg-light: #ffffff;
    --bg-muted: #f8f7fd;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --text-inv: #ffffff;
    --text-inv-muted: #a19bb8;
    --radius-lg: 24px;
    --radius-md: 19px;
    --radius-sm: 12px;
    --transition: all 0.25s ease;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.5);
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 全局重置与基础 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-base);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    overflow-wrap: break-word;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Flexbox 基础工具 */
.batch {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}
.batch-center {
    align-items: center;
    justify-content: center;
}
.batch-between {
    align-items: center;
    justify-content: space-between;
}
.shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 文本排版 */
.crown {
    white-space: normal;
    word-break: keep-all;
}
.crown-lg {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}
.crown-md {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 20px;
}
.crown-sm {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
}
.prose {
    font-size: 17px;
    line-height: 1.7;
}
.prose-inv {
    color: var(--text-inv-muted);
}
.prose-muted {
    color: var(--text-muted);
}

/* 按钮 (Nib/Seal) */
.nib {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--primary);
    color: var(--text-inv);
    font-weight: 600;
    font-size: 16px;
    border-radius: 100px;
    border: none;
    box-shadow: 0 4px 15px rgba(93, 58, 229, 0.4);
    cursor: pointer;
    transition: var(--transition);
}
.nib:hover, .nib:focus {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 58, 229, 0.5);
    outline: none;
}
.seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: rgba(255,255,255,0.1);
    color: var(--text-inv);
    font-weight: 500;
    font-size: 15px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition);
}
.seal:hover, .seal:focus {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* 图标容器 (Glyph) */
.glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(93, 58, 229, 0.1);
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}
.glyph svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* 导航栏 (强制复用结构) */
.peak {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 5, 20, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    flex-wrap: wrap;
    min-width: 0;
}
.crest {
    display: flex;
    align-items: center;
    min-width: 0;
}
.crest img {
    height: 28px;
    width: auto;
    display: block;
}
.roster {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}
.knot {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-inv-muted);
    padding: 8px 16px;
    border-radius: 100px;
}
.knot:hover, .knot:focus {
    color: var(--text-inv);
    background: rgba(255,255,255,0.1);
    outline: none;
}
.knot.active {
    color: var(--text-inv);
    background: rgba(255,255,255,0.15);
}

/* 模块 1：云端协作 (Cover) - 继承首页暗色主题 */
.cover {
    position: relative;
    padding: 160px 0 100px;
    background: var(--bg-dark);
    background-image: radial-gradient(circle at 80% 20%, rgba(93, 58, 229, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 20% 80%, rgba(93, 58, 229, 0.05) 0%, transparent 50%);
    color: var(--text-inv);
    overflow: hidden;
}
.cover-batch {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    gap: 60px;
    align-items: center;
}
.cover-prose {
    flex: 1 1 400px;
    min-width: 0;
    z-index: 2;
}
.cover-focal {
    flex: 1 1 500px;
    min-width: 0;
    position: relative;
    z-index: 2;
}

/* 数据UI/动效承载：模拟多人协作浏览器界面 */
.stage {
    background: rgba(20, 13, 38, 0.6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
}
.stage-peak {
    height: 48px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    min-width: 0;
}
.stage-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.stage-stripe {
    flex-grow: 1;
    height: 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-left: 16px;
}
.stage-body {
    padding: 40px;
    position: relative;
    min-height: 320px;
}
.data-line {
    height: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
}
.data-line:nth-child(2) { width: 85%; }
.data-line:nth-child(3) { width: 70%; }
.data-line:nth-child(4) { width: 90%; }
.data-line:nth-child(5) { width: 60%; }

/* 多人协作光标动效 */
.cursor-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: floatCursor 6s infinite ease-in-out alternate;
}
.cursor-node:nth-child(6) { top: 80px; left: 30%; color: #ff5e5e; animation-delay: 0s; }
.cursor-node:nth-child(7) { top: 160px; left: 60%; color: #00d084; animation-delay: -2s; }
.cursor-node:nth-child(8) { top: 220px; left: 40%; color: #00a4ff; animation-delay: -4s; }

.cursor-node svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.cursor-mark {
    background: currentColor;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@keyframes floatCursor {
    0% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 40px); }
    100% { transform: translate(40px, 20px); }
}

/* 模块 2：云端协作主题焦点 (Vault) */
.vault {
    padding: 120px 0;
    background: var(--bg-muted);
}
.vault-peak {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.folio {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}
.folio:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* 模块 3：核心信息路径 (Tray) */
.tray {
    padding: 120px 0;
    background: var(--bg-light);
}
.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
}
.sheet {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-muted);
    transition: var(--transition);
}
.sheet:hover {
    background: #f0edfa;
}
.sheet-num {
    font-size: 48px;
    font-weight: 900;
    color: rgba(93, 58, 229, 0.1);
    position: absolute;
    top: 24px;
    right: 32px;
    line-height: 1;
}

/* 模块 4：使用场景与补充说明 (Sheaf) */
.sheaf {
    padding: 120px 0;
    background: var(--bg-muted);
}
.sheaf-batch {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    gap: 48px;
}
.memo {
    flex: 1 1 400px;
    min-width: 0;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}
.memo-roster {
    margin-top: 24px;
    list-style: none;
}
.memo-node {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.memo-node::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.wps.cn/2000/svg" viewBox="0 0 24 24" fill="%235d3ae5"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat center;
}

/* 页脚 (Root) */
.root {
    background: var(--bg-dark);
    color: var(--text-inv-muted);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.bind {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    min-width: 0;
}
.ledge {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-inv);
    margin-bottom: 16px;
}
.root-roster {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    min-width: 0;
}
.root-knot {
    font-size: 14px;
}
.root-knot:hover {
    color: var(--text-inv);
}
.copyright {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    text-align: center;
}

/* 响应式断点 */
@media (max-width: 1024px) {
    .cover { padding: 140px 0 80px; }
    .vault, .tray, .sheaf { padding: 80px 0; }
    .cover-batch { flex-direction: column; text-align: center; }
    .cover-prose { align-items: center; display: flex; flex-direction: column; }
}
@media (max-width: 768px) {
    .ribbon { height: auto; padding: 16px 24px; gap: 16px; justify-content: center; }
    .roster { justify-content: center; }
    .crown-lg { font-size: 32px; }
    .crown-md { font-size: 24px; }
    .cover { padding: 180px 0 60px; }
    .grid-3, .path-grid, .sheaf-batch { grid-template-columns: 1fr; flex-direction: column; }
    .bind { flex-direction: column; align-items: center; text-align: center; }
    .stage-body { min-height: 240px; padding: 24px; }
}

.ribbon-peak .ribbon-ribbon, .ribbon-peak .ribbon-roster{
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            word-break: break-word;
            overflow-wrap: break-word;
        }

.ribbon-peak{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(10, 5, 20, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

.ribbon-peak .ribbon-ribbon{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            height: 72px;
            align-items: center;
            justify-content: space-between;
        }

.ribbon-peak .ribbon-crest{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.ribbon-peak .ribbon-crest img{
            height: 32px;
            width: auto;
            display: block;
        }

.ribbon-peak .ribbon-roster{
            align-items: center;
            gap: 8px;
        }

.ribbon-peak .ribbon-knot{
            padding: 8px 16px;
            color: #a19bb8;
            font-size: 14px;
            font-weight: 500;
            border-radius: 19px;
            transition: 0.25s ease;
        }

.ribbon-peak .ribbon-knot:hover{
            color: #ffffff;
            background: rgba(255, 255, 255, 0.05);
        }

.ribbon-peak .ribbon-knot.active{
            color: #ffffff;
            background: rgba(93, 58, 229, 0.2);
        }

@media (max-width: 768px){.ribbon-peak .ribbon-ribbon{
                padding: 0 16px;
                justify-content: center;
            }

.ribbon-peak .ribbon-roster{
                display: none; 
            }}

.ribbon-peak {
    background: rgb(10, 5, 20);
    background-image: none;
}

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

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

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

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

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

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

.bind-root .bind-bind{
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            word-break: break-word;
            overflow-wrap: break-word;
        }

.bind-root .bind-prose, .bind-root .bind-crown{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.bind-root .bind-crown{
            white-space: normal;
        }

.bind-root{
            background: #0a0514;
            color: #a19bb8;
            padding: 60px 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

.bind-root .bind-bind{
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 24px;
        }

.bind-root .bind-bind .bind-crown{
            font-size: 20px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 1px;
        }

.bind-root .bind-bind .bind-prose{
            font-size: 14px;
            text-align: center;
        }