/* Newsletter Subscribe Popup */
.wgp-nl-overlay {
    position: fixed; inset: 0;
    background: rgba(7,17,38,0.6);
    backdrop-filter: blur(6px);
    z-index: 99998;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}
.wgp-nl-overlay.show { opacity: 1; visibility: visible; }

.wgp-nl-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 440px; width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.wgp-nl-overlay.show .wgp-nl-popup {
    transform: translateY(0) scale(1);
}

.wgp-nl-close {
    position: absolute; top: 14px; right: 16px;
    width: 32px; height: 32px;
    border: none; background: #f1f5f9;
    border-radius: 50%; cursor: pointer;
    font-size: 20px; color: #64748b;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.wgp-nl-close:hover { background: #e2e8f0; color: #0f172a; }

.wgp-nl-icon {
    width: 72px; height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.wgp-nl-popup h3 {
    font-size: 22px; font-weight: 700; color: #0f172a;
    margin-bottom: 8px;
}
.wgp-nl-popup > p {
    font-size: 14px; color: #64748b; line-height: 1.6;
    margin-bottom: 20px;
}

.wgp-nl-form { margin-bottom: 12px; }

.wgp-nl-input-wrap {
    display: flex; gap: 0;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.wgp-nl-input-wrap:focus-within {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}

.wgp-nl-input-wrap input {
    flex: 1;
    border: none; outline: none;
    padding: 14px 16px;
    font-size: 14px; color: #0f172a;
    background: transparent;
}
.wgp-nl-input-wrap input::placeholder { color: #94a3b8; }

.wgp-nl-submit {
    padding: 14px 24px;
    border: none; cursor: pointer;
    background: linear-gradient(135deg, #8B5CF6, #7c3aed);
    color: #fff; font-weight: 600; font-size: 14px;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
}
.wgp-nl-submit:hover { opacity: 0.9; }
.wgp-nl-submit:active { transform: scale(0.97); }

.wgp-nl-msg {
    font-size: 13px; margin-top: 10px;
    min-height: 20px;
}
.wgp-nl-msg.success { color: #16a34a; }
.wgp-nl-msg.error { color: #dc2626; }

.wgp-nl-note {
    font-size: 11px; color: #94a3b8;
    margin: 0;
}

@media (max-width: 480px) {
    .wgp-nl-popup { padding: 32px 20px 24px; }
    .wgp-nl-popup h3 { font-size: 19px; }
    .wgp-nl-input-wrap { flex-direction: column; border-radius: 10px; }
    .wgp-nl-submit { width: 100%; padding: 14px; border-radius: 0 0 8px 8px; }
}
