* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* Screen Management */
.screen {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.screen.active {
    display: block;
}

/* Welcome Screen */
.welcome-content {
    text-align: center;
}

.welcome-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.welcome-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.assessment-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.info-item {
    text-align: center;
}

.info-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.info-item .label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.what-you-get {
    text-align: left;
    background: #e8f4fd;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.what-you-get h3 {
    color: #2980b9;
    margin-bottom: 1rem;
}

.what-you-get ul {
    list-style: none;
    padding: 0;
}

.what-you-get li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Progress Bar */
.progress-bar {
    background: #ecf0f1;
    border-radius: 10px;
    height: 8px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #3498db, #2980b9);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    position: absolute;
    top: 15px;
    right: 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Question Container */
.principle-indicator {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.question-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.question-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: center;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.answer-option:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

.answer-option input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.answer-option input[type="radio"]:checked + .option-text {
    color: #2980b9;
    font-weight: 600;
}

.answer-option:has(input:checked) {
    border-color: #3498db;
    background: #e8f4fd;
}

.option-text {
    font-size: 1rem;
    color: #333;
}

.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: #e74c3c;
    color: white;
}

.btn-tertiary:hover:not(:disabled) {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Results Screen */
.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.results-intro {
    font-size: 1.1rem;
    color: #666;
}

.overall-score {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.score-interpretation h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.score-interpretation p {
    color: #666;
    line-height: 1.5;
}

.principle-scores {
    margin-bottom: 3rem;
}

.principle-score-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
    gap: 2rem;
}

.principle-name {
    font-weight: 600;
    color: #2c3e50;
}

.score-bar {
    width: 150px;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.score-value {
    font-weight: 700;
    color: #2980b9;
    min-width: 40px;
    text-align: right;
}

/* Color coding for scores */
.score-excellent { background: #27ae60; }
.score-good { background: #3498db; }
.score-average { background: #f39c12; }
.score-needs-improvement { background: #e74c3c; }

.recommendations {
    margin-bottom: 3rem;
}

.recommendations h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.recommendation-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.rec-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.rec-category h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.rec-category ul {
    list-style: none;
    padding: 0;
}

.rec-category li {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

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

.step-card {
    background: #e8f4fd;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.step-card h4 {
    color: #2980b9;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .assessment-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .overall-score {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .principle-score-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .score-bar {
        width: 100%;
    }
    
    .recommendation-categories {
        grid-template-columns: 1fr;
    }
    
    .question-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .results-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.screen.active {
    animation: fadeIn 0.5s ease;
}

.principle-score-item {
    animation: fadeIn 0.5s ease;
    animation-fill-mode: both;
}

.principle-score-item:nth-child(1) { animation-delay: 0.1s; }
.principle-score-item:nth-child(2) { animation-delay: 0.2s; }
.principle-score-item:nth-child(3) { animation-delay: 0.3s; }
.principle-score-item:nth-child(4) { animation-delay: 0.4s; }
.principle-score-item:nth-child(5) { animation-delay: 0.5s; }