@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

/* Plans & pricing page */

.em-pricing-page {
	--en-ink: #24324a;
	--en-muted: #4f5f78;
	--en-navy: #15233f;
	--en-blue: #1a73e8;
	--en-blue-deep: #0b57d0;
	--en-subhead: #6b778c;
	padding-top: var(--en-header-h, 48px) !important;
	padding-bottom: calc(var(--en-footer-h, 32px) + 24px) !important;
	min-height: 100vh;
	background:
		radial-gradient(1200px 420px at 12% -10%, rgba(26, 115, 232, 0.10), transparent 60%),
		linear-gradient(180deg, #eef5ff 0%, #f7fbff 40%, #ffffff 100%) !important;
	font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
	color: var(--en-ink) !important;
	box-sizing: border-box;
}

body.host_version.en-home-body .em-pricing-page h1,
body.host_version.en-home-body .em-pricing-page h2,
body.host_version.en-home-body .em-pricing-page h3 {
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}

.em-pricing-wrap {
	width: min(100%, 1080px);
	margin: 0 auto;
	padding: 40px 24px 56px;
	box-sizing: border-box;
}

.em-pricing-hero {
	text-align: center;
	margin: 0 0 28px;
}

.em-pricing-kicker {
	margin: 0 0 10px !important;
	color: var(--en-blue) !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
}

.em-pricing-title {
	margin: 0 0 10px !important;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.8rem, 3.2vw, 2.4rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
	color: var(--en-navy) !important;
}

.em-pricing-title .em-pro-accent {
	color: var(--en-blue) !important;
}

.em-pricing-lead {
	margin: 0 auto !important;
	max-width: 34rem;
	color: var(--en-muted) !important;
	font-size: 1.02rem !important;
	line-height: 1.55 !important;
	font-weight: 400 !important;
}

.em-pricing-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
	margin: 0 0 28px;
}

.em-pricing-page .em-billing-tabs,
.em-pricing-page ul.em-billing-tabs {
	display: inline-flex !important;
	flex-wrap: nowrap !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 0;
	margin: 0 !important;
	padding: 4px !important;
	list-style: none !important;
	background: #fff;
	border: 1px solid #d7e3f4;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(21, 35, 63, 0.04);
	white-space: nowrap !important;
}

.em-pricing-page .em-billing-tabs > li,
.em-pricing-page ul.em-billing-tabs > li {
	margin: 0 !important;
	float: none !important;
	display: inline-flex !important;
	flex: 0 0 auto !important;
	width: auto !important;
}

.em-pricing-page .em-billing-tabs > li > a,
.em-pricing-page ul.em-billing-tabs > li > a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 38px !important;
	padding: 0 18px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--en-muted) !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	white-space: nowrap !important;
}

.em-pricing-page .em-billing-tabs > li.active > a,
.em-pricing-page .em-billing-tabs > li > a:hover,
.em-pricing-page ul.em-billing-tabs > li.active > a {
	background: #1a73e8 !important;
	color: #fff !important;
}

.em-pricing-currency {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--en-ink);
}

.em-pricing-page select.em-pricing-select,
.em-pricing-page .em-pricing-select {
	height: 40px !important;
	min-width: 180px;
	padding: 0 12px !important;
	border: 1px solid #c9d5ea !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--en-navy) !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	box-shadow: none !important;
	outline: none !important;
}

.em-pricing-page .em-pricing-select:focus {
	border-color: var(--en-blue) !important;
	box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15) !important;
}

.em-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 48px;
}

.em-plan-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e2eaf5;
	border-radius: 18px;
	padding: 28px 24px 24px;
	box-shadow: 0 10px 28px rgba(21, 35, 63, 0.05);
	text-align: left;
	box-sizing: border-box;
	min-height: 100%;
}

.em-plan-card--featured {
	border-color: #1a73e8;
	box-shadow: 0 14px 36px rgba(26, 115, 232, 0.16);
	position: relative;
}

.em-plan-badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(26, 115, 232, 0.1);
	color: var(--en-blue);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.em-plan-name {
	margin: 0 0 6px !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: var(--en-navy) !important;
}

.em-plan-tagline {
	margin: 0 0 16px !important;
	color: var(--en-subhead) !important;
	font-size: 0.92rem !important;
	line-height: 1.4 !important;
	font-weight: 400 !important;
}

.em-plan-price {
	margin: 0 0 6px !important;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.5rem, 2.4vw, 1.85rem) !important;
	font-weight: 700 !important;
	color: var(--en-navy) !important;
	line-height: 1.2 !important;
}

.em-plan-price-note {
	margin: 0 0 20px !important;
	color: var(--en-muted) !important;
	font-size: 0.86rem !important;
	line-height: 1.4 !important;
	min-height: 1.2em;
}

.em-plan-features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	flex: 1 1 auto;
}

