/* ========== INSTAPMETINGSTOETSEN OVERZICHT STYLES ========== */

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.step-icon {
    position: relative;
    flex-shrink: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.step-content h3 {
    color: var(--js-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

/* Tests Section */
.tests-section {
    background: var(--js-light);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: none;
}

.test-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.test-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Level-specific styling */
.vwo-card .test-header {
    background: linear-gradient(135deg, var(--js-primary), var(--js-info));
}

.havo-card .test-header {
    background: linear-gradient(135deg, var(--js-success), var(--js-secondary));
}

.vmbo-card .test-header {
    background: linear-gradient(135deg, var(--js-warning), var(--js-accent));
}

.test-level {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.test-subject {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.test-content {
    padding: 2rem;
}

.test-content h3 {
    color: var(--js-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.test-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.domain-tag {
    background: var(--js-gray-100);
    color: var(--js-neutral);
    padding: 0.4rem 0.8rem;
    border-radius: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.test-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--js-gray-50);
    border-radius: 0.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--js-neutral);
    font-weight: 500;
}

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

.test-btn {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    text-align: center;
    display: block;
}

/* Quick Select */
.quick-select {
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.quick-select h3 {
    color: var(--js-dark);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quick-select p {
    color: var(--js-neutral);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.guide-item {
    background: var(--js-gray-50);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--js-primary);
}

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

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

.guide-item li {
    margin-bottom: 0.8rem;
    color: var(--js-neutral);
    line-height: 1.5;
}

.guide-item strong {
    color: var(--js-dark);
}

/* Benefits Section */
.benefits-section {
    background: white;
}

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

.benefit-card {
    background: var(--js-light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.benefit-card h3 {
    color: var(--js-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--js-neutral);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--js-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--js-gray-50);
}

.faq-question h3 {
    color: var(--js-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    background: var(--js-primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--js-neutral);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--js-primary) 0%, var(--js-success) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 200px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--js-neutral);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .test-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .selection-guide {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 0.8rem 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .test-content {
        padding: 1.5rem;
    }
    
    .quick-select {
        padding: 2rem 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Button hover effects */
.test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* VWO specific button styling */
.vwo-card .test-btn:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* HAVO specific button styling */
.havo-card .test-btn:hover {
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

/* VMBO specific button styling */
.vmbo-card .test-btn:hover {
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

/* Ensure all cards are visible */
.test-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    display: block !important;
}

.test-card:nth-child(1),
.test-card:nth-child(2),
.test-card:nth-child(3),
.test-card:nth-child(4),
.test-card:nth-child(5) {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

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

/* Accessibility improvements */
.faq-question:focus {
    outline: 2px solid var(--js-primary);
    outline-offset: 2px;
}

.test-btn:focus {
    outline: 2px solid var(--js-dark);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-bg-animation,
    .nav-toggle,
    .hero-buttons,
    .cta-section {
        display: none;
    }
    
    .hero {
        background: var(--js-primary);
        -webkit-print-color-adjust: exact;
    }
    
    .test-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}