/* 
 * PROJECT CHIMERA // SYSTEM_CORE_STYLES
 * Concept: Neo-Noir Glitchwave
 * Palettes: HSL Sleek Dark & Radiant Cyber Neons
 */

:root {
    --bg-base: #030308;
    --bg-darker: #010103;
    --bg-panel: rgba(5, 7, 18, 0.7);
    --bg-panel-solid: #060917;
    
    /* Neon accent colors with specific glow channels */
    --cyan-neon: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --cyan-dark: #008fa7;
    
    --pink-neon: #ff007f;
    --pink-glow: rgba(255, 0, 127, 0.4);
    
    --green-neon: #39ff14;
    --green-glow: rgba(57, 255, 20, 0.3);
    
    --yellow-neon: #ffea00;
    --yellow-glow: rgba(255, 234, 0, 0.3);
    
    /* Utility colors */
    --text-primary: #f0f2fa;
    --text-secondary: #8c96ac;
    --text-dimmed: #515c75;
    
    --glass-border: rgba(0, 240, 255, 0.15);
    --glass-border-pink: rgba(255, 0, 127, 0.15);
    --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Orbitron', 'Oxanium', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
    border-left: 1px solid var(--glass-border);
}
::-webkit-scrollbar-thumb {
    background: var(--cyan-dark);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--cyan-neon);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-neon);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

body.loading-state {
    overflow: hidden;
}

/* --- Canvas Particle Layer --- */
#cyber-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* --- Scanlines and Grid Overlay --- */
.cyber-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    pointer-events: none;
    opacity: 0.8;
}

.scanlines {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}

/* High tech running scan line */
.cyber-laser-scanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyan-neon), transparent);
    box-shadow: 0 0 15px var(--cyan-neon);
    z-index: 3;
    pointer-events: none;
    opacity: 0.5;
    animation: laserScan 8s linear infinite;
}

@keyframes laserScan {
    0% { top: -5%; }
    100% { top: 105%; }
}

/* --- Sound Control Fixed Badge --- */
.sound-control-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

/* --- Boot / Loader Screen --- */
.boot-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.boot-screen.shutdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-grid-bg {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 0, 127, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 127, 0.02) 1px, transparent 1px);
    opacity: 0.5;
}

.boot-container {
    width: 100%;
    max-width: 680px;
    background: rgba(4, 5, 14, 0.9);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.boot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.25);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.scanner-text {
    color: var(--cyan-neon);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-shadow: 0 0 8px var(--cyan-glow);
}

.boot-ver {
    background: rgba(255, 0, 127, 0.15);
    border: 1px solid var(--pink-neon);
    color: var(--pink-neon);
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 2px;
}

.boot-log {
    height: 250px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    padding-right: 10px;
}

.boot-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.boot-time {
    color: var(--text-dimmed);
}

.boot-status-success {
    color: var(--green-neon);
}

.boot-status-fail {
    color: var(--pink-neon);
    font-weight: bold;
}

.boot-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.boot-progress-bar {
    flex: 1;
    height: 10px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--glass-border);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.boot-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan-neon), var(--pink-neon));
    box-shadow: 0 0 10px var(--cyan-neon);
    transition: width 0.1s linear;
}

.boot-percentage {
    font-family: var(--font-mono);
    color: var(--cyan-neon);
    font-size: 1.1rem;
    font-weight: bold;
    width: 45px;
    text-align: right;
}

/* --- High-Tech Buttons --- */
.cyber-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0px;
    clip-path: polygon(0 0, 93% 0, 100% 30%, 100% 100%, 7% 100%, 0 70%);
}

.cyber-btn-mini {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-primary);
    background: rgba(3, 3, 8, 0.85);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    overflow: hidden;
    z-index: 10;
    transition: all 0.3s ease;
}

.cyber-btn-mini:hover {
    border-color: var(--cyan-neon);
    box-shadow: 0 0 15px var(--cyan-glow);
    color: var(--cyan-neon);
}

.btn-scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 48%, var(--cyan-neon) 50%, transparent 52%);
    background-size: 100% 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cyber-btn:hover .btn-scan,
