/* ==========================================================================
   WIZ OF WIRELESS - MASTER STYLESHEET
   ========================================================================== */
:root {
    --pitch-black: #08090C;
    --surface-dark: #111318;
    --surface-card: #171921;
    --border-muted: rgba(255, 255, 255, 0.08);
    --white: #FFFFFF;
    --text-secondary: #9499A6;
    --neon-crimson: #FF0033;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --ease-fluid: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-3d: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --section-spacing: 6rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--pitch-black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container-xl {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Nav */
header {
    position: sticky;
    top: 0;
    background-color: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-muted);
    z-index: 1000;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}
.nav-link { color: var(--white); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--neon-crimson); }

/* Buttons & Inputs */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 200ms var(--ease-3d), box-shadow 200ms var(--ease-fluid);
}
.btn-crimson { background-color: var(--neon-crimson); color: var(--white); }
.btn-crimson:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 0, 51, 0.35); }
.btn-white { background-color: transparent; color: var(--white); border: 1px solid var(--border-muted); }
.btn-white:hover { transform: translateY(-2px); border-color: var(--white); }

.sms-field {
    background: var(--surface-dark);
    border: 1px solid var(--border-muted);
    color: var(--white);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    outline: none;
}
.sms-field:focus { border-color: var(--neon-crimson); }

/* Layouts */
section { padding: var(--section-spacing) 0; border-bottom: 1px solid var(--border-muted); }
.hero-stage { text-align: center; padding-top: 8rem; border-bottom: none; }
.hero-stage h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; }
.hero-stage p { color: var(--text-secondary); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.1rem; }
.hero-badge { display: inline-block; background: rgba(255,0,51,0.1); border: 1px solid rgba(255,0,51,0.2); color: var(--neon-crimson); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 1.5rem; letter-spacing: 0.05em; }

.card-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.app-card { background: var(--surface-card); border: 1px solid var(--border-muted); border-radius: 12px; display: flex; flex-direction: column; cursor: pointer; transition: transform 300ms var(--ease-fluid), border-color 300ms; }
.app-card:hover { transform: translateY(-6px); border-color: var(--neon-crimson); }
.card-content { padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.card-content h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 1rem; }
.card-content p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.95rem; }

/* SPA Visibility */
.app-view { display: none; opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease-fluid), transform 400ms var(--ease-fluid); }
.app-view.active-view { display: block; opacity: 1; transform: translateY(0); }

/* Animations */
.animate-on-load { opacity: 0; transform: translateY(20px); animation: spatialEntrance 800ms var(--ease-fluid) forwards; }
.delay-1 { animation-delay: 150ms; }
.delay-2 { animation-delay: 300ms; }
.delay-3 { animation-delay: 450ms; }
@keyframes spatialEntrance { to { opacity: 1; transform: translateY(0); } }

/* Table Overrides */
td { border-right: 1px solid rgba(255,255,255,0.02); }
td:last-child { border-right: none; }

/* ==========================================================================
   ISOLATED MODULE: OPERATOR BIO TERMINAL
   ========================================================================== */

/* Main Container Framework */
.operator-bio-terminal {
    background-color: #0F1116; /* var(--surface-dark) fallback */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    box-sizing: border-box;
    width: 100%;
}

/* Background Matrix Blueprint Grid Overlay */
.operator-bio-terminal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.8;
    pointer-events: none;
}

/* Internal Responsive Two-Column Grid */
.operator-bio-terminal .terminal-node-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* Left Profile Column: The Sidebar */
.operator-bio-terminal .profile-panel {
    background-color: #15181F; /* var(--surface-card) fallback */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-sizing: border-box;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Glowing Identity Badge Avatar */
.operator-bio-terminal .avatar-frame {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #15181F 0%, #060709 100%);
    border: 2px solid #FF0033;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.4);
}

/* Meta Data Identifier Tag */
.operator-bio-terminal .operator-id-badge {
    display: inline-block;
    border: 1px solid rgba(255, 0, 51, 0.2);
    background-color: rgba(255, 0, 51, 0.05);
    color: #FF0033;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Right Content Column: Data Grid Layout */
.operator-bio-terminal .intel-panel h2 { 
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem; 
    color: #FFFFFF;
    margin-bottom: 0.5rem; 
}

.operator-bio-terminal .lead-text { 
    color: #878D9C; 
    font-size: 1.1rem; 
    max-width: 650px; 
    margin-bottom: 3rem; 
}

.operator-bio-terminal .credential-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Discrete Text Blocks/Nodes */
.operator-bio-terminal .credential-data-node {
    background-color: #15181F;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.75rem;
    position: relative;
    box-sizing: border-box;
    transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1), border-color 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.operator-bio-terminal .credential-data-node:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.operator-bio-terminal .node-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #878D9C;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

/* Typewriter Real-time Typing Node Targets */
.operator-bio-terminal #typing-backstory, 
.operator-bio-terminal #typing-mission {
    display: inline;
    color: #878D9C;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* The Terminal Blinking Underscore Cursor */
.operator-bio-terminal #typing-backstory::after, 
.operator-bio-terminal #typing-mission::after {
    content: '_';
    display: inline;
    color: #FF0033;
    font-weight: bold;
    animation: bioTerminalCursorBlink 1.2s infinite;
}

@keyframes bioTerminalCursorBlink { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0; } 
}

