/**
 * CyberSec Academy - Modern Hero Section
 * Glassmorphism + Neon Cyberpunk with radar, attack simulations, and category showcase
 */

/* =====================================================
   HERO MODERN - Main Container
   ===================================================== */
.hero-modern {
    position: relative;
    padding: var(--space-4xl, 6rem) var(--space-xl, 2.5rem) var(--space-5xl, 8rem);
    margin-bottom: var(--space-3xl, 4rem);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 136, 0.03) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(14, 165, 233, 0.02) 100%
    );
}

/* Neon top accent */
.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary, #0ea5e9), transparent);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    z-index: 2;
}

/* Background Effects */
.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    inset: -50px;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 20s linear infinite;
}

.floating-particles {
    position: absolute;
    inset: 0;
}

/* =====================================================
   HERO MAIN LAYOUT - Text Left, Radar+Terminal Right
   ===================================================== */
.hero-main {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Text Section */
.hero-text {
    flex: 1;
    max-width: 520px;
}

/* Glass badge with neon dot */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary);
    animation: statusPulse 2s ease-in-out infinite;
}

/* Title with reveal animation */
.hero-title {
    margin-bottom: 1.5rem;
    perspective: 1000px;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-extrabold, 800);
    line-height: var(--leading-display, 1.05);
    color: var(--text);
    opacity: 0;
    animation: titleReveal 0.8s var(--ease-out-expo, ease) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.3s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(-20deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}

/* Animated gradient text */
.title-line.gradient-text {
    background: linear-gradient(
        90deg,
        #00ff88 0%, #00ffcc 15%, #00ff88 30%,
        #88ff00 45%, #00ff88 60%, #00ffcc 75%,
        #00ff88 90%, #00ff88 100%
    );
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
        titleReveal 0.8s var(--ease-out-expo, ease) forwards,
        gradientText 4s ease infinite 0.8s,
        textNeonGlow 2s ease-in-out infinite 1s;
    text-shadow: none;
    position: relative;
}

/* Blur shadow behind gradient text */
.title-line.gradient-text::before {
    content: 'Cyber Security';
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, #00ff88, #00ffcc, #00ff88);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.4;
    animation: gradientText 4s ease infinite;
    z-index: -1;
}

@keyframes textNeonGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.6)) drop-shadow(0 0 50px rgba(0, 255, 136, 0.3));
    }
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    line-height: var(--leading-body, 1.65);
    margin-bottom: var(--space-xl, 2.5rem);
    max-width: 480px;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: var(--font-semibold, 600);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo, ease);
    position: relative;
    overflow: hidden;
}

/* Primary CTA - Neon gradient */
.cta-primary {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 50%, #0ea5e9 100%);
    background-size: 200% 200%;
    color: var(--dark);
    font-weight: var(--font-bold, 700);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.cta-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: var(--neon-green-lg, 0 0 30px rgba(0, 255, 136, 0.4));
}

.cta-primary:hover::before {
    left: 100%;
}

/* Secondary CTA - Glass */
.cta-secondary {
    background: var(--glass-bg-1, rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    color: var(--text);
}

.cta-secondary:hover {
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.15));
}

/* Hero Stats - Glass tiles */
.hero-stats-modern {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg-0, rgba(18, 18, 26, 0.15));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius-lg);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(14, 165, 233, 0.06));
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: var(--radius);
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    box-shadow: var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.15));
    border-color: rgba(0, 255, 136, 0.3);
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: var(--font-bold, 700);
    color: var(--text);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =====================================================
   HERO VISUAL - Radar + Terminal Right Side
   ===================================================== */
.hero-visual {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    min-width: 320px;
}

/* Cyber Radar */
.cyber-radar-advanced {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle, rgba(0, 255, 136, 0.03) 0%, rgba(0, 0, 0, 0.9) 60%, rgba(0, 255, 136, 0.02) 100%);
    border: 2px solid rgba(0, 255, 136, 0.4);
    box-shadow:
        0 0 60px rgba(0, 255, 136, 0.25),
        0 0 120px rgba(0, 255, 136, 0.1),
        inset 0 0 60px rgba(0, 255, 136, 0.05);
    animation: radarPulse 4s ease-in-out infinite;
}

