/* ====== MODAL STYLES ====== */
.lead-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Classe .active que será adicionada via JS */
.lead-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lead-modal-card {
    position: relative;
    width: 100%;
    max-width: 28rem;
    margin: 0;
    
    /* Efeito Glassmorphism (Vidro) - Mais Transparente */
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    
    /* Animação */
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lead-modal-overlay.active .lead-modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-content {
    padding: 1.75rem 2rem;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(209, 213, 219, 1);
    width: 1.25rem;
    height: 1.25rem;
}

.modal-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-input::placeholder {
    color: rgba(209, 213, 219, 1);
}

.modal-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.modal-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    
    background-color: rgba(229, 231, 235, 0.9);
    color: rgb(17, 24, 39);
    
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-submit-btn:hover {
    background-color: white;
    transform: scale(1.03);
}

.modal-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-submit-btn .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-logo-wrapper {
    margin: 0.75rem auto 0.5rem;
    
    width: 6rem;
    height: 6rem;
    
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.modal-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.modal-selection-text {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.modal-selection-text .selection-highlight {
    font-weight: 600;
}

/* ====== UTILITIES ====== */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}
