/* 
 * 核心变量定义 - 继承首页深色模式基因
 */
:root {
    --bg-dark: #0a0e0b;
    --bg-surface: #121814;
    --bg-surface-elevated: #1a231d;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --color-brand: #62c73a;
    --color-brand-dim: rgba(98, 199, 58, 0.15);
    --radius-soft: 18px;
    --radius-pill: 999px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-speed: 0.15s ease;
    --shadow-base: 0 10px 30px rgba(0,0,0,0.4);
    --shadow-glow: 0 8px 24px rgba(98, 199, 58, 0.2);
}

/* 
 * 全局重置与基础设定
 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* 强制文本换行规范 */
.byte, 
.head-mega, 
.head-primary, 
.head-secondary {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 中文内容优化 */
.byte {
    word-break: keep-all;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

/* 
 * 布局容器组件 (Hub, Vault, Skin)
 */
.skin {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.vault {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-bottom: 6rem;
}

.hub {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* 强制Flexbox规则 */
.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.cluster > * {
    min-width: 0;
}

/* 
 * 导航栏复用样式 (Apex, Bios, Array)
 */
.apex {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.bios > * {
    min-width: 0;
}

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

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

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

.array > * {
    min-width: 0;
}

.wire {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.wire:hover,
.wire:focus {
    color: var(--text-primary);
}

.wire.active {
    color: var(--color-brand);
}

/* 
 * 标题尺度 (Head)
 */
.head-mega {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.head-primary {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.head-secondary {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

/* 
 * 行动入口/按钮 (Plug, Flash)
 */
.plug {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--color-brand);
    color: #000000;
    font-weight: 600;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-glow);
    border: 1px solid transparent;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
    margin-top: 2rem;
}

.plug:hover,
.plug:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(98, 199, 58, 0.3);
}

/* 
 * Hero区块 - 不对称网格创意变体 (Splash)
 */
.splash {
    padding-top: 6rem;
    position: relative;
}

.splash::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--color-brand-dim) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.hub-asymmetric {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.splash-byte {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

/* Hero 视觉焦点 SVG 容器 */
.ignite-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--bg-surface), var(--bg-dark));
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-base);
    overflow: hidden;
}

.ignite-visual::after {
    content: '';
    position: absolute;
    inset: 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.05)"/></svg>') repeat;
    opacity: 0.5;
}

.glyph-splash {
    width: 60%;
    height: 60%;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(98, 199, 58, 0.4));
    transition: transform 0.5s ease;
}

.ignite-visual:hover .glyph-splash {
    transform: scale(1.05) rotate(2deg);
}

/* 
 * Windows部署区块 (Sector)
 */
.sector-intro {
    max-width: 800px;
    margin-bottom: 4rem;
}

.cluster-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 卡片语法继承首页基因 */
.iso {
    background: linear-gradient(145deg, var(--bg-surface), var(--bg-dark));
    border-radius: var(--radius-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: inset 0 0 0 rgba(98, 199, 58, 0), var(--shadow-base);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.iso:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 40px rgba(98, 199, 58, 0.03), 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(98, 199, 58, 0.2);
}

.glyph-step {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--color-brand);
}

/* 
 * Linux与VHD扩展区块 (Dock)
 */
.dock {
    position: relative;
    background-color: var(--bg-surface);
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dock-apex {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.cluster-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.disk {
    padding: 2rem;
    border-radius: var(--radius-soft);
    background-color: var(--bg-surface-elevated);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: background-color var(--transition-speed);
}

.disk:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.glyph-feature {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--color-brand);
    opacity: 0.8;
}

/* 
 * 镜像兼容规范区块 (Aside/Panel)
 */
.ignite-skin {
    background: linear-gradient(to right, rgba(98, 199, 58, 0.05), transparent);
    border-left: 4px solid var(--color-brand);
    border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.ignite-skin::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(10, 14, 11, 0.8));
    pointer-events: none;
}

.skin-skin {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cluster-specs {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.chunk-spec {
    background-color: var(--bg-dark);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1 1 240px;
}

.chunk-spec span {
    font-family: monospace;
    color: var(--color-brand);
    font-weight: bold;
}

/* 
 * 页脚 (Base)
 */
.base {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    background-color: var(--bg-dark);
    margin-top: auto;
}

.root {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.root > * {
    min-width: 0;
}

.sector-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.socket {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 
 * 响应式断点
 */
@media (max-width: 1024px) {
    .hub-asymmetric {
        gap: 2rem;
    }
    .splash {
        padding-top: 4rem;
    }
}

@media (max-width: 768px) {
    .hub-asymmetric {
        grid-template-columns: 1fr;
    }
    
    .ignite-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .bios {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .array {
        justify-content: center;
    }

    .ignite-skin {
        padding: 2rem;
    }
    
    .root {
        flex-direction: column;
        text-align: center;
    }
    
    .vault {
        gap: 4rem;
        padding-bottom: 4rem;
    }
}

.bios-apex .bios-flex-wrap{
            display: flex;
            flex-wrap: wrap;
        }

.bios-apex .bios-flex-wrap > *{
            min-width: 0;
        }

.bios-apex{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 14, 11, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding: 1rem 0;
        }

.bios-apex .bios-bios{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 2rem;
            justify-content: space-between;
            align-items: center;
        }

.bios-apex .bios-crest{
            display: flex;
            align-items: center;
            height: 36px;
        }

.bios-apex .bios-crest img{
            height: 100%;
            width: auto;
            object-fit: contain;
        }

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

.bios-apex .bios-wire{
            color: #9ca3af;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.15s ease;
        }

.bios-apex .bios-wire:hover, .bios-apex .bios-wire:focus, .bios-apex .bios-wire.active{
            color: #62c73a;
        }

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

.bios-apex {
    background: rgb(10, 14, 11);
    background-image: none;
}

.root-skin {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
}
.root-skin,
.root-skin *,
.root-skin *::before,
.root-skin *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.root-skin .root-flex-wrap{
            display: flex;
            flex-wrap: wrap;
        }

.root-skin .root-flex-wrap > *{
            min-width: 0;
        }

.root-skin .root-byte-wrap{
            word-break: break-word;
            overflow-wrap: break-word;
            white-space: normal;
        }

.root-skin .root-byte-cn{
            word-break: keep-all;
        }

.root-skin{
            width: 100%;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

.root-skin .root-apex{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 14, 11, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding: 1rem 0;
        }

.root-skin .root-bios{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 2rem;
            justify-content: space-between;
            align-items: center;
        }

.root-skin .root-crest{
            display: flex;
            align-items: center;
            height: 36px;
        }

.root-skin .root-crest img{
            height: 100%;
            width: auto;
            object-fit: contain;
        }

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

.root-skin .root-wire{
            color: #9ca3af;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.15s ease;
        }

.root-skin .root-wire:hover, .root-skin .root-wire:focus, .root-skin .root-wire.active{
            color: #62c73a;
        }

.root-skin .root-dock{
            flex: 1;
            width: 100%;
        }

.root-skin .root-splash{
            max-width: 1320px;
            margin: 6rem auto 8rem;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
            align-items: center;
        }

@media (min-width: 1024px){.root-skin .root-splash{
                
                grid-template-columns: 1fr 1.85fr;
            }}

.root-skin .root-ignite-byte{
            order: 2;
        }

@media (min-width: 1024px){.root-skin .root-ignite-byte{
                order: 1;
            }}

.root-skin .root-head-mega{
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #fff 0%, #a3b8a9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.root-skin .root-byte-lead{
            font-size: 1.125rem;
            color: #9ca3af;
            line-height: 1.7;
            margin-bottom: 2.5rem;
        }

.root-skin .root-plug{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            background-color: #62c73a;
            color: #000;
            font-weight: 600;
            font-size: 1.05rem;
            text-decoration: none;
            border-radius: 999px;
            transition: all 0.15s ease;
            box-shadow: 0 8px 24px rgba(98, 199, 58, 0.3);
            border: 1px solid transparent;
        }

.root-skin .root-plug:hover, .root-skin .root-plug:focus{
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(98, 199, 58, 0.3);
            background-color: #6ed942;
        }

.root-skin .root-ignite-pixel{
            order: 1;
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 400px;
            background: linear-gradient(145deg, #121814, #0a0e0b);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: inset 0 0 80px rgba(98, 199, 58, 0.05),
                        0 20px 40px rgba(0,0,0,0.4);
        }

@media (min-width: 1024px){.root-skin .root-ignite-pixel{
                order: 2;
                min-height: 600px;
            }}

.root-skin .root-ignite-glyph{
            width: 80%;
            height: 80%;
            filter: drop-shadow(0 0 30px rgba(98, 199, 58, 0.3));
        }

.root-skin .root-vault{
            padding: 8rem 0;
            background: #121814;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

.root-skin .root-vault-inner{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 2rem;
            align-items: center;
            gap: 4rem;
        }

@media (min-width: 1024px){.root-skin .root-vault-inner{
                display: grid;
                grid-template-columns: 1fr 1fr;
            }}

.root-skin .root-head-shell{
            font-size: clamp(2rem, 3vw, 2.75rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

.root-skin .root-cluster-array{
            margin-top: 3rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

.root-skin .root-chunk-point{
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

.root-skin .root-glyph-check{
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            color: #62c73a;
            margin-top: 4px;
        }

.root-skin .root-pixel-showcase{
            width: 100%;
            border-radius: 18px;
            box-shadow: 0 24px 48px rgba(0,0,0,0.5);
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: transform 0.15s ease;
        }

.root-skin .root-pixel-showcase:hover{
            transform: scale(1.02);
        }

.root-skin{
            padding: 8rem 0;
            background: radial-gradient(circle at center, #1a231d 0%, #0a0e0b 100%);
        }

.root-skin .root-skin-inner{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 2rem;
        }

.root-skin .root-head-center{
            text-align: center;
            margin-bottom: 4rem;
        }

.root-skin .root-iso-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 5rem;
        }

.root-skin .root-iso-iso{
            background: rgba(26, 35, 29, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 18px;
            padding: 2.5rem;
            backdrop-filter: blur(12px);
            transition: all 0.15s ease;
        }

.root-skin .root-iso-iso:hover{
            background: rgba(26, 35, 29, 0.8);
            border-color: rgba(98, 199, 58, 0.3);
            transform: translateY(-5px);
        }

.root-skin .root-glyph-feature{
            width: 48px;
            height: 48px;
            color: #62c73a;
            margin-bottom: 1.5rem;
        }

.root-skin .root-head-iso{
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

.root-skin .root-byte-iso{
            color: #9ca3af;
            font-size: 0.95rem;
        }

.root-skin .root-cluster-stats{
            max-width: 1320px;
            margin: 0 auto;
            padding: 6rem 2rem;
            text-align: center;
        }

.root-skin .root-stat-mega{
            font-size: clamp(4rem, 8vw, 7rem);
            font-weight: 900;
            color: #62c73a;
            line-height: 1;
            margin-bottom: 1rem;
            text-shadow: 0 10px 30px rgba(98, 199, 58, 0.3);
        }

.root-skin .root-stat-byte{
            font-size: 1.25rem;
            color: #9ca3af;
            max-width: 600px;
            margin: 0 auto 3rem;
        }

.root-skin .root-vault-ecosystem{
            background: #121814;
            padding: 6rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

.root-skin .root-eco-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 2rem;
        }

.root-skin .root-disk-eco{
            padding: 2rem;
            border-radius: 18px;
            background: #0a0e0b;
            border: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

.root-skin .root-wire-eco{
            margin-top: auto;
            padding-top: 1.5rem;
            color: #62c73a;
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: gap 0.15s ease;
        }

.root-skin .root-disk-eco:hover .root-wire-eco{
            gap: 0.8rem;
        }

.root-skin .root-base{
            background: #050706;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding: 4rem 0 2rem;
        }

.root-skin .root-root{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 4rem;
        }

.root-skin .root-head-base{
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1.5rem;
        }

.root-skin .root-sector-links{
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

.root-skin .root-socket{
            color: #9ca3af;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.15s ease;
        }

.root-skin .root-socket:hover{
            color: #62c73a;
        }

.root-skin .root-base-bottom{
            max-width: 1320px;
            margin: 0 auto;
            padding: 2rem 2rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            text-align: center;
            color: #6b7280;
            font-size: 0.85rem;
        }

@media (max-width: 768px){.root-skin .root-array{
                display: none; 
            }}