/* Academy Page Styles - Modern Minimal Design */

/* ============================================
   CSS Variables for Academy Page
   ============================================ */
:root {
    /* 
     * Background Image Configuration
     * 
     * To change the hero background image:
     * 1. Replace the URL below with your image URL
     * 2. Or use a local file: url('path/to/your/image.jpg')
     * 3. Recommended: Use high-resolution images (min 1920x1080)
     * 4. For best results, use images with good contrast for text overlay
     * 
     * Current: Technology/Data visualization theme
     */
    --academy-hero-bg: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    
    /* 
     * Alternative Background Options (uncomment one to use):
     * 
     * Option 1: Abstract Tech
     * --academy-hero-bg: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
     * 
     * Option 2: Analytics Dashboard
     * --academy-hero-bg: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
     * 
     * Option 3: Code/Programming Theme
     * --academy-hero-bg: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
     */
    
    /* Get Started hero: light background image (keep subtle for readability) */
    --get-started-hero-bg: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=60');
}

/* Modern Font Stack - Salesforce Sans */
html,
body {
    font-family: "Salesforce Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Academy Sub-Navbar */
.academy-sub-navbar {
    position: fixed;
    top: var(--academy-main-nav-height, 70px);
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 998;
    transition: var(--transition);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
}

.academy-sub-navbar .container {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 0;
}


.academy-sub-navbar.scrolled {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.academy-sub-nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 48px;
}

.academy-sub-nav-item {
    flex-shrink: 0;
}

.academy-sub-nav-link {
    display: block;
    padding: 14px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.academy-sub-nav-link:active {
    transform: none;
}

.academy-sub-nav-link:hover {
    color: var(--accent);
    background-color: rgba(1, 118, 211, 0.04);
}


.academy-sub-nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

/* Mobile Sub-Navbar */
@media (max-width: 967px) {
    .academy-sub-navbar {
        top: var(--academy-main-nav-height, 60px);
        padding: 0;
        margin-top: 0;
        overflow: hidden;
    }
    
    .academy-sub-navbar .container {
        padding-top: 6px;
        padding-bottom: 6px;
        overflow: visible;
    }
    
    .academy-sub-nav-menu {
        padding: 0 12px;
        gap: 0;
        min-height: 44px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .academy-sub-nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .academy-sub-nav-item {
        flex-shrink: 0;
    }

    /* Dropdown menu: full width below sub-navbar (fixed so it is never clipped by overflow containers) */
    .academy-sub-navbar .dropdown-menu {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: var(--academy-sub-dropdown-top, 104px) !important; /* updated dynamically in script.js */
        width: 100% !important;
        max-width: 100vw;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        background: var(--bg);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border-color);
        border-top: none;
        transition: opacity 0.25s ease, max-height 0.25s ease, visibility 0.25s ease;
        z-index: 1001;
    }
    
    .academy-sub-navbar .dropdown-menu.mobile-open {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
        padding: 8px 0 !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .academy-sub-navbar .dropdown-toggle {
        touch-action: manipulation;
        cursor: pointer;
    }
    
    .academy-sub-navbar .dropdown-menu li {
        margin: 0;
    }
    
    .academy-sub-navbar .dropdown-menu a {
        padding: 10px 16px;
        font-size: 13px;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .academy-sub-navbar .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    .academy-sub-nav-link {
        padding: 12px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .academy-sub-navbar .dropdown-toggle::after {
        margin-left: 4px;
        font-size: 10px;
    }

    .all-materials-page {
        padding-top: 60px;
    }

    .all-materials-header {
        margin-top: 44px;
    }
}

@media (max-width: 480px) {
    .academy-sub-navbar {
        top: var(--academy-main-nav-height, 60px);
        margin-top: 0;
    }
    
    .academy-sub-navbar .container {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    
    .academy-sub-nav-menu {
        min-height: 40px;
        padding: 0 8px;
    }
    
    .academy-sub-nav-link {
        padding: 10px 12px;
        font-size: 12px;
    }

    .academy-sub-navbar .dropdown-menu {
        top: var(--academy-sub-dropdown-top, 100px) !important; /* updated dynamically in script.js */
    }
    
    .academy-sub-navbar .dropdown-menu.mobile-open,
    .academy-sub-navbar .dropdown.dropdown-open .dropdown-menu {
        max-height: 60vh !important;
    }
    
    .academy-sub-navbar .dropdown-menu a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .all-materials-page {
        padding-top: 60px;
    }

    .all-materials-header {
        margin-top: 40px;
    }
}

/* Academy Hero - Premium Background with Brand Overlay */
.academy-hero {
    padding: 60px 16px 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: var(--academy-total-nav-offset, 134px); /* main navbar + academy sub-navbar */
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Base gradient (brand) + background image */
    background-color: #0a00b3;
    background-image: var(--academy-hero-bg, url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Brand gradient overlay for text readability and consistent look */
.academy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 0, 179, 0.88) 0%, rgba(20, 0, 255, 0.75) 40%, rgba(56, 182, 255, 0.6) 70%, rgba(0, 255, 255, 0.15) 100%);
    z-index: -1;
}

/* Subtle vignette and contrast */
.academy-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(10, 0, 179, 0.25) 100%);
    z-index: -1;
}

@media (max-width: 967px) {
    .academy-hero {
        margin-top: var(--academy-total-nav-offset, 104px);
        padding-top: 60px;
        padding-bottom: 50px;
        min-height: 550px;
        background-attachment: scroll; /* Better performance on mobile */
    }
}

@media (max-width: 480px) {
    .academy-hero {
        margin-top: var(--academy-total-nav-offset, 100px);
        padding-top: 60px;
        padding-bottom: 40px;
        min-height: 500px;
    }
}

.academy-hero-content {
    font-family: inherit;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.academy-hero-text {
    font-family: inherit;
    text-align: center;
    color: white;
}

.academy-badge {
    font-family: inherit;
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.academy-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 967px) {
    .academy-badge {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .academy-badge {
        margin-bottom: 16px;
        font-size: 12px;
        padding: 5px 12px;
    }
}

.academy-hero-title {
    font-family: inherit;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.academy-hero-description {
    font-family: inherit;
    font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.75;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.academy-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Academy Page Buttons - Premium styling for hero section */
.academy-hero .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    padding: 16px 32px;
    transition: all 0.3s ease;
}

.academy-hero .btn-primary:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

.academy-hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    padding: 16px 32px;
    transition: all 0.3s ease;
}

.academy-hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    color: white;
}

.academy-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.academy-hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.academy-hero-illustration:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Academy Sections - Premium Styling */
/* Academy Page Content Wrapper */
.academy-page-content {
    padding-top: 134px; /* 70px navbar + 64px sub-navbar */
    min-height: calc(100vh - 134px);
}

.academy-section {
    padding: 80px 16px;
    position: relative;
}

.academy-section-alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--card) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.academy-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px;
}

.academy-section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.25;
    position: relative;
}

.academy-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    margin: 20px auto 0;
    border-radius: 2px;
}

