/* ==========================================================================
   Aswin M S - Modern Cybersecurity Workstation OS & Terminal Design System
   ========================================================================== */

:root {
    --bg-desktop: #030712;
    --bg-terminal: rgba(6, 12, 24, 0.94);
    --bg-terminal-inner: #040813;
    --bg-window: rgba(8, 14, 28, 0.92);
    --bg-window-active: rgba(11, 20, 42, 0.97);
    --bg-titlebar: rgba(13, 27, 54, 0.96);
    --bg-titlebar-active: linear-gradient(90deg, rgba(0, 35, 70, 0.98) 0%, rgba(0, 85, 140, 0.88) 100%);
    --bg-taskbar: rgba(5, 10, 22, 0.92);
    --bg-card: rgba(13, 25, 48, 0.7);
    --bg-card-hover: rgba(18, 38, 72, 0.9);

    --accent-cyan: #00f0ff;
    --accent-cyan-dim: rgba(0, 240, 255, 0.15);
    --accent-cyan-glow: rgba(0, 240, 255, 0.4);
    --accent-blue: #0088ff;
    --accent-green: #00ff88;
    --accent-green-dim: rgba(0, 255, 136, 0.15);
    --accent-red: #ff3366;
    --accent-yellow: #ffcc00;
    --accent-purple: #9d4edd;

    --text-primary: #f0f6fc;
    --text-secondary: #8b9bb4;
    --text-muted: #57657a;
    --text-cyan: #00f0ff;
    --text-green: #00ff88;

    --border-color: rgba(0, 240, 255, 0.25);
    --border-active: rgba(0, 240, 255, 0.65);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --shadow-window: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 240, 255, 0.12);
    --shadow-window-active: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.28);
    --shadow-glow: 0 0 15px rgba(0, 240, 255, 0.4);

    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'VT323', monospace;
    --font-retro: 'VT323', monospace;

    --taskbar-height: 48px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-desktop);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.5;
    user-select: none;
    -webkit-user-select: none;
}

/* Allow text selection in terminals and reading areas */
.landing-terminal-body, .terminal-logs, .terminal-logs-stream, .bio-text, .exp-desc, .project-desc {
    user-select: text !important;
    -webkit-user-select: text !important;
}

/* Matrix Background Canvas */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.75;
    transition: opacity 0.4s ease;
}

#matrix-canvas.dimmed {
    opacity: 0.2;
}

/* Utility Colors & Text */
.text-cyan { color: var(--accent-cyan) !important; }
.text-green { color: var(--accent-green) !important; }
.text-red { color: var(--accent-red) !important; }
.text-yellow { color: var(--accent-yellow) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ==========================================================================
   1. LANDING TERMINAL HERO EXPERIENCE (Initial Landing Page)
   ========================================================================== */
.landing-terminal-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at 50% 40%, rgba(0, 30, 60, 0.4) 0%, rgba(3, 7, 18, 0.85) 80%);
    backdrop-filter: blur(8px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-terminal-view.fade-out {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
}

.landing-terminal-frame {
    width: 100%;
    max-width: 1040px;
    height: 88vh;
    max-height: 780px;
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 240, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: terminalEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes terminalEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Landing Terminal Header */
.landing-terminal-header {
    height: 44px;
    background: var(--bg-titlebar);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    flex-shrink: 0;
    user-select: none;
}

.term-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.term-status-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseLed 2s infinite ease-in-out;
}

@keyframes pulseLed {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.term-header-title {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.6px;
}

.term-badge {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.35);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.term-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.term-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.desktop-launch-btn {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 136, 255, 0.25));
    border-color: var(--accent-cyan);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.desktop-launch-btn:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), rgba(0, 136, 255, 0.5));
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
}

.desktop-launch-btn .btn-icon {
    width: 15px;
    height: 15px;
}

.window-decor-dots {
    display: flex;
    gap: 6px;
}

.window-decor-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-decor-dots .dot.yellow { background: var(--accent-yellow); opacity: 0.8; }
.window-decor-dots .dot.green { background: var(--accent-green); opacity: 0.8; }

