* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #762996 0%, #9b4bc9 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

#quiz-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    border-top: 5px solid #762996;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #762996, #9b4bc9);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.question {
    margin-bottom: 30px;
}

.question h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #762996;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.option:hover {
    border-color: #762996;
    background-color: #f8f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(118, 41, 150, 0.1);
}

.option.selected {
    border-color: #762996;
    background: linear-gradient(135deg, #762996, #9b4bc9);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(118, 41, 150, 0.3);
}

.option input[type="radio"] {
    margin-right: 10px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #762996;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #762996;
    box-shadow: 0 0 0 3px rgba(118, 41, 150, 0.1);
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.navigation button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#prevBtn {
    background-color: #6c757d;
    color: white;
}

#prevBtn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#nextBtn {
    background: linear-gradient(135deg, #762996, #9b4bc9);
    color: white;
    position: relative;
    overflow: hidden;
}

#nextBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(118, 41, 150, 0.4);
}

#nextBtn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#nextBtn:hover:before {
    left: 100%;
}

#prevBtn:disabled, #nextBtn:disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Estilos para o formulário inicial */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    margin-bottom: 20px;
    border-top: 5px solid #762996;
}

.form-container h2 {
    color: #762996;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.form-container p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

#userInfoForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

#userInfoForm .input-group {
    text-align: left;
}

#userInfoForm input {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#userInfoForm input:focus {
    outline: none;
    border-color: #762996;
    box-shadow: 0 0 0 3px rgba(118, 41, 150, 0.1);
}

#userInfoForm button {
    padding: 15px;
    background: linear-gradient(135deg, #762996, #9b4bc9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

#userInfoForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(118, 41, 150, 0.4);
}

#userInfoForm button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#userInfoForm button:hover:before {
    left: 100%;
}

#email-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    border-top: 5px solid #762996;
}

#email-form h2 {
    color: #762996;
    margin-bottom: 15px;
}

#email-form p {
    color: #666;
    margin-bottom: 25px;
}

#emailForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

#userEmail {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#userEmail:focus {
    outline: none;
    border-color: #762996;
    box-shadow: 0 0 0 3px rgba(118, 41, 150, 0.1);
}

#emailForm button {
    padding: 15px;
    background: linear-gradient(135deg, #762996, #9b4bc9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#emailForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(118, 41, 150, 0.4);
}

#loading {
    background: white;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-top: 5px solid #762996;
}

#loading p {
    font-size: 1.2rem;
    color: #762996;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-option:hover {
    border-color: #762996;
    background-color: #f8f4ff;
}

.checkbox-option.selected {
    border-color: #762996;
    background-color: #f8f4ff;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #762996;
}

/* Estilos para range inputs */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    margin: 15px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #762996, #9b4bc9);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(118, 41, 150, 0.3);
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(118, 41, 150, 0.4);
}

input[type="range"]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #762996, #9b4bc9);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(118, 41, 150, 0.3);
}

/* Destaque para a cor secundária */
.highlight-secondary {
    color: #ffd600;
    font-weight: bold;
}

.accent-tertiary {
    color: #9b4bc9;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    #quiz-container, #email-form, .form-container {
        padding: 20px;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .navigation button {
        width: 100%;
    }
} 