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

body { font-family: 'Inter', sans-serif; line-height: 1.6; color: #1a202c; background-color: #f0f4f8; }

h1, h2, h3 { font-family: 'Merriweather', serif; color: #2d3748; margin-bottom: 1rem; }

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

header { background-color: #2c3e50; color: #fff; padding: 3rem 0; text-align: center; border-bottom: 4px solid #e2e8f0; }
header h1 { color: #fff; font-size: 2.2rem; margin-bottom: 0.5rem; }
header p { font-size: 1.05rem; opacity: 0.9; max-width: 800px; margin: 0 auto; font-weight: 300; }

main { background: #fff; padding: 2.5rem; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); margin-top: -2.5rem; min-height: 500px; margin-bottom: 3rem; }

.hidden { display: none !important; }

.btn { display: inline-block; background: #2c3e50; color: #fff; padding: 12px 24px; border: none; border-radius: 6px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.btn:hover { background: #1a252f; transform: translateY(-1px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.btn-outline { background: transparent; border: 2px solid #2c3e50; color: #2c3e50; }
.btn-outline:hover { background: #2c3e50; color: #fff; }

.alert { padding: 1rem 1.25rem; border-radius: 6px; margin: 1.5rem 0; font-size: 0.95rem; line-height: 1.5; }
.alert-info { background-color: #ebf8ff; border-left: 4px solid #3182ce; color: #2c5282; }
.alert-warning { background-color: #fffff0; border-left: 4px solid #d69e2e; color: #744210; }

#progress-bar { width: 100%; background: #edf2f7; height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 1.5rem; }
#progress { height: 100%; background: #3182ce; width: 0%; transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

.question-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.75rem; margin-bottom: 1.5rem; }
.question-counter { font-weight: 700; color: #4a5568; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }
.sector-tag { background: #e2e8f0; color: #4a5568; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

#question-text { font-size: 1.35rem; color: #2d3748; margin-bottom: 2rem; min-height: 80px; font-weight: 500; line-height: 1.4; }

.options { display: flex; flex-direction: column; gap: 10px; }
.option-btn { background: #fff; border: 1px solid #cbd5e0; padding: 14px 20px; border-radius: 6px; font-size: 1rem; cursor: pointer; transition: all 0.2s; text-align: left; color: #4a5568; font-weight: 500; }
.option-btn:hover { border-color: #3182ce; background: #f7fafc; color: #2b6cb0; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }

.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.chart-wrapper { width: 100%; max-width: 450px; margin: 0 auto; background: #fafafa; border-radius: 8px; padding: 1rem; border: 1px solid #e2e8f0; }
.highlight { color: #3182ce; font-size: 1.8rem; font-family: 'Merriweather', serif; }

.section-title { border-bottom: 2px solid #e2e8f0; padding-bottom: 0.5rem; margin-bottom: 1rem; margin-top: 2rem; color: #2d3748; font-size: 1.4rem; }

.matches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.career-card { background: #fff; border: 1px solid #e2e8f0; border-left: 5px solid #3182ce; border-radius: 6px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.02); position: relative; overflow: hidden; }
.match-score { position: absolute; top: 1rem; right: 1rem; font-weight: 700; font-size: 0.9rem; color: #3182ce; background: #ebf8ff; padding: 2px 8px; border-radius: 4px; }
.career-card h4 { font-family: 'Inter', sans-serif; font-size: 1.15rem; color: #1a202c; margin-bottom: 0.75rem; padding-right: 3rem; }
.career-card p { font-size: 0.95rem; color: #4a5568; margin-bottom: 1rem; line-height: 1.5; }
.career-card .examples { font-size: 0.85rem; color: #4a5568; background: #f7fafc; padding: 0.75rem; border-radius: 4px; border: 1px solid #edf2f7; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.tag { background: #edf2f7; color: #4a5568; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }

.actions { display: flex; gap: 1rem; justify-content: center; margin-top: 3rem; border-top: 1px solid #e2e8f0; padding-top: 2rem; }

footer { text-align: center; padding: 2rem 0 3rem; color: #718096; font-size: 0.85rem; }

@media (max-width: 768px) {
    .results-grid { grid-template-columns: 1fr; }
    #question-text { font-size: 1.15rem; }
}

@media print {
    body { background: #fff; color: #000; }
    main { box-shadow: none; border: none; padding: 0; margin: 0; }
    header { background: #fff; color: #000; border-bottom: 2px solid #000; padding: 1rem 0; }
    header h1, header p { color: #000; }
    .btn, .actions, .alert-warning { display: none !important; }
    .results-grid { display: block; }
    .chart-wrapper { page-break-inside: avoid; margin-bottom: 2rem; border: none; }
    .career-card { page-break-inside: avoid; border: 1px solid #ccc; border-left: 5px solid #000; }
}