/* Landing Terminal Body / Shell */
.landing-terminal-body {
    flex: 1;
    background: var(--bg-terminal-inner);
    padding: 16px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-size: 13.5px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    cursor: text;
}

.landing-terminal-body::-webkit-scrollbar {
    width: 7px;
}

.landing-terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.landing-terminal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 4px;
}

.landing-terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.45);
}

/* Boot Sequence Logs */
.landing-boot-container {
    margin-bottom: 12px;
    position: relative;
}

.boot-logs-text {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: var(--accent-cyan);
}

.boot-log-item {
    margin-bottom: 4px;
}

.boot-log-item .tag-ok {
    color: var(--accent-green);
    font-weight: 700;
}

.boot-log-item .tag-info {
    color: var(--accent-cyan);
    font-weight: 700;
}

.boot-skip-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 11px;
    cursor: pointer;
    margin-top: 6px;
    transition: all var(--transition-fast);
}

.boot-skip-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* Interactive Stream Logs */
.terminal-logs-stream {
    flex: 1;
    min-height: 40px;
}

.term-entry {
    margin-bottom: 12px;
}

.term-echo {
    color: #ffffff;
    margin-bottom: 4px;
}

.term-response {
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-primary);
    line-height: 1.55;
}

/* Terminal ASCII Banner */
.term-ascii {
    color: var(--accent-cyan);
    font-size: 11px;
    line-height: 1.15;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
    margin: 8px 0;
    overflow-x: auto;
}

/* Terminal Neofetch Layout */
.neofetch-container {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.neofetch-art {
    color: var(--accent-cyan);
    font-size: 11px;
    line-height: 1.15;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    flex-shrink: 0;
}

.neofetch-info {
    font-size: 13px;
    line-height: 1.6;
}

.neofetch-info strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Interactive Prompt Row */
.landing-prompt-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.prompt-prefix-line {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 2px;
}

.prompt-user {
    font-weight: 700;
    color: var(--accent-cyan);
}

.prompt-conn {
    color: rgba(0, 240, 255, 0.6);
}

.prompt-dir {
    font-weight: 600;
    color: var(--accent-green);
}

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

.prompt-arrow {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.cyber-cmd-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 14px;
    caret-color: var(--accent-green);
    letter-spacing: 0.3px;
}

.cyber-cmd-input::placeholder {
    color: rgba(139, 155, 180, 0.45);
    font-size: 12.5px;
}

/* Quick Command Pills */
.landing-terminal-pills {
    height: 48px;
    background: rgba(10, 18, 36, 0.95);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.landing-terminal-pills::-webkit-scrollbar {
    display: none;
}

.pills-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.pills-track {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmd-pill {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--text-cyan);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.cmd-pill:hover {
    background: rgba(0, 240, 255, 0.25);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.cmd-pill.highlight {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 136, 255, 0.35));
    border-color: var(--accent-cyan);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.cmd-pill.highlight:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(0, 136, 255, 0.6));
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.6);
}

.cmd-pill.danger {
    background: rgba(255, 51, 102, 0.12);
    border-color: rgba(255, 51, 102, 0.35);
    color: var(--accent-red);
}

.cmd-pill.danger:hover {
    background: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.5);
}

/* ==========================================================================
   2. DESKTOP WORKSPACE (Windows-Style Multi-Window Environment)
   ========================================================================== */
.desktop {
    position: relative;
    width: 100vw;
    height: calc(100vh - var(--taskbar-height));
    overflow: hidden;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.desktop.fade-in {
    animation: desktopFadeIn 0.35s ease forwards;
}

@keyframes desktopFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Desktop Shortcuts (Windows-Style Grid Layout) */
.desktop-shortcuts {
    position: absolute;
    top: 20px;
    left: 20px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, 86px);
    grid-auto-columns: 88px;
    gap: 10px 18px;
    max-height: calc(100vh - var(--taskbar-height) - 40px);
    max-width: calc(100vw - 40px);
    z-index: 10;
    pointer-events: auto;
    box-sizing: border-box;
}

.shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 88px;
    height: 86px;
    padding: 6px 4px 4px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    outline: none;
    position: relative;
    box-sizing: border-box;
    user-select: none;
}

.shortcut-item:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.35);
    transform: translateY(-2px);
}

