/* 基础变量体系 (继承首页正文视觉契约) */
:root {
    --bg-deep: #050508;
    --bg-surface: #0e1015;
    --bg-elevated: #161a22;
    --text-head: #ffffff;
    --text-body: #a1a6b4;
    --text-muted: #6b7280;
    --accent: #20dd71;
    --radius-main: 18px;
    --radius-pill: 999px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 120px;
    --transition: 0.15s ease;
}

/* 全局重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    min-width: 0; /* 强制Flex子项不溢出 */
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* 导航栏复用样式 (强制继承) */
.topnote {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.docway {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 16px 5vw;
}

.inkmark {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 32px;
}

.inkmark img {
    height: 100%;
    width: auto;
}

.tablist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.typetie {
    color: var(--text-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

.typetie:hover,
.typetie.active {
    color: var(--text-head);
}

.typetie.active {
    font-weight: 600;
    position: relative;
}

.typetie.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* 主内容区 */
.mainpad {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    padding-top: 65px; /* 避开固定导航 */
}

/* 1. Hero区块 (让灵感，自动涌现) - 角色变体 */
.docface {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 75vh;
    background: radial-gradient(circle at 50% 30%, #152219 0%, #050508 70%);
    padding: var(--space-xl) 5vw var(--space-lg);
    align-content: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.docface::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    pointer-events: none;
}

.leadink {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
    text-align: center;
    z-index: 1;
}

.inkbadge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 6px 16px;
    background: rgba(32, 221, 113, 0.1);
    border: 1px solid rgba(32, 221, 113, 0.2);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.headink-docface {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-head);
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: normal;
    margin-bottom: var(--space-md);
}

.prose-docface {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-body);
    max-width: 680px;
    margin-bottom: var(--space-lg);
    word-break: keep-all;
}

.inktap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #000000;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 16px 40px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px -6px rgba(32, 221, 113, 0.4);
    border: none;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.inktap:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(32, 221, 113, 0.6);
}

/* 2. 能力展示区块 (对话之间，尽在掌握) */
.binder {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: var(--space-xl) 5vw;
    background-color: var(--bg-deep);
    justify-content: center;
}

.filehub {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    gap: var(--space-lg);
    align-items: center;
}

.docbatch-left {
    flex: 1 1 400px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.headink-sec {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-head);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    white-space: normal;
}

.prose-sec {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.docbatch-items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: var(--space-md);
}

.docslip {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-surface);
    border-radius: var(--radius-main);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform var(--transition), background var(--transition);
}

.docslip:hover {
    transform: translateX(8px);
    background: var(--bg-elevated);
    border-color: rgba(255, 255, 255, 0.08);
}

.glyph-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(32, 221, 113, 0.05);
    border-radius: 12px;
    color: var(--accent);
    flex-shrink: 0;
}

.docslip-prose {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex: 1;
}

.headink-slip {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-head);
    margin-bottom: 4px;
}

.prose-slip {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.docbatch-right {
    flex: 1 1 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

/* 视觉承载：数据结构表面 */
.inknote {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: var(--bg-elevated);
    border-radius: var(--radius-main);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-sm);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8);
    position: relative;
}