@keyframes radarPulse {
    0%, 100% {
        box-shadow: 0 0 60px rgba(0, 255, 136, 0.25), 0 0 120px rgba(0, 255, 136, 0.1), inset 0 0 60px rgba(0, 255, 136, 0.05);
    }
    50% {
        box-shadow: 0 0 80px rgba(0, 255, 136, 0.35), 0 0 150px rgba(0, 255, 136, 0.15), inset 0 0 80px rgba(0, 255, 136, 0.08);
    }
}

/* Radar Rings */
.radar-outer-ring,
.radar-middle-ring,
.radar-inner-ring {
    position: absolute;
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radar-outer-ring {
    width: 85%;
    height: 85%;
    animation: ringPulse 3s ease-in-out infinite;
}

.radar-middle-ring {
    width: 55%;
    height: 55%;
    border-color: rgba(0, 255, 136, 0.25);
    animation: ringPulse 3s ease-in-out infinite 0.5s;
}

.radar-inner-ring {
    width: 25%;
    height: 25%;
    border-color: rgba(0, 255, 136, 0.3);
    animation: ringPulse 3s ease-in-out infinite 1s;
}

@keyframes ringPulse {
    0%, 100% {
        border-color: rgba(0, 255, 136, 0.2);
        box-shadow: none;
    }
    50% {
        border-color: rgba(0, 255, 136, 0.4);
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.2), inset 0 0 10px rgba(0, 255, 136, 0.1);
    }
}

/* Radar Crosshair */
.radar-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radar-crosshair::before,
.radar-crosshair::after {
    content: '';
    position: absolute;
    background: rgba(0, 255, 136, 0.1);
}

.radar-crosshair::before {
    width: 1px;
    height: 300px;
    top: -150px;
    left: 0;
}

.radar-crosshair::after {
    width: 300px;
    height: 1px;
    left: -150px;
    top: 0;
}

/* Radar Sweep Beam */
.radar-sweep-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 3px;
    transform-origin: left center;
    background: linear-gradient(90deg, var(--primary), transparent);
    animation: radarSweep 4s linear infinite;
    filter: blur(1px);
}

.radar-sweep-beam::before {
    content: '';
    position: absolute;
    top: -75px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.2), transparent);
    transform-origin: left center;
    clip-path: polygon(0 50%, 100% 20%, 100% 80%);
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Radar Core - Neon center */
.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 50%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--dark);
    box-shadow:
        0 0 25px rgba(0, 255, 136, 0.7),
        0 0 50px rgba(0, 255, 136, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    z-index: 10;
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 0 60px rgba(0, 255, 136, 0.2); }
    50% { box-shadow: 0 0 50px rgba(0, 255, 136, 0.7), 0 0 80px rgba(0, 255, 136, 0.3); }
}

/* Attack Blips */
.attack-blip {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.attack-blip::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: blipRipple 2s ease-out infinite;
    z-index: -1;
}

@keyframes blipRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.attack-blip i {
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.blip-label {
    font-size: 0.55rem;
    font-weight: var(--font-bold, 700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.attack-blip:hover {
    transform: scale(1.4);
    z-index: 20;
}

.attack-blip:hover .blip-label {
    opacity: 1;
}

/* Blip Positions & Colors */
.blip-1 {
    top: 15%;
    left: 62%;
    background: rgba(239, 68, 68, 0.35);
    border: 2px solid #ef4444;
    color: #ef4444;
    animation: blipFloat1 3s ease-in-out infinite, blipPulse1 2s ease-in-out infinite;
}

.blip-2 {
    top: 38%;
    left: 80%;
    background: rgba(245, 158, 11, 0.35);
    border: 2px solid #f59e0b;
    color: #f59e0b;
    animation: blipFloat2 3.5s ease-in-out infinite 0.3s, blipPulse2 2s ease-in-out infinite 0.4s;
}

.blip-3 {
    top: 68%;
    left: 72%;
    background: rgba(239, 68, 68, 0.35);
    border: 2px solid #ef4444;
    color: #ef4444;
    animation: blipFloat3 4s ease-in-out infinite 0.6s, blipPulse1 2s ease-in-out infinite 0.8s;
}

.blip-4 {
    top: 72%;
    left: 32%;
    background: rgba(245, 158, 11, 0.35);
    border: 2px solid #f59e0b;
    color: #f59e0b;
    animation: blipFloat4 3.2s ease-in-out infinite 0.9s, blipPulse2 2s ease-in-out infinite 1.2s;
}

.blip-5 {
    top: 28%;
    left: 10%;
    background: rgba(0, 255, 136, 0.35);
    border: 2px solid var(--primary);
    color: var(--primary);
    animation: blipFloat5 3.8s ease-in-out infinite 1.2s, blipPulse3 2s ease-in-out infinite 1.6s;
}

@keyframes blipFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -8px); }
}