.shortcut-item:active,
.shortcut-item.selected {
    background: rgba(0, 240, 255, 0.22);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.shortcut-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.shortcut-item:hover .shortcut-icon {
    transform: scale(1.05);
}

.shortcut-icon svg {
    width: 24px;
    height: 24px;
}

/* Custom Icon Theming */
.icon-bio {
    background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
    color: #ffffff;
}

.icon-pdf {
    background: linear-gradient(135deg, #e52d27, #b31217);
    color: #ffffff;
}

.icon-pdf .pdf-tag {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #ffffff;
    color: #b31217;
    font-size: 8px;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 1px 3px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.icon-experience {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    color: #ffffff;
    border: 1px solid rgba(0, 240, 255, 0.4);
}

.icon-experience .badge-tag {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: var(--accent-cyan);
    color: #030712;
    font-size: 8px;
    font-weight: 800;
    font-family: var(--font-mono);
    padding: 1px 4px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.icon-projects {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #ffffff;
}

.icon-skills {
    background: linear-gradient(135deg, #8a2387, #e94057, #f27121);
    color: #ffffff;
}

.icon-terminal {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.icon-cli-screen {
    background: linear-gradient(135deg, #1f4037, #99f2c8);
    color: #030712;
    border: 1px solid rgba(0, 255, 136, 0.5);
}

.icon-contact {
    background: linear-gradient(135deg, #4776e6, #8e54e9);
    color: #ffffff;
}

.icon-thm {
    background: #192231;
    color: #a22;
    border: 1px solid #eb2323;
}
.icon-thm svg {
    color: #ea3030;
}

.icon-github {
    background: #181717;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-linkedin {
    background: #0077b5;
    color: #ffffff;
}

.icon-x {
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.icon-x svg {
    width: 20px;
    height: 20px;
}

.icon-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.icon-discord {
    background: #5865F2;
    color: #ffffff;
}

.shortcut-label {
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.9);
    word-break: break-word;
    width: 100%;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 27px;
}

/* ==========================================================================
   3. MULTI-WINDOW MANAGER SYSTEM
   ========================================================================== */
.windows-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.os-window {
    position: absolute;
    display: flex;
    flex-direction: column;
    background: var(--bg-window);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-window);
    overflow: hidden;
    pointer-events: auto;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    min-width: 320px;
    min-height: 220px;
}

.os-window.active-window {
    background: var(--bg-window-active);
    border-color: var(--border-active);
    box-shadow: var(--shadow-window-active);
}

.os-window.minimized {
    transform: scale(0.7) translateY(200px);
    opacity: 0;
    pointer-events: none;
}

.os-window.maximized {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

/* Title Bar */
.window-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    padding: 0 10px 0 12px;
    background: var(--bg-titlebar);
    border-bottom: 1px solid var(--border-color);
    cursor: grab;
    user-select: none;
    position: relative;
    flex-shrink: 0;
}

.os-window.active-window .window-titlebar {
    background: var(--bg-titlebar-active);
    border-bottom-color: var(--accent-cyan);
}

.window-titlebar:active {
    cursor: grabbing;
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    pointer-events: none;
}

.titlebar-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.titlebar-icon svg {
    width: 16px;
    height: 16px;
}

.titlebar-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
}

.os-window.active-window .titlebar-title {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* Window Action Controls */
.titlebar-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: auto;
}

.win-btn {
    width: 28px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.win-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.win-btn.close-btn:hover {
    background: var(--accent-red);
    color: #ffffff;
}

.win-btn svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}

/* Window Content Body */
.window-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    color: var(--text-primary);
}

.window-body::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.window-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.window-body::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.25);
    border-radius: 4px;
}

.window-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.5);
}

.window-resize-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    cursor: nwse-resize;
    z-index: 10;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.4) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0.7;
}

/* ==========================================================================
   4. APPLICATIONS UI VIEWS
   ========================================================================== */

/* Biography Application */
.bio-app {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bio-header-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.bio-avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0052d4, #4364f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    border: 2px solid var(--accent-cyan);
    flex-shrink: 0;
}

.bio-avatar svg {
    width: 42px;
    height: 42px;
}

