/* 核心变量与基底契约 */
:root {
    --color-bg: #090a0c;
    --color-surface: #121418;
    --color-surface-hover: #1a1d24;
    --color-primary: #38d5ca;
    --color-primary-dim: rgba(56, 213, 202, 0.15);
    --color-text-main: #e2e4e9;
    --color-text-muted: #8b949e;
    --color-border: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: 0.35s ease;
    --mesh-width: 1200px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 强制安全排版与换行规范 */
h1, h2, h3, h4, p, span, a, div {
    word-break: break-word;
    overflow-wrap: break-word;
}
p {
    word-break: keep-all;
}
h1, h2, h3, h4 {
    white-space: normal;
    margin: 0;
    color: #ffffff;
}

/* 强制Flexbox布局基类 */
.mesh, 
.knot, 
.bind, 
.weave, 
.reins,
.brim-bind,
.aura-bind,
.lucid-bind,
.selle-bind,
.vault {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}

.mesh {
    width: 100%;
    max-width: var(--mesh-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* 强制 Flex 子项防溢出 */
.mesh > *, 
.knot > *, 
.bind > *, 
.weave > *, 
.reins > *,
.vault > * {
    min-width: 0;
}

/* 导航栏 (复用首页样式) */
.brim {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 10, 12, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}
.brim-bind {
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}
.sigil {
    display: flex;
    align-items: center;
}
.sigil img {
    height: 28px;
    width: auto;
    display: block;
}
.weave {
    gap: 32px;
    align-items: center;
}
.fil {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}
.fil:hover, 
.fil.active {
    color: var(--color-primary);
}

/* 主容器 */
.realm {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 120px;
    padding-bottom: 120px;
}

/* Section 1: 视觉引擎 (Hero Reverse Split 变体) */
.aura {
    padding-top: 80px;
    position: relative;
}
.aura::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 800px;
    background: radial-gradient(circle at 75% 40%, var(--color-primary-dim) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}
.aura-bind {
    flex-direction: row-reverse; /* 创意种子: reverse_split */
    align-items: center;
    gap: 64px;
}
.aura-soie, .aura-lens {
    flex: 1;
    min-width: 320px;
}
.aura-soie {
    flex-direction: column;
    gap: 24px;
}
.helm-mega {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.soie-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 90%;
}
.stitch-bind {
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}
.stitch-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    color: var(--color-text-main);
    font-size: 0.95rem;
    font-weight: 500;
    align-self: flex-start;
    transition: transform var(--transition), border-color var(--transition);
}
.stitch-pill:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}
.stitch-pill .glyph {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}
.lens-bind {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
}
.lens-bind::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    pointer-events: none;
}
.lens {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}
.lens-bind:hover .lens {
    transform: scale(1.03);
}

/* 按钮组件语法继承 */
.clasp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 48px;
    background: var(--color-primary);
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(56, 213, 202, 0.3);
    border: 1px solid transparent;
    text-decoration: none;
    transition: all var(--transition);
    align-self: flex-start;
    margin-top: 16px;
    cursor: pointer;
}
.clasp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(56, 213, 202, 0.4);
    background: #4de5db;
}

