:root {
    --color-bg-deep: #050508;
    --color-bg-shell: #0d0e15;
    --color-bg-raised: #151722;
    --color-primary: #3f36bf;
    --color-primary-glow: rgba(63, 54, 191, 0.4);
    --color-primary-light: #5c52e6;
    --color-echo-bright: #ffffff;
    --color-echo-muted: #9aa0b8;
    --color-echo-dim: #5c627a;
    --color-border: rgba(255, 255, 255, 0.08);
    --radius-shard: 20px;
    --radius-latch: 12px;
    --shadow-depth: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--color-border) inset;
    --shadow-glow: 0 0 40px var(--color-primary-glow);
    --transition-speed: 0.15s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-echo-muted);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Typography Rules */
.echo-wrap {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Flexbox Safety Rules */
.flex-cluster {
    display: flex;
    flex-wrap: wrap;
}
.flex-ping {
    min-width: 0;
}

/* --- Navigation Shell (Inherited) --- */
.prow-zone {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.helm-mesh {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    min-width: 0;
}

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

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

.radar-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.radar-wire {
    padding: 8px 16px;
    color: var(--color-echo-muted);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    min-width: 0;
}

.radar-wire:hover {
    color: var(--color-echo-bright);
    background: rgba(255, 255, 255, 0.05);
}

.radar-wire.active {
    color: var(--color-echo-bright);
    background: rgba(63, 54, 191, 0.15);
}

/* --- Main Layout --- */
.tunnel-core {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.zone-bound {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- Hero Section (vertical_stack variant) --- */
.portal-zone {
    padding: 140px 0 100px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portal-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(63, 54, 191, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.portal-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    z-index: -1;
}

.apex-giant {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-echo-bright);
    margin: 0 0 24px;
    letter-spacing: -0.04em;
    max-width: 900px;
    background: linear-gradient(135deg, #ffffff 0%, #a5aaff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.echo-lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-echo-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.latch-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-echo-bright);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-latch);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px var(--color-primary-glow);
    cursor: pointer;
}

.latch-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--color-primary-glow);
}

.glyph-arrow {
    margin-left: 12px;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- Problem Solution: Low Ping Matrix --- */
.vault-zone {
    padding: 80px 0;
    position: relative;
}

.apex-major {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-echo-bright);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.echo-sub {
    font-size: 1.125rem;
    color: var(--color-echo-muted);
    max-width: 600px;
    margin-bottom: 56px;
}

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

.node-shard {
    background: var(--color-bg-shell);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-shard);
    padding: 40px;
    box-shadow: var(--shadow-depth);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.node-shard:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 54, 191, 0.5);
}

.glyph-husk {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(63, 54, 191, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(63, 54, 191, 0.2);
}

.glyph-husk svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary-light);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.apex-minor {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-echo-bright);
    margin-bottom: 16px;
}

.echo-detail {
    color: var(--color-echo-dim);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* --- Security: Shield Aside --- */
.cloak-zone {
    padding: 100px 0;
}

.husk-armor {
    background: linear-gradient(145deg, var(--color-bg-raised) 0%, var(--color-bg-shell) 100%);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 64px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 64px;
    box-shadow: var(--shadow-depth);
    position: relative;
    overflow: hidden;
}

.husk-armor::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(63, 54, 191, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.armor-echo {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 2;
}

.armor-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.visual-core {
    width: 280px;
    height: 280px;
    position: relative;
}

.visual-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(63, 54, 191, 0.3);
    animation: rotate-slow 20s linear infinite;
}

.visual-ring:nth-child(2) {
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 1px solid rgba(63, 54, 191, 0.5);
    animation: rotate-slow-reverse 15s linear infinite;
}

.visual-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--color-bg-deep);
    border-radius: 24px;
    border: 1px solid var(--color-primary);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-shield svg {
    width: 56px;
    height: 56px;
    stroke: var(--color-primary-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-slow-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* --- Footer Shell (Inherited) --- */
.wake-zone {
    border-top: 1px solid var(--color-border);
    padding: 64px 24px;
    background: var(--color-bg-deep);
    margin-top: auto;
}

.wake-bound {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.wake-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-echo-bright);
    letter-spacing: -0.02em;
}

.anchor-mesh {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.anchor-wire {
    color: var(--color-echo-dim);
    font-size: 0.9rem;
}

.anchor-wire:hover {
    color: var(--color-echo-bright);
}

.wake-echo {
    color: var(--color-echo-dim);
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .husk-armor {
        padding: 40px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .radar-cluster {
        display: none; /* In a real app, this would be a hamburger menu, keeping it simple for pure HTML reqs or stacked */
        width: 100%;
        flex-direction: column;
        margin-top: 16px;
    }
    
    .helm-mesh {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .radar-cluster {
        display: flex; /* Override hide for this specific layout req to ensure links are visible */
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .portal-zone {
        padding: 100px 0 60px;
    }
    
    .husk-armor {
        flex-direction: column;
        text-align: center;
    }
    
    .wake-bound {
        flex-direction: column;
        text-align: center;
    }
    
    .anchor-mesh {
        justify-content: center;
    }
}

.helm-prow-zone{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(5, 5, 8, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding: 16px 0;
        }

.helm-prow-zone .helm-helm-mesh{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 32px;
            gap: 32px;
        }

.helm-prow-zone .helm-crest-husk{
            display: flex;
            align-items: center;
            min-width: 120px;
        }

.helm-prow-zone .helm-crest-husk img{
            height: 32px;
            width: auto;
            object-fit: contain;
        }

.helm-prow-zone .helm-radar-cluster{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            align-items: center;
        }

.helm-prow-zone .helm-radar-wire{
            color: #9aa0b8;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.15s ease;
            padding: 8px 0;
            position: relative;
        }

.helm-prow-zone .helm-radar-wire:hover, .helm-prow-zone .helm-radar-wire.active{
            color: #ffffff;
        }

.helm-prow-zone .helm-radar-wire.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #5c52e6;
            border-radius: 2px;
        }

@media (max-width: 768px){.helm-prow-zone .helm-helm-mesh{
                flex-direction: column;
                gap: 16px;
            }

.helm-prow-zone .helm-radar-cluster{
                justify-content: center;
                gap: 16px;
            }}

.helm-prow-zone {
    background: rgb(5, 5, 8);
    background-image: none;
}

.anchor-wake-zone,
.anchor-wake-zone *,
.anchor-wake-zone *::before,
.anchor-wake-zone *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.anchor-wake-zone .anchor-echo-core{
            font-size: 1rem;
            color: #9aa0b8;
            margin: 0 0 16px;
            line-height: 1.7;
        }

.anchor-wake-zone .anchor-tunnel-core{
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 32px;
        }

.anchor-wake-zone{
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            background: #050508;
            padding: 64px 0 32px;
        }

.anchor-wake-zone .anchor-anchor-crypt{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            gap: 32px;
        }

.anchor-wake-zone .anchor-crypt-col{
            flex: 1 1 200px;
            min-width: 0;
        }

.anchor-wake-zone .anchor-crypt-brand{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 16px;
            letter-spacing: -0.02em;
        }

.anchor-wake-zone .anchor-crypt-apex{
            font-size: 1rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 16px;
        }

.anchor-wake-zone .anchor-crypt-wire{
            display: block;
            color: #5c627a;
            text-decoration: none;
            margin-bottom: 8px;
            transition: all 0.15s ease;
            font-size: 0.9rem;
        }

.anchor-wake-zone .anchor-crypt-wire:hover{
            color: #5c52e6;
        }

.anchor-wake-zone .anchor-crypt-bottom{
            margin-top: 64px;
            padding-top: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            text-align: center;
            color: #5c627a;
            font-size: 0.85rem;
        }

@media (max-width: 768px){.anchor-wake-zone .anchor-anchor-crypt{
                flex-direction: column;
            }}