/* ==========================================================================
   DEVELOPER HUD DESIGN SYSTEM (VANILLA CSS)
   Aesthetic: Minimalist, tech-grid, high-performance, responsive
   ========================================================================== */

/* Theme Configuration & Tokens */
:root {
    /* Fonts */
    --font-title: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transition defaults */
    --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Dark Mode (Default) Color Tokens */
    --hue: 220;
    --bg-primary: hsl(var(--hue), 25%, 4%);
    --bg-secondary: hsl(var(--hue), 20%, 6%);
    --bg-panel: hsla(var(--hue), 25%, 8%, 0.5);
    --bg-panel-solid: hsl(var(--hue), 25%, 8%);
    --bg-input: hsla(var(--hue), 25%, 12%, 0.5);
    --border-color: hsla(var(--hue), 20%, 25%, 0.3);
    --border-color-hover: hsla(180, 100%, 50%, 0.4);
    
    --text-primary: hsl(var(--hue), 15%, 90%);
    --text-secondary: hsl(var(--hue), 10%, 65%);
    --text-dim: hsl(var(--hue), 10%, 45%);
    
    --neon-cyan: hsl(180, 100%, 50%);
    --neon-cyan-dim: hsla(180, 100%, 50%, 0.15);
    --neon-green: hsl(140, 100%, 45%);
    --neon-green-dim: hsla(140, 100%, 45%, 0.15);
    --neon-violet: hsl(270, 100%, 60%);
    --neon-violet-dim: hsla(270, 100%, 60%, 0.15);
    --neon-glow: rgba(0, 242, 254, 0.12);
    --text-gradient: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-violet) 100%);
    --panel-glow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --scrollbar-thumb: hsl(var(--hue), 20%, 20%);
}

/* Light Theme Variables */
body.light-theme {
    --bg-primary: hsl(var(--hue), 20%, 94%);
    --bg-secondary: hsl(var(--hue), 20%, 90%);
    --bg-panel: rgba(255, 255, 255, 0.6);
    --bg-panel-solid: hsl(var(--hue), 20%, 97%);
    --bg-input: rgba(255, 255, 255, 0.9);
    --border-color: hsla(var(--hue), 20%, 70%, 0.35);
    --border-color-hover: hsla(270, 100%, 60%, 0.4);

    --text-primary: hsl(var(--hue), 30%, 10%);
    --text-secondary: hsl(var(--hue), 20%, 35%);
    --text-dim: hsl(var(--hue), 15%, 50%);

    --neon-cyan: hsl(200, 100%, 45%);
    --neon-cyan-dim: hsla(200, 100%, 45%, 0.15);
    --neon-green: hsl(140, 90%, 35%);
    --neon-green-dim: hsla(140, 90%, 35%, 0.15);
    --neon-violet: hsl(270, 90%, 55%);
    --neon-violet-dim: hsla(270, 90%, 55%, 0.15);
    --neon-glow: rgba(138, 43, 226, 0.08);
    --text-gradient: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-violet) 100%);
    --panel-glow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --scrollbar-thumb: hsl(var(--hue), 20%, 80%);
}

/* CSS Reset & Core Styling */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

body.loading-state {
    overflow: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Background Layers */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    pointer-events: none;
}

.hud-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    background: 
        linear-gradient(rgba(0, 0, 0, 0) 98%, var(--border-color) 98%),
        linear-gradient(90deg, rgba(0, 0, 0, 0) 98%, var(--border-color) 98%);
    background-size: 50px 50px;
    opacity: 0.4;
}

/* Boot / Loading Overlay */
.boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: hsl(var(--hue), 25%, 3%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.boot-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.boot-terminal {
    width: 100%;
    max-width: 500px;
    background: hsl(var(--hue), 25%, 5%);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px var(--neon-cyan-dim);
    position: relative;
    border-radius: 4px;
}

.boot-line {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    display: none;
    letter-spacing: 0.5px;
}

.boot-line.visible {
    display: block;
    animation: text-blink-in 0.15s steps(3);
}

.boot-loading-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.bar-progress {
    height: 100%;
    width: 0;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.1s linear;
}

.btn-enter {
    width: 100%;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    padding: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: all var(--transition-fast);
    outline: none;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.1);
}

.btn-enter:hover:not(.disabled) {
    background: var(--neon-cyan);
    color: hsl(var(--hue), 25%, 3%);
    box-shadow: 0 0 20px var(--neon-cyan);
    text-shadow: none;
}

.btn-enter.disabled {
    border-color: var(--border-color);
    color: var(--text-dim);
    cursor: not-allowed;
    box-shadow: none;
}

/* Typography Utilities */
.font-title { font-family: var(--font-title); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.font-size-xs { font-size: 0.75rem; }

/* Sticky Header (Mobile Menu & Theme control) */
.hud-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 100;
    transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.hud-logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    animation: core-pulse 1.8s infinite ease-in-out;
}

