/* ═══════════════════════════════════════════════
   PRICING SECTION V2
   Tilted Monthly Club + flat Hour Packs + perks row.
   Models the .v2-pricing pricing.html variant from
   PREVIEW/css/sections/v2-shared.css.
   Block-scoped — loaded only when rendered.
   ═══════════════════════════════════════════════ */

.pricing-v2 {
	padding: 100px 24px;
}
.pricing-v2__inner {
	max-width: var(--page-max);
	margin: 0 auto;
}

/* Dual-card grid stays narrower than the perks row below it. Matches
   .v2-pricing-layout in PREVIEW/css/sections/v2-shared.css. */
.pricing-v2__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	max-width: 940px;
	margin: 0 auto;
	align-items: start;
}

/* ── Monthly Club tilted card ── */
.pricing-v2__card-wrap {
	display: flex;
	justify-content: center;
}
.pricing-v2__card {
	background: var(--surface);
	border: 2px solid var(--primary);
	border-radius: 20px;
	padding: 48px;
	max-width: 440px;
	width: 100%;
	transform: rotate(-2deg);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
}
.pricing-v2__card:hover { transform: rotate(0deg) translateY(-4px); }

.pricing-v2__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 16px;
	font-size: 12px;
	font-weight: 600;
	background: var(--primary);
	color: var(--dark-brown);
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.pricing-v2__plan-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 16px;
}
.pricing-v2__price-top {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 4px;
}
.pricing-v2__price {
	font-size: 64px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}
.pricing-v2__price-label {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 24px;
}

/* ── Hour Packs flat card ── */
.pricing-v2__hp {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 40px;
	text-align: center;
	align-self: center;
	max-width: 440px;
	width: 100%;
	margin: 0 auto;
}
.pricing-v2__hp-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--fg);
}
.pricing-v2__hp-price {
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--fg);
	line-height: 1;
	margin-bottom: 4px;
}
.pricing-v2__hp-period {
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 20px;
}
.pricing-v2__hp-tagline {
	font-size: 14px;
	color: var(--fg-secondary);
	margin-bottom: 24px;
	line-height: 1.55;
	text-align: left;
}
.pricing-v2__hp-packs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 24px;
}
.pricing-v2__hp-pack {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 14px 10px;
	text-align: center;
	transition: border-color 0.15s, transform 0.15s, background 0.15s, box-shadow 0.15s;
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-items: center;
}
/* Interactive (button) variant — when a pack has a checkout URL. */
button.pricing-v2__hp-pack {
	cursor: pointer;
	font-family: inherit;
	color: inherit;
}
.pricing-v2__hp-pack:hover {
	border-color: var(--primary);
	transform: translateY(-2px);
}
.pricing-v2__hp-pack[aria-checked="true"] {
	border-color: var(--primary);
	background: color-mix(in srgb, var(--primary) 8%, var(--surface));
	box-shadow: 0 0 0 1px var(--primary) inset;
	transform: translateY(-1px);
}
.pricing-v2__hp-pack[aria-checked="true"] .pricing-v2__hp-pack-price {
	color: var(--primary);
}
.pricing-v2__hp-pack-hours {
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.02em;
	margin: 0;
}
.pricing-v2__hp-pack-price {
	font-size: 18px;
	font-weight: 700;
	color: var(--fg);
	margin: 0;
	transition: color 0.15s;
}

/* ── Feature list (shared) — WYSIWYG bullets restyled as orange checks ── */
.pricing-v2__features { margin-bottom: 28px; }
.pricing-v2__features ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.pricing-v2__features li {
	padding: 8px 0 8px 26px;
	font-size: 14px;
	color: var(--fg-secondary);
	border-bottom: 1px solid var(--border);
	position: relative;
	line-height: 1.5;
}
.pricing-v2__features li:last-child { border: none; }
.pricing-v2__features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 8px;
	color: var(--primary);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
}
/* Hour Packs has center-aligned card chrome, but its features list stays left. */
.pricing-v2__hp .pricing-v2__features { text-align: left; }

.pricing-v2__cta {
	width: 100%;
	justify-content: center;
	transition: opacity 0.25s ease, background 0.2s ease, color 0.2s ease,
	            border-color 0.2s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
/* Pending state — Hour Packs CTA before any pack is selected.
   Faded + inert so the visitor's eye lands on the pack chooser first. */
.pricing-v2__cta--pending {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}
/* Active state — applied once a pack is selected. Swaps the outline button
   to a filled primary treatment so the next action visually pops. */
.pricing-v2__cta--active {
	background: var(--primary);
	color: var(--dark-brown);
	border-color: var(--primary);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 35%, transparent);
	transform: translateY(-1px);
}
.pricing-v2__cta--active:hover {
	background: var(--secondary);
	border-color: var(--secondary);
	box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 45%, transparent);
}

/* ── Perks row (horizontal 3-col) ── */
.pricing-v2__perks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--border);
}
.pricing-v2__perk {
	display: flex;
	gap: 16px;
}
.pricing-v2__perk-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--primary) 10%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--primary);
}
.pricing-v2__perk-title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 4px;
}
.pricing-v2__perk-body {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.5;
}

@media (max-width: 900px) {
	.pricing-v2__layout {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.pricing-v2__card { transform: rotate(0); }
	.pricing-v2__perks { grid-template-columns: 1fr; gap: 24px; }
}
