* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #f5f7fb 0%, #eef2ff 100%);
    color: #1e293b;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px 60px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease-out;
}

h1 {
    margin: 0 0 12px;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

header > p {
    font-size: 1.1rem;
    margin: 0;
    color: #475569;
}

p {
    line-height: 1.7;
    color: #334155;
}

.card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 32px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.form-card {
    display: grid;
    gap: 16px;
}

label {
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 8px;
}

input[type="email"], input[type="text"], select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="email"]:focus, input[type="text"]:focus, select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

button:hover, .button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

button:active, .button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid;
    animation: slideIn 0.4s ease-out;
}

.alert.error { 
    background: #fef2f2; 
    color: #991b1b;
    border-left-color: #dc2626;
}

.alert.success { 
    background: #f0fdf4; 
    color: #166534;
    border-left-color: #22c55e;
}

.alert.info { 
    background: #f0f9ff; 
    color: #0c4a6e;
    border-left-color: #0284c7;
}

.timer-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
    padding: 24px 28px;
    border-radius: 18px;
    margin-bottom: 28px;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.1);
}

.timer-box span {
    font-size: 2.5rem;
    font-weight: 800;
    color: #d946ef;
    font-variant-numeric: tabular-nums;
}

.timer-box p {
    margin: 0;
    font-weight: 600;
    color: #831843;
}

.question-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.question-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.step-card {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.step-card.active {
    display: block;
}

.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #f1f5f9;
}

.wizard-actions button {
    flex: 1;
    min-width: 120px;
}

.hidden {
    display: none !important;
}

.step-status {
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#stepError {
    margin-top: 16px;
}

.question-header {
    margin-bottom: 24px;
}

.question-header span {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6366f1;
}

.question-header p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
}

.question-image img {
    width: 100%;
    max-width: 560px;
    border-radius: 16px;
    margin-top: 20px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.option-label {
    display: block;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    font-weight: 500;
    color: #334155;
}

.option-label:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateX(4px);
}

.option-label input[type="radio"] {
    margin-right: 14px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.option-label input[type="radio"]:checked + span,
.option-label input[type="radio"]:checked ~ span {
    font-weight: 700;
}

/* Estilos para as opções coloridas (como na imagem) */
.option-label.option-green {
    background: #f0fdf4;
    border-color: #86efac;
}

.option-label.option-green:hover {
    background: #e0fddf;
    border-color: #22c55e;
}

.option-label.option-green input[type="radio"]:checked + span,
.option-label.option-green input[type="radio"]:checked ~ span {
    color: #166534;
}

.option-label.option-yellow {
    background: #fefce8;
    border-color: #fde047;
}

.option-label.option-yellow:hover {
    background: #fffccc;
    border-color: #eab308;
}

.option-label.option-yellow input[type="radio"]:checked + span,
.option-label.option-yellow input[type="radio"]:checked ~ span {
    color: #78350f;
}

.option-label.option-pink {
    background: #fdf2f8;
    border-color: #fbcfe8;
}

.option-label.option-pink:hover {
    background: #fce7f3;
    border-color: #f472b6;
}

.option-label.option-pink input[type="radio"]:checked + span,
.option-label.option-pink input[type="radio"]:checked ~ span {
    color: #831843;
}

.option-label.option-blue {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.option-label.option-blue:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
}

.option-label.option-blue input[type="radio"]:checked + span,
.option-label.option-blue input[type="radio"]:checked ~ span {
    color: #0c4a6e;
}

.submit-button {
    width: 100%;
    margin-top: 12px;
}

.motivation-box {
    background: linear-gradient(135deg, #eef2ff 0%, #f3e8ff 100%);
    border-left: 4px solid #6366f1;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #312e81;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

.info-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.info-box p {
    margin: 12px 0;
}

.info-box strong {
    color: #1e293b;
}

.info-list,
.bullet-list {
    padding-left: 24px;
    margin: 12px 0;
}

.info-list li,
.bullet-list li {
    margin-bottom: 12px;
    color: #334155;
    font-weight: 500;
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 0 16px 40px;
    }

    h1 {
        font-size: 2rem;
    }

    .card {
        padding: 20px;
    }

    .timer-box {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .wizard-actions {
        flex-direction: column;
    }

    .wizard-actions button {
        width: 100%;
    }

    .question-header p {
        font-size: 1rem;
    }

    .option-label {
        padding: 14px 16px;
    }

    .motivation-box {
        font-size: 1rem;
        padding: 16px 20px;
    }
}
