/*
 * Public pricing page.
 *
 * Astra owns the page, header, content area, footer, and responsive shell.
 * These styles are scoped to the pricing content and preserve its established
 * visual presentation without loading a second CSS framework.
 */

.page-id-1910 .entry-content {
	margin: 0;
}

.page-id-1910 .entry-content > .wp-block-shortcode {
	margin: 0;
}

.tg-pricing {
	--tg-pricing-background: #fff;
	--tg-pricing-foreground: #0f172a;
	--tg-pricing-purple: #6528f7;
	--tg-pricing-muted: #64748b;
	--tg-pricing-border: #e2e8f0;
	--tg-pricing-divider: #f3f3f4;
	width: 100%;
	overflow: hidden;
	background: var(--tg-pricing-background);
	color: var(--tg-pricing-foreground);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.tg-pricing *,
.tg-pricing *::before,
.tg-pricing *::after {
	box-sizing: border-box;
}

.tg-pricing h1,
.tg-pricing h2,
.tg-pricing h3,
.tg-pricing p,
.tg-pricing ul {
	margin-top: 0;
}

.tg-pricing__section {
	width: 100%;
	padding: 48px 0;
	background: var(--tg-pricing-background);
}

.tg-pricing__hero {
	padding: 96px 0;
}

.tg-pricing .ast-container.tg-pricing__container {
	display: block;
	width: 100%;
	max-width: 1280px;
	padding-right: 24px;
	padding-left: 24px;
}

.tg-pricing__section-header {
	text-align: center;
}

.tg-pricing__hero-header {
	max-width: 672px;
	margin: 0 auto 64px;
}

.tg-pricing__hero-title {
	margin-bottom: 16px;
	color: var(--tg-pricing-foreground);
	font-size: 48px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.2;
}

.tg-pricing__hero-copy,
.tg-pricing__section-copy {
	margin-bottom: 0;
	color: var(--tg-pricing-muted);
	font-size: 18px;
	line-height: 1.5;
}

.tg-pricing__plans {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 16px;
	max-width: 1280px;
	margin: 0 auto 48px;
}

.tg-pricing__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--tg-pricing-border);
	border-radius: 16px;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	color: var(--tg-pricing-foreground);
	text-align: left;
	transition: box-shadow 300ms ease;
}

