:root {
    --primary-color: #E63888; /* Serasa Magenta */
    --primary-hover: #C52F75;
    --secondary-color: #2D3192; /* Serasa Dark Blue */
    --secondary-hover: #1F2266;
    --success-color: #28a745;
    --bg-light: #F7F8FA;
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 480px;
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin-top: 40px;
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid rgba(0,0,0,0.03);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fdf2f7;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid #f9dae8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1c5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-button {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 56, 136, 0.3);
    margin-bottom: 16px;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 56, 136, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.info-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.info-text::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
}

.secondary-button {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
    margin: 0 auto;
    display: block;
}

.secondary-button:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: #f0f1fa;
}

.links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 13px;
    margin-top: 24px;
}

.links button {
    color: #666;
    text-decoration: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s;
}

.links button:hover {
    color: var(--primary-color);
}

.links span {
    color: #ddd;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: #eee;
    color: var(--primary-color);
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    text-align: center;
}

.modal-content {
    display: none; /* ESSENCIAL: Esconde por padrão */
}

.modal-content.active {
    display: block; /* ESSENCIAL: Mostra apenas a ativa */
}

.modal-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.modal-list li {
    font-size: 14px;
    color: var(--text-dark);
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.modal-list li::before {
    content: "✓";
    position: absolute;
    left: 8px;
    color: var(--success-color);
    font-weight: bold;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #e8eaed;
    background: var(--white);
    color: #999;
}

.step-number.completed {
    background: var(--success-color);
    border-color: var(--success-color);
    color: var(--white);
}

.step-number.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 49, 146, 0.2);
}

.step-label {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
}

.step-separator {
    width: 30px;
    height: 2px;
    background: #e8eaed;
    margin-bottom: 15px;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: #666;
    font-size: 13px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

/* Slider Verificação */
.slider-container {
    margin: 24px 0;
}

.slider-track {
    width: 100%;
    height: 60px;
    background: #f1f3f4;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e8eaed;
}

.slider-button {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    box-shadow: 0 2px 8px rgba(45, 49, 146, 0.3);
    z-index: 2;
}

.slider-button::after {
    content: "›";
    color: var(--white);
    font-size: 28px;
    margin-left: 2px;
}

.slider-button.verified {
    background: var(--success-color);
}

.slider-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

/* Form Styling */
.form-group {
    margin: 24px 0;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 49, 146, 0.1);
}

/* FAQ Section */
.faq-section {
    width: 100%;
    max-width: 480px;
    margin-top: 40px;
    padding-top: 32px;
}

.faq-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    background: var(--white);
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
}

.faq-arrow {
    color: #999;
    font-size: 10px;
    transition: transform 0.3s;
}

.faq-item.open .faq-arrow {
    transform: rotate(90deg);
}

.faq-question-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    border-top: 1px solid #eee;
}

.faq-answer-text {
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* Footer */
footer {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 32px 24px;
        margin-top: 20px;
    }

    h1 {
        font-size: 22px;
    }

    .cta-button {
        font-size: 16px;
    }

    .modal {
        padding: 24px;
    }
}