.academy-section-intro {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.75;
    margin-top: 24px;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-card {
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(1, 118, 211, 0.12);
    transform: translateY(-4px);
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.progress-overview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.progress-percent {
    font-weight: 600;
    color: #111827;
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 50%, #28a745 100%);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(1, 118, 211, 0.3);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.announcements-list,
.recommended-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.announcement-item,
.recommended-item {
    display: flex;
    gap: 0;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.announcement-item:last-child,
.recommended-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.announcement-content,
.recommended-content {
    flex: 1;
}

.announcement-content h4,
.recommended-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.4;
}

.announcement-content p,
.recommended-content p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    line-height: 1.5;
}

.announcement-date {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.recommended-item {
    align-items: center;
    justify-content: space-between;
}

.recommended-item .btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.recommended-item .btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #003d6b 100%);
    background-color: var(--primary-dark);
    color: white;
}

/* Learning Paths */
.learning-paths-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.path-card {
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    padding: 36px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


/* Path Card Buttons - Premium styling */
.path-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(1, 118, 211, 0.2);
    font-weight: 600;
    transition: all 0.3s ease;
}

.path-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #003d6b 100%);
    background-color: var(--primary-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(1, 118, 211, 0.3);
    transform: translateY(-2px);
}

.path-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(1, 118, 211, 0.15);
    transform: translateY(-6px);
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 50%, #28a745 100%);
    opacity: 0.9;
}

.path-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.path-beginner .path-badge {
    background: #e0f2fe;
    color: #0369a1;
}

.path-intermediate .path-badge {
    background: #fef3c7;
    color: #d97706;
}

.path-advanced .path-badge {
    background: #fee2e2;
    color: #dc2626;
}

.path-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.path-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.path-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.path-stat {
    font-size: 13px;
    color: #6b7280;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.05) 0%, rgba(56, 182, 255, 0.06) 50%, rgba(0, 255, 255, 0.04) 100%);
    border-radius: 4px;
    font-weight: 500;
}

.path-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.path-progress span {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Latest Topics */
.topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.topic-card {
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


.topic-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.topic-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(1, 118, 211, 0.12);
    transform: translateY(-4px);
}

.topic-card:hover::after {
    transform: scaleX(1);
}

.topic-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-new {
    background: #e0f2fe;
    color: #0369a1;
}

.topic-lab {
    background: #dcfce7;
    color: #16a34a;
}

.topic-article {
    background: #fef3c7;
    color: #d97706;
}

.topic-update {
    background: #f3f4f6;
    color: #6b7280;
}

.topic-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
    padding-right: 80px;
    letter-spacing: -0.01em;
}

.topic-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.topic-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.topic-link {
    color: #1400FF;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.topic-link:hover {
    color: #0a00b3;
}

.topic-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.topic-link:hover::after {
    transform: translateX(2px);
}

/* All Content */
.content-search {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 28px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #1400FF;
    box-shadow: 0 0 0 3px rgba(1, 118, 211, 0.1);
}

.search-btn {
    padding: 12px 24px;
    background: #1400FF;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: #0a00b3;
}

.content-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 6px 14px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #1400FF;
    color: #1400FF;
    background: #f0f7ff;
}

