/* --- 1. CSS VARIABLES (AGENCY IDENTITY) --- */
:root {
    --bg-void: #050505;
    --bg-panel: #121212;
    --accent-steel: #2A5D86;
    --accent-amber: #FF8C00;
    --text-primary: #E0E0E0;
    
    /* Typography */
    --font-header: 'Courier New', monospace;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --glow-amber: 0 0 20px rgba(255, 140, 0, 0.5);
    --grid-color: rgba(42, 93, 134, 0.3); /* Steel Blue Grid Lines */
}

/* --- 2. GLOBAL RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-header);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

a { text-decoration: none; transition: all 0.3s ease; }

/* UTILITIES */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.center-text { text-align: center; }
.text-amber { color: var(--accent-amber); }
.section-title { font-size: 2rem; margin-bottom: 20px; border-bottom: 1px solid var(--accent-steel); display: inline-block; padding-bottom: 10px; }
.content-section { padding: 80px 0; }

/* --- 3. HERO SECTION & RETRO GRID ANIMATION --- */
.hero-section {
    position: relative;
    height: 90vh; /* Tall hero */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000 0%, #0f0f0f 100%);
    perspective: 1000px; /* Essential for 3D effect */
}

.retro-grid-wrap {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: 1;
    transform: perspective(500px) rotateX(60deg); /* 3D Tilt */
}

.grid-lines {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px; /* Size of grid squares */
    animation: gridMove 20s linear infinite; /* Infinite movement */
}

/* The Horizon Glow (Fades the grid into the distance) */
.horizon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, transparent 0%, var(--bg-void) 80%);
    z-index: 2;
}

@keyframes gridMove {
    0% { background-position-y: 0; }
    100% { background-position-y: 50px; } /* Matches background-size height */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.headline { font-size: 3rem; margin-bottom: 20px; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
.sub-headline { font-size: 1.1rem; color: var(--text-primary); max-width: 700px; margin: 0 auto; background: rgba(0,0,0,0.6); padding: 15px; border-left: 2px solid var(--accent-amber); }

/* --- 4. TERMINAL PANEL (Mission) --- */
.terminal-panel {
    background-color: var(--bg-panel);
    border: 1px solid var(--accent-steel);
    padding: 40px;
    font-family: var(--font-header);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- 5. TRINITY PROTOCOL (3 Columns) --- */
.trinity-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.trinity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.trinity-card {
    background-color: var(--bg-void);
    border: 1px solid #222;
    padding: 30px;
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent-steel);
}

.trinity-card:hover {
    border-top-color: var(--accent-amber);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-wrapper { margin-bottom: 20px; color: var(--accent-steel); transition: all 0.3s; }

/* HOVER EFFECT: Glow Amber */
.trinity-card:hover .icon-glow {
    color: var(--accent-amber);
    text-shadow: var(--glow-amber);
}

.card-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-amber);
    margin-bottom: 15px;
    font-family: var(--font-header);
    text-transform: uppercase;
}

.card-bullets {
    list-style: none;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 0.9rem;
}

.card-bullets li { margin-bottom: 8px; color: #888; }
.card-bullets strong { color: var(--text-primary); }

/* --- 6. BUTTONS & CTAS --- */
.cta-section { padding: 100px 0; background-color: var(--bg-panel); border-top: 1px solid var(--accent-amber); }
.cta-text { max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.btn-primary {
    display: inline-block;
    background-color: var(--accent-amber);
    color: #000;
    padding: 15px 40px;
    font-family: var(--font-header);
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--accent-amber);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-amber);
    box-shadow: var(--glow-amber);
}

.mini-cta { padding: 40px 0; background-color: var(--bg-void); border-top: 1px solid #222; }
.btn-secondary {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-steel);
    border: 1px solid var(--accent-steel);
    padding: 10px 25px;
    font-family: var(--font-header);
    font-size: 0.8rem;
}

.btn-secondary:hover {
    background-color: var(--accent-steel);
    color: #fff;
}

/* --- 7. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .headline { font-size: 2rem; }
    .hero-section { height: 80vh; }
    .retro-grid-wrap { transform: perspective(300px) rotateX(60deg); }
                }
/* =========================================
   TACTICAL HUD FOOTER (FINALIZED)
   ========================================= */

/* 1. Base Terminal Styling */
.tactical-footer {
    position: relative;
    background-color: #020202; /* Pure Void */
    margin-top: 100px;
    padding-bottom: 20px;
    font-family: 'Courier New', monospace; /* Force Monospace Everywhere */
    color: #888;
    overflow: hidden;
}

/* 2. The "Scanner" Line (Top Glow) */
.scan-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-steel), var(--accent-amber), var(--accent-steel), transparent);
    box-shadow: 0 0 15px var(--accent-amber);
    margin-bottom: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

