/* === 视觉契约与基础变量 === */
        :root {
            --brand-primary: #8264f2;
            --brand-primary-hover: #6a4bd8;
            --brand-secondary: #00d2ff;
            --bg-page: #f8f9fe;
            --bg-surface: #ffffff;
            --bg-geek: #1a1528; /* 深色极客基调 */
            --bg-geek-gradient: linear-gradient(135deg, #1a1528 0%, #2a204a 100%);
            --text-main: #1a1528;
            --text-muted: #6b6280;
            --text-inverse: #ffffff;
            --text-inverse-muted: #a79fc2;
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 8px;
            --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
            --shadow-hover: 0 20px 40px rgba(130, 100, 242, 0.15);
            --transition-base: all 0.25s ease;
            
            /* 代码高亮颜色 */
            --code-bg: #0d0a14;
            --code-keyword: #ff7b72;
            --code-function: #d2a8ff;
            --code-string: #a5d6ff;
            --code-comment: #8b949e;
        }

        /* === 基础重置与强制规则 === */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-page);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        /* 强制文本换行规范 */
        .yarn-wrap,
        p, h1, h2, h3, span {
            word-break: break-word;
            overflow-wrap: break-word;
            white-space: normal;
        }
        
        p {
            word-break: keep-all; /* 中文优化 */
            margin-bottom: 1rem;
        }

        /* 强制Flexbox规则工具类 */
        .sync-mesh,
        .shout-realm,
        .pulse-zone,
        .flare-mesh,
        .echo-realm,
        .root-base,
        .cluster-row {
            display: flex;
            flex-wrap: wrap;
        }

        .speck-fluid {
            min-width: 0; /* 防止内容溢出不换行 */
        }

        /* === 排版系统 === */
        .peak-xl {
            font-size: clamp(2rem, 4vw, 3.5rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
        }

        .peak-lg {
            font-size: clamp(1.75rem, 3vw, 2.5rem);
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 1.25rem;
            color: var(--text-main);
        }

        .peak-md {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }

        .yarn-lg {
            font-size: clamp(1rem, 1.5vw, 1.25rem);
            line-height: 1.8;
            color: var(--text-muted);
        }

        .yarn-inverse {
            color: var(--text-inverse-muted);
        }

        /* === 导航栏 (完全复用首页) === */
        .apex-zone {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(248, 249, 254, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(130, 100, 242, 0.1);
        }

        .sync-mesh {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 5%;
            justify-content: space-between;
            align-items: center;
        }

        .crest {
            display: flex;
            align-items: center;
        }

        .crest img {
            height: 32px;
            width: auto;
        }

        .sync-array {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .xwave-bond {
            text-decoration: none;
            color: var(--text-main);
            font-weight: 500;
            font-size: 1rem;
            transition: var(--transition-base);
            padding: 0.5rem 0;
            position: relative;
        }

        .xwave-bond:hover,
        .xwave-bond:focus {
            color: var(--brand-primary);
        }

        .xwave-bond.active {
            color: var(--brand-primary);
            font-weight: 700;
        }

        .xwave-bond.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--brand-primary);
            border-radius: 3px;
        }

        /* === 主内容区基底 === */
        .core-realm {
            width: 100%;
            overflow-x: hidden;
        }

        /* === 1. 释放自动化潜力 (Hero / Intro) === */
        .shout-realm {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 5%;
            align-items: center;
        }

        .shout-shell {
            width: 100%;
            background: var(--bg-geek-gradient);
            border-radius: var(--radius-lg);
            padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
            color: var(--text-inverse);
            box-shadow: var(--shadow-hover);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        /* Hero 装饰动效 */
        .shout-shell::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 60%;
            height: 200%;
            background: radial-gradient(circle, rgba(130,100,242,0.2) 0%, transparent 60%);
            transform: rotate(-15deg);
            pointer-events: none;
        }

        .spark-emit {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 32px;
            background: var(--brand-primary);
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            border-radius: 100px;
            box-shadow: 0 8px 24px rgba(130, 100, 242, 0.4);
            transition: var(--transition-base);
            margin-top: 2rem;
            border: none;
            cursor: pointer;
        }

        .spark-emit:hover,
        .spark-emit:focus {
            background: var(--brand-primary-hover);
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(130, 100, 242, 0.5);
        }

        /* === 2. Python 脚本接口详解 (Capability) === */
        .pulse-zone {
            max-width: 1200px;
            margin: 60px auto;
            padding: 0 5%;
            gap: 40px;
            align-items: center;
        }

        .pulse-yarn,
        .pulse-lens-shell {
            flex: 1;
            min-width: 300px;
        }

        .pulse-lens-shell {
            background: var(--bg-surface);
            padding: 20px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(130, 100, 242, 0.1);
            transition: var(--transition-base);
        }

        .pulse-lens-shell:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .lens-fluid {
            width: 100%;
            height: auto;
            border-radius: var(--radius-md);
            display: block;
        }

        .chime-cluster {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .chime-speck {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .glyph-shell {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(130, 100, 242, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-primary);
            flex-shrink: 0;
        }

        /* === 3. 实用脚本案例：自动回复 (Proof) === */
        .flare-mesh {
            max-width: 1200px;
            margin: 80px auto;
            padding: 0 5%;
            gap: 40px;
        }

        .flare-yarn {
            flex: 1;
            min-width: 300px;
        }

        .flare-code {
            flex: 1.2;
            min-width: 340px;
        }

        .code-shell {
            background: var(--code-bg);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.1);
        }

        /* 代码框顶部装饰条 */
        .code-shell::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
        }

        .code-yarn {
            font-family: 'Courier New', Courier, monospace;
            font-size: 0.95rem;
            line-height: 1.7;
            color: #c9d1d9;
            white-space: pre-wrap;
            word-break: break-all;
        }

        /* 简易语法高亮 */
        .c-keyword { color: var(--code-keyword); }
        .c-function { color: var(--code-function); }
        .c-string { color: var(--code-string); }
        .c-comment { color: var(--code-comment); font-style: italic; }

        /* === 4. Perl 与其他语言支持 (Comparison) === */
        .echo-realm {
            max-width: 1200px;
            margin: 60px auto 100px;
            padding: 40px 5%;
            background: var(--bg-surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(130, 100, 242, 0.05);
            flex-direction: column;
        }
        
        .echo-shell {
            max-width: 800px;
        }

        /* === 页脚 === */
        .root-base {
            background: var(--bg-surface);
            border-top: 1px solid rgba(130, 100, 242, 0.1);
            padding: 40px 5%;
            justify-content: space-between;
            align-items: center;
        }

        .root-yarn {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .root-bonds {
            display: flex;
            gap: 1.5rem;
        }

        .root-bonds a {
            color: var(--text-muted);
            text-decoration: none;
            transition: var(--transition-base);
        }

        .root-bonds a:hover {
            color: var(--brand-primary);
        }

        /* === 响应式断点 === */
        @media (max-width: 768px) {
            .sync-array {
                display: none; /* 移动端导航简化处理，依赖JS或保持简洁 */
            }
            .shout-shell {
                padding: 2.5rem 1.5rem;
            }
            .pulse-zone,
            .flare-mesh {
                flex-direction: column;
            }
            .code-shell {
                padding: 1.5rem;
            }
        }

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

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

.sync-apex-zone p,
.sync-apex-zone h1,
.sync-apex-zone h2,
.sync-apex-zone h3,
.sync-apex-zone h4,
.sync-apex-zone h5,
.sync-apex-zone h6 {
    text-decoration: none;
}

.sync-apex-zone img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.sync-apex-zone {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.sync-apex-zone a.sync-xwave-bond {
    --aisite-shell-nav-padding: 8px 16px;
    --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;
}

.sync-apex-zone a.sync-xwave-bond,
.sync-apex-zone a.sync-xwave-bond:hover,
.sync-apex-zone a.sync-xwave-bond:focus,
.sync-apex-zone a.sync-xwave-bond:active,
.sync-apex-zone a.sync-xwave-bond.active,
.sync-apex-zone a.sync-xwave-bond[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);
}

.sync-apex-zone{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(130, 100, 242, 0.1);
        }

.sync-apex-zone .sync-sync-mesh{
            max-width: 1280px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            min-width: 0;
        }

.sync-apex-zone .sync-crest{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            min-width: 0;
        }

.sync-apex-zone .sync-crest img{
            height: 36px;
            width: auto;
            display: block;
        }

.sync-apex-zone .sync-sync-array{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            min-width: 0;
        }

.sync-apex-zone .sync-xwave-bond{
            padding: 8px 16px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #6b6280;
            border-radius: 8px;
            transition: all 0.25s ease;
            word-break: break-word;
            overflow-wrap: break-word;
        }

.sync-apex-zone .sync-xwave-bond:hover, .sync-apex-zone .sync-xwave-bond.active{
            color: #8264f2;
            background: rgba(130, 100, 242, 0.08);
        }

@media (max-width: 768px){.sync-apex-zone .sync-sync-array{
                display: none; 
            }}

.sync-apex-zone {
    background: rgb(255, 255, 255);
    background-image: none;
}

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

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

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

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

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

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

.base-base-root{
            background: #110d1a;
            color: rgba(255, 255, 255, 0.7);
            padding: 80px 0 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

.base-base-root .base-base-mesh{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
            min-width: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 60px;
            margin-bottom: 40px;
        }

.base-base-root .base-anchor-cluster{
            flex: 1;
            min-width: 240px;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            min-width: 0;
        }

.base-base-root .base-anchor-peak{
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 24px;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
        }

.base-base-root .base-anchor-yarn{
            line-height: 1.8;
            margin-bottom: 24px;
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
        }

.base-base-root .base-anchor-array{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            gap: 16px;
            min-width: 0;
        }

.base-base-root .base-anchor-bond{
            color: inherit;
            transition: all 0.25s ease;
            word-break: break-word;
            overflow-wrap: break-word;
            align-self: flex-start;
        }

.base-base-root .base-anchor-bond:hover{
            color: #ffffff;
            padding-left: 4px;
        }

.base-base-root .base-echo-zone{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            text-align: center;
            font-size: 0.9rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            min-width: 0;
        }

.base-base-root .base-echo-yarn{
            word-break: break-word;
            overflow-wrap: break-word;
        }

@media (max-width: 768px){.base-base-root .base-base-mesh{
                flex-direction: column;
            }}