/* ===========================
   CSS ROADMAP 2025 - STYLES
   =========================== */

/* Root Variables */
:root {
    /* Colors */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #8b5cf6;
    --secondary-dark: #7c3aed;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --security-color: #dc2626;
    
    /* Neutrals */
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --light-bg: #f8fafc;
    --light-bg-secondary: #f1f5f9;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-color-dark: #cbd5e1;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ===========================
   BASE STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    border: 3px solid var(--light-bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===========================
   LOADING SCREEN
   =========================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

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

.loader p {
    color: white;
    font-size: 1.125rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===========================
   PROGRESS BAR
   =========================== */

.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-base);
}

/* ===========================
   HEADER
   =========================== */

.header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: var(--spacing-3xl) var(--spacing-xl);
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

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

.header-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.glitch {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: -0.025em;
    position: relative;
    text-shadow: 
        2px 2px 0 rgba(0,0,0,0.2),
        -2px -2px 0 rgba(255,255,255,0.1);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #00ffff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #ff00ff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(20% 0 60% 0); }
    40% { clip-path: inset(50% 0 20% 0); }
    60% { clip-path: inset(10% 0 80% 0); }
    80% { clip-path: inset(80% 0 5% 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(25% 0 55% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(45% 0 25% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(15% 0 75% 0); transform: translate(-2px, -2px); }
    80% { clip-path: inset(75% 0 10% 0); transform: translate(2px, 2px); }
}

.header-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.header-stats {
    display: flex;
    gap: var(--spacing-2xl);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.125rem;
    opacity: 0.9;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.header-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   NAVIGATION
   =========================== */

.nav-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-base);
}

.nav-container.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-item {
    background: none;
    border: 2px solid transparent;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    white-space: nowrap;
}

.nav-item i {
    font-size: 1rem;
}

.nav-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nav-cta {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.nav-cta:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hamburger {
    display: inline-block;
    width: 20px;
    height: 16px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 7px; }
.hamburger span:nth-child(3) { top: 14px; }

.mobile-nav-toggle.active .hamburger span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

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

.mobile-nav-toggle.active .hamburger span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: right var(--transition-base);
    overflow-y: auto;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-base);
}

.mobile-nav-close:hover {
    color: var(--danger-color);
}

.mobile-nav-items {
    padding: var(--spacing-md);
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: var(--spacing-xs);
}

.mobile-nav-item:hover {
    background: var(--light-bg-secondary);
    transform: translateX(4px);
}

.mobile-nav-item.active {
    background: var(--primary-color);
    color: white;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* ===========================
   CONTAINER & SECTIONS
   =========================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl) var(--spacing-3xl);
}

.section {
    margin-bottom: var(--spacing-3xl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.section-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===========================
   CARDS
   =========================== */

.card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--light-bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.card-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.card-content ul,
.card-content ol {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.card-content li {
    margin-bottom: var(--spacing-xs);
}

.card-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.card-content pre {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    overflow-x: auto;
    margin: var(--spacing-md) 0;
}

.card-content code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary-color);
    background: var(--light-bg);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
}

.card-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

/* ===========================
   SPECIAL CONTENT BOXES
   =========================== */

.priority-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: var(--spacing-md);
}

.priority-essential {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-important {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tip-box,
.example-box,
.warning-box,
.target-box {
    background: var(--light-bg);
    border-left: 4px solid;
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-md);
}

.tip-box {
    border-color: var(--info-color);
    background: rgba(6, 182, 212, 0.05);
}

.example-box {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.warning-box {
    border-color: var(--warning-color);
    background: rgba(245, 158, 11, 0.05);
}

.target-box {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

/* ===========================
   PROJECTS & RESOURCES BOXES
   =========================== */

.projects-box,
.resources-box {
    background: var(--light-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.projects-box h3,
.resources-box h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.project-item {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.project-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.project-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.project-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.resource-list {
    display: grid;
    gap: var(--spacing-md);
}

.resource-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.resource-link:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.resource-link i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.resource-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ===========================
   OVERVIEW SECTION
   =========================== */

.overview-hero {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-3xl) 0;
}

.stat-card {
    background: var(--card-bg);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: all var(--transition-base);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Learning Path Timeline */
.learning-path-preview {
    background: var(--card-bg);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-3xl) 0;
}

.learning-path-preview h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.path-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: var(--spacing-xl) 0;
}

.path-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.path-item {
    position: relative;
    text-align: center;
    flex: 1;
}

.path-marker {
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 auto var(--spacing-md);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.path-item:hover .path-marker {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.path-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.path-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.overview-cta {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-3xl);
}

/* ===========================
   TIMELINE SECTION
   =========================== */

.timeline-container {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow);
}

.timeline-phase {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--border-color);
}

.timeline-phase:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-phase h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.timeline-content {
    display: grid;
    gap: var(--spacing-lg);
    margin-left: var(--spacing-xl);
}

.timeline-item {
    background: var(--light-bg);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary-color);
}

.timeline-item strong {
    color: var(--text-primary);
    font-size: 1.125rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.timeline-item ul {
    list-style: none;
    padding: 0;
}

.timeline-item li {
    padding-left: var(--spacing-lg);
    position: relative;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

.timeline-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-note {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
    align-items: start;
}

.timeline-note i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.timeline-note p {
    color: var(--text-primary);
    line-height: 1.6;
}

/* ===========================
   CAREER SECTION
   =========================== */

.roadmap-reference {
    background: var(--light-bg);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.roadmap-reference i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.roadmap-reference p {
    font-size: 1.125rem;
    color: var(--text-primary);
}

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

.roadmap-reference a:hover {
    text-decoration: underline;
}

.career-filter {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.filter-btn {
    background: var(--light-bg-secondary);
    border: 2px solid transparent;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.career-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.career-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

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

.career-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.career-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.career-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.career-requirements {
    margin-bottom: var(--spacing-lg);
}

.career-requirements h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.career-requirements p {
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.requirement-percentage {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.requirement-details {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.tech-tag {
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--light-bg-secondary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-base);
}

.career-card:hover .tech-tag {
    background: var(--primary-color);
    color: white;
}

.career-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: all var(--transition-base);
}

.career-link:hover {
    transform: translateX(4px);
}

/* ===========================
   RESOURCES SECTION
   =========================== */

.resources-tabs {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--light-bg-secondary);
    border: 2px solid transparent;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

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

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.resources-content {
    display: grid;
    gap: var(--spacing-xl);
}

.resource-category {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
}

.resource-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.resource-list {
    display: grid;
    gap: var(--spacing-md);
}

.resource-item {
    display: flex;
    align-items: start;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.resource-item:hover {
    background: var(--light-bg-secondary);
    transform: translateX(4px);
}

.resource-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.resource-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.resource-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.resource-meta {
    display: flex;
    gap: var(--spacing-lg);
    font-size: 0.875rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
}

.resource-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--dark-bg);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-lg);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ===========================
   BACK TO TOP
   =========================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===========================
   UTILITIES
   =========================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.hidden { display: none !important; }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .path-timeline {
        flex-direction: column;
        gap: var(--spacing-2xl);
    }
    
    .path-timeline::before {
        display: none;
    }
    
    .timeline-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    .header-stats {
        gap: var(--spacing-lg);
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md) var(--spacing-2xl);
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .career-filter {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .resources-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
}

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

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

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

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

/* ===========================
   PRINT STYLES FOR PDF
   =========================== */

@media print {
    /* Reset page margins */
    @page {
        size: A4;
        margin: 20mm;
    }
    
    /* Hide unnecessary elements */
    .loading-screen,
    .progress-bar-container,
    .nav-container,
    .mobile-overlay,
    .mobile-nav-menu,
    .back-to-top,
    .header-actions,
    .overview-cta,
    .career-filter,
    .resources-tabs,
    .footer,
    .header-particles
    .notification,
    .notification-success,
    .notification-error,
    .notification-warning,
    .notification-info {
        display: none !important;
    }
    
    /* General resets */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        font-size: 11pt;
        line-height: 1.5;
        color: #000 !important;
        background: white !important;
    }
    
    /* Header adjustments */
    .header {
        min-height: auto;
        padding: 20px 0;
        background: white !important;
        color: #000 !important;
        page-break-after: always;
    }
    
    .glitch {
        animation: none !important;
        color: #000 !important;
        font-size: 28pt !important;
    }
    
    .glitch::before,
    .glitch::after {
        display: none;
    }
    
    .header-subtitle {
        color: #333 !important;
        font-size: 14pt;
    }
    
    .header-stats {
        margin: 20px 0;
        justify-content: space-around;
    }
    
    .stat-item {
        color: #000 !important;
    }
    
    .stat-item i {
        color: #3b82f6 !important;
    }
    
    /* Section styles */
    .section {
        page-break-inside: avoid;
        margin-bottom: 30px;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-number {
        background: #3b82f6 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    .section-title {
        font-size: 20pt;
        color: #000;
    }
    
    .section-subtitle {
        font-size: 12pt;
        color: #555;
    }
    
    /* Cards */
    .card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .card::before {
        display: none;
    }
    
    .card-icon {
        background: #f0f0f0 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    .cards-grid {
        display: block;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    /* Content boxes */
    .tip-box,
    .example-box,
    .warning-box,
    .target-box {
        border: 1px solid #ddd;
        padding: 10px;
        margin: 10px 0;
        background: #f9f9f9 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    /* Projects and resources */
    .projects-box,
    .resources-box {
        background: #f5f5f5 !important;
        border: 1px solid #ddd;
        padding: 15px;
        margin-top: 20px;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    .project-item,
    .resource-link {
        background: white !important;
        border: 1px solid #e0e0e0;
        padding: 10px;
        margin-bottom: 10px;
    }
    
    /* Links */
    a {
        color: #3b82f6 !important;
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
    
    /* Timeline */
    .timeline-container {
        background: white !important;
        border: 1px solid #ddd;
    }
    
    .timeline-phase {
        page-break-inside: avoid;
    }
    
    .timeline-item {
        background: #f9f9f9 !important;
        border: 1px solid #ddd;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    /* Career cards */
    .careers-grid {
        display: block;
    }
    
    .career-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    .career-icon {
        color: #3b82f6 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .tech-tag {
        border: 1px solid #ddd;
        background: #f0f0f0 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    /* Resources */
    .resource-item {
        page-break-inside: avoid;
        background: white !important;
        border: 1px solid #ddd;
        margin-bottom: 10px;
    }
    
    .resource-icon {
        background: #3b82f6 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    /* Path timeline */
    .path-timeline {
        display: block;
    }
    
    .path-timeline::before {
        display: none;
    }
    
    .path-item {
        margin-bottom: 15px;
        text-align: left;
    }
    
    .path-marker {
        display: inline-block;
        width: 40px;
        height: 40px;
        margin-right: 10px;
        vertical-align: middle;
    }
    
    /* Quick stats */
    .quick-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .stat-card {
        border: 1px solid #ddd;
        margin: 10px;
        flex: 0 0 45%;
    }
    
    .stat-icon {
        background: #3b82f6 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    /* Learning path preview */
    .learning-path-preview {
        background: white !important;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    /* Priority labels */
    .priority-essential,
    .priority-important {
        border: 1px solid #666;
        background: #f0f0f0 !important;
        color: #000 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    /* Ensure all content is visible */
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Page breaks */
    #overview,
    #beginners,
    #timeline,
    #programming,
    #oop,
    #ood,
    #ds-algo,
    #patterns,
    #software-engineering,
    #databases,
    #architecture,
    #os,
    #networking,
    #security,
    #careers,
    #resources {
        page-break-before: always;
    }
    
    #overview {
        page-break-before: auto;
    }
}