/* ========================================
   CE VRAGENANALYSE - JS-EDUCATIE BRANDING
   ======================================== */

/* ========== BRAND COLORS ========== */
:root {
    --js-primary: #2563eb;
    --js-success: #059669;
    --js-warning: #d97706;
    --js-secondary: #7c3aed;
    --js-accent: #dc2626;
    --js-info: #0891b2;
    --js-dark: #111827;
    --js-neutral: #4b5563;
    --js-light: #f8fafc;
    --js-gray-50: #f9fafb;
    --js-gray-100: #f3f4f6;
    --js-gray-200: #e5e7eb;
    --js-gray-800: #1f2937;
    --js-gray-900: #111827;
    --valkuil-color: #ef4444;
    --versterker-color: #10b981;
}

/* ========== CE HERO SECTION ========== */
.ce-hero {
    background: linear-gradient(135deg, var(--js-primary) 0%, var(--js-success) 100%);
    min-height: 70vh;
    padding: 8rem 0 4rem 0;
}

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

/* ========== WARNING & INFO BOXES ========== */
.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-left: 5px solid var(--js-warning);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.1);
}

.warning-box strong {
    color: var(--js-warning);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tips-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 5px solid var(--js-primary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.tips-box strong {
    color: var(--js-primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 5px solid var(--js-info);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(8, 145, 178, 0.1);
}

.info-box strong {
    color: var(--js-info);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* ========== SECTION BACKGROUNDS ========== */
.bg-light {
    background-color: var(--js-gray-50);
}

.bg-white {
    background-color: #ffffff;
}

/* ========== DOMAIN/SKILL CARDS ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.skill-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--js-gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--js-primary), var(--js-success));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.skill-card.clickable {
    cursor: pointer;
}

.skill-card.clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2);
    border-color: var(--js-primary);
}

.skill-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.skill-card h3 {
    color: var(--js-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: var(--js-neutral);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.skill-card ul {
    margin: 0.75rem 0 0 1.25rem;
    padding: 0;
    color: var(--js-neutral);
}

.skill-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.click-indicator {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.skill-card.clickable:hover .click-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* ========== MODALS ========== */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

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

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: var(--js-neutral);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--js-gray-100);
}

.close:hover {
    background: var(--js-primary);
    color: white;
    transform: rotate(90deg);
}

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

.modal-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--js-gray-200);
}

/* ========== SKILL POPUP (PRACTICE QUESTIONS) ========== */
#skillPopup .question-container {
    margin-bottom: 2rem;
}

#skillPopup h3 {
    color: var(--js-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--js-primary);
}

#skillPopup h4 {
    color: var(--js-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#skillPopup .question-text {
    background: var(--js-gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--js-primary);
}

#skillPopup .answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

#skillPopup .answer-btn {
    background: white;
    border: 2px solid var(--js-gray-200);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--js-dark);
}

#skillPopup .answer-btn:hover {
    background: var(--js-gray-50);
    border-color: var(--js-primary);
    transform: translateX(5px);
}

#skillPopup .answer-btn.correct {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: var(--js-success);
    color: var(--js-success);
}

#skillPopup .answer-btn.incorrect {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-color: var(--valkuil-color);
    color: var(--valkuil-color);
}

/* ========== FLASHCARD APP ========== */
.flashcard-app {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    margin-top: 2rem;
}

.hidden {
    display: none !important;
}