/* Section 2: 交互画布 (Steps 变体) */
.lucid {
    position: relative;
}
.lucid-bind {
    flex-direction: column;
    gap: 56px;
}
.helm-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.helm-focus {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
}
.lucid-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.cuir {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    height: 100%;
}
.cuir:hover {
    background: var(--color-surface-hover);
    border-color: rgba(56, 213, 202, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.glyph-bind {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(56, 213, 202, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.glyph-bind .glyph {
    width: 24px;
    height: 24px;
}
.helm-sub {
    font-size: 1.25rem;
    font-weight: 600;
}
.soie-dim {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.lucid-nodes {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Section 3: 应用场景 (Capability 变体) */
.selle {
    background: linear-gradient(180deg, transparent, rgba(18, 20, 24, 0.5));
    border-top: 1px solid var(--color-border);
    padding-top: 100px;
    padding-bottom: 40px; /* 留出底部空间给 footer */
}
.selle-bind {
    flex-direction: column;
    gap: 48px;
}
.selle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
}
.shard {
    position: relative;
    padding: 40px 32px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
}
.shard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.shard:hover {
    background: rgba(255, 255, 255, 0.04);
}
.shard:hover::before {
    transform: scaleX(1);
}
.shard .glyph-bind {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.shard:hover .glyph-bind {
    color: var(--color-primary);
    border-color: var(--color-primary-dim);
}

/* 页脚 */
.hem {
    border-top: 1px solid var(--color-border);
    padding: 64px 0 40px;
    background: var(--color-bg);
}
.vault {
    justify-content: space-between;
    gap: 48px;
}
.vault-knot {
    flex-direction: column;
    gap: 16px;
    min-width: 200px;
}
.vault-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.vault-strap {
    flex-direction: column;
    gap: 12px;
}
.vault-fil {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}
.vault-fil:hover {
    color: var(--color-primary);
}
.vault-soie {
    width: 100%;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* 响应式断点 */
@media (max-width: 1024px) {
    .aura-bind {
        flex-direction: column;
        text-align: center;
    }
    .aura-soie {
        align-items: center;
    }
    .stitch-pill, .clasp {
        align-self: center;
    }
    .soie-lead {
        max-width: 100%;
    }
    .lucid-matrix {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .brim-bind {
        flex-direction: column;
        gap: 16px;
    }
    .weave {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    .realm {
        gap: 80px;
        padding-bottom: 80px;
    }
    .aura {
        padding-top: 40px;
    }
    .selle-grid {
        grid-template-columns: 1fr;
    }
    .vault {
        flex-direction: column;
    }
}

.reins-brim .reins-mesh{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

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

.reins-brim .reins-brim-bind{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

.reins-brim .reins-sigil{
            height: 28px;
            display: flex;
            align-items: center;
        }

.reins-brim .reins-sigil img{
            height: 100%;
            object-fit: contain;
        }

.reins-brim .reins-reins{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }

.reins-brim .reins-weave{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
        }

.reins-brim .reins-fil{
            font-size: 0.95rem;
            font-weight: 500;
            color: #8b949e;
            position: relative;
            padding: 8px 0;
        }

.reins-brim .reins-fil:hover, .reins-brim .reins-fil.active{
            color: #38d5ca;
        }

.reins-brim .reins-fil::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #38d5ca;
            transition: width 0.3s ease;
        }

.reins-brim .reins-fil:hover::after, .reins-brim .reins-fil.active::after{
            width: 100%;
        }

@media (max-width: 1024px){.reins-brim .reins-weave{
                display: none; 
            }}

.reins-brim {
    background: rgb(9, 10, 12);
    background-image: none;
}

.seam-hem {
    font-family: var(--font-sans);
    line-height: 1.7;
    word-break: break-word;
    color: var(--color-text-main);
}
.seam-hem,
.seam-hem *,
.seam-hem *::before,
.seam-hem *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.seam-hem .seam-mesh{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

.seam-hem .seam-flex-bind{
            display: flex;
            flex-wrap: wrap;
        }

.seam-hem .seam-helm-minor{
            font-size: 1.25rem;
            font-weight: 600;
            color: #ffffff;
            white-space: normal;
            margin-bottom: 12px;
        }

.seam-hem .seam-soie-base{
            font-size: 1rem;
            color: #8b949e;
            margin-bottom: 16px;
        }

.seam-hem{
            background: #050506;
            padding: 80px 0 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

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

.seam-hem .seam-vault-brand{
            flex: 1;
            min-width: 240px;
        }

.seam-hem .seam-vault-brand .seam-helm-minor{
            color: #fff;
            margin-bottom: 16px;
            font-size: 1.5rem;
            letter-spacing: 1px;
        }

.seam-hem .seam-vault-links{
            display: flex;
            flex-wrap: wrap;
            gap: 60px;
        }

.seam-hem .seam-vault-knot{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.seam-hem .seam-vault-helm{
            color: #fff;
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

.seam-hem .seam-vault-knot a{
            color: #8b949e;
            font-size: 0.9rem;
        }

.seam-hem .seam-vault-knot a:hover{
            color: #38d5ca;
        }

.seam-hem .seam-seam-bottom{
            padding-top: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            font-size: 0.85rem;
            color: #8b949e;
        }

@media (max-width: 768px){.seam-hem .seam-vault-links{
                flex-direction: column;
                gap: 32px;
            }}