.cyber-btn-mini:hover .btn-scan {
    opacity: 0.3;
    animation: btnScanner 1.5s linear infinite;
}

@keyframes btnScanner {
    0% { background-position: 0 0; }
    100% { background-position: 0 40px; }
}

/* Glowing Neon Variants */
.glow-cyan {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid var(--cyan-neon);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.glow-cyan:hover {
    background: var(--cyan-neon);
    color: var(--bg-base);
    box-shadow: 0 0 25px var(--cyan-neon);
}

.glow-pink {
    background: rgba(255, 0, 127, 0.08);
    border: 1px solid var(--pink-neon);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.15);
}

.glow-pink:hover {
    background: var(--pink-neon);
    color: #fff;
    box-shadow: 0 0 25px var(--pink-neon), 0 0 50px rgba(255, 0, 127, 0.3);
}

.outline-cyan {
    border: 1px solid var(--glass-border);
    background: rgba(5, 7, 18, 0.5);
    color: var(--cyan-neon);
}

.outline-cyan:hover {
    border-color: var(--cyan-neon);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.full-width {
    width: 100%;
}

.large-btn {
    padding: 16px 36px;
    font-size: 1rem;
}

/* --- HUD Header Layout --- */
.hud-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(3, 3, 8, 0.95) 60%, transparent 100%);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}

.hud-left, .hud-right {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 30%;
}

.hud-right {
    justify-content: flex-end;
}

.hud-node-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.pulse-node {
    width: 8px;
    height: 8px;
    background: var(--green-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green-neon);
    animation: nodePulse 2s infinite ease-in-out;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.4; }
}

.node-text {
    color: var(--green-neon);
}

.hud-divider {
    width: 1px;
    height: 25px;
    background: var(--glass-border);
}

.hud-telemetry {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    display: flex;
    gap: 8px;
}

.telemetry-label {
    color: var(--text-dimmed);
}

.text-magenta {
    color: var(--pink-neon) !important;
}

.text-green {
    color: var(--green-neon) !important;
}

.text-cyan {
    color: var(--cyan-neon) !important;
}

/* Center Logo */
.hud-center {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud-logo-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.hud-logo-sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    opacity: 0.8;
}

.hud-logo-main {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    background: linear-gradient(135deg, var(--cyan-neon), var(--pink-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    line-height: 1.1;
    margin-right: -0.25em; /* Offset letter-spacing */
}

/* Simple text glitch trigger for the main header */
.hud-logo-main::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-base);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    z-index: -1;
}

.hud-logo-main:hover::after {
    animation: textGlitch 0.4s steps(2) infinite;
    opacity: 0.8;
}

@keyframes textGlitch {
    0% { transform: translate(2px, 2px); -webkit-text-fill-color: var(--cyan-neon); }
    50% { transform: translate(-2px, -2px); -webkit-text-fill-color: var(--pink-neon); }
    100% { transform: translate(1px, -1px); }
}

.hud-time-container {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    display: flex;
    gap: 8px;
}

.hud-time-label {
    color: var(--text-dimmed);
}

.hud-clock-val {
    color: var(--cyan-neon);
    text-shadow: 0 0 5px var(--cyan-glow);
}

/* --- Side Floating HUD Panels --- */
.side-hud-panel {
    position: fixed;
    top: 120px;
    bottom: 40px;
    width: 220px;
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 85% 100%, 0 100%);
}

.left-panel {
    left: 40px;
}

.right-panel {
    right: 40px;
}

.side-panel-header {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan-neon);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

/* Side navigation linking */
.nav-links-hud {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-hud-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 8px 10px;
    border-left: 2px solid transparent;
}

.nav-hud-item:hover, .nav-hud-item.active {
    color: var(--cyan-neon);
    border-color: var(--cyan-neon);
    background: rgba(0, 240, 255, 0.05);
    padding-left: 15px;
}

.nav-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--pink-neon);
}

.nav-lbl {
    font-weight: 700;
}

/* Right Panel Telemetries */
.telemetry-stats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: auto;
}

.tel-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.tel-lbl {
    color: var(--text-dimmed);
}

