/* ============================================
   WAYNE ENTERPRISES TACTICAL DASHBOARD
   Monochromatic Theme with PlayStation Blue
   ============================================ */

/* Force tactical theme override */
body[data-theme="tactical"] {
    --color-background: #0D0D0D !important;
    --color-text: rgba(255, 255, 255, 0.95) !important;
    background: #0D0D0D;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Share Tech Mono', 'Rajdhani', monospace;
}

/* ============================================
   TACTICAL GRID BACKGROUND
   ============================================ */
.tactical-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 67, 156, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 67, 156, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* ============================================
   HUD OVERLAY CORNERS
   ============================================ */
.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hud-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 67, 156, 0.4);
}

.hud-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.hud-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.hud-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.hud-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* ============================================
   TACTICAL NAVIGATION
   ============================================ */
.tactical-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 60px;
    cursor: pointer;
    overflow: visible;
    flex-shrink: 0;
}

/* Crystalline Canvas Logo */
.crystalline-canvas {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    z-index: 1;
    pointer-events: none;
}

/* Logo Text Overlay - Positioned after the crystal */
.logo-text-overlay {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(0, 150, 255, 0.5),
        0 0 20px rgba(0, 100, 200, 0.3),
        0 0 30px rgba(0, 67, 156, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hover effects for logo text */
.nav-logo:hover .logo-text-overlay {
    color: #00c8ff;
    text-shadow:
        0 0 15px rgba(0, 200, 255, 0.8),
        0 0 30px rgba(0, 150, 255, 0.6),
        0 0 45px rgba(0, 100, 200, 0.4),
        0 0 60px rgba(0, 67, 156, 0.3);
    letter-spacing: 4px;
}

/* Glowing underline effect on hover */
.nav-logo::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 65px;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(0, 150, 255, 0.8),
            rgba(0, 200, 255, 0.4),
            transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover::after {
    transform: scaleX(1);
}

/* Energy pulse animation */
@keyframes crystallinePulse {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(0, 150, 255, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.6));
    }
}

.nav-logo:hover .crystalline-canvas {
    animation: crystallinePulse 1.5s ease-in-out infinite;
}

/* Hide old bracket styling since we're using canvas now */
.logo-bracket {
    display: none;
}

.logo-text {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #0066CC;
    transform: translateY(-2px);
}

.link-icon {
    color: #00439C;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ============================================
   MOBILE NAVIGATION - TACTICAL SLIDE DOWN
   ============================================ */

/* Hamburger Menu Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(0, 67, 156, 0.15);
    border: 1px solid rgba(0, 67, 156, 0.3);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus {
    background: rgba(0, 67, 156, 0.25);
    border-color: rgba(0, 102, 204, 0.5);
    box-shadow: 0 0 15px rgba(0, 67, 156, 0.2);
}

.toggle-bar {
    width: 22px;
    height: 2px;
    background: #00439C;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 4px rgba(0, 67, 156, 0.4);
}

/* Active state - X animation */
.nav-toggle.active {
    background: rgba(0, 67, 156, 0.3);
}

.nav-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Responsive Styles */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    /* Mobile Menu - Slide Down from Top */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: linear-gradient(180deg, rgba(10, 10, 11, 0.98), rgba(13, 13, 14, 0.95));
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-bottom: 1px solid rgba(0, 67, 156, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        z-index: 10000;
        /* Above theme toggle (9999) */
    }

    .nav-links.active {
        max-height: calc(100vh - 70px);
        opacity: 1;
        visibility: visible;
        padding: 1rem 0;
        overflow-y: auto;
    }

    /* Mobile Link Styling - Clean and Simple */
    .nav-links .nav-link,
    .nav-links .duality-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active .nav-link,
    .nav-links.active .duality-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for links */
    .nav-links.active .nav-link:nth-child(1),
    .nav-links.active .duality-link:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-links.active .nav-link:nth-child(2),
    .nav-links.active .duality-link:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-child(3),
    .nav-links.active .duality-link:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-links.active .nav-link:nth-child(4),
    .nav-links.active .duality-link:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-child(5),
    .nav-links.active .duality-link:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-links.active .nav-link:nth-child(6),
    .nav-links.active .duality-link:nth-child(6) {
        transition-delay: 0.3s;
    }

    /* Simplified Mobile Link - No Duality Effect */
    .nav-links .duality-link {
        padding: 0;
        border-radius: 0;
        overflow: visible;
    }

    /* Hide batman layer on mobile */
    .nav-links .duality-link .batman-layer {
        display: none;
    }

    .nav-links .duality-link .scratch-overlay {
        display: none;
    }

    /* Style the corporate layer as the main link */
    .nav-links .duality-link .corporate-layer {
        width: 100%;
        padding: 1.2rem 2rem;
        background: transparent;
        border: none;
        border-radius: 0;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(0, 67, 156, 0.15);
        transition: all 0.2s ease;
    }

    .nav-links .duality-link:last-child .corporate-layer {
        border-bottom: none;
    }

    .nav-links .duality-link .corporate-layer:active,
    .nav-links .duality-link:active .corporate-layer {
        background: rgba(0, 67, 156, 0.2);
    }

    .nav-links .duality-link .corporate-layer .link-icon {
        font-size: 1.3rem;
        margin-right: 1rem;
        color: #00439C;
    }

    .nav-links .duality-link .corporate-layer .link-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.9);
    }

    /* Disable all duality hover effects on mobile */
    .nav-links .duality-link:hover .corporate-layer,
    .nav-links .duality-link:focus .corporate-layer {
        animation: none;
        clip-path: none;
        opacity: 1;
    }

    .nav-links .duality-link:hover .batman-layer,
    .nav-links .duality-link:focus .batman-layer {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        animation: none;
    }

    .nav-links .duality-link:hover::before {
        display: none;
    }

    .nav-links .duality-link:hover {
        box-shadow: none;
        transform: none;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        min-width: 50px;
        height: 50px;
    }

    .crystalline-canvas {
        width: 50px !important;
        height: 50px !important;
    }

    .logo-text-overlay {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .nav-logo::after {
        display: none;
    }

    .nav-container {
        padding: 0.8rem 1rem;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .toggle-bar {
        width: 18px;
    }

    .nav-links .duality-link .corporate-layer {
        padding: 1rem 1.5rem;
    }

    .nav-links .duality-link .corporate-layer .link-text {
        font-size: 0.9rem;
    }
}

/* Very small screens - hide text */
@media (max-width: 360px) {
    .logo-text-overlay {
        display: none;
    }
}

/* ============================================
   GPA BLOCK STYLING
   ============================================ */
.stat-value-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-denominator {
    font-family: 'Orbitron', monospace;
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 2px;
}

/* Program Reveal in Batman Layer */
.program-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.program-reveal .glitch-label {
    margin-top: 0;
    font-size: 0.9rem;
}

.program-specialization {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   TACTICAL DUALITY NAVIGATION
   Corporate Wayne / Batman Underground Reveal
   ============================================ */

/* Hide SVG filters container */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Duality Link - Dual Layer Structure */
.duality-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    overflow: hidden;
    background: transparent;
    border-radius: 4px;
    isolation: isolate;
}

.duality-link .link-layer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Corporate Layer - Clean Wayne Enterprises OS (Slate Gray #1A1A1B) */
.duality-link .corporate-layer {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, rgba(26, 26, 27, 0.9), rgba(26, 26, 27, 0.7));
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.duality-link .corporate-layer .link-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

/* Batman Layer - Carbon Black Underground (#0A0A0B) */
.duality-link .batman-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A0A0B;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateZ(0);
}

.duality-link .batman-layer .link-text {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-shadow: 0 0 8px rgba(0, 67, 156, 0.8);
}

/* Bat Silhouette Watermark */
.duality-link .bat-watermark {
    position: absolute;
    width: 80px;
    height: 32px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 67, 156, 0.25);
    filter: drop-shadow(0 0 12px rgba(0, 67, 156, 0.4));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Scratch Overlay - Grain Texture */
.duality-link .scratch-overlay {
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 67, 156, 0.05) 2px,
            rgba(0, 67, 156, 0.05) 4px);
    filter: url(#tactical-grain);
}

/* ============================================
   HOVER STATE - The Scratch Reveal
   ============================================ */

.duality-link:hover {
    transform: none;
    /* Override parent transform */
}

