/* ==================== 2-FRAME LANDING POPUP MODAL ==================== */
.landing-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px;
}

.landing-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.landing-popup {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
    animation: popupSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 88vh;
}

@keyframes popupSlideUp {
    from {
        transform: translateY(25px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.landing-popup-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    min-height: 380px;
}

/* Frame 1: Image Frame */
.landing-popup-image-frame {
    position: relative;
    overflow: hidden;
    background: #002B21;
    display: flex;
    align-items: stretch;
}

.popup-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.popup-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 43, 33, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 208, 35, 0.4);
    color: #FFD023;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Frame 2: Content Frame */
.landing-popup-content-frame {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
}

.landing-popup-header {
    background: linear-gradient(135deg, #004236 0%, #005445 50%, #157E42 100%);
    padding: 16px 22px 14px;
    color: #FFFFFF;
    position: relative;
}

.landing-popup-header .popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 208, 35, 0.18);
    border: 1px solid rgba(255, 208, 35, 0.45);
    border-radius: 50px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #FFD023;
    margin-bottom: 6px;
}

.landing-popup-header .popup-badge .live-dot {
    width: 6px;
    height: 6px;
    background: #FFD023;
    box-shadow: 0 0 6px #FFD023;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.35); }
}

.landing-popup-header h2 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 4px;
    color: #FFFFFF;
    letter-spacing: -0.3px;
}

.popup-header-desc {
    font-size: 12.5px;
    opacity: 0.92;
    margin: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.landing-popup-body {
    padding: 14px 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: space-between;
}

.popup-list-intro {
    font-size: 11.5px;
    font-weight: 700;
    color: #005445;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.popup-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.popup-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #374151;
    line-height: 1.35;
}

.popup-benefits li.benefit-highlight {
    background: rgba(37, 211, 102, 0.09);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 6px;
    padding: 5px 8px;
    color: #065F46;
    font-weight: 500;
}

.popup-benefits li.benefit-highlight strong {
    color: #005445;
}

.popup-benefits li .check-icon {
    width: 17px;
    height: 17px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popup-benefits li .check-icon svg {
    width: 10px;
    height: 10px;
    stroke: #059669;
}

.popup-cta-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 2px;
}

.popup-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.32);
}

.popup-cta-primary:hover {
    background: #1fb855;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(37, 211, 102, 0.45);
}

.popup-cta-primary svg {
    width: 17px;
    height: 17px;
}

.popup-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: #005445;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid #005445;
    transition: all 0.2s ease;
    cursor: pointer;
}

.popup-cta-secondary:hover {
    background: #005445;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.popup-dismiss {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-dismiss:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}

.popup-dismiss svg {
    width: 16px;
    height: 16px;
}

.popup-footer-note {
    margin: 0;
    font-size: 11.5px;
    color: #6B7280;
    text-align: center;
}

/* Responsive & Ultra-Mobile Optimized */
@media (max-width: 768px) {
    .landing-popup {
        max-width: 440px;
        max-height: calc(100dvh - 32px);
        max-height: calc(100vh - 32px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 20px;
        margin: auto;
    }

    .landing-popup-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .landing-popup-image-frame {
        height: 130px;
    }

    .popup-hero-img {
        object-position: center 25%;
    }

    .popup-image-overlay {
        padding: 8px 12px;
    }

    .popup-image-tag {
        font-size: 9.5px;
        padding: 3px 9px;
    }

    .landing-popup-header {
        padding: 14px 18px 12px;
    }

    .landing-popup-header .popup-badge {
        font-size: 9.5px;
        padding: 3px 8px;
        margin-bottom: 6px;
        letter-spacing: 0.4px;
    }

    .landing-popup-header h2 {
        font-size: 16px;
        line-height: 1.25;
        margin: 0 0 4px;
    }

    .popup-header-desc {
        font-size: 12px;
        line-height: 1.4;
    }

    .landing-popup-body {
        padding: 12px 18px 16px;
        gap: 10px;
    }

    .popup-list-intro {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .popup-benefits {
        gap: 6px;
    }

    .popup-benefits li {
        font-size: 12px;
        line-height: 1.35;
        gap: 7px;
    }

    .popup-benefits li.benefit-highlight {
        padding: 5px 8px;
    }

    .popup-benefits li .check-icon {
        width: 15px;
        height: 15px;
        min-width: 15px;
    }

    .popup-benefits li .check-icon svg {
        width: 9px;
        height: 9px;
    }

    .popup-cta-group {
        gap: 7px;
        margin-top: 2px;
    }

    .popup-cta-primary {
        padding: 11px 16px;
        font-size: 13.5px;
        border-radius: 10px;
    }

    .popup-cta-primary svg {
        width: 17px;
        height: 17px;
    }

    .popup-cta-secondary {
        padding: 9px 14px;
        font-size: 12.5px;
        border-radius: 10px;
    }

    .popup-footer-note {
        font-size: 10.5px;
    }

    .popup-dismiss {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }
}

@media (max-width: 380px) {
    .landing-popup-image-frame {
        height: 110px;
    }

    .landing-popup-header {
        padding: 12px 14px 10px;
    }

    .landing-popup-header h2 {
        font-size: 15px;
    }

    .landing-popup-body {
        padding: 10px 14px 14px;
        gap: 8px;
    }

    .popup-benefits li {
        font-size: 11.5px;
    }
}