/* Vibe SEO buy-flow modal — front-end on /seo-packages/. Scoped to
   .vp-buy-modal so theme styles don't leak in. */

.vp-buy-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(15, 23, 42, 0.55);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.vp-buy-modal.is-open { display: block; }

.vp-buy-modal__inner {
	position: absolute;
	top: 5vh;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border-radius: 10px;
	max-width: 760px;
	width: calc(100% - 32px);
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.vp-buy-modal__head {
	padding: 16px 22px;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.vp-buy-modal__head h2 {
	margin: 0;
	font-size: 18px;
	color: #1a3d9e;
}
.vp-buy-modal__close {
	background: transparent;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #6b7280;
}
.vp-buy-modal__close:hover { color: #1d2327; }

.vp-buy-modal__body {
	padding: 18px 22px;
	flex: 1;
	overflow-y: auto;
	line-height: 1.6;
	color: #1d2327;
	font-size: 14px;
}

.vp-buy-modal__foot {
	padding: 14px 22px;
	border-top: 1px solid #e5e7eb;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fafbfc;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.vp-buy-modal__agree-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 14px;
	cursor: pointer;
}
.vp-buy-modal__agree-row input { margin-top: 3px; }
.vp-buy-modal__foot input[type="email"],
.vp-buy-modal__foot input[type="text"] {
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #c7c9cd;
	border-radius: 6px;
	width: 100%;
	box-sizing: border-box;
}
.vp-buy-modal__error {
	color: #b32d2e;
	font-size: 13px;
	min-height: 18px;
}
.vp-buy-modal__cta {
	background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
	color: #fff;
	border: 0;
	padding: 12px 20px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.vp-buy-modal__cta:disabled {
	opacity: 0.6;
	cursor: wait;
}
.vp-buy-modal__cta:hover:not(:disabled) {
	background: linear-gradient(135deg, #db2777 0%, #9d174d 100%);
}

/* =================================================================
   [vibe_pricing_tiers] shortcode — Free / Pro / Agency card grid.
   ================================================================= */
.vp-tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	margin: 24px 0;
}
.vp-tier {
	position: relative;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d2327;
}
.vp-tier--featured {
	border: 2px solid #ec4899;
	box-shadow: 0 8px 28px rgba(236, 72, 153, 0.18);
}
.vp-tier__banner {
	position: absolute;
	top: -12px;
	right: 20px;
	background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.vp-tier__name {
	font-size: 18px;
	font-weight: 700;
	color: #1a3d9e;
}
.vp-tier__price {
	font-size: 36px;
	font-weight: 800;
	color: #1d2327;
	line-height: 1.1;
}
.vp-tier__period {
	font-size: 13px;
	font-weight: 400;
	color: #6b7280;
	margin-left: 4px;
}
.vp-tier__list {
	list-style: none;
	margin: 8px 0;
	padding: 0;
	flex: 1;
}
.vp-tier__list li {
	padding: 5px 0 5px 22px;
	position: relative;
	font-size: 13px;
	line-height: 1.45;
	color: #374151;
}
.vp-tier__list li::before {
	content: "✓";
	position: absolute;
	left: 2px;
	top: 5px;
	color: #16a34a;
	font-weight: 700;
}
.vp-tier__cta {
	display: inline-block;
	background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
	color: #fff !important;
	border: 0;
	padding: 12px 16px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}
.vp-tier__cta:hover {
	background: linear-gradient(135deg, #db2777 0%, #9d174d 100%);
	color: #fff !important;
}
.vp-tier__cta--free {
	background: linear-gradient(135deg, #1a3d9e 0%, #0a2680 100%);
}
.vp-tier__cta--free:hover {
	background: linear-gradient(135deg, #142e7a 0%, #061a5e 100%);
}
.vp-tier__cta--agency {
	background: linear-gradient(135deg, #84cc16 0%, #4d7c0f 100%);
}
.vp-tier__cta--agency:hover {
	background: linear-gradient(135deg, #65a30d 0%, #365314 100%);
}
.vp-tier__cta-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
}
.vp-tier__cta-secondary {
	font-size: 12px;
	color: #6b7280;
	text-decoration: underline;
	text-align: center;
}
.vp-tier__cta-secondary:hover {
	color: #be185d;
}
