/*
 * LMS Project Timeline & Scope Document
 * Custom LMS Co-Creation for Holomovement
 * IRIS Cocreative Brand
 */

:root {
    /* Core Colors */
    --black: #0e0e0e;
    --snow: #fffcfb;

    /* IRIS Cocreative Brand */
    --iris-brand: #335d75;
    --iris-teal: #3ea691;

    /* Technology Brand Colors */
    --supabase: #63c389;
    --talkjs: #b4b4b4;
    --activecampaign: #456ee1;
    --gmail: #d95646;
    --grasshopper: #c0ed61;
    --js: #f4e150;
    --whalesync: #48a0eb;
    --claude: #ce8063;
    --github: #737ec2;
    --n8n: #d95773;
    --airtable: #da434f;
    --dailyco: #ffffff;
    --mapbox: #4a63f2;
    --webflow: #336ded;

    /* Golden Ratio Spacing */
    --phi-3: 4.236em;
    --phi-01: .618em;
    --phi-02: .382em;
    --phi-2: 2.618em;
    --phi-1: 1em;
    --phi: 1.618em;
    --phi-1-382: 1.382em;
    --phi-03: .236em;
    --phi-7: 29.034em;
    --phi-05: .09em;
    --phi-6: 17.944em;
    --phi-4: 6.854em;
    --phi-5: 11.09em;
    --phi-8: 46.979em;
    --phi-1-146: 1.146em;
    --phi-04: .146em;

    /* UI Colors */
    --line-grey: #3c3c3c;
    : #aebabc;
    --gold: #f4c134;
    --dark-magenta: #954298;
    -2: #c9c1bc;
    --grey: #8b8b8b;
    --red: #ce4320;
    --border-radius: 1em;

    /* Project Status Colors */
    --planning: #f4c134;
    --in-progress: #63c389;
    --completing: #48a0eb;
    --complete: #3ea691;
    --blocked: #d95646;

    /* Dark Theme */
    --bg-dark: #0a0a0f;
    --bg-card: #0a0c17d6;
    --bg-sidebar: #0a0c179e;
    --border-subtle: rgba(255, 252, 251, 0.08);
    --text-muted: rgba(255, 252, 251, 0.6);
    --accent-glow: rgba(51, 93, 117, 0.15);
}

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

body {
    font-family: neue-kabel, sans-serif;
    background: var(--bg-dark);
    color: var(--snow);
    min-height: 100vh;
    line-height: 1.618;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.prod.website-files.com/623416ed34a419851034feaf/67f5f4b85445282e75a0cb77_soft%20B%20G.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    filter: blur(4px);
    z-index: -1;
    pointer-events: none;
}

/* Layout */
.app-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

/* Header */
.header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--phi-01) var(--phi);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--phi-01);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--snow);
}

.logo-text {
    font-size: var(--phi-1);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--iris-teal);
}

/* Progress Section */
.progress-section {
    display: flex;
    align-items: center;
    gap: var(--phi);
    flex: 1;
    max-width: 500px;
    margin: 0 var(--phi-2);
}

.progress-bar-container {
    flex: 1;
    height: 8px;
    background: var(--line-grey);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 21%;
    background: linear-gradient(90deg, var(--iris-brand), var(--iris-teal));
    border-radius: 4px;
    transition: width 0.6s ease;
    position: relative;
}

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

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

.progress-text {
    font-size: 0.875rem;
    color: var(--iris-teal);
    font-weight: 500;
    white-space: nowrap;
}

.progress-text span {
    color: var(--text-muted);
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: var(--phi-01);
    position: relative;
}

.user-name {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--iris-brand), var(--iris-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid var(--iris-teal);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(62, 166, 145, 0.4);
}

/* Profile Dropdown */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1.25em;
    border-bottom: 1px solid var(--border-subtle);
}

.profile-dropdown-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--iris-brand), var(--iris-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    border: 2px solid var(--iris-teal);
    flex-shrink: 0;
}

.profile-dropdown-info {
    flex: 1;
    min-width: 0;
}

.profile-dropdown-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--snow);
    margin-bottom: 0.25em;
}

.profile-dropdown-email {
    font-size: 0.875rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown-membership {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 1.25em;
    background: rgba(62, 166, 145, 0.08);
}

.membership-badge {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: var(--iris-teal);
    font-size: 0.875rem;
    font-weight: 600;
}

.membership-badge svg {
    color: var(--gold);
}

.membership-status {
    font-size: 0.75rem;
    padding: 0.25em 0.75em;
    background: var(--iris-teal);
    color: var(--black);
    border-radius: 1em;
    font-weight: 600;
}

.profile-dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
}

