/* 基础变量 - 继承视觉契约 */
:root {
    --color-primary: #c644e0;
    --color-primary-glow: rgba(198, 68, 224, 0.4);
    --color-secondary: #00e5ff;
    --color-bg-dark: #0a0510;
    --color-bg-surface: #140b1c;
    --color-bg-elevated: #1e112a;
    --color-text-main: #f0f0f5;
    --color-text-muted: #a09aa8;
    --color-border: rgba(198, 68, 224, 0.15);
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.25s ease;
    --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* 基础重置与规范 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    min-width: 0; /* Flex子项强制规则 */
    word-break: break-word; /* 文本强制规则 */
    overflow-wrap: break-word;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}

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

/* --- 导航栏样式 (复用首页风格) --- */
.peak-cloak {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 5, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.helm-orbit {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sigil img {
    height: 32px;
    display: block;
}

.helm-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.helm-wire {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.helm-wire.active {
    position: relative;
}

.helm-wire.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--color-primary-glow);
}

.warp-spark {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--color-primary), #9b2bba);
    color: #fff;
    box-shadow: 0 4px 15px rgba(198, 68, 224, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.warp-spark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 68, 224, 0.5);
}

@media (max-width: 768px) {
    .helm-matrix {
        display: none; /* 移动端简易处理，实际会有汉堡菜单，此处按纯CSS骨架 */
    }
}

