header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.screen {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Screen */
.welcome-content h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.main-prompt {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0 30px 0;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.1);
}

.main-prompt p {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

.welcome-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.personality-dimensions {
    list-style: none;
    margin: 30px 0;
}

.personality-dimensions li {
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

.personality-dimensions strong {
    color: #667eea;
}

.instructions {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#startBtn {
    display: block;
    margin: 30px auto;
    padding: 15px 50px;
    font-size: 18px;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

/* Question Container */
.question-container {
    min-height: 400px;
}

.section-title {
    color: #667eea;
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.section-description {
    background: #f0f7ff;
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    color: #495057;
    font-size: 0.95em;
    line-height: 1.6;
    white-space: pre-line;
}

.section-description:empty {
    display: none;
}

.question-text {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.4;
}

/* Answer Options */
.answer-options {
    margin: 30px 0;
}

/* Likert Scale */
.likert-scale {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.likert-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.likert-option:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.likert-option.selected {
    border-color: #667eea;
    background: #e8ebff;
}

.likert-option input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.likert-option label {
    cursor: pointer;
    flex: 1;
    font-size: 16px;
}

/* Multiple Choice */
.multiple-choice-option {
    display: block;
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.multiple-choice-option:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.multiple-choice-option.selected {
    border-color: #667eea;
    background: #e8ebff;
}

/* Text Input */
.text-input, .numeric-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.text-input:focus, .numeric-input:focus {
    outline: none;
    border-color: #667eea;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 15px;
}

/* Results */
.results-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555;
}

.result-item {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #667eea;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.result-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
}

.result-score {
    font-size: 1.5em;
    font-weight: 700;
    color: #667eea;
}

.result-bar-container {
    width: 100%;
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.result-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
}

.result-description {
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
}

.result-level {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 10px;
}

.level-low {
    background: #d1ecf1;
    color: #0c5460;
}

.level-medium {
    background: #fff3cd;
    color: #856404;
}

.level-high {
    background: #d4edda;
    color: #155724;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .screen {
        padding: 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .question-text {
        font-size: 1.2em;
    }

    .navigation-buttons {
        flex-direction: column;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}