/* Large Quoted Core Values Banner */
.operator-bio-terminal .facts-banner {
    background-color: #15181F;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    grid-column: 1 / -1;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Internal Neon Glow Accent */
.operator-bio-terminal .facts-banner::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.operator-bio-terminal .facts-text {
    font-style: italic;
    font-weight: 500;
    color: #FFFFFF;
    font-size: 1.05rem;
    line-height: 1.5;
    position: relative;
    z-index: 10;
}
/* Fluid Mobile Adaptation Interface */
@media (max-width: 900px) {
    .operator-bio-terminal .terminal-node-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .operator-bio-terminal { 
        padding: 4rem 0; 
    }
    .operator-bio-terminal .profile-panel { 
        display: flex; 
        text-align: left; 
        align-items: center; 
        gap: 1.5rem; 
        padding: 1.5rem; 
    }
    .operator-bio-terminal .avatar-frame { 
        margin: 0; 
        width: 60px; 
        height: 60px; 
        font-size: 1.4rem; 
        flex-shrink: 0; /* Prevents the avatar frame from squishing horizontally */
    }
}

/* Deep Mobile Viewport Fix (Phones) */
@media (max-width: 600px) {
    .operator-bio-terminal .profile-panel { 
        flex-direction: column; /* Stacks the content vertically on narrow mobile screens */
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .operator-bio-terminal .avatar-frame { 
        margin: 0 auto 1rem auto; /* Centers the picture frame again */
    }
    .operator-bio-terminal .profile-panel .btn {
        width: 100%; /* Makes the button easy to tap on mobile touch screens */
        margin-top: 1rem;
    }
}

/* ==========================================================================
   ISOLATED MODULE: TACTICAL NETWORK HERO STAGE
   ========================================================================== */
.tactical-hero-stage {
    position: relative;
    padding: 10rem 0 8rem 0;
    background-color: #060709; /* var(--pitch-black) fallback */
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Subtle tech grid mesh underlying the hero layout */
.tactical-hero-stage::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Deep visual background glowing element */
.tactical-hero-stage::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Base structural layout wrapper */
.tactical-hero-stage .hero-grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Left Panel Typography Elements */
.tactical-hero-stage .hero-command-panel h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    line-height: 1.15;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    margin: 1.5rem 0;
}

.tactical-hero-stage .hero-command-panel .highlight-text {
    color: #FF0033; /* Crimson Accent Focus */
    position: relative;
}

.tactical-hero-stage .hero-command-panel p {
    color: #878D9C;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 2.5rem;
}

/* Animated Pulse Badge Components */
.tactical-hero-stage .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: #FFFFFF;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.tactical-hero-stage .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00E676; /* Live Green */
    border-radius: 50%;
    box-shadow: 0 0 8px #00E676;
    animation: heroPulseIndicator 2s infinite;
}

@keyframes heroPulseIndicator {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #00E676; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Button Action Layout Core */
.tactical-hero-stage .hero-actions {
    display: flex;
    gap: 1rem;
}

/* Right Panel: Live Network Telemetry Display Terminal */
.tactical-hero-stage .hero-telemetry-panel {
    background-color: #0F1116;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.tactical-hero-stage .telemetry-header {
    background-color: #15181F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tactical-hero-stage .telemetry-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #878D9C;
    letter-spacing: 0.05em;
}

.tactical-hero-stage .telemetry-refresh {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: #00E676;
    background: rgba(0, 230, 118, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(0, 230, 118, 0.15);
}

.tactical-hero-stage .telemetry-body {
    padding: 2rem;
}

.tactical-hero-stage .telemetry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
}

.tactical-hero-stage .telemetry-row .label {
    color: #878D9C;
}

.tactical-hero-stage .telemetry-row .value {
    color: #FFFFFF;
    font-weight: bold;
}

.tactical-hero-stage .telemetry-row .value-green { color: #00E676; }
.tactical-hero-stage .telemetry-row .value-crimson { color: #FF0033; }

.tactical-hero-stage .telemetry-divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    margin: 2rem 0 1.5rem 0;
}

/* Micro Signal Graph Layout Engine */
.tactical-hero-stage .telemetry-graph-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 60px;
    gap: 6px;
    padding-top: 0.5rem;
}

.tactical-hero-stage .graph-bar {
    flex: 1;
    height: var(--bar-height);
    background: linear-gradient(to top, rgba(255, 0, 51, 0.1), rgba(255, 0, 51, 0.6));
    border-radius: 2px;
    animation: heroGraphPulse 3s infinite ease-in-out;
}

/* Generates slightly staggered animated movement on sequential graph indicators */
.tactical-hero-stage .graph-bar:nth-child(even) { animation-delay: 0.5s; }
.tactical-hero-stage .graph-bar:nth-child(3n) { animation-delay: 1s; }

@keyframes heroGraphPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; transform: scaleY(0.95); }
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE CORES
   ========================================================================== */
@media (max-width: 992px) {
    .tactical-hero-stage { padding: 8rem 0 6rem 0; }
    .tactical-hero-stage .hero-grid-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .tactical-hero-stage .hero-command-panel h1 { font-size: 3rem; }
    .tactical-hero-stage .hero-telemetry-panel { max-width: 500px; }
}

@media (max-width: 576px) {
    .tactical-hero-stage { padding: 6rem 0 4rem 0; }
    .tactical-hero-stage .hero-command-panel h1 { font-size: 2.25rem; }
    .tactical-hero-stage .hero-command-panel p { font-size: 1rem; margin-bottom: 2rem; }
    .tactical-hero-stage .hero-actions { flex-direction: column; width: 100%; }
    .tactical-hero-stage .hero-actions .btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   ISOLATED MODULE: OPERATIONAL OPTIMIZATION SERVICES
   ========================================================================== */
.operator-services-node {
    background-color: #0F1116; /* var(--surface-dark) fallback */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6rem 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Services Section Typography */
.operator-services-node .services-header {
    margin-bottom: 4rem;
}

.operator-services-node .services-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin: 0.75rem 0;
}

.operator-services-node .section-subtitle {
    color: #878D9C;
    font-size: 1.1rem;
    max-width: 600px;
}

/* Grid Matrix Layout Engine */
.operator-services-node .services-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

/* Individual Service Card Chassis */
.operator-services-node .service-card {
    background-color: #15181F; /* var(--surface-card) */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1), border-color 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* Asymmetrical Hover Highlights */
.operator-services-node .service-card.performance-tier:hover {
    transform: translateY(-6px);
    border-color: #FF0033; /* Crimson Accent Glow */
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.08);
}

.operator-services-node .service-card.hardware-tier:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.03);
}