.filter-btn.active {
    background: #1400FF;
    color: white;
    border-color: #1400FF;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-item {
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}


.content-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(1, 118, 211, 0.12);
    transform: translateY(-4px);
}

.content-item:hover::after {
    transform: scaleX(1);
}

.content-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.content-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.05) 0%, rgba(56, 182, 255, 0.06) 50%, rgba(0, 255, 255, 0.04) 100%);
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Hall of Fame */
.hof-coming-soon {
    text-align: center;
    max-width: 520px;
    margin: 48px auto 64px;
    padding: 48px 24px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hof-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: rgba(20, 0, 255, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.hof-coming-soon-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hof-coming-soon-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.hof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hof-card {
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}


.hof-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}


.hof-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.learner-list,
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.learner-item,
.cert-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.learner-item:last-child,
.cert-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.learner-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

.learner-item:first-child .learner-rank {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #d97706;
}

.learner-item:nth-child(2) .learner-rank {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #6b7280;
}

.learner-item:nth-child(3) .learner-rank {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.learner-info,
.cert-info {
    flex: 1;
}

.learner-info h4,
.cert-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.4;
}

.learner-info p,
.cert-info p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.achievement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.achievement-item {
    padding: 16px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.05) 0%, rgba(56, 182, 255, 0.07) 50%, rgba(0, 255, 255, 0.05) 100%);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.achievement-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.4;
}

.achievement-item p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Get Started */
.get-started-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.get-started-text {
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
}


.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.4;
}

.step-content p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
}

.get-started-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Get Started & Certified Sections - Buttons on white background */
.get-started .btn-primary,
.certified .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.get-started .btn-primary:hover,
.certified .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #003d6b 100%);
    background-color: var(--primary-dark);
    color: white;
}

.get-started .btn-secondary,
.certified .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.get-started .btn-secondary:hover,
.certified .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.get-started-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.get-started-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Get Started - Enhanced hero */
.get-started-hero {
    position: relative;
    padding: 56px 16px 72px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.get-started-hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--get-started-hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.get-started-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.88) 40%, rgba(248, 250, 252, 0.94) 100%);
    z-index: 1;
}

.get-started-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(20, 0, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.get-started-hero .container {
    position: relative;
    z-index: 1;
}

.get-started-hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    background: rgba(20, 0, 255, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    border: 1px solid rgba(20, 0, 255, 0.15);
}

.get-started-hero-title {
    font-size: clamp(1.875rem, 4.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.get-started-hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.get-started-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.get-started-hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 12px rgba(20, 0, 255, 0.25);
}

.get-started-hero-cta .btn-primary:hover {
    box-shadow: 0 4px 20px rgba(20, 0, 255, 0.35);
    transform: translateY(-1px);
}

.get-started-hero-cta .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.get-started-hero-cta .btn-secondary:hover {
    background: rgba(20, 0, 255, 0.06);
    color: var(--primary-dark);
}

@media (max-width: 767px) {
    .get-started-hero {
        padding: 40px 16px 56px;
    }
    .get-started-hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }
    .get-started-hero-subtitle {
        margin-bottom: 24px;
    }
    .get-started-hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    .get-started-hero-cta .btn-primary,
    .get-started-hero-cta .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

.get-started-how .academy-section-title,
.get-started-topics .academy-section-title {
    text-align: center;
    margin-bottom: 32px;
}

.get-started-how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.get-started-how-card {
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid rgba(20, 0, 255, 0.12);
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.get-started-how-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(20, 0, 255, 0.12);
}

.get-started-how-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 10px;
    margin-bottom: 16px;
}

.get-started-how-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.get-started-how-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.get-started-how-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.get-started-how-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.get-started-topics-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.get-started-paths-teaser {
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid rgba(20, 0, 255, 0.15);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.get-started-paths-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.get-started-paths-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.get-started-pick-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.get-started-pick-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.get-started-pick-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.get-started-pick-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid rgba(20, 0, 255, 0.12);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.get-started-pick-card:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.1) 0%, rgba(56, 182, 255, 0.12) 50%, rgba(0, 255, 255, 0.08) 100%);
    transform: translateX(4px);
}