/* Corporate layer scratches away */
.duality-link:hover .corporate-layer {
    animation: scratchGlitch 0.15s steps(2) forwards;
    clip-path: polygon(0% 0%,
            15% 0%,
            15% 35%,
            30% 35%,
            30% 0%,
            100% 0%,
            100% 65%,
            75% 65%,
            75% 100%,
            50% 100%,
            50% 65%,
            25% 65%,
            25% 100%,
            0% 100%);
    opacity: 0.3;
    filter: url(#scratch-distortion);
}

/* Batman layer reveals with scan effect */
.duality-link:hover .batman-layer {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    animation: batReveal 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow:
        inset 0 0 20px rgba(0, 67, 156, 0.3),
        0 0 15px rgba(0, 67, 156, 0.2);
}

.duality-link:hover .bat-watermark {
    opacity: 1;
    animation: batPulse 1.5s ease-in-out infinite;
}

/* Scratch overlay becomes visible */
.duality-link:hover .scratch-overlay {
    opacity: 1;
    animation: scanLines 0.3s linear;
}

/* Glitch text jitter - 10ms effect */
.duality-link:hover .glitch-text {
    animation: glitchJitter 0.08s steps(3) 2;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

/* 10ms Glitch Jitter for text */
@keyframes glitchJitter {
    0% {
        transform: translate(0, 0) skewX(0deg);
        text-shadow:
            -1px 0 rgba(0, 67, 156, 0.8),
            1px 0 rgba(0, 102, 204, 0.8);
    }

    25% {
        transform: translate(-2px, 1px) skewX(-2deg);
        text-shadow:
            2px 0 rgba(0, 67, 156, 1),
            -2px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: translate(2px, -1px) skewX(2deg);
        text-shadow:
            -3px 0 rgba(0, 102, 204, 0.9),
            3px 0 rgba(0, 67, 156, 0.5);
    }

    75% {
        transform: translate(-1px, 2px) skewX(-1deg);
        text-shadow:
            1px 0 rgba(0, 67, 156, 0.7),
            -1px 0 rgba(255, 255, 255, 0.2);
    }

    100% {
        transform: translate(0, 0) skewX(0deg);
        text-shadow: 0 0 8px rgba(0, 67, 156, 0.8);
    }
}

/* Corporate layer scratch animation */
@keyframes scratchGlitch {
    0% {
        clip-path: inset(0);
        opacity: 1;
    }

    20% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 45%, 60% 45%, 60% 55%, 100% 55%, 100% 100%, 0% 100%);
    }

    40% {
        clip-path: polygon(0% 0%, 35% 0%, 35% 100%, 0% 100%);
    }

    60% {
        clip-path: polygon(70% 0%, 100% 0%, 100% 100%, 70% 100%, 70% 60%, 45% 60%, 45% 40%, 70% 40%);
    }

    80% {
        clip-path: polygon(0% 30%, 20% 30%, 20% 70%, 0% 70%);
    }

    100% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 0%);
        opacity: 0;
    }
}

/* Batman layer reveal animation */
@keyframes batReveal {
    0% {
        clip-path: inset(0 100% 0 0);
        filter: brightness(2) contrast(1.5);
    }

    30% {
        clip-path: inset(0 60% 0 0);
        filter: brightness(1.5) contrast(1.3);
    }

    60% {
        clip-path: inset(0 30% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
        filter: brightness(1) contrast(1);
    }
}

/* Bat watermark pulse */
@keyframes batPulse {

    0%,
    100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 12px rgba(0, 67, 156, 0.4));
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(0, 67, 156, 0.7));
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Scan lines animation */
@keyframes scanLines {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}

/* ============================================
   TACTICAL SENSOR SCAN EFFECT
   ============================================ */

/* Add scan line that sweeps on hover */
.duality-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 67, 156, 0.5),
            rgba(0, 102, 204, 0.8),
            rgba(0, 67, 156, 0.5),
            transparent);
    opacity: 0;
    z-index: 10;
    transform: translateY(-100%);
    transition: opacity 0.1s;
}

.duality-link:hover::before {
    opacity: 1;
    animation: sensorScan 0.3s ease-out forwards;
}

@keyframes sensorScan {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(2000%);
    }
}

/* PlayStation Blue glow effect on hover */
.duality-link:hover {
    box-shadow:
        0 0 20px rgba(0, 67, 156, 0.3),
        0 0 40px rgba(0, 67, 156, 0.15),
        inset 0 0 15px rgba(0, 67, 156, 0.1);
}

/* ============================================
   DUALITY BENTO CARDS
   Corporate/Batman Layer System for Cards
   ============================================ */

/* Duality Card - Base Structure */
.duality-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.duality-card .card-layer {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Corporate Card Layer (Visible by default) */
.duality-card .corporate-card {
    position: relative;
    z-index: 2;
}

/* Batman Card Layer (Hidden, revealed on hover) */
.duality-card .batman-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0A0A0B;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    padding: 2rem;
}

/* Bat Watermark for Cards */
.duality-card .bat-watermark-card {
    position: absolute;
    width: 120px;
    height: 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 67, 156, 0.2);
    filter: drop-shadow(0 0 15px rgba(0, 67, 156, 0.4));
    opacity: 0.8;
}

/* Glitch Label in Batman Layer */
.duality-card .glitch-label {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(0, 67, 156, 0.8);
}

/* Scratch Overlay for Cards */
.duality-card .scratch-overlay {
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.02) 3px,
            rgba(255, 255, 255, 0.02) 6px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(0, 67, 156, 0.04) 3px,
            rgba(0, 67, 156, 0.04) 6px);
    filter: url(#tactical-grain);
}

/* Hover State - Card Duality Reveal */
.duality-card:hover .corporate-card {
    animation: cardScratchGlitch 0.2s steps(3) forwards;
    opacity: 0.2;
}

.duality-card:hover .batman-card {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    animation: cardBatReveal 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow:
        inset 0 0 30px rgba(0, 67, 156, 0.3),
        0 0 20px rgba(0, 67, 156, 0.2);
}

.duality-card:hover .bat-watermark-card {
    animation: batPulse 1.5s ease-in-out infinite;
}

.duality-card:hover .scratch-overlay {
    opacity: 1;
}

.duality-card:hover .glitch-label {
    animation: glitchJitter 0.1s steps(3) 2;
}

/* Card-specific scratch animation */
@keyframes cardScratchGlitch {
    0% {
        clip-path: inset(0);
        opacity: 1;
    }

    25% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 30%, 0% 30%);
    }

    50% {
        clip-path: polygon(0% 40%, 50% 40%, 50% 60%, 0% 60%);
    }

    75% {
        clip-path: polygon(60% 70%, 100% 70%, 100% 100%, 60% 100%);
    }

    100% {
        clip-path: polygon(0 0, 0 0, 0 0);
        opacity: 0;
    }
}

@keyframes cardBatReveal {
    0% {
        clip-path: inset(0 100% 0 0);
        filter: brightness(2) contrast(1.5);
    }

    40% {
        clip-path: inset(0 50% 0 0);
        filter: brightness(1.3) contrast(1.2);
    }

    100% {
        clip-path: inset(0 0 0 0);
        filter: brightness(1) contrast(1);
    }
}

/* Scan line effect for cards */
.duality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 67, 156, 0.6),
            rgba(0, 102, 204, 1),
            rgba(0, 67, 156, 0.6),
            transparent);
    opacity: 0;
    z-index: 10;
    transform: translateY(-100%);
}

.duality-card:hover::before {
    opacity: 1;
    animation: cardSensorScan 0.4s ease-out forwards;
}

@keyframes cardSensorScan {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(10000%);
    }
}

/* PlayStation Blue glow for cards on hover */
.duality-card:hover {
    box-shadow:
        0 0 30px rgba(0, 67, 156, 0.4),
        0 0 60px rgba(0, 67, 156, 0.2),
        inset 0 0 20px rgba(0, 67, 156, 0.1);
}

/* ============================================
   PROGRESS BAR (Academic Completion)
   ============================================ */
.completion-progress {
    margin-top: 1.2rem;
}

.progress-label-small {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0, 67, 156, 0.3);
}

.progress-fill-small {
    height: 100%;
    background: linear-gradient(90deg, #00439C, #0066CC, #00439C);
    border-radius: 3px;
    position: relative;
    animation: progressPulse 2s ease-in-out infinite;
}

.progress-glow-small {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.5), transparent);
    animation: progressGlowMove 2s ease-in-out infinite;
}

@keyframes progressPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 5px rgba(0, 67, 156, 0.5);
    }

    50% {
        opacity: 0.85;
        box-shadow: 0 0 15px rgba(0, 67, 156, 0.8);
    }
}

@keyframes progressGlowMove {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

/* ============================================
   BLINKING STATUS LIGHTS (AWS/Azure Mesh Nodes)
   ============================================ */
/* ===== MESH GRID SYSTEM ===== */
.mesh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    width: 100%;
    margin-top: 1rem;
}

.mesh-cell {
    background: rgba(10, 20, 30, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.15);
    padding: 0.6rem;
    display: flex;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 92% 100%, 0 100%);
}

.mesh-cell:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--hud-primary);
    transform: translateX(4px);
}

.cell-status {
    width: 6px;
    height: 6px;
    background: var(--hud-primary);
    box-shadow: 0 0 8px var(--hud-primary);
    border-radius: 50%;
}

.cell-status.pulse {
    animation: blinkBlue 2s infinite;
}

.cell-info {
    display: flex;
    flex-direction: column;
}