.tel-val {
    font-weight: bold;
}

.side-panel-terminal-preview {
    border: 1px solid var(--glass-border-pink);
    background: rgba(255, 0, 127, 0.03);
    padding: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.tel-preview-title {
    color: var(--pink-neon);
    margin-bottom: 5px;
    font-weight: bold;
}

.tel-preview-msg {
    word-break: break-all;
}

/* --- Layout Wrapping --- */
.main-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 240px 60px 240px; /* Offset the left/right 220px fixed side HUDs */
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* --- Component Corners Decorators --- */
.corner-decor {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 5;
}

.top-left {
    top: -2px;
    left: -2px;
    border-top-color: var(--cyan-neon);
    border-left-color: var(--cyan-neon);
}

.top-right {
    top: -2px;
    right: -2px;
    border-top-color: var(--cyan-neon);
    border-right-color: var(--cyan-neon);
}

.bottom-left {
    bottom: -2px;
    left: -2px;
    border-bottom-color: var(--cyan-neon);
    border-left-color: var(--cyan-neon);
}

.bottom-right {
    bottom: -2px;
    right: -2px;
    border-bottom-color: var(--cyan-neon);
    border-right-color: var(--cyan-neon);
}

/* --- 2.1. Hero Section --- */
.hero-section {
    position: relative;
    min-height: calc(100vh - 180px);
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 0 100%);
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.warning-alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 234, 0, 0.06);
    border: 1px solid var(--yellow-neon);
    padding: 6px 12px;
    margin-bottom: 25px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--yellow-neon);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 234, 0, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
}

/* Hover glitch layer animations */
.hero-title .glitch-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--pink-neon);
    opacity: 0;
    pointer-events: none;
}

.hero-title:hover .glitch-layer {
    opacity: 0.95;
    animation: mainGlitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes mainGlitch {
    0% { transform: translate(-3px, -2px) skewX(2deg); color: var(--pink-neon); text-shadow: 2px 0 var(--cyan-neon); }
    50% { transform: translate(3px, 2px) skewX(-2deg); color: var(--cyan-neon); text-shadow: -2px 0 var(--pink-neon); }
    100% { transform: translate(1px, -1px) skewX(0); }
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 35px;
}

/* Secure Registration Counter */
.registration-counter-panel {
    margin-bottom: 40px;
    width: 100%;
    max-width: 480px;
}

.counter-glow-box {
    background: rgba(3, 3, 8, 0.8);
    border: 1px solid var(--glass-border-pink);
    border-radius: 4px;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
}

.counter-glow-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--pink-neon);
    box-shadow: 0 0 10px var(--pink-neon);
}

.counter-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.counter-display {
    display: flex;
    align-items: baseline;
}

.counter-digit-wrap {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.counter-unit {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--pink-neon);
    margin-left: 10px;
    font-weight: 700;
}

.hero-cta-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-hud-telemetry-bottom {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.hud-scroll-tip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dimmed);
    letter-spacing: 0.1em;
}

.scroll-arrow {
    color: var(--cyan-neon);
    animation: arrowBounce 2s infinite ease-in-out;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 50px;
    position: relative;
}

.sec-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--pink-neon);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 8px;
}

.sec-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.sec-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan-neon), transparent);
    margin-top: 12px;
}

.align-left .sec-underline {
    margin-right: auto;
}

.align-center {
    text-align: center;
}

.align-center .sec-underline {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, transparent, var(--cyan-neon), transparent);
}

/* --- 2.2. Prologue Section --- */
.prologue-section {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    padding: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 95% 100%, 0 100%);
}