.get-started-pick-label {
    font-weight: 500;
    font-size: 1rem;
}

.get-started-pick-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.get-started-pick-all {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.get-started-pick-all:hover {
    text-decoration: underline;
}

/* Keep up with the latest */
.get-started-keep-up .academy-section-title {
    text-align: center;
    margin-bottom: 16px;
}

.get-started-keep-up-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.get-started-follow-btn {
    display: inline-block;
    margin-bottom: 40px;
}

.get-started-keep-up .container {
    text-align: center;
}

.get-started-quote {
    max-width: 640px;
    margin: 0 auto;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    text-align: left;
    box-shadow: 0 2px 8px rgba(20, 0, 255, 0.06);
}

.get-started-quote-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.get-started-quote-cite {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: normal;
}

.get-started-cta-strip {
    padding: 56px 16px 64px;
}

.get-started-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.get-started-cta-card {
    display: block;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid rgba(20, 0, 255, 0.12);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.get-started-cta-card:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.1) 0%, rgba(56, 182, 255, 0.12) 50%, rgba(0, 255, 255, 0.08) 100%);
}

.get-started-cert-teaser {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.1) 50%, rgba(0, 255, 255, 0.08) 100%);
    border: 1px solid rgba(20, 0, 255, 0.2);
    border-radius: 12px;
}

.get-started-cert-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.get-started-cert-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .get-started-how-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .get-started-pick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .get-started-cta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .get-started-pick-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Get Certified */
.academy-certified {
    background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border-color);
}

.certified-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.certified-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certified-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
}

.certification-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.cert-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cert-step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cert-step-content p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
}

.certified-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (min-width: 768px) {
    .academy-hero-content,
    .get-started-content,
    .certified-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .academy-hero-text,
    .get-started-text,
    .certified-text {
        text-align: left;
    }
    
    .academy-hero-cta,
    .get-started-cta,
    .certified-cta {
        justify-content: flex-start;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .learning-paths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .academy-section {
        padding: 80px 20px;
    }
    
    .learning-paths-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .topics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hof-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .academy-section {
        padding: 48px 12px;
    }
    
    .academy-section-header {
        margin-bottom: 32px;
    }
    
    .dashboard-card,
    .path-card,
    .topic-card,
    .content-item,
    .hof-card {
        padding: 20px;
    }
    
    .path-stats {
        gap: 8px;
    }
    
    .path-stat {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* ============================================
   Learning Materials & Labs Section
   ============================================ */

.labs-subsection {
    margin-bottom: 64px;
}

.labs-subsection:last-of-type {
    margin-bottom: 0;
}

.labs-subsection-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.labs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .labs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .labs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.lab-card {
    display: block;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(1, 118, 211, 0.12);
    border-color: var(--primary-color);
}

.lab-card:hover::before {
    transform: scaleX(1);
}

.lab-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lab-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.lab-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lab-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.lab-card:hover .lab-link {
    gap: 8px;
}

/* All Topics Section */
.all-topics-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--border-color);
}

.all-topics-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .all-topics-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .all-topics-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topic-list-item {
    display: block;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.topic-list-item:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

/* Lab Detail Page Styles */
.lab-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 16px 80px;
    margin-top: 70px;
}

.lab-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lab-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.lab-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Lab Content Wrapper for Sidebar Layout */
.lab-content-wrapper {
    display: flex;
    background-color: var(--bg-white);
    min-height: calc(100vh - 70px);
    position: relative;
    padding-left: 260px; /* Account for fixed sidebar */
    padding-top: 134px; /* Account for navbar (70px) + sub-navbar (~64px) */
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

/* Left Sidebar Navigation */
.nav-lhs {
    position: fixed;
    top: 134px; /* Main navbar (70px) + Sub-navbar (~64px) */
    left: 0;
    width: 260px;
    height: calc(100vh - 134px);
    background-color: var(--bg-light);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    z-index: 100;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.nav-lhs::-webkit-scrollbar {
    width: 6px;
}

.nav-lhs::-webkit-scrollbar-track {
    background: transparent;
}

.nav-lhs::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.nav-lhs::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

.nav-lhs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-lhs-list li {
    margin: 0;
    padding: 0;
}

.nav-lhs-link {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
    word-wrap: break-word;
}

.nav-lhs-link:hover {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.06);
    border-left-color: var(--primary-light);
}

.nav-lhs-link.active {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.1);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.nav-lhs-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

/* Dark mode support for navigation */
.dark .nav-lhs {
    background-color: var(--card-bg);
    border-right-color: var(--border-color);
}

.dark .nav-lhs-link {
    color: var(--text-secondary);
}

.dark .nav-lhs-link:hover {
    background-color: rgba(20, 0, 255, 0.12);
}

.dark .nav-lhs-link.active {
    background-color: rgba(20, 0, 255, 0.18);
}

/* Main Content Area - PortSwigger Style */
.lab-content {
    flex: 1;
    padding: 24px 48px 48px;
    max-width: 100%;
}

.lab-content .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

.lab-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 100px;
}

.lab-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.lab-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
    padding-bottom: 0;
    border-bottom: none;
}