.profile-dropdown-menu {
    padding: 0.5em;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding: 0.875em 1em;
    color: var(--snow);
    text-decoration: none;
    border-radius: 0.5em;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
}

.profile-menu-item:hover {
    background: rgba(62, 166, 145, 0.1);
    color: var(--iris-teal);
}

.profile-menu-item svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.profile-menu-item:hover svg {
    color: var(--iris-teal);
}

/* Sidebar */
.sidebar {
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-subtle);
    overflow-y: visible;
    overflow-x: visible;
    padding: var(--phi-01) 0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
}

.course-title {
    padding: var(--phi-01) var(--phi-01);
    margin-bottom: var(--phi-02);
}

.course-title h2 {
    font-size: var(--phi-1);
    font-weight: 600;
    line-height: 1.3;
    color: var(--snow);
}

.course-title p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--phi-03);
}

/* Module List */
.module-list {
    list-style: none;
}

.module-item {
    border-bottom: 1px solid var(--border-subtle);
}

.module-header {
    display: flex;
    align-items: center;
    gap: var(--phi-02);
    padding: var(--phi-02) var(--phi-01);
    cursor: pointer;
    transition: background 0.2s ease;
}

.module-header:hover {
    background: rgba(255, 252, 251, 0.03);
}

.module-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-status.complete {
    background: var(--iris-teal);
}

.module-status.complete svg {
    width: 12px;
    height: 12px;
    fill: var(--black);
}

.module-status.in-progress {
    background: transparent;
    border: 2px solid var(--gold);
    position: relative;
}

.module-status.in-progress::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.module-status.locked {
    background: transparent;
    border: 2px solid var(--line-grey);
}

.module-info {
    flex: 1;
    min-width: 0;
}

.module-number {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.module-name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.module-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.module-item.expanded .module-toggle {
    transform: rotate(180deg);
}

/* Lessons List */
.lessons-list {
    list-style: none;
    background: rgba(0, 0, 0, 0.1);
    padding: var(--phi-03) 0;
    display: none;
}

.module-item.expanded .lessons-list {
    display: block;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: var(--phi-02);
    padding: var(--phi-03) var(--phi-01);
    padding-left: calc(var(--phi-01) + 28px);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.lesson-item::before {
    content: '';
    position: absolute;
    left: calc(var(--phi-01) + 9px);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line-grey);
}

.lesson-item:first-child::before {
    top: 50%;
}

.lesson-item:last-child::before {
    bottom: 50%;
}

.lesson-item:hover {
    background: rgba(255, 252, 251, 0.03);
}

.lesson-item.active {
    background: rgba(62, 166, 145, 0.1);
}

.lesson-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--iris-teal);
}

.lesson-status {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: var(--bg-sidebar);
}

.lesson-status.complete {
    background: var(--iris-teal);
}

.lesson-status.complete svg {
    width: 10px;
    height: 10px;
    fill: var(--black);
}

.lesson-status.in-progress {
    background: var(--bg-sidebar);
    border: 2px solid var(--gold);
}

.lesson-status.locked {
    background: var(--bg-sidebar);
    border: 2px solid var(--line-grey);
}

.lesson-name {
    font-size: 0.8125rem;
    color: var(--text-muted);
    flex: 1;
}

/* Content Indicator Tags */
.content-indicator {
    position: absolute;
    right: -52px;
    width: 55px;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: left;
    padding: 0.35em .45em;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.03em;
    white-space: nowrap;
    z-index: 2;
    border-left: 3px solid;
    color: #109110;
}

.content-indicator.new {
    color: #109110;
}

.content-indicator.updated {
    opacity: 0.4;
}

.lesson-item.active .lesson-name {
    color: var(--snow);
    font-weight: 500;
}

.lesson-item.complete .lesson-name {
    color: var(--silver);
}

/* Main Content */
.main-content {
    overflow-y: auto;
    padding: var(--phi);
    background: linear-gradient(180deg, #0a0a0f1a 0%, #0d0d1545 100%);
}

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

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--phi-02);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--phi);
}

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

.breadcrumb a:hover {
    color: var(--snow);
}

