/* LeadsFlow Kit — GBP Audit Popups */

:root {
    --lfk-gold: #D4AF37;
    --lfk-gold-lt: #e8cc6a;
    --lfk-navy: #0A2540;
    --lfk-navy-lt: #112f52;
}

/* Overlay */
#lfk-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 17, 31, 0.75);
    z-index: 99998;
    backdrop-filter: blur(3px);
    animation: lfkFadeIn 0.3s ease forwards;
}
#lfk-overlay.active { display: block; }

/* Popup base */
.lfk-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    z-index: 99999;
    width: 92%;
    max-width: 480px;
    background: var(--lfk-navy);
    border-radius: 16px;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.lfk-popup.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Gold top bar */
.lfk-popup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--lfk-gold);
    border-radius: 16px 16px 0 0;
}

/* Close button */
.lfk-close {
    position: absolute;
    top: 14px; right: 16px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.lfk-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Badge */
.lfk-popup-badge {
    display: inline-block;
    background: var(--lfk-gold);
    color: var(--lfk-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.lfk-popup-badge--exit {
    background: #e74c3c;
    color: #fff;
}

/* Icon */
.lfk-popup-icon {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
}

/* Title */
.lfk-popup-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    margin: 0 0 12px !important;
    letter-spacing: -0.01em;
}

/* Body */
.lfk-popup-body {
    font-size: 14px;
    color: rgba(255,255,255,0.68);
    line-height: 1.65;
    margin: 0 0 18px;
}

/* Checklist */
.lfk-popup-list {
    list-style: none;
    padding: 0; margin: 0 0 24px;
    text-align: left;
    display: inline-block;
}
.lfk-popup-list li {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    padding: 3px 0;
    font-weight: 500;
}
.lfk-popup-list li::before { color: var(--lfk-gold); }

/* CTA Button */
.lfk-popup-btn {
    display: block;
    background: var(--lfk-gold);
    color: var(--lfk-navy) !important;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    margin-bottom: 14px;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.01em;
}
.lfk-popup-btn:hover {
    background: var(--lfk-gold-lt);
    transform: translateY(-1px);
    text-decoration: none !important;
    color: var(--lfk-navy) !important;
}

/* Dismiss */
.lfk-popup-dismiss {
    font-size: 11px;
    color: rgba(255,255,255,0.28);
    cursor: pointer;
    margin: 0;
    transition: color 0.15s;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lfk-popup-dismiss:hover { color: rgba(255,255,255,0.5); }

/* Animations */
@keyframes lfkFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Mobile */
@media (max-width: 540px) {
    .lfk-popup { padding: 32px 22px 26px; }
    .lfk-popup-title { font-size: 19px !important; }
    .lfk-popup-btn { font-size: 14px; padding: 13px 18px; }
}