.cell-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text);
}

.cell-detail {
    font-size: 0.55rem;
    color: var(--color-text-secondary);
    font-family: 'Share Tech Mono', monospace;
}

/* Light Mode Overrides */
[data-theme="light"] .mesh-cell {
    background: rgba(230, 240, 255, 0.6);
    border-color: rgba(0, 67, 156, 0.2);
}

[data-theme="light"] .mesh-cell:hover {
    background: rgba(0, 67, 156, 0.05);
    border-color: var(--hud-secondary);
}

@keyframes blinkBlue {

    0%,
    100% {
        opacity: 1;
        background: #00439C;
        box-shadow:
            0 0 6px rgba(0, 67, 156, 0.8),
            0 0 12px rgba(0, 67, 156, 0.5);
    }

    50% {
        opacity: 0.4;
        background: #0066CC;
        box-shadow:
            0 0 10px rgba(0, 102, 204, 1),
            0 0 20px rgba(0, 102, 204, 0.7);
    }
}


/* ============================================
   SECURE CHANNEL STATUS INDICATORS
   ============================================ */
.channel-btn {
    position: relative;
}

.channel-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00439C;
    flex-shrink: 0;
}

.channel-status.blink-blue {
    animation: blinkBlue 2s ease-in-out infinite;
}

/* Offset animations for each channel */
.channel-btn:nth-child(1) .channel-status {
    animation-delay: 0s;
}

.channel-btn:nth-child(2) .channel-status {
    animation-delay: 0.5s;
}

.channel-btn:nth-child(3) .channel-status {
    animation-delay: 1s;
}

/* ============================================
   COMMAND CENTER (HERO)
   ============================================ */
.command-center {
    position: relative;
    min-height: 100vh;
    padding: 120px 2rem 80px;
    z-index: 10;
}

.command-header {
    margin-bottom: 3rem;
}

.status-bar {
    display: flex;
    gap: 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.status-item {
    text-transform: uppercase;
}

.status-active {
    color: #00FF00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.status-level {
    color: #00439C;
    text-shadow: 0 0 10px rgba(0, 67, 156, 0.5);
}

.command-identity {
    margin-bottom: 4rem;
}

.identity-name {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.name-prefix {
    color: #00439C;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.5rem;
}

.identity-role {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    font-weight: 500;
}

.cursor-blink {
    animation: cursorCrazy 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    color: #00439C;
    font-size: 1.3em;
    text-shadow:
        0 0 10px rgba(0, 67, 156, 0.8),
        0 0 20px rgba(0, 67, 156, 0.6),
        0 0 30px rgba(0, 67, 156, 0.4);
    display: inline-block;
    margin-left: 4px;
}

@keyframes cursorCrazy {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        text-shadow:
            0 0 10px rgba(0, 67, 156, 0.8),
            0 0 20px rgba(0, 67, 156, 0.6),
            0 0 30px rgba(0, 67, 156, 0.4);
    }

    25% {
        opacity: 0.3;
        transform: scale(1.2) rotate(5deg);
        text-shadow:
            0 0 15px rgba(0, 102, 204, 1),
            0 0 30px rgba(0, 102, 204, 0.8),
            0 0 45px rgba(0, 102, 204, 0.6);
    }

    50% {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }

    75% {
        opacity: 0.3;
        transform: scale(1.2) rotate(5deg);
        text-shadow:
            0 0 15px rgba(0, 102, 204, 1),
            0 0 30px rgba(0, 102, 204, 0.8),
            0 0 45px rgba(0, 102, 204, 0.6);
    }
}

/* ============================================
   BENTO GRID LAYOUT
   ============================================ */
/* ============================================
   BENTO GRID LAYOUT
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Radar Chart - Main Feature (Left Side) */
.radar-card {
    grid-row: span 2;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Status Card - Top Right */
.stat-card {
    grid-column: 2;
    grid-row: 1;
}

/* Contact Card - Bottom Right */
.contact-card {
    grid-column: 2;
    grid-row: 2;
}

/* Card Styling */
.bento-card {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 67, 156, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-card:hover {
    transform: scale(1.01);
    border-color: rgba(0, 67, 156, 0.3);
    box-shadow: 0 0 30px rgba(0, 67, 156, 0.2);
}

.bento-card:hover::before {
    opacity: 1;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .radar-card,
    .stat-card,
    .contact-card {
        grid-column: 1;
        grid-row: auto;
    }

    .radar-card {
        min-height: 400px;
    }
}

/* Merged Status Card Styles */
.status-section {
    margin-bottom: 2.2rem;
}

.status-section:last-child {
    margin-bottom: 0;
}

.section-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    margin-bottom: 0.7rem;
    opacity: 0.8;
}

.compact-mesh {
    margin-top: 0.5rem;
    gap: 0.6rem;
}

.compact-mesh .mesh-cell {
    padding: 0.5rem;
}

.compact-mesh .cell-label {
    font-size: 0.7rem;
}

.compact-mesh .cell-detail {
    font-size: 0.5rem;
}

.card-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Stat Cards */
.stat-card .stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2.6rem;
    font-weight: 900;
    color: #00439C;
    line-height: 1;
    margin: 0.6rem 0 0.4rem;
    text-shadow: 0 0 20px rgba(0, 67, 156, 0.5);
}

.stat-card .stat-unit {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    line-height: 1.4;
}

/* Radar Chart Card */
.radar-card {
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.radar-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.radar-chart {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.radar-grid {
    fill: none;
    stroke: rgba(0, 67, 156, 0.2);
    stroke-width: 1;
}

.radar-axis {
    stroke: rgba(0, 67, 156, 0.15);
    stroke-width: 1;
    stroke-dasharray: 4, 4;
}

.radar-data {
    fill: rgba(0, 67, 156, 0.25);
    stroke: #00439C;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(0, 67, 156, 0.6));
    animation: radarPulse 3s ease-in-out infinite;
}

@keyframes radarPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(0, 67, 156, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(0, 67, 156, 0.9));
    }
}

.radar-point {
    fill: #00FF00;
    opacity: 0;
    filter: drop-shadow(0 0 4px rgba(0, 255, 0, 0.8));
}

.radar-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    fill: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Contact Card */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 3.2rem 0.85rem 1rem;
    background: rgba(0, 67, 156, 0.1);
    border: 1px solid rgba(0, 67, 156, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-btn > span:not(.channel-status):not(.contact-bat-signal) {
    font-size: 0.9rem;
}

.contact-btn svg {
    width: 20px;
    height: 20px;
    color: #00439C;
}

.contact-bat-signal {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.25), transparent 70%);
    border: 1px solid rgba(0, 67, 156, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(0, 67, 156, 0.4);
    opacity: 0.9;
    pointer-events: none;
    animation: batSignalPulse 2.6s ease-in-out infinite;
}

.contact-bat-signal svg {
    width: 70%;
    height: auto;
    fill: rgba(0, 217, 255, 0.8);
    filter: drop-shadow(0 0 6px rgba(0, 217, 255, 0.6));
}

@keyframes batSignalPulse {
    0%,
    100% {
        transform: translateY(-50%) scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-50%) scale(1.08);
        opacity: 1;
        box-shadow: 0 0 18px rgba(0, 67, 156, 0.6);
    }
}

.contact-btn:hover {
    background: rgba(0, 67, 156, 0.2);
    border-color: rgba(0, 102, 204, 0.4);
    transform: translateX(5px);
}

/* ============================================
   ACADEMIC DOSSIER
   ============================================ */
.academic-dossier {
    position: relative;
    padding: 80px 2rem;
    z-index: 10;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    letter-spacing: 3px;
    text-align: center;
}

