/* ==========================================================================
           v2rayN Design System - Core Variables (Inherited from Main Family)
           ========================================================================== */
        :root {
            --bg-deep: #050507;
            --bg-surface: #0e0e12;
            --bg-elevated: #16161c;
            --accent: #e42b91;
            --accent-glow: rgba(228, 43, 145, 0.3);
            --accent-dim: rgba(228, 43, 145, 0.1);
            --text-main: #f0f0f5;
            --text-muted: #a0a0b0;
            --border: #23232d;
            --border-light: rgba(255, 255, 255, 0.08);
            
            --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            
            --transition-speed: 0.15s;
            --transition-easing: ease;
            
            --layout-max-width: 1280px;
            --spacing-base: 1rem;
        }

        /* ==========================================================================
           Reset & Base
           ========================================================================== */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

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

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

        /* Mandatory text wrap rule */
        .rune, .apex {
            word-break: break-word;
            overflow-wrap: break-word;
        }
        
        .rune {
            word-break: keep-all; /* Better for Chinese paragraphs */
        }
        
        .apex {
            white-space: normal;
        }

        /* ==========================================================================
           Navigation Shell (Strictly matching homepage)
           ========================================================================== */
        .crown {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(5, 5, 7, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
        }

        .tunnel {
            max-width: var(--layout-max-width);
            margin: 0 auto;
            padding: 0 5%;
            display: flex;
            flex-wrap: wrap; /* Mandatory flex rule */
            justify-content: space-between;
            align-items: center;
            height: 72px;
        }
        
        .tunnel > * {
            min-width: 0; /* Mandatory flex rule */
        }

        .sigil {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            min-width: 0;
        }

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

        .orbit {
            display: flex;
            flex-wrap: wrap; /* Mandatory flex rule */
            gap: 2rem;
            align-items: center;
        }
        
        .orbit > * {
            min-width: 0; /* Mandatory flex rule */
        }

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

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

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

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

        @media (max-width: 768px) {
            .orbit {
                display: none; /* Simplified for mobile, assuming JS handles toggle if needed, but keeping CSS clean */
            }
        }

        /* ==========================================================================
           Main Layout & Containers
           ========================================================================== */
        .core {
            padding-top: 72px; /* Offset for fixed header */
            min-height: 100vh;
        }

        .vault {
            max-width: var(--layout-max-width);
            margin: 0 auto;
            padding: 0 5%;
        }

        /* ==========================================================================
           Hero Area (Asymmetric Grid Design)
           ========================================================================== */
        .nexus {
            padding: 8rem 0 6rem;
            background: radial-gradient(circle at 80% 20%, var(--accent-dim) 0%, transparent 60%);
            position: relative;
        }

        .nexus::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
        }

        .nexus-mesh {
            display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
            align-items: center;
        }

        @media (min-width: 1024px) {
            .nexus-mesh {
                grid-template-columns: 1.3fr 0.9fr;
                gap: 5rem;
            }
        }

        .nexus-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .apex-nexus {
            font-size: clamp(2.5rem, 4vw, 3.8rem);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.03em;
            color: var(--text-main);
        }
        
        .apex-nexus span {
            background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .apex-nexus .highlight {
            background: linear-gradient(135deg, var(--accent) 0%, #ff6b9d 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        .rune-nexus {
            font-size: 1.125rem;
            color: var(--text-muted);
            line-height: 1.8;
            max-width: 600px;
        }

        .pulse-mesh {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .pulse-mesh > * {
            min-width: 0;
        }

        .pulse-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 1.8rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            background: var(--accent);
            color: #fff;
            box-shadow: 0 4px 14px var(--accent-glow);
            border: 1px solid transparent;
            cursor: pointer;
        }

        .pulse-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px var(--accent-glow);
        }

        .pulse-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 1.8rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            background: var(--bg-elevated);
            color: var(--text-main);
            border: 1px solid var(--border);
            cursor: pointer;
        }

        .pulse-secondary:hover {
            background: var(--bg-surface);
            border-color: var(--text-muted);
        }

        /* Asymmetric Visual Modules */
        .nexus-visual {
            display: grid;
            grid-template-rows: auto auto;
            gap: 2rem;
            position: relative;
        }

        .shard-visual {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: 0 24px 64px rgba(0,0,0,0.4), inset 0 1px 0 var(--border-light);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        /* Offset the top module slightly to enhance asymmetry */
        .shard-visual:first-child {
            transform: translateX(-20px);
            z-index: 2;
        }
        
        @media (max-width: 1023px) {
            .shard-visual:first-child {
                transform: translateX(0);
            }
        }

        .visual-crown {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            min-width: 0;
        }

        .visual-glyph {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background: var(--bg-elevated);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            color: var(--accent);
        }

        .visual-apex {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-main);
        }

        .visual-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: #4ade80; /* Green for connected */
        }
        
        .visual-status::before {
            content: '';
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #4ade80;
            box-shadow: 0 0 10px #4ade80;
        }

        .metric-band {
            height: 4px;
            background: var(--bg-elevated);
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }

        .metric-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: var(--accent);
            width: 75%;
            border-radius: 2px;
        }

        /* ==========================================================================
           Steps / Methods Area
           ========================================================================== */
        .flare {
            padding: 6rem 0;
            background: var(--bg-deep);
            border-top: 1px solid var(--border);
        }

        .apex-tunnel {
            font-size: 2.2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 1rem;
        }

        .rune-tunnel {
            text-align: center;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto 4rem;
        }

        .shard-mesh {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .shard {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 2.5rem 2rem;
            transition: all var(--transition-speed) var(--transition-easing);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            position: relative;
        }

        .shard:hover {
            transform: translateY(-5px);
            border-color: var(--accent-dim);
            box-shadow: 0 12px 32px rgba(0,0,0,0.5);
        }

        .shard-glyph {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
        }

        .shard-apex {
            font-size: 1.25rem;
            font-weight: 600;
        }

        .shard-rune {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* ==========================================================================
           Capability / Feature Area (Article)
           ========================================================================== */
        .burst {
            padding: 6rem 0;
            background: var(--bg-surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .shell {
            background: var(--bg-deep);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 4rem;
            box-shadow: inset 0 1px 0 var(--border-light);
            display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
            align-items: center;
        }

        @media (min-width: 992px) {
            .shell {
                grid-template-columns: 1fr 1fr;
            }
        }

        .shell-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .shell-apex {
            font-size: 2rem;
            font-weight: 700;
        }

        .shell-rune {
            color: var(--text-muted);
            font-size: 1.1rem;
        }

        /* Sync Animation Visual */
        .sync-visual {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .sync-bead {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            background: var(--bg-elevated);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            min-width: 0;
        }
        
        .sync-bead > * {
            min-width: 0;
        }

        .bead-left {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            min-width: 0;
        }

        .bead-glyph {
            color: var(--text-muted);
        }

        .bead-rune {
            font-size: 0.9rem;
            font-weight: 500;
        }

        .bead-status {
            font-size: 0.75rem;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            background: rgba(228, 43, 145, 0.1);
            color: var(--accent);
            border: 1px solid rgba(228, 43, 145, 0.2);
        }

        /* ==========================================================================
           Testing & Sorting (Div structural block)
           ========================================================================== */
        .tunnel-block {
            padding: 6rem 0;
            background: var(--bg-deep);
        }

        .packet-mesh {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-top: 3rem;
        }

        @media (min-width: 768px) {
            .packet-mesh {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .packet {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            position: relative;
            overflow: hidden;
            transition: background var(--transition-speed);
        }

        .packet:hover {
            background: var(--bg-elevated);
        }

        .packet::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: var(--accent);
            opacity: 0;
            transition: opacity var(--transition-speed);
        }

        .packet:hover::before {
            opacity: 1;
        }

        .packet-glyph {
            color: var(--text-main);
            margin-bottom: 0.5rem;
        }

        .packet-apex {
            font-size: 1.1rem;
            font-weight: 600;
        }

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

        /* ==========================================================================
           Footer
           ========================================================================== */
        .sole {
            border-top: 1px solid var(--border);
            background: var(--bg-surface);
            padding: 4rem 0 2rem;
        }

        .crypt {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border);
            margin-bottom: 2rem;
        }
        
        .crypt > * {
            min-width: 0;
        }

        .root-brand {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .root-links {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
        }

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

        .root-links a:hover {
            color: var(--text-main);
        }

        .sole-rune {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

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

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

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

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

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

.orbit-crown a.orbit-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;
}

.orbit-crown a.orbit-wire,
.orbit-crown a.orbit-wire:hover,
.orbit-crown a.orbit-wire:focus,
.orbit-crown a.orbit-wire:active,
.orbit-crown a.orbit-wire.active,
.orbit-crown a.orbit-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);
}

.orbit-crown .orbit-tunnel{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.orbit-crown{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(5, 5, 7, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #23232d;
            padding: 1rem 0;
        }

.orbit-crown .orbit-tunnel{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.orbit-crown .orbit-sigil{
            display: flex;
            align-items: center;
        }

.orbit-crown .orbit-sigil img{
            height: 32px;
            width: auto;
        }

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

.orbit-crown .orbit-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a0a0b0;
            position: relative;
            padding: 0.5rem 0;
        }

.orbit-crown .orbit-wire:hover, .orbit-crown .orbit-wire.active{
            color: #f0f0f5;
        }

.orbit-crown .orbit-wire::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #e42b91;
            transform: scaleX(0);
            transition: all 0.15s ease;
            transform-origin: right;
        }

.orbit-crown .orbit-wire:hover::after, .orbit-crown .orbit-wire.active::after{
            transform: scaleX(1);
            transform-origin: left;
            box-shadow: 0 0 10px rgba(228, 43, 145, 0.3);
        }

@media (max-width: 768px){.orbit-crown .orbit-orbit{
                gap: 1rem;
            }}

.orbit-crown {
    background: rgb(5, 5, 7);
    background-image: none;
}

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

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

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

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

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

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

.crypt-sole .crypt-rune{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.crypt-sole .crypt-tunnel{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.crypt-sole .crypt-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a0a0b0;
            position: relative;
            padding: 0.5rem 0;
        }

.crypt-sole .crypt-wire:hover, .crypt-sole .crypt-wire.active{
            color: #f0f0f5;
        }

.crypt-sole .crypt-wire::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #e42b91;
            transform: scaleX(0);
            transition: all 0.15s ease;
            transform-origin: right;
        }

.crypt-sole .crypt-wire:hover::after, .crypt-sole .crypt-wire.active::after{
            transform: scaleX(1);
            transform-origin: left;
            box-shadow: 0 0 10px rgba(228, 43, 145, 0.3);
        }

.crypt-sole{
            background: #050507;
            border-top: 1px solid #23232d;
            padding: 4rem 0 2rem;
        }

.crypt-sole .crypt-sole-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 4rem;
        }

.crypt-sole .crypt-root{
            font-size: 1.5rem;
            font-weight: 700;
            color: #f0f0f5;
            margin-bottom: 1rem;
            display: inline-block;
        }

.crypt-sole .crypt-crypt{
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

.crypt-sole .crypt-crypt .crypt-wire{
            color: #a0a0b0;
            padding: 0;
            display: inline-block;
            width: fit-content;
        }

.crypt-sole .crypt-crypt .crypt-wire::after{
            display: none;
        }

.crypt-sole .crypt-crypt .crypt-wire:hover{
            color: #e42b91;
        }

.crypt-sole .crypt-copyright{
            text-align: center;
            color: #a0a0b0;
            font-size: 0.875rem;
            border-top: 1px solid #23232d;
            padding-top: 2rem;
        }