/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FAF5FF 0%, #FFF1F3 100%);
    min-height: 100vh;
    padding: 0;
    color: #1F2937;
}

body > .container {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.quiz-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 20px;
}

/* Brand Section */
.brand-section {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-header .brand-section {
    margin-bottom: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /*padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);*/
}

.logo-icon {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
}

.logo-text {
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(90deg, #AA2FC5 0%, #C42B9B 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: capitalize;
}

/* Quiz Container */
.quiz-container {
    background: #FFFCFD;
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #1F2937;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: #e8e1eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #9932E1 0%, #D9277A 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 10%;
}

/* Question Counter */
.question-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(90deg, #9932E1 0%, #D9277A 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 0 auto 25px;
    box-shadow: 0 6px 16px rgba(153, 50, 225, 0.25);
    width: fit-content;
}

.question-counter span {
    color: #fff;
}

/* Question Section */
.question-section {
    margin-bottom: 30px;
}

.question-title {
    font-size: 20px;
    background: linear-gradient(90deg, #AA2FC5 0%, #C42B9B 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
}

.question-text {
    font-size: 18px;
    color: #1F2937;
    margin-bottom: 25px;
    line-height: 1.6;
}

.question-hero-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.12);
    display: block;
}

.question-image-container {
    max-width: 100%;
    margin-bottom: 20px;
}

.question-instruction {
    font-size: 14px;
    color: #f857a6;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(248, 87, 166, 0.1);
    border-radius: 10px;
    border-left: 4px solid #f857a6;
}

/* Options Container */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    background: #FFFCFD;
    border: 2px solid #E7E0EA;
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1F2937;
}

.option:hover {
    border-color: #CBA0E9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(153, 50, 225, 0.18);
}

.option.selected {
    background: #FFFCFD;
    border-color: #D9277A;
    box-shadow: 0 8px 20px rgba(216, 39, 124, 0.2);
    color: #1F2937;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #A24CF3 0%, #983BED 100%);
    box-shadow: 0 6px 12px rgba(162, 76, 243, 0.25);
    flex-shrink: 0;
}