.lab-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 32px;
    line-height: 1.4;
}

.lab-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.lab-objectives {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lab-objectives li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.lab-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.lab-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Code Block Styling */
.code-block {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre;
}

@media (max-width: 1024px) {
    .nav-lhs {
        width: 240px;
    }
    
    .lab-content-wrapper {
        padding-left: 240px;
        padding-top: 120px; /* Account for navbar (60px) + sub-navbar (~60px) */
    }
    
    .lab-content {
        padding: 60px 24px;
    }
}

@media (max-width: 767px) {
    .lab-content-wrapper {
        flex-direction: column;
        padding-left: 0;
        padding-top: 116px; /* Account for navbar (60px) + sub-navbar (~56px) */
    }
    
    .nav-lhs {
        position: static;
        width: 100%;
        height: auto;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 0;
        left: auto;
    }
    
    .nav-lhs-list {
        display: flex;
        overflow-x: auto;
        padding: 0 16px;
        gap: 8px;
    }
    
    .nav-lhs-list li {
        flex-shrink: 0;
    }
    
    .nav-lhs-link {
        padding: 8px 16px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 4px;
    }
    
    .nav-lhs-link.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
    
    .nav-lhs-link.active::before {
        display: none;
    }
    
    .labs-grid {
        gap: 16px;
    }
    
    .lab-card {
        padding: 24px;
    }
    
    .lab-hero {
        padding: 80px 16px 60px;
    }
    
    .lab-content {
        padding: 40px 16px;
    }
    
    .lab-section {
        scroll-margin-top: 20px;
    }
}

    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .labs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .labs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.lab-card {
    display: block;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(1, 118, 211, 0.12);
    border-color: var(--primary-color);
}

.lab-card:hover::before {
    transform: scaleX(1);
}

.lab-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lab-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.lab-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lab-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.lab-card:hover .lab-link {
    gap: 8px;
}

/* All Topics Section */
.all-topics-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--border-color);
}

.all-topics-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .all-topics-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .all-topics-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topic-list-item {
    display: block;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.topic-list-item:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

/* Lab Detail Page Styles */
.lab-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 16px 80px;
    margin-top: 70px;
}

.lab-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lab-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.lab-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Lab Content Wrapper for Sidebar Layout */
.lab-content-wrapper {
    display: flex;
    background-color: var(--bg-white);
    min-height: calc(100vh - 70px);
    position: relative;
    padding-left: 260px; /* Account for fixed sidebar */
    padding-top: 134px; /* Account for navbar (70px) + sub-navbar (~64px) */
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

/* Left Sidebar Navigation */
.nav-lhs {
    position: fixed;
    top: 134px; /* Main navbar (70px) + Sub-navbar (~64px) */
    left: 0;
    width: 260px;
    height: calc(100vh - 134px);
    background-color: var(--bg-light);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    z-index: 100;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.nav-lhs::-webkit-scrollbar {
    width: 6px;
}

.nav-lhs::-webkit-scrollbar-track {
    background: transparent;
}

.nav-lhs::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.nav-lhs::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

.nav-lhs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-lhs-list li {
    margin: 0;
    padding: 0;
}

.nav-lhs-link {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
    word-wrap: break-word;
}

.nav-lhs-link:hover {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.06);
    border-left-color: var(--primary-light);
}

.nav-lhs-link.active {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.1);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.nav-lhs-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

/* Dark mode support for navigation */
.dark .nav-lhs {
    background-color: var(--card-bg);
    border-right-color: var(--border-color);
}

.dark .nav-lhs-link {
    color: var(--text-secondary);
}

.dark .nav-lhs-link:hover {
    background-color: rgba(20, 0, 255, 0.12);
}

.dark .nav-lhs-link.active {
    background-color: rgba(20, 0, 255, 0.18);
}

/* Main Content Area - PortSwigger Style */
.lab-content {
    flex: 1;
    padding: 24px 48px 48px;
    max-width: 100%;
}

.lab-content .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

.lab-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 100px;
}

