:root {
    --azul-principal: #0D5AA6;
    --verde-limao: #CBE012;
    --branco: #FFFFFF;
    --sombra-leve: rgba(0, 0, 0, 0.1);
    --sombra-profunda: rgba(0, 0, 0, 0.25);
    --glassmorphism-bg: rgba(13, 90, 166, 0.5);
    --glassmorphism-border: rgba(255, 255, 255, 0.18);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--azul-principal);
    color: var(--branco);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Efeito de fundo animado */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%);
    animation: rotate 30s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Container principal */
.container {
    text-align: center;
    padding: 40px 30px;
    max-width: 700px;
    width: 90%;
    background: var(--glassmorphism-bg);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 var(--sombra-profunda);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glassmorphism-border);
    z-index: 1;
    position: relative;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.container.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-top: 0;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--verde-limao);
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 500;
}

p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Barra de Progresso */
.progresso {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progresso-barra {
    height: 100%;
    background: linear-gradient(90deg, var(--verde-limao), #A8D000);
    border-radius: 2px;
    transition: width 0.8s ease;
}

/* Botão Principal com Efeito Gloss */
.botao-gloss {
    background: linear-gradient(145deg, var(--verde-limao), #A8D000);
    color: var(--azul-principal);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(203, 224, 18, 0.3);
    margin: 10px;
}

.botao-gloss::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.botao-gloss:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(203, 224, 18, 0.4);
}

.botao-gloss:hover::before {
    top: -20%;
    left: -20%;
}

.botao-gloss:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(203, 224, 18, 0.3);
}

/* Botão Secundário */
.botao-secundario {
    background: transparent;
    color: var(--branco);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
}

.botao-secundario:hover {
    border-color: var(--verde-limao);
    color: var(--verde-limao);
    transform: translateY(-2px);
}

/* Container de Opções */
.opcoes-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* Botões de Opção */
.botao-opcao {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--branco);
    padding: 25px 20px;
    border-radius: 15px;
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.botao-opcao strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.botao-opcao span {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
}

.botao-opcao:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--verde-limao);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--sombra-leve);
}

.botao-opcao::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.botao-opcao:hover::before {
    left: 100%;
}

/* Seção de Recomendação */
.recomendacao-principal {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(203, 224, 18, 0.3);
}

.recomendacao-principal p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.recomendacao-secundaria {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.recomendacao-secundaria p {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 400;
}

/* Loading Animation */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--verde-limao);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        width: 95%;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    p {
        font-size: 1.1rem;
    }
    
    .botao-gloss {
        font-size: 1rem;
        padding: 15px 35px;
    }
    
    .botao-opcao {
        padding: 20px 15px;
    }
    
    .botao-opcao strong {
        font-size: 1rem;
    }
    
    .botao-opcao span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
        width: 98%;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .botao-gloss {
        font-size: 0.9rem;
        padding: 12px 30px;
    }
    
    .opcoes-container {
        gap: 12px;
    }
    
    .botao-opcao {
        padding: 18px 12px;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container:not(.hidden) {
    animation: fadeInUp 0.6s ease-out;
}

/* Micro-interações */
.botao-opcao:active {
    transform: scale(0.98);
}

.botao-gloss:focus,
.botao-secundario:focus,
.botao-opcao:focus {
    outline: 2px solid var(--verde-limao);
    outline-offset: 2px;
}
