:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg: #f3f4f6;
    --text: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --border: #e5e7eb;
    --warning-bg: #fef3c7;
    --warning-text: #92400e;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 550px;
}

.warning-banner {
    background-color: var(--warning-bg);
    color: var(--warning-text);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #f59e0b;
}

.card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
}

.subtitle {
    color: var(--text-light);
    font-size: 15px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 14px;
    font-weight: 600;
}

input[type="text"],
input[type="email"] {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 30px 0;
}

.question {
    margin-bottom: 24px;
}

.question p {
    font-weight: 600;
    margin-bottom: 12px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.options label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.options label:hover {
    background-color: #f9fafb;
}

.options input:checked + label, 
.options label:has(input:checked) {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

button:hover {
    background-color: var(--primary-hover);
}

.hidden {
    display: none;
}

#result-screen {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 50px;
    margin-bottom: 16px;
}

#score-display {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0;
}

.note {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }
}