/* 3. The Brand Terminal */
.terminal-logo {
    color: #FFF;
    font-size: 2rem;
    margin-bottom: 5px;
    letter-spacing: -2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.blink {
    animation: blinker 1s linear infinite;
    color: var(--accent-amber);
}

@keyframes blinker { 50% { opacity: 0; } }

.status-indicator {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--accent-amber);
    border: 1px solid rgba(255, 140, 0, 0.3);
    padding: 2px 8px;
    margin-bottom: 20px;
    background: rgba(255, 140, 0, 0.05);
}

.dot {
    height: 6px;
    width: 6px;
    background-color: var(--accent-amber);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px var(--accent-amber);
}

.mission-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #777;
    border-left: 2px solid #222;
    padding-left: 15px;
    max-width: 400px;
}

/* 4. Command Grid (Right Side) */
.footer-right {
    display: flex;
    gap: 60px;
}

.cmd-header {
    color: var(--accent-steel);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cmd-list {
    list-style: none;
    padding: 0;
}

.cmd-list li {
    margin-bottom: 15px;
}

.cmd-list a {
    color: #AAA;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
    text-transform: uppercase;
}

.cmd-list a:hover {
    color: #FFF;
    text-shadow: 0 0 8px #FFF;
    padding-left: 5px; /* Glitch movement */
}

.tag-earn {
    background: var(--accent-amber);
    color: #000;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 1px 4px;
    margin-left: 5px;
}

/* 5. Terminal Button */
.btn-terminal {
    display: inline-block;
    border: 1px dashed var(--accent-steel);
    color: var(--accent-steel);
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
    background: rgba(42, 93, 134, 0.05);
}

.btn-terminal:hover {
    border-style: solid;
    background: var(--accent-steel);
    color: #FFF;
    box-shadow: 0 0 15px var(--accent-steel);
}

/* 6. Warning Box (Disclaimer) */
.warning-box {
    max-width: 1200px;
    margin: 40px auto;
    padding: 15px 20px;
    background: rgba(20, 20, 20, 0.8);
    border-left: 3px solid var(--accent-amber);
    border-right: 3px solid var(--accent-amber);
}

.warning-text {
    font-size: 0.7rem;
    color: #666;
    text-align: center;
    letter-spacing: 1px;
}

.warning-text i {
    color: var(--accent-amber);
    margin-right: 5px;
}

/* 7. Sub Level (Socials & Copyright) */
.sub-level {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-hud {
    display: flex;
    gap: 15px;
}

.hud-link {
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
    border: 1px solid transparent;
    padding: 5px;
}

.hud-link:hover {
    color: var(--accent-amber);
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: inset 0 0 10px rgba(255, 140, 0, 0.1);
}

/* LOCKED ITEM (No Slash) */
.hud-link.locked {
    color: #333;
    cursor: not-allowed;
    /* Removed text-decoration: line-through */
}

.copyright-text {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 1px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 30px;
    }

    .sub-level {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .mission-text {
        max-width: 100%;
    }
}

/* =========================================
   MASTER TACTICAL NAVIGATION SYSTEM
   (Includes: Futuristic Trigger, Overlay, & Dropdowns)
   ========================================= */

/* --- 1. THE FUTURISTIC TRIGGER (Chamfered Glass) --- */
#nav-trigger {
    /* Positioning */
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10001;

    /* Shape & Size */
    min-width: 90px;
    padding: 12px 20px;
    
    /* The "Sci-Fi Cut" Shape (Chamfered Corners) */
    clip-path: polygon(
        15px 0, 100% 0, 
        100% calc(100% - 15px), calc(100% - 15px) 100%, 
        0 100%, 0 15px
    );

    /* Visuals: Dark Glass */
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid var(--accent-steel, #2A5D86);
    color: var(--accent-steel, #2A5D86);
    backdrop-filter: blur(8px);
    
    /* Typography */
    font-family: 'Courier New', monospace;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 5px rgba(42, 93, 134, 0.5);
    
    /* Interaction */
    cursor: pointer;
    overflow: hidden; /* Keeps the scan bar inside */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 1px rgba(42, 93, 134, 0.1);
}

/* Hover Effect: System Active */
#nav-trigger:hover {
    background: rgba(42, 93, 134, 0.1);
    border-color: var(--accent-amber, #FF8C00);
    color: var(--accent-amber, #FF8C00);
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
    transform: translateY(-2px);
}

/* The Scan Bar Animation */
.scan-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-steel, #2A5D86);
    opacity: 0.5;
    animation: scan-down 3s linear infinite;
    pointer-events: none;
}

#nav-trigger:hover .scan-bar {
    background: var(--accent-amber, #FF8C00);
    animation-duration: 1.5s;
    box-shadow: 0 0 10px var(--accent-amber, #FF8C00);
}

@keyframes scan-down {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    #nav-trigger {
        top: 20px;
        right: 20px;
        min-width: 70px;
        padding: 10px 15px;
        font-size: 0.85rem;
        clip-path: polygon(
            10px 0, 100% 0, 
            100% calc(100% - 10px), calc(100% - 10px) 100%, 
            0 100%, 0 10px
        );
    }
}

/* --- 2. THE OVERLAY (Menu Background) --- */
#nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(2, 2, 2, 0.98); /* Deep Void */
    z-index: 10000;
    
    /* Vertical Scrolling Logic */
    overflow-y: auto; 
    
    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px; 
    padding-bottom: 50px;
    
    /* Visibility Animation */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#nav-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- 3. MENU TYPOGRAPHY & LAYOUT --- */
.nav-brand-header {
    margin-bottom: 40px;
    text-align: center;
}

.nav-brand-header h1 {
    font-family: 'Courier New', monospace;
    color: #FFF;
    font-size: 1.8rem;
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.terminal-menu {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Main Links */
.nav-item {
    margin-bottom: 20px;
}

.nav-link {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    color: #CCC;
    text-decoration: none;
    transition: 0.2s;
    display: block;
}

.nav-link:hover {
    color: var(--accent-amber, #FF8C00);
    padding-left: 10px; /* Glitch movement */
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
}

/* --- 4. DROPDOWN & ACCORDION STYLES --- */
.nav-group {
    margin-bottom: 30px;
    border-left: 1px solid #333;
    padding-left: 20px;
}

.dropdown-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    /* Typography inheritance */
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    color: #CCC;
}

.dropdown-btn:hover {
    color: var(--accent-amber, #FF8C00);
}

/* The Arrow Icon */
.arrow-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--accent-steel, #2A5D86);
}

.dropdown-btn.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--accent-amber, #FF8C00);
}

/* Submenu Logic */
.submenu {
    list-style: none;
    padding-left: 20px;
    border-left: 1px solid #333;
    margin-top: 10px;
    margin-bottom: 20px;
    
    /* Animation */
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease;
    opacity: 1;
}

.submenu.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
    pointer-events: none;
}

/* Sub Links */
.sub-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #888;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: 0.2s;
}

.sub-link:hover {
    color: #FFF;
    padding-left: 5px;
}

/* --- 5. UTILITIES --- */
.locked-item {
    color: #444 !important;
    cursor: not-allowed;
    pointer-events: none;
}

.locked-item i {
    font-size: 0.8rem;
    margin-left: 5px;
}

.tag-earn {
    background: var(--accent-amber, #FF8C00);
    color: #000;
    font-family: sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 5px;
    margin-left: 8px;
    border-radius: 2px;
    vertical-align: middle;
}

.blink {
    animation: blinker 1s linear infinite;
    color: var(--accent-amber, #FF8C00);
}
@keyframes blinker { 50% { opacity: 0; } }

/* --- UPDATED NAVIGATION STYLES (Add to bottom) --- */

/* Dropdown Button Styling (Matches Standard Links) */
.dropdown-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between; /* Pushes arrow to the right */
    align-items: center;
    padding-right: 10px;
}

/* The Chevron Arrow */
.arrow-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--accent-steel, #2A5D86);
}

/* Rotate Arrow when Open */
.dropdown-btn.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--accent-amber, #FF8C00);
}

/* Submenu Container */
.submenu {
    list-style: none;
    padding-left: 20px;
    border-left: 1px solid #333;
    margin-top: 10px;
    margin-bottom: 20px;
    
    /* Animation Mechanics */
    max-height: 500px; /* Arbitrary large height for animation */
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease;
    opacity: 1;
}

/* Hidden State (Collapsed) */
.submenu.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
    pointer-events: none;
}

