/* =========================================================
   "Get the Blueprint" lead-capture modal.
   ========================================================= */

.ycm-bp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ycm-bp-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.ycm-bp-modal.is-open {
	display: flex;
}

.ycm-bp-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(2px);
}

.ycm-bp-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 448px;
	background: #fff;
	border-radius: 20px;
	padding: 40px 36px 30px;
	box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
	text-align: center;
	overflow: hidden;
	animation: ycm-bp-pop 0.18s ease;
}

/* Gradient accent strip at the top of the dialog */
.ycm-bp-modal__dialog::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #2f6bff, #6aa0ff);
}

/* Icon badge */
.ycm-bp-modal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: #eef3ff;
	color: #2f6bff;
	margin-bottom: 16px;
}

.ycm-bp-modal__badge {
	display: inline-block;
	background: #e7f8ef;
	color: #16a34a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}

@keyframes ycm-bp-pop {
	from { transform: translateY(10px) scale(0.98); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.ycm-bp-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 34px;
	height: 34px;
	border: none;
	background: #f1f5f9;
	border-radius: 50%;
	color: #6b7280;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ycm-bp-modal__close:hover { background: #e5e7eb; color: #111827; }

.ycm-bp-modal__title {
	font-size: 26px;
	font-weight: 800;
	color: #111827;
	margin: 0 0 8px;
}

.ycm-bp-modal__intro {
	font-size: 15px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0 auto 24px;
	max-width: 340px;
}

.ycm-bp-field {
	text-align: left;
	margin-bottom: 16px;
}

.ycm-bp-field label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	margin-bottom: 7px;
}

.ycm-bp-field input {
	width: 100%;
	height: 50px;
	border: 1px solid #e5e7eb;
	border-radius: 9px;
	padding: 0 14px;
	font: inherit;
	font-size: 15px;
	color: #1f2937;
	box-sizing: border-box;
}

.ycm-bp-field input:focus {
	outline: none;
	border-color: #2f6bff;
	box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

.ycm-bp-form__submit {
	width: 100%;
	margin-top: 6px;
	background: #2f6bff;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 15px 24px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ycm-bp-form__submit:hover { background: #1f57e6; }

.ycm-bp-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.ycm-bp-form__msg {
	margin: 14px 0 0;
	font-size: 14px;
	min-height: 18px;
	color: #ef4444;
}

.ycm-bp-form__msg.is-ok { color: #16a34a; }

/* Privacy note */
.ycm-bp-modal__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 18px 0 0;
	font-size: 13px;
	color: #9ca3af;
}

.ycm-bp-modal__note svg { flex: 0 0 auto; }

/* Success view */
.ycm-bp-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: #e7f8ef;
	color: #16a34a;
	margin-bottom: 18px;
}

.ycm-bp-success__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 6px;
	background: #2f6bff;
	color: #fff;
	border-radius: 10px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.ycm-bp-success__link:hover { background: #1f57e6; color: #fff; }

@media (max-width: 480px) {
	.ycm-bp-modal__dialog { padding: 32px 22px 26px; }
	.ycm-bp-modal__title { font-size: 22px; }
}