.lab-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.lab-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
    padding-bottom: 0;
    border-bottom: none;
}

.lab-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 32px;
    line-height: 1.4;
}

.lab-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.lab-objectives {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lab-objectives li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.lab-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.lab-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Code Block Styling */
.code-block {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre;
}

@media (max-width: 1024px) {
    .nav-lhs {
        width: 240px;
    }
    
    .lab-content-wrapper {
        padding-left: 240px;
        padding-top: 120px; /* Account for navbar (60px) + sub-navbar (~60px) */
    }
    
    .lab-content {
        padding: 60px 24px;
    }
}

@media (max-width: 767px) {
    .lab-content-wrapper {
        flex-direction: column;
        padding-left: 0;
        padding-top: 116px; /* Account for navbar (60px) + sub-navbar (~56px) */
    }
    
    .nav-lhs {
        position: static;
        width: 100%;
        height: auto;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 0;
        left: auto;
    }
    
    .nav-lhs-list {
        display: flex;
        overflow-x: auto;
        padding: 0 16px;
        gap: 8px;
    }
    
    .nav-lhs-list li {
        flex-shrink: 0;
    }
    
    .nav-lhs-link {
        padding: 8px 16px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 4px;
    }
    
    .nav-lhs-link.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
    
    .nav-lhs-link.active::before {
        display: none;
    }
    
    .labs-grid {
        gap: 16px;
    }
    
    .lab-card {
        padding: 24px;
    }
    
    .lab-hero {
        padding: 80px 16px 60px;
    }
    
    .lab-content {
        padding: 40px 16px;
    }
    
    .lab-section {
        scroll-margin-top: 20px;
    }
}

/* ============================================
   Learning Materials & Labs Section
   ============================================ */

.labs-subsection {
    margin-bottom: 64px;
}

.labs-subsection:last-of-type {
    margin-bottom: 0;
}

.labs-subsection-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.labs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .labs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .labs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.lab-card {
    display: block;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(1, 118, 211, 0.12);
    border-color: var(--primary-color);
}

.lab-card:hover::before {
    transform: scaleX(1);
}

.lab-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lab-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.lab-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lab-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.lab-card:hover .lab-link {
    gap: 8px;
}

/* All Topics Section */
.all-topics-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--border-color);
}

.all-topics-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .all-topics-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .all-topics-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topic-list-item {
    display: block;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.topic-list-item:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

/* Lab Detail Page Styles */
.lab-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 16px 80px;
    margin-top: 70px;
}

.lab-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lab-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.lab-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Lab Content Wrapper for Sidebar Layout */
.lab-content-wrapper {
    display: flex;
    background-color: var(--bg-white);
    min-height: calc(100vh - 70px);
    position: relative;
    padding-left: 260px; /* Account for fixed sidebar */
    padding-top: 134px; /* Account for navbar (70px) + sub-navbar (~64px) */
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

/* Left Sidebar Navigation */
.nav-lhs {
    position: fixed;
    top: 134px; /* Main navbar (70px) + Sub-navbar (~64px) */
    left: 0;
    width: 260px;
    height: calc(100vh - 134px);
    background-color: var(--bg-light);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    z-index: 100;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.nav-lhs::-webkit-scrollbar {
    width: 6px;
}

.nav-lhs::-webkit-scrollbar-track {
    background: transparent;
}

.nav-lhs::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.nav-lhs::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

.nav-lhs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-lhs-list li {
    margin: 0;
    padding: 0;
}

.nav-lhs-link {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
    word-wrap: break-word;
}

.nav-lhs-link:hover {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.06);
    border-left-color: var(--primary-light);
}

.nav-lhs-link.active {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.1);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.nav-lhs-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

/* Dark mode support for navigation */
.dark .nav-lhs {
    background-color: var(--card-bg);
    border-right-color: var(--border-color);
}

.dark .nav-lhs-link {
    color: var(--text-secondary);
}

.dark .nav-lhs-link:hover {
    background-color: rgba(20, 0, 255, 0.12);
}

.dark .nav-lhs-link.active {
    background-color: rgba(20, 0, 255, 0.18);
}

/* Main Content Area - PortSwigger Style */
.lab-content {
    flex: 1;
    padding: 24px 48px 48px;
    max-width: 100%;
}

.lab-content .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

.lab-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 100px;
}

.lab-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.lab-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
    padding-bottom: 0;
    border-bottom: none;
}