/* Card Body Structural Alignment */
.operator-services-node .service-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.operator-services-node .pricing-badge {
    align-self: flex-start;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #878D9C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* Specific Badge Accent For Performance Tier */
.operator-services-node .service-card.performance-tier .pricing-badge {
    color: #FF0033;
    border-color: rgba(255, 0, 51, 0.15);
    background: rgba(255, 0, 51, 0.02);
}

.operator-services-node .service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.operator-services-node .service-desc {
    color: #878D9C;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Forces Buttons to Always Align Cleanly at Card Bottoms */
.operator-services-node .service-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* Core Micro-Animations */
.operator-services-node .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00E676;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.25rem;
    box-shadow: 0 0 8px #00E676;
}

/* Responsive Grid Adaptation Breakpoints */
@media (max-width: 768px) {
    .operator-services-node { padding: 4rem 0; }
    .operator-services-node .services-header { margin-bottom: 2.5rem; }
    .operator-services-node .services-header h2 { font-size: 2rem; }
    .operator-services-node .services-matrix { grid-template-columns: 1fr; gap: 1.5rem; }
    .operator-services-node .service-card { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   ISOLATED MODULE: TACTICAL TERMINAL HEADER & NAVIGATION
   ========================================================================== */
.tactical-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 7, 9, 0.8); /* Translucent var(--pitch-black) */
    backdrop-filter: blur(12px); /* Blurred glass overlay effect */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
    transition: background-color 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.tactical-nav-header .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    box-sizing: border-box;
}

/* Branding System Logo */
.tactical-nav-header .nav-branding {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    cursor: pointer;
    user-select: none;
}

.tactical-nav-header .branding-cursor {
    color: #FF0033; /* Neon Crimson */
    display: inline-block;
    animation: navCursorPulse 1.5s infinite;
}

@keyframes navCursorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Desktop Menu Layout */
.tactical-nav-header .desktop-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tactical-nav-header .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #878D9C; /* var(--text-secondary) */
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 250ms ease;
}

.tactical-nav-header .nav-link:hover {
    color: #FFFFFF;
}

/* Sliding under-line micro-interaction link effects */
.tactical-nav-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FF0033;
    transition: width 250ms ease;
}

.tactical-nav-header .nav-link:hover::after {
    width: 100%;
}

