/* 
 * Premium Lead Capture Popup Styling
 * PoloFactory Custom Plugin
 */

#pf-lead-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85);
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 2147483000 !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#pf-lead-popup-overlay.active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

html.pf-popup-open,
html.pf-popup-open body {
    overflow: hidden;
}

#pf-lead-popup-container {
    background: #000;
    width: 90%;
    max-width: 900px;
    display: flex;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    color: #fff;
    font-family: 'Jost', sans-serif;
}

.pf-popup-image {
    flex: 1;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 768px) {
    .pf-popup-image {
        display: block;
    }
}

.pf-popup-content {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.pf-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    z-index: 9999;
}

.pf-popup-close:hover {
    opacity: 1;
}

.pf-popup-logo {
    width: 220px;
    margin: 0 auto 30px;
    display: block;
    filter: brightness(0) invert(1);
}

.pf-popup-headline {
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
}

.pf-popup-headline strong {
    font-weight: 700;
    color: #fff;
}

.pf-lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pf-input-group {
    position: relative;
}

.pf-lead-form input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.3s;
}

.pf-lead-form input:focus {
    border-color: #fff;
    outline: none;
}

.pf-submit-btn {
    margin-top: 10px;
    background: #fff;
    color: #000;
    border: none;
    padding: 18px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.pf-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.pf-popup-footer {
    margin-top: 25px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    letter-spacing: 0.5px;
}

.pf-success-message {
    display: none;
    text-align: center;
}

.pf-success-message h3 {
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&family=Inter:wght@400;700&display=swap');