.lab-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 32px;
    line-height: 1.4;
}

.lab-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.lab-objectives {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lab-objectives li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.lab-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.lab-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Code Block Styling */
.code-block {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre;
}

@media (max-width: 1024px) {
    .nav-lhs {
        width: 240px;
    }
    
    .lab-content-wrapper {
        padding-left: 240px;
        padding-top: 120px; /* Account for navbar (60px) + sub-navbar (~60px) */
    }
    
    .lab-content {
        padding: 60px 24px;
    }
}

@media (max-width: 767px) {
    .lab-content-wrapper {
        flex-direction: column;
        padding-left: 0;
        padding-top: 116px; /* Account for navbar (60px) + sub-navbar (~56px) */
    }
    
    .nav-lhs {
        position: static;
        width: 100%;
        height: auto;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 0;
        left: auto;
    }
    
    .nav-lhs-list {
        display: flex;
        overflow-x: auto;
        padding: 0 16px;
        gap: 8px;
    }
    
    .nav-lhs-list li {
        flex-shrink: 0;
    }
    
    .nav-lhs-link {
        padding: 8px 16px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 4px;
    }
    
    .nav-lhs-link.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
    
    .nav-lhs-link.active::before {
        display: none;
    }
    
    .labs-grid {
        gap: 16px;
    }
    
    .lab-card {
        padding: 24px;
    }
    
    .lab-hero {
        padding: 80px 16px 60px;
    }
    
    .lab-content {
        padding: 40px 16px;
    }
    
    .lab-section {
        scroll-margin-top: 20px;
    }
}

    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .labs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .labs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.lab-card {
    display: block;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(1, 118, 211, 0.12);
    border-color: var(--primary-color);
}

.lab-card:hover::before {
    transform: scaleX(1);
}

.lab-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lab-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.lab-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lab-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.lab-card:hover .lab-link {
    gap: 8px;
}

/* All Topics Section */
.all-topics-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--border-color);
}

.all-topics-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .all-topics-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .all-topics-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topic-list-item {
    display: block;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(20, 0, 255, 0.06) 0%, rgba(56, 182, 255, 0.08) 50%, rgba(0, 255, 255, 0.06) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.topic-list-item:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

/* Lab Detail Page Styles */
.lab-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 16px 80px;
    margin-top: 70px;
}

.lab-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lab-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.lab-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Lab Content Wrapper for Sidebar Layout */
.lab-content-wrapper {
    display: flex;
    background-color: var(--bg-white);
    min-height: calc(100vh - 70px);
    position: relative;
    padding-left: 260px; /* Account for fixed sidebar */
    padding-top: 134px; /* Account for navbar (70px) + sub-navbar (~64px) */
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

/* Left Sidebar Navigation */
.nav-lhs {
    position: fixed;
    top: 134px; /* Main navbar (70px) + Sub-navbar (~64px) */
    left: 0;
    width: 260px;
    height: calc(100vh - 134px);
    background-color: var(--bg-light);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    z-index: 100;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.nav-lhs::-webkit-scrollbar {
    width: 6px;
}

.nav-lhs::-webkit-scrollbar-track {
    background: transparent;
}

.nav-lhs::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

.nav-lhs::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

.nav-lhs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-lhs-list li {
    margin: 0;
    padding: 0;
}

.nav-lhs-link {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
    word-wrap: break-word;
}

.nav-lhs-link:hover {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.06);
    border-left-color: var(--primary-light);
}

.nav-lhs-link.active {
    color: var(--primary-color);
    background-color: rgba(20, 0, 255, 0.1);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.nav-lhs-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

/* Dark mode support for navigation */
.dark .nav-lhs {
    background-color: var(--card-bg);
    border-right-color: var(--border-color);
}

.dark .nav-lhs-link {
    color: var(--text-secondary);
}

.dark .nav-lhs-link:hover {
    background-color: rgba(20, 0, 255, 0.12);
}

.dark .nav-lhs-link.active {
    background-color: rgba(20, 0, 255, 0.18);
}

/* Main Content Area - PortSwigger Style */
.lab-content {
    flex: 1;
    padding: 24px 48px 48px;
    max-width: 100%;
}

.lab-content .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Lab Breadcrumb - PortSwigger Style */
.lab-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 0; /* Removed since wrapper now has padding-top */
}

.lab-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lab-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-secondary);
}

/* Lab Page Title - PortSwigger Style */
.lab-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    padding-top: 0;
}

.lab-page-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 800px;
}

.lab-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 100px;
}

.lab-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.lab-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.3;
    padding-bottom: 0;
    border-bottom: none;
}

.lab-section h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 32px;
    line-height: 1.4;
}

