/* =========================================
   Design System Variables (Dark Immersive)
   ========================================= */
:root {
    --color-primary: #e524a1;
    --color-primary-glow: rgba(229, 36, 161, 0.4);
    --color-bg-base: #09090b;
    --color-bg-surface: #121214;
    --color-bg-elevated: #1a1a1e;
    --color-border: #27272a;
    --color-text-peak: #ffffff;
    --color-text-echo: #a1a1aa;
    
    --radius-base: 16px;
    --radius-inner: 12px;
    --radius-pill: 99px;
    
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-base: 0.15s ease;
}

/* =========================================
   Global Resets & Base
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--color-bg-base);
    color: var(--color-text-echo);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

/* =========================================
   Typography & Text Formatting
   ========================================= */
.echo {
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.8;
}

.echo-zh {
    word-break: keep-all;
}

.peak-massive {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-peak);
    letter-spacing: -0.03em;
    white-space: normal;
    margin-bottom: 1.5rem;
}

.peak-major {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-peak);
    letter-spacing: -0.02em;
    white-space: normal;
    margin-bottom: 1rem;
}

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

.echo-lead {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-echo);
    max-width: 600px;
}

/* =========================================
   Header & Navigation (Strictly Followed)
   ========================================= */
.crown-matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    height: 72px;
    flex-wrap: wrap;
}

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

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

.helm-array {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    min-width: 0;
}

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

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

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

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

/* =========================================
   Layout Containers (Grid/Flex mandatory rules)
   ========================================= */
.hull {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4vw;
    width: 100%;
}

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

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

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

/* =========================================
   Section: Hero / Intro (<article>)
   ========================================= */
.prism-hull {
    padding: calc(var(--space-xl) + 72px) 4vw var(--space-lg);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(229, 36, 161, 0.08) 0%, transparent 50%);
}

.flare-cloak {
    max-width: 800px;
}

.glyph-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(229, 36, 161, 0.1);
    border: 1px solid rgba(229, 36, 161, 0.2);
    border-radius: var(--radius-pill);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* =========================================
   Section: Showcase / Proof (<aside>)
   ========================================= */
.portal-matrix {
    padding: var(--space-lg) 4vw;
    background: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.portal-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.portal-split > * {
    min-width: 0;
    flex: 1 1 400px;
}

.lens-tunnel {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.lens-tunnel img {
    border-radius: var(--radius-inner);
    width: 100%;
}

.node-array {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.node-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.glyph-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.glyph-wrap svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

/* =========================================
   Section: Feature / Acquire (<div>)
   ========================================= */
.flux-band {
    padding: var(--space-xl) 4vw;
    position: relative;
}

.shard-node {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.shard-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(229, 36, 161, 0.2);
}

/* =========================================
   Section: Guide / Steps (<article>)
   ========================================= */
.root-matrix {
    padding: var(--space-lg) 4vw var(--space-xl);
    background: linear-gradient(to bottom, transparent, var(--color-bg-surface));
}

.shard-step {
    border-left: 2px solid var(--color-border);
    padding-left: 2rem;
    position: relative;
    padding-bottom: 3rem;
}

.shard-step:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.shard-step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg-base);
    border: 2px solid var(--color-primary);
}

/* =========================================
   Footer (Inherited Shell Structure)
   ========================================= */
.sole-anchor {
    border-top: 1px solid var(--color-border);
    padding: 4rem 4vw 2rem;
    background: var(--color-bg-surface);
}

.sole-cluster {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

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

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

.sole-echo {
    font-size: 0.875rem;
    color: var(--color-text-echo);
    text-align: center;
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 768px) {
    .crown-matrix {
        padding: 0 1rem;
    }
    
    .helm-array {
        display: none; /* Mobile menu hidden for simplicity in this artifact, relying on structure requirements */
    }
    
    .prism-hull {
        padding-top: calc(var(--space-lg) + 72px);
    }
    
    .portal-split {
        flex-direction: column;
    }
    
    .portal-split > * {
        flex: 1 1 100%;
    }
}

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

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

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

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

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

.nexus-crown-matrix a.nexus-wire-dot {
    --aisite-shell-nav-padding: 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;
}

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

.nexus-crown-matrix{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(9, 9, 11, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 1rem 6vw;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

.nexus-crown-matrix .nexus-crest-tunnel{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.nexus-crown-matrix .nexus-crest-tunnel img{
            height: 28px;
            width: auto;
            object-fit: contain;
        }

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

.nexus-crown-matrix .nexus-wire-dot{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a1a1aa;
            transition: color 0.15s ease;
            position: relative;
        }

.nexus-crown-matrix .nexus-wire-dot:hover{
            color: #ffffff;
        }

.nexus-crown-matrix .nexus-wire-dot.active{
            color: #e524a1;
        }

@media (max-width: 768px){.nexus-crown-matrix .nexus-helm-array{
                display: none; 
            }

.nexus-crown-matrix{
                justify-content: center;
            }}

.nexus-crown-matrix {
    background: rgb(9, 9, 11);
    background-image: none;
}

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

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

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

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

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

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

.anchor-sole-anchor .anchor-matrix-fluid{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 6vw;
        }

.anchor-sole-anchor .anchor-wire-dot{
            font-size: 0.95rem;
            font-weight: 500;
            color: #a1a1aa;
            transition: color 0.15s ease;
            position: relative;
        }

.anchor-sole-anchor .anchor-wire-dot:hover{
            color: #ffffff;
        }

.anchor-sole-anchor .anchor-wire-dot.active{
            color: #e524a1;
        }

.anchor-sole-anchor{
            border-top: 1px solid #27272a;
            background: #09090b;
            padding: 4rem 0 2rem;
        }

.anchor-sole-anchor .anchor-sole-split{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 3rem;
            margin-bottom: 4rem;
        }

.anchor-sole-anchor .anchor-sole-brand{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.02em;
        }

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

.anchor-sole-anchor .anchor-sole-bottom{
            text-align: center;
            font-size: 0.875rem;
            color: #52525b;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

@media (max-width: 768px){.anchor-sole-anchor .anchor-sole-split{
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

.anchor-sole-anchor .anchor-sole-links{
                justify-content: center;
            }}