@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Fira+Code:wght@400;500;700&family=Space+Grotesk:wght@300;400;600&display=swap');

:root {
    --bg-dark: #060913;
    --bg-panel: rgba(10, 17, 34, 0.75);
    --bg-terminal: #070b16;
    --primary: #00f0ff;      /* Tactical Cyan */
    --secondary: #00ff66;    /* Forensic Green */
    --accent: #ff3b30;       /* Breach Alert Red */
    --warning: #ffb300;      /* Warning Amber */
    --text-main: #f1f5f9;
    --text-muted: #64748b;
    --text-cyber: #86efac;    /* Matrix light green */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --border-glow: rgba(0, 240, 255, 0.2);
    --border-glow-green: rgba(0, 255, 102, 0.2);
    --border-glow-red: rgba(255, 59, 48, 0.25);
    --border-cyber: rgba(255, 255, 255, 0.05);
}

/* Base Styles & Custom Cursor */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Cyber Grid & Canvas */
#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(3, 5, 12, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Custom Interactive Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 10px var(--primary);
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, background 0.3s, border-color 0.3s;
}

/* CRT Scanline Overlay */
.scanline {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.12) 50%,
        rgba(0, 0, 0, 0.12)
    );
    background-size: 100% 4px;
    z-index: 9997;
    pointer-events: none;
    opacity: 0.85;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid var(--border-cyber);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 8px var(--primary);
}

/* Unified Forensics Console Header (Replaces floating navbar + HUD) */
.forensic-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* Telemetry Row */
.telemetry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 30px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    border-bottom: 1px dashed rgba(0, 240, 255, 0.15);
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-value {
    color: var(--primary);
    font-weight: bold;
}

.hud-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
    animation: pulse 1.5s infinite;
}

.hud-pulse.alert {
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Navigation Row */
.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}

.nav-brand {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand span {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.nav-tabs {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-tabs a {
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-tabs a:hover, .nav-tabs a.active-tab {
    color: var(--primary);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: inset 0 0 8px rgba(0, 240, 255, 0.1);
    text-shadow: 0 0 5px var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1000;
}

.menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

/* Sections Grid Layout */
.section {
    padding: 120px 10% 80px 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.section-title::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--border-glow) 0%, transparent 100%);
}

.highlight {
    color: var(--secondary);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-cyber);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.02);
    pointer-events: none;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 240, 255, 0.1), 0 0 20px rgba(0, 240, 255, 0.05);
}

/* Custom Corner Accents for Panels */
.glass-panel::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
    pointer-events: none;
}

.panel-accent-bottom {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    pointer-events: none;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding-top: 180px;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.cyber-greeting {
    font-family: var(--font-mono);
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.2);
}

/* Glitch Title Animation */
.glitch-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 4px;
    color: #fff;
    position: relative;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch-title::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-title::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary), 0 2px var(--secondary);
    clip: rect(85px, 450px, 140px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.cyber-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cyber-subtitle span.cursor {
    animation: blink 1s step-end infinite;
    font-weight: bold;
    color: var(--primary);
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 28px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cyber-btn {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.cyber-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
    transform: translateY(-2px);
}

.cyber-btn-outline {
    background: rgba(0, 255, 102, 0.05);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
}

.cyber-btn-outline:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.6);
    transform: translateY(-2px);
}

/* Dossier About Section */
.dossier-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.dossier-avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dossier-avatar-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--border-glow);
    background: rgba(6, 9, 19, 0.8);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.dossier-avatar-wrapper i {
    font-size: 5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

/* Animated radar sweeps on avatar */
.dossier-avatar-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: radar-sweep 4s linear infinite;
}

.dossier-meta {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px dashed var(--border-cyber);
    padding-top: 15px;
}

.dossier-meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.dossier-meta-val {
    color: var(--primary);
}

.dossier-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dossier-header {
    border-bottom: 1px dashed var(--border-cyber);
    padding-bottom: 10px;
}

.dossier-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.dossier-subtitle {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 0.9rem;
}

.dossier-body p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.8;
    text-align: justify;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.dossier-grid-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-cyber);
    padding: 12px;
    border-radius: 4px;
}

.dossier-grid-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 4px;
}

.dossier-grid-value {
    color: #fff;
    font-weight: 500;
}

.dossier-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.dossier-social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-cyber);
    color: var(--text-main);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.dossier-social-btn:hover {
    color: var(--bg-dark);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-2px);
}

/* Service Logs (Experience) Timeline */
.timeline-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    font-family: var(--font-mono);
}