.em-plan-features li {
	position: relative;
	padding: 0 0 10px 22px;
	color: var(--en-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.em-plan-features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1a73e8;
}

.em-pricing-page a.em-plan-btn,
.em-pricing-page .em-plan-btn,
body.host_version .em-pricing-page a.em-plan-btn,
body.host_version .em-pricing-page .em-plan-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 46px !important;
	padding: 0 18px !important;
	border-radius: 999px !important;
	border: 1px solid #1a73e8 !important;
	background: #1a73e8 !important;
	color: #fff !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(26, 115, 232, 0.22) !important;
	cursor: pointer !important;
	transition: background 0.15s ease, border-color 0.15s ease !important;
}

.em-pricing-page a.em-plan-btn:hover,
.em-pricing-page .em-plan-btn:hover {
	background: #0b57d0 !important;
	border-color: #0b57d0 !important;
	color: #fff !important;
}

.em-pricing-page a.em-plan-btn--ghost,
.em-pricing-page .em-plan-btn--ghost {
	background: #fff !important;
	color: #1a73e8 !important;
	box-shadow: none !important;
}

.em-pricing-page a.em-plan-btn--ghost:hover,
.em-pricing-page .em-plan-btn--ghost:hover {
	background: #1a73e8 !important;
	color: #fff !important;
}

.em-pricing-compare {
	margin-top: 8px;
}

.em-pricing-compare-head {
	text-align: center;
	margin: 0 0 22px;
}

.em-pricing-compare-head h2 {
	margin: 0 0 8px !important;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem) !important;
	font-weight: 700 !important;
	color: var(--en-navy) !important;
}

.em-pricing-compare-head p {
	margin: 0 !important;
	color: var(--en-subhead) !important;
	font-size: 0.98rem !important;
}

.em-pricing-table-wrap {
	overflow-x: auto;
	background: #fff;
	border: 1px solid #e2eaf5;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(21, 35, 63, 0.04);
}

.em-pricing-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.em-pricing-table th,
.em-pricing-table td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid #eef2f8;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.92rem !important;
	color: var(--en-ink) !important;
	vertical-align: middle;
}

.em-pricing-table thead th {
	background: #f7fbff;
	color: var(--en-navy) !important;
	font-weight: 700 !important;
	border-bottom: 1px solid #e2eaf5;
}

.em-pricing-table tbody td:first-child {
	font-weight: 600;
	color: var(--en-navy) !important;
	width: 34%;
}

.em-pricing-table tbody tr:last-child td {
	border-bottom: 0;
}

.em-pricing-table .em-check {
	color: #1e8e3e;
	font-weight: 700;
}

.em-pricing-table tr.em-pricing-group td {
	background: #f3f7fc;
	color: #15233f;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding-top: 14px;
	padding-bottom: 10px;
	border-bottom-color: #d7e2f0;
}

.em-pricing-page .tab-content > .tab-pane {
	display: none;
}

.em-pricing-page .tab-content > .active {
	display: block;
}

/* Logged-in upgrade pricing */
.em-pricing-page--account {
	min-height: calc(100vh - var(--en-header-h, 48px) - var(--en-footer-h, 32px));
}

/* Upgrade pricing inside account dashboard (left menu) */
body.en-upgrade-account-page .em-dash-page .rightmain .em-pricing-page--account {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 0 !important;
	background: transparent !important;
}

body.en-upgrade-account-page .em-dash-page .rightmain .em-pricing-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.en-upgrade-account-page .em-dash-page .rightmain .em-pricing-hero {
	text-align: left;
	margin: 0 0 28px;
	max-width: none;
}

body.en-upgrade-account-page .em-dash-page .rightmain .em-pricing-lead {
	margin: 0 !important;
	max-width: none;
	text-align: left;
	white-space: nowrap;
}

@media (max-width: 767px) {
	body.en-upgrade-account-page .em-dash-page .rightmain .em-pricing-lead {
		white-space: normal;
	}
}

body.en-upgrade-account-page .em-dash-page .rightmain .em-pricing-current {
	justify-content: flex-start;
	text-align: left;
}

.em-pricing-current {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	margin: 0 0 24px;
	padding: 14px 18px;
	border-radius: 14px;
	border: 1px solid #e2eaf5;
	background: #fff;
	box-shadow: 0 6px 18px rgba(21, 35, 63, 0.04);
	text-align: center;
}

.em-pricing-current-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--en-subhead, #6b778c);
}

.em-pricing-current-value {
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--en-navy, #15233f);
}

.em-pricing-current-period {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--en-muted, #4f5f78);
}

.em-pricing-page .em-plan-btn--static,
.em-pricing-page span.em-plan-btn--static {
	cursor: default !important;
	pointer-events: none;
	opacity: 0.85;
	box-shadow: none !important;
}

@media (max-width: 900px) {
	.em-pricing-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.em-pricing-wrap {
		padding: 28px 16px 48px;
	}

	.em-pricing-current {
		flex-direction: column;
		gap: 4px;
	}
}