.inknote::before {
    content: '';
    display: flex;
    width: 100%;
    height: 12px;
    margin-bottom: 8px;
    background: radial-gradient(circle at 10px 50%, #ff5f56 3px, transparent 4px),
                radial-gradient(circle at 24px 50%, #ffbd2e 3px, transparent 4px),
                radial-gradient(circle at 38px 50%, #27c93f 3px, transparent 4px);
    background-size: 50px 100%;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.docpic {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

/* 3. 隐私声明区块 (企业级的数字护城河) - 混合容器 article */
.sheetply {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: var(--space-xl) 5vw;
    background-color: var(--bg-surface);
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.docream {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.headink-center {
    text-align: center;
    max-width: 700px;
    margin-bottom: var(--space-lg);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
    width: 100%;
}

.textpad {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    background: var(--bg-deep);
    border-radius: var(--radius-main);
    padding: var(--space-md) var(--space-md) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform var(--transition), border-color var(--transition);
}

.textpad:hover {
    transform: translateY(-5px);
    border-color: rgba(32, 221, 113, 0.3);
}

.glyph-large {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.headink-pad {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-head);
    margin-bottom: var(--space-xs);
}

/* 页脚区域 */
.botnote {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: var(--space-lg) 5vw var(--space-md);
    background-color: var(--bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.docbase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: var(--space-md);
}

.prose-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-head);
}

.tablist-foot {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.prose-prose {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 响应式断点 */
@media (max-width: 768px) {
    .tablist {
        display: none; /* 简化移动端顶部导航展示，实际项目中需JS菜单 */
    }
    .docface {
        padding: 100px 5vw 60px;
    }
    .docbatch-left, .docbatch-right {
        flex: 1 1 100%;
    }
    .proof-grid {
        grid-template-columns: 1fr;
    }
    .docbase {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

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

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

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

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

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

.docway-topnote a.docway-typetie {
    --aisite-shell-nav-padding: 8px 12px;
    --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;
}

.docway-topnote a.docway-typetie,
.docway-topnote a.docway-typetie:hover,
.docway-topnote a.docway-typetie:focus,
.docway-topnote a.docway-typetie:active,
.docway-topnote a.docway-typetie.active,
.docway-topnote a.docway-typetie[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);
}

.docway-topnote .docway-docway, .docway-topnote .docway-tablist{
            display: flex;
            flex-wrap: wrap;
        }

.docway-topnote .docway-docway > *, .docway-topnote .docway-tablist > *{
            min-width: 0;
        }

.docway-topnote .docway-typetie{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.docway-topnote{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(5, 5, 8, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 16px 5vw;
        }

.docway-topnote .docway-docway{
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            align-items: center;
            justify-content: space-between;
        }

.docway-topnote .docway-inkmark{
            display: flex;
            align-items: center;
            height: 32px;
        }

.docway-topnote .docway-inkmark img{
            height: 100%;
            width: auto;
            filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
        }

.docway-topnote .docway-tablist{
            gap: 24px;
            align-items: center;
        }

.docway-topnote .docway-typetie{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a1a6b4;
            padding: 8px 12px;
            border-radius: 999px;
            transition: all 0.15s ease;
        }

.docway-topnote .docway-typetie:hover{
            color: #ffffff;
            background: rgba(255, 255, 255, 0.05);
        }

.docway-topnote .docway-typetie.active{
            color: #ffffff;
            background: rgba(32, 221, 113, 0.1);
            border: 1px solid rgba(32, 221, 113, 0.2);
        }

@media (max-width: 768px){.docway-topnote{ padding: 16px; }

.docway-topnote .docway-docway{ flex-direction: column; gap: 16px; align-items: flex-start; }

.docway-topnote .docway-tablist{ width: 100%; overflow-x: auto; padding-bottom: 8px; justify-content: flex-start; }}

.docway-topnote {
    background: rgb(5, 5, 8);
    background-image: none;
}

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

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

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

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

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

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

.endnote-botnote .endnote-sheetply, .endnote-botnote, .endnote-botnote .endnote-tailpad{
            display: flex;
            flex-wrap: wrap;
        }

.endnote-botnote .endnote-sheetply > *, .endnote-botnote > *, .endnote-botnote .endnote-tailpad > *{
            min-width: 0;
        }

.endnote-botnote .endnote-headink, .endnote-botnote .endnote-prose, .endnote-botnote .endnote-typetie{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.endnote-botnote .endnote-prose{
            word-break: keep-all; 
        }

.endnote-botnote .endnote-headink{
            white-space: normal;
        }

.endnote-botnote .endnote-typetie{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a1a6b4;
            padding: 8px 12px;
            border-radius: 999px;
            transition: all 0.15s ease;
        }

.endnote-botnote .endnote-typetie:hover{
            color: #ffffff;
            background: rgba(255, 255, 255, 0.05);
        }

.endnote-botnote .endnote-typetie.active{
            color: #ffffff;
            background: rgba(32, 221, 113, 0.1);
            border: 1px solid rgba(32, 221, 113, 0.2);
        }

.endnote-botnote .endnote-sheetply{
            position: relative;
            z-index: 10; 
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 900px;
            width: 100%;
            gap: 48px;
            
            background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, transparent 80%);
            padding: 40px;
            border-radius: 40px;
        }

.endnote-botnote .endnote-prose a{
            color: #20dd71;
            border-bottom: 1px solid transparent;
        }

.endnote-botnote .endnote-prose a:hover{
            border-bottom-color: #20dd71;
        }

.endnote-botnote{
            width: 100%;
            background: #020203;
            padding: 80px 5vw 40px;
            border-top: 1px solid rgba(255,255,255,0.05);
            flex-direction: column;
            align-items: center;
        }

.endnote-botnote .endnote-tailpad{
            width: 100%;
            max-width: 1200px;
            justify-content: space-between;
            gap: 40px;
            margin-bottom: 60px;
        }

.endnote-botnote .endnote-tailpad .endnote-sheetply{
            flex: 1 1 200px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }

.endnote-botnote .endnote-tailpad .endnote-headink{
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 8px;
        }

.endnote-botnote .endnote-tailpad .endnote-typetie{
            padding: 0;
            color: #6b7280;
            font-size: 0.9rem;
        }

.endnote-botnote .endnote-tailpad .endnote-typetie:hover{
            color: #20dd71;
            background: transparent;
        }

.endnote-botnote .endnote-botnote-bottom{
            width: 100%;
            max-width: 1200px;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 24px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #6b7280;
        }

@media (max-width: 768px){.endnote-botnote .endnote-tailpad{ flex-direction: column; }}