.bio-title-group h1 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bio-subtitle {
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.bio-college {
    color: var(--text-secondary);
    font-size: 12.5px;
}

.bio-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.stat-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color var(--transition-fast);
}

.stat-pill:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
}

.stat-icon {
    font-size: 20px;
}

.stat-info .stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info .stat-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-cyan);
}

.bio-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 16px 20px;
    border-radius: var(--radius-md);
}

.bio-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bio-section-title::before {
    content: "■";
    color: var(--accent-cyan);
    font-size: 10px;
}

.bio-text {
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 13px;
    margin-bottom: 10px;
}

.bio-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bio-chip {
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
    font-family: var(--font-mono);
}

.bio-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.cyber-btn {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 136, 255, 0.25));
    border: 1px solid var(--accent-cyan);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.cyber-btn:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(0, 136, 255, 0.45));
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Experience & Internship Application */
.experience-app {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.exp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue));
}

.exp-card:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.exp-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.exp-org-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.exp-org-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exp-role-title {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 600;
}

.exp-badge-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exp-year-badge {
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.exp-type-badge {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: var(--accent-green);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.exp-desc {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.6;
}

.exp-highlights-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 4px;
}

.exp-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.exp-tag-item {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.exp-tag-item::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
}

/* Resume PDF Viewer Application */
.resume-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #11141d;
}

.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    background: #1a202c;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.pdf-file-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-mono);
}

.pdf-file-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent-red);
}

.pdf-controls {
    display: flex;
    gap: 8px;
}

.pdf-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pdf-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.pdf-btn svg {
    width: 13px;
    height: 13px;
}

.pdf-frame-container {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background: #2b2b2b;
}

.pdf-frame-container iframe,
.pdf-frame-container embed,
.pdf-frame-container object {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Projects Application */
.projects-app {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.project-card:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}

.project-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.project-badge {
    font-size: 10.5px;
    font-family: var(--font-mono);
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-red {
    background: rgba(255, 51, 102, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(255, 51, 102, 0.3);
}

.badge-green {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-blue {
    background: rgba(0, 136, 255, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 136, 255, 0.3);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.tag-item {
    font-size: 11px;
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-cyan);
    padding: 2px 6px;
    border-radius: 4px;
}

.project-links {
    display: flex;
    gap: 10px;
}

/* Skills & Arsenal Application */
.skills-app {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skills-category {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.skills-category-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.skill-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.skill-box:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    transform: translateY(-1px);
}

/* In-Window Terminal App */
.terminal-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #030712;
    font-family: var(--font-mono);
    color: #e6edf3;
    padding: 14px 16px;
    font-size: 13px;
    box-sizing: border-box;
}

.terminal-logs {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: var(--font-mono);
    color: #c9d1d9;
    user-select: text !important;
}

.terminal-logs::-webkit-scrollbar {
    width: 6px;
}

.terminal-logs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}

.terminal-logs::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 3px;
}

.terminal-logs::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.6);
}

.term-entry {
    margin-top: 10px;
    margin-bottom: 4px;
    line-height: 1.45;
}

.term-response {
    margin-top: 4px;
    margin-bottom: 10px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    color: #e6edf3;
}

.term-response a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.term-response a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--accent-cyan);
}

.terminal-prompt-line {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    padding-top: 8px;
}

.prompt-prefix-line {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.prompt-user {
    color: var(--accent-cyan);
    font-weight: 600;
}

.prompt-conn {
    color: var(--text-muted);
}

.prompt-dir {
    color: var(--accent-green);
    font-weight: 600;
}

.term-window-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt-arrow {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.term-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 13px;
    caret-color: var(--accent-cyan);
}

.neofetch-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 8px 0;
    flex-wrap: wrap;
}

.neofetch-art {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 11.5px;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.neofetch-info {
    line-height: 1.65;
    font-size: 12.5px;
    color: #e6edf3;
}

/* Contact Application */
.contact-app {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-info .contact-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.contact-card-info .contact-handle {
    font-size: 11.5px;
    color: var(--text-secondary);
}

/* ==========================================================================
   5. TASKBAR & START MENU
   ========================================================================== */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: var(--taskbar-height);
    background: var(--bg-taskbar);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.start-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 80, 160, 0.25));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-cyan);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    transition: all var(--transition-fast);
}

