/* =========================
   PREMIUM CONTACT MODAL
========================= */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 35, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;

    animation: overlayFade 0.3s ease;
}

@keyframes overlayFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.overlay-content {
    position: relative;
    width: 100%;
    max-width: 480px;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);

    border-radius: 28px;

    padding: 40px 35px;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.12),
        0 2px 10px rgba(0,0,0,0.08);

    overflow: hidden;

    animation: popupScale 0.35s ease;
}

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

/* Decorative Glow */
.overlay-content::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(108, 99, 255, 0.18);
    border-radius: 50%;
    top: -70px;
    right: -70px;
    filter: blur(20px);
}

.overlay-content::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(0, 200, 255, 0.15);
    border-radius: 50%;
    bottom: -60px;
    left: -60px;
    filter: blur(18px);
}

.overlay-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.overlay-content p {
    text-align: center;
    color: #6b7280;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Inputs */
.overlay-content input,
.overlay-content textarea {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    background: rgba(255,255,255,0.85);

    border-radius: 16px;

    padding: 16px 18px;
    margin-bottom: 18px;

    font-size: 15px;
    font-weight: 500;
    color: #111827;

    outline: none;

    transition: all 0.3s ease;

    position: relative;
    z-index: 2;
}

.overlay-content textarea {
    min-height: 130px;
    resize: none;
}

.overlay-content input:focus,
.overlay-content textarea:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 5px rgba(108, 99, 255, 0.12);
    transform: translateY(-1px);
}

/* Placeholder */
.overlay-content input::placeholder,
.overlay-content textarea::placeholder {
    color: #9ca3af;
}

/* Premium Button */
.overlay-content button {
    width: 100%;
    border: none;

    background: linear-gradient(
        135deg,
        #6c63ff,
        #5b8cff,
        #3ec7ff
    );

    color: white;

    padding: 16px;

    border-radius: 16px;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.35s ease;

    box-shadow:
        0 10px 25px rgba(92, 99, 255, 0.35);

    position: relative;
    overflow: hidden;
    z-index: 2;
}

.overlay-content button:hover {
    transform: translateY(-3px) scale(1.01);

    box-shadow:
        0 18px 35px rgba(92, 99, 255, 0.42);
}

.overlay-content button:active {
    transform: scale(0.98);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0,0,0,0.05);

    color: #111827;

    font-size: 24px;
    cursor: pointer;

    transition: all 0.3s ease;

    z-index: 5;
}

.close-btn:hover {
    background: #111827;
    color: white;
    transform: rotate(90deg);
}

/* Mobile */
@media (max-width: 600px) {

    .overlay-content {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .overlay-content h2 {
        font-size: 26px;
    }

    .overlay-content input,
    .overlay-content textarea {
        padding: 14px 16px;
    }

}