@keyframes blipFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, 5px); }
}

@keyframes blipFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4px, 6px); }
}

@keyframes blipFloat4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, -5px); }
}

@keyframes blipFloat5 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, 4px); }
}

@keyframes blipPulse1 {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.9), 0 0 40px rgba(239, 68, 68, 0.4); }
}

@keyframes blipPulse2 {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
    50% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.9), 0 0 40px rgba(245, 158, 11, 0.4); }
}

@keyframes blipPulse3 {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 136, 0.9), 0 0 40px rgba(0, 255, 136, 0.4); }
}

/* =====================================================
   ATTACK SIMULATION PANEL - Glass
   ===================================================== */
.attack-simulation-panel {
    width: 450px;
    background: linear-gradient(
        145deg,
        rgba(10, 10, 20, 0.9) 0%,
        rgba(5, 5, 15, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 255, 136, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Neon top accent */
.attack-simulation-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, var(--primary));
    z-index: 1;
}

/* CRT scan-line overlay */
.attack-simulation-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.008) 2px,
        rgba(0, 255, 136, 0.008) 4px
    );
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

.sim-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.08), rgba(0, 255, 136, 0.04));
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sim-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: var(--font-bold, 700);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ef4444;
    font-family: var(--font-mono);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.status-dot.live {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: statusPulse 1.5s ease-in-out infinite;
}

.status-dot.live::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    animation: statusRing 1.5s ease-out infinite;
}

@keyframes statusRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.sim-header::after {
    content: 'MONITORING';
    font-size: 0.65rem;
    font-weight: var(--font-semibold, 600);
    letter-spacing: 1px;
    color: var(--primary);
    padding: 0.3rem 0.6rem;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 4px;
    font-family: var(--font-mono);
}

.sim-content {
    padding: 1rem 1.25rem;
    max-height: 320px;
    overflow-y: auto;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.015));
    position: relative;
    z-index: 2;
}

.sim-content::-webkit-scrollbar {
    width: 4px;
}

.sim-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.sim-content::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.2);
    border-radius: 2px;
}

.sim-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 136, 0.4);
}

/* Attack entries - Glass rows */
.attack-entry {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: all 0.2s ease;
    animation: entrySlide 0.4s var(--ease-out-expo, ease);
    border-left: 3px solid transparent;
    margin-bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

@keyframes entrySlide {
    from {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.attack-entry:hover {
    background: rgba(0, 255, 136, 0.06);
    border-left-color: var(--primary);
    transform: translateX(5px);
}

.attack-entry:first-child {
    background: rgba(239, 68, 68, 0.04);
    border-left-color: #ef4444;
}

.attack-time {
    color: var(--text-muted);
    min-width: 80px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.attack-type {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: var(--font-bold, 700);
    font-size: 0.75rem;
    min-width: 110px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.attack-type.critical {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1));
    color: #ff6b6b;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}

.attack-type.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.1));
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.attack-type.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.1));
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

.attack-target {
    color: var(--text-muted);
    flex: 1;
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Simulation footer stats */
.sim-footer {
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 255, 136, 0.08);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    position: relative;
    z-index: 2;
}

.sim-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.sim-stat-value {
    color: var(--primary);
    font-weight: var(--font-bold, 700);
    text-shadow: var(--neon-green-text, 0 0 10px rgba(0, 255, 136, 0.3));
}

/* =====================================================
   CATEGORY SHOWCASE - Glass Cards
   ===================================================== */
.category-showcase {
    margin-bottom: 3rem;
}

.showcase-header {
    text-align: center;
    margin-bottom: 2rem;
}

.showcase-header h2 {
    font-size: 1.75rem;
    font-weight: var(--font-bold, 700);
    margin-bottom: 0.5rem;
}

.showcase-header h2 i {
    color: var(--primary);
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.4));
}

.showcase-header p {
    color: var(--text-muted);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

/* Glass showcase card */
.showcase-card {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(18, 18, 26, 0.6) 0%,
        rgba(18, 18, 26, 0.3) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo, ease);
    overflow: hidden;
}

/* Frost overlay */
.showcase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    pointer-events: none;
    border-radius: inherit;
}