/* Mode Selection */
.study-mode-selection h3,
.category-selection h3 {
    color: var(--js-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.mode-buttons,
.category-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mode-btn,
.category-btn {
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    border: none;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.mode-btn:hover,
.category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.mode-btn .emoji,
.category-btn .emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    background: var(--js-gray-200);
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    background: linear-gradient(90deg, var(--js-primary), var(--js-success));
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: var(--js-neutral);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Flashcard Container */
.flashcard-container {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.flashcard {
    position: relative;
    width: 100%;
    min-height: 400px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flashcard.flipped {
    transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 400px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: white;
    border: 3px solid var(--js-gray-200);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.flashcard-front {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.flashcard-back {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    transform: rotateY(180deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--js-gray-200);
}

.card-type {
    background: var(--js-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-category {
    background: var(--js-gray-100);
    color: var(--js-neutral);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-content {
    flex: 1;
    display: block;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--js-dark);
    padding: 3rem 2rem;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Add spacing around inline LaTeX formulas */
.card-content .katex {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.card-footer {
    text-align: center;
    color: var(--js-neutral);
    font-size: 0.95rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid var(--js-gray-200);
}

/* Flashcard Controls */
.flashcard-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.difficulty-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.difficulty-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.difficulty-btn.easy {
    background: white;
    color: var(--js-success);
    border-color: var(--js-success);
}

.difficulty-btn.easy:hover {
    background: var(--js-success);
    color: white;
    transform: translateY(-2px);
}

.difficulty-btn.hard {
    background: white;
    color: var(--valkuil-color);
    border-color: var(--valkuil-color);
}

.difficulty-btn.hard:hover {
    background: var(--valkuil-color);
    color: white;
    transform: translateY(-2px);
}

/* Session Results */
.session-results {
    text-align: center;
    padding: 2rem;
}

.session-results h3 {
    color: var(--js-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    background: var(--js-gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--js-gray-200);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--js-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.result-label {
    color: var(--js-neutral);
    font-weight: 600;
}

/* ========== VUR SLIDER - CARD-BASED LAYOUT ========== */
.vur-method {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    margin-top: 2rem;
}

.vur-method h3 {
    color: var(--js-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.vur-intro {
    text-align: center;
    color: var(--js-neutral);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.vur-slider-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.vur-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 400%;
}

.vur-slide {
    width: 25%;
    flex-shrink: 0;
    padding: 0 1rem;
}

.vur-slide-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--js-gray-200);
    overflow: hidden;
    min-height: 450px;
    transition: all 0.3s ease;
}

.vur-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
}

/* Step Headers with Colors */
.vur-slide-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.verkennen-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.uitvoeren-header {
    background: linear-gradient(135deg, #10b981, #059669);
}

.reflecteren-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.example-header {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.vur-slide-header h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.vur-step-badge {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* Slide Body */
.vur-slide-body {
    padding: 2rem;
}

.vur-objective {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--js-primary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--js-dark);
}

/* Checklist Styling */
.vur-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.vur-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    background: var(--js-gray-50);
    border-radius: 10px;
    border: 2px solid var(--js-gray-200);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.vur-check-item:hover {
    background: white;
    border-color: var(--js-primary);
    transform: translateX(5px);
}

.vur-check-item.highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: var(--js-warning);
    font-weight: 600;
}

.check-box {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Example Card Styling */
.example-card {
    min-height: 500px;
}

.example-problem {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.vur-example-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vur-example-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid;
    font-size: 0.95rem;
    line-height: 1.6;
}

.verkennen-bg {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left-color: #3b82f6;
}

.uitvoeren-bg {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left-color: #10b981;
}

.reflecteren-bg {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-left-color: #f59e0b;
}

.example-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--js-primary);
    flex-shrink: 0;
}

.example-content {
    flex: 1;
}

.example-tip {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid #f59e0b;
}

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

/* VUR Navigation Arrows */
.vur-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.vur-arrow:hover:not(:disabled) {
    background: var(--js-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.vur-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.vur-arrow-left {
    left: -25px;
}

.vur-arrow-right {
    right: -25px;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--js-gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--js-primary);
    width: 32px;
    border-radius: 6px;
}

.dot:hover {
    background: var(--js-info);
}

/* Progress Indicator */
.vur-progress {
    margin-top: 2rem;
    text-align: center;
}

.progress-label {
    color: var(--js-neutral);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.progress-label span {
    color: var(--js-primary);
    font-weight: 700;
}

.progress-bar-vur {
    width: 100%;
    height: 8px;
    background: var(--js-gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-vur {
    height: 100%;
    background: linear-gradient(90deg, var(--js-primary), var(--js-info));
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== EXAMEN STAPPENPLAN ========== */
.exam-flow {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    margin-top: 2rem;
    border: 3px solid var(--js-gray-200);
}

.exam-flow h3 {
    color: var(--js-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.exam-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exam-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    border-left: 4px solid var(--js-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--js-dark);
    transition: all 0.3s ease;
}

.exam-steps li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.exam-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.exam-steps li strong {
    color: var(--js-primary);
    font-weight: 700;
}

/* ========== EXAMENSTRATEGIE - TIJDVERDELING ========== */
.time-management {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    margin-top: 2rem;
    border: 3px solid var(--js-gray-200);
}

.time-management h3 {
    color: var(--js-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.time-blocks {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.time-block {
    text-align: center;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    border: 3px solid var(--js-primary);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.time-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.time-label {
    color: var(--js-neutral);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-tip {
    color: var(--js-dark);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.time-strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.strategy-item {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.strategy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--js-primary), var(--js-info));
}

.strategy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2);
    border-color: var(--js-primary);
}

.strategy-item h4 {
    color: var(--js-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.strategy-item p {
    color: var(--js-dark);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.strategy-item strong {
    display: block;
    color: var(--js-success);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ========== CALCULATOR SECTION ========== */

/* Three Containers Side by Side */
.calc-three-containers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 1.5rem 0;
}

.calc-box {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.08);
    border: 3px solid;
    min-height: 200px;
    transition: all 0.3s ease;
}

.calc-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
}

.calc-box-warning {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.calc-box-success {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.calc-box-danger {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.calc-box-header {
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.calc-box-warning .calc-box-header {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.calc-box-success .calc-box-header {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.calc-box-danger .calc-box-header {
    background: linear-gradient(135deg, #f87171, #ef4444);
}

.calc-box-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.calc-box-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-box-content {
    padding: 1.25rem 1.25rem;
}

.calc-box-content > p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--js-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.calc-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calc-items-list li {
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: slideIn 0.3s ease;
}

.calc-box-warning .calc-items-list li {
    border-left-color: #f59e0b;
}

.calc-box-success .calc-items-list li {
    border-left-color: #10b981;
}

.calc-box-danger .calc-items-list li {
    border-left-color: #ef4444;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Question Container Below */
.calc-question-container {
    margin-top: 3rem;
}

.calc-progress {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--js-neutral);
}

.calc-progress strong {
    color: var(--js-primary);
    font-size: 1.3rem;
}

.calc-question-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    border: 3px solid var(--js-gray-200);
}

.calc-q-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--js-gray-200);
}

.calc-q-emoji {
    font-size: 2rem;
}

.calc-q-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--js-dark);
}

.calc-q-situation {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--js-primary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.calc-q-situation strong {
    color: var(--js-primary);
}

.calc-q-prompt {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--js-dark);
    margin-bottom: 1.5rem;
}

.calc-q-answers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.calc-answer-btn {
    background: white;
    border: 3px solid var(--js-gray-300);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--js-dark);
    text-align: left;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calc-answer-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: var(--js-primary);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.calc-answer-btn:focus {
    outline: 3px solid var(--js-primary);
    outline-offset: 3px;
}

.calc-answer-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

.calc-answer-btn.correct {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: var(--js-success);
    color: var(--js-success);
    pointer-events: none;
}

.calc-answer-btn.wrong {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-color: #ef4444;
    color: #ef4444;
    pointer-events: none;
}

.calc-answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.calc-feedback {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 16px;
    border-left: 5px solid;
    animation: fadeIn 0.3s ease;
}

.calc-feedback.correct {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-left-color: var(--js-success);
}

.calc-feedback.wrong {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-left-color: #ef4444;
}

.calc-feedback-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.calc-feedback.correct .calc-feedback-title {
    color: var(--js-success);
}

.calc-feedback.wrong .calc-feedback-title {
    color: #ef4444;
}

.calc-feedback-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--js-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Calculator Section */
@media (max-width: 968px) {
    .calc-three-containers {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .calc-box {
        min-height: 250px;
    }
    
    .calc-box-header {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .calc-box-content {
        padding: 1.25rem;
    }
    
    .calc-q-answers {
        padding: 1.25rem;
    }
    
    .calc-question-card {
        padding: 1.5rem;
    }
    
    .calc-answer-btn {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .calc-box-header {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .calc-item {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .calc-question-text {
        font-size: 1.05rem;
    }
    
    .calc-question-prompt {
        font-size: 0.95rem;
    }
    
    .calc-answer-btn {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
    }
}

/* ========== VRAGENANALYSE HIGHLIGHT TOOLS ========== */
.highlight-tools {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    margin-top: 2rem;
}

.highlight-tools h3 {
    color: var(--js-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.highlight-btn.valkuil:hover,
.highlight-btn.valkuil.active {
    background: var(--valkuil-color);
    color: white;
    transform: translateY(-2px);
}

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

.highlight-btn.versterker:hover,
.highlight-btn.versterker.active {
    background: var(--versterker-color);
    color: white;
    transform: translateY(-2px);
}

.highlight-btn.important {
    background: white;
    color: var(--js-warning);
    border-color: var(--js-warning);
}

.highlight-btn.important:hover,
.highlight-btn.important.active {
    background: var(--js-warning);
    color: white;
    transform: translateY(-2px);
}

.question-area {
    background: var(--js-gray-50);
    border-radius: 16px;
    padding: 2rem;
    min-height: 300px;
    border: 2px dashed var(--js-gray-200);
    margin-bottom: 1.5rem;
    cursor: text;
    transition: border-color 0.3s ease;
}

.question-area:focus {
    outline: none;
    border-color: var(--js-primary);
    background: white;
}

.question-area.highlight-valkuil {
    background: rgba(239, 68, 68, 0.1);
}

.question-area.highlight-versterker {
    background: rgba(16, 185, 129, 0.1);
}

.question-area.highlight-important {
    background: rgba(217, 119, 6, 0.1);
}

/* ========== VRAGENANALYSE TRAINER - PROFESSIONAL LAYOUT ========== */
.vragenanalyse-section {
    margin-top: 3rem;
}

.vragenanalyse-section h3 {
    color: var(--js-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.vragenanalyse-section .tips-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--js-primary);
}

.vragenanalyse-section .tips-box h4 {
    color: var(--js-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vragenanalyse-section .tips-box p {
    color: var(--js-dark);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Two-Column Layout */
.question-analysis-app {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Left Column: Steps + Controls */
.trainer-left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Step Container */
.trainer-step-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    border: 3px solid var(--js-gray-200);
    overflow: hidden;
}

.instructions-panel {
    padding: 0;
}

.instruction-step {
    display: none;
    padding: 2rem;
    border-bottom: 2px solid var(--js-gray-200);
}

.instruction-step:last-child {
    border-bottom: none;
}

.instruction-step.active {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    animation: fadeIn 0.4s ease;
}

.step-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--js-dark);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.step-content p {
    color: var(--js-neutral);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.step-color-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-color-hint.instructie {
    background: rgba(255, 255, 0, 0.15);
    color: #ca8a04;
}

.step-color-hint.signaal {
    background: rgba(255, 165, 0, 0.15);
    color: #ea580c;
}

.step-color-hint.gegevens {
    background: rgba(0, 255, 0, 0.15);
    color: #16a34a;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
}

.step-color-hint.instructie .color-dot {
    background: rgba(255, 255, 0, 0.5);
}

.step-color-hint.signaal .color-dot {
    background: rgba(255, 165, 0, 0.5);
}

.step-color-hint.gegevens .color-dot {
    background: rgba(0, 255, 0, 0.5);
}

/* Controls Section */
.trainer-controls {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    border: 3px solid var(--js-gray-200);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.color-picker-section h5 {
    color: var(--js-dark);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.color-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.color-button-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid var(--js-gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--js-dark);
}

.color-btn:hover {
    border-color: var(--js-primary);
    background: var(--js-gray-50);
}

.color-btn.active {
    border-color: var(--js-primary);
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--js-primary);
}

.color-indicator {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.clear-color-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--js-gray-300);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    color: var(--js-gray-500);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.clear-color-btn svg {
    width: 18px;
    height: 18px;
}

.clear-color-btn:hover {
    background: var(--js-danger);
    color: white;
    border-color: var(--js-danger);
    transform: scale(1.05);
}

.clear-color-btn:active {
    transform: scale(0.95);
}

.navigation-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--js-gray-200);
}

.action-buttons .btn {
    width: 100%;
}

/* Right Column: Canvas */
.trainer-canvas-column {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    border: 3px solid var(--js-gray-200);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.canvas-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.question-reference {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--js-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--js-dark);
}

#question-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--js-gray-200);
    cursor: crosshair;
    display: block;
}

/* ========== SUCCESFORMULE - PROFESSIONAL HIGHLIGHT ========== */
.success-formula {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    border: 3px solid var(--js-primary);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.success-formula h3 {
    color: var(--js-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.formula-box {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--js-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.formula-box p {
    margin: 0;
    color: var(--js-dark);
    font-size: 1.15rem;
    text-align: center;
    line-height: 1.6;
}

.final-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.final-tips li {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    color: var(--js-neutral);
    font-size: 1.05rem;
    line-height: 1.6;
    border-left: 4px solid var(--js-accent);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.final-tips li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.final-tips li strong {
    color: var(--js-dark);
}

/* ========== EXAMENEISEN & KERNVAKKEN - OFFICIAL REQUIREMENTS ========== */
.exam-requirements-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    margin: 2rem 0;
    border: 3px solid var(--js-gray-200);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.requirement-header {
    background: linear-gradient(135deg, var(--js-primary), var(--js-secondary));
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.requirement-icon {
    font-size: 2rem;
}

.requirement-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.requirement-content {
    padding: 2rem;
}

/* Kernvakkenregeling Styles */
.kernvak-warning {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-left: 5px solid #ef4444;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.kernvak-warning p {
    margin: 0;
    color: var(--js-dark);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.kernvak-rule {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 3px solid;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.kernvak-allowed {
    border-color: var(--js-accent);
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.kernvak-failed {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.rule-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.kernvak-rule h4 {
    text-align: center;
    color: var(--js-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.example-grades {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.grade {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.grade-pass {
    background: #dcfce7;
    color: #166534;
}

.grade-fail {
    background: #fee2e2;
    color: #991b1b;
}

.rule-verdict {
    text-align: center;
    font-size: 1.05rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.kernvak-important {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 5px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 12px;
}

.kernvak-important p {
    margin: 0;
    color: var(--js-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Domeinstructuur Styles */
.domain-intro {
    color: var(--js-neutral);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.domain-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--js-gray-200);
    transition: all 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.domain-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 700;
}

.domain-code {
    background: rgba(255, 255, 255, 0.3);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.domain-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.domain-a { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.domain-b { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.domain-c { background: linear-gradient(135deg, #10b981, #059669); }
.domain-d { background: linear-gradient(135deg, #f59e0b, #d97706); }
.domain-e { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.domain-f { background: linear-gradient(135deg, #64748b, #475569); }

.domain-content {
    padding: 1.5rem;
}

.domain-description {
    color: var(--js-neutral);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.subdomain-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.subdomain-list li {
    padding: 0.5rem 0;
    color: var(--js-neutral);
    font-size: 0.9rem;
    line-height: 1.5;
}

.domain-tag {
    display: inline-block;
    background: var(--js-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.domain-tag-se {
    background: var(--js-gray-400);
}

.exam-info-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 5px solid var(--js-primary);
    padding: 1.5rem;
    border-radius: 12px;
}

.exam-info-box p {
    margin: 0.5rem 0;
    color: var(--js-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.exam-info-box p:last-child {
    margin-bottom: 0;
}

/* ========== INTERACTIVE STRATEGY BUILDER ========== */
.strategy-builder {
    margin: 3rem 0;
}

.strategy-intro {
    text-align: center;
    color: var(--js-neutral);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.strategy-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.strategy-category {
    background: white;
    border-radius: 16px;
    border: 3px solid var(--js-gray-200);
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.strategy-category:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    border-color: var(--js-primary);
}

.category-header {
    background: linear-gradient(135deg, var(--js-primary), var(--js-secondary));
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-number {
    background: rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.category-header h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-options {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-radio {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid var(--js-gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-radio:hover {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: var(--js-primary);
}

.option-radio input[type="radio"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--js-primary);
}

.option-radio input[type="radio"]:checked ~ .option-text {
    font-weight: 600;
    color: var(--js-primary);
}

.option-radio:has(input:checked) {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: var(--js-primary);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.option-text {
    flex: 1;
    color: var(--js-neutral);
    font-size: 1rem;
    line-height: 1.5;
}

.option-custom .option-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--js-gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

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

.custom-input:disabled {
    background: var(--js-gray-100);
    cursor: not-allowed;
    opacity: 0.6;
}

.option-radio:has(input[type="radio"]:not(:checked)) .custom-input {
    pointer-events: none;
    opacity: 0.5;
}

/* Strategy Preview */
.strategy-preview {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 20px;
    padding: 2rem;
    border: 3px solid var(--js-accent);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.preview-header h4 {
    color: var(--js-dark);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.preview-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-preview-action {
    background: white;
    color: var(--js-primary);
    border: 2px solid var(--js-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-preview-action:hover {
    background: var(--js-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-download {
    background: var(--js-accent);
    color: white;
    border-color: var(--js-accent);
}

.btn-download:hover {
    background: #059669;
    border-color: #059669;
}

.preview-content {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.preview-empty {
    color: var(--js-neutral);
    font-style: italic;
    text-align: center;
    padding: 3rem 1rem;
}

.strategy-plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy-plan-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--js-gray-200);
    color: var(--js-neutral);
    line-height: 1.6;
}

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

.strategy-plan-list strong {
    color: var(--js-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .preview-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .preview-actions {
        width: 100%;
    }
    
    .btn-preview-action {
        flex: 1;
        min-width: 150px;
    }
}

/* ========== LAATSTE PEPTALK - PROFESSIONAL MOTIVATION ========== */
.motivation {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    border: 3px solid var(--js-accent);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
}

.motivation h3 {
    color: var(--js-accent);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.motivation blockquote {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 0 0 2rem 0;
    border-left: 5px solid var(--js-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--js-neutral);
}

.motivation cite {
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: var(--js-primary);
    font-weight: 600;
    font-size: 1rem;
}

.final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    min-width: 220px;
    transition: all 0.3s ease;
}

.final-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========== VALKUILEN - MODERN CARD LAYOUT ========== */
.section-intro {
    text-align: center;
    color: var(--js-neutral);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

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

.pitfall-modern-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--js-gray-200);
    transition: all 0.3s ease;
}

.pitfall-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
    border-color: var(--js-primary);
}

/* Quiz Section */
.pitfall-quiz-section {
    padding: 2rem;
}

.pitfall-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--js-gray-200);
}

.pitfall-icon {
    font-size: 2rem;
}

.pitfall-header h4 {
    color: var(--js-dark);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.pitfall-question {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--valkuil-color);
    margin-bottom: 1.5rem;
}

.pitfall-question p {
    margin: 0 0 0.5rem 0;
    color: var(--js-dark);
    line-height: 1.6;
}

.pitfall-question p:last-child {
    margin-bottom: 0;
}

.question-prompt {
    color: var(--valkuil-color);
    font-weight: 700;
    margin-top: 1rem !important;
}

/* Option Buttons */
.pitfall-options {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.pitfall-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid var(--js-gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.pitfall-option-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: var(--js-primary);
    transform: translateX(5px);
}

.option-letter {
    width: 35px;
    height: 35px;
    background: var(--js-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
    color: var(--js-dark);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Correct/Incorrect States */
.pitfall-option-btn.correct {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: var(--js-success);
}

.pitfall-option-btn.correct .option-letter {
    background: var(--js-success);
}

.pitfall-option-btn.correct .option-text {
    color: #065f46;
    font-weight: 600;
}

.pitfall-option-btn.incorrect {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-color: var(--valkuil-color);
}

.pitfall-option-btn.incorrect .option-letter {
    background: var(--valkuil-color);
}

.pitfall-option-btn.incorrect .option-text {
    color: #991b1b;
    font-weight: 600;
}

.pitfall-option-btn:disabled {
    cursor: not-allowed;
}

/* Feedback */
.pitfall-feedback {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.6;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pitfall-feedback.correct {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 2px solid var(--js-success);
}

.pitfall-feedback.incorrect {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 2px solid var(--valkuil-color);
}

/* Tip Section */
.pitfall-tip-section {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-top: 3px solid var(--js-primary);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.tip-icon {
    font-size: 2rem;
}

.tip-header h4 {
    color: var(--js-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.tip-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border-left: 4px solid var(--valkuil-color);
    color: var(--js-dark);
    line-height: 1.6;
}

.tip-solution {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border-left: 4px solid var(--js-success);
    color: #065f46;
    line-height: 1.6;
    font-weight: 500;
}

/* ========== ADDITIONAL BUTTON STYLES ========== */
.btn.btn-success {
    background: var(--js-success);
    color: white;
    border: 2px solid var(--js-success);
}

.btn.btn-success:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn.btn-warning {
    background: var(--js-warning);
    color: white;
    border: 2px solid var(--js-warning);
}

.btn.btn-warning:hover {
    background: #b45309;
    border-color: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .ce-hero {
        min-height: 50vh;
        padding: 6rem 0 3rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .flashcard-app,
    .vur-tool,
    .highlight-tools,
    .valkuilen-quiz {
        padding: 1.5rem;
    }
    
    .calc-box {
        min-height: 300px;
    }
    
    .calc-question-card {
        padding: 1.5rem;
    }

    .flashcard-container {
        margin-bottom: 1rem;
    }

    .flashcard {
        min-height: 280px;
        max-height: 50vh;
        height: 50vh;
    }

    .flashcard-front,
    .flashcard-back {
        min-height: 280px;
        max-height: 50vh;
        height: 100%;
        padding: 1.5rem;
        overflow-y: auto;
    }

    .card-content {
        font-size: 1.25rem;
        padding: 1.5rem 1rem;
        overflow-y: auto;
    }

    .card-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .card-footer {
        margin-top: 1rem;
        padding-top: 0.75rem;
    }

    .mode-buttons,
    .category-buttons {
        grid-template-columns: 1fr;
    }

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

    .highlight-buttons {
        flex-direction: column;
    }

    .difficulty-buttons {
        flex-direction: column;
    }

    /* Modern Pitfall Cards Responsive */
    .pitfalls-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pitfall-modern-card {
        max-width: 600px;
        margin: 0 auto;
    }

    .pitfall-quiz-section {
        padding: 1.5rem;
    }

    .pitfall-header {
        margin-bottom: 1.25rem;
    }

    .pitfall-header h4 {
        font-size: 1.1rem;
    }

    .pitfall-question {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    .pitfall-option-btn {
        padding: 0.875rem 1rem;
    }

    .option-letter {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .option-text {
        font-size: 0.9rem;
    }

    .pitfall-tip-section {
        padding: 1.5rem;
    }

    .tip-header h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Pitfall Cards for Mobile */
    .section-intro {
        font-size: 0.95rem;
    }

    .pitfalls-grid {
        gap: 1.25rem;
    }

    .pitfall-quiz-section {
        padding: 1.25rem;
    }

    .pitfall-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .pitfall-icon {
        font-size: 1.75rem;
    }

    .pitfall-header h4 {
        font-size: 1rem;
    }

    .pitfall-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .pitfall-option-btn {
        padding: 0.75rem 0.875rem;
        gap: 0.75rem;
    }

    .option-letter {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .option-text {
        font-size: 0.85rem;
    }

    .pitfall-feedback {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .pitfall-tip-section {
        padding: 1.25rem;
    }

    .tip-icon {
        font-size: 1.75rem;
    }

    .tip-header h4 {
        font-size: 1rem;
    }

    .tip-item,
    .tip-solution {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    /* Vragenanalyse Trainer Responsive */
    .question-analysis-app {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trainer-left-column {
        order: 2;
    }

    .trainer-canvas-column {
        order: 1;
    }

    .trainer-step-container {
        max-height: 400px;
        overflow-y: auto;
    }

    .instruction-step.active {
        flex-direction: column;
        text-align: center;
    }

    .step-badge {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .trainer-controls {
        padding: 1.25rem;
    }

    .color-picker-section h5 {
        font-size: 0.95rem;
    }

    .navigation-buttons {
        grid-template-columns: 1fr;
    }

    /* Exam Flow Responsive */
    .exam-flow {
        padding: 2rem;
    }

    .exam-flow h3 {
        font-size: 1.5rem;
    }

    .exam-steps li {
        padding: 1rem 1.25rem 1rem 3.5rem;
        font-size: 0.95rem;
    }

    .exam-steps li::before {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        left: 1rem;
    }

    /* Time Strategy Responsive */
    .time-management {
        padding: 2rem;
    }

    .time-management h3 {
        font-size: 1.5rem;
    }

    .time-block {
        padding: 1.25rem 2rem;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-strategy-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .strategy-item {
        padding: 1.5rem;
    }

    .strategy-item h4 {
        font-size: 1.2rem;
    }

    .strategy-item p {
        font-size: 0.95rem;
    }

    .strategy-item strong {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    /* Vragenanalyse Trainer Mobile */
    .vragenanalyse-section h3 {
        font-size: 1.5rem;
    }

    .vragenanalyse-section .tips-box {
        padding: 1.5rem;
    }

    .vragenanalyse-section .tips-box h4 {
        font-size: 1.1rem;
    }

    .vragenanalyse-section .tips-box p {
        font-size: 0.95rem;
    }

    .question-analysis-app {
        gap: 1.25rem;
    }

    .trainer-step-container {
        border-radius: 16px;
    }

    .instruction-step {
        padding: 1.5rem;
    }

    .step-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-content h4 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .step-color-hint {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }

    .trainer-controls {
        padding: 1rem;
        border-radius: 16px;
    }

    .color-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }

    .color-indicator {
        width: 20px;
        height: 20px;
    }
    
    .clear-color-btn {
        width: 32px;
        height: 32px;
    }
    
    .clear-color-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .color-button-row {
        flex-wrap: wrap;
    }

    .action-buttons {
        gap: 0.625rem;
    }

    .trainer-canvas-column {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .question-reference {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Exam Flow Mobile */
    .exam-flow {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .exam-flow h3 {
        font-size: 1.3rem;
    }

    .exam-steps li {
        padding: 0.875rem 1rem 0.875rem 3rem;
        font-size: 0.9rem;
    }

    .exam-steps li::before {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        left: 0.75rem;
    }

    /* Time Strategy Mobile */
    .time-management {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .time-management h3 {
        font-size: 1.3rem;
    }

    .time-block {
        padding: 1rem 1.5rem;
        border-radius: 12px;
    }

    .time-value {
        font-size: 1.75rem;
    }

    .time-label {
        font-size: 1rem;
    }

    .time-tip {
        font-size: 0.85rem;
    }

    .strategy-item {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .strategy-item h4 {
        font-size: 1.1rem;
    }

    .strategy-item p {
        font-size: 0.9rem;
    }

    .strategy-item strong {
        font-size: 1rem;
    }
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ========== ANIMATIONS ========== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.bounce {
    animation: bounce 1s infinite;
}

/* ========== SKILL PRACTICE POPUP ========== */
.skill-popup {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 3001;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    padding: 2rem;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 1.75rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
}

.popup-close:hover {
    background: white;
    color: var(--js-primary);
    transform: rotate(90deg);
}

.popup-body {
    padding: 2.5rem;
}

.popup-description {
    background: var(--js-gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--js-primary);
}

.popup-description p {
    margin: 0;
    color: var(--js-neutral);
    font-size: 1.05rem;
    font-weight: 500;
}

.questions-container {
    margin-bottom: 2rem;
}

.question-block {
    background: white;
    border: 2px solid var(--js-gray-200);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.question-block:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--js-primary);
}

.question-block h4 {
    color: var(--js-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.question-block p {
    color: var(--js-dark);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

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

.option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--js-gray-50);
    border: 2px solid var(--js-gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    background: var(--js-gray-100);
    border-color: var(--js-primary);
    transform: translateX(8px);
}

.option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--js-primary);
}

.option span {
    color: var(--js-dark);
    font-size: 1rem;
    font-weight: 500;
}

.option input[type="radio"]:checked + span {
    color: var(--js-primary);
    font-weight: 600;
}

.answer-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--js-gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.answer-input:focus {
    outline: none;
    border-color: var(--js-primary);
    background: var(--js-gray-50);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.results-container {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 2px solid var(--js-primary);
}

.results-container h4 {
    color: var(--js-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.results-container .result-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.results-container .result-item.correct {
    border-left: 5px solid var(--js-success);
}

.results-container .result-item.incorrect {
    border-left: 5px solid var(--valkuil-color);
}

/* Responsive popup */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-height: 95vh;
    }

    .popup-header {
        padding: 1.5rem;
    }

    .popup-header h3 {
        font-size: 1.5rem;
    }

    .popup-body {
        padding: 1.5rem;
    }

    .question-block {
        padding: 1.25rem;
    }

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

    /* VUR Slider Responsive */
    .vur-method {
        padding: 1.5rem;
    }

    .vur-method h3 {
        font-size: 1.5rem;
    }

    .vur-slide-card {
        min-height: 400px;
    }

    .vur-slide-header {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .vur-slide-header h4 {
        font-size: 1.1rem;
    }

    .vur-step-badge {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .vur-slide-body {
        padding: 1.5rem;
    }

    .vur-objective {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .vur-check-item {
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem;
    }

    .check-box {
        font-size: 1.1rem;
    }

    .example-problem {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .vur-example-item {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .example-label {
        font-size: 1.25rem;
    }

    .example-tip {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
    }

    .vur-arrow {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .vur-arrow-left {
        left: -20px;
    }

    .vur-arrow-right {
        right: -20px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    .progress-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* VUR Slider for Mobile */
    .vur-method {
        padding: 1rem;
        border-radius: 16px;
    }

    .vur-method h3 {
        font-size: 1.25rem;
    }

    .vur-intro {
        font-size: 0.95rem;
    }

    .vur-slide {
        padding: 0 0.5rem;
    }

    .vur-slide-card {
        min-height: 380px;
    }

    .vur-slide-header {
        padding: 1rem 1.25rem;
    }

    .vur-slide-header h4 {
        font-size: 1rem;
    }

    .vur-step-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .vur-slide-body {
        padding: 1.25rem;
    }

    .vur-objective {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }

    .vur-check-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        gap: 0.625rem;
    }

    .check-box {
        font-size: 1rem;
    }

    .example-problem {
        font-size: 0.9rem;
        padding: 0.875rem;
    }

    .vur-example-item {
        font-size: 0.85rem;
        padding: 0.875rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .example-label {
        font-size: 1.1rem;
    }

    .example-tip {
        font-size: 0.85rem;
        padding: 0.75rem 0.875rem;
    }

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

    .vur-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.75rem;
    }

    .vur-arrow-left {
        left: -15px;
    }

    .vur-arrow-right {
        right: -15px;
    }

    .slider-dots {
        margin-top: 1rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }

    .vur-progress {
        margin-top: 1.5rem;
    }

    .progress-label {
        font-size: 0.85rem;
    }
}

/* ========== DOCENT-SPECIFIC STYLES ========== */

/* VUR Overview in Hero */
.vur-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.vur-phase {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.vur-phase:hover {
    transform: translateY(-3px);
}

.vur-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.vur-label {
    font-weight: 600;
    color: var(--js-dark);
    font-size: 0.95rem;
}

.vur-arrow {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

/* Casus Card */
.casus-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.casus-header {
    background: linear-gradient(135deg, var(--js-primary), var(--js-success));
    color: white;
    padding: 1.5rem 2rem;
}

.casus-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.casus-content {
    padding: 2rem;
}

.casus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--js-gray-50);
    border-radius: 8px;
}

.casus-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.casus-item strong {
    color: var(--js-neutral);
    font-size: 0.9rem;
}

.difficulty-high {
    display: inline-block;
    background: var(--js-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.casus-opgave {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--js-gray-50);
    border-left: 4px solid var(--js-primary);
    border-radius: 8px;
}

.casus-opgave h4 {
    margin-top: 0;
    color: var(--js-primary);
}

.casus-questions {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.casus-questions li {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.casus-didactic {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--js-success);
}

.casus-didactic h4 {
    margin-top: 0;
    color: var(--js-success);
}

.casus-didactic ul {
    margin: 0.5rem 0 0 1.25rem;
}

.casus-didactic li {
    margin: 0.5rem 0;
}

/* Toolkit Box - Visueel Opvallend */
.toolkit-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid var(--js-warning);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.2);
}

.toolkit-box h3,
.toolkit-box h4 {
    color: #92400e;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolkit-box ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.toolkit-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.toolkit-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--js-warning);
    font-weight: bold;
}

.toolkit-box .btn {
    margin-top: 1rem;
}

/* Knip Checklist */
.knip-checklist {
    background: white;
    border: 2px solid var(--js-primary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.knip-checklist h4 {
    color: var(--js-primary);
    margin-top: 0;
}

.checklist-steps {
    background: var(--js-gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    line-height: 2;
}

.checklist-steps div {
    margin: 0.75rem 0;
}

/* Scaffolding Ladder */
.scaffolding-ladder {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.scaffold-level {
    background: white;
    border-left: 5px solid var(--js-success);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.scaffold-level:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.scaffold-level h4 {
    margin-top: 0;
    color: var(--js-success);
}

/* VUR Macro Banner */
.vur-macro-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.vur-macro-phase {
    text-align: center;
    flex: 1;
}

.vur-macro-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.vur-macro-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--js-primary);
    margin: 0;
}

.vur-macro-arrow {
    font-size: 2rem;
    color: var(--js-primary);
}

/* Scenario Cards */
.scenario-card {
    background: white;
    border-left: 5px solid var(--js-accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.scenario-card h4 {
    color: var(--js-accent);
    margin-top: 0;
}

.scenario-problem {
    background: #fef2f2;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.scenario-intervention {
    background: #f0fdf4;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vur-overview {
        flex-direction: column;
    }
    
    .vur-arrow {
        transform: rotate(90deg);
    }
    
    .casus-grid {
        grid-template-columns: 1fr;
    }
    
    .vur-macro-banner {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vur-macro-arrow {
        transform: rotate(90deg);
    }
}

/* Quick Guide & Reflection Styles */
.quickguide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.guide-includes {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.guide-includes h4 {
    color: var(--js-primary);
    margin-top: 0;
}

.guide-includes ul {
    list-style: none;
    padding: 0;
}

.guide-includes li {
    padding: 0.5rem 0;
    line-height: 1.6;
}

.guide-actions {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.guide-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--js-neutral);
}

.reflection-box {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-left: 5px solid var(--js-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.1);
}

.reflection-box h3 {
    color: var(--js-secondary);
    margin-top: 0;
}

.reflection-question {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.reflection-question strong {
    color: var(--js-secondary);
    font-size: 1.1rem;
}

.reflection-prompt {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--js-neutral);
}

.reflection-tip {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--js-gray-50);
    border-radius: 6px;
    font-size: 0.95rem;
}

.docent-domains {
    margin: 2rem 0;
}

.domain-overview {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.domain-quick {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--js-success);
}

.domain-quick strong {
    color: var(--js-success);
    font-size: 1.1rem;
}

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

/* Training Category Styles */
.training-category {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--js-dark);
    margin: 0;
}

.category-icon {
    font-size: 2rem;
}

.category-desc {
    margin: 0.75rem 0 0 0;
    font-size: 1.1rem;
    color: var(--js-neutral);
}

/* Single column layout for docent card */
.portal-grid[style*="grid-template-columns: 1fr"] .portal-card {
    max-width: 900px;
    margin: 0 auto;
}

/* Choice Cards - Professional & User Friendly */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    transition: all 0.3s ease;
}

.choice-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    transition: transform 0.3s ease;
}

.student-choice::before {
    background: linear-gradient(90deg, var(--js-primary), var(--js-success));
}

.teacher-choice::before {
    background: linear-gradient(90deg, var(--js-warning), var(--js-secondary));
}

.choice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.student-choice:hover {
    border-color: var(--js-primary);
}

.teacher-choice:hover {
    border-color: var(--js-warning);
}

.choice-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.choice-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--js-dark);
}

.choice-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--js-neutral);
    text-align: center;
    margin-bottom: 2rem;
}

.choice-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--js-gray-50);
    border-radius: 12px;
}

.mini-feature {
    font-size: 0.95rem;
    color: var(--js-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.choice-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.student-choice .choice-btn:hover {
    background: var(--js-success);
    transform: scale(1.02);
}

.teacher-choice .choice-btn:hover {
    background: var(--js-warning);
    transform: scale(1.02);
}

/* Student Trainings Section */
.student-trainings-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 968px) {
    .choice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .choice-features {
        grid-template-columns: 1fr;
    }
    
    .choice-card {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .choice-icon {
        font-size: 3rem;
    }
    
    .choice-card h3 {
        font-size: 1.5rem;
    }
    
    .choice-description {
        font-size: 1rem;
    }
}

/* Simpele Level Cards zoals screenshot */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.level-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--js-primary);
}

.card-level-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.level-tag {
    background: var(--js-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.docent-tag {
    background: var(--js-warning);
}

.level-description {
    font-size: 0.9rem;
    color: var(--js-neutral);
}

.card-subject {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--js-dark);
}

.card-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    font-size: 1rem;
    color: var(--js-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-stats-inline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--js-gray-50);
    border-radius: 8px;
}

.stat-item {
    font-size: 0.95rem;
    color: var(--js-neutral);
}

.stat-item strong {
    color: var(--js-dark);
    font-size: 1.1rem;
}

.btn-card {
    width: 100%;
    margin-top: auto;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

.docent-card {
    border-color: var(--js-warning);
}

.docent-card:hover {
    border-color: var(--js-warning);
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.15);
}

@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .card-level-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ========== TAB SYSTEM ========== */
.tab-system-container {
    background: var(--js-gray-50);
    padding-bottom: 150px;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0 0 0;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: white;
    border: 2px solid var(--js-gray-200);
    color: var(--js-neutral);
    padding: 0.875rem 1.75rem;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    background: var(--js-gray-100);
    border-color: var(--js-primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--js-primary);
    color: white;
    border-color: var(--js-primary);
    box-shadow: 0 -4px 12px rgba(37, 99, 235, 0.2);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--js-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        border-radius: 8px;
    }
    
    .tab-btn.active::after {
        display: none;
    }
}

/* ========== STRATEGY SELECTOR ========== */
.strategy-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.strategy-select-btn {
    background: white;
    border: 3px solid var(--js-gray-200);
    border-radius: 1rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.strategy-select-btn:hover {
    border-color: var(--js-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
}

.strategy-select-btn.active {
    border-color: var(--js-primary);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.strategy-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.strategy-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--js-dark);
}

.strategy-desc {
    font-size: 1rem;
    color: var(--js-neutral);
    font-weight: 500;
}

/* ========== STRATEGY FOLDERS ========== */
.strategy-folder {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.strategy-folder.active {
    display: block;
}

.folder-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 900px;
    margin: 0 auto 100px auto;
}

.folder-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 900px;
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.95) translateX(-50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.folder-page.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    pointer-events: all;
    z-index: 10;
}

.folder-page.prev {
    transform: scale(0.9) translateX(-100px);
    opacity: 0;
}

.folder-page.next {
    transform: scale(0.9) translateX(100px);
    opacity: 0;
}

/* ========== FOLDER CONTENT STYLES ========== */
.inside-header {
    text-align: center;
    margin-bottom: 3rem;
}

.inside-header h2 {
    font-size: 2.5rem;
    color: var(--js-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.inside-header .subtitle {
    font-size: 1.25rem;
    color: var(--js-neutral);
    font-weight: 500;
}

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

.column {
    background: var(--js-gray-50);
    border-radius: 1rem;
    padding: 2rem;
}

.column-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.column .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.column .tagline {
    font-size: 0.9rem;
    color: var(--js-neutral);
    font-weight: 500;
}

.column-list {
    list-style: none;
    padding: 0;
}

.column-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--js-gray-200);
    line-height: 1.6;
}

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

.column-verkennen {
    border-left: 4px solid var(--js-info);
}

.column-uitvoeren {
    border-left: 4px solid var(--js-warning);
}

.column-reflecteren {
    border-left: 4px solid var(--js-success);
}

/* ========== EXAMPLE STYLES ========== */
.example-problem {
    background: var(--js-light);
    padding: 1.5rem;
    border-left: 4px solid var(--js-primary);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.vur-example-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vur-example-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.verkennen-bg {
    background: rgba(8, 145, 178, 0.1);
    border-left: 4px solid var(--js-info);
}

.uitvoeren-bg {
    background: rgba(217, 119, 6, 0.1);
    border-left: 4px solid var(--js-warning);
}

.reflecteren-bg {
    background: rgba(5, 150, 105, 0.1);
    border-left: 4px solid var(--js-success);
}

.example-label {
    font-size: 1.5rem;
    font-weight: 800;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.example-content {
    flex: 1;
    line-height: 1.7;
}

/* ========== FORMAT BOXES (for Kleine-Vragen) ========== */
.format-box {
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.format-box h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.format-list {
    margin-left: 1.5rem;
    line-height: 1.8;
}

.format-list li {
    margin-bottom: 0.75rem;
}

/* ========== PAGE NAVIGATION BUTTONS ========== */
.page-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--js-gray-200);
}

.nav-button {
    background: var(--js-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-button:hover {
    background: var(--js-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-button.prev-btn {
    background: var(--js-neutral);
}

.nav-button.prev-btn:hover {
    background: var(--js-dark);
}

.nav-button:only-child {
    margin-left: auto;
}

/* ========== DETAIL PAGE STYLES ========== */
.detail-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--js-primary);
}

.detail-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.detail-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--js-dark);
    margin-bottom: 0.5rem;
}

.detail-subtitle {
    font-size: 1.125rem;
    color: var(--js-neutral);
}

.detail-content {
    margin-top: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    font-size: 1.4rem;
    color: var(--js-dark);
    margin-bottom: 1rem;
}

.detail-section h4 {
    font-size: 1.1rem;
    color: var(--js-primary);
    margin: 1rem 0 0.5rem 0;
}

.strategy-intro {
    background: var(--js-light);
    padding: 1.5rem;
    border-left: 4px solid var(--js-primary);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.strategy-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* ========== QUESTION WORDS GRID (KLEINE-VRAGEN STRATEGY) ========== */
.question-words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.question-card {
    background: white;
    border: 2px solid var(--js-gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.question-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: var(--js-primary);
}

.question-card.highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid var(--js-primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.question-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.question-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--js-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.question-examples {
    list-style: none;
    padding: 0;
    margin: 0;
}

.question-examples li {
    padding: 0.5rem 0;
    color: var(--js-neutral);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--js-gray-100);
}

.question-examples li:last-child {
    border-bottom: none;
}

.question-examples li::before {
    content: "→ ";
    color: var(--js-primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ========== KV QUESTION BLOCKS (DETAIL PAGES) ========== */
.kv-question-block {
    background: var(--js-gray-50);
    border-left: 5px solid var(--js-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.kv-q-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--js-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kv-q-content {
    color: var(--js-neutral);
    line-height: 1.8;
}

.kv-q-content p {
    margin: 0.75rem 0;
}

.kv-q-content p strong {
    color: var(--js-dark);
}

/* ========== EXAMPLE BOX ========== */
.example-box {
    background: var(--js-gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 2px solid var(--js-info);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.example-box h4 {
    color: var(--js-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.example-box p {
    margin: 0.5rem 0;
    line-height: 1.7;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    .strategy-selector {
        grid-template-columns: 1fr;
    }
    
    .three-columns {
        grid-template-columns: 1fr;
    }
    
    .folder-page {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .inside-header h2 {
        font-size: 1.75rem;
    }
    
    .page-nav-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-button {
        width: 100%;
    }
    
    .question-words-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .question-card {
        padding: 1.25rem;
    }
    
    .question-card h3 {
        font-size: 1.3rem;
    }
    
    .question-icon {
        font-size: 2rem;
    }
    
    .kv-question-block {
        padding: 1.25rem;
    }
    
    .kv-q-label {
        font-size: 1.1rem;
    }
    
    .example-box {
        padding: 1.25rem;
    }
}


/* ========== VUR FOLDER SPECIFIC STYLES ========== */

/* Cover Page */
.cover-page {
    background: linear-gradient(135deg, var(--js-primary) 0%, var(--js-info) 50%, var(--js-success) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cover-content {
    width: 100%;
}

.cover-title h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0.5rem 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cover-subtitle {
    font-size: 1.5rem;
    margin: 2rem 0;
    opacity: 0.95;
    font-weight: 500;
}

.cover-branding {
    margin: 3rem 0;
    font-size: 1.125rem;
    opacity: 0.9;
}

.cover-branding p {
    margin: 0.5rem 0;
}

.cover-branding a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.cover-branding a:hover {
    opacity: 0.8;
}

.cover-year {
    font-size: 1rem;
    margin-top: 1rem !important;
}

.cover-contact {
    font-size: 0.95rem;
    margin-top: 1.5rem !important;
    line-height: 1.6;
}

.cover-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cover-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Inside Page Intro Image */
.inside-intro-image {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.inside-intro-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--js-primary);
    margin-bottom: 1rem;
}

.intro-text p {
    font-size: 1.2rem;
    color: var(--js-neutral);
    line-height: 1.6;
    margin: 0;
}

/* Mindset Boxes */
.mindset-boxes {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mindset-box {
    background: white;
    border: 2px solid var(--js-success);
    border-radius: 0.75rem;
    padding: 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-align: center;
    color: var(--js-success);
    width: 100%;
}

.mindset-arrow {
    font-size: 1.5rem;
    color: var(--js-success);
    font-weight: bold;
}

/* Detail Pages */
.detail-page .detail-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #e5e7eb;
}

.detail-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.detail-page .detail-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--js-primary);
    margin-bottom: 0.5rem;
}

.detail-subtitle {
    font-size: 1.25rem;
    color: var(--js-neutral);
    font-weight: 500;
}

.detail-image {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-content > h3 {
    font-size: 1.75rem;
    color: var(--js-dark);
    margin: 2rem 0 1.5rem;
    font-weight: 700;
}

.detail-important {
    background: linear-gradient(135deg, var(--js-warning) 0%, #fbbf24 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.detail-important p {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.detail-techniques {
    margin: 2rem 0;
}

.detail-techniques h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--js-dark);
    margin-bottom: 1.5rem;
}

.detail-techniques p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--js-neutral);
    margin-bottom: 1rem;
}

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

.technique-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technique-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--js-primary);
}

.technique-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--js-dark);
    margin-bottom: 0.75rem;
}

.technique-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--js-neutral);
    margin: 0;
}

/* Summary Page */
.summary-page .summary-header {
    text-align: center;
    margin-bottom: 3rem;
}

.summary-page .summary-header h2 {
    font-size: 2.5rem;
    color: var(--js-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.summary-page .summary-header .subtitle {
    font-size: 1.25rem;
    color: var(--js-neutral);
    font-weight: 500;
}

.summary-content {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.summary-list {
    list-style: none;
    padding: 0;
}

.summary-list li {
    background: #f8fafc;
    border-left: 4px solid var(--js-success);
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--js-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.summary-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile responsive for VUR folder */
@media (max-width: 968px) {
    .inside-intro-image {
        flex-direction: column;
        text-align: center;
    }

    .inside-intro-image img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .cover-image {
        max-width: 400px;
    }

    .cover-title h1 {
        font-size: 2.5rem;
        margin: 0.3rem 0;
    }

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

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

@media (max-width: 640px) {
    .inside-intro-image img {
        width: 100%;
        max-width: 250px;
    }

    .intro-text h3 {
        font-size: 1.5rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .cover-title h1 {
        font-size: 2rem;
    }

    .cover-subtitle {
        font-size: 1.2rem;
    }
}