.title-bracket {
    color: #00439C;
    font-size: 2.7rem;
    margin: 0 1rem;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dossier-node {
    position: relative;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.dossier-node:hover {
    transform: scale(1.02);
    border-color: rgba(0, 67, 156, 0.3);
    box-shadow: 0 0 40px rgba(0, 67, 156, 0.3);
}

.node-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.node-icon {
    width: 50px;
    height: 50px;
    color: #00439C;
    flex-shrink: 0;
}

.node-icon svg {
    width: 100%;
    height: 100%;
}

.node-info {
    flex: 1;
}

.node-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.node-degree {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.node-gpa {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.gpa-value {
    color: #00439C;
    font-weight: 700;
}

/* Data Stream - Expand on Hover */
.data-stream {
    max-height: 0;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    margin-top: 0;
    padding: 0 1.5rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dossier-node:hover .data-stream {
    max-height: 400px;
    margin-top: 1.5rem;
    padding: 1.5rem;
    opacity: 1;
}

.stream-header {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00439C;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 67, 156, 0.3);
    padding-bottom: 0.8rem;
}

.coursework-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.course-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.7rem;
    background: rgba(0, 67, 156, 0.1);
    border-left: 2px solid #00439C;
    border-radius: 4px;
    animation: courseItemFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.course-item:nth-child(1) {
    animation-delay: 0.1s;
}

.course-item:nth-child(2) {
    animation-delay: 0.15s;
}

.course-item:nth-child(3) {
    animation-delay: 0.2s;
}

.course-item:nth-child(4) {
    animation-delay: 0.25s;
}

.course-item:nth-child(5) {
    animation-delay: 0.3s;
}

.course-item:nth-child(6) {
    animation-delay: 0.35s;
}

@keyframes courseItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.course-code {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: #00439C;
    font-weight: 700;
    letter-spacing: 1px;
}

.course-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   EXPERIENCE COMMAND (ACCESS CARDS)
   ============================================ */
.experience-command {
    position: relative;
    padding: 80px 2rem;
    z-index: 10;
}

.access-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.access-card {
    position: relative;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    min-height: 200px;
}

.access-card:hover {
    transform: scale(1.02);
    border-color: rgba(0, 67, 156, 0.3);
    box-shadow: 0 0 40px rgba(0, 67, 156, 0.3);
}

.card-scan-line {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00439C, transparent);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-card:hover .card-scan-line {
    opacity: 1;
    animation: tacticalScan 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tacticalScan {
    from {
        top: -2px;
    }

    to {
        top: 100%;
    }
}

.card-header-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.company-badge {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.company-badge svg {
    width: 100%;
    height: 100%;
}

.k2-badge,
.al-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00439C, #0066CC);
    border-radius: 8px;
    border: 1px solid rgba(0, 102, 204, 0.5);
}

.badge-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.card-title-group {
    flex: 1;
}

.card-role {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.card-company {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.card-duration {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.clearance-level {
    margin-top: 1rem;
}

.clearance-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 67, 156, 0.2);
    border: 1px solid rgba(0, 67, 156, 0.4);
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: #00439C;
    letter-spacing: 1px;
}

/* Tactical Overlay */
.tactical-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(30px);
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.access-card:hover .tactical-overlay {
    opacity: 1;
    pointer-events: all;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 67, 156, 0.3);
}

.overlay-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #00439C;
    letter-spacing: 2px;
}

.overlay-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 0, 0, 0.7);
    letter-spacing: 1px;
}

.objectives-terminal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.objective-item {
    display: flex;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(0, 67, 156, 0.05);
    border-left: 2px solid #00439C;
    border-radius: 4px;
    animation: objectiveFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.objective-item:nth-child(1) {
    animation-delay: 0.1s;
}

.objective-item:nth-child(2) {
    animation-delay: 0.15s;
}

.objective-item:nth-child(3) {
    animation-delay: 0.2s;
}

.objective-item:nth-child(4) {
    animation-delay: 0.25s;
}

.objective-item:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes objectiveFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.obj-marker {
    color: #00439C;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    flex-shrink: 0;
}

.obj-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* ============================================
   SECURITY CLEARANCE - TACTICAL TERMINAL
   Premium Terminal UI Design
   ============================================ */
.download-clearance {
    position: relative;
    padding: 80px 2rem;
    z-index: 10;
}

/* Terminal Container */
.clearance-terminal {
    max-width: 700px;
    margin: 0 auto;
    background: #0A0A0B;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 67, 156, 0.3);
    box-shadow:
        0 0 40px rgba(0, 67, 156, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Terminal Header (Title Bar) */
.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(180deg, #1A1A1B, #0F0F10);
    border-bottom: 1px solid rgba(0, 67, 156, 0.3);
}

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

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots .dot.red {
    background: #FF5F56;
    box-shadow: 0 0 8px rgba(255, 95, 86, 0.5);
}

.terminal-dots .dot.yellow {
    background: #FFBD2E;
    box-shadow: 0 0 8px rgba(255, 189, 46, 0.5);
}

.terminal-dots .dot.green {
    background: #27CA40;
    box-shadow: 0 0 8px rgba(39, 202, 64, 0.5);
}

.terminal-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-status .status-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00439C;
}

.terminal-status .status-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: #00439C;
    letter-spacing: 1px;
}

/* Terminal Body */
.terminal-body {
    position: relative;
    padding: 2rem;
    background: linear-gradient(180deg, #0D0D0E, #0A0A0B);
}

/* Scan Line Animation */
.terminal-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 67, 156, 0.3), rgba(0, 102, 204, 0.5), rgba(0, 67, 156, 0.3), transparent);
    animation: terminalScan 4s linear infinite;
    pointer-events: none;
}

@keyframes terminalScan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* File Preview Section */
.file-preview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 67, 156, 0.08);
    border: 1px solid rgba(0, 67, 156, 0.2);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.file-icon {
    position: relative;
    width: 60px;
    height: 70px;
    color: #00439C;
    flex-shrink: 0;
}

.file-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(0, 67, 156, 0.4));
}

.file-badge {
    position: absolute;
    bottom: 0;
    right: -5px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #00439C, #0066CC);
    border-radius: 3px;
    font-family: 'Orbitron', monospace;
    font-size: 0.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.file-info {
    flex: 1;
}

.file-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.file-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Classification Grid */
.classification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.class-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.class-item:hover {
    border-color: rgba(0, 67, 156, 0.3);
    box-shadow: 0 0 15px rgba(0, 67, 156, 0.1);
}

.class-icon {
    font-size: 1.2rem;
    filter: grayscale(20%);
}

.class-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.class-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.class-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.class-value.authorized {
    color: #27CA40;
    text-shadow: 0 0 8px rgba(39, 202, 64, 0.4);
}

/* Command Line */
.command-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 67, 156, 0.2);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
}

.prompt {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: #27CA40;
    flex-shrink: 0;
}

.command {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.command-line .cursor-blink {
    font-size: 0.8rem;
    color: #00439C;
    animation: cursorCrazy 0.8s ease-in-out infinite;
}

/* Download Button - Tactical Design */
.download-btn-tactical {
    width: 100%;
    position: relative;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, rgba(0, 67, 156, 0.2), rgba(0, 67, 156, 0.1));
    border: 1px solid rgba(0, 67, 156, 0.4);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-btn-tactical .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 67, 156, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.download-btn-tactical:hover .btn-glow {
    opacity: 1;
}

.download-btn-tactical .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.download-btn-tactical .btn-icon-svg {
    width: 24px;
    height: 24px;
    color: #00439C;
    transition: all 0.3s;
}

.download-btn-tactical:hover .btn-icon-svg {
    color: #0066CC;
    filter: drop-shadow(0 0 8px rgba(0, 102, 204, 0.6));
    animation: downloadBounce 0.6s ease infinite;
}

@keyframes downloadBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

.download-btn-tactical .btn-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

.download-btn-tactical .btn-scanline {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 67, 156, 0.2), transparent);
    animation: btnScanline 3s linear infinite;
}

@keyframes btnScanline {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

.download-btn-tactical:hover {
    background: linear-gradient(135deg, rgba(0, 67, 156, 0.3), rgba(0, 67, 156, 0.15));
    border-color: rgba(0, 102, 204, 0.6);
    box-shadow:
        0 0 30px rgba(0, 67, 156, 0.3),
        inset 0 0 20px rgba(0, 67, 156, 0.1);
    transform: translateY(-2px);
}

.download-btn-tactical:active {
    transform: translateY(0);
    box-shadow: 0 0 20px rgba(0, 67, 156, 0.3);
}

/* Bat Swarm Download Effect */
.bat-swarm {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    background: radial-gradient(circle at 50% 80%, rgba(0, 217, 255, 0.08), transparent 60%);
}

.bat-swarm .bat {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--size);
    height: calc(var(--size) * 0.45);
    color: #0A0A0B;
    opacity: 0;
    filter: blur(var(--blur));
    animation: batFlight var(--duration) cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay) forwards;
}

.bat-swarm .bat svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.35));
    animation: batFlap var(--flap) ease-in-out infinite;
}

@keyframes batFlight {
    0% {
        transform: translate3d(var(--x-start), var(--y-start), 0) rotate(var(--rotation)) scale(0.7);
        opacity: 0;
    }

    18% {
        opacity: var(--opacity);
    }

    50% {
        transform: translate3d(var(--x-mid), var(--y-mid), 0) rotate(calc(var(--rotation) + 20deg)) scale(0.95);
        opacity: var(--opacity);
    }

    100% {
        transform: translate3d(var(--x-end), var(--y-end), 0) rotate(calc(var(--rotation) + 60deg)) scale(1.1);
        opacity: 0;
    }
}

@keyframes batFlap {
    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.6);
    }
}

[data-theme="light"] .bat-swarm .bat {
    color: #0A0A0B;
}

/* Terminal Footer */
.terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(180deg, #0F0F10, #0A0A0A);
    border-top: 1px solid rgba(0, 67, 156, 0.2);
}

