/* --- 1. THEME VARIABLES --- */
:root {
    --bg-dark: #050505;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --bg-panel-hover: rgba(255, 255, 255, 0.07);
    
    /* Neon Accents */
    --primary-cyan: #00f2ff;
    --primary-blue: #0066ff;
    --alert-red: #ff2a2a;
    
    /* Text */
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    
    /* Glows */
    --glow-cyan: 0 0 20px rgba(0, 242, 255, 0.4);
    --glow-blue: 0 0 20px rgba(0, 102, 255, 0.4);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}
/* RED TEAM MODE */
[data-theme="red"] {
    --primary-cyan: #ff0055; 
    --primary-blue: #ffaa00; 
    --glow-cyan: 0 0 20px rgba(255, 0, 85, 0.4);
    --alert-red: #ffffff;
}

/* --- 2. GLOBAL RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; cursor: crosshair; }
body {
    font-family: var(--font-body);
    /* EXACT GRADIENT REPLICATION */
    background: linear-gradient(90deg, #010205 0%, #020a18 40%, #0a2e38 100%);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    transition: background 0.5s ease;
}
/* Red Team Override */
body[data-theme="red"] {
    background: #050000;
}

/* CRT SCANLINE OVERLAY */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    z-index: 9998; /* Below Modal, Above Content */
    pointer-events: none;
    opacity: 0.3;
}

/* PRELOADER (BOOT SEQUENCE) */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #010205; z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    font-family: var(--font-mono); color: var(--primary-cyan); transition: opacity 0.5s ease;
}
.loader-text {
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.loader-bar { width: 300px; height: 4px; background: #333; position: relative; overflow: hidden; margin-top: 20px; }
.loader-progress {
    position: absolute; top: 0; left: 0; height: 100%; width: 0%;
    background: var(--primary-cyan); box-shadow: 0 0 10px var(--primary-cyan);
    animation: loadProgress 1.5s ease-in-out forwards;
}
@keyframes loadProgress { 0% { width: 0%; } 100% { width: 100%; } }

/* SCROLL PROGRESS BAR */
#scroll-progress {
    position: fixed;
    top: 0; right: 0;
    width: 4px;
    height: 0%;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
    z-index: 9997;
    transition: width 0.1s;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #010205; }
::-webkit-scrollbar-thumb { background: var(--primary-cyan); border-radius: 0px; }

/* Ambient Background Light Orbs */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    opacity: 0.4;
    animation: floatOrb 10s infinite alternate ease-in-out;
}
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary-blue); }
.orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--primary-cyan); animation-delay: -5s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* --- 3. TYPOGRAPHY & HACKER EFFECT --- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hacker-text { font-family: var(--font-mono); cursor: help; }

/* GLITCH EFFECT */
.glitch {
    position: relative;
    display: inline-block;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
}
.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--alert-red);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--primary-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(11px, 9999px, 21px, 0); }
    20% { clip: rect(90px, 9999px, 10px, 0); }
    40% { clip: rect(43px, 9999px, 82px, 0); }
    60% { clip: rect(14px, 9999px, 68px, 0); }
    80% { clip: rect(75px, 9999px, 29px, 0); }
    100% { clip: rect(5px, 9999px, 98px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(12px, 9999px, 5px, 0); }
    40% { clip: rect(89px, 9999px, 23px, 0); }
    60% { clip: rect(2px, 9999px, 45px, 0); }
    80% { clip: rect(48px, 9999px, 76px, 0); }
    100% { clip: rect(34px, 9999px, 11px, 0); }
}

.section-title {
    text-align: center; font-size: 3rem; margin-bottom: 80px;
    text-transform: uppercase; letter-spacing: 2px; position: relative;
}
.section-title::after {
    content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: var(--primary-cyan); box-shadow: var(--glow-cyan);
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; position: relative; }

