/* Blog email-capture popup — skinned to the approved artifact design
   (teal/coral tokens, badge, pay-after-pass strip, mobile bottom sheet) */

.bots-popup {
	--bot-teal: #1FB6BD;
	--bot-teal-dark: #178A8F;
	--bot-coral: #F08775;
	--bot-coral-dark: #E26A57;
	--bot-text: #1A2632;
	--bot-text-soft: #5A6B7A;
	--bot-yellow-border: #E5B940;
	--bot-success-dark: #047857;

	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.bots-popup[hidden] { display: none; }

body.bots-popup-open { overflow: hidden; }

.bots-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 38, 50, 0.55);
}

.bots-popup__card {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 20px;
	padding: 18px 18px 20px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.bots-popup__grip {
	display: none;
	width: 36px;
	height: 4px;
	border-radius: 4px;
	background: #E2E8EE;
	margin: 0 auto 14px;
}

.bots-popup__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #F0F3F5;
	border: none;
	color: var(--bot-text-soft);
	font-size: 14px;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}

.bots-popup__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(31, 182, 189, 0.12);
	border: 1px solid rgba(31, 182, 189, 0.35);
	border-radius: 100px;
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 700;
	color: var(--bot-teal-dark);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.bots-popup__title {
	font-size: 21px;
	font-weight: 800;
	color: var(--bot-text);
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin: 0 0 8px;
	font-family: inherit;
}

.bots-popup__sub {
	font-size: 13.5px;
	color: var(--bot-text-soft);
	line-height: 1.5;
	margin: 0 0 12px;
}

.bots-popup__price-new { color: var(--bot-success-dark); font-weight: 800; }
.bots-popup__price-old { text-decoration: line-through; color: var(--bot-text-soft); }

.bots-popup__strip {
	display: flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #FFFDF5 0%, #FEF6E0 100%);
	border: 1.5px solid var(--bot-yellow-border);
	border-radius: 10px;
	padding: 9px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--bot-text);
	margin-bottom: 14px;
}

.bots-popup__trophy { font-size: 15px; flex-shrink: 0; }

.bots-popup__form { margin: 0; }

.bots-popup__hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
}

.bots-popup__email {
	width: 100%;
	border: 1.5px solid #D5DCE2;
	border-radius: 10px;
	padding: 13px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--bot-text);
	margin-bottom: 10px;
	outline: none;
	background: #fff;
}

.bots-popup__email:focus { border-color: var(--bot-teal); }
.bots-popup__email::placeholder { color: #9AA7B2; }

.bots-popup__submit {
	width: 100%;
	background: var(--bot-coral);
	color: #fff;
	border: none;
	padding: 14px;
	border-radius: 10px;
	font-family: inherit;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 2px 0 var(--bot-coral-dark);
	margin-bottom: 10px;
}

.bots-popup__submit:hover { background: var(--bot-coral-dark); }
.bots-popup__submit:disabled { opacity: 0.6; cursor: default; }

.bots-popup__decline {
	display: block;
	text-align: center;
	font-size: 12.5px;
	color: var(--bot-text-soft);
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: none;
	margin: 0 auto 8px;
	font-family: inherit;
	padding: 0;
}

.bots-popup__fine {
	text-align: center;
	font-size: 10.5px;
	color: #9AA7B2;
	line-height: 1.4;
	margin: 0;
}

.bots-popup__error {
	margin: 0 0 8px;
	font-size: 12.5px;
	text-align: center;
	color: #D23C3C;
}

.bots-popup__coupon {
	margin: 0 0 12px;
	padding: 13px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 3px;
	text-align: center;
	color: var(--bot-teal-dark);
	background: rgba(31, 182, 189, 0.08);
	border: 2px dashed var(--bot-teal);
	border-radius: 10px;
}

.bots-popup__cta {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--bot-coral);
	color: #fff !important;
	padding: 14px;
	border-radius: 10px;
	font-family: inherit;
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 2px 0 var(--bot-coral-dark);
	text-decoration: none;
}

.bots-popup__cta:hover { background: var(--bot-coral-dark); }

@media (max-width: 640px) {
	.bots-popup { align-items: flex-end; padding: 0; }

	.bots-popup__card {
		max-width: none;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
	}

	.bots-popup__grip { display: block; }
}