.breadcrumb span {
    color: var(--line-grey);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(244, 193, 52, 0.15);
    border: 1px solid var(--gold);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    margin-left: auto;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Lesson Header */
.lesson-header {
    margin-bottom: var(--phi);
}

.lesson-header h1 {
    font-size: var(--phi-2);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--phi-02);
    color: var(--snow);
}

.lesson-meta {
    display: flex;
    align-items: center;
    gap: var(--phi);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.lesson-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lesson-meta-item svg {
    width: 16px;
    height: 16px;
    fill: var(--iris-teal);
}

/* Lesson Content */
.lesson-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: var(--phi);
    margin-bottom: var(--phi);
}

.lesson-content h2 {
    font-size: var(--phi-1-382);
    font-weight: 600;
    margin-bottom: var(--phi-01);
    color: var(--snow);
}

.lesson-content h3 {
    font-size: var(--phi-1-146);
    font-weight: 600;
    margin-top: var(--phi);
    margin-bottom: var(--phi-02);
    color: var(--iris-teal);
}

.lesson-content p {
    color: var(--snow);
    margin-bottom: var(--phi-01);
    font-size: 0.9375rem;
}

.lesson-content ul {
    list-style: none;
    margin: var(--phi-01) 0;
    padding-left: var(--phi-01);
}

.lesson-content li {
    position: relative;
    padding-left: var(--phi-01);
    margin-bottom: var(--phi-02);
    color: var(--snow);
    font-size: 0.9375rem;
}

.lesson-content li::before {
    content: '→';
    position: absolute;
    left: -10px;
    color: var(--dark-magenta);
}

.lesson-content ol li::before {
    display: none;
}

/* Code Block */
.code-block {
    background: var(--black);
    border: 1px solid var(--line-grey);
    border-radius: calc(var(--border-radius) / 2);
    padding: var(--phi-01);
    margin: var(--phi-01) 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8125rem;
    color: var(--silver);
    line-height: 1.6;
}

.code-block .comment {
    color: var(--grey);
}

.code-block .keyword {
    color: var(--dark-magenta);
}

.code-block .string {
    color: var(--iris-teal);
}

.code-block .function {
    color: var(--gold);
}

/* Interactive Demo */
.interactive-demo {
    background: linear-gradient(135deg, rgba(62, 166, 145, 0.1), rgba(60, 76, 153, 0.1));
    border: 1px solid var(--iris-teal);
    border-radius: var(--border-radius);
    padding: var(--phi);
    margin: var(--phi) 0;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: var(--phi-02);
    margin-bottom: var(--phi-01);
}

.demo-icon {
    width: 40px;
    height: 40px;
    background: var(--iris-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--black);
}

.demo-title {
    font-size: var(--phi-1);
    font-weight: 600;
}

.demo-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--phi-01);
    margin-top: var(--phi-01);
}

.demo-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: calc(var(--border-radius) / 2);
    padding: var(--phi-01);
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-card:hover {
    border-color: var(--iris-teal);
    transform: translateY(-2px);
}

.demo-card-icon {
    width: 32px;
    height: 32px;
    background: var(--line-grey);
    border-radius: 8px;
    margin-bottom: var(--phi-03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-card-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--snow);
}

.demo-card h4 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.demo-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* Video Embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin: var(--phi) 0;
    background: var(--black);
    border: 1px solid var(--border-subtle);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card), var(--black));
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--iris-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--phi-01);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(62, 166, 145, 0.4);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: var(--black);
    margin-left: 4px;
}

.video-placeholder p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Lesson Navigation */
.lesson-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--phi);
    padding-top: var(--phi);
    border-top: 1px solid var(--border-subtle);
}

.nav-button {
    display: flex;
    align-items: center;
    gap: var(--phi-02);
    padding: var(--phi-02) var(--phi-01);
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: calc(var(--border-radius) / 2);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-button:hover {
    border-color: var(--iris-teal);
    color: var(--snow);
}

.nav-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.nav-button.primary {
    background: var(--iris-teal);
    border-color: var(--iris-teal);
    color: var(--black);
    font-weight: 500;
}

.nav-button.primary:hover {
    background: var(--completing);
    border-color: var(--completing);
}

.mark-complete {
    display: flex;
    align-items: center;
    gap: var(--phi-02);
}

.mark-complete button {
    padding: var(--phi-02) var(--phi);
    background: transparent;
    border: 2px solid var(--iris-teal);
    border-radius: calc(var(--border-radius) / 2);
    color: var(--iris-teal);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mark-complete button:hover {
    background: var(--iris-teal);
    color: var(--black);
}

/* Key Concepts Cards */
.key-concepts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--phi-01);
    margin: var(--phi) 0;
}