.prologue-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.prologue-story {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.story-paragraph {
    position: relative;
    padding-left: 20px;
}

.line-decor {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--cyan-neon);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.story-txt {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: justify;
}

/* High-tech Radar Visual */
.prologue-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud-scanner-box {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud-scan-line {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(rgba(0, 240, 255, 0.15) 0deg, transparent 90deg);
    animation: radarRotation 4s linear infinite;
}

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

.hud-circle-outer {
    width: 170px;
    height: 170px;
    border: 2px dashed rgba(255, 0, 127, 0.3);
    border-radius: 50%;
    position: absolute;
}

.hud-circle-inner {
    width: 100px;
    height: 100px;
    border: 1px solid var(--cyan-neon);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 15px var(--cyan-glow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud-circle-inner::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--pink-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pink-neon);
}

.hud-radar-sweep {
    position: absolute;
    width: 198px;
    height: 1px;
    background: var(--cyan-neon);
    box-shadow: 0 0 8px var(--cyan-neon);
    animation: sweepBeam 2s ease-in-out infinite alternate;
}

@keyframes sweepBeam {
    0% { transform: translateY(-80px); }
    100% { transform: translateY(80px); }
}

.hud-coordinates {
    position: absolute;
    bottom: -60px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dimmed);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* --- 2.3. Solution Features --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    position: relative;
    background: var(--bg-panel-solid);
    border: 1px solid var(--glass-border);
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    clip-path: polygon(0 0, 85% 0, 100% 12%, 100% 100%, 0 100%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-glow-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-neon), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan-neon);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
}

.feature-card:hover .card-glow-edge {
    transform: scaleX(1);
}

.card-header-decor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dimmed);
}

.card-icon {
    font-size: 1.4rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.card-specs {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.spec-label {
    color: var(--text-dimmed);
    margin-right: 8px;
}

.spec-val {
    color: var(--text-primary);
}

/* --- 2.4. Interactive Cyber Terminal Section --- */
.terminal-section {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    padding: 60px;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
}

.terminal-grid-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: flex-start;
}

.pane-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.pane-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.terminal-helper-cmds {
    border-top: 1px dashed var(--glass-border);
    padding-top: 20px;
}

.helper-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 12px;
}

.cmds-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.cmds-list code {
    color: var(--pink-neon);
    background: rgba(255, 0, 127, 0.1);
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 8px;
}

.cmd-desc {
    color: var(--text-secondary);
}

/* Terminal Screen Layout */
.terminal-window {
    background: #020206;
    border: 1px solid var(--glass-border-pink);
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    height: 380px;
}

.terminal-bar {
    background: #080812;
    border-bottom: 1px solid rgba(255, 0, 127, 0.15);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.term-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.term-dot.close { background: #ff5f56; }
.term-dot.minimize { background: #ffbd2e; }
.term-dot.maximize { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.terminal-connection-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--pink-neon);
}

.conn-dot {
    width: 6px;
    height: 6px;
    background: var(--pink-neon);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--pink-neon);
}

.terminal-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.5;
    color: #4af626; /* Classic terminal green */
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.term-line {
    word-break: break-all;
}

.term-line.system-msg {
    color: var(--text-secondary);
}

.term-line.type-help {
    color: var(--cyan-neon);
}

.term-line.user-cmd {
    color: #fff;
    margin-top: 5px;
}

.term-line.error {
    color: var(--pink-neon);
}

.term-line.success-msg {
    color: var(--green-neon);
}

.terminal-input-row {
    display: flex;
    align-items: center;
    background: #04040a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
}

.term-prompt {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--pink-neon);
    margin-right: 10px;
    user-select: none;
}

.term-input-field {
    flex: 1;
    background: transparent;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #fff;
    caret-color: var(--cyan-neon);
}

/* --- 2.5. Chrono Roadmap --- */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-thread {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyan-neon), var(--pink-neon), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 50%;
    margin-bottom: 40px;
}

.timeline-item.right-item {
    align-self: flex-end;
    margin-left: 50%;
    justify-content: flex-start;
}

/* Interactive Glowing Marker Node */
.timeline-marker {
    position: absolute;
    top: 25px;
    right: -10px;
    z-index: 5;
}

.timeline-item.right-item .timeline-marker {
    left: -10px;
    right: auto;
}

.marker-dot {
    width: 18px;
    height: 18px;
    background: var(--bg-base);
    border: 2px solid var(--cyan-neon);
    border-radius: 50%;
}

.marker-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--cyan-glow);
    filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .marker-glow {
    opacity: 1;
}