.tg-pricing__card:hover {
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.tg-pricing__card--highlighted {
	z-index: 1;
	background: var(--tg-pricing-purple);
	border-color: var(--tg-pricing-purple);
	box-shadow: 0 25px 50px -12px rgb(101 40 247 / 0.3);
	color: #fff;
	transform: scale(1.05);
}

.tg-pricing__popular {
	position: absolute;
	top: -16px;
	left: 50%;
	padding: 4px 16px;
	background: #f8f9fa;
	border-radius: 9999px;
	box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
	color: var(--tg-pricing-purple);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	transform: translateX(-50%);
}

.tg-pricing__card-header {
	width: 100%;
	margin-bottom: 24px;
}

.tg-pricing__card-title {
	margin-bottom: 8px;
	color: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.tg-pricing__card-description {
	margin-bottom: 0;
	color: var(--tg-pricing-muted);
	font-size: 14px;
	line-height: 1.5;
}

.tg-pricing__card--highlighted .tg-pricing__card-description {
	color: rgb(255 255 255 / 0.8);
}

.tg-pricing__price {
	display: flex;
	align-items: baseline;
	width: 100%;
	margin-bottom: 24px;
}

.tg-pricing__price-value {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
}

.tg-pricing__price-period {
	margin-left: 4px;
	color: var(--tg-pricing-muted);
	font-size: 18px;
	line-height: 1.5;
}

.tg-pricing__card--highlighted .tg-pricing__price-period {
	color: rgb(255 255 255 / 0.7);
}

.tg-pricing__feature-list {
	flex-grow: 1;
	width: 100%;
	margin: 0 0 24px !important;
	padding: 0 !important;
	list-style: none;
}

.tg-pricing__feature {
	display: flex;
	align-items: center;
	color: var(--tg-pricing-foreground);
	font-size: 14px;
	line-height: 1.25;
}

.tg-pricing__feature + .tg-pricing__feature {
	margin-top: 16px;
}

.tg-pricing__card--highlighted .tg-pricing__feature {
	color: rgb(255 255 255 / 0.9);
}

.tg-pricing__feature-check {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin: 0 12px 0 0;
	padding: 4px;
	background: rgb(101 40 247 / 0.1);
	border-radius: 9999px;
	color: var(--tg-pricing-purple);
}

.tg-pricing__card--highlighted .tg-pricing__feature-check {
	background: rgb(255 255 255 / 0.2);
	color: #fff;
}

.tg-pricing__feature-check svg {
	width: 14px;
	height: 14px;
}

.tg-pricing__button,
.tg-pricing__cta-button {
	display: block;
	border: 0;
	border-radius: 8px;
	text-align: center;
	text-decoration: none !important;
	transition: opacity 200ms ease;
}

.tg-pricing__button {
	width: 100%;
	margin-top: 16px;
	padding: 12px;
	background: var(--tg-pricing-purple);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.tg-pricing__card--highlighted .tg-pricing__button {
	background: #fff;
	color: var(--tg-pricing-purple);
}

.tg-pricing__button:hover,
.tg-pricing__button:focus,
.tg-pricing__cta-button:hover,
.tg-pricing__cta-button:focus {
	opacity: 0.9;
	text-decoration: none;
}

.tg-pricing__card:not(.tg-pricing__card--highlighted) .tg-pricing__button:hover,
.tg-pricing__card:not(.tg-pricing__card--highlighted) .tg-pricing__button:focus {
	background: var(--tg-pricing-purple) !important;
	color: #fff !important;
}

.tg-pricing__card--highlighted .tg-pricing__button:hover,
.tg-pricing__card--highlighted .tg-pricing__button:focus {
	background: #fff !important;
	color: var(--tg-pricing-purple) !important;
}

.tg-pricing__renewal-note {
	margin: 0 auto !important;
	color: var(--tg-pricing-muted);
	font-size: 14px;
	text-align: center;
}

.tg-pricing .ast-container.tg-pricing__container--comparison {
	max-width: 1152px;
}

.tg-pricing__comparison-header {
	max-width: 768px;
	margin: 0 auto 40px;
}

.tg-pricing__section-title,
.tg-pricing__cta-title {
	margin-bottom: 16px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
}

.tg-pricing__table-scroll {
	width: 100%;
	margin-bottom: 20px;
	padding-bottom: 10px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tg-pricing__table-scroll::-webkit-scrollbar {
	height: 6px;
}

.tg-pricing__table-scroll::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.tg-pricing__table-scroll::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
}

.tg-pricing__table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.tg-pricing__table th,
.tg-pricing__table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--tg-pricing-divider);
	color: rgb(15 23 42 / 0.8);
	font-size: 14px;
	font-weight: 400;
	overflow-wrap: break-word;
	text-align: center;
	vertical-align: middle;
}

.tg-pricing__table thead th {
	color: var(--tg-pricing-foreground);
	font-size: 16px;
	font-weight: 600;
}

.tg-pricing__table th:first-child,
.tg-pricing__table td:first-child {
	width: 20%;
	min-width: 120px;
	text-align: left;
}

.tg-pricing__table th:nth-child(2),
.tg-pricing__table td:nth-child(2) {
	width: 14%;
	min-width: 80px;
}

.tg-pricing__table th:nth-child(3),
.tg-pricing__table td:nth-child(3) {
	width: 22%;
	min-width: 100px;
}

.tg-pricing__table th:nth-child(4),
.tg-pricing__table td:nth-child(4) {
	width: 22%;
	min-width: 100px;
}

.tg-pricing__table th:nth-child(5),
.tg-pricing__table td:nth-child(5) {
	width: 22%;
	min-width: 100px;
}

.tg-pricing__table .tg-pricing__table-highlight {
	background: rgb(101 40 247 / 0.05);
}

.tg-pricing__table thead .tg-pricing__table-highlight {
	color: var(--tg-pricing-purple);
}

.tg-pricing__inherits-row td {
	padding-top: 8px;
	padding-bottom: 8px;
	color: rgb(15 23 42 / 0.6);
	font-size: 14px;
}

.tg-pricing__category-row th {
	padding-top: 12px;
	padding-bottom: 12px;
	background: rgb(15 23 42 / 0.05);
	color: var(--tg-pricing-foreground);
	font-size: 16px;
	font-weight: 600;
	text-align: left;
}

.tg-pricing__comparison-icon {
	display: block;
	width: 20px;
	height: 20px;
	margin: auto;
}

.tg-pricing__comparison-icon--included {
	color: #16a34a;
}

.tg-pricing__comparison-icon--excluded {
	color: rgb(15 23 42 / 0.3);
}

.tg-pricing__cta {
	width: 100%;
	max-width: none;
	margin: 64px 0 0;
	padding: 64px 0;
	background: var(--tg-pricing-purple);
	color: #fff;
}

.tg-pricing .ast-container.tg-pricing__cta-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 896px;
	padding-right: 16px;
	padding-left: 16px;
	text-align: center;
}

.tg-pricing__cta-title {
	margin-bottom: 24px;
	color: #fff;
}

.tg-pricing__cta-copy {
	max-width: 768px;
	margin-bottom: 24px;
	color: rgb(255 255 255 / 0.9);
	font-size: 18px;
	line-height: 1.625;
}

