/* --- TEST POZIOMUJĄCY - PREMIUM LIGHT THEME --- */

.test-content {
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.test-container {
    width: 100%;
    max-width: 900px;
    padding: 70px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(241, 245, 249, 0.1);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

/* System widoków testu */
.test-view {
    display: none;
    flex-direction: column;
    width: 100%;
    animation: fadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.test-view.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WIDOK: INTRO */
#test-intro {
    text-align: center;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#test-intro h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1e293b;
    letter-spacing: -1.5px;
}

.test-desc {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 700px;
}

.test-info {
    display: flex;
    gap: 25px;
    margin-bottom: 60px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
}

/* WIDOK: PYTANIA */
.test-header {
    margin-bottom: 50px;
}

.progress-container {
    width: 100%;
    height: 10px;
    background: #f1f5f9;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #E20074, #3b82f6);
    border-radius: 20px;
    transition: width 0.4s ease;
}

.question-counter {
    font-size: 1rem;
    color: #64748b;
    float: left;
    font-weight: 500;
}

.current-level-indicator {
    float: right;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    color: #3b82f6;
    font-weight: 700;
}

.question-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 50px;
    text-align: center;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    text-align: left;
    padding: 22px 35px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 1.15rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.option-btn:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.option-btn.selected {
    background: #111;
    color: #fff;
    border-color: #111;
    font-weight: 600;
    transform: scale(1.02);
}

.test-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 35px;
    margin-top: 40px;
}

/* WIDOK: WYNIKI */
#test-results {
    text-align: center;
}

.level-result-box {
    background: transparent;
    padding: 20px 0 40px 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.level-result-box h3 {
    font-size: 1.1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.result-level {
    font-size: 7rem;
    font-weight: 900;
    background: linear-gradient(135deg, #E20074 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    line-height: 1;
}

.result-desc {
    font-size: 1.25rem;
    color: #334155;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.result-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
    text-align: left;
}

.result-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(241, 245, 249, 0.1);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.result-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strengths-card h4 {
    color: #10b981;
}
.improvements-card h4 {
    color: #f59e0b;
}

.result-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-card ul li {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 18px;
    position: relative;
    padding-left: 32px;
    line-height: 1.6;
}

.result-card ul li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2rem;
}
.strengths-card ul li::before {
    content: "✓";
    color: #10b981;
}
.improvements-card ul li::before {
    content: "→";
    color: #f59e0b;
}

.result-actions {
    margin-top: 50px;
}

@media(max-width: 768px) {
    .test-container {
        padding: 40px 25px;
    }

    .question-text {
        font-size: 1.4rem;
    }

    .result-details-grid {
        grid-template-columns: 1fr;
    }
}
@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 175, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(255, 71, 175, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 175, 0); }
}
