/* Pricing page styles - aligned with main theme (glass cards, Livvic fonts) */

.pricing-toggle {
	display: none; /* hidden on desktop */
	gap: 10px;
	justify-content: center;
	margin: 10px auto 20px auto;
}

.pricing-toggle-bottom {
	margin-top: 20px;
}

.pricing-tab {
	padding: 10px 16px;
	border-radius: 6px;
	border: 1px solid rgba(255,255,255,1);
	background: rgba(0,0,0,0.5);
	color: #fff;
	font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
	cursor: pointer;
}
.pricing-tab.is-selected {
	background: #fff;
	color: #000;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.plan-card {
	border: 1px solid rgba(255,255,255,1);
	border-radius: 10px;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(10px);
	color: #fff;
	text-align: left;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 420px;
}

.plan-header { margin-bottom: 12px; }
.plan-title { color: #ffc0cb; margin: 0 0 6px 0; }
.plan-subtitle { margin: 6px 0 0 0; opacity: 0.9; }
.plan-price { font-size: 1.6rem; margin-top: 8px; }
.plan-price .price-amount { font-family: "Livvic Medium", "Times New Roman", Georgia, Serif; }
.plan-price .price-period { font-size: 0.9rem; opacity: 0.85; margin-left: 6px; }

.plan-features {
	list-style: none;
	padding: 0;
	margin: 16px 0 20px 0;
}
.plan-features li {
	margin: 10px 0;
	padding-left: 1.6em;
	position: relative;
}
.plan-features li::before {
	content: "\2728"; /* ✨ */
	position: absolute;
	left: 0;
	top: 0.05em;
	font-size: 1.1em;
}

.plan-cta {
	align-self: flex-start;
}

.pricing-note {
	opacity: 0.8;
	margin-top: 8px;
}

/* Mobile: single column with toggle */
@media (max-width: 768px) {
	.pricing-toggle { display: flex; }
	.pricing-grid {
		grid-template-columns: 1fr;
		gap: 0;
		position: relative;
		overflow: hidden;
	}
	.plan-card {
		display: none;
		animation: fadeIn 180ms ease-in;
		border-radius: 10px;
		margin: 0; /* full width within container */
	}
	.plan-card.is-active { display: flex; }
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Table-based comparison (Launchpad vs Phoenix) */
.pricing-table-wrapper {
	width: 100%;
	overflow-x: auto;
}

.pricing-table {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 10px 0px;
	font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
	color: #fff;
}

.pricing-table th,
.pricing-table td {
	border: none; /* remove grid feel */
	background: transparent; /* default transparent */
	padding: 14px 34px;
	vertical-align: top;
	text-align: left;
}

.pricing-table thead th {
	font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
	color: #ffc0cb;
    font-size: 22px;
}
.pricing-table thead th.col-feature { /* mute Feature header to avoid product-like look */
	color: rgba(255,255,255,0.75);
}
/* Round only the top product headers */
.pricing-table thead tr:first-child th.col-launchpad,
.pricing-table thead tr:first-child th.col-phoenix {
	border-radius: 30px 30px 0 0;
}
/* Larger emoji in product headers */
.pricing-table thead th .plan-emoji {
	display: inline-block;
	font-size: 1.8em;
	line-height: 1;
}

.pricing-table .plan-descriptions td {
	font-style: italic;
	color: #fff;
}

.pricing-table .section-row th {
	text-align: center;
	color: #fcc;
    font-size: 20px;
    padding-top: 30px;
    padding-bottom: 40px;
	font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
}

.pricing-table .col-feature { width: 30%; }
.pricing-table .col-launchpad { width: 35%; }
.pricing-table .col-phoenix { width: 35%; }

/* Mobile: show Feature + one plan at a time */
@media (max-width: 768px) {
	.pricing-grid { display: none; }
	.pricing-toggle { display: flex; }

	/* On mobile, hide the non-active plan column */
	.pricing-table-wrapper[data-active-plan="launchpad"] .col-phoenix,
	.pricing-table-wrapper[data-active-plan="phoenix"] .col-launchpad { display: none; }

	/* Keep Feature column always visible */
	.pricing-table .col-feature { display: table-cell; }

	/* Section row spans the two visible columns */
	.pricing-table .section-row th { text-align: center; }
}

/* Column tints for product columns to feel like columns, not grid */
.pricing-table th.col-launchpad,
.pricing-table td.col-launchpad { background: rgba(255,255,255,0.06); text-align: center; }
.pricing-table th.col-phoenix,
.pricing-table td.col-phoenix { background: rgba(255,255,255,0.06); text-align: center; }

/* Feature column remains subtle and guiding */
.pricing-table th.col-feature,
.pricing-table td.col-feature { background: rgba(0,0,0,0.0); text-align: right; }

/* Row separators (subtle) for readability without heavy grid) */
.pricing-table tbody tr:not(.section-row) th.col-feature,
.pricing-table tbody tr:not(.section-row) td.col-launchpad,
.pricing-table tbody tr:not(.section-row) td.col-phoenix {
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Vertically center single-line items (e.g., checkmarks) in product columns */
.pricing-table tbody td.col-launchpad,
.pricing-table tbody td.col-phoenix {
    vertical-align: middle;
}

/* Also vertically center the description (Feature) column */
.pricing-table tbody th.col-feature {
	vertical-align: middle;
}

/* Price emphasis (simple text only) */
.price-total-chip {
	font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
    font-size: 22px;
}
.price-save-chip {
	font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
	opacity: 0.9;
}
.price-list {
	font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
	opacity: 0.9;
}

