.wd-overlay[hidden],
.wd-topbar[hidden] {
	display: none !important;
}

:root {
	--wd-primary: #f97316;
	--wd-secondary: #fbbf24;
	--wd-dark: #0f172a;
}

html.wd-no-scroll,
html.wd-no-scroll body {
	overflow: hidden;
}

.wd-topbar {
	position: sticky;
	top: 0;
	z-index: 9998;
	background: linear-gradient(90deg, var(--wd-dark), var(--wd-primary), var(--wd-secondary));
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.wd-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
}

.wd-topbar__pill {
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wd-topbar__text {
	font-weight: 700;
}

.wd-topbar__actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.wd-topbar__cta,
.wd-topbar__close {
	border: 0;
	cursor: pointer;
}

.wd-topbar__cta {
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--wd-dark);
	font-weight: 800;
}

.wd-topbar__close {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 24px;
	line-height: 1;
}

.wd-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.62);
	backdrop-filter: blur(4px);
}

.wd-modal {
	position: relative;
	width: min(860px, 100%);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 24px;
	background: #fffaf3;
	color: #111827;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.wd-close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: transparent;
	color: #475569;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.wd-badge {
	padding: 14px 50px 14px 20px;
	background: linear-gradient(90deg, var(--wd-secondary), var(--wd-primary));
	color: #fff;
	font-weight: 800;
	text-align: center;
}

.wd-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 12px;
	padding: 26px;
}

.wd-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	border-radius: 18px;
	background: radial-gradient(circle at top, #ffe2ad, #ffd17d 42%, #ffb100 75%, #ff8f1f 100%);
}

.wd-lock {
	color: #fff;
	font-size: 76px;
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 12px 18px rgba(0, 0, 0, 0.18);
}

.wd-spark {
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.95);
	transform: rotate(45deg);
}

.wd-spark--1 { top: 22%; left: 18%; }
.wd-spark--2 { top: 18%; right: 20%; }
.wd-spark--3 { right: 24%; bottom: 22%; }

.wd-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4px 8px;
}

.wd-content h2 {
	margin: 0 0 8px;
	color: var(--wd-dark);
	font-size: clamp(32px, 5vw, 56px);
	line-height: 0.98;
	letter-spacing: 0;
}

.wd-subheadline {
	margin: 0 0 8px;
	color: #334155;
	font-size: 20px;
	font-weight: 600;
}

.wd-proof {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 18px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(30, 41, 59, 0.08);
	color: var(--wd-dark);
	font-size: 14px;
	font-weight: 700;
}

.wd-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.wd-form input {
	height: 56px;
	padding: 0 16px;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	background: #fff;
	font-size: 16px;
}

.wd-form button {
	height: 56px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(180deg, var(--wd-primary), #ea580c);
	box-shadow: 0 14px 28px rgba(255, 106, 0, 0.32);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
}

.wd-form button:hover,
.wd-topbar__cta:hover {
	transform: translateY(-1px);
}

.wd-feedback {
	min-height: 24px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 700;
}

.wd-feedback.is-success { color: #047857; }
.wd-feedback.is-error { color: #b91c1c; }
.wd-feedback.is-loading { color: #334155; }

.wd-smallprint {
	margin: 10px 0 0;
	color: #64748b;
	font-size: 13px;
}

@media (max-width: 767px) {
	.wd-overlay {
		align-items: flex-start;
		padding: 14px;
	}

	.wd-modal {
		margin-top: 24px;
		border-radius: 20px;
	}

	.wd-grid {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.wd-visual {
		min-height: 140px;
	}

	.wd-lock {
		font-size: 54px;
	}

	.wd-content h2 {
		font-size: 34px;
	}

	.wd-subheadline {
		font-size: 17px;
	}

	.wd-topbar__inner {
		justify-content: space-between;
	}

	.wd-topbar__text {
		flex: 1 1 100%;
		order: 3;
		text-align: center;
	}
}