.hud-tech-version {
    font-size: 0.65rem;
    border: 1px solid var(--border-color);
    padding: 1px 4px;
    margin-left: 0.5rem;
    color: var(--text-dim);
}

.hud-controls {
    display: flex;
    gap: 0.8rem;
}

.hud-btn-icon {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.hud-btn-icon:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-dim);
}

/* Sidebar HUD Navigation (Desktop) */
.hud-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--border-color);
    z-index: 99;
    padding: 3rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background var(--transition-smooth), border-color var(--transition-smooth);
}

.hud-sidebar-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hud-avatar-frame {
    position: relative;
    width: 50px;
    height: 50px;
}

.hud-avatar-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    animation: rotate-pulse 4s infinite linear;
}

.hud-avatar-box {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}

.avatar-init {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--neon-cyan);
}

.hud-user-title h2 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hud-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.nav-num {
    color: var(--text-dim);
    font-size: 0.7rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-cyan);
    padding-left: 6px;
}

.nav-link.active .nav-num {
    color: var(--neon-cyan);
    font-weight: bold;
}

.hud-sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.hud-readout-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.readout-label {
    color: var(--text-dim);
}

/* Main Content Layout */
.hud-content {
    margin-left: 280px;
    padding: 80px 4rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 7rem;
    position: relative;
    z-index: 1;
}

/* HUD Panels & Aesthetics */
.hud-section {
    opacity: 0;
    transform: translateY(30px);
    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);
}

.hud-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hud-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 3rem;
    position: relative;
    box-shadow: var(--panel-glow);
    border-radius: 4px;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hud-panel:hover {
    border-color: var(--border-color-hover);
}

.panel-border-top {
    position: absolute;
    top: -1px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan-dim), var(--neon-cyan), var(--neon-cyan-dim), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.hud-panel:hover .panel-border-top {
    opacity: 1;
}

/* Bracket corners */
.panel-corners::before, .panel-corners::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--text-dim);
    border-style: solid;
    pointer-events: none;
    transition: border-color var(--transition-fast);
}

.hud-panel:hover .panel-corners::before,
.hud-panel:hover .panel-corners::after {
    border-color: var(--neon-cyan);
}

/* Top-Left and Bottom-Right corner brackets */
.panel-corners::before {
    top: 5px;
    left: 5px;
    border-width: 1px 0 0 1px;
}
.panel-corners::after {
    bottom: 5px;
    right: 5px;
    border-width: 0 1px 1px 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.title-num {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-size: 1rem;
}

/* Buttons */
.hud-btn {
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hud-btn-primary {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-dim);
}

.hud-btn-primary:hover {
    background: var(--neon-cyan);
    color: hsl(var(--hue), 25%, 4%);
    box-shadow: 0 0 20px var(--neon-cyan);
}

.hud-btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    margin-left: 1rem;
}

.hud-btn-secondary:hover {
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.btn-icon {
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 1rem;
}

.hero-panel {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-tech-details {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 0.65rem;
    display: flex;
    gap: 1.5rem;
}

.hero-welcome {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1.5px;
}

.hero-name {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}

.hero-role-wrapper {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
}

.role-cursor {
    color: var(--neon-cyan);
    margin-left: 4px;
    animation: flash 1s infinite;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
}

/* ==========================================================================
   ABOUT SECTION & DIAGNOSTICS
   ========================================================================== */
.hud-panel-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
}

.bio-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.bio-content p strong {
    color: var(--text-primary);
}

.edu-card {
    margin-top: 2.5rem;
    padding: 1.2rem;
    background: rgba(0,0,0,0.15);
    border-left: 2px solid var(--neon-cyan);
    display: flex;
    gap: 1.2rem;
    align-items: center;
    border-radius: 0 4px 4px 0;
}

.edu-icon {
    font-size: 1.5rem;
}

.edu-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.edu-inst {
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.edu-date {
    margin-top: 0.4rem;
    color: var(--neon-cyan);
}

/* Diagnostics HUD Panel */
.diag-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.diag-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    gap: 1rem;
}

.diag-label {
    width: 120px;
    color: var(--text-secondary);
}

.diag-bar {
    flex-grow: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.diag-bar-fill {
    height: 100%;
    background: var(--neon-cyan);
    box-shadow: 0 0 6px var(--neon-cyan-dim);
    border-radius: 3px;
}

.diag-value {
    width: 40px;
    text-align: right;
    color: var(--neon-cyan);
}

.diag-status-console {
    background: hsl(var(--hue), 25%, 3%);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.console-header {
    background: hsl(var(--hue), 20%, 8%);
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border-color);
}

.console-body {
    padding: 0.8rem;
    height: 120px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.console-line {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
    word-break: break-all;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skills-category {
    background: rgba(0,0,0,0.12);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.skills-category:hover {
    border-color: var(--neon-cyan-dim);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.03);
}

.category-header {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    font-size: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan-dim);
    transform: translateY(-2px);
}

/* ==========================================================================
   WORKS / PROJECTS SECTION (Awwwards Style List Menu)
   ========================================================================== */
.works-list {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.works-item {
    border-bottom: 1px solid var(--border-color);
    padding: 2.2rem 0;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-smooth);
}

.works-item:first-child {
    border-top: 1px solid var(--border-color);
}

.works-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.works-year {
    color: var(--neon-cyan);
}

.works-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
    transition: transform var(--transition-smooth), color var(--transition-smooth);
    display: inline-block;
}

.works-desc {
    font-size: 0.95rem;
    max-width: 700px;
    transition: color var(--transition-fast);
}

.works-action {
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-smooth);
}

/* Hover effects of list items */
.works-item:hover {
    border-bottom-color: var(--neon-cyan);
}

.works-item:hover .works-title {
    transform: translateX(10px);
    color: var(--neon-cyan);
}

.works-item:hover .works-desc {
    color: var(--text-primary);
}

.works-item:hover .works-action {
    opacity: 1;
    transform: translateX(10px);
    color: var(--neon-cyan);
}

/* Cursor following Floating Image Preview */
.project-cursor-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 200px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 25px var(--neon-cyan-dim);
    border-radius: 4px;
}

