/* 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-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container principal */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Seções */
.section {
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    animation: fadeIn 0.6s ease-in-out;
}

.section.active {
    display: flex;
}

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

/* Logo */
.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
}

/* Seção inicial */
.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.4;
}

.product-name {
    color: #27ae60;
    font-weight: 600;
}

/* Botões principais */
.btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #229954, #27ae60);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Seções de perguntas */
.question-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.question-counter {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 500;
}

.question-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #2c3e50;
}

.options {
    display: grid;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.option-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.option-btn:hover {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f8fff8, #e8f5e8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

.option-btn:active {
    transform: scale(0.98);
}

/* Tela de carregamento */
.loading-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

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

.loading-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.loading-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.loading-steps {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.step {
    padding: 10px 0;
    font-size: 1.1rem;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.step.active {
    opacity: 1;
    color: #2ecc71;
    font-weight: 600;
}

/* Seção de resultado */
.result-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 60px 0;
}

.result-header {
    margin-bottom: 50px;
}

.result-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.result-subtitle {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.4;
}

/* Resumo do perfil */
.profile-summary {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: left;
}

.profile-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.profile-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.profile-value {
    color: #555;
    font-size: 1.1rem;
}

/* Seção de oferta */
.offer-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #27ae60, #2ecc71, #f39c12, #e74c3c);
}

.offer-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.offer-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

.price-container {
    margin-bottom: 30px;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.new-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.highlight {
    color: #27ae60;
    font-size: 2.5rem;
}

.benefits {
    text-align: left;
    margin-bottom: 30px;
}

.benefit {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #555;
}

.btn-cta {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
    }
    to {
        box-shadow: 0 5px 30px rgba(39, 174, 96, 0.6);
    }
}

.btn-cta:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #229954, #27ae60);
}

.urgency {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.1rem;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .question-title {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .option-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .result-title {
        font-size: 2rem;
    }
    
    .result-subtitle {
        font-size: 1.1rem;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-cta {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    .logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.7rem;
    }
    
    .question-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 10px;
    }
    
    .profile-summary,
    .offer-section {
        padding: 20px;
    }
    
    .new-price {
        font-size: 1.8rem;
    }
    
    .highlight {
        font-size: 2.2rem;
    }
}