/* --- 4. BUTTONS & INTERACTIONS --- */
.btn, .forminator-button {
    display: inline-block; padding: 14px 32px !important; text-decoration: none;
    font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; border-radius: 2px; transition: all 0.3s ease;
    position: relative; overflow: hidden; z-index: 1; font-size: 0.9rem; cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-primary, .forminator-button {
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--primary-cyan) !important;
    color: var(--primary-cyan); backdrop-filter: blur(5px);
}
.btn-primary:hover, .forminator-button:hover { background: var(--primary-cyan); color: #000; box-shadow: var(--glow-cyan); }
.btn-alert {
    background: #ff2a2a; color: white;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.5); border: 1px solid transparent;
}
.btn-alert:hover {
    transform: scale(1.05); box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
}

/* --- 5. GLASS HEADER --- */
header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1280px; background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px; z-index: 1000; padding: 15px 30px; transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
header.scrolled { top: 0; width: 100%; border-radius: 0; border-bottom: 1px solid rgba(0, 242, 255, 0.3); max-width: 100%; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 1px;}
.logo span { color: var(--primary-cyan); transition: color 0.5s; }

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; text-transform: uppercase;}
.nav-links a:not(.btn) {
    color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.85rem;
    transition: 0.3s; position: relative; font-family: var(--font-display); letter-spacing: 1px;
}
.nav-links a:not(.btn):hover { color: #fff; text-shadow: 0 0 10px rgba(0, 242, 255, 0.7); }

/* THEME SWITCH */
.theme-switch {
    display: flex; align-items: center; gap: 10px; margin-left: 10px;
    background: rgba(0,0,0,0.5); padding: 5px 10px; border-radius: 20px; border: 1px solid #333;
    cursor: pointer;
}
.switch-label { font-size: 0.6rem; font-family: var(--font-mono); color: var(--text-muted); }
.switch-toggle { width: 36px; height: 18px; background: #333; border-radius: 10px; position: relative; }
.switch-knob {
    width: 14px; height: 14px; background: var(--primary-cyan); border-radius: 50%;
    position: absolute; top: 2px; left: 2px; transition: 0.3s; box-shadow: 0 0 5px var(--primary-cyan);
}
[data-theme="red"] .switch-knob { left: 20px; background: #ff0055; box-shadow: 0 0 10px #ff0055; }

/* --- 6. SECTIONS --- */

/* HERO */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; padding-top: 80px; }
#particles-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.slide-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.slide {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    padding: 0 20px;
}
.slide.active { opacity: 1; visibility: visible; }
.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
}
.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: monospace; /* Tech feel */
}
.slider-dots {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}
.dot {
    width: 40px; height: 4px; /* Tech bars instead of circles */
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.glass-card {
    background: var(--bg-panel);
    border: var(--glass-border);
    border-radius: 4px;
    padding: 40px;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    cursor: crosshair;
    /* Corner accents */
    background-image: linear-gradient(var(--primary-cyan), var(--primary-cyan)), linear-gradient(var(--primary-cyan), var(--primary-cyan));
    background-size: 10px 1px, 1px 10px;
    background-position: top left, top left;
    background-repeat: no-repeat;
}
.glass-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 10px; height: 10px;
    border-bottom: 1px solid var(--primary-cyan);
    border-right: 1px solid var(--primary-cyan);
}
.glass-card:hover {
    background: var(--bg-panel-hover);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 15px rgba(0, 242, 255, 0.2);
    border-color: rgba(0, 242, 255, 0.3);
}
.card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.4));
    transform: translateZ(20px); 
}
.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    transform: translateZ(20px);
}
.glass-card p {
    color: var(--text-muted);
    font-size: 1rem;
    transform: translateZ(20px);
}

