/* ================================
   LEAD FORM (MATCHES CTA THEME)
================================ */

.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.contact-modal.show {
    display: flex;
}

/* Modal Card */
.contact-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 42px 38px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 35px 80px rgba(85, 58, 221, 0.35);
    overflow: hidden;
    animation: modalIn 0.35s ease;
}

/* Entrance */
@keyframes modalIn {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Ambient gradient particles (CTA style) */
.contact-box::before,
.contact-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    z-index: 0;
}

.contact-box::before {
    width: 180px;
    height: 180px;
    background: #fa33a1;
    top: -70px;
    left: -70px;
    animation: floatY 8s ease-in-out infinite;
}

.contact-box::after {
    width: 220px;
    height: 220px;
    background: #553add;
    bottom: -90px;
    right: -90px;
    animation: floatYReverse 10s ease-in-out infinite;
}

/* Keep content above */
.contact-box > * {
    position: relative;
    z-index: 2;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    font-size: 22px;
    cursor: pointer;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Heading */
#formView h3 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}

#formView p {
    font-size: 15.5px;
    color: #555;
    margin-bottom: 22px;
}

/* Inputs */
.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    font-size: 15px;
    margin-bottom: 16px;
    background: #fafafa;
}

.contact-box input:focus,
.contact-box textarea:focus {
    outline: none;
    border-color: #553add;
    box-shadow: 0 0 0 3px rgba(85, 58, 221, 0.08);
    background: #fff;
}

/* Submit button (same as CTA) */
.submit-btn {
    width: 100% !important;
    padding: 16px !important;
    border-radius: 999px !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    cursor: pointer !important;

    background: linear-gradient(90deg, #fa33a1 0%, #553add 100%) !important;
    box-shadow: 0 18px 40px rgba(85, 58, 221, 0.35) !important;
}

.submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 26px 60px rgba(85, 58, 221, 0.55) !important;
}

/* Success */
#successView {
    text-align: center;
}

.checkmark {
    font-size: 64px;
    color: #22c55e;
    animation: pop 0.4s ease;
}