.footer-item {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Progress Bar - Keep existing styles */
.download-progress {
    margin-top: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.download-progress.active {
    opacity: 1;
    pointer-events: all;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.progress-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.progress-percentage {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: #00439C;
}

.progress-bar-container {
    position: relative;
    height: 6px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00439C, #0066CC);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.6));
    opacity: 0;
    animation: progressGlow 1.5s ease-in-out infinite;
}

.progress-status {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .classification-grid {
        grid-template-columns: 1fr;
    }

    .terminal-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .terminal-title {
        font-size: 0.55rem;
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .file-preview {
        flex-direction: column;
        text-align: center;
    }

    .command-line {
        font-size: 0.65rem;
    }

    .terminal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   TACTICAL FOOTER
   ============================================ */
.tactical-footer {
    position: relative;
    padding: 3rem 2rem;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00FF00;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.status-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* ============================================
   BOOT SEQUENCE
   ============================================ */
.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0D0D0D;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: bootFadeOut 0.5s ease-out 2s forwards;
}

.boot-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    color: #00439C;
    text-align: center;
    letter-spacing: 3px;
    line-height: 2;
    animation: bootTextGlow 1s ease-in-out infinite;
}

@keyframes bootTextGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(0, 67, 156, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(0, 67, 156, 0.8);
    }
}

@keyframes bootFadeOut {
    to {
        opacity: 0;
        pointer-events: none;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .identity-name {
        font-size: 2.5rem;
    }

    .name-prefix {
        font-size: 1.2rem;
    }

    .bento-grid,
    .dossier-grid,
    .access-cards-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .timeline-wrapper {
        padding-left: 2rem;
    }

    .timeline-line {
        left: 15px;
    }
}

/* ============================================
   CAREER TIMELINE
   ============================================ */
.career-timeline {
    position: relative;
    padding: 80px 2rem;
    z-index: 10;
}

.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 4rem;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(0, 67, 156, 0.6) 10%,
            rgba(0, 67, 156, 0.6) 90%,
            transparent 100%);
}

.timeline-node {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(145deg,
            rgba(30, 41, 59, 0.5) 0%,
            rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 67, 156, 0.25);
    border-left: 4px solid #00439C;
    border-radius: 0 16px 16px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.timeline-node:hover {
    transform: translateX(8px) translateY(-2px);
    border-left-color: #0066CC;
    box-shadow:
        0 12px 40px rgba(0, 67, 156, 0.25),
        0 0 30px rgba(0, 67, 156, 0.15);
}

.timeline-node.active {
    border-left: 4px solid #00FF00;
    background: linear-gradient(145deg,
            rgba(0, 255, 0, 0.08) 0%,
            rgba(15, 23, 42, 0.6) 100%);
    box-shadow:
        0 4px 24px rgba(0, 255, 0, 0.15),
        0 0 30px rgba(0, 255, 0, 0.1);
}

.timeline-node.active:hover {
    border-left-color: #00CC00;
    box-shadow:
        0 12px 40px rgba(0, 255, 0, 0.25),
        0 0 40px rgba(0, 255, 0, 0.2);
}

.timeline-node.active .node-dot {
    background: #00FF00;
    box-shadow:
        0 0 0 4px rgba(0, 255, 0, 0.3),
        0 0 20px rgba(0, 255, 0, 0.8);
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {

    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(0, 255, 0, 0.2),
            0 0 15px rgba(0, 255, 0, 0.5);
    }

    50% {
        box-shadow:
            0 0 0 6px rgba(0, 255, 0, 0.3),
            0 0 30px rgba(0, 255, 0, 0.9);
    }
}

.node-dot {
    position: absolute;
    left: -3.5rem;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: #00439C;
    border-radius: 50%;
    border: 3px solid #0A0A0B;
    box-shadow:
        0 0 0 4px rgba(0, 67, 156, 0.25),
        0 0 15px rgba(0, 67, 156, 0.6);
    z-index: 2;
}

.node-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    row-gap: 0.8rem;
}

/* Date - Prominent pill styling */
.node-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1.5px;
    padding: 0.5rem 1rem;
    background: rgba(0, 67, 156, 0.2);
    border: 1px solid rgba(0, 67, 156, 0.3);
    border-radius: 25px;
}

/* Role Title - Large, Bold, and Commanding */
.node-role {
    font-family: 'Orbitron', monospace;
    font-size: 1.35rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 1px;
    line-height: 1.3;
    flex: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 67, 156, 0.3);
}

/* Company Name - Accent Color with Glow */
.node-company {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0088FF;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.5);
}

/* Status Badges - Premium Pills */
.node-badge {
    padding: 0.45rem 1.1rem;
    border-radius: 25px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.node-badge.alpha {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.25), rgba(0, 200, 0, 0.15));
    color: #00FF00;
    border: 1px solid rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.node-badge.beta {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.25), rgba(0, 67, 156, 0.15));
    color: #0088FF;
    border: 1px solid rgba(0, 102, 204, 0.5);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.3);
}

.node-badge.gamma {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.25), rgba(255, 140, 0, 0.15));
    color: #FFB347;
    border: 1px solid rgba(255, 165, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.node-badge.delta {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(100, 116, 139, 0.15));
    color: #B0BEC5;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 0 15px rgba(148, 163, 184, 0.2);
}

/* Timeline Node Details (Hover Expand) */
.node-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-node:hover .node-details {
    max-height: 300px;
    opacity: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 67, 156, 0.2);
}

.detail-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-left: 1.5rem;
}

.detail-points li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    padding-left: 1.2rem;
    position: relative;
}

.detail-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00439C, #0066CC);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

/* ============================================
   PROJECTS COMMAND
   ============================================ */
.projects-command {
    position: relative;
    padding: 80px 2rem;
    z-index: 10;
}

.project-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 67, 156, 0.2);
    border: 1px solid rgba(0, 67, 156, 0.4);
    border-radius: 8px;
    color: #00439C;
}

.project-badge svg {
    width: 30px;
    height: 30px;
}

.overlay-link {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #0066CC;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.overlay-link:hover {
    color: #00FF00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* ============================================
   TECH ARSENAL
   ============================================ */
.tech-arsenal {
    position: relative;
    padding: 80px 2rem;
    z-index: 10;
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.arsenal-category {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arsenal-category:hover {
    border-color: rgba(0, 67, 156, 0.2);
    box-shadow: 0 0 25px rgba(0, 67, 156, 0.15);
}

.category-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #00439C;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(0, 67, 156, 0.2);
    padding-bottom: 0.6rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 67, 156, 0.1);
    border: 1px solid rgba(0, 67, 156, 0.25);
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-badge:hover {
    background: rgba(0, 67, 156, 0.25);
    border-color: rgba(0, 102, 204, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 67, 156, 0.25);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.tactical-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
}

.tactical-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #00439C;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 10px #00439C,
        0 0 20px #00439C,
        0 0 30px rgba(0, 67, 156, 0.5);
    transition: all 0.15s ease-out;
}

.tactical-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 67, 156, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cursorRing 1.5s ease-in-out infinite;
}

@keyframes cursorRing {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(0, 67, 156, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.1s ease-out;
}

/* Hide default cursor but keep links clickable */
body[data-theme="tactical"] {
    cursor: none;
}

body[data-theme="tactical"] a,
body[data-theme="tactical"] button,
body[data-theme="tactical"] [role="button"] {
    cursor: none;
    pointer-events: auto;
}

/* ============================================
   NODE MINOR STYLING (for Bachelor's)
   ============================================ */
.node-minor {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: #00439C;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

/* ============================================
   SLEEK PROJECT CARDS
   ============================================ */
.projects-section {
    position: relative;
    padding: 80px 2rem;
    z-index: 10;
}

.projects-sleek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-sleek-card {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 1.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.project-sleek-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00439C, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.project-sleek-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 67, 156, 0.3);
    box-shadow: 0 8px 30px rgba(0, 67, 156, 0.2);
}

.project-sleek-card:hover::before {
    opacity: 1;
}

.project-sleek-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.project-sleek-title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
    margin: 0;
    flex: 1;
}

.github-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 67, 156, 0.15);
    border: 1px solid rgba(0, 67, 156, 0.4);
    border-radius: 8px;
    color: #00439C;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    flex-shrink: 0;
}

.github-btn svg {
    width: 20px;
    height: 20px;
}

.github-btn:hover {
    background: rgba(0, 67, 156, 0.3);
    border-color: #0066CC;
    color: #0066CC;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 67, 156, 0.4);
}

.github-btn.private {
    background: rgba(255, 165, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.4);
    color: #FFA500;
    font-family: 'Orbitron', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.github-btn.private:hover {
    background: rgba(255, 165, 0, 0.3);
}

.project-sleek-tech {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-sleek-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.project-sleek-points li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.project-sleek-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00439C;
    font-size: 0.8rem;
}

.project-sleek-points .highlight {
    color: #00FF00;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

@media (max-width: 768px) {
    .projects-sleek-grid {
        grid-template-columns: 1fr;
    }

    .project-sleek-title {
        font-size: 0.9rem;
    }
}

/* ============================================
   TACTICAL POWER COUPLING - Theme Toggle
   Cyberpunk sliding core with HUD indicators
   ============================================ */

/* CSS Variables for the coupling */
:root {
    --hud-primary: 0, 255, 136;
    /* Cyber Green - Dark Mode */
    --hud-secondary: 0, 195, 255;
    /* Electric Blue - Light Mode */
    --metal-dark: #1a1a24;
    --metal-light: #2a2a35;
}

.cyber-coupling {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    width: 140px;
    height: 44px;
    margin-left: 1rem;
    /* Tactical bevel shape */
    clip-path: polygon(8% 0, 92% 0, 100% 25%, 100% 75%, 92% 100%, 8% 100%, 0 75%, 0 25%);
    --active-color: var(--hud-primary);
    transition: transform 0.2s ease;
}

.cyber-coupling:hover {
    transform: scale(1.02);
}

.cyber-coupling:active {
    transform: scale(0.98);
}

/* The main metallic housing */
.coupling-chassis {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--metal-light) 0%, var(--metal-dark) 100%);
    border: 2px solid rgba(var(--active-color), 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 4px;
    overflow: hidden;
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(var(--active-color), 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cyber-coupling:hover .coupling-chassis {
    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(var(--active-color), 0.5),
        0 0 50px rgba(var(--active-color), 0.2);
}

/* HUD Text Indicators */
.hud-text {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.hud-text.left {
    color: rgba(var(--active-color), 1);
    text-shadow: 0 0 10px rgba(var(--active-color), 0.9);
}

.hud-text.right {
    color: rgba(var(--active-color), 0.3);
    text-shadow: none;
}

/* The sliding power core */
.coupling-core {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: rgba(var(--active-color), 0.9);
    box-shadow:
        0 0 10px rgba(var(--active-color), 0.8),
        0 0 20px rgba(var(--active-color), 0.6),
        0 0 40px rgba(var(--active-color), 0.4),
        inset 0 0 5px rgba(255, 255, 255, 0.5);
    transition: transform 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55), background 0.25s ease;
    z-index: 1;
    /* Core texture - vertical lines */
    background-image: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.2) 2px, rgba(0, 0, 0, 0.2) 4px);
}

/* Cosmetic scanlines on the chassis */
.chassis-scanlines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 50%, transparent 50%);
    background-size: 4px 4px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 3;
}

/* Glitch overlay for hover effects */
.glitch-overlay {
    position: absolute;
    inset: -5px;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    display: none;
}

.cyber-coupling:hover .glitch-overlay {
    opacity: 1;
    display: block;
    animation: cyber-glitch 0.3s linear infinite alternate-reverse;
}

.glitch-overlay::before,
.glitch-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
}

.glitch-overlay::before {
    transform: translate(-2px, 0);
    background: rgba(255, 0, 0, 0.2);
    clip-path: polygon(0 20%, 100% 20%, 100% 30%, 0 30%);
    animation: cyber-glitch-slice 0.4s steps(2, end) infinite;
}

.glitch-overlay::after {
    transform: translate(2px, 0);
    background: rgba(0, 255, 255, 0.2);
    clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%);
    animation: cyber-glitch-slice 0.6s steps(2, end) infinite reverse;
}

/* ===== LIGHT MODE - Power Core slides right ===== */
[data-theme="light"] .cyber-coupling {
    --active-color: var(--hud-secondary);
}

[data-theme="light"] .coupling-core {
    transform: translateX(100%);
}

[data-theme="light"] .hud-text.left {
    color: rgba(var(--active-color), 0.3);
    text-shadow: none;
}

[data-theme="light"] .hud-text.right {
    color: rgba(var(--active-color), 1);
    text-shadow: 0 0 10px rgba(var(--active-color), 0.9);
}

/* ===== BODY SCANLINE PULSE EFFECT ===== */
.system-pulse-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(var(--hud-primary), 0.15) 10%,
            rgba(var(--hud-primary), 0.6) 50%,
            rgba(var(--hud-primary), 0.15) 90%,
            transparent 100%);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    animation: body-scanline 0.6s ease-out forwards;
}

[data-theme="light"].system-pulse-active::before {
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(var(--hud-secondary), 0.15) 10%,
            rgba(var(--hud-secondary), 0.6) 50%,
            rgba(var(--hud-secondary), 0.15) 90%,
            transparent 100%);
}

/* ===== KEYFRAMES ===== */
@keyframes cyber-glitch {
    0% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(-1px, 1px);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(1px, -1px);
    }

    40% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(2px, 0px);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(-2px, 0px);
    }

    80% {
        clip-path: inset(0% 0 90% 0);
        transform: translate(1px, 2px);
    }

    100% {
        clip-path: inset(40% 0 30% 0);
        transform: translate(-1px, -2px);
    }
}

@keyframes cyber-glitch-slice {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 10%, 0 10%);
        transform: translate(-2px, 1px);
    }

    50% {
        clip-path: polygon(0 40%, 100% 40%, 100% 50%, 0 50%);
        transform: translate(2px, -1px);
    }

    100% {
        clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%);
        transform: translate(-2px, 1px);
    }
}

@keyframes body-scanline {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 900px) {

    /* Hide theme toggle from navbar on mobile - use transform for reliable positioning */
    .cyber-coupling {
        position: fixed !important;
        top: 0 !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        /* Use transform to position at bottom of viewport */
        transform: translate(-50%, calc(100vh + 50px)) !important;
        margin: 0 !important;
        z-index: 10001;
        width: 140px;
        height: 44px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.3s ease,
            visibility 0.3s ease;
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.5),
            0 0 25px rgba(var(--active-color), 0.3);
    }

    /* Keep theme toggle hidden when mobile menu is open */
    body.mobile-menu-open .cyber-coupling {
        transform: translate(-50%, calc(100vh + 50px)) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .hud-text {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }

    .coupling-chassis {
        box-shadow:
            inset 0 0 10px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(var(--active-color), 0.4),
            0 4px 15px rgba(0, 0, 0, 0.5);
    }
}


/* ============================================
   LIGHT MODE THEME OVERRIDES
   Maintaining PlayStation Blue Accent
   ============================================ */

/* Base transition for smooth theme switching */
body,
body *,
body *::before,
body *::after {
    transition: background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Light mode color scheme */
[data-theme="light"] {
    /* Core colors */
    --tactical-black: #FAFBFC;
    --tactical-slate: #F1F3F5;
    --tactical-slate-light: #E9ECEF;
    --tactical-dark-blue: #E3E8EF;
    --tactical-gray: #64748B;
    --tactical-gray-light: #4A5568;

    /* PlayStation Blue stays consistent */
    --playstation-blue: #00439C;
    --playstation-blue-light: #0066CC;
    --playstation-blue-glow: rgba(0, 67, 156, 0.25);
    --playstation-blue-glow-strong: rgba(0, 67, 156, 0.4);

    /* Glassmorphism - Light mode */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 67, 156, 0.1);
    --glass-border-strong: rgba(0, 67, 156, 0.2);

    /* Semantic colors */
    --color-background: #FAFBFC;
    --color-surface: #FFFFFF;
    --color-surface-elevated: #F1F3F5;
    --color-text: #1A1A2E;
    --color-text-secondary: rgba(26, 26, 46, 0.7);
    --color-text-tertiary: rgba(26, 26, 46, 0.5);
    --color-primary: var(--playstation-blue);
    --color-primary-hover: var(--playstation-blue-light);
    --color-border: rgba(0, 67, 156, 0.15);
    --color-border-strong: rgba(0, 67, 156, 0.25);
}

/* Force override for tactical theme in light mode */
body[data-theme="light"] {
    --color-background: #FAFBFC !important;
    --color-text: #1A1A2E !important;
    background: linear-gradient(180deg, #FAFBFC 0%, #E3E8EF 100%);
    color: #1A1A2E;
}

/* Tactical Grid - Light Mode */
[data-theme="light"] .tactical-grid {
    background-image:
        linear-gradient(rgba(0, 67, 156, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 67, 156, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .scan-lines {
    background: repeating-linear-gradient(0deg,
            rgba(0, 67, 156, 0.02),
            rgba(0, 67, 156, 0.02) 1px,
            transparent 1px,
            transparent 2px);
    opacity: 0.5;
}

/* HUD Corners - Light Mode */
[data-theme="light"] .hud-corner {
    border-color: rgba(0, 67, 156, 0.3);
}

/* Navigation - Light Mode */
[data-theme="light"] .tactical-nav {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .nav-logo,
[data-theme="light"] .logo-text {
    color: #1A1A2E;
}

[data-theme="light"] .logo-bracket {
    color: #00439C;
}

[data-theme="light"] .nav-link,
[data-theme="light"] .duality-link .corporate-layer {
    color: #4A5568;
}

[data-theme="light"] .duality-link .corporate-layer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 243, 245, 0.8));
    border-color: rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .duality-link .corporate-layer .link-text {
    color: #1A1A2E;
}

[data-theme="light"] .link-icon {
    color: #00439C;
}

/* Status Bar - Light Mode */
[data-theme="light"] .status-bar {
    color: rgba(26, 26, 46, 0.6);
}

[data-theme="light"] .status-active {
    color: #10B981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .status-level {
    color: #00439C;
    text-shadow: 0 0 10px rgba(0, 67, 156, 0.3);
}

/* Identity/Hero Section - Light Mode */
[data-theme="light"] .identity-name {
    color: #1A1A2E;
}

[data-theme="light"] .name-prefix {
    color: #00439C;
}

[data-theme="light"] .identity-role {
    color: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .cursor-blink {
    color: #00439C;
    text-shadow:
        0 0 10px rgba(0, 67, 156, 0.6),
        0 0 20px rgba(0, 67, 156, 0.4);
}

/* Bento Cards - Light Mode */
[data-theme="light"] .bento-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 67, 156, 0.12);
    box-shadow: 0 4px 20px rgba(0, 67, 156, 0.08);
}

[data-theme="light"] .bento-card:hover {
    border-color: rgba(0, 67, 156, 0.25);
    box-shadow: 0 8px 40px rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .card-label {
    color: rgba(26, 26, 46, 0.6);
}

[data-theme="light"] .stat-card .stat-value {
    color: #00439C;
    text-shadow: 0 0 15px rgba(0, 67, 156, 0.3);
}

[data-theme="light"] .stat-card .stat-unit {
    color: rgba(26, 26, 46, 0.6);
}

[data-theme="light"] .stat-denominator {
    color: rgba(26, 26, 46, 0.5);
}

/* Progress Track - Light Mode */
[data-theme="light"] .progress-track {
    background: rgba(0, 67, 156, 0.1);
    border-color: rgba(0, 67, 156, 0.2);
}

[data-theme="light"] .progress-label-small {
    color: rgba(26, 26, 46, 0.5);
}

/* Mesh Nodes - Light Mode */
[data-theme="light"] .node-item {
    background: rgba(0, 67, 156, 0.08);
    border-color: rgba(0, 67, 156, 0.2);
}

[data-theme="light"] .node-name {
    color: #1A1A2E;
}

/* Contact Buttons - Light Mode */
[data-theme="light"] .contact-btn {
    background: rgba(0, 67, 156, 0.08);
    border-color: rgba(0, 67, 156, 0.15);
    color: #1A1A2E;
}

[data-theme="light"] .contact-btn:hover {
    background: rgba(0, 67, 156, 0.15);
    border-color: rgba(0, 67, 156, 0.3);
}

[data-theme="light"] .contact-btn svg {
    color: #00439C;
}

[data-theme="light"] .contact-bat-signal {
    background: radial-gradient(circle at center, rgba(0, 67, 156, 0.18), transparent 70%);
    border-color: rgba(0, 67, 156, 0.3);
    box-shadow: 0 0 10px rgba(0, 67, 156, 0.2);
}

[data-theme="light"] .contact-bat-signal svg {
    fill: rgba(0, 67, 156, 0.8);
    filter: drop-shadow(0 0 4px rgba(0, 67, 156, 0.4));
}

/* Radar Chart - Light Mode */
[data-theme="light"] .radar-grid {
    stroke: rgba(0, 67, 156, 0.2);
}

[data-theme="light"] .radar-axis {
    stroke: rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .radar-data {
    fill: rgba(0, 67, 156, 0.2);
    stroke: #00439C;
}

[data-theme="light"] .radar-label {
    fill: #4A5568;
}

[data-theme="light"] .radar-point {
    fill: #10B981;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.6));
}

/* Duality Cards - Light Mode */
[data-theme="light"] .duality-card .corporate-card {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .duality-card .batman-card {
    background: #1A1A2E;
}

[data-theme="light"] .duality-card:hover {
    box-shadow:
        0 0 30px rgba(0, 67, 156, 0.25),
        0 0 60px rgba(0, 67, 156, 0.12);
}

/* Section Titles - Light Mode */
[data-theme="light"] .section-title {
    color: #1A1A2E;
}

[data-theme="light"] .title-bracket {
    color: #00439C;
}

/* Timeline - Light Mode - PREMIUM REDESIGN */
[data-theme="light"] .timeline-line {
    background: linear-gradient(180deg,
            transparent 0%,
            #0066CC 10%,
            #00439C 50%,
            #0066CC 90%,
            transparent 100%);
    width: 3px;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.3);
}

[data-theme="light"] .timeline-node {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(248, 250, 255, 0.95) 100%);
    border: none;
    border-left: 4px solid #00439C;
    border-radius: 0 16px 16px 0;
    box-shadow:
        0 4px 24px rgba(0, 67, 156, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.8rem 2rem 1.8rem 2.5rem;
}

[data-theme="light"] .timeline-node:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 67, 156, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-left-color: #0066CC;
}

/* Active node special styling (current position) */
[data-theme="light"] .timeline-node.active {
    border-left: 4px solid #10B981;
    background: linear-gradient(145deg,
            rgba(240, 253, 244, 0.98) 0%,
            rgba(255, 255, 255, 0.95) 100%);
    box-shadow:
        0 4px 24px rgba(16, 185, 129, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .timeline-node.active:hover {
    border-left-color: #059669;
    box-shadow:
        0 12px 40px rgba(16, 185, 129, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .timeline-node.active .node-dot {
    background: #10B981;
    border-color: #ffffff;
    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.2),
        0 0 20px rgba(16, 185, 129, 0.5);
}

/* Timeline dots - premium styling */
[data-theme="light"] .node-dot {
    background: #00439C;
    border: 3px solid #ffffff;
    box-shadow:
        0 0 0 4px rgba(0, 67, 156, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15);
    width: 20px;
    height: 20px;
}

/* Role title - color only, inherit size from base */
[data-theme="light"] .node-role {
    color: #0D1B2A;
    text-shadow: none;
    /* font-size inherited from base for consistency */
}

/* Company name - accent color */
[data-theme="light"] .node-company {
    color: #00439C;
    background: linear-gradient(90deg, #00439C, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    /* font-size inherited from base for consistency */
}

/* Date - light mode colors */
[data-theme="light"] .node-date {
    color: #475569;
    background: rgba(71, 85, 105, 0.1);
    border-color: rgba(71, 85, 105, 0.2);
    /* font-size and padding inherited from base */
}

/* Status badges - solid gradient pills for light mode */

[data-theme="light"] .node-badge.alpha {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .node-badge.beta {
    background: linear-gradient(135deg, #0066CC, #00439C);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 102, 204, 0.4);
}

[data-theme="light"] .node-badge.gamma {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

[data-theme="light"] .node-badge.delta {
    background: linear-gradient(135deg, #64748B, #475569);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 12px rgba(100, 116, 139, 0.4);
}

/* Details section - expandable content */
[data-theme="light"] .node-details {
    background: linear-gradient(145deg,
            rgba(248, 250, 255, 0.9) 0%,
            rgba(241, 245, 249, 0.95) 100%);
    border: none;
    border-top: 1px solid rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .detail-points li {
    color: #334155;
    /* font-size inherited from base for consistency */
}

[data-theme="light"] .detail-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00439C, #0066CC);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.4);
}

/* Academic Dossier - Light Mode */
[data-theme="light"] .dossier-node {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-color: rgba(0, 67, 156, 0.12);
    box-shadow: 0 4px 20px rgba(0, 67, 156, 0.08);
}

[data-theme="light"] .dossier-node:hover {
    border-color: rgba(0, 67, 156, 0.25);
    box-shadow: 0 8px 40px rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .node-icon {
    color: #00439C;
}

[data-theme="light"] .node-info .node-name {
    color: #1A1A2E;
}

[data-theme="light"] .node-degree,
[data-theme="light"] .node-minor {
    color: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .node-gpa {
    color: rgba(26, 26, 46, 0.6);
}

[data-theme="light"] .gpa-value {
    color: #00439C;
}

[data-theme="light"] .data-stream {
    background: rgba(241, 243, 245, 0.9);
}

[data-theme="light"] .stream-header {
    color: #00439C;
    border-bottom-color: rgba(0, 67, 156, 0.2);
}

[data-theme="light"] .course-item {
    background: rgba(0, 67, 156, 0.05);
    border-left-color: #00439C;
}

[data-theme="light"] .course-name {
    color: #1A1A2E;
}

/* Projects Section - Light Mode */
[data-theme="light"] .project-sleek-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 67, 156, 0.12);
    box-shadow: 0 4px 20px rgba(0, 67, 156, 0.08);
}

[data-theme="light"] .project-sleek-card:hover {
    border-color: rgba(0, 67, 156, 0.25);
    box-shadow: 0 8px 40px rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .project-sleek-title {
    color: #1A1A2E;
}

[data-theme="light"] .project-sleek-tech {
    color: #00439C;
}

[data-theme="light"] .project-sleek-points li {
    color: rgba(26, 26, 46, 0.8);
}

[data-theme="light"] .project-sleek-points li::before {
    color: #00439C;
}

[data-theme="light"] .project-sleek-points .highlight {
    color: #10B981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .github-btn {
    background: rgba(0, 67, 156, 0.1);
    color: #00439C;
}

[data-theme="light"] .github-btn:hover {
    background: #00439C;
    color: #FFFFFF;
}

[data-theme="light"] .github-btn.private {
    background: rgba(26, 26, 46, 0.1);
    color: #4A5568;
}

/* Arsenal Section - Light Mode */
[data-theme="light"] .arsenal-category {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 67, 156, 0.12);
}

[data-theme="light"] .category-title {
    color: #00439C;
}

[data-theme="light"] .tech-badge {
    background: rgba(0, 67, 156, 0.08);
    color: #1A1A2E;
    border-color: rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .tech-badge:hover {
    background: rgba(0, 67, 156, 0.15);
    border-color: rgba(0, 67, 156, 0.3);
}

/* Clearance Terminal - Light Mode */
[data-theme="light"] .clearance-terminal {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 67, 156, 0.2);
    box-shadow: 0 8px 40px rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .terminal-header {
    background: linear-gradient(90deg, rgba(0, 67, 156, 0.08), rgba(0, 102, 204, 0.05));
    border-bottom-color: rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .terminal-title {
    color: #00439C;
}

[data-theme="light"] .terminal-body {
    background: rgba(248, 250, 252, 0.95);
}

[data-theme="light"] .file-name {
    color: #1A1A2E;
}

[data-theme="light"] .file-description {
    color: rgba(26, 26, 46, 0.6);
}

[data-theme="light"] .class-label {
    color: rgba(26, 26, 46, 0.6);
}

[data-theme="light"] .class-value {
    color: #1A1A2E;
}

[data-theme="light"] .class-value.authorized {
    color: #10B981;
}

[data-theme="light"] .command-line {
    background: #1A1A2E;
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .prompt {
    color: #00439C;
}

[data-theme="light"] .terminal-footer {
    background: linear-gradient(90deg, rgba(0, 67, 156, 0.05), rgba(0, 102, 204, 0.03));
    border-top-color: rgba(0, 67, 156, 0.1);
    color: rgba(26, 26, 46, 0.5);
}

/* Download Button - Light Mode */
[data-theme="light"] .download-btn-tactical {
    background: linear-gradient(135deg, #00439C, #0066CC);
    color: #FFFFFF;
}

[data-theme="light"] .download-btn-tactical:hover {
    box-shadow: 0 0 30px rgba(0, 67, 156, 0.4);
}

/* Footer - Light Mode */
[data-theme="light"] .tactical-footer {
    background: rgba(241, 243, 245, 0.9);
    border-top: 1px solid rgba(0, 67, 156, 0.1);
}

[data-theme="light"] .footer-text,
[data-theme="light"] .footer-copyright {
    color: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .status-text {
    color: #10B981;
}

/* Mobile Navigation - Light Mode */
@media (max-width: 900px) {
    [data-theme="light"] .nav-links {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
        border-bottom: 2px solid rgba(0, 67, 156, 0.2);
        box-shadow: 0 15px 40px rgba(0, 67, 156, 0.1);
    }

    [data-theme="light"] .nav-links .duality-link .corporate-layer {
        border-bottom: 1px solid rgba(0, 67, 156, 0.12);
        background: rgba(255, 255, 255, 0.5);
    }

    [data-theme="light"] .nav-links .duality-link .corporate-layer .link-text {
        color: #1A1A2E;
        /* font-size inherited from base styles for consistency */
    }

    [data-theme="light"] .nav-links .duality-link .corporate-layer .link-icon {
        color: #00439C;
        /* font-size inherited from base styles for consistency */
    }

    [data-theme="light"] .nav-links .duality-link:active .corporate-layer {
        background: rgba(0, 67, 156, 0.12);
    }

    [data-theme="light"] .toggle-bar {
        background: #00439C;
    }

    [data-theme="light"] .nav-toggle {
        background: rgba(0, 67, 156, 0.08);
        border-color: rgba(0, 67, 156, 0.25);
    }

    [data-theme="light"] .theme-toggle {
        border-top: 1px solid rgba(0, 67, 156, 0.1);
    }
}

/* ============================================
   LIGHT MODE - COLOR OVERRIDES ONLY
   Sizing is now handled in base styles for parity
   ============================================ */

/* Hero Section - Colors Only */
[data-theme="light"] .identity-name {
    color: #0D1B2A;
    text-shadow: none;
}

[data-theme="light"] .name-prefix {
    color: #00439C;
}

[data-theme="light"] .identity-role {
    color: #3D5A80;
}

/* Status Bar - Colors */
[data-theme="light"] .status-bar {
    color: #4A5568;
}

/* Card Labels */
[data-theme="light"] .card-label {
    color: #4A5568;
}

/* Stat Values Colors */
[data-theme="light"] .stat-card .stat-unit {
    color: #4A5568;
}

[data-theme="light"] .progress-label-small {
    color: #4A5568;
}

/* Section Titles - Colors */
[data-theme="light"] .section-title {
    color: #0D1B2A;
}

/* ============================================
   LIGHT MODE - TIMELINE FIX
   Better colors for mission timeline
   ============================================ */
[data-theme="light"] .timeline-node .node-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 67, 156, 0.2);
    box-shadow: 0 4px 20px rgba(0, 67, 156, 0.1);
}

[data-theme="light"] .node-role {
    color: #0D1B2A;
}

[data-theme="light"] .node-company {
    color: #00439C;
}

[data-theme="light"] .node-date {
    color: #4A5568;
}

[data-theme="light"] .node-details {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 67, 156, 0.15);
    box-shadow: 0 8px 30px rgba(0, 67, 156, 0.12);
}

[data-theme="light"] .detail-points li {
    color: #1A1A2E;
}

[data-theme="light"] .detail-points li::before {
    color: #00439C;
}

/* Timeline node dot and line */
[data-theme="light"] .timeline-node::before {
    background: #00439C;
    box-shadow: 0 0 15px rgba(0, 67, 156, 0.5);
}

[data-theme="light"] .timeline-line {
    background: linear-gradient(180deg,
            rgba(0, 67, 156, 0.4),
            rgba(0, 67, 156, 0.2));
}

/* ============================================
   LIGHT MODE - DOWNLOAD PROGRESS FIX
   Make progress text visible
   ============================================ */
[data-theme="light"] .download-progress {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 67, 156, 0.2);
}

[data-theme="light"] .progress-label {
    color: #1A1A2E;
}

[data-theme="light"] .progress-percentage {
    color: #00439C;
}

[data-theme="light"] .progress-bar-container {
    background: rgba(0, 67, 156, 0.15);
}

[data-theme="light"] .progress-status {
    color: #4A5568;
}

/* ============================================
   LIGHT MODE - ACADEMIC DOSSIER
   ============================================ */
[data-theme="light"] .node-info .node-name {
    color: #0D1B2A;
}

[data-theme="light"] .node-degree {
    color: #3D5A80;
}

[data-theme="light"] .node-gpa {
    color: #4A5568;
}

[data-theme="light"] .stream-header {
    color: #00439C;
}

[data-theme="light"] .course-name {
    color: #1A1A2E;
}

/* ============================================
   LIGHT MODE - ADDITIONAL COLOR FIXES
   ============================================ */
[data-theme="light"] .project-sleek-title {
    color: #0D1B2A;
}

[data-theme="light"] .project-sleek-tech {
    color: #00439C;
}

[data-theme="light"] .project-sleek-points li {
    color: #1A1A2E;
}

[data-theme="light"] .category-title {
    color: #00439C;
}

[data-theme="light"] .tech-badge {
    color: #1A1A2E;
}

[data-theme="light"] .file-name {
    color: #0D1B2A;
}

[data-theme="light"] .file-description {
    color: #4A5568;
}

[data-theme="light"] .class-label {
    color: #4A5568;
}

[data-theme="light"] .class-value {
    color: #0D1B2A;
}

[data-theme="light"] .footer-text {
    color: #4A5568;
}

[data-theme="light"] .footer-copyright {
    color: #64748B;
}

/* Footer items (ENCRYPTION, ACCESS LOG, SESSION) - Light mode */
[data-theme="light"] .footer-item {
    color: #4A5568;
}

[data-theme="light"] .radar-label {
    fill: #4A5568;
}

[data-theme="light"] .duality-link .corporate-layer .link-text {
    color: #1A1A2E;
}

/* Mobile responsive - same sizing in both modes */
@media (max-width: 900px) {
    [data-theme="light"] .identity-name {
        color: #0D1B2A;
    }

    [data-theme="light"] .identity-role {
        color: #3D5A80;
    }

    [data-theme="light"] .section-title {
        color: #0D1B2A;
    }
}