.timeline-logs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.log-entry {
    background: rgba(7, 11, 22, 0.9);
    border: 1px solid var(--border-cyber);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.log-entry.active-log {
    border-left-color: var(--secondary);
    box-shadow: inset 3px 0 0 var(--secondary);
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.75rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.log-timestamp {
    color: var(--text-muted);
}

.log-status {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.log-status.active::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--secondary);
}

.log-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.log-role {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}

.log-company {
    color: var(--primary);
}

.log-description {
    color: var(--text-main);
    font-size: 0.85rem;
    line-height: 1.6;
    font-family: var(--font-body);
}

/* Core Competencies (Skills) Dials & Grid */
.skills-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.skills-telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.telemetry-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-cyber);
    padding: 25px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.telemetry-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 15px solid var(--primary);
    border-left: 15px solid transparent;
    width: 0;
    height: 0;
}

.telemetry-card:nth-child(even)::before {
    border-top-color: var(--secondary);
}

.telemetry-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.telemetry-icon-box {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 240, 255, 0.03);
}

.telemetry-icon-box i {
    font-size: 1.25rem;
    color: var(--primary);
}

.telemetry-card:nth-child(even) .telemetry-icon-box i {
    color: var(--secondary);
}

.telemetry-card:nth-child(even) .telemetry-icon-box {
    border-color: rgba(0, 255, 102, 0.2);
    background: rgba(0, 255, 102, 0.03);
}

.telemetry-title {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.telemetry-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.telemetry-meter {
    margin-top: auto;
    font-family: var(--font-mono);
}

.meter-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.meter-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #0099ff);
    border-radius: 3px;
}

.telemetry-card:nth-child(even) .meter-fill {
    background: linear-gradient(90deg, var(--secondary), #00bb44);
}

/* Certifications Layout */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.cert-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-cyber);
    border-radius: 6px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.cert-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 30px rgba(0, 255, 102, 0.08);
    transform: translateY(-4px);
}

.cert-icon-wrapper {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-link {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.cert-link:hover {
    color: var(--secondary);
}

.cert-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 6px;
}

.cert-org {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.75rem;
    margin-bottom: 12px;
}

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

/* Case Files (Projects) Section styling */
.projects-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

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

.case-file-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-cyber);
    border-top: 3px solid var(--primary);
    border-radius: 4px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: var(--font-mono);
    transition: all 0.3s;
}

.case-file-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
    transform: translateY(-4px);
}

.case-badge-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.65rem;
}

.case-num {
    color: var(--primary);
}

.case-status-badge {
    background: rgba(0, 255, 102, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: bold;
}

.case-status-badge.in-progress {
    background: rgba(255, 179, 0, 0.1);
    color: var(--warning);
    border-color: var(--warning);
}

.case-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.case-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.case-description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.case-metadata {
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    font-size: 0.65rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-field span {
    color: var(--primary);
}

.case-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.case-btn {
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Forensic Simulator & Lab Lab layout */
.lab-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.lab-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-cyber);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.lab-panel-header {
    border-bottom: 1px dashed var(--border-cyber);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lab-panel-title {
    font-size: 1.3rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lab-panel-title i {
    color: var(--primary);
}

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

/* Carver Simulator Component styling */
.carver-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.carver-upload-zone {
    border: 2px dashed rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 240, 255, 0.01);
    transition: all 0.3s;
    cursor: pointer;
}

.carver-upload-zone:hover {
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.03);
}

.carver-upload-zone i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.8;
}

.carver-upload-zone h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
}

.carver-upload-zone p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.carver-console {
    background: var(--bg-terminal);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 4px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-cyber);
    height: 250px;
    display: flex;
    flex-direction: column;
}

.carver-console-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

.carver-console-body {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Decryptor Simulator Component */
.decryptor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.decryptor-input-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cyber-input {
    background: rgba(6, 9, 19, 0.8);
    border: 1px solid var(--border-cyber);
    border-radius: 4px;
    padding: 10px 15px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    width: 100%;
    outline: none;
    transition: all 0.3s;
}

.cyber-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.decryptor-display {
    background: var(--bg-terminal);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 4px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-cyber);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.matrix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(0, 255, 102, 0.08);
    font-size: 0.65rem;
    word-break: break-all;
    pointer-events: none;
    line-height: 1.1;
}

.decrypt-result-text {
    font-size: 1rem;
    font-weight: bold;
    z-index: 1;
    text-align: center;
}

.decrypt-success {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

/* Command Console Widget (Interactive Terminal) styling */
.terminal-window {
    background: var(--bg-terminal);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
}

.terminal-header {
    background: rgba(10, 17, 34, 0.9);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
}

.terminal-btn:nth-child(2) {
    background-color: var(--warning);
}

.terminal-btn:nth-child(3) {
    background-color: var(--secondary);
}

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

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-cyber);
    height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terminal-line {
    line-height: 1.5;
    word-break: break-all;
}

.terminal-prompt-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-prompt {
    color: var(--primary);
    white-space: nowrap;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    outline: none;
    flex-grow: 1;
    width: 100%;
}

/* Contact Section Overhaul */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.contact-indicator-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.contact-channel {
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid var(--border-cyber);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.contact-channel:hover {
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.05);
}