.start-btn:hover,
.start-btn.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), rgba(0, 136, 255, 0.5));
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    color: #ffffff;
}

.start-btn-icon svg {
    width: 18px;
    height: 18px;
}

.taskbar-apps {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    margin: 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
}

.taskbar-apps::-webkit-scrollbar {
    display: none;
}

.taskbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    min-width: 130px;
    max-width: 190px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.taskbar-item:hover {
    background: rgba(0, 240, 255, 0.12);
    color: var(--text-primary);
    border-color: rgba(0, 240, 255, 0.3);
}

.taskbar-item.active {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--accent-cyan);
    color: #ffffff;
    box-shadow: inset 0 -2px 0 0 var(--accent-cyan);
}

.taskbar-item.minimized {
    opacity: 0.65;
    background: transparent;
}

.taskbar-item-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.taskbar-item-icon svg {
    width: 16px;
    height: 16px;
}

.taskbar-item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* System Tray */
.system-tray {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.tray-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: default;
}

.tray-pill.term-switcher-pill {
    cursor: pointer;
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    transition: all var(--transition-fast);
}

.tray-pill.term-switcher-pill:hover {
    background: rgba(0, 240, 255, 0.25);
    border-color: var(--accent-cyan);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.tray-pill.security-pill {
    color: var(--accent-green);
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.08);
}

.tray-pill svg {
    width: 14px;
    height: 14px;
}

.tray-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--accent-cyan);
    padding: 0 4px;
    line-height: 1.25;
}

.tray-clock #clock-date {
    font-size: 9.5px;
    color: var(--text-secondary);
}

.show-desktop-btn {
    width: 10px;
    height: 36px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    margin-left: 4px;
}

.show-desktop-btn:hover {
    background: rgba(0, 240, 255, 0.3);
}

/* Start Menu */
.start-menu {
    position: fixed;
    bottom: calc(var(--taskbar-height) + 10px);
    left: 12px;
    width: 390px;
    background: rgba(10, 16, 32, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 240, 255, 0.2);
    z-index: 1001;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: startMenuOpen 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes startMenuOpen {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.start-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0052d4, #00f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    flex-shrink: 0;
}

.user-avatar svg {
    width: 26px;
    height: 26px;
}

.user-details .user-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.user-details .user-role {
    font-size: 11.5px;
    color: var(--accent-cyan);
    display: block;
    line-height: 1.35;
    margin-top: 1px;
}

.user-details .user-badge {
    font-size: 10px;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

.start-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.start-search-box .search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
}

.start-search-box input {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 12px 8px 36px;
    color: #ffffff;
    font-size: 12.5px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.start-search-box input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.start-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}

.start-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.start-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
}

.start-app-item:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.start-app-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.start-app-icon svg {
    width: 18px;
    height: 18px;
}

.start-app-item span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
}

.start-links-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.start-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 12px;
    transition: background var(--transition-fast);
}

.start-link-row:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
}

.start-link-name {
    font-weight: 600;
}

.start-link-sub {
    font-size: 10.5px;
    color: var(--text-muted);
}

.start-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.sys-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    padding: 6px 10px;
    font-size: 11.5px;
    cursor: pointer;
}

.sys-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-cyan);
}

.shutdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid rgba(255, 51, 102, 0.35);
    color: var(--accent-red);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.shutdown-btn:hover {
    background: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
}

.shutdown-btn svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   6. CONTEXT MENU & SHUTDOWN / POWER ON SYSTEM
   ========================================================================== */
.context-menu {
    position: fixed;
    width: 230px;
    background: rgba(12, 18, 34, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.15);
    padding: 6px 0;
    z-index: 2000;
    user-select: none;
}

.context-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.context-item:hover {
    background: rgba(0, 240, 255, 0.18);
    color: #ffffff;
}

.context-item.danger:hover {
    background: rgba(255, 51, 102, 0.25);
    color: var(--accent-red);
}

.context-separator {
    height: 1px;
    background: var(--border-subtle);
    margin: 4px 0;
}

