/* ===== CSS Variables ===== */
:root {
    --primary-color: #4DB33D;
    --primary-dark: #3B8C2A;
    --primary-light: #6FCF54;
    --secondary-color: #FF6B6B;
    --accent-color: #4ECDC4;
    --warning-color: #FFE66D;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #E9ECEF;
    --bg-sidebar: #1A1D23;
    
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --text-light: #FFFFFF;
    
    --border-color: #DEE2E6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    --sidebar-width: 280px;
    --header-height: 70px;
    
    --transition-speed: 0.3s;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #1E1E1E;
    --bg-secondary: #2D2D2D;
    --bg-tertiary: #3D3D3D;
    --bg-sidebar: #0D1117;
    
    --text-primary: #E4E4E4;
    --text-secondary: #A0A0A0;
    
    --border-color: #404040;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.5);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Sidebar Navigation ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    padding: 20px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform var(--transition-speed);
}

/* Progress Section */
.progress-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.progress-stats .completed {
    color: var(--primary-light);
    font-weight: 600;
}

/* Current Streak */
.streak-section {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.streak-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.streak-number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.streak-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Badges Section */
.badges-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.badges-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.badge-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(77, 179, 61, 0.2);
    border: 2px solid rgba(77, 179, 61, 0.3);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.badge-item.earned {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(77, 179, 61, 0.4);
}

.badge-item.locked {
    opacity: 0.3;
    cursor: not-allowed;
}

.badge-item:hover:not(.locked) {
    transform: scale(1.1);
}

/* Learning Path Section */
.learning-path-section {
    margin-bottom: 20px;
}

.learning-path-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    padding-left: 10px;
}

.path-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.path-section:hover {
    background: rgba(255, 255, 255, 0.08);
}

.path-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    cursor: pointer;
    user-select: none;
}

.path-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.path-section-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.path-section-info {
    flex: 1;
}

.path-section-name {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.path-section-progress {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.path-section-toggle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    transition: transform 0.3s;
}

.path-section.expanded .path-section-toggle {
    transform: rotate(180deg);
}

.path-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.path-section.expanded .path-section-content {
    max-height: 500px;
}

.path-section-links {
    list-style: none;
    padding: 0 15px 15px 15px;
}

.path-section-links li {
    margin-bottom: 2px;
}

.path-section-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.3s;
}

.path-section-links a::before {
    content: '○';
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.path-section-links a.completed::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: bold;
}

.path-section-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transform: translateX(5px);
}

.path-section-links a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.path-section-links a.active::before {
    content: '▶';
    color: white;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

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

.logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo h2 {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-subtitle {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 25px;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    transition: all var(--transition-speed);
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(77, 179, 61, 0.2);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

/* Navigation Links - Hidden when using learning path */
.nav-links.simple-nav {
    list-style: none;
}

.nav-category {
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 10px 0;
    padding-left: 10px;
}

.nav-links li a {
    display: block;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform var(--transition-speed);
}

.nav-links li a:hover {
    background: rgba(77, 179, 61, 0.15);
    color: var(--text-light);
    transform: translateX(5px);
}

.nav-links li a:hover::before {
    transform: scaleY(1);
}

.nav-links li a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(77, 179, 61, 0.3);
}

/* Theme Toggle */
.theme-toggle {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

#theme-toggle-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-speed);
}

#theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 18px;
}

/* ===== Main Content Area ===== */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px 50px;
    min-height: 100vh;
    max-width: 1400px;
    transition: margin-left var(--transition-speed);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

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

.breadcrumb .separator {
    color: var(--text-secondary);
}

.breadcrumb span:last-child {
    color: var(--text-secondary);
}

/* ===== Hero Section ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px 0;
    margin-bottom: 80px;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(77, 179, 61, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(77, 179, 61, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* ===== Section Styles ===== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
}

/* ===== Learning Path ===== */
.learning-path {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-bottom: 80px;
    padding: 60px 40px;
}

.path-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.path-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--transition-speed);
}