.tg-pricing__cta-button {
	margin-top: 8px;
	padding: 12px 32px;
	background: #fff;
	color: var(--tg-pricing-purple);
	font-weight: 600;
}

.tg-pricing__cta-button:hover,
.tg-pricing__cta-button:focus {
	background: #fff !important;
	color: var(--tg-pricing-purple) !important;
}

.tg-pricing .ast-container.tg-pricing__faq-container {
	display: block;
	max-width: 768px;
}

.tg-pricing__faq .tg-pricing__section-title {
	margin-bottom: 40px;
	text-align: center;
}

.tg-pricing__faq-list {
	width: 100%;
}

.tg-pricing__faq-item {
	margin: 0;
	background: transparent;
	border-bottom: 1px solid #f3f3f3;
}

.tg-pricing__faq-item:last-child {
	border-bottom: 0;
}

.tg-pricing__faq-heading {
	margin: 0;
}

.tg-pricing__faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 24px 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--tg-pricing-foreground);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	text-align: left;
	cursor: pointer;
}

.tg-pricing__faq-question:hover,
.tg-pricing__faq-question:focus {
	background: transparent;
	color: var(--tg-pricing-foreground);
}

.tg-pricing__faq-question:focus-visible {
	outline: 2px solid var(--tg-pricing-purple);
	outline-offset: 3px;
}

.tg-pricing__faq-question[aria-expanded="true"] > span {
	text-decoration: underline;
	text-decoration-color: #f3f3f3;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.tg-pricing__faq-arrow {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-left: 16px;
	color: var(--tg-pricing-muted);
	transition: transform 200ms ease;
}

.tg-pricing__faq-question[aria-expanded="true"] .tg-pricing__faq-arrow {
	transform: rotate(180deg);
}

.tg-pricing__faq-answer {
	padding-bottom: 24px;
	color: rgb(15 23 42 / 0.7);
	font-size: 16px;
	line-height: 1.625;
}

@media (max-width: 921px) {
	.tg-pricing__plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.tg-pricing__card--highlighted {
		transform: scale(1.05);
	}
}

@media (max-width: 768px) {
	.tg-pricing__section,
	.tg-pricing__hero {
		padding: 48px 0;
	}

	.tg-pricing .ast-container.tg-pricing__container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.tg-pricing__hero-header {
		margin-bottom: 48px;
	}

	.tg-pricing__hero-title {
		font-size: 30px;
	}

	.tg-pricing__hero-copy,
	.tg-pricing__section-copy {
		font-size: 16px;
	}

	.tg-pricing__plans {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		margin-bottom: 32px;
	}

	.tg-pricing__card,
	.tg-pricing__card--highlighted {
		padding: 24px;
		transform: none;
	}

	.tg-pricing__popular {
		top: -12px;
		padding: 4px 12px;
		font-size: 12px;
	}

	.tg-pricing__card-header,
	.tg-pricing__price,
	.tg-pricing__feature-list {
		margin-bottom: 16px;
	}

	.tg-pricing__card-title {
		font-size: 18px;
	}

	.tg-pricing__card-description,
	.tg-pricing__feature {
		font-size: 12px;
	}

	.tg-pricing__price-value {
		font-size: 30px;
	}

	.tg-pricing__price-period {
		font-size: 16px;
	}

	.tg-pricing__feature + .tg-pricing__feature {
		margin-top: 12px;
	}

	.tg-pricing__comparison-header {
		margin-bottom: 32px;
	}

	.tg-pricing__section-title,
	.tg-pricing__cta-title {
		font-size: 20px;
	}

	.tg-pricing__table-scroll {
		width: calc(100% + 32px);
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
	}

	.tg-pricing__table th,
	.tg-pricing__table td {
		padding: 8px 12px;
		font-size: 12px;
	}

	.tg-pricing__table thead th,
	.tg-pricing__category-row th {
		padding-top: 12px;
		padding-bottom: 12px;
		font-size: 14px;
	}

	.tg-pricing__comparison-icon {
		width: 16px;
		height: 16px;
	}

	.tg-pricing__cta {
		margin-top: 48px;
		padding: 48px 0;
	}

	.tg-pricing__cta-title {
		margin-bottom: 16px;
	}

	.tg-pricing__cta-copy {
		margin-bottom: 16px;
		font-size: 14px;
	}

	.tg-pricing__cta-button {
		padding: 8px 24px;
	}

	.tg-pricing__faq .tg-pricing__section-title {
		margin-bottom: 32px;
	}

	.tg-pricing__faq-question {
		font-size: 16px;
	}

	.tg-pricing__faq-arrow {
		width: 16px;
		height: 16px;
	}
}