/* TEAM SECTION */
.team-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px;
}
.team-card {
    background: var(--bg-panel); border: var(--glass-border); border-radius: 4px;
    padding: 30px; text-align: center; transition: 0.3s;
    position: relative; overflow: hidden;
}
.team-card:hover {
    transform: translateY(-5px);
    background: var(--bg-panel-hover);
}
.role-forensics { border-bottom: 2px solid var(--primary-cyan); }
.role-law { border-bottom: 2px solid var(--primary-blue); }
.role-finance { border-bottom: 2px solid #ffaa00; } /* Gold */
.role-security { border-bottom: 2px solid var(--alert-red); }

.team-avatar {
    width: 80px; height: 80px; background: rgba(255,255,255,0.1); border-radius: 50%;
    margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff; border: 1px solid rgba(255,255,255,0.2);
}
.team-name { font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 5px; }
.team-role { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* TECH STACK */
.tech-stack-grid {
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px;
}
.tech-item {
    background: rgba(255,255,255,0.02); border: 1px solid #222; padding: 20px 40px;
    border-radius: 4px; text-align: center; transition: 0.3s;
    min-width: 150px;
}
.tech-item:hover {
    border-color: var(--primary-cyan); box-shadow: var(--glow-cyan); transform: scale(1.05);
}
.tech-name { font-family: var(--font-mono); color: #fff; font-weight: 600; display: block; }
.tech-type { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }

/* COMPLIANCE BAR */
.compliance-bar {
    border-top: 1px solid #222; border-bottom: 1px solid #222; background: rgba(0,0,0,0.5);
    padding: 30px 0; margin: 80px 0;
}
.compliance-grid {
    display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px;
}
.compliance-item {
    display: flex; align-items: center; gap: 10px; opacity: 0.6; transition: 0.3s;
}
.compliance-item:hover { opacity: 1; text-shadow: 0 0 10px var(--primary-cyan); }
.compliance-icon { font-size: 1.5rem; color: var(--primary-cyan); }
.compliance-text { font-family: var(--font-display); font-weight: 600; color: #fff; letter-spacing: 1px; }

/* LIVE NEWS FEED */
.news-container {
    background: rgba(1, 2, 5, 0.9);
    border: 1px solid var(--primary-cyan);
    height: 400px;
    overflow: hidden;
    position: relative;
    font-family: var(--font-mono);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}
[data-theme="red"] .news-container { background: rgba(20, 0, 0, 0.95); }

.news-header {
    padding: 15px;
    border-bottom: 1px solid var(--primary-cyan);
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0, 242, 255, 0.1);
}
.live-indicator {
    display: flex; align-items: center; gap: 8px; color: var(--alert-red); font-weight: bold;
}
.blink-dot {
    width: 10px; height: 10px; background: var(--alert-red); border-radius: 50%;
    box-shadow: 0 0 10px var(--alert-red);
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.news-feed-content {
    padding: 20px;
    height: 100%;
    overflow-y: hidden;
    display: flex; flex-direction: column-reverse;
    gap: 15px;
}
.news-item {
    border-left: 2px solid var(--primary-cyan);
    padding-left: 15px;
    opacity: 0;
    animation: slideInNews 0.5s forwards;
}
@keyframes slideInNews { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
.news-time { color: var(--primary-blue); font-size: 0.75rem; }
.news-type { color: var(--alert-red); font-weight: bold; margin-left: 10px; font-size: 0.75rem; }
.news-headline { display: block; color: #fff; margin-top: 5px; font-size: 0.95rem; }

/* --- GLOBAL MAP --- */
.map-container {
    position: relative; height: 400px; background: rgba(0,0,0,0.3); 
    border: 1px solid #222; border-radius: 4px; overflow: hidden; margin-top: 20px;
    display: flex; align-items: center; justify-content: center;
}
.map-grid {
    width: 100%; height: 100%;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.3;
}
.map-node {
    position: absolute; width: 10px; height: 10px; background: var(--primary-cyan);
    border-radius: 50%; box-shadow: 0 0 15px var(--primary-cyan);
    animation: pulseNode 2s infinite;
}
.map-node::after {
    content: attr(data-loc); position: absolute; top: -25px; left: 50%; transform: translateX(-50%);
    color: #fff; font-family: var(--font-mono); font-size: 0.7rem; white-space: nowrap;
    background: rgba(0,0,0,0.8); padding: 2px 5px; border: 1px solid var(--primary-cyan); opacity: 0; transition: 0.3s;
}
.map-node:hover::after { opacity: 1; top: -30px; }
@keyframes pulseNode { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } 100% { transform: scale(1); opacity: 1; } }


/* TECH STACK */
.trust-metrics {
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.metric h3 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.8);
    margin-bottom: 10px;
}
.metric p {
    color: var(--primary-cyan);
    font-family: monospace;
    text-transform: uppercase;
}

/* FAQ */
.faq-item { border-bottom: 1px solid #333; margin-bottom: 10px; }
.faq-question {
    width: 100%; text-align: left; background: rgba(255,255,255,0.02);
    padding: 20px; border: none; color: #fff; font-family: var(--font-display);
    font-size: 1.1rem; cursor: pointer; transition: 0.3s; display: flex; justify-content: space-between;
}
.faq-question:hover { background: rgba(255,255,255,0.05); color: var(--primary-cyan); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: rgba(0,0,0,0.4); }
.faq-answer p { padding: 20px; color: var(--text-muted); }
.faq-toggle-icon { transition: 0.3s; }
.faq-item.active .faq-toggle-icon { transform: rotate(180deg); color: var(--primary-cyan); }
.faq-item.active .faq-answer { max-height: 200px; }

/* --- 7. MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #050505;
    border: 1px solid var(--primary-cyan);
    width: 100%;
    max-width: 700px;
    padding: 40px;
    position: relative;
    transform: translateY(50px);
    transition: 0.4s ease;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.15);
    /* Tech corners */
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}
.modal-close:hover { color: var(--alert-red); }

.modal-content h2 {
    font-size: 2rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.modal-content p {
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* --- 8. SECURE TRANSMISSION (CONTACT) --- */
.secure-transmission {
    background: #0a0a0a;
    border-top: 1px solid var(--primary-cyan);
    padding: 60px 0;
    position: relative;
}
.secure-transmission::before {
    content: 'SECURE CHANNEL OPEN';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: var(--primary-cyan);
    padding: 0 20px;
    font-family: monospace;
    border: 1px solid var(--primary-cyan);
}
.terminal-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0,0,0,0.8);
    padding: 30px;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.form-group { margin-bottom: 20px; }
.form-label, .forminator-label {
    display: block;
    color: var(--primary-cyan);
    font-family: monospace;
    margin-bottom: 8px;
}
.terminal-input, .forminator-ui.forminator-design--default .forminator-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #555 !important;
    color: #fff;
    font-family: monospace;
    font-size: 1rem !important;
    outline: none;
    transition: border-color 0.3s;
}
.terminal-input:focus, .forminator-ui.forminator-design--default .forminator-input:focus,
.forminator-ui .forminator-textarea:focus {
    outline: none !important;
    border-color: var(--primary-cyan) !important;
    box-shadow: 0 2px 0 rgba(0, 242, 255, 0.2) !important;
}
.forminator-field-html p {
    font-size: 12px;
}

/* --- 9. FOOTER & TERMINAL --- */
footer { background: #010205; padding: 80px 0 30px 0; border-top: 1px solid #222; }
.system-terminal-container {
    background: rgba(1, 2, 5, 0.95); border: 1px solid var(--primary-cyan);
    padding: 15px; font-family: var(--font-mono); color: var(--primary-cyan);
    font-size: 0.85rem; height: 250px; display: flex; flex-direction: column;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8); overflow: hidden;
}
[data-theme="red"] .system-terminal-container { background: rgba(20, 0, 0, 0.95); }
.terminal-header { border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 10px; display: flex; justify-content: space-between; opacity: 0.7; }
.terminal-output { flex-grow: 1; overflow-y: auto; margin-bottom: 10px; scrollbar-width: thin; }
.terminal-input-line { display: flex; align-items: center; gap: 10px; border-top: 1px solid #333; padding-top: 10px; }
.term-input { background: transparent; border: none; color: #fff; font-family: var(--font-mono); flex-grow: 1; outline: none; font-size: 0.9rem; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 2fr; gap: 40px; margin-bottom: 60px; }
.footer-column h3 { color: #fff; margin-bottom: 25px; font-size: 1.1rem; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-column ul li a:hover { color: var(--primary-cyan); padding-left: 5px; }

/* Mobile Adjustments */
.mobile-menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.mobile-menu-toggle span { width: 30px; height: 3px; background: #fff; margin: 4px 0; transition: 0.3s; }

@media (max-width: 768px) {
    header { width: 100%; top: 0; border-radius: 0; padding: 15px; }
    .nav-links {
        position: fixed; left: 0; top: 70px; width: 100%;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column; padding: 40px;
        transform: translateY(-150%); transition: 0.4s;
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-menu-toggle { display: flex; }
    .hero h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .system-terminal { display: none; } /* Hide terminal on mobile to save space */
}

.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }