/* ===========================================
   LIVELY ARSENAL (SKILLS REDESIGN)
   =========================================== */
.arsenal-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: stretch;
    gap: 1.5rem;
    padding: 1rem 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

.arsenal-card {
    flex: 1 1 0 !important;
    width: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.arsenal-card:hover {
    transform: perspective(1000px) translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px -10px rgba(var(--accent-primary-rgb), 0.4), inset 0 0 15px rgba(var(--accent-primary-rgb), 0.1);
}

/* Glass effect overlay */
.card-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
    z-index: 0;
}

/* Header & Icons */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    transform: translateZ(20px);
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.arsenal-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg) translateZ(30px);
    background: rgba(var(--accent-primary-rgb), 0.15);
    box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.4);
    color: #fff;
}

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

/* Bars */
.card-body {
    transform: translateZ(10px);
    position: relative;
    z-index: 1;
}

.tech-item {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tech-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.tech-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--width);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: left;
}

@keyframes fillBar {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Tools Grid Override for Arsenal */
.tools-grid-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    transform: translateZ(15px);
    position: relative;
    z-index: 1;
}

.tools-card {
    grid-column: span 1;
}

@media (max-width: 991px) {
    .arsenal-grid {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .arsenal-card {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .tools-card {
        width: 100% !important;
    }
}

.tool-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer;
}

.tool-icon-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.tool-icon-item span {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
}

/* ===========================================
   OPERATIVE ROADMAP (CERTS REDESIGN)
   =========================================== */
.roadmap-container {
    padding: 2rem 0;
    position: relative;
}

.roadmap-track {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-line {
    position: absolute;
    left: 24px;
    /* Align with node centers */
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
}

.roadmap-node {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.node-point {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
    /* Default accent glow */
}

.node-point::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.cert-card.compact {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    border-left: 4px solid var(--accent-primary);
}

.cert-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.cert-icon-small svg {
    width: 20px;
    height: 20px;
}

.cert-meta h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.status-verified {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4ade80;
    /* Success Green */
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-verified::before {
    content: '✓';
}

/* Active Mission Style */
.roadmap-node.active .node-point {
    border-color: #ff4d4d;
    /* Active Red */
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.6);
}

.roadmap-node.active .node-point::after {
    background: #ff4d4d;
    animation: pulse-dot 1.5s infinite;
}

.cert-card.active-mission {
    border: 1px solid rgba(255, 77, 77, 0.3);
    background: linear-gradient(145deg, rgba(255, 77, 77, 0.08), rgba(0, 0, 0, 0));
    width: 100%;
    padding: 2rem;
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ff4d4d;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.blinking-dot {
    width: 10px;
    height: 10px;
    background: #ff4d4d;
    border-radius: 50%;
    animation: blink 1s infinite alternate;
}

.mission-body h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.mission-progress {
    margin-top: 1.5rem;
}

.progress-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4d4d, #ff9f43);
    border-radius: 4px;
    animation: fillBar 2s ease-out;
}

.progress-text {
    font-size: 0.8rem;
    color: rgba(255, 77, 77, 0.8);
    font-family: monospace;
}

/* Future Node */
.roadmap-node.future .node-point {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
    box-shadow: none;
}

.roadmap-node.future .node-point::after {
    background: rgba(255, 255, 255, 0.3);
}

.roadmap-node.future .cert-card {
    opacity: 0.7;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: transparent;
}

.status-locked {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}



@keyframes blink {
    from {
        opacity: 1;
        box-shadow: 0 0 10px #ff4d4d;
    }

    to {
        opacity: 0.4;
        box-shadow: 0 0 0 #ff4d4d;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

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

/* Light Theme Overrides REMOVED */

/* ===========================================
   TYPING ANIMATION FIX
   =========================================== */
.cursor-blink {
    animation: blink-cursor 1s step-end infinite;
    font-weight: 100;
    color: var(--accent-primary);
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

[data-theme="light"] .cursor-blink {
    color: #667eea;
}

/* ===========================================
   CYBER RADAR ANIMATION (ABOUT SECTION)
   =========================================== */
.about-innovative {
    min-height: auto;
    gap: 2rem;
}

.about-hologram {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Outline Text - Hidden by default */
/* Chromatic Parallax Illusion */
.about-parallax-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.about-parallax-text .layer {
    font-size: 10rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    position: absolute;
    white-space: nowrap;
    line-height: 1;
    transition: transform 0.1s linear;
}

/* Base Layer - High Visibility */
.about-parallax-text .layer-main {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.08);
    z-index: 0;
    /* Behind content */
}

/* Secondary Outline Layer (Simple Depth, No Chromatic) */
.about-parallax-text .layer-cyan {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    z-index: -1;
}

.about-parallax-text .layer-magenta {
    display: none;
    /* Remove third layer for cleaner look */
}

/* Global Light Theme Override - REMOVE PARALLAX & PANEL BACKGROUND */
[data-theme="light"] .about-parallax-text {
    display: none !important;
}

[data-theme="light"] .about-innovative {
    z-index: 2;
    position: relative;
    background: transparent !important;
    /* Remove white panel */
    backdrop-filter: none !important;
    border: none !important;
    padding: 0;
    /* Remove padding if background is gone */
}

/* Light Theme Terminal Header Green */
[data-theme="light"] .terminal-title {
    color: #00b894 !important;
    /* Green color */
    font-weight: 600;
}

.radar-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0.0) 70%);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.05);
    overflow: hidden;
}

/* Radar Grid */
.radar-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.radar-circle.c1 {
    width: 30%;
    height: 30%;
    border-style: dashed;
}

.radar-circle.c2 {
    width: 60%;
    height: 60%;
    opacity: 0.6;
}

.radar-circle.c3 {
    width: 90%;
    height: 90%;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.1) inset;
}

.radar-crosshair {
    position: absolute;
    background: rgba(102, 126, 234, 0.1);
}

.radar-crosshair.h {
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
}

.radar-crosshair.v {
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 1px;
}

/* Radar Sweep */
.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0) 0%, rgba(102, 126, 234, 0.8) 100%);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    transform-origin: left center;
    animation: radar-sweep 4s linear infinite;
    z-index: 2;
}

.radar-sweep::after {
    content: '';
    position: absolute;
    top: -40px;
    right: 0;
    bottom: -40px;
    width: 60px;
    background: linear-gradient(to right, transparent, rgba(102, 126, 234, 0.1));
    transform: skewX(-10deg);
    filter: blur(5px);
}

/* Detected Targets */
.radar-target {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.target-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4d4d;
    animation: blip 4s infinite;
}

.target-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 77, 77, 0.5);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

.radar-target::after {
    content: attr(data-label);
    position: absolute;
    top: 12px;
    font-size: 0.7rem;
    color: #ff4d4d;
    font-family: monospace;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.5);
    opacity: 0;
    animation: label-fade 4s infinite;
}

/* Specific Target Positions */
/* Animation delays sync with the sweep rotation */
.vapt-target {
    top: 25%;
    right: 25%;
}

.vapt-target .target-dot,
.vapt-target::after {
    animation-delay: 0.5s;
}

.soc-target {
    bottom: 30%;
    right: 35%;
}

.soc-target .target-dot,
.soc-target::after {
    animation-delay: 1.8s;
}

.ai-target {
    top: 40%;
    left: 25%;
}

.ai-target .target-dot,
.ai-target::after {
    animation-delay: 3.2s;
}

/* Central Core */
.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-primary);
    z-index: 4;
}

/* Animations */
@keyframes radar-sweep {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes blip {

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

    50% {
        transform: scale(1.5);
        opacity: 1;
    }

    60% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 0;
        border-width: 0px;
    }

    50% {
        opacity: 1;
        border-width: 1px;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
        border-width: 0px;
    }
}

@keyframes label-fade {

    0%,
    100% {
        opacity: 0;
    }

    20%,
    80% {
        opacity: 1;
    }
}


/* ========================================
   NEW THEME TOGGLE SWITCH
   ======================================== */

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.theme-switch-container {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 60px;
    height: 34px;
}

.theme-switch-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.theme-switch-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 34px;
    width: 60px;
}

#theme-toggle-svg {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#theme-toggle-svg .inner-shadow {
    stroke-opacity: 0.1;
    stroke-width: 5;
    stroke: black;
    fill: none;
}

#night-content {
    opacity: 0;
    /* Hidden by default (Day mode) */
}

/* Day/Night Label styles (if we were using them, but we aren't for this compact version) */
.day-label,
.night-label {
    display: none;
}

/* Ensure it fits in mobile if needed */
@media screen and (max-width: 768px) {
    .theme-switch-wrapper {
        margin-left: auto;
        margin-right: 1rem;
    }
}


@keyframes label-fade {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

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

/* Light Theme Overrides for Radar */
[data-theme="light"] .radar-container {
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0) 70%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .radar-grid .radar-circle {
    border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .radar-sweep {
    background: linear-gradient(90deg, transparent 0%, #667eea 100%);
}


/* ===========================================
   DUAL-THEME ABOUT ANIMATION
   =========================================== */

/* --- DARK THEME: VIRUS / MALWARE --- */
/* Default styles apply to Dark Theme */

.about-hologram {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.radar-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Virus: Dark, sinister glow */
    background: radial-gradient(circle at center, rgba(20, 255, 100, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    box-shadow: 0 0 50px rgba(0, 255, 128, 0.05);
    overflow: hidden;
}

/* Virus Core */
.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.virus-icon {
    width: 100%;
    height: 100%;
    color: #ff3333;
    filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.8));
    animation: pulse-virus 2s infinite ease-in-out;
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 51, 51, 0.5);
    border-radius: 50%;
    animation: ripple-virus 2s infinite ease-out;
}

/* Virus Glitch Rings */
.radar-grid {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 51, 51, 0.3);
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.1);
}

.radar-circle.c1 {
    width: 30%;
    height: 30%;
    animation: glitch-rotate 5s infinite linear;
    border-color: rgba(0, 255, 128, 0.3);
}

.radar-circle.c2 {
    width: 60%;
    height: 60%;
    animation: glitch-rotate-reverse 7s infinite linear;
    opacity: 0.5;
}

.radar-circle.c3 {
    width: 90%;
    height: 90%;
    border: 1px solid rgba(255, 51, 51, 0.1);
}

/* Glitch Effect Layer */
.virus-glitch-effect {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(transparent 0px,
            rgba(0, 255, 128, 0.05) 2px,
            transparent 4px);
    opacity: 0.3;
    pointer-events: none;
    animation: scan-glitch 3s infinite linear;
}

/* Detected Targets - Virus Style */
.radar-target {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.target-dot {
    width: 6px;
    height: 6px;
    background: #ff3333;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3333;
    animation: blip 2s infinite;
}

.target-ring {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 51, 51, 0.6);
    border-radius: 50%;
    animation: ripple 1.5s infinite;
}

/* --- LIGHT THEME: DROPLETS --- */
/* Completely overrides for Light Theme */

[data-theme="light"] .radar-container {
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
    box-shadow: none;
    border: none;
}

/* Hide Virus Core & Elements */
[data-theme="light"] .virus-icon,
[data-theme="light"] .virus-glitch-effect,
[data-theme="light"] .scan-line,
[data-theme="light"] .core-pulse {
    display: none;
}

/* Droplet Core */
[data-theme="light"] .core-dot {
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

/* Borderless Droplets (Replacing Rings) */
[data-theme="light"] .radar-circle {
    border: none;
    /* No border */
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.2);
    /* Faint edge */
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: droplet-ripple 4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    /* Start invisible */
}

/* Staggered Ripples */
[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
    width: 10%;
    height: 10%;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 1.3s;
    width: 10%;
    height: 10%;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 2.6s;
    width: 10%;
    height: 10%;
}

/* Red Blips in Light Theme (As Requested) */
[data-theme="light"] .target-dot {
    background: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

[data-theme="light"] .target-ring {
    border-color: rgba(255, 77, 77, 0.3);
}

/* ANIMATIONS */

@keyframes droplet-ripple {
    0% {
        width: 0%;
        height: 0%;
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

@keyframes pulse-virus {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.8));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 51, 51, 1));
    }
}

@keyframes glitch-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        border-radius: 50%;
    }

    20% {
        border-radius: 40% 60% 50% 50%;
    }

    40% {
        border-radius: 50%;
    }

    60% {
        border-radius: 60% 40% 60% 40%;
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        border-radius: 50%;
    }
}

@keyframes glitch-rotate-reverse {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes scan-glitch {
    0% {
        background-position: 0 0;
    }

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


/* ===========================================
   FINAL REFINEMENTS: MALWARE & WATER DROP
   =========================================== */

/* 1. Increase Size */
.about-hologram {
    width: 450px !important;
    /* Significantly larger */
    height: 450px !important;
}

/* 2. Hide Radar Sweep Stick (Both Themes) */
.radar-sweep {
    display: none !important;
}

/* 3. LIGHT THEME: WATER DROP / HEART BEAT */
[data-theme="light"] .radar-circle {
    border: none !important;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.1);
    opacity: 0;
    animation: water-drop 4s infinite cubic-bezier(0, 0.2, 0.5, 1);
}

/* Staggered drops */
[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 1.2s;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 2.4s;
}

/* Water Drop Animation */
@keyframes water-drop {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0.8;
        border-width: 2px;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        /* Expands outward */
        opacity: 0;
        border-width: 0px;
    }
}

/* Core Beat Animation */
[data-theme="light"] .core-dot {
    animation: heart-beat 1.5s infinite ease-in-out;
}

@keyframes heart-beat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    15% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0.2);
    }

    30% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }

    45% {
        transform: scale(1.1);
        box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.2);
    }

    60% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }

    100% {
        transform: scale(1);
    }
}

/* 4. DARK THEME: ADVANCED MALWARE */

/* Active Infection Nodes */
.radar-grid::after {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px dashed rgba(255, 51, 51, 0.2);
    border-radius: 50%;
    animation: glitch-spin 10s infinite linear;
}

@keyframes glitch-spin {
    0% {
        transform: rotate(0deg);
        border-style: dashed;
    }

    50% {
        transform: rotate(180deg);
        border-style: dotted;
    }

    100% {
        transform: rotate(360deg);
        border-style: dashed;
    }
}


/* ===========================================
   "MORE AMAZING" UPGRADE
   =========================================== */

/* 1. ORGANIC WATER RIPPLES (Light Theme) */
[data-theme="light"] .radar-circle {
    /* Glass water effect */
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0) 60%);
    backdrop-filter: blur(2px);
    /* Blur creates "depth" */
    border-radius: 50% !important;
    /* Slight wobble for organic water feel */
    animation: water-drop-organic 5s infinite ease-out;
}

[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 1.5s;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 3s;
}

[data-theme="light"] .radar-circle.c4 {
    animation-delay: 4.5s;
}

@keyframes water-drop-organic {
    0% {
        transform: translate(-50%, -50%) scale(0.05);
        opacity: 0.9;
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.3) inset;
    }

    50% {
        opacity: 0.5;
        border-radius: 45% 55% 40% 60%;
        /* Morphing shape */
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
        box-shadow: 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Shockwave from Core */
[data-theme="light"] .core-pulse {
    animation: shockwave 2s infinite cubic-bezier(0.1, 0.7, 1.0, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.4);
}

@keyframes shockwave {
    0% {
        transform: scale(1);
        opacity: 1;
        border-width: 2px;
    }

    100% {
        transform: scale(4);
        opacity: 0;
        border-width: 0px;
    }
}


/* 2. CYBER GLITCH ARTIFACTS (Dark Theme) */

/* Rotate the whole container slowly for specific disorientation */
html:not([data-theme="light"]) .radar-grid {
    animation: slow-grid-spin 20s infinite linear;
}

@keyframes slow-grid-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Aggressive Glitch Core */
html:not([data-theme="light"]) .radar-core::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed #ff3333;
    border-radius: 50%;
    animation: glitch-ring-fast 0.5s infinite linear reverse;
    opacity: 0.5;
}

html:not([data-theme="light"]) .radar-core::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 2px dotted #00ff88;
    border-radius: 50%;
    animation: glitch-ring-slow 2s infinite steps(4);
    opacity: 0.3;
}

@keyframes glitch-ring-fast {
    0% {
        transform: rotate(0deg);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    50% {
        clip-path: polygon(10% 0, 90% 0, 100% 90%, 0 100%);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glitch-ring-slow {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Connecting lines to targets for "Infection" feel */
html:not([data-theme="light"]) .radar-target::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, #ff3333, transparent);
    transform-origin: left;
    transform: rotate(calc(var(--angle) * 1deg));
    z-index: -1;
    opacity: 0.3;
}


/* ===========================================
   INSANE MODE: HOLOGRAPHIC LIGHT THEME
   =========================================== */

/* 1. HOLOGRAPHIC RIPPLES (Prism Effect) */
[data-theme="light"] .radar-circle {
    /* Clear previous simple styles */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;

    /* New Complex Style */
    position: absolute;
    border-radius: 50%;

    /* Insane Gradient Border */
    background: conic-gradient(transparent, rgba(102, 126, 234, 0.2), rgba(0, 255, 255, 0.4), rgba(102, 126, 234, 0.2), transparent);
    background-size: 200% 200%;

    /* Mask to make it a ring */
    -webkit-mask: radial-gradient(transparent 65%, black 66%);
    mask: radial-gradient(transparent 65%, black 66%);

    animation: prism-splash 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
    mix-blend-mode: multiply;
}

[data-theme="light"] .radar-circle::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: inherit;
    filter: blur(8px);
    /* Glowing aura */
    opacity: 0.6;
    z-index: -1;
}

/* Sync Staggering for "Machine Gun" drops */
[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 0.6s;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 1.2s;
}

[data-theme="light"] .radar-circle.c4 {
    animation-delay: 1.8s;
}

@keyframes prism-splash {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5) rotate(45deg);
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5) rotate(180deg);
        opacity: 0;
    }
}

/* 2. THE CORE: ZERO-POINT ENERGY */
[data-theme="light"] .core-dot {
    background: #fff;
    box-shadow:
        0 0 10px #667eea,
        0 0 30px #00ffff,
        0 0 60px #667eea;
    animation: zero-point-pulse 0.6s infinite alternate;
}

@keyframes zero-point-pulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    100% {
        transform: scale(1.5);
        filter: brightness(2) drop-shadow(0 0 10px white);
    }
}

/* 3. TARGETS: ORBITING SATELLITES */
/* Make targets actually orbit in light theme instead of just sitting there */
[data-theme="light"] .radar-target {
    animation: orbital-float 6s infinite ease-in-out;
}

[data-theme="light"] .vapt-target {
    animation-delay: 0s;
}

[data-theme="light"] .soc-target {
    animation-delay: 2s;
}

[data-theme="light"] .ai-target {
    animation-delay: 4s;
}

@keyframes orbital-float {

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

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

/* 4. BACKGROUND WARP */
[data-theme="light"] .radar-container {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(240, 240, 255, 0.4) 100%);
    overflow: visible;
    /* Let the glow spill out */
}

/* Add a spinning geometric refraction */
[data-theme="light"] .radar-container::before {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transform: rotate(45deg);
    animation: slow-spin 30s linear infinite;
}

[data-theme="light"] .radar-container::after {
    content: '';
    position: absolute;
    inset: 20%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transform: rotate(-45deg);
    animation: slow-spin-rev 25s linear infinite;
}

@keyframes slow-spin {
    to {
        transform: rotate(405deg);
    }
}

@keyframes slow-spin-rev {
    to {
        transform: rotate(-405deg);
    }
}


/* ===========================================
   MAXIMUM OVERDRIVE: INSANELY INSANE
   =========================================== */

/* --- DARK THEME: BIO-CODE HAZARD --- */
/* Glitch everything with RGB splits */
html:not([data-theme="light"]) .radar-container {
    animation: container-glitch 5s infinite;
    background: radial-gradient(circle, #050 0%, #000 80%);
}

@keyframes container-glitch {
    0% {
        transform: translate(0, 0) skew(0deg);
        filter: hue-rotate(0deg);
    }

    2% {
        transform: translate(-2px, 2px) skew(2deg);
        filter: hue-rotate(90deg);
    }

    4% {
        transform: translate(2px, -2px) skew(-2deg);
        filter: hue-rotate(0deg);
    }

    100% {
        transform: translate(0, 0) skew(0deg);
    }
}

/* The Virus Core: Breathing & Screaming */
html:not([data-theme="light"]) .virus-icon {
    animation: virus-scream 0.2s infinite alternate;
    filter: drop-shadow(0 0 20px #f00);
}

@keyframes virus-scream {
    0% {
        transform: scale(1) rotate(0deg);
        color: #f00;
    }

    100% {
        transform: scale(1.3) rotate(10deg);
        color: #f90;
    }
}

/* Rings are now Code Streams */
html:not([data-theme="light"]) .radar-circle {
    border: 2px dashed #0f0;
    box-shadow: 0 0 10px #0f0, 0 0 20px #0f0 inset;
    opacity: 0.8 !important;
    /* Force visible */
}

/* Rapid conflicting spins */
html:not([data-theme="light"]) .c1 {
    animation: spin-chaos-1 1s infinite linear !important;
    border-color: #f00;
}

html:not([data-theme="light"]) .c2 {
    animation: spin-chaos-2 2s infinite linear reverse !important;
    border-color: #0f0;
}

html:not([data-theme="light"]) .c3 {
    animation: spin-chaos-1 3s infinite linear !important;
    border-color: #0ff;
}

html:not([data-theme="light"]) .c4 {
    animation: spin-chaos-2 0.5s infinite linear reverse !important;
    border-color: #ff0;
}

@keyframes spin-chaos-1 {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-chaos-2 {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}


/* --- LIGHT THEME: SINGULARITY --- */
/* A black hole of pure energy */

[data-theme="light"] .radar-container {
    overflow: visible !important;
}

[data-theme="light"] .radar-circle {
    border: 4px solid white !important;
    /* Thick white rings */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50% !important;
    /* Fluid blob shape */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(255, 0, 255, 0.1)) !important;
    mix-blend-mode: overlay;
    animation: singularity-swirl 2s infinite linear !important;
    filter: blur(1px);
}

[data-theme="light"] .c1 {
    width: 100px;
    height: 100px;
    animation-duration: 2s !important;
}

[data-theme="light"] .c2 {
    width: 200px;
    height: 200px;
    animation-duration: 4s !important;
    animation-direction: reverse !important;
}

[data-theme="light"] .c3 {
    width: 300px;
    height: 300px;
    animation-duration: 6s !important;
}

[data-theme="light"] .c4 {
    width: 400px;
    height: 400px;
    animation-duration: 8s !important;
    animation-direction: reverse !important;
}

@keyframes singularity-swirl {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/* Supernova Core */
[data-theme="light"] .core-dot {
    width: 20px;
    height: 20px;
    background: white;
    box-shadow:
        0 0 20px #fff,
        0 0 40px #667eea,
        0 0 80px #ff00ff;
    /* Purple flare */
    animation: supernova 0.2s infinite alternate !important;
}

@keyframes supernova {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 1;
        box-shadow: 0 0 100px white;
    }
}

/* Exploding Targets */
[data-theme="light"] .radar-target {
    animation: shake-orbit 0.5s infinite !important;
}

@keyframes shake-orbit {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}


/* ===========================================
   REDESIGN: DARK THEME - RED ACCENT (CRIMSON OPS)
   =========================================== */

/* Reset Container for Dark Theme */
html:not([data-theme="light"]) .radar-container {
    animation: none !important;
    /* Stop the glitch shaking */
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.1);
    transform: none !important;
    /* Stop skewing */
    filter: none !important;
}

/* 1. THE CORE: ACTIVE THREAT RED */
html:not([data-theme="light"]) .radar-core {
    /* Stabilize core */
    animation: none !important;
}

html:not([data-theme="light"]) .virus-icon {
    color: #ff0000;
    filter: drop-shadow(0 0 15px #ff0000);
    animation: pulse-red 2s infinite ease-in-out;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px #ff0000);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px #ff0000);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px #ff0000);
        opacity: 0.8;
    }
}

/* 2. RINGS: TACTICAL HUD (PURE RED) */
html:not([data-theme="light"]) .radar-circle {
    /* Reset chaos styles */
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    background: transparent !important;
}

/* Specific Ring Tech */
html:not([data-theme="light"]) .c1 {
    width: 30%;
    height: 30%;
    border-top: 2px solid #ff0000 !important;
    border-bottom: 2px solid #ff0000 !important;
    border-left: 2px solid transparent !important;
    border-right: 2px solid transparent !important;
    animation: tech-spin 4s infinite linear !important;
}

html:not([data-theme="light"]) .c2 {
    width: 60%;
    height: 60%;
    border: 1px dashed rgba(255, 0, 0, 0.5) !important;
    animation: tech-spin-rev 10s infinite linear !important;
}

html:not([data-theme="light"]) .c3 {
    width: 90%;
    height: 90%;
    border: 2px solid transparent !important;
    border-left: 2px solid #ff0000 !important;
    border-right: 2px solid #ff0000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1) inset !important;
    animation: tech-spin 15s infinite linear !important;
}

html:not([data-theme="light"]) .c4 {
    display: none !important;
    /* Hide 4th ring for cleaner look */
}

/* Tech Spin Animations */
@keyframes tech-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes tech-spin-rev {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* 3. GLITCH LINE: RED SCANNER */
html:not([data-theme="light"]) .scan-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.5;
    animation: scan-sweep 3s infinite ease-in-out;
    box-shadow: 0 0 10px #ff0000;
}

@keyframes scan-sweep {
    0% {
        top: 0%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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

/* 4. TARGETS: LOCKED ON */
html:not([data-theme="light"]) .target-dot {
    background: #ff0000 !important;
    box-shadow: 0 0 10px #ff0000 !important;
    animation: blink-fast 0.5s infinite alternate !important;
}

html:not([data-theme="light"]) .target-ring {
    border-color: #ff0000 !important;
    animation: lock-on 1s infinite cubic-bezier(0, 0.5, 0.5, 1) !important;
}

@keyframes blink-fast {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

@keyframes lock-on {
    0% {
        transform: scale(2);
        opacity: 0;
    }

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


/* ===========================================
   EXPANDED ARSENAL GRID (16 TOOLS)
   =========================================== */

/* Make the Tools Card Wider (Little Big Panel) */
@media (min-width: 900px) {

    .arsenal-card:has(.expanded-arsenal),
    .tools-card {
        grid-column: span 2 !important;
        /* Spans 2 columns for "Big Panel" feel */
    }
}

/* 4x4 Grid Layout for Tools */
.tools-grid-icons.expanded-arsenal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 20px;
    padding: 10px 0;
}

/* Responsive: 2 columns on mobile */
@media (max-width: 600px) {
    .tools-grid-icons.expanded-arsenal {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols on mobile */
        gap: 10px;
    }
}

/* Tool Icon Styling Updates */
.tool-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.tool-icon-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.tool-icon-item svg {
    width: 28px;
    height: 28px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tool-icon-item:hover svg {
    opacity: 1;
    transform: scale(1.1);
    color: var(--accent-primary);
}

.tool-icon-item span {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.7;
}

/* Light Theme Adjustments */
[data-theme="light"] .tool-icon-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .tool-icon-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}


/* ===========================================
   COMPACT TOOLS GRID FIX
   =========================================== */

/* Make the grid tighter */
.tools-grid-icons.expanded-arsenal {
    gap: 10px !important;
    /* Reduced from 20px */
    padding: 5px 0 !important;
}

/* Smaller Icon Items */
.tool-icon-item {
    padding: 8px !important;
    /* Reduced padding */
    gap: 6px !important;
}

/* Smaller SVGs */
.tool-icon-item svg {
    width: 22px !important;
    /* Reduced from 28px */
    height: 22px !important;
}

/* Smaller Text */
.tool-icon-item span {
    font-size: 0.65rem !important;
    /* Smaller font */
}

/* Adjust card height if needed */
.arsenal-card:has(.expanded-arsenal) {
    min-height: auto !important;
    /* Allow it to shrink */
}


/* ===========================================
   ARSENAL SECTION POLISH (ENTIRE SECTION)
   =========================================== */

/* 1. Enhanced Glass Cards */
.arsenal-card {
    background: rgba(255, 255, 255, 0.03);
    /* Subtle dark glass */
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.arsenal-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Light Theme Card Polish */
[data-theme="light"] .arsenal-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.05);
}

[data-theme="light"] .arsenal-card:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

/* 2. Glowing Tech Bars */
.tech-bar {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

/* The filled part needs a pseudo-element or if it's styled directly */
/* Assuming .tech-bar::after or child. Let's add a glow to the container itself if it acts as the bar */
.tech-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--width);
    background: linear-gradient(90deg, #667eea, #764ba2);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    border-radius: 4px;
    animation: bar-load 1.5s ease-out forwards;
}

@keyframes bar-load {
    from {
        width: 0;
    }
}

/* Light Theme Bars */
[data-theme="light"] .tech-bar::before {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
}

/* 3. Card Headers Pop */
.card-header h3 {
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    transition: 0.3s;
}

[data-theme="light"] .card-header h3 {
    background: linear-gradient(to right, #333, #667eea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

[data-theme="light"] .card-icon {
    filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.3));
    color: #4facfe;
}


/* ===========================================
   INSANE ARSENAL TWEAKS: CYBER OVERLOAD
   =========================================== */

/* 1. RGB HOLOGRAPHIC BORDER */
.arsenal-card {
    position: relative;
    overflow: hidden;
    /* Keep the effects inside */
    z-index: 1;
}

/* The Rotating Glow Border */
.arsenal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            transparent,
            transparent,
            #ff00ff,
            #00ffff,
            #ff00ff,
            transparent);
    animation: rotate-border 4s linear infinite;
    z-index: -2;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.5s;
}

.arsenal-card:hover::before {
    opacity: 1;
    /* Show on hover */
}

/* Inner Mask to create the border look */
.arsenal-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    /* The border width */
    background: var(--bg-card, #0a0a12);
    /* Match card bg */
    border-radius: inherit;
    z-index: -1;
}

[data-theme="light"] .arsenal-card::after {
    background: rgba(255, 255, 255, 0.9);
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 2. MOVING CYBER GRID BACKGROUND */
.card-glass {
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.5) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

/* 3. PULSING DATA BARS (Tech Bars) */
.tech-bar::before {
    box-shadow: 0 0 15px currentColor;
    animation: bar-pulse 2s infinite alternate, bar-load 1.5s ease-out forwards;
}

@keyframes bar-pulse {
    0% {
        filter: brightness(1) blur(0px);
    }

    100% {
        filter: brightness(1.5) blur(2px);
    }
}

/* 4. HOVER GLITCH TEXT */
.arsenal-card:hover h3 {
    animation: text-shake 0.5s infinite;
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
}

@keyframes text-shake {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(1px, 1px);
    }

    50% {
        transform: translate(-1px, -1px);
    }

    75% {
        transform: translate(1px, -1px);
    }

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


/* ===========================================
   FIX: READABILITY & SIZE TWEAKS
   =========================================== */

/* 1. REMOVE TEXT GLOW (Hard to read) */
.arsenal-card:hover h3 {
    animation: none !important;
    /* Stop shaking */
    text-shadow: none !important;
    /* Remove glitch glow */
    /* Restore clean gradient */
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .arsenal-card:hover h3 {
    background: linear-gradient(to right, #333, #667eea);
    -webkit-background-clip: text;
    background-clip: text;
}

/* 2. INCREASE TOOL ITEM SIZE ("Reflection Square") */
.tools-grid-icons.expanded-arsenal {
    gap: 15px !important;
    /* Open up gaps again */
    padding: 15px !important;
}

.tool-icon-item {
    padding: 15px !important;
    /* Bigger click area */
    gap: 10px !important;
    /* More space between icon and text */
    background: rgba(255, 255, 255, 0.05);
    /* Slightly clearer background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border definition */
    min-height: 80px;
    /* Force them to be substantially bigger squares */
    justify-content: center;
}

/* Restore Icon Size */
.tool-icon-item svg {
    width: 28px !important;
    height: 28px !important;
}

/* Restore Font Size */
.tool-icon-item span {
    font-size: 0.75rem !important;
}

/* Ensure Hover Effect is Big */
.tool-icon-item:hover {
    background: rgba(102, 126, 234, 0.15) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Stronger shadow */
}

/* Ensure the border glow is only on the edges (already true, but enforcing) */
.arsenal-card::before {
    /* Keeping the RGB edge glow */
    /* Ensure z-index is correct so it doesn't overlap text content */
    z-index: -2;
}


/* ===========================================
   FIX: LIGHT THEME READABILITY (CLEAN PRO STYLE)
   =========================================== */

/* 1. Remove Neon RGB Border in Light Mode */
[data-theme="light"] .arsenal-card::before {
    display: none !important;
    /* Hide the spinning neon border */
}

/* 2. Professional Card Style (Light Mode) */
[data-theme="light"] .arsenal-card {
    background: rgba(255, 255, 255, 0.95);
    /* Solid white/glass */
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Clean grey border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Soft shadow */
    overflow: hidden;
}

[data-theme="light"] .arsenal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    /* Soft blue accent on hover */
}

/* 3. High Contrast Tool Items (Light Mode) */
[data-theme="light"] .tool-icon-item {
    background: #f8f9fa !important;
    /* Clean light grey background */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #333 !important;
    /* Dark text */
}

[data-theme="light"] .tool-icon-item svg {
    color: #444 !important;
    /* Dark icon */
}

[data-theme="light"] .tool-icon-item:hover {
    background: #fff !important;
    border-color: #667eea !important;
    /* Blue border on hover */
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
    transform: translateY(-3px) !important;
}

[data-theme="light"] .tool-icon-item:hover svg {
    color: #667eea !important;
    /* Blue icon on hover */
    transform: scale(1.1) !important;
}

/* 4. Fix Text Readability Headers */
[data-theme="light"] .card-header h3 {
    color: #1a1a2e !important;
    background: none !important;
    /* Remove gradient text if it hurts readability */
    -webkit-text-fill-color: #1a1a2e !important;
    font-weight: 700;
}

/* ===========================================
   FIX: DEPLOYMENT TOOLS GREEN ACCENT
   =========================================== */

/* Override Hover Colors to GREEN */
.tool-icon-item:hover {
    background: rgba(0, 255, 136, 0.1) !important;
    border-color: #00ff88 !important;
    /* Hacker Green Border */
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2) !important;
    /* Green Glow */
}

/* Make Icon Green on Hover */
.tool-icon-item:hover svg {
    color: #00ff88 !important;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

/* Light Theme Adjustments (Darker Green for readability) */
[data-theme="light"] .tool-icon-item:hover {
    background: rgba(0, 200, 83, 0.1) !important;
    border-color: #00c853 !important;
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.2) !important;
}

[data-theme="light"] .tool-icon-item:hover svg {
    color: #00c853 !important;
    /* Material Green 700 */
    filter: none !important;
}

/* ===========================================
   COMPACT ARSENAL CARDS (ALL PANELS)
   =========================================== */

/* Apply compact styles to ALL arsenal cards (keeping grid clean) */
.arsenal-grid .arsenal-card {
    padding: 1.25rem !important;
    max-width: 380px !important;
    width: 100%;
    margin-inline: auto;
}

/* Compact Header */
.arsenal-grid .arsenal-card .card-header {
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.arsenal-grid .arsenal-card .card-header h3 {
    font-size: 1.1rem;
}

/* Smaller Header Icon */
.arsenal-grid .arsenal-card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.arsenal-grid .arsenal-card .card-icon svg {
    width: 18px;
    height: 18px;
}

/* Compact Grid Layout (Tools) */
.tools-grid-icons {
    gap: 0.5rem !important;
    grid-template-columns: repeat(3, 1fr);
}

/* Compact Tool Items */
.tool-icon-item {
    padding: 0.5rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
    min-height: auto;
}

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

.tool-icon-item span {
    font-size: 0.65rem !important;
    line-height: 1.2;
}

/* ===========================================
   COMPETENCY LIST STYLES
   =========================================== */
.competency-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.competency-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dark-secondary);
    /* Ensure visibility */
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.competency-list li:last-child {
    border-bottom: none;
}

.competency-list li::before {
    content: '›';
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 0;
    margin-top: -2px;
}

.competency-list li:hover {
    color: #fff;
    padding-left: 5px;
    /* Subtle nudge on hover */
}

/* Light Theme Competency List */
[data-theme="light"] .competency-list li {
    color: #444 !important;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .competency-list li:hover {
    color: #000 !important;
}

/* ===========================================
   CONTACT SECTION PRIVACY (HIDE DETAILS)
   =========================================== */

/* Hide the second row (value) */
.info-card .info-value {
    display: none !important;
}

/* Promote the Label to Main Text */
.info-card .info-label {
    margin-bottom: 0 !important;
    font-size: 1.1rem !important;
    /* Larger text */
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    /* Brighter color */
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ensure vertical centering */
.info-card .info-text {
    display: flex;
    align-items: center;
}

/* ===========================================
   ABOUT ME REDESIGN (LIGHT THEME)
   =========================================== */

/* Override About Me for Light Theme */
[data-theme="light"] .about-hologram {
    display: none;
}

[data-theme="light"] .about-innovative {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
}

[data-theme="light"] .about-outline-text {
    display: block;
    mix-blend-mode: overlay;
    -webkit-text-stroke: 3px rgba(34, 34, 34, 0.15);
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.4), rgba(34, 34, 34, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    will-change: transform;
    /* Optimize for scroll */
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-40%) rotate(-90deg);
        letter-spacing: 20px;
    }

    100% {
        opacity: 0.6;
        transform: translateY(-50%) rotate(-90deg);
        letter-spacing: 5px;
    }
}

/* ===========================================
   SECURE UPLINK - REDESIGNED CONTACT SECTION
   =========================================== */

/* Main Interface Container */
.cyber-interface {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    /* transition: transform 0.3s ease, border-color 0.3s ease; */
    /* Removed to prevent movement */
}

/* Light Theme Interface */
[data-theme="light"] .cyber-interface {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
}

[data-theme="light"] .cyber-interface .terminal-title,
[data-theme="light"] .cyber-interface .channel-label {
    color: var(--text-light-muted) !important;
}

[data-theme="light"] .cyber-interface .channel-value,
[data-theme="light"] .cyber-interface .cyber-input,
[data-theme="light"] .cyber-interface .cyber-textarea {
    color: var(--text-light) !important;
}

[data-theme="light"] .cyber-interface .cyber-label {
    color: var(--accent-primary) !important;
}

/* ==================
   LEFT: SIGNAL SIDEBAR
   ================== */
.interface-sidebar {
    background: rgba(255, 107, 107, 0.05);
    border-right: 1px solid rgba(255, 107, 107, 0.15);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .interface-sidebar {
    background: rgba(102, 126, 234, 0.05);
    border-right: 1px solid rgba(102, 126, 234, 0.15);
}

.sidebar-header {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Signal Bars */
.signal-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 20px;
}

.bar {
    width: 6px;
    background: var(--accent-primary);
    opacity: 0.3;
    border-radius: 2px;
}

.bar.b1 {
    height: 30%;
    animation: signalPulse 1.2s infinite ease-in-out;
}

.bar.b2 {
    height: 50%;
    animation: signalPulse 1.2s 0.2s infinite ease-in-out;
}

.bar.b3 {
    height: 75%;
    animation: signalPulse 1.2s 0.4s infinite ease-in-out;
}

.bar.b4 {
    height: 100%;
    animation: signalPulse 1.2s 0.6s infinite ease-in-out;
}

@keyframes signalPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-primary);
    }
}

.status-text {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-primary);
    font-weight: 700;
}

/* Comm Channels (Links) */
.comm-channels {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.channel-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.channel-link:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateX(5px);
}

[data-theme="light"] .channel-link:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.4);
}

.channel-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    /* background: rgba(0,0,0,0.2); */
    border-radius: 6px;
}

.channel-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Ensure GitHub and LinkedIn use fill where appropriate or stroke */
.channel-icon svg[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}

.channel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--text-dark-muted);
    margin-bottom: 2px;
}

.channel-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.channel-status {
    font-size: 0.65rem;
    font-family: monospace;
    color: #4ade80;
    /* Success green */
    opacity: 0.7;
}

/* ==================
   RIGHT: TERMINAL FORM
   ================== */
.interface-terminal {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Terminal Decoration */
.terminal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

[data-theme="light"] .terminal-bar {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .terminal-dots span {
    background: rgba(0, 0, 0, 0.2);
}

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

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.terminal-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-dark-muted);
}

/* Form Styles */
.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cyber-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.cyber-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.cyber-input,
.cyber-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 0;
}

[data-theme="light"] .cyber-input,
[data-theme="light"] .cyber-textarea {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.cyber-input:focus,
.cyber-textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-primary);
    background: rgba(255, 107, 107, 0.05);
    padding-left: 1rem;
    /* Indent on focus */
}

[data-theme="light"] .cyber-input:focus,
[data-theme="light"] .cyber-textarea:focus {
    background: rgba(102, 126, 234, 0.05);
}

/* Animated Input Line */
.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.4s ease;
}

.cyber-input:focus~.input-line,
.cyber-textarea:focus~.input-line {
    width: 100%;
}

/* Execute Button */
.cyber-btn {
    margin-top: 1rem;
    padding: 1.2rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%);
}

[data-theme="light"] .cyber-btn {
    background: rgba(102, 126, 234, 0.1);
}

.cyber-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.btn-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #fff;
    width: 0;
    transition: width 0.3s ease;
}

.cyber-btn:hover .btn-progress {
    width: 100%;
}

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

    .interface-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem;
    }

    .comm-channels {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .channel-link {
        min-width: 200px;
    }

    .interface-terminal {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .comm-channels {
        flex-direction: column;
    }

    .channel-link {
        width: 100%;
    }
}

/* ===========================================
   KNOWLEDGE BASE (EDUCATION REDESIGN)
   =========================================== */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.knowledge-card {
    background: rgba(13, 13, 20, 0.7);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.knowledge-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px -10px rgba(var(--accent-primary-rgb), 0.3);
}

.knowledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    opacity: 0.5;
}

.hologram-effect {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(transparent 0%,
            rgba(102, 126, 234, 0.05) 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 0;
}

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.k-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.k-id {
    color: var(--text-dark-muted);
}

.k-status {
    color: #4ade80;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
    animation: pulse-green 2s infinite;
}

/* Body */
.k-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.k-icon {
    width: 48px;
    height: 48px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

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

.k-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.k-desc {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
}

/* Footer Fragments */
.k-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fragment {
    font-family: monospace;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    color: var(--text-dark-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Light Theme Overrides - Knowledge Base */
[data-theme="light"] .knowledge-card {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .k-title {
    color: var(--text-dark);
}

[data-theme="light"] .k-desc {
    color: var(--text-dark-secondary);
}

[data-theme="light"] .k-id {
    color: var(--text-dark-muted);
}

[data-theme="light"] .k-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .fragment {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark-secondary);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ===========================================
   SECURITY CLEARANCE (CERTIFICATIONS REDESIGN)
   =========================================== */
.clearance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Badge Card */
.security-badge {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.security-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-primary);
}

.badge-top {
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-hole {
    width: 40px;
    height: 6px;
    background: #000;
    border-radius: 3px;
    opacity: 0.5;
}

.badge-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    flex: 1;
}

.badge-photo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Square with slight radius typical of IDs */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-photo svg {
    width: 40px;
    height: 40px;
}

.badge-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.badge-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.badge-role {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-code {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-dark-muted);
    width: 100%;
}

.status-indicator {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    padding: 0.2rem 0;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Scan Line Animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    opacity: 0;
    pointer-events: none;
}

.security-badge:hover .scan-line {
    animation: scanDown 1.5s linear infinite;
    opacity: 1;
}

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

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

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

/* Mission Card */
.mission-card {
    background: rgba(20, 0, 0, 0.8);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mission-card.active {
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.1);
}

.mission-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            rgba(255, 77, 77, 0.03) 0px,
            rgba(255, 77, 77, 0.03) 10px,
            transparent 10px,
            transparent 20px);
    pointer-events: none;
}

.mission-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mission-label {
    color: #ff4d4d;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.mission-status-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff4d4d;
    animation: blink 1s infinite alternate;
}

.mission-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.mission-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.mission-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #ff4d4d;
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.mission-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.mission-fill {
    background: #ff4d4d;
    height: 100%;
}

.mission-log {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 77, 77, 0.7);
}

/* Light Theme Overrides - Security Clearance */
[data-theme="light"] .security-badge {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .badge-name {
    color: var(--text-dark);
}

[data-theme="light"] .badge-role {
    color: var(--text-dark-secondary);
}

[data-theme="light"] .badge-code {
    color: var(--text-dark-muted);
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .badge-top {
    background: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .badge-photo {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mission-card {
    background: rgba(255, 250, 250, 0.9);
    border-color: rgba(255, 77, 77, 0.3);
}

[data-theme="light"] .mission-title {
    color: #d63031;
}

[data-theme="light"] .mission-sub {
    color: #555;
}

[data-theme="light"] .k-status {
    color: #2e7d32;
    text-shadow: none;
    font-weight: 800;
}



/* ===========================================
   OBSIDIAN GLASS REDESIGN (V3 - MINIMALIST)
   =========================================== */

/* Section Styling */
.obsidian-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Card Base */
.obsidian-card {
    background: rgba(18, 18, 24, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.obsidian-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Education Featured Card */
.obsidian-card.featured {
    max-width: 900px;
    margin: 0 auto;
}

.obsidian-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.obs-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.obs-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.obs-icon svg {
    width: 28px;
    height: 28px;
}

.obs-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.obs-subtitle {
    font-family: monospace;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.obs-body {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.obs-text {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.obs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.obs-tag {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Certifications Grid */
.obsidian-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.obs-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.obs-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.obs-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.obs-badge.verified {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.obs-badge.in-progress {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.obs-card-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.obs-card-subtitle {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.obs-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Achievements List */
.obsidian-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.obs-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.obs-list-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.obs-list-content {
    display: flex;
    flex-direction: column;
}

.obs-list-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.obs-list-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Light Theme Overrides (Obsidian → Frosted Prism) */
[data-theme="light"] .obsidian-card {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .obsidian-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .obs-title,
[data-theme="light"] .obs-card-title,
[data-theme="light"] .obs-list-val {
    color: #1a1a1a;
}

[data-theme="light"] .obs-subtitle,
[data-theme="light"] .obs-text,
[data-theme="light"] .obs-card-subtitle,
[data-theme="light"] .obs-card-desc,
[data-theme="light"] .obs-list-label {
    color: #555;
}

[data-theme="light"] .obs-icon,
[data-theme="light"] .obs-list-icon {
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .obs-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .obs-tag {
    color: #444;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .obs-badge.verified {
    color: #333;
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .obs-header {
        flex-direction: column;
        text-align: center;
    }

    .obs-tags {
        justify-content: center;
    }

    .obsidian-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

/* ===========================================
   ACHIEVEMENTS REDESIGN - GLASS DATA BLOCKS
   =========================================== */

/* ===========================================
   MILESTONES HUD - HOLOGRAPHIC REDESIGN
   =========================================== */
#achievements,
.achievements-section {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.milestone-hud-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
    padding: 2rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.hud-item {
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.hud-item:hover {
    transform: translateY(-5px);
}

.hud-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.hud-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.hud-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Light Theme Overrides */
[data-theme="light"] .hud-value {
    background: linear-gradient(135deg, #333 0%, #666 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

[data-theme="light"] .hud-label {
    color: #555;
    font-weight: 600;
}

[data-theme="light"] .hud-divider {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2), transparent);
}

/* Specific Accents (Glows) */
.item-1 .hud-value {
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.item-2 .hud-value {
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.item-3 .hud-value {
    text-shadow: 0 0 20px rgba(249, 202, 36, 0.3);
}

/* ===========================================
   OSCP LOCKED STYLE
   =========================================== */
.cert-card.locked-oscp {
    border: 1px dashed rgba(255, 77, 77, 0.3) !important;
    background: linear-gradient(145deg, rgba(255, 77, 77, 0.02), transparent) !important;
    opacity: 0.8;
    box-shadow: none !important;
}

.cert-card.locked-oscp .cert-icon-small {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.cert-card.locked-oscp h4 {
    color: rgba(255, 77, 77, 0.8);
}

.cert-card.locked-oscp .status-locked {
    color: #ff4d4d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* OSCP Light Theme Fix - High Specificity */
html body [data-theme="light"] .roadmap-node .cert-card.locked-oscp {
    background: linear-gradient(145deg, rgba(255, 77, 77, 0.08), rgba(0, 0, 0, 0.02)) !important;
    border: 2px dashed rgba(255, 77, 77, 0.6) !important;
    box-shadow: inset 0 0 15px rgba(255, 77, 77, 0.05) !important;
    opacity: 1 !important;
}

[data-theme="light"] .cert-card.locked-oscp:hover {
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: inset 0 0 15px rgba(255, 77, 77, 0.05) !important;
    border: 2px dashed rgba(255, 77, 77, 0.8) !important;
    background: linear-gradient(145deg, rgba(255, 77, 77, 0.08), rgba(0, 0, 0, 0.02)) !important;
}

/* KILL RGB ANIMATION GLOBALLY FOR LIGHT THEME CERTS - SCORCHED EARTH */
html body [data-theme="light"] .roadmap-node .cert-card::before,
html body [data-theme="light"] .roadmap-node .cert-card::after,
html body [data-theme="light"] .cert-card::before,
html body [data-theme="light"] .cert-card::after,
html body [data-theme="light"] .cert-card.compact::before,
html body [data-theme="light"] .cert-card.compact::after,
html body [data-theme="light"] .roadmap-node::before,
html body [data-theme="light"] .roadmap-node::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    animation: none !important;
    transition: none !important;
    opacity: 0 !important;
    border: none !important;
}

/* Ensure Card Itself has no animation */
html body [data-theme="light"] .cert-card,
html body [data-theme="light"] .cert-card.compact,
html body [data-theme="light"] .roadmap-node .cert-card {
    animation: none !important;
    background-image: none !important;
}

html body [data-theme="light"] .roadmap-node .cert-card.locked-oscp h4,
html body [data-theme="light"] .roadmap-node .cert-card.locked-oscp .status-locked {
    color: #ff4d4d !important;
    text-shadow: none !important;
}

html body [data-theme="light"] .roadmap-node .cert-card.locked-oscp .cert-icon-small {
    background: rgba(255, 77, 77, 0.1) !important;
    color: #ff4d4d !important;
    border: 1px solid rgba(255, 77, 77, 0.2) !important;
    box-shadow: none !important;
}

/* ===========================================
   HERO BADGE REDESIGN (INLINE STATUS)
   =========================================== */

.hero-right {
    position: relative !important;
}

.hero-badge {
    /* INLINE POSITIONING */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 0 0 1rem !important;
    /* Spacing from buttons */

    /* STATUS PILL DESIGN */
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 0.4rem 0.8rem !important;

    /* Typography */
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7) !important;

    /* Effects */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: none !important;

    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.badge-dot {
    width: 6px !important;
    height: 6px !important;
    background-color: #10b981 !important;
    /* Emerald Green */
    border-radius: 50% !important;
    box-shadow: 0 0 5px #10b981 !important;
    animation: pulse-soft 2s infinite ease-in-out !important;
    position: relative;
}

.badge-dot::after {
    display: none;
    /* Remove ripple for this smaller version */
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Light Theme Inline Override */
[data-theme="light"] .hero-badge {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #555 !important;
}

[data-theme="light"] .hero-badge:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #222 !important;
}

[data-theme="light"] .badge-dot {
    background-color: #059669 !important;
    box-shadow: none !important;
}

/* Mobile Adjustment for Inline Badge */
@media (max-width: 767px) {
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-badge {
        margin: 0.5rem 0 0 0 !important;
        width: auto;
        justify-content: center;
    }
}

/* ========================================
   PROJECT CARD: GLASS HOLOGRAPHIC (RESTORED)
   ======================================== */


/* =========================================
   SCROLL ILLUSION STYLES - FLUID GLITCH
   ========================================= */

.nav-logo {
    opacity: 0;
    visibility: hidden;
    /* Controlled by GSAP */
}

.nav-item {
    opacity: 1 !important;
    /* Force Visible as per user request */
    visibility: visible !important;
    transform: none !important;
}

/* Important: Hero visibility on load */
.hero-title .title-name {
    display: inline-block;
    perspective: 1000px;
    /* Enable 3D transforms for chars */
    opacity: 1;
    /* Force Visible */
    visibility: visible;
}

.hero-title .title-name span {
    display: inline-block;
    backface-visibility: hidden;
    will-change: transform, opacity, color;
    opacity: 1;
    /* Force Visible */
}

/* Header Start State */
.header {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

/* ========================================
   FLUID GOOEY FOOTER
   ======================================== */

.footer {
    position: relative;
    overflow: hidden;
    background: #000;
    z-index: 1;
    min-height: 12rem;
    display: grid;
}

.footer-content,
.container {
    position: relative;

    /* Ensure text is above gooey effect */
}

/* ========================================
   TECH DASHBOARD FOOTER (AURIGA STYLE)
   ======================================== */
.footer {
    position: relative;
    background: #050505;
    /* Deep black/grey */
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    /* Tech font stack */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* Balanced columns again */
    gap: 3rem;
    align-items: start;
}

/* --- Left Column: Brand --- */
.tech-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-symbol svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--accent-primary);
    display: block;
}

.mission-statement {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.5);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--accent-primary);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
    padding: 0.5rem 1rem;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: blink 2s infinite;
}

/* --- Middle Column: Data HUD --- */
.data-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* border-left: 1px solid rgba(255, 255, 255, 0.1); */
    /* border-right: 1px solid rgba(255, 255, 255, 0.1); */
    padding: 0 1rem;
    position: relative;
}

.data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.data-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.data-value {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.tech-highlight {
    color: var(--accent-primary);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(var(--accent-primary-rgb), 0.5);
    box-shadow: 0 0 15px var(--accent-primary);
    animation: scan 4s linear infinite;
    opacity: 0.5;
}

/* --- Right Column: Links --- */
.links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3rem;
    text-align: right;
}

.tech-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.tech-link:hover {
    color: var(--accent-primary);
    padding-right: 10px;
}

.copyright-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- System Log (Full Width Console) --- */
.system-log-container {
    grid-column: 1 / -1;
    /* SPAN FULL WIDTH */
    margin-top: 3rem;
    padding: 0;
    /* Remove padding from main container, move to cols */
    background: #000000;
    border: 1px solid rgba(255, 51, 51, 0.4);
    border-left: 4px solid #ff3333;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 280px;
    /* Log vs Info split */
    box-shadow: inset 0 0 30px rgba(255, 0, 0, 0.1);
}

.console-col {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* .logs-col removed as it was empty */

.info-col {
    border-left: 1px solid rgba(255, 51, 51, 0.3);
    background: rgba(20, 0, 0, 0.3);
    /* Slightly different bg for sidebar */
}

[data-theme="light"] .info-col {
    border-left-color: rgba(0, 255, 65, 0.3);
    background: rgba(0, 20, 0, 0.3);
}

.console-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.info-value {
    font-weight: bold;
    color: #ff3333;
    /* Dark theme default */
}

[data-theme="light"] .info-value {
    color: #00ff41;
    /* Light theme default */
}

/* Light Theme Override: Black BG, Green Text */
[data-theme="light"] .system-log-container {
    background: #000000 !important;
    border-color: rgba(0, 255, 65, 0.5);
    border-left-color: #00ff41;
    box-shadow: inset 0 0 20px rgba(0, 50, 0, 0.2);
    color: #00ff41;
}

[data-theme="light"] .log-header {
    color: #00ff41;
    border-bottom-color: rgba(0, 255, 65, 0.3);
}

.log-header {
    font-size: 0.75rem;
    color: #ff3333;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 51, 51, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.system-log {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    height: 100%;
    justify-content: flex-end;
    /* Terminal style bottom-up */
    overflow-y: auto;
    /* Allow scrolling if needed */
}

/* Scrollbar for log */
.system-log::-webkit-scrollbar {
    width: 6px;
}

.system-log::-webkit-scrollbar-track {
    background: #000;
}

.system-log::-webkit-scrollbar-thumb {
    background: #333;
}

.log-entry {
    color: #ff3333;
    /* Dark Theme Red */
    text-shadow: 0 0 4px rgba(255, 51, 51, 0.4);
    opacity: 0.95;
    line-height: 1.5;
    word-break: break-all;
}

/* Light Theme: Green Text, No Bold */
[data-theme="light"] .log-entry {
    color: #00ff41 !important;
    text-shadow: 0 0 4px rgba(0, 255, 65, 0.4);
    font-weight: normal !important;
}

/* --- Typewriter Effect --- */
.timeline-responsibilities li {
    position: relative;
    width: 100%;
    display: block;
    min-height: 1.5em;
    text-align: left;
    background: transparent !important;
    /* Force clear background */
    border: none !important;
    box-shadow: none !important;
}

.timeline-responsibilities li::selection,
.timeline-responsibilities li *::selection {
    background: transparent;
    /* specialized selection override */
}

/* Ensure no pseudo-element backgrounds except the cursor */
.timeline-responsibilities li::before {
    background: transparent !important;
}

.typing-cursor::after {
    content: '_';
    animation: blink 1s step-end infinite;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-left: 2px;
    font-weight: bold;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* --- Animations --- */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

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

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

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

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .data-col {
        border: none;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem 0;
    }

    .links-col {
        align-items: flex-start;
        text-align: left;
    }
}

/* Light Theme overrides */
[data-theme="light"] .footer {
    background: #eef2f5;
    color: #333;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mission-statement,
[data-theme="light"] .data-label,
[data-theme="light"] .copyright-block,
[data-theme="light"] .tech-link {
    color: rgba(0, 0, 0, 0.6);
}

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

[data-theme="light"] .data-col {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Cleanup */
.gooey-animations,
.bubbles,
.bubble {
    display: none;
}

/* ===========================================
   CRITICAL FIXES (Timeline & Footer)
   =========================================== */

/* 1. Work Experience Alignment & Width Fix */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 0 !important;
}

/* Hide breathing circle/marker */
.timeline-marker {
    display: none !important;
}


.timeline-item {
    display: flex;
    gap: 2rem;
    position: relative;
    width: 100% !important;
    margin-bottom: 2rem;
    padding-left: 0 !important;
    justify-content: flex-start !important;
    /* Force left/start alignment */
    align-items: flex-start !important;
}

/* Ensure content is wide enough */
.timeline-content {
    flex: 1;
    width: 100% !important;
    /* Force full width */
    min-width: 0;
    /* Prevent flex overflow */
    max-width: 100% !important;
}

/* 2. Remove Unwanted Accent Line */
.timeline::before,
.timeline::after,
.timeline-item::before,
.timeline-item::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}

/* Ensure no border on the left */
.timeline-item,
.timeline-content {
    border-left: none !important;
}

/* 3. Footer Fixes */
.footer {
    display: block !important;
    /* Reset outer grid display if breaking */
    height: auto !important;
    min-height: auto !important;
    position: relative;
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    /* Reduced gap */
    width: 100%;
}

.system-log-container {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: grid !important;
    /* Ensure content is visible */
    margin-top: 1rem !important;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Fix CSS Errors (text wrapping) */
.timeline-responsibilities li {
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* ===========================================
   LIVELY ARSENAL (SKILLS REDESIGN)
   =========================================== */
.arsenal-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: stretch;
    gap: 1.5rem;
    padding: 1rem 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

.arsenal-card {
    flex: 1 1 0 !important;
    width: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.arsenal-card:hover {
    border-color: rgba(var(--accent-primary-rgb), 0.3);
    box-shadow: 0 10px 40px -10px rgba(var(--accent-primary-rgb), 0.2);
}

/* Glass effect overlay */
.card-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
    z-index: 0;
}

/* Header & Icons */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    transform: translateZ(20px);
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

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

/* Bars */
.card-body {
    transform: translateZ(10px);
    position: relative;
    z-index: 1;
}

.tech-item {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tech-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.tech-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--width);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: left;
}

@keyframes fillBar {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Tools Grid Override for Arsenal */
.tools-grid-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    transform: translateZ(15px);
    position: relative;
    z-index: 1;
}

.tools-card {
    grid-column: span 1;
}

@media (max-width: 991px) {
    .arsenal-grid {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .arsenal-card {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .tools-card {
        width: 100% !important;
    }
}

.tool-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer;
}

.tool-icon-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.tool-icon-item span {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
}

/* ===========================================
   OPERATIVE ROADMAP (CERTS REDESIGN)
   =========================================== */
.roadmap-container {
    padding: 2rem 0;
    position: relative;
}

.roadmap-track {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-line {
    position: absolute;
    left: 24px;
    /* Align with node centers */
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
}

.roadmap-node {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.node-point {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
    /* Default accent glow */
}

.node-point::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.cert-card.compact {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    border-left: 4px solid var(--accent-primary);
}

.cert-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.cert-icon-small svg {
    width: 20px;
    height: 20px;
}

.cert-meta h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.status-verified {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4ade80;
    /* Success Green */
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-verified::before {
    content: '✓';
}

/* Active Mission Style */
.roadmap-node.active .node-point {
    border-color: #ff4d4d;
    /* Active Red */
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.6);
}

.roadmap-node.active .node-point::after {
    background: #ff4d4d;
    animation: pulse-dot 1.5s infinite;
}

.cert-card.active-mission {
    border: 1px solid rgba(255, 77, 77, 0.3);
    background: linear-gradient(145deg, rgba(255, 77, 77, 0.08), rgba(0, 0, 0, 0));
    width: 100%;
    padding: 2rem;
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ff4d4d;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.blinking-dot {
    width: 10px;
    height: 10px;
    background: #ff4d4d;
    border-radius: 50%;
    animation: blink 1s infinite alternate;
}

.mission-body h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.mission-progress {
    margin-top: 1.5rem;
}

.progress-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4d4d, #ff9f43);
    border-radius: 4px;
    animation: fillBar 2s ease-out;
}

.progress-text {
    font-size: 0.8rem;
    color: rgba(255, 77, 77, 0.8);
    font-family: monospace;
}

/* Future Node */
.roadmap-node.future .node-point {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
    box-shadow: none;
}

.roadmap-node.future .node-point::after {
    background: rgba(255, 255, 255, 0.3);
}

.roadmap-node.future .cert-card {
    opacity: 0.7;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: transparent;
}

.status-locked {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}



@keyframes blink {
    from {
        opacity: 1;
        box-shadow: 0 0 10px #ff4d4d;
    }

    to {
        opacity: 0.4;
        box-shadow: 0 0 0 #ff4d4d;
    }
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

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

/* ===========================================
   LIGHT THEME - GLASS PALACE (OVERRIDES)
   =========================================== */
[data-theme="light"] .arsenal-card,
[data-theme="light"] .tool-icon-item,
[data-theme="light"] .project-card,
[data-theme="light"] .timeline-content,
[data-theme="light"] .info-card,
[data-theme="light"] .edu-card,
[data-theme="light"] .education-card,
[data-theme="light"] .achievement-item {
    background: rgba(255, 255, 255, 0.65) !important;
    /* Semi-transparent white */
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    /* Reflective glass edge */
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07) !important;
    /* Soft colored shadow */
    color: #333;
}

[data-theme="light"] .arsenal-card:hover,
[data-theme="light"] .tool-icon-item:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .timeline-content:hover,
[data-theme="light"] .info-card:hover,
[data-theme="light"] .education-card:hover,
[data-theme="light"] .achievement-item:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    /* Whiter on hover */
    border-color: #bad3ff !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15) !important;
    transform: translateY(-5px);
}

[data-theme="light"] .tool-icon-item span,
[data-theme="light"] .cert-meta h4,
[data-theme="light"] .tech-label {
    color: #222 !important;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .education-degree,
[data-theme="light"] .achievement-value {
    color: #222 !important;
}

[data-theme="light"] .education-description,
[data-theme="light"] .achievement-label {
    color: #555 !important;
}

/* Roadmap Line in Light Theme - Neutral Gray */
[data-theme="light"] .roadmap-line {
    background: linear-gradient(to bottom, #555 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* Active Mission Light - Distinctive Glass */
[data-theme="light"] .cert-card.active-mission {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 77, 77, 0.3) !important;
    box-shadow: 0 0 30px rgba(255, 77, 77, 0.15) !important;
}

[data-theme="light"] .mission-body h3 {
    color: #d63031 !important;
    text-shadow: none;
}

[data-theme="light"] .mission-body p {
    color: #555 !important;
}

/* Tech Bar Light */
[data-theme="light"] .tech-bar {
    background: rgba(0, 0, 0, 0.06);
}

/* ===========================================
   FIX: INVISIBLE TEXT IN LIGHT THEME
   =========================================== */
[data-theme="light"] .project-visual .code-text {
    color: #1a1a1a !important;
    text-shadow: none !important;
    font-weight: 700;
}

[data-theme="light"] .project-visual span,
[data-theme="light"] .project-visual code {
    color: #1a1a1a !important;
}

/* ===========================================
   TYPING ANIMATION FIX
   =========================================== */
.cursor-blink {
    animation: blink-cursor 1s step-end infinite;
    font-weight: 100;
    color: var(--accent-primary);
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

[data-theme="light"] .cursor-blink {
    color: #667eea;
}

/* ===========================================
   CYBER RADAR ANIMATION (ABOUT SECTION)
   =========================================== */
.about-innovative {
    min-height: auto;
    gap: 2rem;
}

.about-hologram {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Outline Text - Hidden by default */
.about-outline-text {
    display: none;
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.radar-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0.0) 70%);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.05);
    overflow: hidden;
}

/* Radar Grid */
.radar-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.radar-circle.c1 {
    width: 30%;
    height: 30%;
    border-style: dashed;
}

.radar-circle.c2 {
    width: 60%;
    height: 60%;
    opacity: 0.6;
}

.radar-circle.c3 {
    width: 90%;
    height: 90%;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.1) inset;
}

.radar-crosshair {
    position: absolute;
    background: rgba(102, 126, 234, 0.1);
}

.radar-crosshair.h {
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
}

.radar-crosshair.v {
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 1px;
}

/* Radar Sweep */
.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0) 0%, rgba(102, 126, 234, 0.8) 100%);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    transform-origin: left center;
    animation: radar-sweep 4s linear infinite;
    z-index: 2;
}

.radar-sweep::after {
    content: '';
    position: absolute;
    top: -40px;
    right: 0;
    bottom: -40px;
    width: 60px;
    background: linear-gradient(to right, transparent, rgba(102, 126, 234, 0.1));
    transform: skewX(-10deg);
    filter: blur(5px);
}

/* Detected Targets */
.radar-target {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.target-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4d4d;
    animation: blip 4s infinite;
}

.target-ring {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 77, 77, 0.5);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

.radar-target::after {
    content: attr(data-label);
    position: absolute;
    top: 12px;
    font-size: 0.7rem;
    color: #ff4d4d;
    font-family: monospace;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.5);
    opacity: 0;
    animation: label-fade 4s infinite;
}

/* Specific Target Positions */
/* Animation delays sync with the sweep rotation */
.vapt-target {
    top: 25%;
    right: 25%;
}

.vapt-target .target-dot,
.vapt-target::after {
    animation-delay: 0.5s;
}

.soc-target {
    bottom: 30%;
    right: 35%;
}

.soc-target .target-dot,
.soc-target::after {
    animation-delay: 1.8s;
}

.ai-target {
    top: 40%;
    left: 25%;
}

.ai-target .target-dot,
.ai-target::after {
    animation-delay: 3.2s;
}

/* Central Core */
.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-primary);
    z-index: 4;
}

/* Animations */
@keyframes radar-sweep {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes blip {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    15% {
        opacity: 1;
        transform: scale(1.2);
    }

    30% {
        opacity: 0.5;
        transform: scale(1);
    }

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

@keyframes label-fade {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

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

/* Light Theme Overrides for Radar */
[data-theme="light"] .radar-container {
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0) 70%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .radar-grid .radar-circle {
    border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .radar-sweep {
    background: linear-gradient(90deg, transparent 0%, #667eea 100%);
}


/* ===========================================
   DUAL-THEME ABOUT ANIMATION
   =========================================== */

/* --- DARK THEME: VIRUS / MALWARE --- */
/* Default styles apply to Dark Theme */

.about-hologram {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.radar-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Virus: Dark, sinister glow */
    background: radial-gradient(circle at center, rgba(20, 255, 100, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    box-shadow: 0 0 50px rgba(0, 255, 128, 0.05);
    overflow: hidden;
}

/* Virus Core */
.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.virus-icon {
    width: 100%;
    height: 100%;
    color: #ff3333;
    filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.8));
    animation: pulse-virus 2s infinite ease-in-out;
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 51, 51, 0.5);
    border-radius: 50%;
    animation: ripple-virus 2s infinite ease-out;
}

/* Virus Glitch Rings */
.radar-grid {
    pointer-events: none;
    position: absolute;
    inset: 0;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 51, 51, 0.3);
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.1);
}

.radar-circle.c1 {
    width: 30%;
    height: 30%;
    animation: glitch-rotate 5s infinite linear;
    border-color: rgba(0, 255, 128, 0.3);
}

.radar-circle.c2 {
    width: 60%;
    height: 60%;
    animation: glitch-rotate-reverse 7s infinite linear;
    opacity: 0.5;
}

.radar-circle.c3 {
    width: 90%;
    height: 90%;
    border: 1px solid rgba(255, 51, 51, 0.1);
}

/* Glitch Effect Layer */
.virus-glitch-effect {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(transparent 0px,
            rgba(0, 255, 128, 0.05) 2px,
            transparent 4px);
    opacity: 0.3;
    pointer-events: none;
    animation: scan-glitch 3s infinite linear;
}

/* Detected Targets - Virus Style */
.radar-target {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.target-dot {
    width: 6px;
    height: 6px;
    background: #ff3333;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3333;
    animation: blip 2s infinite;
}

.target-ring {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 51, 51, 0.6);
    border-radius: 50%;
    animation: ripple 1.5s infinite;
}

/* --- LIGHT THEME: DROPLETS --- */
/* Completely overrides for Light Theme */

[data-theme="light"] .radar-container {
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
    box-shadow: none;
    border: none;
}

/* Hide Virus Core & Elements */
[data-theme="light"] .virus-icon,
[data-theme="light"] .virus-glitch-effect,
[data-theme="light"] .scan-line,
[data-theme="light"] .core-pulse {
    display: none;
}

/* Droplet Core */
[data-theme="light"] .core-dot {
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

/* Borderless Droplets (Replacing Rings) */
[data-theme="light"] .radar-circle {
    border: none;
    /* No border */
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.2);
    /* Faint edge */
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: droplet-ripple 4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    /* Start invisible */
}

/* Staggered Ripples */
[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
    width: 10%;
    height: 10%;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 1.3s;
    width: 10%;
    height: 10%;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 2.6s;
    width: 10%;
    height: 10%;
}

/* Red Blips in Light Theme (As Requested) */
[data-theme="light"] .target-dot {
    background: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

[data-theme="light"] .target-ring {
    border-color: rgba(255, 77, 77, 0.3);
}

/* ANIMATIONS */

@keyframes droplet-ripple {
    0% {
        width: 0%;
        height: 0%;
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

@keyframes pulse-virus {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.8));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 51, 51, 1));
    }
}

@keyframes glitch-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        border-radius: 50%;
    }

    20% {
        border-radius: 40% 60% 50% 50%;
    }

    40% {
        border-radius: 50%;
    }

    60% {
        border-radius: 60% 40% 60% 40%;
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        border-radius: 50%;
    }
}

@keyframes glitch-rotate-reverse {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes scan-glitch {
    0% {
        background-position: 0 0;
    }

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


/* ===========================================
   FINAL REFINEMENTS: MALWARE & WATER DROP
   =========================================== */

/* 1. Increase Size */
.about-hologram {
    width: 450px !important;
    /* Significantly larger */
    height: 450px !important;
}

/* 2. Hide Radar Sweep Stick (Both Themes) */
.radar-sweep {
    display: none !important;
}

/* 3. LIGHT THEME: WATER DROP / HEART BEAT */
[data-theme="light"] .radar-circle {
    border: none !important;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.1);
    opacity: 0;
    animation: water-drop 4s infinite cubic-bezier(0, 0.2, 0.5, 1);
}

/* Staggered drops */
[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 1.2s;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 2.4s;
}

/* Water Drop Animation */
@keyframes water-drop {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0.8;
        border-width: 2px;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        /* Expands outward */
        opacity: 0;
        border-width: 0px;
    }
}

/* Core Beat Animation */
[data-theme="light"] .core-dot {
    animation: heart-beat 1.5s infinite ease-in-out;
}

@keyframes heart-beat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    15% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0.2);
    }

    30% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }

    45% {
        transform: scale(1.1);
        box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.2);
    }

    60% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }

    100% {
        transform: scale(1);
    }
}

/* 4. DARK THEME: ADVANCED MALWARE */

/* Active Infection Nodes */
.radar-grid::after {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px dashed rgba(255, 51, 51, 0.2);
    border-radius: 50%;
    animation: glitch-spin 10s infinite linear;
}

@keyframes glitch-spin {
    0% {
        transform: rotate(0deg);
        border-style: dashed;
    }

    50% {
        transform: rotate(180deg);
        border-style: dotted;
    }

    100% {
        transform: rotate(360deg);
        border-style: dashed;
    }
}



/* ===========================================
   "MORE AMAZING" UPGRADE
   =========================================== */

/* 1. ORGANIC WATER RIPPLES (Light Theme) */
[data-theme="light"] .radar-circle {
    /* Glass water effect */
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0) 60%);
    backdrop-filter: blur(2px);
    /* Blur creates "depth" */
    border-radius: 50% !important;
    /* Slight wobble for organic water feel */
    animation: water-drop-organic 5s infinite ease-out;
}

[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 1.5s;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 3s;
}

[data-theme="light"] .radar-circle.c4 {
    animation-delay: 4.5s;
}

@keyframes water-drop-organic {
    0% {
        transform: translate(-50%, -50%) scale(0.05);
        opacity: 0.9;
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.3) inset;
    }

    50% {
        opacity: 0.5;
        border-radius: 45% 55% 40% 60%;
        /* Morphing shape */
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
        box-shadow: 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Shockwave from Core */
[data-theme="light"] .core-pulse {
    animation: shockwave 2s infinite cubic-bezier(0.1, 0.7, 1.0, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.4);
}

@keyframes shockwave {
    0% {
        transform: scale(1);
        opacity: 1;
        border-width: 2px;
    }

    100% {
        transform: scale(4);
        opacity: 0;
        border-width: 0px;
    }
}


/* 2. CYBER GLITCH ARTIFACTS (Dark Theme) */

/* Rotate the whole container slowly for specific disorientation */
html:not([data-theme="light"]) .radar-grid {
    animation: slow-grid-spin 20s infinite linear;
}

@keyframes slow-grid-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Aggressive Glitch Core */
html:not([data-theme="light"]) .radar-core::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed #ff3333;
    border-radius: 50%;
    animation: glitch-ring-fast 0.5s infinite linear reverse;
    opacity: 0.5;
}

html:not([data-theme="light"]) .radar-core::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 2px dotted #00ff88;
    border-radius: 50%;
    animation: glitch-ring-slow 2s infinite steps(4);
    opacity: 0.3;
}

@keyframes glitch-ring-fast {
    0% {
        transform: rotate(0deg);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    50% {
        clip-path: polygon(10% 0, 90% 0, 100% 90%, 0 100%);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glitch-ring-slow {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Connecting lines to targets for "Infection" feel */
html:not([data-theme="light"]) .radar-target::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, #ff3333, transparent);
    transform-origin: left;
    transform: rotate(calc(var(--angle) * 1deg));
    z-index: -1;
    opacity: 0.3;
}


/* ===========================================
   INSANE MODE: HOLOGRAPHIC LIGHT THEME
   =========================================== */

/* 1. HOLOGRAPHIC RIPPLES (Prism Effect) */
[data-theme="light"] .radar-circle {
    /* Clear previous simple styles */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;

    /* New Complex Style */
    position: absolute;
    border-radius: 50%;

    /* Insane Gradient Border */
    background: conic-gradient(transparent, rgba(102, 126, 234, 0.2), rgba(0, 255, 255, 0.4), rgba(102, 126, 234, 0.2), transparent);
    background-size: 200% 200%;

    /* Mask to make it a ring */
    -webkit-mask: radial-gradient(transparent 65%, black 66%);
    mask: radial-gradient(transparent 65%, black 66%);

    animation: prism-splash 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
    mix-blend-mode: multiply;
}

[data-theme="light"] .radar-circle::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: inherit;
    filter: blur(8px);
    /* Glowing aura */
    opacity: 0.6;
    z-index: -1;
}

/* Sync Staggering for "Machine Gun" drops */
[data-theme="light"] .radar-circle.c1 {
    animation-delay: 0s;
}

[data-theme="light"] .radar-circle.c2 {
    animation-delay: 0.6s;
}

[data-theme="light"] .radar-circle.c3 {
    animation-delay: 1.2s;
}

[data-theme="light"] .radar-circle.c4 {
    animation-delay: 1.8s;
}

@keyframes prism-splash {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5) rotate(45deg);
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5) rotate(180deg);
        opacity: 0;
    }
}

/* 2. THE CORE: ZERO-POINT ENERGY */
[data-theme="light"] .core-dot {
    background: #fff;
    box-shadow:
        0 0 10px #667eea,
        0 0 30px #00ffff,
        0 0 60px #667eea;
    animation: zero-point-pulse 0.6s infinite alternate;
}

@keyframes zero-point-pulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    100% {
        transform: scale(1.5);
        filter: brightness(2) drop-shadow(0 0 10px white);
    }
}

/* 3. TARGETS: ORBITING SATELLITES */
/* Make targets actually orbit in light theme instead of just sitting there */
[data-theme="light"] .radar-target {
    animation: orbital-float 6s infinite ease-in-out;
}

[data-theme="light"] .vapt-target {
    animation-delay: 0s;
}

[data-theme="light"] .soc-target {
    animation-delay: 2s;
}

[data-theme="light"] .ai-target {
    animation-delay: 4s;
}

@keyframes orbital-float {

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

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

/* 4. BACKGROUND WARP */
[data-theme="light"] .radar-container {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(240, 240, 255, 0.4) 100%);
    overflow: visible;
    /* Let the glow spill out */
}

/* Add a spinning geometric refraction */
[data-theme="light"] .radar-container::before {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transform: rotate(45deg);
    animation: slow-spin 30s linear infinite;
}

[data-theme="light"] .radar-container::after {
    content: '';
    position: absolute;
    inset: 20%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transform: rotate(-45deg);
    animation: slow-spin-rev 25s linear infinite;
}

@keyframes slow-spin {
    to {
        transform: rotate(405deg);
    }
}

@keyframes slow-spin-rev {
    to {
        transform: rotate(-405deg);
    }
}


/* ===========================================
   MAXIMUM OVERDRIVE: INSANELY INSANE
   =========================================== */

/* --- DARK THEME: BIO-CODE HAZARD --- */
/* Glitch everything with RGB splits */
html:not([data-theme="light"]) .radar-container {
    animation: container-glitch 5s infinite;
    background: radial-gradient(circle, #050 0%, #000 80%);
}

@keyframes container-glitch {
    0% {
        transform: translate(0, 0) skew(0deg);
        filter: hue-rotate(0deg);
    }

    2% {
        transform: translate(-2px, 2px) skew(2deg);
        filter: hue-rotate(90deg);
    }

    4% {
        transform: translate(2px, -2px) skew(-2deg);
        filter: hue-rotate(0deg);
    }

    100% {
        transform: translate(0, 0) skew(0deg);
    }
}

/* The Virus Core: Breathing & Screaming */
html:not([data-theme="light"]) .virus-icon {
    animation: virus-scream 0.2s infinite alternate;
    filter: drop-shadow(0 0 20px #f00);
}

@keyframes virus-scream {
    0% {
        transform: scale(1) rotate(0deg);
        color: #f00;
    }

    100% {
        transform: scale(1.3) rotate(10deg);
        color: #f90;
    }
}

/* Rings are now Code Streams */
html:not([data-theme="light"]) .radar-circle {
    border: 2px dashed #0f0;
    box-shadow: 0 0 10px #0f0, 0 0 20px #0f0 inset;
    opacity: 0.8 !important;
    /* Force visible */
}

/* Rapid conflicting spins */
html:not([data-theme="light"]) .c1 {
    animation: spin-chaos-1 1s infinite linear !important;
    border-color: #f00;
}

html:not([data-theme="light"]) .c2 {
    animation: spin-chaos-2 2s infinite linear reverse !important;
    border-color: #0f0;
}

html:not([data-theme="light"]) .c3 {
    animation: spin-chaos-1 3s infinite linear !important;
    border-color: #0ff;
}

html:not([data-theme="light"]) .c4 {
    animation: spin-chaos-2 0.5s infinite linear reverse !important;
    border-color: #ff0;
}

@keyframes spin-chaos-1 {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-chaos-2 {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}


/* --- LIGHT THEME: SINGULARITY --- */
/* A black hole of pure energy */

[data-theme="light"] .radar-container {
    overflow: visible !important;
}

[data-theme="light"] .radar-circle {
    border: 4px solid white !important;
    /* Thick white rings */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50% !important;
    /* Fluid blob shape */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(255, 0, 255, 0.1)) !important;
    mix-blend-mode: overlay;
    animation: singularity-swirl 2s infinite linear !important;
    filter: blur(1px);
}

[data-theme="light"] .c1 {
    width: 100px;
    height: 100px;
    animation-duration: 2s !important;
}

[data-theme="light"] .c2 {
    width: 200px;
    height: 200px;
    animation-duration: 4s !important;
    animation-direction: reverse !important;
}

[data-theme="light"] .c3 {
    width: 300px;
    height: 300px;
    animation-duration: 6s !important;
}

[data-theme="light"] .c4 {
    width: 400px;
    height: 400px;
    animation-duration: 8s !important;
    animation-direction: reverse !important;
}

@keyframes singularity-swirl {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

/* Supernova Core */
[data-theme="light"] .core-dot {
    width: 20px;
    height: 20px;
    background: white;
    box-shadow:
        0 0 20px #fff,
        0 0 40px #667eea,
        0 0 80px #ff00ff;
    /* Purple flare */
    animation: supernova 0.2s infinite alternate !important;
}

@keyframes supernova {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 1;
        box-shadow: 0 0 100px white;
    }
}

/* Exploding Targets */
[data-theme="light"] .radar-target {
    animation: shake-orbit 0.5s infinite !important;
}

@keyframes shake-orbit {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}


/* ===========================================
   REDESIGN: DARK THEME - RED ACCENT (CRIMSON OPS)
   =========================================== */

/* Reset Container for Dark Theme */
html:not([data-theme="light"]) .radar-container {
    animation: none !important;
    /* Stop the glitch shaking */
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.1);
    transform: none !important;
    /* Stop skewing */
    filter: none !important;
}

/* 1. THE CORE: ACTIVE THREAT RED */
html:not([data-theme="light"]) .radar-core {
    /* Stabilize core */
    animation: none !important;
}

html:not([data-theme="light"]) .virus-icon {
    color: #ff0000;
    filter: drop-shadow(0 0 15px #ff0000);
    animation: pulse-red 2s infinite ease-in-out;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px #ff0000);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px #ff0000);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px #ff0000);
        opacity: 0.8;
    }
}

/* 2. RINGS: TACTICAL HUD (PURE RED) */
html:not([data-theme="light"]) .radar-circle {
    /* Reset chaos styles */
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    background: transparent !important;
}

/* Specific Ring Tech */
html:not([data-theme="light"]) .c1 {
    width: 30%;
    height: 30%;
    border-top: 2px solid #ff0000 !important;
    border-bottom: 2px solid #ff0000 !important;
    border-left: 2px solid transparent !important;
    border-right: 2px solid transparent !important;
    animation: tech-spin 4s infinite linear !important;
}

html:not([data-theme="light"]) .c2 {
    width: 60%;
    height: 60%;
    border: 1px dashed rgba(255, 0, 0, 0.5) !important;
    animation: tech-spin-rev 10s infinite linear !important;
}

html:not([data-theme="light"]) .c3 {
    width: 90%;
    height: 90%;
    border: 2px solid transparent !important;
    border-left: 2px solid #ff0000 !important;
    border-right: 2px solid #ff0000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1) inset !important;
    animation: tech-spin 15s infinite linear !important;
}

html:not([data-theme="light"]) .c4 {
    display: none !important;
    /* Hide 4th ring for cleaner look */
}

/* Tech Spin Animations */
@keyframes tech-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes tech-spin-rev {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* 3. GLITCH LINE: RED SCANNER */
html:not([data-theme="light"]) .scan-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.5;
    animation: scan-sweep 3s infinite ease-in-out;
    box-shadow: 0 0 10px #ff0000;
}

@keyframes scan-sweep {
    0% {
        top: 0%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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

/* 4. TARGETS: LOCKED ON */
html:not([data-theme="light"]) .target-dot {
    background: #ff0000 !important;
    box-shadow: 0 0 10px #ff0000 !important;
    animation: blink-fast 0.5s infinite alternate !important;
}

html:not([data-theme="light"]) .target-ring {
    border-color: #ff0000 !important;
    animation: lock-on 1s infinite cubic-bezier(0, 0.5, 0.5, 1) !important;
}

@keyframes blink-fast {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

@keyframes lock-on {
    0% {
        transform: scale(2);
        opacity: 0;
    }

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


/* ===========================================
   EXPANDED ARSENAL GRID (16 TOOLS)
   =========================================== */

/* Make the Tools Card Wider (Little Big Panel) */
@media (min-width: 900px) {

    .arsenal-card:has(.expanded-arsenal),
    .tools-card {
        grid-column: span 2 !important;
        /* Spans 2 columns for "Big Panel" feel */
    }
}

/* 4x4 Grid Layout for Tools */
.tools-grid-icons.expanded-arsenal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 20px;
    padding: 10px 0;
}

/* Responsive: 2 columns on mobile */
@media (max-width: 600px) {
    .tools-grid-icons.expanded-arsenal {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols on mobile */
        gap: 10px;
    }
}

/* Tool Icon Styling Updates */
.tool-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.tool-icon-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.tool-icon-item svg {
    width: 28px;
    height: 28px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tool-icon-item:hover svg {
    opacity: 1;
    transform: scale(1.1);
    color: var(--accent-primary);
}

.tool-icon-item span {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.7;
}

/* Light Theme Adjustments */
[data-theme="light"] .tool-icon-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .tool-icon-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}


/* ===========================================
   COMPACT TOOLS GRID FIX
   =========================================== */

/* Make the grid tighter */
.tools-grid-icons.expanded-arsenal {
    gap: 10px !important;
    /* Reduced from 20px */
    padding: 5px 0 !important;
}

/* Smaller Icon Items */
.tool-icon-item {
    padding: 8px !important;
    /* Reduced padding */
    gap: 6px !important;
}

/* Smaller SVGs */
.tool-icon-item svg {
    width: 22px !important;
    /* Reduced from 28px */
    height: 22px !important;
}

/* Smaller Text */
.tool-icon-item span {
    font-size: 0.65rem !important;
    /* Smaller font */
}

/* Adjust card height if needed */
.arsenal-card:has(.expanded-arsenal) {
    min-height: auto !important;
    /* Allow it to shrink */
}


/* ===========================================
   ARSENAL SECTION POLISH (ENTIRE SECTION)
   =========================================== */

/* 1. Enhanced Glass Cards */
.arsenal-card {
    background: rgba(255, 255, 255, 0.03);
    /* Subtle dark glass */
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.arsenal-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Light Theme Card Polish */
[data-theme="light"] .arsenal-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.05);
}

[data-theme="light"] .arsenal-card:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

/* 2. Glowing Tech Bars */
.tech-bar {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

/* The filled part needs a pseudo-element or if it's styled directly */
/* Assuming .tech-bar::after or child. Let's add a glow to the container itself if it acts as the bar */
.tech-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--width);
    background: linear-gradient(90deg, #667eea, #764ba2);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    border-radius: 4px;
    animation: bar-load 1.5s ease-out forwards;
}

@keyframes bar-load {
    from {
        width: 0;
    }
}

/* Light Theme Bars */
[data-theme="light"] .tech-bar::before {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
}

/* 3. Card Headers Pop */
.card-header h3 {
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    transition: 0.3s;
}

[data-theme="light"] .card-header h3 {
    background: linear-gradient(to right, #333, #667eea);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

[data-theme="light"] .card-icon {
    filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.3));
    color: #4facfe;
}


/* ===========================================
   INSANE ARSENAL TWEAKS: CYBER OVERLOAD
   =========================================== */

/* 1. RGB HOLOGRAPHIC BORDER */
.arsenal-card {
    position: relative;
    overflow: hidden;
    /* Keep the effects inside */
    z-index: 1;
}

/* The Rotating Glow Border */
.arsenal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            transparent,
            transparent,
            #ff00ff,
            #00ffff,
            #ff00ff,
            transparent);
    animation: rotate-border 4s linear infinite;
    z-index: -2;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.5s;
}

.arsenal-card:hover::before {
    opacity: 1;
    /* Show on hover */
}

/* Inner Mask to create the border look */
.arsenal-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    /* The border width */
    background: var(--bg-card, #0a0a12);
    /* Match card bg */
    border-radius: inherit;
    z-index: -1;
}

[data-theme="light"] .arsenal-card::after {
    background: rgba(255, 255, 255, 0.9);
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 2. MOVING CYBER GRID BACKGROUND */
.card-glass {
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(102, 126, 234, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.5) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

/* 3. PULSING DATA BARS (Tech Bars) */
.tech-bar::before {
    box-shadow: 0 0 15px currentColor;
    animation: bar-pulse 2s infinite alternate, bar-load 1.5s ease-out forwards;
}

@keyframes bar-pulse {
    0% {
        filter: brightness(1) blur(0px);
    }

    100% {
        filter: brightness(1.5) blur(2px);
    }
}

/* 4. HOVER GLITCH TEXT */
.arsenal-card:hover h3 {
    animation: text-shake 0.5s infinite;
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
}

@keyframes text-shake {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(1px, 1px);
    }

    50% {
        transform: translate(-1px, -1px);
    }

    75% {
        transform: translate(1px, -1px);
    }

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


/* ===========================================
   FIX: READABILITY & SIZE TWEAKS
   =========================================== */

/* 1. REMOVE TEXT GLOW (Hard to read) */
.arsenal-card:hover h3 {
    animation: none !important;
    /* Stop shaking */
    text-shadow: none !important;
    /* Remove glitch glow */
    /* Restore clean gradient */
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .arsenal-card:hover h3 {
    background: linear-gradient(to right, #333, #667eea);
    -webkit-background-clip: text;
    background-clip: text;
}

/* 2. INCREASE TOOL ITEM SIZE ("Reflection Square") */
.tools-grid-icons.expanded-arsenal {
    gap: 15px !important;
    /* Open up gaps again */
    padding: 15px !important;
}

.tool-icon-item {
    padding: 15px !important;
    /* Bigger click area */
    gap: 10px !important;
    /* More space between icon and text */
    background: rgba(255, 255, 255, 0.05);
    /* Slightly clearer background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border definition */
    min-height: 80px;
    /* Force them to be substantially bigger squares */
    justify-content: center;
}

/* Restore Icon Size */
.tool-icon-item svg {
    width: 28px !important;
    height: 28px !important;
}

/* Restore Font Size */
.tool-icon-item span {
    font-size: 0.75rem !important;
}

/* Ensure Hover Effect is Big */
.tool-icon-item:hover {
    background: rgba(102, 126, 234, 0.15) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Stronger shadow */
}

/* Ensure the border glow is only on the edges (already true, but enforcing) */
.arsenal-card::before {
    /* Keeping the RGB edge glow */
    /* Ensure z-index is correct so it doesn't overlap text content */
    z-index: -2;
}


/* ===========================================
   FIX: LIGHT THEME READABILITY (CLEAN PRO STYLE)
   =========================================== */

/* 1. Remove Neon RGB Border in Light Mode */
[data-theme="light"] .arsenal-card::before {
    display: none !important;
    /* Hide the spinning neon border */
}

/* 2. Professional Card Style (Light Mode) */
[data-theme="light"] .arsenal-card {
    background: rgba(255, 255, 255, 0.95);
    /* Solid white/glass */
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Clean grey border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Soft shadow */
    overflow: hidden;
}

[data-theme="light"] .arsenal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    /* Soft blue accent on hover */
}

/* 3. High Contrast Tool Items (Light Mode) */
[data-theme="light"] .tool-icon-item {
    background: #f8f9fa !important;
    /* Clean light grey background */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #333 !important;
    /* Dark text */
}

[data-theme="light"] .tool-icon-item svg {
    color: #444 !important;
    /* Dark icon */
}

[data-theme="light"] .tool-icon-item:hover {
    background: #fff !important;
    border-color: #667eea !important;
    /* Blue border on hover */
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
    transform: translateY(-3px) !important;
}

[data-theme="light"] .tool-icon-item:hover svg {
    color: #667eea !important;
    /* Blue icon on hover */
    transform: scale(1.1) !important;
}

/* 4. Fix Text Readability Headers */
[data-theme="light"] .card-header h3 {
    color: #1a1a2e !important;
    background: none !important;
    /* Remove gradient text if it hurts readability */
    -webkit-text-fill-color: #1a1a2e !important;
    font-weight: 700;
}

/* ===========================================
   FIX: DEPLOYMENT TOOLS GREEN ACCENT
   =========================================== */

/* Override Hover Colors to GREEN */
.tool-icon-item:hover {
    background: rgba(0, 255, 136, 0.1) !important;
    border-color: #00ff88 !important;
    /* Hacker Green Border */
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2) !important;
    /* Green Glow */
}

/* Make Icon Green on Hover */
.tool-icon-item:hover svg {
    color: #00ff88 !important;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

/* Light Theme Adjustments (Darker Green for readability) */
[data-theme="light"] .tool-icon-item:hover {
    background: rgba(0, 200, 83, 0.1) !important;
    border-color: #00c853 !important;
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.2) !important;
}

[data-theme="light"] .tool-icon-item:hover svg {
    color: #00c853 !important;
    /* Material Green 700 */
    filter: none !important;
}

/* ===========================================
   COMPACT ARSENAL CARDS (ALL PANELS)
   =========================================== */

/* Apply compact styles to ALL arsenal cards (keeping grid clean) */
.arsenal-grid .arsenal-card {
    padding: 1.25rem !important;
    max-width: 380px !important;
    width: 100%;
    margin-inline: auto;
}

/* Compact Header */
.arsenal-grid .arsenal-card .card-header {
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.arsenal-grid .arsenal-card .card-header h3 {
    font-size: 1.1rem;
}

/* Smaller Header Icon */
.arsenal-grid .arsenal-card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.arsenal-grid .arsenal-card .card-icon svg {
    width: 18px;
    height: 18px;
}

/* Compact Grid Layout (Tools) */
.tools-grid-icons {
    gap: 0.5rem !important;
    grid-template-columns: repeat(3, 1fr);
}

/* Compact Tool Items */
.tool-icon-item {
    padding: 0.5rem !important;
    gap: 0.35rem !important;
    border-radius: 8px !important;
    min-height: auto;
}

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

.tool-icon-item span {
    font-size: 0.65rem !important;
    line-height: 1.2;
}

/* ===========================================
   COMPETENCY LIST STYLES
   =========================================== */
.competency-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.competency-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dark-secondary);
    /* Ensure visibility */
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.competency-list li:last-child {
    border-bottom: none;
}

.competency-list li::before {
    content: '›';
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 0;
    margin-top: -2px;
}

.competency-list li:hover {
    color: #fff;
    padding-left: 5px;
    /* Subtle nudge on hover */
}

/* Light Theme Competency List */
[data-theme="light"] .competency-list li {
    color: #444 !important;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .competency-list li:hover {
    color: #000 !important;
}

/* ===========================================
   CONTACT SECTION PRIVACY (HIDE DETAILS)
   =========================================== */

/* Hide the second row (value) */
.info-card .info-value {
    display: none !important;
}

/* Promote the Label to Main Text */
.info-card .info-label {
    margin-bottom: 0 !important;
    font-size: 1.1rem !important;
    /* Larger text */
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    /* Brighter color */
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ensure vertical centering */
.info-card .info-text {
    display: flex;
    align-items: center;
}

/* ===========================================
   ABOUT ME REDESIGN (LIGHT THEME)
   =========================================== */

/* Override About Me for Light Theme */
[data-theme="light"] .about-hologram {
    display: none;
}

[data-theme="light"] .about-innovative {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
}

[data-theme="light"] .about-outline-text {
    display: block;
    mix-blend-mode: overlay;
    -webkit-text-stroke: 3px rgba(34, 34, 34, 0.15);
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.4), rgba(34, 34, 34, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    will-change: transform;
    /* Optimize for scroll */
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-40%) rotate(-90deg);
        letter-spacing: 20px;
    }

    100% {
        opacity: 0.6;
        transform: translateY(-50%) rotate(-90deg);
        letter-spacing: 5px;
    }
}

/* ===========================================
   EXPERIENCE SECTION REDESIGN (FLUID GLASS & GRID REFLEX - HIGH VISIBILITY)
   =========================================== */

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.experience-card {
    /* High Visibility Glass Base */
    background: rgba(22, 22, 28, 0.85);
    /* Much higher opacity */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Brighter initial border */
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    /* Subtle depth shadow */

    /* Grid Pattern Background - Slightly more visible */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
}

/* Fluid Border Reflex (Running Stream) */
.experience-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    /* Overlap border */
    z-index: 1;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 30%,
            var(--accent-primary) 50%,
            rgba(255, 255, 255, 0.05) 70%,
            transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 200% 100%;
    animation: borderFlow 6s linear infinite;
    /* Slower, more elegant flow */
    opacity: 0.6;
    /* Higher opacity */
    pointer-events: none;
}

@keyframes borderFlow {
    0% {
        background-position: 100% 0;
    }

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

/* Scanline / Grid Reflex Effect */
.experience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg,
            transparent 35%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.08) 50%,
            /* Brighter shine */
            rgba(255, 255, 255, 0.03) 55%,
            transparent 65%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 2;
    transition: left 0.6s ease;
}

.experience-card:hover {
    background-color: rgba(28, 28, 35, 0.95);
    /* Nearly opaque on hover */
    transform: translateY(-4px);
    box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    /* Definitive highlight border */
}

.experience-card:hover::before {
    opacity: 1;
    animation-duration: 3s;
}

.experience-card:hover::after {
    animation: scanlineReflex 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scanlineReflex {
    0% {
        left: -100%;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

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

/* Header Layout */
.exp-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    cursor: pointer;
    position: relative;
    z-index: 5;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), transparent);
    /* Small highlight */
}

/* Logo Styles - HIGHER VISIBILITY & LARGER */
.exp-logo-container {
    flex-shrink: 0;
    width: 100px;
    /* Significantly increased from 72px */
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    overflow: hidden;
}

.exp-logo {
    width: 85%;
    /* Increased from 75% to fill more space */
    height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease;
    opacity: 1 !important;
}

.experience-card:hover .exp-logo-container {
    transform: scale(1.05) rotate(0deg);
    /* Removed rotation for stability */
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.3);
}

.experience-card:hover .exp-logo {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.exp-main-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.exp-company {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.exp-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    /* Brighter text */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exp-role {
    color: var(--accent-primary);
    text-shadow: 0 0 12px rgba(var(--accent-primary-rgb), 0.5);
    /* Stronger glow */
}

.exp-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8em;
}

/* Sub Info */
.exp-sub-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.exp-location {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    background: rgba(30, 30, 30, 0.6);
    /* Darker/Visible background */
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.exp-location svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
    opacity: 0.9;
}

.exp-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.experience-card:hover .exp-toggle-btn {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Expanded State */
.experience-card.expanded .exp-toggle-btn {
    transform: rotate(180deg);
    background: var(--accent-primary);
    color: #000;
    border-color: var(--accent-primary);
}

/* Details Section */
.experience-card.expanded .exp-details {
    max-height: 800px;
    opacity: 1;
    padding-bottom: 2rem;
}

.exp-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
}

.exp-content {
    padding: 1rem 3rem 1rem 3rem;
    /* Adjusted padding to be more centered/pleasant */
}

/* Responsibilities - FIXED OVERLAPPING ARROWS */
.exp-content .timeline-responsibilities {
    padding-left: 0;
    list-style: none;
    /* Ensure default bullets are gone */
}

.exp-content .timeline-responsibilities li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    /* Add left padding for the arrow */
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    /* For absolute positioning of arrow */
}

.exp-content .timeline-responsibilities li:last-child {
    border-bottom: none;
}

.exp-content .timeline-responsibilities li::before {
    content: '›';
    /* Explicitly set content if needed, but styling here primarily */
    color: var(--accent-primary) !important;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: 0.35rem;
    /* Adjust vertical alignment */
    text-shadow: 0 0 8px var(--accent-primary);
    line-height: 1;
}

/* Light Theme Overrides */
[data-theme="light"] .experience-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.05);
    /* Light Theme Grid */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

[data-theme="light"] .exp-company {
    background: none;
    -webkit-text-fill-color: #1a1a1a;
    color: #1a1a1a;
    text-shadow: none;
}

[data-theme="light"] .exp-meta {
    color: #555;
    font-weight: 600;
}

[data-theme="light"] .exp-logo-container {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .exp-location {
    background: rgba(0, 0, 0, 0.04);
    color: #444;
}

[data-theme="light"] .exp-content .timeline-responsibilities li {
    color: #444 !important;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 1.5rem;
    }

    .exp-content {
        padding: 1.5rem;
    }

    .exp-logo-container {
        width: 50px;
        height: 50px;
    }

    .exp-sub-info {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }
}

/* ===========================================
   HOLOGRAPHIC COMMAND CENTER (PROJECTS)
   =========================================== */
.holo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.holo-card {
    background: #0e0e0e;
    /* Matte Obsidian */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(0px);
    /* Clean matte look */
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.holo-card:hover {
    transform: translateY(-2px);
    background: #0a0a0a;
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 107, 107, 0.08),
        inset 0 0 1px rgba(255, 107, 107, 0.1);
}

/* Unique Modern Underline Animation for Title */
.holo-title {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.holo-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ff4757);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.holo-card:hover .holo-title::after {
    width: 100%;
}

/* Remove old pseudo-elements used for scanline */
.holo-card::before,
.holo-card::after {
    display: none;
}

/* Corner Accents (Holo Emitters) noice */
.holo-emitter {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    z-index: 3;
}

.holo-emitter.tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.holo-emitter.tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-radius: 0 4px 0 0;
}

.holo-emitter.bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 4px;
}

.holo-emitter.br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

.holo-card:hover .holo-emitter {
    border-color: #ff6b6b;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
    width: 15px;
    height: 15px;
}

/* Content Layout */
.holo-content {
    padding: 1.5rem;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.holo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
}

.holo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.holo-status {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 107, 107, 0.8);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #00ff00;
    box-shadow: 0 0 6px #00ff00;
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
    }

    70% {
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(0, 255, 0, 0);
    }

    100% {
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

/* Description & Tech */
.holo-body {
    font-family: 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.holo-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.holo-tag {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    background: rgba(255, 107, 107, 0.05);
    transition: all 0.3s ease;
}

.holo-card:hover .holo-tag {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(255, 107, 107, 0.12);
}

/* Pseudo-Terminal Visuals */
.holo-terminal {
    background: #000;
    border: 1px solid #333;
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: 'Consolas', monospace;
    font-size: 0.8rem;
    color: #0f0;
    opacity: 0.8;
}

.terminal-line {
    display: block;
    margin-bottom: 0.2rem;
}

.terminal-line::before {
    content: '> ';
    color: #555;
}

/* Actions */
.holo-actions {
    display: flex;
    gap: 1rem;
}

.holo-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.holo-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.holo-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* =========================================
   Grid Reflex - Certification Section
   ========================================= */
.grid-reflex-section {
    position: relative;
    background: #050505;
    padding: 100px 0;
    overflow: hidden;
}

.reflex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.reflex-card {
    background: rgba(10, 15, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reflex-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.reflex-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            transparent,
            rgba(0, 255, 255, 0.05),
            transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.reflex-card:hover::before {
    transform: translateX(100%);
}

.cert-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3));
}

.cert-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.3;
    padding-right: 20px;
    /* Space for the absolute badge if needed, though usually badge is above */
}

.cert-info p {
    color: #8892b0;
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Default Status Styling (OSCP uses this layout naturally or with overridden classes) */
.cert-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Specific styling for VERIFIED badges to move to top-right */
.cert-status.verified {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #00ff9d;
    border: 1px solid #00ff9d;
    background: rgba(0, 255, 157, 0.05);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

/* OSCP/Pending stays in flow (or bottom left) as per user request to "leave as it was" */
.cert-status.pending {
    width: fit-content;
    margin-top: auto;
    color: #ffcc00;
    border: 1px solid #ffcc00;
    background: rgba(255, 204, 0, 0.05);
}

/* ===========================================
   HERO VIDEO FIX
   =========================================== */
/* ===========================================
   HERO VIDEO BACKGROUND (OLED)
   =========================================== */
#home.hero {
    background-color: transparent !important;
    /* Allow canvas */
    position: sticky;
    /* Sticky for scroll illusion */
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 10;
    /* Ensure it stays above track */
    overflow: hidden;
}

.hero-scroll-track {
    height: 150vh;
    /* Reduced from 300vh to eliminate blank gap */
    /* background-color: #000; REMOVED to show canvas */
    position: relative;
    z-index: 1;
    /* Keep low, but check canvas z-index */
}

/* Pull transition up to overlap end of hero track */
.section-transition {
    margin-top: -150px !important;
    /* Force overlap */
    position: relative;
    z-index: 20;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures it covers the screen */
    opacity: 0.85;
    /* Much clearer video */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.1) 60%,
            #000000 100%);
    /* Fade into next section */
    z-index: 2;
    backdrop-filter: blur(2px);
    /* Slight blur */
}

.hero-content {
    position: relative;
    z-index: 100 !important;
    padding-top: 120px;
    /* Push content down to avoid header overlap */
}

/* Hide previous wrapper styles if they conflict */
.hero-image-wrapper {
    display: none !important;
}

.cert-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* =========================================
   DEFINITIVE VISIBILITY RESET (User Request)
   ========================================= */

.hero-title {
    opacity: 1;
    visibility: visible;
}

.title-name,
.title-name span {
    opacity: 1;
    visibility: visible;
    display: inline-block !important;
    -webkit-text-fill-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
}

.nav-logo {
    opacity: 0;
    /* Hidden start */
}

.nav-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* =============================================
   EXPERIENCE V2 — Hover-Expand Cards
   ============================================= */

.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.exp-card-v2 {
    position: relative;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-card-v2:hover {
    border-color: rgba(255, 107, 107, 0.2);
    background: rgba(15, 15, 15, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 107, 107, 0.04);
}

.exp-accent-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ff6b6b, #ff4757);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.exp-card-v2:hover .exp-accent-line {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.3);
}

.exp-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.exp-logo-wrap {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.exp-card-v2:hover .exp-logo-wrap {
    border-color: rgba(255, 107, 107, 0.3);
}

.exp-logo-v2 {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.exp-card-v2:hover .exp-logo-v2 {
    transform: scale(1.08);
}

.exp-card-v2:hover .exp-logo-wrap {
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.1);
}

.exp-info-block {
    flex: 1;
    min-width: 0;
}

.exp-company-v2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.15rem 0;
    line-height: 1.2;
}

.exp-role-v2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 107, 107, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exp-meta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.exp-date-v2 {
    font-family: 'Rajdhani', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.exp-loc-v2 {
    font-family: 'Rajdhani', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.exp-loc-v2 svg {
    opacity: 0.5;
}

.exp-hover-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.exp-card-v2:hover .exp-hover-hint {
    color: #ff6b6b;
    transform: translateY(2px);
}

.exp-card-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease 0.05s,
        margin 0.4s ease;
    margin-top: 0;
}

.exp-card-v2:hover .exp-card-details {
    max-height: 400px;
    opacity: 1;
    margin-top: 1.2rem;
}

.exp-responsibilities {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exp-responsibilities li {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.exp-responsibilities li::before {
    content: '\203A';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1rem;
}

.exp-tags-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.exp-tag {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.7rem;
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    background: rgba(255, 107, 107, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .exp-card-top {
        flex-wrap: wrap;
    }

    .exp-meta-block {
        flex-direction: row;
        gap: 0.8rem;
        width: 100%;
        margin-top: 0.3rem;
    }

    .exp-hover-hint {
        display: none;
    }

    .exp-card-details {
        max-height: 500px;
        opacity: 1;
        margin-top: 1rem;
    }
}


/* =============================================
   FOOTER V2 — Text Masking + Clean Layout
   ============================================= */

.footer {
    position: relative !important;
    overflow: hidden !important;
}

.footer-mask-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(5rem, 14vw, 12rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(135deg,
            rgba(255, 107, 107, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 40%,
            rgba(102, 126, 234, 0.14) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.footer-v3 {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

/* Col 1: Brand */
.footer-brand-v3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.brand-symbol-v3 {
    color: #ff6b6b;
    display: flex;
}

.brand-name-v3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.brand-desc {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 300px;
}

/* Standard Columns */
.col-title {
    font-family: 'Rajdhani', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: #ff6b6b;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ff6b6b;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '>';
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    margin-right: 8px;
    opacity: 0;
    color: #ff6b6b;
    transition: opacity 0.3s ease, margin 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    margin-right: 5px;
}

/* Col 4: Contact & Socials */
.footer-socials-grid {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-box {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.social-box:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
    color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.footer-email {
    display: inline-block;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: #ff6b6b;
    border-bottom-style: solid;
}

/* Bottom Row */
.footer-bottom-v3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-v3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.system-status-v3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Rajdhani', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot-v3 {
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff6b6b;
    animation: status-v3-pulse 2s infinite alternate;
}

@keyframes status-v3-pulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 12px #ff6b6b;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-v3 {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* =============================================
   ABOUT V3 — Floating Glass Dashboard
   ============================================= */

.about-dashboard {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: auto auto;
    gap: 1.2rem;
}

.about-glass-card {
    position: relative;
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.about-glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 107, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 107, 107, 0.05);
}

.glass-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 107, 0.04) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-glass-card:hover .glass-card-glow {
    opacity: 1;
}

.about-glass-card[data-float="1"] {
    animation: floatIn 0.8s ease-out both;
}

.about-glass-card[data-float="2"] {
    animation: floatIn 0.8s 0.15s ease-out both;
}

.about-glass-card[data-float="3"] {
    animation: floatIn 0.8s 0.3s ease-out both;
    grid-column: 1 / -1;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.about-id-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.about-avatar-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ff4757, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.avatar-letter {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    z-index: 1;
}

.avatar-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 107, 0.3);
    animation: avatarPulse 2.5s ease-in-out infinite;
}

@keyframes avatarPulse {

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

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.about-id-info {
    flex: 1;
}

.about-name-v3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.about-alias-v3 {
    font-family: 'Rajdhani', monospace;
    font-size: 0.85rem;
    color: #ff6b6b;
    font-weight: 500;
}

.about-status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.7rem;
    color: #2ed573;
    background: rgba(46, 213, 115, 0.08);
    border: 1px solid rgba(46, 213, 115, 0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot-live {
    width: 6px;
    height: 6px;
    background: #2ed573;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.about-bio-v3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin: 0 0 1.2rem;
}

.about-bio-v3 strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.about-roles-v3 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.role-badge-v3 {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.role-badge-v3:hover {
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.05);
    transform: translateY(-2px);
}

.role-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stats-header-v3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.stats-icon {
    font-size: 1.2rem;
}

.stats-title-v3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
}

.stats-grid-v3 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-block-v3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stat-number-v3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    color: #ff6b6b;
    min-width: 40px;
    text-align: right;
}

.stat-label-v3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 80px;
}

.stat-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff4757);
    border-radius: 2px;
    transition: width 1s ease-out;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
}

.about-cta-v3 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.78rem;
    color: #ff6b6b;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    background: rgba(255, 107, 107, 0.05);
    margin-top: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.about-cta-v3:hover {
    background: rgba(255, 107, 107, 0.12);
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.15);
    transform: translateX(4px);
}

.about-terminal-v3 {
    padding: 0;
    overflow: hidden;
}

.about-terminal-v3 .terminal-header {
    border-radius: 16px 16px 0 0;
}

.about-terminal-v3 .terminal-body {
    padding: 1rem 1.5rem 1.5rem;
}

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

    .about-glass-card[data-float="3"] {
        grid-column: 1;
    }

    .about-id-top {
        flex-wrap: wrap;
    }

    .about-status-badge {
        margin-left: auto;
    }
}

/* =======================================
   ABOUT SECTION - ISOMETRIC CARDS
   ======================================= */
.about-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.about-text-side {
    flex: 1;
    max-width: 500px;
}

.about-headline {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: 'Syne', sans-serif;
}

.about-headline-accent {
    color: #ff4757;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 2rem;
}

.about-roles-v3 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.role-badge-v3 {
    background: #111;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.about-cta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.about-cta-primary {
    background: #ff4757;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.about-cta-primary:hover {
    background: #ff6b81;
}

.about-cta-ghost {
    background: transparent;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: 1px solid #555;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.3s, color 0.3s;
}

.about-cta-ghost:hover {
    border-color: #ff4757;
    color: #ff4757;
}

.about-card-wall {
    flex: 1;
    position: relative;
    height: 550px;
    perspective: 1200px;
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-15deg) rotateZ(5deg);
    transition: transform 0.1s ease-out;
}

.float-card {
    position: absolute;
    left: var(--card-x);
    top: var(--card-y);
    transform: rotate(var(--card-rot)) translateZ(calc(var(--depth) * 50px));
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.float-card:hover {
    transform: rotate(var(--card-rot)) translateZ(calc((var(--depth) * 50px) + 20px)) scale(1.05);
    z-index: 10;
}

.fc-inner {
    background: #111;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    min-width: 140px;
}

.fc-dark {
    background: #1a1a1a;
    border-color: #333;
}

.fc-accent {
    background: #ff4757;
    border-color: #ff6b81;
    color: #fff;
}

.fc-terminal {
    background: #0a0a0a;
    border-color: #222;
    font-family: 'Rajdhani', monospace;
}

.fc-red-solid {
    background: #ff4757;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 16px;
}

.fc-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 0.8rem;
}

.fc-accent .fc-label {
    color: rgba(255, 255, 255, 0.8);
}

.fc-identity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.fc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.fc-name {
    font-weight: 600;
    font-size: 1rem;
}

.fc-alias {
    color: #aaa;
    font-size: 0.85rem;
}

.fc-status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.fc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: fcblink 2s infinite;
}

.fc-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
}

.fc-stat-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.fc-stat-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff4757;
}

.fc-stat-text {
    color: #ccc;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.fc-focus-text {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.fc-cert {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff4757;
}

.fc-cert-sub {
    font-size: 0.85rem;
    color: #888;
}

.fc-term-line {
    color: #ccc;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.fc-prompt {
    color: #ff4757;
    font-weight: bold;
    margin-right: 0.5rem;
}

.fc-term-output {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

@keyframes fcblink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@media (max-width: 968px) {
    .about-split {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-text-side {
        max-width: 100%;
    }

    .about-roles-v3 {
        justify-content: center;
    }

    .about-cta-row {
        justify-content: center;
    }

    .about-card-wall {
        height: 400px;
        width: 100%;
        transform: scale(0.8) rotateX(10deg);
    }
}