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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.assessment-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.assessment-screen {
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    animation: fadeIn 0.3s ease-in;
}

.assessment-screen.active {
    display: block;
}

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

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.5em;
}

h2 {
    color: #34495e;
    margin-bottom: 25px;
    font-size: 1.6em;
}

h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.assessment-intro {
    text-align: center;
    font-size: 1.1em;
    color: #5a6c7d;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.assessment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #3498db;
    margin-bottom: 10px;
}

.feature-item p {
    color: #5a6c7d;
    font-size: 0.9em;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

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

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

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #27ae60;
    color: white;
}

.btn-secondary:hover {
    background-color: #229954;
}

.assessment-header {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
    width: 0%;
}

.section-indicator {
    text-align: center;
    color: #5a6c7d;
    font-size: 1.1em;
}

.section-indicator span {
    color: #3498db;
    font-weight: 600;
}

.answer-container {
    margin-bottom: 30px;
}

.answer-option {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    font-size: 1.05em;
}

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

.answer-option.selected {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:hover {
    background-color: #e9ecef;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-option label {
    cursor: pointer;
    flex: 1;
}

.slider-container {
    margin: 20px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #5a6c7d;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
}

.slider-value {
    text-align: center;
    margin-top: 10px;
    font-size: 1.8em;
    color: #3498db;
    font-weight: 600;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.risk-score-container {
    text-align: center;
    margin-bottom: 40px;
}

.risk-meter {
    width: 300px;
    height: 150px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(to right, #27ae60 0%, #f39c12 50%, #e74c3c 100%);
    border-radius: 150px 150px 0 0;
    overflow: hidden;
}

.risk-meter-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ecf0f1;
    transform-origin: bottom center;
    transition: transform 1s ease;
}

.risk-meter-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
}

.risk-breakdown {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.risk-categories {
    display: grid;
    gap: 25px;
}

.risk-category {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.risk-bar {
    width: 100%;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.risk-bar-fill {
    height: 100%;
    background-color: #3498db;
    transition: width 1s ease;
    width: 0%;
}

.recommendations-section {
    margin-bottom: 30px;
}

.recommendations-list {
    display: grid;
    gap: 15px;
}

.recommendation-item {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.recommendation-item h4 {
    color: #27ae60;
    margin-bottom: 8px;
}

.recommendation-priority {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e74c3c;
    color: white;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 10px;
}

.recommendation-priority.medium {
    background-color: #f39c12;
}

.recommendation-priority.low {
    background-color: #3498db;
}

.coverage-gaps {
    background-color: #fef5e7;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.coverage-gaps ul {
    list-style-type: none;
    padding-left: 0;
}

.coverage-gaps li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.coverage-gaps li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.action-plan {
    background-color: #ebf5fb;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.action-plan ol {
    padding-left: 20px;
}

.action-plan li {
    padding: 8px 0;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.cta-section h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.cta-section p {
    color: #5a6c7d;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .assessment-container {
        margin: 20px auto;
        padding: 10px;
    }
    
    .assessment-screen {
        padding: 25px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .assessment-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .risk-meter {
        width: 250px;
        height: 125px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .navigation-buttons button {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}