/* Micro Tactical Command Button */
.tactical-nav-header .nav-btn-sm {
    background-color: transparent;
    border: 1px solid rgba(255, 0, 51, 0.3);
    color: #FF0033;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 250ms cubic-bezier(0.25, 1, 0.5, 1);
}

.tactical-nav-header .nav-btn-sm:hover {
    background-color: rgba(255, 0, 51, 0.05);
    border-color: #FF0033;
    box-shadow: 0 0 12px rgba(255, 0, 51, 0.2);
}

/* Mobile Toggle Hamburger Blueprint */
.tactical-nav-header .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.tactical-nav-header .mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 250ms cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: left center;
}

/* Mobile Screen Full Screen Drawer Overlay */
.tactical-nav-header .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 100%; /* Hidden off-screen right by default */
    width: 100%;
    height: 100vh;
    background-color: #060709;
    z-index: 1050;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    box-sizing: border-box;
    transition: left 350ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* Class applied by JavaScript engine to trigger drawer slide-in */
.tactical-nav-header .mobile-nav-overlay.is-active {
    left: 0;
}

.tactical-nav-header .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.tactical-nav-header .mobile-nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
}

/* Transformed Hamburger State when Drawer is deployed */
.tactical-nav-header.mobile-open .mobile-menu-toggle .bar:first-child {
    transform: rotate(45deg);
}

.tactical-nav-header.mobile-open .mobile-menu-toggle .bar:last-child {
    transform: rotate(-45deg);
}

/* Responsive Structural Breakpoints */
@media (max-width: 768px) {
    .tactical-nav-header .desktop-nav-menu {
        display: none; /* Hide standard nav on tablet/phones */
    }
    .tactical-nav-header .mobile-menu-toggle {
        display: flex; /* Activate engine toggle trigger */
    }
}

/* ==========================================================================
   ARTICLE INTERFACE DESIGN CORE
   ========================================================================== */
.intel-log-wrapper {
    color: #FFFFFF;
    line-height: 1.7;
    font-size: 1rem;
}

.intel-log-wrapper h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    color: #FFFFFF;
}

.intel-log-wrapper h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem 0;
}

.intel-log-wrapper p {
    color: #878D9C;
    margin-bottom: 1.5rem;
}

.intel-log-wrapper .lead-paragraph {
    font-size: 1.2rem;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Monospace Telemetry Headers */
.log-telemetry-header {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #FF0033;
    background-color: rgba(255, 0, 51, 0.02);
    border: 1px dashed rgba(255, 0, 51, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
}

/* Comparison Sub-Grid System */
.comparison-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.comparison-node-card {
    background-color: #15181F;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem;
    border-radius: 8px;
}

.comparison-node-card.focus-crimson { border-left: 3px solid #FF0033; }
.comparison-node-card.focus-white { border-left: 3px solid #FFFFFF; }

.node-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: #878D9C;
    display: block;
    margin-bottom: 0.5rem;
}

.node-spec-list {
    margin-top: 1rem;
    padding-left: 1.2rem;
    list-style-type: square;
    color: #878D9C;
    font-size: 0.9rem;
}

.node-spec-list li { margin-bottom: 0.5rem; }

/* Micro Structural Diagram Flowchart */
.terminal-flowchart {
    background-color: #0F1116;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0.5rem;
}

.flow-step {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    color: #878D9C;
}

.flow-step.highlighted-step { color: #00E676; border-color: rgba(0, 230, 118, 0.2); }
.flow-step.warning-step { color: #FF0033; border-color: rgba(255, 0, 51, 0.2); }
.flow-arrow { color: rgba(255,255,255,0.2); font-weight: bold; }

/* Custom Callout Box Blockquotes */
.intel-log-wrapper blockquote {
    border-left: 3px solid #FF0033;
    background-color: rgba(255, 0, 51, 0.02);
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    color: #FFFFFF;
    font-size: 0.95rem;
}

/* Checklist Rules Container */
.matrix-box {
    background-color: #15181F;
    border: 1px solid rgba(255, 0, 51, 0.15);
    padding: 2rem;
    border-radius: 8px;
}

.matrix-box h3 { margin-top: 0; font-family: 'Space Mono', monospace; font-size: 0.9rem; color: #FFFFFF; letter-spacing: 0.05em; }
.matrix-box ul { padding-left: 1.2rem; color: #878D9C; font-size: 0.95rem; }
.matrix-box li { margin-bottom: 0.75rem; }

/* Contextual Value Funnel Block */
.log-funnel-footer {
    background: linear-gradient(135deg, #15181F 0%, #0F1116 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 2.5rem;
    margin-top: 4rem;
}

.log-funnel-footer h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    .comparison-block-grid { grid-template-columns: 1fr; }
    .log-telemetry-header { gap: 0.75rem; }
}