/* ========================================
   RF DIGITAL - GESTOR DE TRÁFEGO
   Tema: Roxo/Preto Premium
   ======================================== */

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== CORES ===== */
:root {
    --roxo-principal: #8B5CF6;
    --roxo-escuro: #6D28D9;
    --roxo-claro: #A78BFA;
    --laranja: #FF6B35;
    --preto: #000000;
    --cinza-escuro: #1a1a1a;
    --cinza-medio: #2a2a2a;
    --branco: #ffffff;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(32px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--branco);
}

.hero-title .highlight {
    color: var(--roxo-principal);
    display: block;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.cta-button {
    background: var(--roxo-principal);
    color: var(--branco);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    padding: 24px 60px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: var(--roxo-escuro);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.6);
}

.social-proof {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--preto);
    margin-left: -12px;
    object-fit: cover;
}

.avatar:first-child {
    margin-left: 0;
}

.social-proof p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   FORMULÁRIO OVERLAY
   ======================================== */
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--preto);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.form-overlay.active {
    display: flex;
}

.form-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    padding: 40px 20px;
}

.step-content.center {
    text-align: center;
}

.step-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--branco);
}

.step-title .highlight {
    color: var(--roxo-principal);
}

.step-title.reject {
    color: var(--branco);
}

.step-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    line-height: 1.6;
}

.step-question {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--branco);
    margin: 32px 0;
    font-weight: 500;
    line-height: 1.5;
}

.step-price {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--branco);
    margin: 24px 0;
}

/* ===== OPTIONS GROUP ===== */
.options-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.option-card {
    background: var(--cinza-escuro);
    border: 2px solid var(--cinza-medio);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-card:hover {
    border-color: var(--roxo-principal);
    background: rgba(139, 92, 246, 0.05);
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-card input[type="radio"]:checked ~ .radio-custom {
    background: var(--roxo-principal);
    border-color: var(--roxo-principal);
}

.option-card input[type="radio"]:checked ~ .radio-custom::after {
    opacity: 1;
    transform: scale(1);
}

.option-text {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    color: var(--branco);
}

.radio-custom {
    width: 28px;
    height: 28px;
    border: 2px solid var(--cinza-medio);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--branco);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

/* ===== TEXTAREA ===== */
.textarea-field {
    width: 100%;
    background: var(--cinza-escuro);
    border: 2px solid var(--cinza-medio);
    border-radius: 16px;
    padding: 20px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: var(--branco);
    resize: vertical;
    min-height: 150px;
    margin-bottom: 48px;
    transition: all 0.3s ease;
}

.textarea-field:focus {
    outline: none;
    border-color: var(--roxo-principal);
    background: rgba(139, 92, 246, 0.05);
}

.textarea-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* ===== INPUT FIELDS ===== */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.input-field {
    width: 100%;
    background: var(--cinza-escuro);
    border: 2px solid var(--cinza-medio);
    border-radius: 16px;
    padding: 20px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: var(--branco);
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--roxo-principal);
    background: rgba(139, 92, 246, 0.05);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* ===== BOTÕES ===== */
.btn-continue,
.btn-submit {
    width: 100%;
    background: var(--cinza-medio);
    color: var(--branco);
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-continue:hover,
.btn-submit:hover {
    background: var(--cinza-escuro);
    transform: translateY(-2px);
}

.btn-submit {
    background: var(--roxo-principal);
}

.btn-submit:hover {
    background: var(--roxo-escuro);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

/* ===== TELAS DE REJEIÇÃO ===== */
.reject-text {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 24px;
    line-height: 1.4;
}

.reject-text .highlight {
    color: var(--laranja);
}

.reject-description {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TELA DE SUCESSO ===== */
.success-icon {
    width: 100px;
    height: 100px;
    background: var(--roxo-principal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--branco);
    margin: 0 auto 32px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-text {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 24px;
    font-weight: 600;
}

/* ===== FOOTER CREDITS ===== */
.footer-credits {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credits .highlight {
    color: var(--laranja);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }

    .cta-button {
        width: 100%;
        padding: 20px 40px;
    }

    .social-proof {
        flex-direction: column;
    }

    .step-content {
        padding: 20px;
    }

    .option-card {
        padding: 20px;
    }

    .option-text {
        font-size: 16px;
    }

    .form-overlay {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .step-title {
        font-size: 24px;
    }

    .step-price {
        font-size: 32px;
    }

    .avatar {
        width: 32px;
        height: 32px;
    }
}

/* ===== LOADING STATE ===== */
.btn-continue:disabled,
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== SMOOTH TRANSITIONS ===== */
* {
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}