.contact-channel i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-channel-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.contact-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.contact-dossier-panel {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.contact-channels-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.pgp-text {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    word-break: break-all;
}

/* Footer styling */
.cyber-footer {
    border-top: 1px solid var(--border-cyber);
    padding: 30px 20px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(3, 5, 12, 0.9);
}

.footer-hash {
    margin-top: 5px;
    font-size: 0.65rem;
    color: var(--border-glow);
}

/* Animations declarations */
@keyframes blink {
    from, to { color: transparent }
    50% { color: var(--primary) }
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.4; }
}

@keyframes radar-sweep {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes glitch-anim {
    0% { clip: rect(74px, 9999px, 83px, 0); }
    5% { clip: rect(44px, 9999px, 7px, 0); }
    10% { clip: rect(32px, 9999px, 45px, 0); }
    15% { clip: rect(62px, 9999px, 91px, 0); }
    20% { clip: rect(98px, 9999px, 12px, 0); }
    25% { clip: rect(50px, 9999px, 14px, 0); }
    30% { clip: rect(82px, 9999px, 20px, 0); }
    35% { clip: rect(30px, 9999px, 63px, 0); }
    40% { clip: rect(100px, 9999px, 5px, 0); }
    45% { clip: rect(15px, 9999px, 88px, 0); }
    50% { clip: rect(69px, 9999px, 73px, 0); }
    55% { clip: rect(47px, 9999px, 90px, 0); }
    60% { clip: rect(25px, 9999px, 35px, 0); }
    65% { clip: rect(73px, 9999px, 98px, 0); }
    70% { clip: rect(80px, 9999px, 54px, 0); }
    75% { clip: rect(23px, 9999px, 75px, 0); }
    80% { clip: rect(86px, 9999px, 11px, 0); }
    85% { clip: rect(42px, 9999px, 60px, 0); }
    90% { clip: rect(88px, 9999px, 52px, 0); }
    95% { clip: rect(11px, 9999px, 97px, 0); }
    100% { clip: rect(60px, 9999px, 4px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(2px, 9999px, 55px, 0); }
    5% { clip: rect(66px, 9999px, 80px, 0); }
    10% { clip: rect(83px, 9999px, 10px, 0); }
    15% { clip: rect(41px, 9999px, 65px, 0); }
    20% { clip: rect(93px, 9999px, 30px, 0); }
    25% { clip: rect(11px, 9999px, 72px, 0); }
    30% { clip: rect(50px, 9999px, 90px, 0); }
    35% { clip: rect(74px, 9999px, 5px, 0); }
    40% { clip: rect(32px, 9999px, 60px, 0); }
    45% { clip: rect(88px, 9999px, 15px, 0); }
    50% { clip: rect(3px, 9999px, 98px, 0); }
    55% { clip: rect(64px, 9999px, 42px, 0); }
    60% { clip: rect(20px, 9999px, 75px, 0); }
    65% { clip: rect(97px, 9999px, 11px, 0); }
    70% { clip: rect(38px, 9999px, 52px, 0); }
    75% { clip: rect(81px, 9999px, 66px, 0); }
    80% { clip: rect(15px, 9999px, 93px, 0); }
    85% { clip: rect(59px, 9999px, 20px, 0); }
    90% { clip: rect(85px, 9999px, 47px, 0); }
    95% { clip: rect(27px, 9999px, 83px, 0); }
    100% { clip: rect(71px, 9999px, 3px, 0); }
}

/* Reveal Elements class for scroll observer */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .dossier-layout {
        grid-template-columns: 1fr;
    }
    .dossier-avatar-container {
        max-width: 320px;
        margin: 0 auto;
    }
    .carver-container, .decryptor-container, .contact-channels-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .custom-cursor, .cursor-glow {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
    
    .telemetry-row {
        padding: 6px 15px;
        font-size: 0.65rem;
    }
    .hud-item.mobile-hidden {
        display: none;
    }
    
    .nav-row {
        padding: 8px 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-tabs {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 9, 19, 0.98);
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
        border-bottom: 2px solid var(--primary);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-tabs.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .glitch-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .cyber-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .action-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 110px 6% 40px 6%;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .dossier-grid {
        grid-template-columns: 1fr;
    }

    .terminal-body {
        padding: 12px;
        font-size: 0.75rem;
        height: 300px;
    }
    .terminal-prompt-line {
        font-size: 0.75rem;
    }
    .terminal-input {
        font-size: 0.75rem;
    }

    .carver-console, .decryptor-display {
        padding: 12px;
        font-size: 0.7rem;
    }
    .carver-upload-zone {
        padding: 20px 10px;
    }
    
    .contact-channels-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .glitch-title {
        font-size: 1.9rem;
        letter-spacing: 1px;
    }
    .section {
        padding: 100px 4% 30px 4%;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .nav-row {
        padding: 6px 12px;
    }
}