.lab-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.lab-objectives {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lab-objectives li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.lab-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.lab-cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Code Block Styling */
.code-block {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre;
}

@media (max-width: 1024px) {
    .nav-lhs {
        width: 240px;
    }
    
    .lab-content-wrapper {
        padding-left: 240px;
        padding-top: 120px; /* Account for navbar (60px) + sub-navbar (~60px) */
    }
    
    .lab-content {
        padding: 60px 24px;
    }
}

@media (max-width: 767px) {
    .lab-content-wrapper {
        flex-direction: column;
        padding-left: 0;
        padding-top: 116px; /* Account for navbar (60px) + sub-navbar (~56px) */
    }
    
    .nav-lhs {
        position: static;
        width: 100%;
        height: auto;
        max-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 0;
        left: auto;
    }
    
    .nav-lhs-list {
        display: flex;
        overflow-x: auto;
        padding: 0 16px;
        gap: 8px;
    }
    
    .nav-lhs-list li {
        flex-shrink: 0;
    }
    
    .nav-lhs-link {
        padding: 8px 16px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 4px;
    }
    
    .nav-lhs-link.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
    
    .nav-lhs-link.active::before {
        display: none;
    }
    
    .labs-grid {
        gap: 16px;
    }
    
    .lab-card {
        padding: 24px;
    }
    
    .lab-hero {
        padding: 80px 16px 60px;
    }
    
    .lab-content {
        padding: 40px 16px;
    }
    
    .lab-section {
        scroll-margin-top: 20px;
    }
}

/* ========== Lab sub-pages: enhanced colors (brand palette) ========== */
.lab-content-wrapper {
    background: linear-gradient(to right, rgba(20, 0, 255, 0.02) 0%, var(--bg-white) 260px);
}
.lab-content-wrapper .nav-lhs {
    background-color: #f0f7ff;
    border-right-color: rgba(20, 0, 255, 0.18);
}
.lab-content-wrapper .nav-lhs::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    border-radius: 4px;
}
.lab-content-wrapper .lab-breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}
.lab-content-wrapper .lab-breadcrumb a:hover {
    color: var(--primary-dark);
}
.lab-content-wrapper .breadcrumb-separator {
    color: var(--primary-light);
    opacity: 0.85;
}
.lab-content-wrapper .lab-page-title {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(20, 0, 255, 0.05) 0%, transparent 120px);
    border-radius: 0 8px 8px 0;
}
.lab-content-wrapper .lab-section h2 {
    color: var(--primary-dark);
    border-bottom: 2px solid rgba(20, 0, 255, 0.25);
    padding-bottom: 10px;
}
.lab-content-wrapper .lab-section h3 {
    color: var(--primary-color);
}
.lab-content-wrapper .lab-objectives li::before {
    color: var(--primary-color);
}
.lab-content-wrapper .code-block {
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.06) 0%, var(--bg-light) 100%);
    border: 1px solid rgba(20, 0, 255, 0.2);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(20, 0, 255, 0.08);
}

/* ========== Lab typography normalization (all academy/labs/* pages) ========== */
.lab-content-wrapper {
    padding-left: 351px;
    background: linear-gradient(to right, rgba(20, 0, 255, 0.02) 0%, var(--bg-white) 351px);
}

.lab-content-wrapper .nav-lhs {
    width: 351px;
}

.lab-content-wrapper .lab-page-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.lab-content-wrapper .lab-page-intro {
    font-size: 1rem;
    line-height: 1.7;
}

.lab-content-wrapper .lab-section h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.3;
}

.lab-content-wrapper .lab-section h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.375rem);
    line-height: 1.4;
}

.lab-content-wrapper .lab-section p,
.lab-content-wrapper .lab-objectives li {
    font-size: 1rem;
    line-height: 1.7;
}

.lab-content-wrapper .nav-lhs-link {
    font-size: 0.95rem;
    line-height: 1.5;
}

.lab-content-wrapper .code-block code {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .lab-content-wrapper .lab-page-title {
        font-size: 1.75rem;
    }

    .lab-content-wrapper .lab-page-intro {
        font-size: 1rem;
    }

    .lab-content-wrapper .lab-section h2 {
        font-size: 1.35rem;
    }

    .lab-content-wrapper .lab-section h3 {
        font-size: 1.1rem;
    }

    .lab-content-wrapper .nav-lhs-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .lab-content-wrapper {
        padding-left: 324px;
        background: linear-gradient(to right, rgba(20, 0, 255, 0.02) 0%, var(--bg-white) 324px);
    }

    .lab-content-wrapper .nav-lhs {
        width: 324px;
    }
}