.path-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.path-card.beginner { border-top-color: #6FCF54; }
.path-card.intermediate { border-top-color: #4DB33D; }
.path-card.advanced { border-top-color: #3B8C2A; }
.path-card.expert { border-top-color: #FFD700; }

.path-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.path-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.path-topics {
    list-style: none;
    margin-bottom: 20px;
}

.path-topics li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.path-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.path-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--transition-speed);
}

.path-link:hover {
    gap: 10px;
}

/* ===== Features Grid ===== */
.features {
    padding: 60px 0;
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Quick Start Timeline ===== */
.quick-start {
    padding: 60px 0;
    margin-bottom: 80px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px var(--primary-light);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.timeline-content a:hover {
    text-decoration: underline;
}

/* ===== Topics Overview ===== */
.topics-overview {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 60px 40px;
    margin-bottom: 80px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.topic-card {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-speed);
}

.topic-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.topic-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.topic-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-sidebar);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-light);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    line-height: 1.7;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-speed);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .main-content {
        padding: 30px 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 280px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 80px 20px 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .path-container,
    .features-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        left: -28px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* ===== Accessibility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color;
    transition-duration: var(--transition-speed);
    transition-timing-function: ease;
}
/* ===== Interview Questions ===== */
.interview-question {
    background: var(--bg-secondary);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.question-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    user-select: none;
}

.question-number {
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.question-text {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
}

.toggle-icon {
    color: var(--secondary-color);
    font-size: 20px;
}

.question-answer {
    padding: 0 20px 20px 20px;
    display: none;
    line-height: 1.8;
}

/* ===== Info Cards ===== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    font-weight: 700;
}

.info-card p {
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

/* ===== Feature Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-item {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ===== Page Navigation ===== */
.page-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 60px 0 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.nav-button {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-button:hover {
    border: 2px solid var(--primary-color);
    transform: translateY(-3px);
}

.nav-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.nav-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.nav-title {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 700;
}
/* Code Blocks and Syntax Highlighting */
.code-wrapper {
    position: relative;
    margin: 25px 0;
}

pre {
    background: var(--bg-sidebar);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #E4E4E4;
}

pre code {
    display: block;
    color: #E4E4E4;
}

.inline-code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Copy button is now styled inline in the HTML file */

/* Note Boxes */
.note-box {
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

.note-box-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.note-box-content {
    line-height: 1.7;
    color: var(--text-secondary);
}

.note-box.info {
    border-left-color: #3498DB;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0.1));
}

.note-box.info .note-box-title {
    color: #3498DB;
}

.note-box.tip {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(77, 179, 61, 0.05), rgba(77, 179, 61, 0.1));
}

.note-box.tip .note-box-title {
    color: var(--primary-color);
}

.note-box.warning {
    border-left-color: #F39C12;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05), rgba(243, 156, 18, 0.1));
}

.note-box.warning .note-box-title {
    color: #F39C12;
}

.note-box.danger {
    border-left-color: #E74C3C;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.1));
}

.note-box.danger .note-box-title {
    color: #E74C3C;
}

.note-box.success {
    border-left-color: #2ECC71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.1));
}

.note-box.success .note-box-title {
    color: #2ECC71;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.content-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: var(--primary-color);
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content-section ul,
.content-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Comparison Tables - These are styled inline in HTML now */

/* Tabs - These are styled inline in HTML now */

/* Diagram Container */
.diagram-container {
    margin: 40px 0;
    text-align: center;
}

.diagram-container svg {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background: var(--bg-primary);
    padding: 20px;
}

.diagram-caption {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Command Blocks */
.command-block {
    background: var(--bg-sidebar);
    color: #4DB33D;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Monaco', monospace;
    font-size: 14px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.command-block::before {
    content: '$';
    margin-right: 10px;
    color: var(--primary-light);
    font-weight: bold;
}

/* Example Boxes - These are styled inline in HTML now */

/* Quiz Styles */
.quiz-container {
    margin: 40px 0;
}

.quiz-question {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

.quiz-question h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.quiz-option label {
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 15px;
}

.feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.quiz-result {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
    display: none;
    border: 2px solid var(--primary-color);
}

.quiz-result h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.quiz-submit {
    margin-top: 20px;
}

/* Expandable Sections */
.expandable-section {
    margin: 25px 0;
}

.expand-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
}

.expand-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.expandable-content.expanded {
    max-height: 5000px;
    margin-top: 20px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(77, 179, 61, 0.1), rgba(77, 179, 61, 0.2));
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Definition List */
.definition-list {
    margin: 30px 0;
}

.definition-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.definition-item:last-child {
    border-bottom: none;
}

.definition-term {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.definition-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Progress Bar */
.progress-container {
    margin: 30px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-bar-wrapper {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 5px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar::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%); }
}

/* Interview Question Box - This is styled inline in HTML now */

/* Image Placeholders */
.image-placeholder {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    margin: 30px 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* Navigation Buttons - These are styled inline in HTML now */

/* Table of Contents - This is styled inline in HTML now */

/* Search Highlight */
.search-highlight {
    background: yellow;
    color: black;
    padding: 2px 4px;
    border-radius: 3px;
}

[data-theme="dark"] .search-highlight {
    background: #FFD700;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Key-Value Display - This is styled inline in HTML now */

/* Print Styles */
@media print {
    .sidebar,
    .mobile-menu-toggle,
    .breadcrumb,
    .copy-btn,
    .back-to-top,
    .page-navigation,
    .theme-toggle {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    body {
        background: white;
        color: black;
    }
    
    pre {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* Accessibility Improvements */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid var(--bg-tertiary);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    border-bottom: 1px dotted var(--text-secondary);
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--bg-sidebar);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Additional CSS Variables for Content Styles */
:root {
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --bg-sidebar: #1E293B;
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --primary-color: #00ED64;
    --primary-dark: #00684A;
    --primary-light: #6FCF54;
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --border-color: #334155;
}