.option-letter[data-letter="A"] {
    background: linear-gradient(135deg, #A24CF3 0%, #983BED 100%);
}

.option-letter[data-letter="B"] {
    background: linear-gradient(135deg, #E94394 0%, #DF3080 100%);
}

.option-letter[data-letter="C"] {
    background: linear-gradient(135deg, #F13A5B 0%, #E3204A 100%);
}

.option-letter[data-letter="D"] {
    background: linear-gradient(135deg, #8957F5 0%, #7F40EF 100%);
}

.option-letter:empty {
    display: none;
}

.option-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
}

.option.selected .option-text {
    color: #1F2937;
}

.fantasy-text-section {
    margin-top: 15px;
}

.fantasy-text-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.fantasy-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E7E0EA;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #1F2937;
    background: #FFFCFD;
    resize: vertical;
    min-height: 90px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fantasy-textarea:focus {
    outline: none;
    border-color: #CBA0E9;
    box-shadow: 0 0 0 3px rgba(170, 47, 197, 0.1);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.btn-primary {
    background: linear-gradient(to top, #D8277C 0%, #d232dd 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(216, 39, 124, 0.35);
    color: #fff;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #e0e0e0;
    color: #1F2937;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

/* Email Section */
.email-section {
    background: #FFFCFD;
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #1F2937;
}

.email-title {
    font-size: 28px;
    background: linear-gradient(90deg, #AA2FC5 0%, #C42B9B 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
}

.email-text {
    font-size: 16px;
    color: #1F2937;
    margin-bottom: 30px;
    line-height: 1.6;
}

#emailForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.email-input {
    width: 100%;
    padding: 18px 25px;
    border: 3px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

.btn-submit {
    width: 100%;
}

.email-body-text {
    text-align: left;
    margin-bottom: 30px;
    color: #1F2937;
    line-height: 1.8;
}

.email-body-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.email-body-text p strong {
    color: #AA2FC5;
    font-weight: 600;
}

.report-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0;
    margin: 25px 0 25px 0;
}

.report-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px 15px;
    background: #FFFCFD;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(170, 47, 197, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.report-feature-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.report-feature-card strong {
    color: #AA2FC5;
    font-size: 15px;
    line-height: 1.3;
}

.report-feature-card span {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .report-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .report-feature-card {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 14px;
    }

    .report-feature-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .report-feature-card strong,
    .report-feature-card span {
        display: block;
    }
}

.unlock-message {
    font-size: 17px;
    font-weight: 600;
    color: #AA2FC5;
    margin-top: 25px;
    margin-bottom: 30px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.05), rgba(247, 151, 197, 0.05));
    border-radius: 15px;
    border-left: 4px solid #764ba2;
}

.privacy-guarantee {
    background: linear-gradient(135deg, rgba(170, 47, 197, 0.08), rgba(196, 43, 155, 0.08));
    padding: 18px 20px;
    border-radius: 15px;
    font-size: 13px;
    color: #1F2937;
    line-height: 1.7;
    text-align: left;
    border: 2px solid rgba(118, 75, 162, 0.15);
}

.privacy-guarantee strong {
    color: #AA2FC5;
    font-weight: 600;
}

/* Loading Section */
.loading-section {
    background: #FFFCFD;
    border-radius: 30px;
    padding: 60px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #1F2937;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #AA2FC5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-section p {
    font-size: 18px;
    color: #1F2937;
}

/* Result Section */
.result-section {
    /*background: #FFFCFD;*/
    border-radius: 30px;
    padding: 50px 30px;
    /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);*/
    text-align: center;
    color: #1F2937;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.result-title {
    font-size: 32px;
    background: linear-gradient(90deg, #AA2FC5 0%, #C42B9B 100%);
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
}

.result-text {
    font-size: 16px;
    color: #1F2937;
    margin-bottom: 25px;
    line-height: 1.6;
}

.result-text strong {
    color: #D8277C;
}

.result-profile {
    font-size: 20px;
    color: #1F2937;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(170, 47, 197, 0.08) 0%, rgba(196, 43, 155, 0.08) 100%);
    border-radius: 15px;
}

.result-profile strong {
    font-size: 24px;
    color: #AA2FC5;
    display: block;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .quiz-container,
    .email-section,
    .loading-section,
    .result-section {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .logo {
        padding: 12px 25px;
    }

    .logo-icon {
        font-size: 36px;
    }

    .logo-text {
        font-size: 28px;
    }

    .question-title {
        font-size: 18px;
    }

    .question-text {
        font-size: 16px;
    }

    .option {
        padding: 15px;
    }

    .option-text {
        font-size: 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .result-title {
        font-size: 26px;
    }

    .result-profile {
        font-size: 18px;
    }

    .result-profile strong {
        font-size: 20px;
    }
}

/* Animation for transitions */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries para Desktop */
@media (min-width: 768px) {
    .container {
        max-width: 700px;
    }
    
    .quiz-container,
    .email-section,
    .loading-section,
    .result-section {
        padding: 50px 40px;
    }
    
    .question-title {
        font-size: 22px;
    }
    
    .question-text {
        font-size: 20px;
        line-height: 1.8;
    }
    
    .options-container {
        gap: 20px;
    }
    
    .option {
        padding: 25px;
        font-size: 17px;
    }
    
    .option-text {
        font-size: 17px;
    }
    
    .btn {
        padding: 16px 35px;
        font-size: 17px;
    }
    
    .email-title {
        font-size: 32px;
    }
    
    .email-text {
        font-size: 18px;
    }
    
    .email-input {
        padding: 20px 28px;
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
    }
    
    .quiz-container,
    .email-section,
    .loading-section,
    .result-section {
        padding: 60px 50px;
    }
    
    .question-title {
        font-size: 24px;
    }
    
    .question-text {
        font-size: 21px;
    }
    
    .option {
        padding: 28px 30px;
        font-size: 18px;
        transition: all 0.3s ease, box-shadow 0.3s ease;
    }
    
    .option:hover {
        box-shadow: 0 8px 20px rgba(118, 75, 162, 0.25);
    }
    
    .option-text {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 900px;
    }
}

/* Estilos para análise da IA */
.ia-analysis {
    background: #FFFCFD;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ia-analysis h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.ia-analysis h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 12px;
}

.ia-analysis p {
    color: #1F2937;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.ia-analysis ul {
    margin: 15px 0;
    padding-left: 25px;
}

.ia-analysis li {
    color: #1F2937;
    font-size: 1.02em;
    line-height: 1.7;
    margin-bottom: 10px;
}

.ia-analysis strong {
    color: var(--primary-color);
    font-weight: 600;
}

.ia-analysis em {
    font-style: italic;
    color: #1F2937;
}

/* Estilos para loading durante análise */
.loading-section p {
    font-size: 1.1em;
    color: #1F2937;
    margin-top: 20px;
}

.result-actions {
    margin-top: 30px;
}