.project-cursor-preview.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.preview-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--bg-secondary);
}

.preview-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.preview-hud-layer {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0,0,0,0.7);
    color: var(--neon-cyan);
    font-size: 0.6rem;
    padding: 2px 6px;
    border: 1px solid var(--neon-cyan-dim);
    letter-spacing: 1px;
}

/* ==========================================================================
   CERTIFICATIONS SECTION
   ========================================================================== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    background: rgba(0,0,0,0.12);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all var(--transition-fast);
}

.cert-card:hover {
    border-color: var(--neon-cyan-dim);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.03);
    transform: translateY(-2px);
}

.cert-badge {
    font-size: 1.4rem;
}

.cert-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cert-issuer {
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.cert-date {
    margin-top: 0.5rem;
    color: var(--neon-cyan);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a.info-value:hover {
    color: var(--neon-cyan);
}

.hud-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan-dim);
}

/* ==========================================================================
   SPECIFICATIONS MODAL (CASE STUDIES)
   ========================================================================== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 8, 0.8);
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 85vh;
    background: var(--bg-panel-solid);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 30px 70px rgba(0,0,0,0.8), 0 0 40px var(--neon-cyan-dim);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-modal.active .modal-wrapper {
    transform: scale(1);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-title {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--neon-cyan);
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

/* Modal Content Styles */
.modal-body h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.modal-body .modal-subtitle {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.modal-body img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.modal-body h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
}

.modal-body p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.modal-body li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none !important;
    padding: 0 !important;
}

.modal-body .tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid var(--neon-cyan-dim);
    background: var(--neon-cyan-dim);
    color: var(--neon-cyan);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
}

body.light-theme .modal-body .tech-tag {
    background: var(--border-color);
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.hud-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes core-pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 10px var(--neon-cyan); }
}

@keyframes rotate-pulse {
    0% { transform: rotate(0deg); opacity: 0.6; }
    50% { transform: rotate(180deg); opacity: 1; border-color: var(--neon-violet); }
    100% { transform: rotate(360deg); opacity: 0.6; }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes text-blink-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE OVERRIDES)
   ========================================================================== */
@media screen and (min-width: 1024px) {
    .hud-header {
        display: none; /* Hide top header on desktop */
    }
}

@media screen and (max-width: 1023px) {
    /* Main Layout */
    .hud-sidebar {
        transform: translateX(-100%);
        width: 280px;
        height: 100vh;
        top: 60px;
        padding-top: 1.5rem;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .hud-sidebar.active {
        transform: translateX(0);
    }
    
    .hud-content {
        margin-left: 0;
        padding: 90px 1.5rem 3rem 1.5rem;
        gap: 5rem;
    }
    
    .hud-panel {
        padding: 1.8rem;
    }
    
    /* Layout Adaptations */
    .hud-panel-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Typography Adjustments */
    .hero-name {
        font-size: 2.8rem;
    }
    
    .hero-role-wrapper {
        font-size: 1.6rem;
        height: 2.4rem;
    }
    
    .works-title {
        font-size: 1.4rem;
    }
    
    .project-cursor-preview {
        display: none !important; /* Disable Awwwards-style hover preview on mobile touch screens */
    }
    
    .modal-wrapper {
        height: 90vh;
        max-width: 95%;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body img {
        height: 200px;
    }
    
    .hud-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
}