.showcase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.15));
}

/* Neon top line */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.4s;
    box-shadow: 0 0 8px currentColor;
}

.showcase-card:hover .card-glow {
    opacity: 1;
}

.card-glow.web { background: linear-gradient(90deg, #3b82f6, #00d4ff); }
.card-glow.network { background: linear-gradient(90deg, #8b5cf6, #a855f7); }
.card-glow.crypto { background: linear-gradient(90deg, var(--primary), #00d4ff); }
.card-glow.forensics { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.card-glow.osint { background: linear-gradient(90deg, #ef4444, #f97316); }
.card-glow.cloud { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.card-glow.pentest { background: linear-gradient(90deg, #dc2626, #ef4444); }
.card-glow.reversing { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.card-glow.malware { background: linear-gradient(90deg, #b91c1c, #dc2626); }
.card-glow.mobile { background: linear-gradient(90deg, #059669, #10b981); }
.card-glow.iot { background: linear-gradient(90deg, #0891b2, #06b6d4); }
.card-glow.misc { background: linear-gradient(90deg, #6366f1, #8b5cf6); }

.showcase-card .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(14, 165, 233, 0.06));
    border: 1px solid rgba(0, 255, 136, 0.12);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.4s var(--ease-out-expo, ease);
}

.showcase-card:hover .card-icon {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: var(--neon-green-md, 0 0 20px rgba(0, 255, 136, 0.3));
}

.showcase-card h3 {
    font-size: 1.1rem;
    font-weight: var(--font-semibold, 600);
    margin-bottom: 0.5rem;
}

.showcase-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.card-count {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: var(--font-medium, 500);
    font-family: var(--font-mono);
}

/* =====================================================
   LEARNING PATH - Glass Cyberpunk Design
   ===================================================== */
.learning-path {
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem;
    background: linear-gradient(
        145deg,
        rgba(0, 255, 136, 0.02) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 255, 136, 0.08);
}

.path-header {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.path-header h2 {
    font-size: 2rem;
    font-weight: var(--font-extrabold, 800);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0.75rem 2rem;
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.08), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.path-header h2 i {
    color: var(--primary);
    font-size: 1.5rem;
    animation: hexPulse 2s ease-in-out infinite;
}

.path-header h2::before,
.path-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 3px;
}

.path-header h2::before {
    right: calc(100% + 1rem);
    background: linear-gradient(90deg, transparent, var(--primary));
    animation: lineGlow 2s ease-in-out infinite;
}

.path-header h2::after {
    left: calc(100% + 1rem);
    background: linear-gradient(90deg, var(--primary), transparent);
    animation: lineGlow 2s ease-in-out infinite 0.5s;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.4; box-shadow: none; }
    50% { opacity: 1; box-shadow: 0 0 10px var(--primary); }
}

/* Path levels grid */
.path-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    padding: 1rem 0;
}

/* Neon connection line */
.path-levels::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--primary) 0%,
        rgba(0, 255, 136, 0.5) 50%,
        rgba(0, 255, 136, 0.2) 100%);
    border-radius: 2px;
    z-index: 0;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Animated data flow */
.path-levels::after {
    content: '';
    position: absolute;
    top: calc(50% - 3px);
    left: 8%;
    width: 30px;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 5px;
    z-index: 1;
    animation: dataFlow 3s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary);
}

@keyframes dataFlow {
    0% { left: 8%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(92% - 30px); opacity: 0; }
}

/* Glass level card */
.path-level {
    position: relative;
    z-index: 2;
    background: linear-gradient(
        145deg,
        rgba(10, 10, 20, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo, ease);
    overflow: hidden;
}

/* Corner neon accents */
.path-level::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-lg) 0 0 0;
    opacity: 0.4;
    transition: all 0.4s;
}

.path-level::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-bottom: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    border-radius: 0 0 var(--radius-lg) 0;
    opacity: 0.4;
    transition: all 0.4s;
}

.path-level:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        var(--neon-green-md, 0 0 20px rgba(0, 255, 136, 0.3)),
        inset 0 0 30px rgba(0, 255, 136, 0.03);
}

.path-level:hover::before,
.path-level:hover::after {
    opacity: 1;
    width: 50px;
    height: 50px;
}

/* Level Badge - Hexagonal */
.level-badge {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: var(--font-extrabold, 800);
    font-family: var(--font-mono);
    color: var(--primary);
    background:
        linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, transparent 50%),
        linear-gradient(315deg, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 255, 136, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.4s;
}

.level-badge::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: ringRotate 15s linear infinite;
}

.level-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.3) 0%, transparent 50%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0;
    transition: opacity 0.4s;
}

.path-level:hover .level-badge {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.15);
    box-shadow:
        0 0 40px rgba(0, 255, 136, 0.6),
        0 0 80px rgba(0, 255, 136, 0.3);
}

.path-level:hover .level-badge::after {
    opacity: 1;
}

.path-level:hover .level-badge::before {
    border-color: var(--primary);
    animation-duration: 5s;
}

/* Level Content */
.level-title {
    font-size: 1.4rem;
    font-weight: var(--font-extrabold, 800);
    margin-bottom: 0.5rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.level-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
}

.level-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    padding: 0 0.5rem;
}

/* Level Icon Row */
.level-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.level-icon-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.level-icon-item:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.15));
}

/* Progress Ring */
.level-progress {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

.level-progress svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.level-progress-bg {
    fill: none;
    stroke: rgba(0, 255, 136, 0.08);
    stroke-width: 8;
}

.level-progress-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s var(--ease-out-expo, ease);
    filter: drop-shadow(0 0 5px var(--primary));
}

.level-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: var(--font-extrabold, 800);
    font-family: var(--font-mono);
    color: var(--primary);
    text-shadow: var(--neon-green-text, 0 0 10px rgba(0, 255, 136, 0.3));
}

.level-progress-label {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Level Stats */
.level-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.level-stat {
    text-align: center;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 255, 136, 0.04);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.level-stat:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: scale(1.05);
}

.level-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: var(--font-extrabold, 800);
    color: var(--primary);
    font-family: var(--font-mono);
    text-shadow: var(--neon-green-text, 0 0 10px rgba(0, 255, 136, 0.3));
}

.level-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
    display: block;
}

