/* ── Overlay ── */
.asgpop-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 30, 0.72);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

/* ── Box ── */
.asgpop-box {
	background: #ffffff;
	border-radius: 16px;
	padding: 44px 36px 36px;
	max-width: 440px;
	width: 100%;
	position: relative;
	text-align: center;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	box-sizing: border-box;
	animation: asgpopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes asgpopIn {
	from { opacity: 0; transform: scale(0.82) translateY(24px); }
	to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* ── Close ── */
.asgpop-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: #f3f4f6;
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: #6b7280;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}
.asgpop-close:hover { background: #e5e7eb; color: #111; }

/* ── Shield Icon ── */
.asgpop-shield {
	width: 68px;
	height: 68px;
	margin: 0 auto 18px;
	filter: drop-shadow(0 6px 16px rgba(108, 99, 255, 0.35));
}
.asgpop-shield svg { width: 100%; height: 100%; }

/* ── Eyebrow ── */
.asgpop-eyebrow {
	display: inline-block;
	background: linear-gradient(135deg, #6c63ff, #3b82f6);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	padding: 4px 14px;
	border-radius: 20px;
	margin: 0 0 14px;
}

/* ── Headline ── */
.asgpop-headline {
	font-size: 24px;
	font-weight: 800;
	color: #111827;
	line-height: 1.25;
	margin: 0 0 8px;
	letter-spacing: -0.3px;
}

/* ── Sub-headline ── */
.asgpop-subheadline {
	font-size: 15px;
	font-weight: 600;
	color: #4b5563;
	margin: 0 0 14px;
}

/* ── Body ── */
.asgpop-body {
	font-size: 14px;
	color: #6b7280;
	line-height: 1.65;
	margin: 0 0 22px;
}
.asgpop-highlight {
	background: linear-gradient(135deg, #6c63ff, #3b82f6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 700;
}

/* ── Coupon ── */
.asgpop-coupon-wrap {
	background: #f8f7ff;
	border: 1.5px dashed #a5b4fc;
	border-radius: 10px;
	padding: 12px 16px 14px;
	margin-bottom: 20px;
}
.asgpop-coupon-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #a0aec0;
	margin-bottom: 8px;
}
.asgpop-coupon-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.asgpop-coupon-code {
	font-family: 'Courier New', Courier, monospace;
	font-size: 20px;
	font-weight: 800;
	color: #4338ca;
	letter-spacing: 2px;
	line-height: 1;
}
.asgpop-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #fff;
	border: 1.5px solid #c7d2fe;
	border-radius: 6px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #4338ca;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
	white-space: nowrap;
}
.asgpop-copy-btn:hover  { background: #eef2ff; border-color: #818cf8; }
.asgpop-copy-btn.copied { background: #dcfce7; border-color: #86efac; color: #166534; }

/* ── CTA Button ── */
.asgpop-cta-btn {
	display: block;
	background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	padding: 14px 20px;
	border-radius: 10px;
	margin-bottom: 14px;
	letter-spacing: 0.2px;
	box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
	transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}
.asgpop-cta-btn:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(108, 99, 255, 0.45);
}
.asgpop-cta-btn:active { transform: scale(0.98); }

/* ── Dismiss Link ── */
.asgpop-dismiss-link {
	display: block;
	font-size: 12px;
	color: #9ca3af !important;
	text-decoration: none !important;
	transition: color 0.2s;
}
.asgpop-dismiss-link:hover { color: #6b7280 !important; text-decoration: underline !important; }

/* ── Lead Form (Step 1) ── */
#asgpop-lead-form input[type="text"],
#asgpop-lead-form input[type="email"] {
	display: block;
	width: 100%;
	padding: 11px 14px;
	margin-bottom: 10px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	font-size: 14px;
	color: #111827;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}
#asgpop-lead-form input:focus {
	border-color: #6c63ff;
}
#asgpop-lead-form button[type="submit"] {
	display: block;
	width: 100%;
	padding: 13px;
	background: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	letter-spacing: 0.2px;
	box-shadow: 0 6px 20px rgba(108, 99, 255, 0.35);
	transition: opacity 0.2s, transform 0.15s;
	margin-top: 4px;
}
#asgpop-lead-form button[type="submit"]:hover   { opacity: 0.9; transform: translateY(-1px); }
#asgpop-lead-form button[type="submit"]:active  { transform: scale(0.98); }
#asgpop-lead-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.asgpop-lead-error {
	margin: 8px 0 0;
	font-size: 12px;
	color: #dc2626;
	min-height: 16px;
}

/* ── Step 2 success icon ── */
.asgpop-success-icon {
	width: 54px;
	height: 54px;
	background: linear-gradient(135deg, #6c63ff, #3b82f6);
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 6px 18px rgba(108, 99, 255, .35);
}

/* ── Mobile ── */
@media (max-width: 480px) {
	.asgpop-box      { padding: 40px 20px 28px; }
	.asgpop-headline { font-size: 20px; }
}
