/* ═══════════════════════════════════════════════════════════════
   FOOTEDGE — POPUP LEAD MAGNET
   ═══════════════════════════════════════════════════════════════ */

/* ── OVERLAY ── */
#fe-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#fe-popup-overlay.fe-popup--visible {
    opacity: 1;
    visibility: visible;
}

/* ── MODAL ── */
.fe-popup {
    background: #0e0e14;
    border: 1px solid #1e1e2e;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 460px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0,255,135,0.08);
}

#fe-popup-overlay.fe-popup--visible .fe-popup {
    transform: translateY(0) scale(1);
}

/* ── CLOSE ── */
.fe-popup__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: #555;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s;
}
.fe-popup__close:hover { color: #e8e8f2; }

/* ── BADGE ── */
.fe-popup__badge {
    display: inline-block;
    background: rgba(0,255,135,0.12);
    color: #00ff87;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* ── TITLE ── */
.fe-popup__logo {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: #e8e8f2;
    margin-bottom: 6px;
}
.fe-popup__logo span { color: #00ff87; }

.fe-popup__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    color: #f0f0f0;
    margin-bottom: 8px;
}
.fe-popup__title em { color: #00ff87; font-style: normal; }

.fe-popup__sub {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* ── CHECKLIST ── */
.fe-popup__list {
    list-style: none;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.fe-popup__list li {
    font-size: 13px;
    color: #bbb;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.fe-popup__list li::before {
    content: '✓';
    color: #00ff87;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── FORM ── */
.fe-popup__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fe-popup__input {
    background: #161622;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #e8e8f2;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.fe-popup__input::placeholder { color: #444; }
.fe-popup__input:focus { border-color: #00ff87; }

.fe-popup__btn {
    background: #00ff87;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}
.fe-popup__btn:hover { background: #00cc6a; }
.fe-popup__btn:active { transform: scale(0.98); }
.fe-popup__btn:disabled { background: #1a3d2e; color: #2a6a4a; cursor: default; }

/* ── MESSAGES ── */
.fe-popup__msg {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
    text-align: center;
}
.fe-popup__msg--success {
    background: rgba(0,255,135,0.1);
    color: #00ff87;
    border: 1px solid rgba(0,255,135,0.2);
}
.fe-popup__msg--error {
    background: rgba(255,85,85,0.1);
    color: #ff7070;
    border: 1px solid rgba(255,85,85,0.2);
}

/* ── SUCCESS STATE ── */
.fe-popup__success {
    display: none;
    text-align: center;
    padding: 12px 0;
}
.fe-popup__success-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.fe-popup__success h3 {
    font-size: 18px;
    font-weight: 800;
    color: #00ff87;
    margin-bottom: 8px;
}
.fe-popup__success p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

/* ── LEGAL ── */
.fe-popup__legal {
    margin-top: 12px;
    font-size: 10px;
    color: #444;
    text-align: center;
    line-height: 1.5;
}

/* ── MOBILE ── */
@media (max-width: 480px) {
    .fe-popup {
        padding: 28px 20px 22px;
    }
    .fe-popup__title { font-size: 19px; }
}