/* Level Status Badges */
.level-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: var(--font-bold, 700);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.25rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Shimmer sweep */
.level-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: holoShimmer 3s ease-in-out infinite;
}

.level-status.completed {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.06));
    color: var(--primary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.15));
}

.level-status.in-progress {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.06));
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    animation: inProgressPulse 2s ease-in-out infinite;
}

@keyframes inProgressPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(245, 158, 11, 0.15); }
    50% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
}

.level-status.locked {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.06));
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.level-status i {
    font-size: 0.75rem;
}

/* Active Level */
.path-level.active {
    border-color: rgba(0, 255, 136, 0.3);
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.06), rgba(0, 0, 0, 0.5));
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.1);
}

.path-level.active .level-badge {
    animation: activePulse 2s ease-in-out infinite;
}

.path-level.active::before,
.path-level.active::after {
    opacity: 1;
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.7);
        transform: scale(1.05);
    }
}

/* Skill tags */
.level-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 255, 136, 0.12);
    color: var(--primary);
    border-color: rgba(0, 255, 136, 0.25);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero-main {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-visual {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats-modern {
        justify-content: center;
    }

    .cyber-radar-advanced {
        width: 280px;
        height: 280px;
    }

    .hero-terminal {
        width: 280px;
    }

    .attack-simulation-panel {
        width: 320px;
    }

    .learning-path {
        padding: 1.5rem;
    }

    .path-header h2 {
        font-size: 1.5rem;
        padding: 0.6rem 1.5rem;
    }

    .path-levels {
        gap: 1.5rem;
    }

    .path-header h2::before,
    .path-header h2::after {
        display: none;
    }

    .title-line {
        font-size: 2.5rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 2rem 1rem 3rem;
    }

    .hero-main {
        padding: 0 1rem;
    }

    .title-line {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats-modern {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cyber-radar-advanced {
        width: 240px;
        height: 240px;
    }

    .attack-simulation-panel {
        width: 100%;
    }

    .path-levels {
        grid-template-columns: 1fr;
    }

    .path-levels::before,
    .path-levels::after {
        display: none;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-modern {
        padding: 1.5rem 0.75rem 2rem;
    }

    .title-line {
        font-size: 1.6rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card {
        padding: 1.25rem;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .hero-badge { background: rgba(18, 18, 26, 0.95); }
    .hero-stat-tile { background: rgba(18, 18, 26, 0.95); }
    .attack-sim-panel { background: rgba(0, 0, 0, 0.97); }
}