.ctx-icon {
    font-size: 13px;
    width: 16px;
    text-align: center;
}

/* Shutdown Overlay (Stage 1) */
.shutdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.96);
    backdrop-filter: blur(30px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease forwards;
}

.shutdown-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.cyber-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-cyan);
    border-right-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring.inner {
    width: 60%;
    height: 60%;
    border-top-color: var(--accent-red);
    border-bottom-color: var(--accent-yellow);
    animation: spin 0.8s linear infinite reverse;
}

.spinner-core {
    font-size: 20px;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

.shutdown-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.shutdown-status {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 13px;
}

/* Power Off Screen (Stage 2) */
.power-off-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000 !important;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.power-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.power-on-btn {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    outline: none;
    padding: 20px;
    transition: transform var(--transition-normal);
}

.power-icon-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(0, 240, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
    transition: all var(--transition-normal);
}

.power-icon-ring svg {
    width: 34px;
    height: 34px;
}

.power-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.power-subtext {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.power-on-btn:hover .power-icon-ring {
    border-color: var(--accent-cyan);
    color: #ffffff;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.8), inset 0 0 15px rgba(0, 240, 255, 0.4);
    transform: scale(1.1);
}

.power-on-btn:hover .power-text {
    color: #ffffff;
    text-shadow: 0 0 15px var(--accent-cyan);
}

/* BIOS Boot Screen */
.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030712;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    font-family: var(--font-mono);
}

.boot-terminal {
    max-width: 760px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.boot-ascii-logo {
    color: var(--accent-cyan);
    font-size: 11px;
    line-height: 1.1;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
    overflow: hidden;
}

.boot-logs {
    height: 220px;
    overflow-y: hidden;
    color: var(--accent-green);
    font-size: 13px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.boot-log-line {
    white-space: pre-wrap;
}

.boot-log-line .tag-ok {
    color: var(--accent-cyan);
    font-weight: bold;
}

.boot-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.boot-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-green));
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: width 0.15s ease-out;
}

/* Keyframe Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 860px) {
    .landing-terminal-view {
        padding: 10px;
    }

    .landing-terminal-frame {
        height: 96vh;
    }

    .term-header-title {
        font-size: 11.5px;
    }

    .term-badge {
        display: none;
    }

    .landing-terminal-body {
        font-size: 12.5px;
        padding: 12px;
    }

    .neofetch-container {
        flex-direction: column;
        gap: 12px;
    }

    .start-menu {
        width: calc(100vw - 20px);
        left: 10px;
        bottom: calc(var(--taskbar-height) + 8px);
        padding: 14px;
    }

    .start-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .desktop-shortcuts {
        grid-template-rows: repeat(7, 78px);
        grid-auto-columns: 80px;
        gap: 6px 12px;
        top: 12px;
        left: 12px;
    }
    
    .shortcut-item {
        width: 80px;
        height: 78px;
        padding: 4px 2px;
    }
    
    .shortcut-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 3px;
    }
    
    .shortcut-icon svg {
        width: 20px;
        height: 20px;
    }

    .shortcut-label {
        font-size: 10px;
        max-height: 24px;
    }

    .taskbar-apps {
        margin: 0 6px;
    }

    .taskbar-item {
        min-width: 90px;
    }

    .tray-pill.security-pill .tray-label {
        display: none;
    }

    .os-window {
        min-width: 280px !important;
    }
}

@media (max-height: 700px) {
    .desktop-shortcuts {
        grid-template-rows: repeat(7, 72px);
        grid-auto-columns: 78px;
        gap: 4px 10px;
        top: 8px;
        left: 10px;
    }

    .shortcut-item {
        width: 78px;
        height: 72px;
        padding: 3px 2px;
    }

    .shortcut-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 2px;
    }

    .shortcut-icon svg {
        width: 18px;
        height: 18px;
    }

    .shortcut-label {
        font-size: 9.5px;
        max-height: 22px;
    }
}

@media (max-width: 600px) {
    .desktop-shortcuts {
        grid-auto-flow: row;
        grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
        grid-template-rows: none;
        gap: 8px;
        top: 10px;
        left: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100vh - var(--taskbar-height) - 16px);
        overflow-y: auto;
    }
}