/* Assessment Page Styles */
.assessment-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.assessment-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.assessment-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Assessment Container */
.assessment-container {
    padding: 3rem 0;
    min-height: 60vh;
}

.assessment-progress {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Question Card */
.question-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.question-card h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
}

.option-btn.selected {
    border-color: var(--primary-color);
    background: #eff6ff;
    color: var(--primary-color);
}

/* Results Card */
.results-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.risk-score {
    display: inline-block;
    text-align: center;
}

.score-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Risk levels */
.risk-low {
    color: var(--success-color);
}

.risk-medium {
    color: #f59e0b;
}

.risk-high {
    color: #ef4444;
}

.risk-critical {
    color: #dc2626;
}

/* Risk Categories */
.risk-categories {
    margin-bottom: 3rem;
}

.risk-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid;
}

.risk-category.low {
    border-left-color: var(--success-color);
}

.risk-category.medium {
    border-left-color: #f59e0b;
}

.risk-category.high {
    border-left-color: #ef4444;
}

.risk-category.critical {
    border-left-color: #dc2626;
}

.category-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
}

.category-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

.category-score {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Recommendations */
.recommendations h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.recommendation-priority {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 2px;
}

.recommendation-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.recommendation-content p {
    margin: 0 0 1rem 0;
    color: var(--text-light);
}

.recommendation-action {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.3s;
}

.recommendation-action:hover {
    background: var(--secondary-color);
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-secondary {
    padding: 12px 24px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Why Assessment Section */
.why-assessment {
    background: var(--bg-light);
    padding: 4rem 0;
}

.why-assessment h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .question-card,
    .results-card {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .option-btn {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .score-number {
        font-size: 3rem;
    }
}