#ads_popup,
#starter_popup,
#standard_popup,
#optymalny_popup,
#rozszerzony_popup {
    position: fixed;
    z-index: 99999 !important;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
}
.popup {
    background: var(--white);
    border-radius: 28px;
    box-shadow:
        0 2px 0 rgba(255,255,255,0.9) inset,
        0 32px 72px rgba(76,29,149,0.18),
        0 4px 16px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    animation: rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── HEADER ── */
.popup-header {
    background: linear-gradient(135deg, #5B21B6 0%, #3B0D8A 100%);
    padding: 26px 26px 22px;
    position: relative;
    overflow: hidden;
}

/* dekoracyjne kółka w tle headera */
.popup-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,240,0,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.popup-header::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -20px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(200,240,0,0.15);
    border: 1px solid rgba(200,240,0,0.3);
    border-radius: 100px;
    padding: 3px 10px 3px 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 10px;
}
.header-eyebrow span {
    width: 5px; height: 5px;
    background: var(--lime);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}
.popup-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
}
.close-btn {
    position: absolute;
    top: 18px; right: 18px;
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: background 0.15s, color 0.15s;
}
.close-btn:hover { background: rgba(255,255,255,0.2); color: white; }
.close-btn svg { width: 12px; height: 12px; display: block; }

/* ── BODY ── */
.popup-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.lead-text {
    font-size: 12.5px;
    color: #9090A8;
    font-weight: 500;
    margin-bottom: 1px;
}

/* ── FIELDS ── */
.field {
    position: relative;
    margin-bottom: 11px;
}
.field input {
    width: 100%;
    background: #F5F5FA;
    border: 1.5px solid transparent;
    border-radius: 14px;
    padding: 13px 16px 13px 46px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #BABACF; font-weight: 400; }
.field input:focus {
    border-color: var(--violet);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(109,40,217,0.08);
}
.field-icon {
    position: absolute;
    left: 15px;
    /* top: 50%; */
    top: 24px;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    color: #BABACF;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 5;
}
.field-icon p {
    margin: 0 !important;
}
.field:focus-within .field-icon { color: var(--violet); }
.field-icon svg { width: 16px; height: 16px; display: block; }

/* ── RODO ── */
.rodo label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 2px 0;
    font-size: 11px;
    color: #9090A8;
    line-height: 1.3;
    cursor: pointer;
    text-transform: unset;
    letter-spacing: normal;
    font-weight: 400;
}
.rodo input[type="checkbox"] {
    width: 16px; 
    height: 16px;
    accent-color: var(--violet);
    flex-shrink: 0;
    margin-top: 1px;
    cursor: pointer;
    border-radius: 5px;
    padding: 0;
    appearance: auto;
}
.rodo label a {
    color: var(--violet);
    text-decoration: none;
    font-weight: 600;
}
.wpcf7-list-item {
    margin: 0 !important;
}
.wpcf7-spinner {
    display: none !important;
}

/* ── CTA ── */
.btn-submit {
    width: 100%;
    background: var(--lime);
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    padding: 15px;
    cursor: pointer;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    margin-top: 2px;
}
.btn-submit svg { width: 15px; height: 15px; transition: transform 0.2s; }
.btn-submit:hover svg { transform: translateX(3px); }
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200,240,0,0.38);
    filter: brightness(1.04);
}
.btn-submit:active { transform: translateY(0); box-shadow: none; }

/* ── DIVIDER ── */
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
}
.divider-line { flex: 1; height: 1px; background: #e6e6f0; }
.divider span { font-size: 11px; color: #9090A8; font-weight: 500; white-space: nowrap; }

/* ── CALL BTN ── */
.btn-call {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #F5F5FA;
    border: 1.5px solid transparent;
    border-radius: 14px;
    padding: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn-call .call-icon {
    width: 28px; height: 28px;
    background: var(--violet);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.btn-call .call-icon svg { width: 13px; height: 13px; color: white; }
.btn-call:hover {
    border-color: var(--violet);
    background: white;
    box-shadow: 0 4px 16px rgba(109,40,217,0.1);
}