/**
 * Telex Pricing Page styles.
 *
 * Design tokens match the rest of the Yolyc ecosystem (telex-company-dashboard,
 * telex-lead-form-block, telex-review-blocks): accent #246EB9, ink #00171F,
 * dark mode via [data-theme="dark"], radius scale 6/10/20px.
 */

.yolyc-pricing-page {
	max-width: 980px;
	margin: 0 auto;
	padding: 48px 20px 64px;
	color: #00171F;
	font-family: inherit;
}

/* ── Intro ─────────────────────────────────────────────────────────────── */

.yolyc-pricing-page__intro {
	text-align: center;
	margin-bottom: 40px;
}

.yolyc-pricing-page__intro h1 {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.yolyc-pricing-page__intro p {
	font-size: 1rem;
	color: #4a5568;
	max-width: 560px;
	margin: 0 auto;
	line-height: 1.6;
}

/* ── Pricing cards ─────────────────────────────────────────────────────── */

.yolyc-pricing-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 56px;
}

@media (max-width: 640px) {
	.yolyc-pricing-cards {
		grid-template-columns: 1fr;
	}
}

.yolyc-pricing-card {
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid #e2e4e9;
	border-radius: 20px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yolyc-pricing-card--pro {
	border-color: #246EB9;
	border-width: 2px;
	box-shadow: 0 8px 24px rgba(36, 110, 185, 0.12);
	position: relative;
}

.yolyc-pricing-card--pro::before {
	content: '';
	position: absolute;
	top: 28px;
	left: 0;
	width: 4px;
	height: 32px;
	background: #246EB9;
	border-radius: 0 3px 3px 0;
}

.yolyc-pricing-card__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #4a5568;
	margin-bottom: 16px;
}

.yolyc-pricing-card--pro .yolyc-pricing-card__label {
	color: #246EB9;
}

.yolyc-pricing-card__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 4px;
}

.yolyc-pricing-card__amount {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.yolyc-pricing-card__period {
	font-size: 0.9rem;
	color: #7a8fa3;
}

.yolyc-pricing-card__annual {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: #4a5568;
	margin-bottom: 24px;
}

.yolyc-pricing-card__save {
	display: inline-block;
	padding: 2px 8px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #226f54;
	background: #dff3e4;
	border-radius: 20px;
}

.yolyc-pricing-card:not(.yolyc-pricing-card--pro) .yolyc-pricing-card__price {
	margin-bottom: 24px;
}

.yolyc-pricing-card__features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	flex: 1;
}

.yolyc-pricing-card__features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.88rem;
	line-height: 1.5;
	padding: 6px 0;
	color: #2d3748;
}

.yolyc-pricing-card__features li svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: #246EB9;
}

.yolyc-pricing-card__features-everything {
	font-weight: 600;
	border-bottom: 1px solid #e2e4e9;
	margin-bottom: 4px;
	padding-bottom: 10px !important;
}

.yolyc-pricing-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 20px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.yolyc-pricing-card__cta--ghost {
	color: #00171F;
	background: #f4f6f8;
	border: 1px solid #e2e4e9;
}

.yolyc-pricing-card__cta--ghost:hover {
	color: #00171F;
	background: #eceff2;
}

.yolyc-pricing-card__cta--pro {
	color: #fff;
	background: #246EB9;
}

.yolyc-pricing-card__cta--pro:hover {
	color: #fff;
	background: #1d5a94;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(36, 110, 185, 0.3);
}

.yolyc-pricing-card__cta--current {
	background: #dff3e4;
	color: #226f54;
}

.yolyc-pricing-card__cta--current:hover {
	color: #226f54;
	background: #dff3e4;
	transform: none;
	box-shadow: none;
}

/* ── Comparison table ─────────────────────────────────────────────────── */

.yolyc-pricing-compare__heading {
	text-align: center;
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 24px;
}

.yolyc-pricing-compare {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
	border: 1px solid #e2e4e9;
	border-radius: 10px;
	overflow: hidden;
}