/* --- 页面公共布局 --- */
.mesh-core {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.apex-lead {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    white-space: normal;
    background: linear-gradient(to right, #fff, var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-md);
}

.apex-sub {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--color-text-main);
    white-space: normal;
}

.echo-stream {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

/* --- Hero区域 (reverse_split 变体) --- */
.nexus-tunnel {
    padding: var(--space-xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.nexus-tunnel::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.nexus-mesh {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
    flex-direction: row-reverse; /* 创意种子: reverse_split */
}

.nexus-cluster {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.nexus-cluster.visual {
    align-items: center;
    justify-content: center;
}

.glyph-nexus {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(198, 68, 224, 0.2));
}

.glyph-nexus circle.orbit {
    transform-origin: center;
    animation: spin 20s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* --- 平台解锁支持 (FAQ/卡片矩阵角色) --- */
.portal-tunnel {
    padding: var(--space-lg) 0;
    position: relative;
}

.portal-mesh {
    background: var(--color-bg-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    border: 1px solid var(--color-border);
    box-shadow: inset 0 0 50px rgba(198,68,224,0.02);
}

.portal-mesh .echo-stream {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.portal-mesh .apex-sub {
    text-align: center;
}

.node-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.node-vault {
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.node-vault:hover {
    transform: translateY(-5px);
    border-color: var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.glyph-platform {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(198, 68, 224, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.node-apex {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

/* --- 性能聚焦 (Context角色) --- */
.aura-tunnel {
    padding: var(--space-lg) 0;
}

.aura-mesh {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    background: radial-gradient(ellipse at center, var(--color-bg-surface) 0%, var(--color-bg-dark) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 229, 255, 0.1);
    padding: var(--space-lg);
}

.aura-cluster {
    flex: 1;
    min-width: 300px;
}

.aura-cluster h2 {
    color: var(--color-secondary);
}

.glyph-speed {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

.packet-ping {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 229, 255, 0.05);
    border-left: 3px solid var(--color-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.packet-ping span {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

/* --- 操作指南 (Closing角色) --- */
.base-tunnel {
    padding: var(--space-lg) 0 var(--space-xl);
}

.base-mesh {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.step-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    text-align: left;
}

.step-vault {
    flex: 1;
    min-width: 250px;
    position: relative;
    padding-top: 3rem;
}

.step-vault::before {
    content: attr(data-step);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(198, 68, 224, 0.1);
    line-height: 1;
    z-index: -1;
}

.step-apex {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* --- 页脚区域 --- */
.tail-cloak {
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) 0 var(--space-md);
    background: var(--color-bg-surface);
}

.root-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: space-between;
}

.root-cluster {
    flex: 1;
    min-width: 200px;
}

.root-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: inline-block;
}

.root-wire {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.root-wire:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.depth-band {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nexus-mesh,
    .aura-mesh {
        flex-direction: column;
    }
    .nexus-cluster.text {
        text-align: center;
        align-items: center;
    }
    .band-actions {
        justify-content: center;
    }
    .step-vault {
        text-align: center;
        padding-top: 4rem;
    }
    .step-vault::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .root-matrix {
        flex-direction: column;
    }
}

.helm-peak-cloak {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-main);
}
.helm-peak-cloak,
.helm-peak-cloak *,
.helm-peak-cloak *::before,
.helm-peak-cloak *::after {
    box-sizing: border-box;
}

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

.helm-peak-cloak p,
.helm-peak-cloak h1,
.helm-peak-cloak h2,
.helm-peak-cloak h3,
.helm-peak-cloak h4,
.helm-peak-cloak h5,
.helm-peak-cloak h6 {
    text-decoration: none;
}

.helm-peak-cloak img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.helm-peak-cloak {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.helm-peak-cloak a.helm-helm-wire {
    --aisite-shell-nav-padding: 0.5rem 0;
    --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;
}

.helm-peak-cloak a.helm-helm-wire,
.helm-peak-cloak a.helm-helm-wire:hover,
.helm-peak-cloak a.helm-helm-wire:focus,
.helm-peak-cloak a.helm-helm-wire:active,
.helm-peak-cloak a.helm-helm-wire.active,
.helm-peak-cloak a.helm-helm-wire[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);
}

.helm-peak-cloak{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(10, 5, 16, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(198, 68, 224, 0.15);
            z-index: 1000;
            padding: 0 2rem;
        }

.helm-peak-cloak .helm-helm-orbit{
            max-width: 1400px;
            margin: 0 auto;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }

.helm-peak-cloak .helm-sigil{
            flex-shrink: 0;
            width: 160px;
        }

.helm-peak-cloak .helm-helm-matrix{
            align-items: center;
            gap: 2.5rem;
        }

.helm-peak-cloak .helm-helm-wire{
            font-size: 1rem;
            color: #a09aa8;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
        }

.helm-peak-cloak .helm-helm-wire:hover, .helm-peak-cloak .helm-helm-wire.active{
            color: #f0f0f5;
        }

.helm-peak-cloak .helm-helm-wire.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #c644e0;
            box-shadow: 0 0 10px rgba(198, 68, 224, 0.4);
        }

.helm-peak-cloak .helm-warp-spark{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 1.8rem;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            text-align: center;
        }

.helm-peak-cloak .helm-warp-spark{
            background: linear-gradient(135deg, #c644e0, #9b2bba);
            color: #fff;
            box-shadow: 0 4px 15px rgba(198, 68, 224, 0.3);
        }

.helm-peak-cloak .helm-warp-spark:hover{
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(198, 68, 224, 0.5);
        }

@media (max-width: 768px){.helm-peak-cloak .helm-helm-matrix{
                display: none; 
            }}

.helm-peak-cloak {
    background: rgb(10, 5, 16);
    background-image: none;
}

.base-base-tunnel {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-main);
}
.base-base-tunnel,
.base-base-tunnel *,
.base-base-tunnel *::before,
.base-base-tunnel *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.base-base-tunnel{
            background: #050208;
            padding: 4rem 2rem 2rem;
            border-top: 1px solid rgba(198, 68, 224, 0.15);
            flex-direction: column;
        }

.base-base-tunnel .base-base-matrix{
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            justify-content: space-between;
            gap: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

.base-base-tunnel .base-base-cluster{
            flex-direction: column;
            gap: 1rem;
            width: calc(25% - 1.5rem);
        }

.base-base-tunnel .base-base-apex{
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(to right, #fff, #c644e0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.base-base-tunnel .base-base-peak{
            font-weight: 600;
            color: #fff;
            margin-bottom: 0.5rem;
        }

.base-base-tunnel .base-base-wire{
            color: #a09aa8;
            font-size: 0.9rem;
        }

.base-base-tunnel .base-base-wire:hover{
            color: #c644e0;
        }

.base-base-tunnel .base-base-tail{
            max-width: 1400px;
            margin: 2rem auto 0;
            width: 100%;
            justify-content: space-between;
            color: #a09aa8;
            font-size: 0.85rem;
        }

@media (max-width: 768px){.base-base-tunnel .base-base-cluster{
                width: 100%;
            }}