* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.1em;
}

.section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-primary, .btn-secondary, .btn-cta {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #3498db;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.question-card {
    margin-bottom: 20px;
}

.question-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.question-card .category {
    display: inline-block;
    padding: 4px 12px;
    background: #ecf0f1;
    border-radius: 12px;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.question-card .high-risk {
    background: #e74c3c;
    color: white;
    margin-left: 10px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.option:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.option.selected {
    border-color: #3498db;
    background: #e3f2fd;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.results-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.score-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.score-card.overall {
    grid-column: 1 / -1;
}

.score-display {
    font-size: 3em;
    font-weight: bold;
    color: #3498db;
    margin: 10px 0;
}

.grade {
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.grade.excellent { background: #2ecc71; color: white; }
.grade.good { background: #3498db; color: white; }
.grade.fair { background: #f39c12; color: white; }
.grade.at-risk { background: #e74c3c; color: white; }

.category-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.chart-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.risk-item {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.risk-item.high {
    background: #f8d7da;
    border-left-color: #e74c3c;
}

.risk-item h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.risk-item .remediation {
    color: #555;
    margin-top: 10px;
    padding-left: 15px;
    border-left: 2px solid #ddd;
}

.actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.cta-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.cta-banner p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.btn-cta {
    background: white;
    color: #667eea;
    font-weight: bold;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media print {
    body { background: white; }
    .actions, .cta-banner, .btn-primary, .btn-secondary { display: none; }
}