.yolyc-pricing-compare thead th {
	text-align: left;
	padding: 14px 16px;
	background: #f4f6f8;
	font-weight: 700;
	color: #00171F;
	border-bottom: 1px solid #e2e4e9;
}

.yolyc-pricing-compare thead th:not(:first-child) {
	text-align: center;
	width: 110px;
}

.yolyc-pricing-compare tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid #eef0f3;
	color: #2d3748;
}

.yolyc-pricing-compare tbody tr:last-child td {
	border-bottom: none;
}

.yolyc-pricing-compare__section th {
	background: #eef6ff;
	color: #246EB9;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 8px 16px;
	text-align: left;
}

.yolyc-pricing-compare__yes,
.yolyc-pricing-compare__no {
	text-align: center;
}

.yolyc-pricing-compare__yes svg {
	color: #246EB9;
}

.yolyc-pricing-compare__no svg {
	color: #cbd5e0;
}

/* ── Footnote ──────────────────────────────────────────────────────────── */

.yolyc-pricing-page__footnote {
	text-align: center;
	font-size: 0.8rem;
	color: #7a8fa3;
	margin-top: 24px;
}

/* ── Dark mode ─────────────────────────────────────────────────────────── */

[data-theme="dark"] .yolyc-pricing-page {
	color: #DFF3E4;
}

[data-theme="dark"] .yolyc-pricing-page__intro p {
	color: #aab8c2;
}

[data-theme="dark"] .yolyc-pricing-card {
	background: #012a38;
	border-color: rgba(36, 110, 185, 0.35);
}

[data-theme="dark"] .yolyc-pricing-card--pro {
	border-color: #246EB9;
	box-shadow: 0 8px 24px rgba(36, 110, 185, 0.25);
}

[data-theme="dark"] .yolyc-pricing-card__label {
	color: #aab8c2;
}

[data-theme="dark"] .yolyc-pricing-card--pro .yolyc-pricing-card__label {
	color: #6cb4f5;
}

[data-theme="dark"] .yolyc-pricing-card__period,
[data-theme="dark"] .yolyc-pricing-card__annual {
	color: #aab8c2;
}

[data-theme="dark"] .yolyc-pricing-card__features li {
	color: #DFF3E4;
}

[data-theme="dark"] .yolyc-pricing-card__features-everything {
	border-bottom-color: rgba(36, 110, 185, 0.35);
}

[data-theme="dark"] .yolyc-pricing-card__cta--ghost {
	color: #DFF3E4;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(36, 110, 185, 0.35);
}

[data-theme="dark"] .yolyc-pricing-card__cta--ghost:hover {
	color: #DFF3E4;
	background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .yolyc-pricing-card__cta--pro {
	color: #fff;
	background: #246EB9;
}

[data-theme="dark"] .yolyc-pricing-card__cta--pro:hover {
	color: #fff;
	background: #3a85d6;
}

[data-theme="dark"] .yolyc-pricing-card__cta--current {
	background: rgba(223, 243, 228, 0.15);
	color: #7fd8a4;
}

[data-theme="dark"] .yolyc-pricing-card__cta--current:hover {
	color: #7fd8a4;
	background: rgba(223, 243, 228, 0.15);
}

[data-theme="dark"] .yolyc-pricing-compare {
	border-color: rgba(36, 110, 185, 0.35);
}

[data-theme="dark"] .yolyc-pricing-compare thead th {
	background: #012a38;
	color: #DFF3E4;
	border-bottom-color: rgba(36, 110, 185, 0.35);
}

[data-theme="dark"] .yolyc-pricing-compare tbody td {
	color: #DFF3E4;
	border-bottom-color: rgba(36, 110, 185, 0.2);
}

[data-theme="dark"] .yolyc-pricing-compare__section th {
	background: rgba(36, 110, 185, 0.15);
	color: #6cb4f5;
}

[data-theme="dark"] .yolyc-pricing-compare__no svg {
	color: #4a5568;
}

[data-theme="dark"] .yolyc-pricing-page__footnote {
	color: #aab8c2;
}
