:root {
    --primary-color: #2563eb;
    --secondary-color: #f97316;
    --neutral-color: #64748b;
    --neutral-light: #e2e8f0;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Light Theme */
[data-theme="light"] {
    --background: #ffffff;
    --background-secondary: #f8fafc;
    --background-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --card-background: #ffffff;
    --nav-background: rgba(255, 255, 255, 0.95);
    --hero-gradient-start: #667eea;
    --hero-gradient-end: #764ba2;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --overlay-bg: rgba(0, 0, 0, 0.1);
    --btn-primary-bg: #2563eb;
    --btn-primary-text: #ffffff;
}

/* Dark Theme (default) */
:root,
[data-theme="dark"] {
    --background: #0f172a;
    --background-secondary: #1e293b;
    --background-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-color: #334155;
    --card-background: #1e293b;
    --nav-background: rgba(15, 23, 42, 0.95);
    --hero-gradient-start: #1e293b;
    --hero-gradient-end: #334155;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --overlay-bg: rgba(255, 255, 255, 0.1);
    --btn-primary-bg: #3b82f6;
    --btn-primary-text: #ffffff;
}

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

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: var(--nav-background);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--btn-primary-bg);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

.btn-secondary:hover {
    background: #ea580c;
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    background: white;
    border: 1px solid var(--neutral-light);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.skills-preview {
    padding: 5rem 0;
    background: #f8fafc;
}

.skills-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

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

.skill-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.skill-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.skill-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.difficulty {
    background: var(--neutral-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: var(--text-secondary);
}

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

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials {
    padding: 5rem 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer {
    background: var(--background-secondary);
    color: var(--text-primary);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.page-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.skills-catalog {
    padding: 5rem 0;
}

.skill-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.skill-icon-large {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.skill-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-description {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.skill-meta-large {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 2rem 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.meta-value {
    font-size: 1.25rem;
    font-weight: 600;
}

.skill-overview {
    padding: 5rem 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.curriculum-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.curriculum-link h2 {
    color: white;
    margin-bottom: 1rem;
}

.curriculum-link p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.curriculum-link .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.curriculum-link .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.overview-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.outcomes-list,
.prerequisites-list {
    list-style: none;
}

.outcomes-list li,
.prerequisites-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.outcomes-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.prerequisites-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.learning-pathway {
    padding: 5rem 0;
    background: #f8fafc;
}

.learning-pathway h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.pathway-steps {
    max-width: 800px;
    margin: 0 auto;
}

.pathway-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-light);
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.skill-stats {
    padding: 5rem 0;
}

.skill-stats h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.enroll-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.enroll-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.enroll-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.enroll-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.error-page {
    padding: 5rem 0;
    text-align: center;
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-page p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.enrollment-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.enrollment-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.enrollment-form h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.enrollment-form > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.enroll-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--neutral-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.enrollment-confirmation {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: confirmationPulse 1s ease-out;
}

@keyframes confirmationPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.enrollment-confirmation h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.enrollment-confirmation p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.confirmation-details {
    text-align: left;
    background: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.confirmation-details p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.confirmation-details ul {
    list-style: none;
    padding: 0;
}

.confirmation-details li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.confirmation-details li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.form-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid #dc2626;
}

.form-success {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid #10b981;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

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

    .skill-meta-large {
        flex-direction: column;
        gap: 1rem;
    }

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

    .page-header h1,
    .skill-hero h1 {
        font-size: 2rem;
    }
}

.curriculum-catalog {
    padding: 5rem 0;
}

.curriculum-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.curriculum-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.curriculum-title h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.curriculum-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.curriculum-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.curriculum-sidebar {
    background: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.curriculum-progress h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--neutral-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.curriculum-toc h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-light);
    cursor: pointer;
    transition: var(--transition);
}

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

.module-item.active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.module-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.module-info {
    flex-grow: 1;
}

.module-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

.module-status .status-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.module-item.completed .status-icon {
    color: #10b981;
}

.curriculum-main {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.path-tree-container h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.path-tree {
    position: relative;
    padding: 2rem 0;
}

.tree-module {
    margin-bottom: 3rem;
    position: relative;
}

.tree-node {
    background: white;
    border: 2px solid var(--neutral-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.tree-node.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tree-node.locked {
    opacity: 0.6;
    background: #f1f5f9;
}

.tree-node.completed {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.module-node {
    padding: 2rem;
    margin-bottom: 1rem;
}

.lesson-node {
    padding: 1.5rem;
    margin: 1rem 0;
    margin-left: 3rem;
    width: calc(100% - 3rem);
}

.node-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.node-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.lesson-node .node-icon {
    font-size: 1.5rem;
}

.node-info {
    flex-grow: 1;
}

.node-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.node-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.node-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.node-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.node-meta span {
    background: var(--neutral-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.tree-lessons {
    position: relative;
}

.tree-connection {
    width: 2px;
    height: 30px;
    background: var(--neutral-light);
    margin: 0 auto;
    position: relative;
}

.tree-connection::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 32px;
    height: 2px;
    background: var(--neutral-light);
}

.module-connection {
    width: 3px;
    height: 40px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.curriculum-actions {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: var(--border-radius);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 1024px) {
    .curriculum-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .curriculum-sidebar {
        position: static;
        order: 2;
    }

    .curriculum-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .curriculum-title h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .lesson-node {
        margin-left: 1rem;
        width: calc(100% - 1rem);
    }

    .node-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .curriculum-actions {
        flex-direction: column;
    }

    .curriculum-main {
        padding: 1.5rem;
    }
}

/* Enhanced Curriculum Styles */
.curriculum-hero-enhanced {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.curriculum-hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 1rem;
}

.curriculum-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.curriculum-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

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

.highlight-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.highlight-item small {
    opacity: 0.8;
    font-size: 0.875rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 3rem 0;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 50px;
}

.trust-indicators {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-rating {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.completion-rate, .guarantee {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #10b981;
}

/* Benefits Section */
.curriculum-benefits {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.benefit-features {
    list-style: none;
}

.benefit-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.benefit-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.benefit-card.featured .benefit-features li::before {
    color: rgba(255, 255, 255, 0.9);
}

.project-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-badge {
    background: var(--neutral-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mentor-stats {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Enhanced Progress Tracking */
.sidebar-sticky {
    position: sticky;
    top: 120px;
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.progress-circle {
    position: relative;
    margin-bottom: 1rem;
}

.progress-ring {
    transition: stroke-dashoffset 0.5s ease;
    transform: rotate(-90deg);
    transform-origin: 40px 40px;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.progress-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-light);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.sidebar-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ea580c 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 2rem;
}

.cta-content h4 {
    margin-bottom: 0.5rem;
}

.pricing {
    margin: 1rem 0;
}

.price-old {
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 0.5rem;
}

.price-new {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Enhanced Module Cards */
.module-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Enhanced Tree Nodes */
.node-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.difficulty-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-badge.beginner {
    background: #dcfce7;
    color: #166534;
}

.difficulty-badge.intermediate {
    background: #fef3c7;
    color: #92400e;
}

.difficulty-badge.advanced {
    background: #fee2e2;
    color: #991b1b;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 1rem;
}

.lesson-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.lesson-type {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.lesson-type.theory {
    background: #ede9fe;
    color: #6b21a8;
}

.lesson-type.practice {
    background: #dcfce7;
    color: #166534;
}

.lesson-type.project {
    background: #fef3c7;
    color: #92400e;
}

.lesson-type.community {
    background: #dbeafe;
    color: #1e40af;
}

.lesson-duration {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.project-indicator {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.625rem;
    font-weight: 600;
}

.lesson-preview {
    display: flex;
    align-items: center;
}

.preview-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.preview-btn:hover {
    background: #1d4ed8;
}

/* Testimonials Section */
.curriculum-testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 4rem;
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-left: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    opacity: 0.8;
    font-size: 0.875rem;
}

.achievement {
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

/* Enhanced Enrollment Section */
.enrollment-content-enhanced {
    background: white;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.enrollment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.enrollment-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.enrollment-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.enrollment-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.enrollment-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-light);
}

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

.check-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.enrollment-form-enhanced .enrollment-form {
    background: #f8fafc;
    border: 2px solid var(--primary-color);
}

.enrollment-guarantee {
    background: #f0fdf4;
    border: 2px solid #10b981;
    border-radius: var(--border-radius);
    padding: 2rem;
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.guarantee-icon {
    font-size: 3rem;
    color: #10b981;
}

.guarantee-text h4 {
    color: #166534;
    margin-bottom: 0.5rem;
}

.guarantee-text p {
    color: #15803d;
}

/* Enhanced Catalog */
.curriculum-catalog-enhanced {
    padding: 5rem 0;
}

.catalog-filters {
    text-align: center;
    margin-bottom: 4rem;
}

.catalog-filters h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--neutral-light);
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.skills-grid.enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.skill-card.enhanced {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.skill-card.enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
}

.card-content {
    padding: 0 2rem 2rem;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.skill-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-icon {
    font-size: 1rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-badge {
    background: var(--neutral-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.card-actions {
    padding: 2rem;
    border-top: 1px solid var(--neutral-light);
    display: flex;
    gap: 1rem;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.header-stats .stat-item {
    text-align: center;
}

.header-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
}

.header-stats .stat-label {
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Enhanced Footer */
.footer-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer {
    background: var(--background-secondary);
    color: var(--text-primary);
    padding: 4rem 0 1rem;
}

.footer-brand h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.brand-icon {
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.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;
    transition: var(--transition);
}

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

.social-icon {
    font-size: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0 2rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    color: var(--primary-color);
}

.trust-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
}

.cert-badge {
    background: var(--overlay-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Enhanced Navigation */
.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .curriculum-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .enrollment-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card.featured {
        grid-column: span 1;
    }

    .guarantee-content {
        flex-direction: column;
        text-align: center;
    }

    .header-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-xl {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .curriculum-hero-enhanced {
        padding: 4rem 0;
    }

    .curriculum-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .enrollment-content-enhanced {
        padding: 2rem;
    }

    .enrollment-header h2 {
        font-size: 2rem;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .skills-grid.enhanced {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: column;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }
}

/* Theme Toggle Styles */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.theme-toggle:hover {
    background: var(--background-secondary);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.theme-icon {
    position: absolute;
    font-size: 1.25rem;
    transition: var(--transition);
}

.theme-icon.light-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon.dark-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-icon.light-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-icon.dark-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Dark theme button enhancements */
[data-theme="dark"] .btn-primary {
    border: 1px solid rgba(59, 130, 246, 0.5);
}

[data-theme="dark"] .btn-primary:hover {
    border: 1px solid rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Update existing components to use CSS variables */
.hero {
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
}

.curriculum-hero-enhanced {
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
}

.features {
    background: var(--background-secondary);
}

.curriculum-benefits {
    background: var(--background-secondary);
}

.skills-preview {
    background: var(--background-secondary);
}

.curriculum-catalog-enhanced {
    background: var(--background);
}

.feature-card, .skill-card, .testimonial-card, .benefit-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.feature-card:hover, .skill-card:hover, .benefit-card:hover {
    box-shadow: var(--box-shadow-lg);
}

.curriculum-sidebar {
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
}

.curriculum-main {
    background: var(--card-background);
    box-shadow: var(--box-shadow);
}

.module-item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
}

.tree-node {
    background: var(--card-background);
    border: 2px solid var(--border-color);
}

.enrollment-form {
    background: var(--card-background);
    border: 1px solid var(--border-color);
}

.enrollment-content-enhanced {
    background: var(--card-background);
}

.stat-item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ea580c 100%);
}

.footer-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.footer {
    background: var(--background-tertiary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: var(--background);
}

.newsletter-form input {
    background: var(--card-background);
    color: var(--text-primary);
}

/* Dark theme specific adjustments */
[data-theme="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .highlight-icon {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .author-avatar {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .social-links a {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cert-badge {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .achievement {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Navigation */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

@media (max-width: 768px) {
    .nav-mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--nav-background);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

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

    .nav-menu a {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .theme-toggle {
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .theme-icon {
        font-size: 1.25rem;
    }
}