.timeline-item.right-item .marker-dot {
    border-color: var(--pink-neon);
}

.timeline-item.right-item:hover .marker-glow {
    background: var(--pink-glow);
}

.timeline-content {
    width: 90%;
    padding: 25px;
    background: var(--bg-panel-solid);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item.left-item .timeline-content {
    margin-right: 25px;
}

.timeline-item.right-item .timeline-content {
    margin-left: 25px;
}

.timeline-item:hover .timeline-content {
    border-color: var(--cyan-neon);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.timeline-item.right-item:hover .timeline-content {
    border-color: var(--pink-neon);
    box-shadow: 0 0 20px var(--pink-glow);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.timeline-status-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 2px;
    margin-top: 15px;
    border: 1px solid transparent;
}

.timeline-status-tag.completed {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--green-neon);
    color: var(--green-neon);
}

.timeline-status-tag.pending {
    background: rgba(255, 0, 127, 0.1);
    border-color: var(--pink-neon);
    color: var(--pink-neon);
}

.timeline-status-tag.secure {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan-neon);
    color: var(--cyan-neon);
}

/* --- 2.6. CTA Connection Section --- */
.cta-section {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    padding: 80px 60px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    text-align: center;
}

.cta-glow-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 127, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--pink-neon);
    border: 1px solid rgba(255, 0, 127, 0.3);
    padding: 4px 10px;
    background: rgba(255, 0, 127, 0.05);
    margin-bottom: 20px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.cta-lead {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Futuristic Connection Form */
.cyber-form-panel {
    background: rgba(2, 2, 6, 0.9);
    border: 1px solid var(--glass-border-pink);
    border-radius: 4px;
    padding: 30px;
    position: relative;
    text-align: left;
}

.form-grid-decor {
    position: absolute;
    inset: 0;
    background-size: 20px 20px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    pointer-events: none;
}

.form-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dimmed);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-prompt {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan-neon);
}

.cyber-input {
    background: rgba(5, 7, 18, 0.8);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1rem;
    padding: 12px 18px;
    border-radius: 0px;
    transition: all 0.3s ease;
}

.cyber-input:focus {
    border-color: var(--pink-neon);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.input-focus-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--pink-neon);
    transition: width 0.3s ease;
}

.cyber-input:focus + .input-focus-glow {
    width: 100%;
}

.form-options {
    display: flex;
    align-items: center;
}

.cyber-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.cyber-checkbox {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 1px solid var(--glass-border);
    background: transparent;
    display: inline-block;
    position: relative;
    top: 3px;
    transition: all 0.3s ease;
}

.cyber-checkbox:checked + .checkbox-custom {
    border-color: var(--pink-neon);
    background: var(--pink-neon);
    box-shadow: 0 0 8px var(--pink-neon);
}

.cyber-checkbox:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Post-submit terminal logger */
.form-terminal-output {
    margin-top: 25px;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--green-neon);
    height: 150px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* --- 2.7. Cyber Footer --- */
.cyber-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(3, 3, 8, 0.95);
    padding: 40px 60px;
    margin-top: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo-pane {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-tag {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.1em;
}

.footer-telemetry-short {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dimmed);
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--cyan-neon);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-dimmed);
}

.footer-privacy-terms {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-term-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dimmed);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-term-link:hover {
    color: var(--pink-neon);
}

.footer-term-divider {
    color: rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
}

/* --- Responsive Adaptations --- */

@media (max-width: 1200px) {
    .side-hud-panel {
        display: none; /* Hide sidebars to prevent overlap on narrow screen limits */
    }
    
    .main-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 992px) {
    .prologue-container {
        grid-template-columns: 1fr;
    }
    
    .prologue-visual {
        margin-top: 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .terminal-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .terminal-desc-pane {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .hud-header {
        padding: 0 20px;
    }
    
    .hud-left, .hud-right {
        display: none; /* Simplify header elements on tablet/mobile screens */
    }
    
    .hud-center {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .timeline-thread {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 40px;
    }
    
    .timeline-item.right-item {
        margin-left: 0;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cyber-form-panel {
        padding: 20px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