.concept-card {
    background: rgba(60, 76, 153, 0.1);
    border: 1px solid var(--dark-slate-blue);
    border-radius: calc(var(--border-radius) / 2);
    padding: var(--phi-01);
    transition: all 0.3s ease;
}

.concept-card:hover {
    border-color: var(--iris-teal);
    background: rgba(62, 166, 145, 0.1);
}

.concept-card h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.concept-card h4 span {
    font-size: 1.25rem;
}

.concept-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* Tool Integration Visual */
.tool-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--phi-02);
    padding: var(--phi);
    background: var(--black);
    border-radius: var(--border-radius);
    margin: var(--phi) 0;
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
}

.tool-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: var(--phi-02);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.tool-node:hover {
    border-color: var(--iris-teal);
    transform: translateY(-4px);
}

.tool-node img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.tool-node span {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-align: center;
}

.flow-arrow {
    color: var(--iris-teal);
    font-size: 1.5rem;
    animation: flow 1.5s ease-in-out infinite;
}

@keyframes flow {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

/* Callout Box */
.callout {
    display: flex;
    gap: var(--phi-01);
    padding: var(--phi-01);
    background: transparent;
    border-left: 4px solid rgba(244, 193, 52, 1);
    border-top: 1px solid rgba(244, 193, 52, 0.5);
    border-right: 1px solid rgba(244, 193, 52, 0.5);
    border-bottom: 1px solid rgba(244, 193, 52, 0.5);
    border-radius: 0 calc(var(--border-radius) / 2) calc(var(--border-radius) / 2) 0;
    margin: var(--phi) 0;
}

.callout-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.callout-content {
    flex: 1;
}

.callout-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
}

.callout-content p {
    font-size: 0.875rem;
    color: var(--snow);
    margin: 0;
}

/* Technology Tags */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--phi-02);
    margin: var(--phi) 0;
}

.tag-wrap {
    padding: var(--phi-03) var(--phi-01);
    gap: var(--phi-02);
    border: 1px solid var(--grey);
    border-radius: 4px;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.2s ease;
}

.tag-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tag-image {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.tag-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: 4px;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.tag-wrap:hover .tag-overlay {
    opacity: 0.05;
}

/* Interactive Task Checklist */
.task-checklist {
    list-style: none;
    padding: 0;
    margin: var(--phi) 0;
}

.task-checklist li {
    position: relative;
    padding: var(--phi-02) var(--phi-02) var(--phi-02) 2.5em;
    margin-bottom: var(--phi-03);
    border-left: 2px solid var(--line-grey);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0 4px 4px 0;
}

.task-checklist li:hover {
    background: rgba(255, 252, 251, 0.03);
    border-left-color: var(--iris-teal);
}

.task-checklist li::before {
    content: '☐';
    position: absolute;
    left: 0.5em;
    font-size: 1.2em;
    color: var(--grey);
    transition: all 0.2s ease;
}

.task-checklist li.completed {
    opacity: 0.6;
    text-decoration: line-through;
    border-left-color: var(--iris-teal);
}

.task-checklist li.completed::before {
    content: '✓';
    color: var(--iris-teal);
    font-weight: bold;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--line-grey);
    border-radius: 4px;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--snow);
    cursor: pointer;
    padding: 0.5em;
    margin-right: 1em;
    border-radius: 0.5em;
    transition: all 0.2s ease;
    position: relative;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:active {
    background: rgba(62, 166, 145, 0.2);
}

.mobile-menu-toggle:hover {
    background: rgba(62, 166, 145, 0.1);
    color: var(--iris-teal);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .app-container {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .user-name {
        display: none;
    }

    .user-avatar {
        border-radius: 50% !important;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        border-right: 1px solid var(--border-subtle);
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.5);
        background: var(--bg-sidebar);
        backdrop-filter: blur(10px);
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .sidebar-overlay {
        display: block;
        pointer-events: none;
    }

    .sidebar-overlay.active {
        pointer-events: auto;
    }

    .demo-content {
        grid-template-columns: 1fr;
    }

    .key-concepts {
        grid-template-columns: 1fr;
    }

    .progress-text span {
        display: none;
    }
}
