/* ==========================================================================
           1. 变量系统 (继承自首页视觉契约)
           ========================================================================== */
        :root {
            --color-bg: #070709;
            --color-surface: #121217;
            --color-surface-hover: #1a1a24;
            --color-accent: #e02580;
            --color-accent-dim: rgba(224, 37, 128, 0.15);
            --color-text-main: #fcfcfd;
            --color-text-muted: #a1a1aa;
            --color-border: rgba(255, 255, 255, 0.08);
            --color-border-highlight: rgba(255, 255, 255, 0.15);
            
            --font-serif: 'Playfair Display', 'Songti SC', 'Noto Serif SC', serif;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 20px;
            --radius-full: 100px;
            
            --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
            --shadow-glow: 0 0 30px rgba(224, 37, 128, 0.15);
            
            --transition: all 0.25s ease;
        }

        /* ==========================================================================
           2. 基础重置与全局样式
           ========================================================================== */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            min-width: 0; /* Flexbox safety */
        }

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

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        /* 强制文本换行 */
        .yarn, .crown, .thread, .knot {
            word-break: break-word;
            overflow-wrap: break-word;
        }

        /* ==========================================================================
           3. 导航栏样式 (复用首页)
           ========================================================================== */
        .peak {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(7, 7, 9, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--color-border);
        }

        .loom {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

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

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

        .silkway {
            display: flex;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
        }

        .thread {
            font-size: 0.95rem;
            color: var(--color-text-muted);
            font-weight: 500;
            position: relative;
        }

        .thread:hover, .thread.active {
            color: var(--color-text-main);
        }

        .thread.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--color-accent);
            border-radius: 2px;
        }

        /* ==========================================================================
           4. 布局容器
           ========================================================================== */
        .realm {
            padding-top: 80px; /* Offset for fixed header */
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .hide {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
            width: 100%;
        }

        /* 通用排版 */
        .crown {
            font-family: var(--font-serif);
            font-weight: 600;
            line-height: 1.2;
            color: var(--color-text-main);
            white-space: normal;
        }
        
        .crown-accent {
            color: var(--color-accent);
            font-style: italic;
        }

        .yarn {
            color: var(--color-text-muted);
            font-size: 1.125rem;
            word-break: keep-all; /* 中文词组完整 */
        }

        /* 通用Flex */
        .flock {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
        }

        /* 按钮语法 */
        .spark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 36px;
            background-color: var(--color-accent);
            color: #fff;
            border-radius: var(--radius-full);
            font-weight: 500;
            font-size: 1rem;
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow: 0 4px 15px rgba(224, 37, 128, 0.3);
            cursor: pointer;
            transition: var(--transition);
        }

        .spark:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(224, 37, 128, 0.4);
            background-color: #f02d8d;
        }
        
        .spark-outline {
            background-color: transparent;
            border: 1px solid var(--color-border-highlight);
            box-shadow: none;
        }
        
        .spark-outline:hover {
            background-color: var(--color-surface-hover);
            border-color: var(--color-accent);
            box-shadow: none;
        }

        /* ==========================================================================
           5. 区块: 云端创作工坊 (Hero - Asymmetric Grid)
           ========================================================================== */
        .aura {
            padding-top: 120px;
            padding-bottom: 100px;
            position: relative;
            overflow: hidden;
        }

        /* 背景装饰 */
        .aura::before {
            content: '';
            position: absolute;
            top: -20%;
            left: -10%;
            width: 60%;
            height: 60%;
            background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 70%);
            z-index: -1;
            filter: blur(60px);
        }

        .grid-asymmetric {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 60px;
            align-items: center;
        }

        .aura .crown {
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            margin-bottom: 24px;
        }

        .aura .yarn {
            margin-bottom: 40px;
            max-width: 90%;
        }

        /* 极简交互面板 (Data UI) */
        .swatch-swatch {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            padding: 30px;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .sash-input {
            background: rgba(0,0,0,0.3);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-sm);
            padding: 20px;
            color: var(--color-text-main);
            font-size: 1rem;
            min-height: 120px;
            display: flex;
            align-items: flex-start;
            cursor: text;
            transition: var(--transition);
        }
        
        .sash-input:hover {
            border-color: var(--color-border-highlight);
        }

        .sash-input .yarn {
            font-size: 1rem;
            opacity: 0.6;
            margin: 0;
        }

        .flock-controls {
            gap: 12px;
        }

        .knot-tag {
            background: var(--color-bg);
            border: 1px solid var(--color-border);
            padding: 8px 16px;
            border-radius: var(--radius-full);
            font-size: 0.875rem;
            color: var(--color-text-muted);
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: var(--transition);
        }

        .knot-tag:hover {
            border-color: var(--color-accent);
            color: var(--color-text-main);
        }

        /* 右侧渲染画布 (纯CSS视觉) */
        .swatch-canvas {
            position: relative;
            aspect-ratio: 4/3;
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-sm), var(--shadow-glow);
        }

        .canvas-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 30px 30px;
            z-index: 1;
        }

        .canvas-core {
            position: relative;
            width: 60%;
            height: 60%;
            border-radius: 50%;
            background: conic-gradient(from 0deg, transparent, var(--color-accent-dim), var(--color-accent), transparent);
            animation: spin 4s linear infinite;
            z-index: 2;
            filter: blur(20px);
            opacity: 0.8;
        }
        
        .canvas-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }
        
        .canvas-overlay .glyph {
            width: 48px;
            height: 48px;
            stroke: var(--color-accent);
            opacity: 0.8;
        }

        @keyframes spin {
            0% { transform: rotate(0deg) scale(1); }
            50% { transform: rotate(180deg) scale(1.1); }
            100% { transform: rotate(360deg) scale(1); }
        }

        /* ==========================================================================
           6. 区块: 极简参数，极致输出 (Workflow)
           ========================================================================== */
        .canvas-stage {
            padding: 100px 0;
            background: linear-gradient(to bottom, var(--color-bg), var(--color-surface));
            border-top: 1px solid var(--color-border);
        }

        .canvas-stage .crown-center {
            text-align: center;
            font-size: clamp(2rem, 3vw, 2.5rem);
            margin-bottom: 20px;
        }

        .canvas-stage .yarn-center {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 60px auto;
        }

        .flock-workflow {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            position: relative;
        }

        /* 流程卡片 */
        .motif-step {
            background: var(--color-bg);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            padding: 40px 30px;
            position: relative;
            z-index: 2;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .motif-step:hover {
            transform: translateY(-5px);
            border-color: var(--color-border-highlight);
            box-shadow: var(--shadow-sm);
            background: var(--color-surface-hover);
        }

        .glyph-hide {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            background: rgba(224, 37, 128, 0.1);
            border: 1px solid rgba(224, 37, 128, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
        }

        .glyph-hide svg {
            width: 32px;
            height: 32px;
            stroke: var(--color-accent);
            fill: none;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .motif-step .crown {
            font-size: 1.25rem;
            margin-bottom: 12px;
            font-family: var(--font-sans); /* 步骤标题用无衬线更现代 */
        }

        .motif-step .yarn {
            font-size: 0.95rem;
            margin: 0;
        }

        /* ==========================================================================
           7. 区块: 专属计算集群 (Status Data UI)
           ========================================================================== */
        .vista-cluster {
            padding: 100px 0 120px 0;
            background-color: var(--color-bg);
        }

        .flock-peak {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .vista-cluster .crown {
            font-size: clamp(2rem, 3vw, 2.5rem);
            margin: 0;
        }

        /* 状态徽章 */
        .knot-status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
            border-radius: var(--radius-full);
            color: #10b981;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .knot-status .dot {
            width: 8px;
            height: 8px;
            background-color: #10b981;
            border-radius: 50%;
            box-shadow: 0 0 10px #10b981;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.4; }
            100% { opacity: 1; }
        }

        .vista-cluster > .hide > .yarn {
            margin-bottom: 50px;
            max-width: 600px;
        }

        /* 数据面板网格 */
        .flock-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .shard-stat {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            padding: 32px;
            display: flex;
            flex-direction: column;
            transition: var(--transition);
        }

        .shard-stat:hover {
            border-color: var(--color-border-highlight);
            background: var(--color-surface-hover);
        }

        .sash-seal {
            color: var(--color-text-muted);
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .shard-stat .crown {
            font-size: 2.5rem;
            font-family: var(--font-sans);
            font-weight: 300;
            margin-bottom: 24px;
            color: var(--color-text-main);
        }
        
        .crown-value {
            display: flex;
            align-items: baseline;
            gap: 8px;
        }
        
        .crown-unit {
            font-size: 1rem;
            color: var(--color-text-muted);
        }

        /* 进度条语法 */
        .sash-track {
            width: 100%;
            height: 6px;
            background: rgba(255,255,255,0.05);
            border-radius: 3px;
            overflow: hidden;
            margin-top: auto;
        }

        .sash-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--color-accent-dim), var(--color-accent));
            border-radius: 3px;
            position: relative;
        }

        /* 伪造日期约束，融入UI */
        .system-info {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid var(--color-border);
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--color-text-muted);
            font-family: monospace;
        }

        /* ==========================================================================
           8. 页脚 (继承壳层)
           ========================================================================== */
        .hem {
            background-color: #040405;
            border-top: 1px solid var(--color-border);
            padding: 80px 0 40px;
            margin-top: auto;
        }

        .flock-hem {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 60px;
            margin-bottom: 60px;
        }

        .legacy-brand {
            max-width: 300px;
        }

        .legacy-brand .crown {
            font-size: 1.5rem;
            margin-bottom: 16px;
        }

        .legacy-brand .yarn {
            font-size: 0.9rem;
        }

        .flock-links {
            display: flex;
            gap: 80px;
            flex-wrap: wrap;
        }

        .seam-col {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .seam-col .crown {
            font-size: 1rem;
            font-family: var(--font-sans);
            color: var(--color-text-main);
            margin-bottom: 8px;
        }

        .seam-col .thread {
            font-size: 0.9rem;
        }

        .imprint-bottom {
            border-top: 1px solid var(--color-border);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .imprint-bottom .yarn {
            font-size: 0.85rem;
            margin: 0;
        }

        /* ==========================================================================
           9. 响应式断点
           ========================================================================== */
        @media (max-width: 1024px) {
            .grid-asymmetric {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .swatch-canvas {
                aspect-ratio: 16/9;
            }
            .flock-links {
                gap: 40px;
            }
        }

        @media (max-width: 768px) {
            .loom {
                padding: 0 20px;
            }
            .hide {
                padding: 0 20px;
            }
            .silkway {
                display: none; /* 移动端简易处理，实际应有汉堡菜单，此处保持HTML结构简洁 */
            }
            .aura {
                padding-top: 80px;
                padding-bottom: 60px;
            }
            .canvas-stage, .vista-cluster {
                padding: 60px 0;
            }
            .flock-workflow, .flock-stats {
                grid-template-columns: 1fr;
            }
            .flock-hem {
                flex-direction: column;
                gap: 40px;
            }
        }

.rein-peak{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(7, 7, 9, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.rein-peak .rein-loom{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 24px;
            min-width: 0;
        }

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

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

.rein-peak .rein-silkway{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            align-items: center;
            min-width: 0;
        }

.rein-peak .rein-thread{
            font-size: 0.9rem;
            font-weight: 500;
            color: #a1a1aa;
            position: relative;
            padding: 8px 0;
        }

.rein-peak .rein-thread:hover, .rein-peak .rein-thread.rein-active{
            color: #fcfcfd;
        }

.rein-peak .rein-thread::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #e02580;
            transition: all 0.25s ease;
        }

.rein-peak .rein-thread:hover::after, .rein-peak .rein-thread.rein-active::after{
            width: 100%;
        }

@media (max-width: 768px){.rein-peak .rein-silkway{
                display: none; 
            }}

.rein-peak {
    background: rgb(7, 7, 9);
    background-image: none;
}

.legacy-hem-zone {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text-main);
}
.legacy-hem-zone,
.legacy-hem-zone *,
.legacy-hem-zone *::before,
.legacy-hem-zone *::after {
    box-sizing: border-box;
}

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

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

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

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

.legacy-hem-zone a,
.legacy-hem-zone a:hover,
.legacy-hem-zone a:focus,
.legacy-hem-zone a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.legacy-hem-zone .legacy-yarn{
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
            color: #a1a1aa;
            line-height: 1.8;
        }

.legacy-hem-zone .legacy-realm{
            width: 100%;
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 24px;
        }

.legacy-hem-zone .legacy-thread{
            font-size: 0.9rem;
            font-weight: 500;
            color: #a1a1aa;
            position: relative;
            padding: 8px 0;
        }

.legacy-hem-zone .legacy-thread:hover{
            color: #fcfcfd;
        }

.legacy-hem-zone .legacy-thread::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #e02580;
            transition: all 0.25s ease;
        }

.legacy-hem-zone .legacy-thread:hover::after{
            width: 100%;
        }

.legacy-hem-zone{
            padding: 60px 0 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: #050507;
        }

.legacy-hem-zone .legacy-hem-flock{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 32px;
        }

.legacy-hem-zone .legacy-legacy{
            font-family: 'Playfair Display', 'Songti SC', 'Noto Serif SC', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: #fcfcfd;
            letter-spacing: 1px;
        }

.legacy-hem-zone .legacy-seam{
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            font-size: 0.9rem;
            color: #a1a1aa;
        }

.legacy-hem-zone .legacy-imprint{
            width: 100%;
            text-align: center;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
            font-size: 0.85rem;
            color: #71717a;
        }

@media (max-width: 768px){.legacy-hem-zone .legacy-hem-flock{
                flex-direction: column;
                text-align: center;
            }

.legacy-hem-zone .legacy-seam{
                justify-content: center;
            }}