/* Ensure Sub-links look correct */
.sub-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #888;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: 0.2s;
}

.sub-link:hover {
    color: #FFF;
    padding-left: 5px;
}

/* =========================================
   PHASE 6 UPGRADES (Scroll & Active State)
   ========================================= */

/* 1. SMART SCROLL (Hide Button) */
#nav-trigger {
    /* Existing styles remain, this just adds the transform capability */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}

#nav-trigger.scroll-hidden {
    /* Moves the button up and off the screen */
    transform: translateY(-150%); 
}

/* 2. ACTIVE PAGE GLOW (Persistent) */
.nav-link.active-page,
.sub-link.active-page {
    color: var(--accent-amber, #FF8C00) !important;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.6);
    border-left: 2px solid var(--accent-amber, #FF8C00); /* Optional marker */
    padding-left: 15px; /* Indent slightly */
    background: rgba(255, 140, 0, 0.05); /* Very faint background tint */
}

/* Ensure the arrow on dropdowns stays lit if a child is active */
.dropdown-btn.child-active {
    color: var(--accent-amber, #FF8C00);
}
.dropdown-btn.child-active .arrow-icon {
    color: var(--accent-amber, #FF8C00);
}

/* =========================================
   SECTOR 01: ADVANCED PROTOCOL STYLES
   ========================================= */

/* CONTAINER & LAYOUT */
.sector-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    min-height: 80vh;
}

/* --- HERO HEADER SECTION (UPDATED FOR GRID) --- */
.sector-header {
    margin-bottom: 100px;
    text-align: center;
    
    /* NEW: Grid Container Logic */
    position: relative; 
    overflow: hidden; 
    padding: 120px 20px; 
    background: linear-gradient(to bottom, #000000 0%, #0f0f0f 100%);
    border-bottom: 1px solid #222;
}

/* NEW: Ensures the text sits ON TOP of the grid */
.sector-header .hero-content {
    position: relative;
    z-index: 10;
}

/* NEW: Stretches the grid to fill the background */
.absolute-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    pointer-events: none;
}

.mono-sub {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.huge-title {
    font-size: 3rem;
    color: #FFF;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(42, 93, 134, 0.3);
}

.mission-brief {
    max-width: 700px;
    margin: 0 auto;
    border-left: 2px solid var(--accent-amber);
    padding-left: 20px;
    text-align: left;
}

.mission-brief p {
    color: #AAA;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CATEGORY HEADERS */
.intel-category {
    margin-bottom: 100px;
}

.category-title {
    font-family: 'Courier New', monospace;
    color: var(--accent-steel);
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* THE INTEL GRID */
.intel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* THE CARD STYLING */
.intel-card {
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid #333;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
    border-top: 3px solid transparent; /* Hidden until hover */
}

.intel-card:hover {
    background: rgba(25, 25, 25, 0.9);
    border-color: var(--accent-steel);
    border-top-color: var(--accent-amber); /* Amber top on hover */
    transform: translateY(-5px);
}

/* Card Top Row */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-type {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--accent-steel);
    letter-spacing: 1px;
}

.card-icon {
    font-size: 1.5rem;
    color: #444;
    transition: 0.3s;
}

.intel-card:hover .card-icon {
    color: var(--accent-amber);
    text-shadow: 0 0 10px var(--accent-amber);
}

/* Typography */
.card-title {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #FFF;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.card-desc {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* The Status Button (Coming Soon) */
.btn-status {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px dashed #444;
    color: #666;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    cursor: not-allowed;
    text-align: left;
    transition: 0.3s;
}

.intel-card:hover .btn-status {
    border-color: var(--accent-steel);
    color: var(--accent-steel);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .huge-title { font-size: 2rem; }
    .mission-brief { text-align: center; border: none; padding: 0; }
}

/* =========================================
   OPERATIONAL FAQ STYLES
   ========================================= */

.faq-container {
    padding-bottom: 80px;
    min-height: 80vh;
}

.directives-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers (File Dividers) */
.faq-section {
    margin-bottom: 60px;
}

.section-header {
    font-family: 'Courier New', monospace;
    color: var(--accent-steel);
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* FAQ Item Container */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #222;
    background: rgba(18, 18, 18, 0.4);
    transition: 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-steel);
}

/* The Question Button */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #CCC;
    transition: 0.3s;
}

.faq-question:hover {
    color: #FFF;
    background: rgba(42, 93, 134, 0.1);
}

/* The Question ID (Q1, Q2...) */
.q-id {
    color: var(--accent-steel);
    font-weight: bold;
    margin-right: 15px;
}

.faq-question:hover .q-id {
    color: var(--accent-amber);
    text-shadow: 0 0 10px var(--accent-amber);
}

/* The Answer (Hidden by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    
    background: #0a0a0a;
    border-top: 1px solid transparent;
}

/* Active State (When Open) */
.faq-question.active {
    background: var(--accent-steel);
    color: #FFF;
}

.faq-question.active .q-id {
    color: #000; /* Contrast against blue background */
}

.faq-question.active + .faq-answer {
    padding: 25px 20px;
    border-top-color: var(--accent-amber); /* Amber line separator */
}

/* Answer Typography */
.faq-answer p {
    font-size: 0.95rem;
    color: #AAA;
    margin-bottom: 15px;
    line-height: 1.6;
}

.faq-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.faq-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #BBB;
    font-size: 0.9rem;
}

.faq-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent-amber);
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #555;
}

.faq-question.active .toggle-icon {
    transform: rotate(180deg);
    color: #FFF;
}

/* Highlighters */
.highlight-text {
    border-left: 3px solid var(--accent-amber);
    padding-left: 15px;
    color: #FFF !important;
    font-style: italic;
}

.status-box-small {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    border: 1px dashed #333;
    padding: 10px;
    display: inline-block;
    color: #888;
}

/* =========================================
   RECRUITMENT PROTOCOL STYLES (TACTICAL DOT MATRIX - FIXED)
   ========================================= */

/* --- 1. BACKGROUND WRAPPER --- */
.hex-grid-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 1;
    overflow: hidden;
}

