/* WORKSHOP.CSS CONTINUED */

/* ===================================
   AI OPTIONS
   =================================== */

.important-perspective {
    display: flex;
    align-items: start;
    gap: 1rem;
    background: rgba(99, 102, 241, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.important-perspective i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.15rem;
}

.ai-option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.ai-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.ai-card-header {
    background: rgba(99, 102, 241, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-card-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.ai-card-header h5 {
    font-size: 1.2rem;
    margin: 0;
}

.ai-card-body {
    padding: 1.5rem;
}

.ai-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.ai-badge.integrated {
    background: rgba(99, 102, 241, 0.2);
    color: #a78bfa;
}

.ai-badge.web {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.ai-badge.paid {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}

.ai-badge.free {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.ai-badge.freemium {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.ai-description {
    margin: 1rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ai-pros {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.ai-recommendation {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.ai-recommendation i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* ===================================
   NEXT STEP BOX
   =================================== */

.next-step-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.next-step-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.next-step-box p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-copy {
    margin-top: 1rem;
}

/* ===================================
   PHASE SECTIONS
   =================================== */

.phase-section {
    position: relative;
}

.phase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.phase-section.phase-1::before { background: var(--phase-1-color); }
.phase-section.phase-2::before { background: var(--phase-2-color); }
.phase-section.phase-3::before { background: var(--phase-3-color); }
.phase-section.phase-4::before { background: var(--phase-4-color); }
.phase-section.phase-5::before { background: var(--phase-5-color); }
.phase-section.phase-6::before { background: var(--phase-6-color); }

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

.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.phase-1 .phase-badge { 
    background: rgba(99, 102, 241, 0.2); 
    color: var(--phase-1-color); 
    border: 1px solid var(--phase-1-color);
}
.phase-2 .phase-badge { 
    background: rgba(139, 92, 246, 0.2); 
    color: var(--phase-2-color); 
    border: 1px solid var(--phase-2-color);
}
.phase-3 .phase-badge { 
    background: rgba(236, 72, 153, 0.2); 
    color: var(--phase-3-color); 
    border: 1px solid var(--phase-3-color);
}
.phase-4 .phase-badge { 
    background: rgba(245, 158, 11, 0.2); 
    color: var(--phase-4-color); 
    border: 1px solid var(--phase-4-color);
}
.phase-5 .phase-badge { 
    background: rgba(16, 185, 129, 0.2); 
    color: var(--phase-5-color); 
    border: 1px solid var(--phase-5-color);
}
.phase-6 .phase-badge { 
    background: rgba(59, 130, 246, 0.2); 
    color: var(--phase-6-color); 
    border: 1px solid var(--phase-6-color);
}

.phase-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.time-estimate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.95rem;
}

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

.module-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.module-header {
    background: rgba(99, 102, 241, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.module-header h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.module-content {
    padding: 2rem;
}

.module-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   FORM INPUTS
   =================================== */

.vision-input,
.exercise-input,
.change-input {
    width: 100%;
    padding: 0.875rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.vision-input:focus,
.exercise-input:focus,
.change-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

/* ===================================
   BRAINSTORMING SECTION
   =================================== */

.prompt-questions {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.prompt-question {
    display: flex;
    gap: 1.5rem;
}

.question-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--phase-1-color), var(--phase-2-color));
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.5rem;
}

.question-content {
    flex: 1;
}

.question-content h5 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.question-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.save-vision-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.save-status {
    font-size: 0.9rem;
    color: var(--success-color);
}

/* ===================================
   APPROACH TABS
   =================================== */

.approach-tabs {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.approach-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.approach-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.approach-content {
    display: none;
    padding: 2rem 0;
}

.approach-content.active {
    display: block;
}

/* ===================================
   SKETCH/WIREFRAME
   =================================== */

.sketch-example {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.sketch-tips ul {
    list-style: none;
    padding-left: 0;
}

.sketch-tips li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.sketch-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.example-wireframe {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.wireframe-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.wireframe-box.photo-grid {
    min-height: 80px;
}

/* ===================================
   SECTIONS CHECKLIST
   =================================== */

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.section-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.section-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.section-checkbox input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.section-checkbox input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '✓';
    color: white;
    font-weight: bold;
}

.section-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.section-name i {
    color: var(--primary-color);
}

/* ===================================
   EXERCISE BOXES
   =================================== */

.exercise-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border: 2px solid var(--success-color);
    border-radius: 16px;
    margin: 2rem 0;
    overflow: hidden;
}

.exercise-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.exercise-header i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.exercise-header h4 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--success-color);
}

.exercise-content {
    padding: 2rem;
}

.exercise-steps {
    list-style: none;
    counter-reset: exercise-counter;
    padding-left: 0;
    margin: 1.5rem 0;
}

.exercise-steps li {
    counter-increment: exercise-counter;
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
}

.exercise-steps li::before {
    content: counter(exercise-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
}

.example-description {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.example-description h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.example-text {
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.success-criteria {
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.completion-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    margin-top: 1.5rem;
    cursor: pointer;
    font-weight: 500;
}

/* ===================================
   ACCORDION (Troubleshooting)
   =================================== */

.accordion {
    margin: 1.5rem 0;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(90deg);
}

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

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

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

.phase-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 1024px) {
    .workshop-sidebar {
        transform: translateX(-100%);
    }

    .workshop-sidebar.active {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .workshop-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .workshop-main-title {
        font-size: 2rem;
    }

    .workshop-lead {
        font-size: 1.1rem;
    }

    .welcome-message,
    .reassurance-box,
    .time-commitment,
    .key-message-box {
        flex-direction: column;
        gap: 1rem;
    }

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

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

    .sketch-example {
        grid-template-columns: 1fr;
    }

    .architect-builder {
        flex-direction: column;
    }

    .architect-builder .arrow {
        transform: rotate(90deg);
    }

    .phase-navigation {
        flex-direction: column;
    }

    .ai-option-cards {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   DARK THEME ADJUSTMENTS
   =================================== */

[data-theme="dark"] {
    --text-color: #e5e7eb;
    --bg-color: #0f172a;
}

[data-theme="light"] {
    --text-color: #1f2937;
    --bg-color: #ffffff;
}

/* Light Mode Overrides */
[data-theme="light"] body {
    background: #f9fafb;
    color: #1f2937;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-link {
    color: #374151;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #6366f1;
}

[data-theme="light"] .workshop-sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-right-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .sidebar-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .sidebar-link {
    color: #4b5563;
}

[data-theme="light"] .sidebar-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

[data-theme="light"] .sidebar-link .link-number {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .progress-bar-container {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .workshop-main-title,
[data-theme="light"] .workshop-lead,
[data-theme="light"] .section-main-title,
[data-theme="light"] .phase-title,
[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4 {
    color: #111827;
}

[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] .module-intro {
    color: #374151;
}

[data-theme="light"] .prereq-card,
[data-theme="light"] .module-card,
[data-theme="light"] .tech-card,
[data-theme="light"] .possibility-card,
[data-theme="light"] .example-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .welcome-message,
[data-theme="light"] .reassurance-box,
[data-theme="light"] .time-commitment,
[data-theme="light"] .key-message-box {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .big-picture,
[data-theme="light"] .next-step-box {
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="light"] .exercise-box {
    background: rgba(16, 185, 129, 0.05);
    border-color: #10b981;
}

[data-theme="light"] .vision-input,
[data-theme="light"] .exercise-input,
[data-theme="light"] .change-input {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
    color: #1f2937;
}

[data-theme="light"] .vision-input::placeholder,
[data-theme="light"] .exercise-input::placeholder,
[data-theme="light"] .change-input::placeholder {
    color: #9ca3af;
}

[data-theme="light"] .code-example pre {
    background: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .code-example code {
    color: #6366f1;
}

[data-theme="light"] .wireframe-box {
    color: #4b5563;
}

[data-theme="light"] .accordion-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .accordion-header {
    color: #1f2937;
}

[data-theme="light"] .step-card,
[data-theme="light"] .step-item {
    background: #f9fafb;
    border-left-color: #6366f1;
}

[data-theme="light"] .example-wireframe {
    background: #f9fafb;
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-secondary {
    background: #ffffff;
    color: #374151;
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
    background: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .tech-header {
    background: rgba(99, 102, 241, 0.05);
}

[data-theme="light"] .module-header {
    background: rgba(99, 102, 241, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .analogy-box {
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="light"] .code-breakdown {
    background: #f9fafb;
}

[data-theme="light"] .important-perspective {
    background: rgba(99, 102, 241, 0.05);
}

[data-theme="light"] .ai-card {
    background: #ffffff;
}

[data-theme="light"] .ai-card-header {
    background: rgba(99, 102, 241, 0.05);
}

[data-theme="light"] .phase-navigation {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* ===================================
   NEW PHASE COMPONENTS (6-Phase Workshop)
   =================================== */

/* Phase Subtitle */
.phase-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme="light"] .phase-subtitle {
    color: #6b7280;
}

/* Phase Meta */
.phase-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.phase-output {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--success-color);
}

/* Key Insight Box */
.key-insight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.key-insight i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.key-insight p {
    margin: 0;
    line-height: 1.6;
}

.key-insight.celebration {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.05));
    border-left-color: var(--success-color);
}

.key-insight.celebration i {
    color: var(--success-color);
}

/* Conversation Guide */
.conversation-guide {
    margin: 2rem 0;
}

.conversation-guide h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.conversation-example {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

[data-theme="light"] .conversation-example {
    background: #f3f4f6;
}

.message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.message:last-child {
    margin-bottom: 0;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Light mode avatar enhancements */
[data-theme="light"] .user-message .message-avatar {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

[data-theme="light"] .ai-message .message-avatar {
    background: linear-gradient(135deg, #059669, #0ea5e9);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.message-content {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.user-message .message-content {
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .message-content {
    background: white;
}

[data-theme="light"] .user-message .message-content {
    background: rgba(99, 102, 241, 0.1);
}

.message-content p {
    margin: 0;
    font-style: italic;
}

/* Discussion Topics */
.discussion-topics {
    margin: 2rem 0;
}

.discussion-topics h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.topic-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

[data-theme="light"] .topic-item {
    background: #f9fafb;
    border-color: #e5e7eb;
}

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

.topic-content strong {
    display: block;
    margin-bottom: 0.25rem;
}

.topic-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

[data-theme="light"] .topic-content p {
    color: #6b7280;
}

/* Success Criteria */
.success-criteria {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.success-criteria h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-criteria ul {
    margin: 0;
    padding-left: 1.5rem;
}

.success-criteria li {
    margin-bottom: 0.5rem;
}

/* Steps List */
.steps-list {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

[data-theme="light"] .step-number {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 0.25rem;
}

.step-content h5 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .step-content p {
    color: #4b5563;
}

/* Inline code in step content */
.step-content code {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.88rem;
    color: #c7d2fe;
    font-weight: 500;
}

[data-theme="light"] .step-content code {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    border-color: rgba(99, 102, 241, 0.25);
    color: #4f46e5;
}

/* List items in step content */
.step-content ul,
.step-content ol {
    margin: 0.75rem 0;
    padding-left: 0;
    list-style: none;
}

.step-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.step-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border-radius: 50%;
}

[data-theme="light"] .step-content li {
    color: #374151;
}

[data-theme="light"] .step-content li::before {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Prompt Box */
.prompt-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.prompt-box::before {
    content: '💬';
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 2rem;
    opacity: 0.15;
}

[data-theme="light"] .prompt-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.prompt-box code {
    flex: 1;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e0e7ff;
    white-space: pre-wrap;
    word-break: break-word;
}

[data-theme="light"] .prompt-box code {
    color: #1e1b4b;
    font-weight: 500;
}

/* Dynamic Prompt - Vision Placeholder */
.vision-placeholder {
    background: rgba(99, 102, 241, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #a5b4fc;
    font-style: normal;
}

.vision-placeholder.empty {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    font-style: italic;
}

[data-theme="light"] .vision-placeholder {
    background: rgba(99, 102, 241, 0.15);
    color: #4f46e5;
}

[data-theme="light"] .vision-placeholder.empty {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

/* Vision status message */
.vision-status {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.vision-status a {
    color: var(--primary-color);
    text-decoration: underline;
}

[data-theme="light"] .vision-status {
    color: #6b7280;
}

.btn-copy-small {
    padding: 0.5rem 0.75rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.btn-copy-small:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

[data-theme="light"] .btn-copy-small {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
    color: #6366f1;
}

/* Review Checklist */
.review-checklist,
.step-content .review-checklist,
ul.review-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.75rem 0 !important;
}

.review-checklist li,
.step-content .review-checklist li,
ul.review-checklist li {
    position: relative;
    padding: 0.6rem 0.85rem 0.6rem 2.5rem !important;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.2s ease;
}

.review-checklist li:hover,
.step-content .review-checklist li:hover {
    background: rgba(99, 102, 241, 0.18);
}

.review-checklist li::before,
.step-content .review-checklist li::before,
ul.review-checklist li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0.85rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--primary-color) !important;
    font-size: 0.95rem !important;
    font-weight: bold !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
}

[data-theme="light"] .review-checklist li,
[data-theme="light"] .step-content .review-checklist li,
[data-theme="light"] ul.review-checklist li {
    color: #374151;
    background: rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .review-checklist li:hover,
[data-theme="light"] .step-content .review-checklist li:hover {
    background: rgba(99, 102, 241, 0.15);
}

/* Code Snippet */
.code-snippet {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0.75rem 0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

[data-theme="light"] .code-snippet {
    background: #1e293b;
    color: #e2e8f0;
}

/* Info Note */
.info-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.info-note i {
    color: var(--info-color);
}

/* Expectation Box */
.expectation-box {
    margin: 2rem 0;
}

.expectation-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.before-after-preview {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.preview-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

[data-theme="light"] .preview-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.preview-label {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.preview-content {
    padding: 1rem;
    min-height: 150px;
}

.ugly-preview {
    font-family: 'Times New Roman', serif;
    padding: 0.5rem;
}

.preview-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.75rem;
    margin: 0;
}

[data-theme="light"] .preview-note {
    color: #6b7280;
}

.preview-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.preview-arrow i {
    font-size: 2rem;
}

.preview-arrow span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Inspect Box */
.inspect-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.inspect-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.inspect-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.inspect-list li {
    margin-bottom: 0.5rem;
}

.inspect-list code {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.inspect-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="light"] .inspect-note {
    color: #6b7280;
}

/* CSS Control Grid */
.css-control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.css-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

[data-theme="light"] .css-control {
    background: #f9fafb;
}

.control-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

/* CSS Pattern Examples */
.css-pattern-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.css-pattern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 0.9rem;
}

[data-theme="light"] .css-pattern {
    background: #1e293b;
}

.css-pattern code {
    color: #a78bfa;
}

[data-theme="light"] .css-pattern code {
    color: #c4b5fd;
}

.css-pattern span {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .css-pattern span {
    color: #9ca3af;
}

/* Responsive Explanation */
.responsive-explanation {
    margin: 2rem 0;
}

.media-query-example {
    background: #1e293b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.media-query-example pre {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.media-query-example code {
    color: #a78bfa;
}

/* Device Preview */
.device-preview-section {
    margin: 2rem 0;
}

.device-preview-section h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.device-preview-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.device-frame {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
}

.device-frame.desktop {
    width: 200px;
}

.device-frame.tablet {
    width: 140px;
}

.device-frame.phone {
    width: 80px;
}

.device-header {
    padding: 0.5rem;
    background: #374151;
    font-size: 0.75rem;
    text-align: center;
    color: #9ca3af;
}

.device-screen {
    padding: 0.5rem;
    min-height: 80px;
}

.mock-layout {
    background: #4b5563;
    border-radius: 4px;
    padding: 0.5rem;
    display: flex;
    gap: 0.25rem;
}

.mock-layout.horizontal {
    flex-direction: row;
}

.mock-layout.vertical {
    flex-direction: column;
}

.mock-sidebar {
    width: 30px;
    height: 50px;
    background: #6b7280;
    border-radius: 2px;
}

.mock-content {
    flex: 1;
    height: 50px;
    background: #6b7280;
    border-radius: 2px;
}

/* Refinement Ideas Grid */
.refinement-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.refinement-idea {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.refinement-idea:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

[data-theme="light"] .refinement-idea {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.idea-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.idea-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.idea-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

[data-theme="light"] .idea-content p {
    color: #6b7280;
}

/* Prompt Examples */
.prompt-examples {
    margin: 2rem 0;
}

.prompt-example-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prompt-example {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

[data-theme="light"] .prompt-example {
    background: #f3f4f6;
}

.prompt-example code {
    font-size: 0.9rem;
}

/* Refinement Tracker */
.refinement-tracker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

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

.refinement-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.refinement-item label {
    font-weight: 600;
    min-width: 120px;
}

.refinement-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 0.9rem;
}

[data-theme="light"] .refinement-input {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #374151;
}

/* Final Checklist */
.final-checklist {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.final-checklist h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Your URL Section */
.your-url-section {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.your-url-section h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.url-input-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.url-input {
    flex: 1;
    max-width: 400px;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    text-align: center;
}

[data-theme="light"] .url-input {
    background: white;
    border-color: #e5e7eb;
    color: #374151;
}

/* Share Section */
.share-section {
    margin: 2rem 0;
    text-align: center;
}

.share-ideas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.share-idea {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

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

[data-theme="light"] .share-idea {
    background: #f3f4f6;
}

/* Celebration Box */
.celebration-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
    border: 2px solid var(--success-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.celebration-icon {
    font-size: 4rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.celebration-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.celebration-box ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin: 1.5rem 0;
}

.celebration-box li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.celebration-message {
    font-size: 1.2rem;
    color: var(--success-color);
    margin-top: 1.5rem;
}

/* What's Next Box */
.whats-next-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

[data-theme="light"] .whats-next-box {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.whats-next-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.next-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.next-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

[data-theme="light"] .next-option {
    background: white;
}

.next-option i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.next-option strong {
    display: block;
    margin-bottom: 0.25rem;
}

.next-option p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

[data-theme="light"] .next-option p {
    color: #6b7280;
}

/* Celebration Step */
.celebration-step .step-number {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    font-size: 1.5rem;
}

/* Help Coming Soon */
.help-coming-soon {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.help-coming-soon i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

[data-theme="light"] .help-coming-soon {
    color: #6b7280;
}

/* Exercise Box Update */
.exercise-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    margin: 2rem 0;
    overflow: hidden;
}

.exercise-header {
    background: rgba(139, 92, 246, 0.2);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exercise-header i {
    color: #a78bfa;
}

.exercise-header h4 {
    margin: 0;
    color: #a78bfa;
}

.exercise-content {
    padding: 1.5rem;
}

/* ===================================
   AGENT MODE & MODEL SELECTION
   =================================== */

.important-card {
    border: 2px solid var(--primary-color) !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05)) !important;
}

.important-card .module-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
}

.agent-mode-box,
.model-selection-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.agent-mode-box h4,
.model-selection-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mode-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.mode-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.mode-item .mode-content strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.mode-item .mode-content p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.mode-ask {
    background: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.3);
}

.mode-agent {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
}

.mode-agent.active-mode {
    border-color: var(--success-color);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.badge-recommended {
    display: inline-block;
    background: var(--success-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.model-analogy {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.model-analogy .analogy-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.model-analogy .analogy-content p {
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.model-analogy ul {
    margin: 0;
    padding-left: 1.25rem;
}

.model-analogy li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.model-recommendations h5 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.model-card {
    padding: 1.25rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.model-card .model-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Monaco', 'Consolas', monospace;
}

.model-card .model-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.model-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
}

.model-card.recommended {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
}

.model-card.recommended .model-badge {
    background: var(--success-color);
    color: white;
}

.model-card.good {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.model-card.good .model-badge {
    background: rgba(59, 130, 246, 0.8);
    color: white;
}

.model-card.basic {
    background: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.3);
}

.model-card.basic .model-badge {
    background: rgba(156, 163, 175, 0.6);
    color: white;
}

/* RTL Support for Agent/Model section */
html[dir="rtl"] .model-analogy {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

html[dir="rtl"] .badge-recommended {
    margin-left: 0;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .mode-item {
        flex-direction: column;
        text-align: center;
    }
    
    .model-analogy {
        flex-direction: column;
        text-align: center;
    }
    
    .model-analogy .analogy-icon {
        align-self: center;
    }
    
    .model-analogy ul {
        text-align: left;
    }
    
    html[dir="rtl"] .model-analogy ul {
        text-align: right;
    }
    
    /* Before/After Preview Mobile */
    .before-after-preview {
        flex-direction: column;
        gap: 1rem;
    }
    
    .preview-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .preview-arrow {
        flex-direction: row;
        padding: 0.5rem 0;
    }
    
    .preview-arrow i {
        font-size: 1.5rem;
        transform: rotate(90deg);
    }
    
    /* Steps List Mobile */
    .steps-list {
        padding: 0;
    }
    
    .step-item {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .step-content {
        width: 100%;
    }
    
    .step-content h5 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* Code Blocks Mobile */
    .code-example,
    .prompt-example {
        padding: 0.75rem;
        font-size: 0.8rem;
        overflow-x: auto;
    }
    
    .prompt-example code {
        white-space: pre-wrap;
        word-break: break-word;
    }
    
    /* Expectation Box Mobile */
    .expectation-box {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .expectation-box h4 {
        font-size: 1rem;
        flex-wrap: wrap;
    }
    
    /* Module Card Mobile */
    .module-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .module-header h3 {
        font-size: 1.1rem;
    }
    
    /* Key Insight Mobile */
    .key-insight {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .workshop-sidebar,
    .progress-bar-container,
    .navbar,
    .floating-controls {
        display: none;
    }

    .workshop-content {
        margin-left: 0;
    }
}