/* --- 2. THE DOT PATTERN --- */
.hex-pattern {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    
    /* TACTICAL DOTS: Amber, 1.5px size */
    background-image: radial-gradient(rgba(255, 140, 0, 0.4) 1.5px, transparent 1.5px);
    background-size: 30px 30px; 
    
    opacity: 0.6;
}

/* --- 3. THE SCANNER --- */
.hex-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Radar Sweep Animation */
    background: linear-gradient(180deg, transparent 0%, rgba(255, 140, 0, 0.1) 50%, transparent 100%);
    background-size: 100% 200%;
    
    animation: scanner-sweep 8s linear infinite;
}

@keyframes scanner-sweep {
    0% { background-position: 0% 200%; }
    100% { background-position: 0% -100%; }
}

/* --- 4. TACTICAL TABLE --- */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.tactical-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    min-width: 600px;
}

.tactical-table th {
    background: rgba(42, 93, 134, 0.1);
    color: var(--accent-steel);
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid var(--accent-steel);
}

.tactical-table td {
    padding: 15px;
    border-bottom: 1px solid #222;
    color: #CCC;
}

.badge-tier {
    padding: 3px 8px;
    font-weight: bold;
    font-size: 0.8rem;
}

.tier-1 { background: var(--accent-amber); color: #000; }
.tier-2 { border: 1px solid var(--accent-steel); color: var(--accent-steel); }

.system-note {
    background: rgba(255, 140, 0, 0.05);
    border-left: 3px solid var(--accent-amber);
    padding: 15px;
    font-size: 0.9rem;
    color: #AAA;
}

/* --- 5. ROLE CARDS (TIER 1 & 2) --- */
.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.role-card {
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid #333;
    padding: 30px;
    transition: 0.3s;
}

.role-card:hover {
    border-color: var(--accent-steel);
    transform: translateY(-5px);
}

.card-tier-1 { border-top: 3px solid var(--accent-amber); }
.card-tier-2 { border-top: 3px solid var(--accent-steel); }

.role-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.role-title {
    color: #FFF;
    font-family: 'Courier New', monospace;
    margin-bottom: 5px;
}

.role-status {
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}
.status-closed { color: var(--accent-amber); }
.status-open { color: var(--accent-steel); }

.role-desc { color: #999; margin-bottom: 20px; font-size: 0.95rem; }

.role-specs {
    list-style: none;
    margin-bottom: 25px;
}

.role-specs li {
    margin-bottom: 10px;
    color: #DDD;
}
.role-specs i { color: var(--accent-steel); margin-right: 10px; }

/* FIX APPLIED HERE: Prevents "Digital Assets" from breaking the line */
.role-target {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    font-size: 0.9rem;
}

/* Keeps all bold text orange */
.role-target strong { 
    color: var(--accent-amber); 
}

/* ONLY makes the main header ("HOW TO START") sit on its own line */
.role-target > strong { 
    display: block; 
    margin-bottom: 10px; 
}

.role-target ul, .role-target ol { padding-left: 20px; color: #888; }

/* --- 6. APPLICATION STEPS --- */
.application-box {
    max-width: 800px;
    margin: 0 auto;
}

.step-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #333;
}

.step-num {
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.step-content h4 {
    color: var(--accent-steel);
    margin-bottom: 10px;
}
.step-content p { color: #AAA; }
.step-content ul { padding-left: 20px; color: #999; margin-top: 10px; }

.contact-details { list-style: none; padding: 0 !important; }
.contact-details li { margin-bottom: 5px; }

/* UTILITIES */
.text-steel { color: var(--accent-steel); }
.mt-50 { margin-top: 50px; }
.mt-20 { margin-top: 20px; }

/* MOBILE */
@media (max-width: 768px) {
    .step-row { flex-direction: column; gap: 10px; }
    .step-num { font-size: 2rem; }
}

/* =========================================
   LEGAL PROTOCOLS STYLING
   ========================================= */

.legal-container {
    padding-bottom: 80px;
}

/* The Protocol File Card */
.protocol-file {
    background: rgba(12, 12, 12, 0.8);
    border: 1px solid #222;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* File Header (The "Tab") */
.file-header {
    background: rgba(42, 93, 134, 0.1); /* Steel Tint */
    border-bottom: 1px solid var(--accent-steel);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-header i {
    font-size: 1.5rem;
    color: var(--accent-steel);
}

.file-header h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--accent-steel);
    letter-spacing: 1px;
}

/* Variant: Amber Header for Terms */
.header-amber {
    background: rgba(255, 140, 0, 0.05);
    border-bottom-color: var(--accent-amber);
}

.header-amber i,
.header-amber h2 {
    color: var(--accent-amber);
}

/* File Body */
.file-body {
    padding: 40px;
}

.file-subtitle {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #666;
    border-left: 2px solid #333;
    padding-left: 15px;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* Directives (Numbered Sections) */
.directive-block {
    margin-bottom: 40px;
}

.directive-block h3 {
    color: #FFF;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px dashed #333;
    padding-bottom: 10px;
    display: inline-block;
}

.directive-block p {
    color: #AAA;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.directive-block ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.directive-block ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #CCC;
    font-size: 0.95rem;
}

.directive-block ul li::before {
    content: ">>";
    position: absolute;
    left: 0;
    color: var(--accent-steel);
    font-size: 0.8rem;
}

.directive-block strong {
    color: #FFF;
}

/* Special Text Alerts */
.advisory-text {
    background: rgba(42, 93, 134, 0.1);
    border-left: 3px solid var(--accent-steel);
    padding: 15px;
    color: #DDD !important;
    font-style: italic;
}

.warning-text {
    background: rgba(255, 140, 0, 0.1);
    border-left: 3px solid var(--accent-amber);
    padding: 15px;
    color: #FFF !important;
}

/* Bottom Effective Date */
.protocol-footer {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 30px;
    margin-top: 50px;
}

.protocol-footer p {
    font-family: 'Courier New', monospace;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .file-body { padding: 20px; }
    .file-header { padding: 15px 20px; }
    .file-header h2 { font-size: 1rem; }
    }
/* Add to assets/main.css */
.protocol-footer .text-amber {
    color: var(--accent-amber);
    font-weight: bold;
    letter-spacing: 1px;
}
/* =========================================
   SECURE COMMS DESIGN (TACTICAL UI)
   ========================================= */

.comms-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* --- LEFT PANEL: SOCIAL INTEL --- */
.social-intel-panel {
    background: rgba(12, 12, 12, 0.5);
    border: 1px solid #222;
    padding: 30px;
}

.panel-header {
    font-family: 'Courier New', monospace;
    color: var(--accent-steel);
    font-size: 1.1rem;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.panel-desc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* The Big Email Button */
.btn-dispatch-email {
    display: flex;
    align-items: center;
    background: rgba(42, 93, 134, 0.1);
    border: 1px solid var(--accent-steel);
    padding: 20px;
    text-decoration: none;
    margin-bottom: 30px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-dispatch-email:hover {
    background: var(--accent-steel);
    box-shadow: 0 0 20px rgba(42, 93, 134, 0.3);
}

.btn-dispatch-email i {
    font-size: 1.8rem;
    color: #FFF;
    margin-right: 15px;
}

.btn-content { display: flex; flex-direction: column; }
.btn-content .label { font-size: 0.7rem; color: #AAA; letter-spacing: 1px; }
.btn-content .value { font-size: 1rem; color: #FFF; font-weight: bold; }

.status-dot {
    width: 8px; height: 8px; background: #00ff00; border-radius: 50%;
    margin-left: auto; box-shadow: 0 0 5px #00ff00;
}

/* Social Grid (3 Columns) */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.social-tactical-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 20px 10px;
    text-decoration: none;
    transition: 0.3s;
}

.social-tactical-btn i { font-size: 1.5rem; color: #666; margin-bottom: 10px; transition: 0.3s; }
.social-tactical-btn span { font-size: 0.7rem; color: #666; font-family: 'Courier New', monospace; }

/* Individual Colors on Hover */
.social-tactical-btn:hover { transform: translateY(-3px); border-color: #FFF; }

.social-tactical-btn:hover span { color: #FFF; }

.social-tactical-btn.yt:hover i { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
.social-tactical-btn.x:hover i { color: #ffffff; text-shadow: 0 0 10px #ffffff; }
.social-tactical-btn.ig:hover i { color: #e1306c; text-shadow: 0 0 10px #e1306c; }


/* --- RIGHT PANEL: FORM INTEL --- */
.form-intel-panel {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid #333;
    border-top: 3px solid var(--accent-amber);
}

.form-header-strip {
    background: rgba(255, 140, 0, 0.05);
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--accent-amber);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #222;
}

.terminal-form { padding: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-steel);
    margin-bottom: 10px;
}

.terminal-form input, 
.terminal-form select, 
.terminal-form textarea {
    width: 100%;
    background: #050505;
    border: 1px solid #333;
    color: #E0E0E0;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: 0.3s;
}

.terminal-form input:focus, 
.terminal-form textarea:focus,
.terminal-form select:focus {
    outline: none;
    border-color: var(--accent-amber);
    background: #0f0f0f;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.1);
}

/* Transmit Button */
.btn-transmit {
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent-amber);
    color: var(--accent-amber);
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-transmit:hover {
    background: var(--accent-amber);
    color: #000;
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .comms-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    }
/* =========================================
   SUCCESS OVERLAY (TACTICAL POPUP)
   ========================================= */

#success-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#success-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.success-card {
    background: #0a0a0a;
    border: 2px solid var(--accent-amber);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#success-overlay.visible .success-card {
    transform: scale(1);
}

.success-icon {
    font-size: 3rem;
    color: var(--accent-amber);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-amber);
}

.success-title {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.success-msg {
    color: #AAA;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-steel);
    border-top: 1px dashed #333;
    border-bottom: 1px dashed #333;
    padding: 10px 0;
}

.btn-acknowledge {
    background: var(--accent-amber);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-acknowledge:hover {
    background: #FFF;
    box-shadow: 0 0 15px #FFF;
    }
