/**
 * File: assets/css/pages/pricing/base.css
 * Description: Pricing page foundational layout and global hero integration.
 *
 * MAGIDA PRICING PAGE PASS 11:
 * - Establishes the Pricing page structure, section spacing, and shared heading rhythm.
 *
 * MAGIDA PRICING GLOBAL HERO MIGRATION PASS 22.3:
 * - Removes the duplicated local hero shell sizing from Pricing.
 * - Lets assets/css/pages/shared/inner-page-unity.css control the approved global hero layout.
 * - Keeps only Pricing-specific text limits, CTA stacking, and section typography here.
 */

.magida-template--pricing {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 12% 0%,
			rgba(0, 216, 255, 0.16),
			transparent 34%
		),
		radial-gradient(
			circle at 88% 16%,
			rgba(123, 92, 255, 0.18),
			transparent 34%
		),
		linear-gradient(180deg, #030814 0%, #040713 48%, #02040b 100%);
}

.magida-template--pricing::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
	background-size: 84px 84px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), transparent 82%);
	opacity: 0.5;
}

.magida-template--pricing > * {
	position: relative;
	z-index: 1;
}

.magida-pricing-hero__title {
	/* MAGIDA PASS 22.3: Pricing keeps the short page-name title while the description explains the pricing model. */
	max-width: 780px;
}

.magida-pricing-hero__description {
	/* MAGIDA PASS 22.3: Wider Pricing intro avoids a tall narrow paragraph on desktop. */
	max-width: 860px;
}

.magida-pricing-hero__actions {
	/* MAGIDA PASS 22.3: Page alias retained for debugging while global hero owns the base actions layout. */
	align-items: center;
}

.magida-pricing-section {
	padding: var(--magida-section-padding) 0;
	border-bottom: 1px solid rgba(190, 189, 229, 0.09);
}

.magida-pricing-section__header {
	max-width: 900px;
	margin-bottom: 42px;
}

.magida-pricing-section__header--compact {
	max-width: 610px;
	margin-bottom: 0;
}

.magida-pricing-section__header h2,
.magida-pricing-intro__content h2,
.magida-pricing-custom__content h2,
.magida-pricing-payment__intro h2,
.magida-pricing-cta__inner h2 {
	margin: 0;
	font-family: var(--magida-font-heading);
	font-size: clamp(2.4rem, 5vw, 5.4rem);
	font-weight: 950;
	line-height: 0.98;
	letter-spacing: -0.075em;
	color: var(--magida-white);
	text-wrap: balance;
}

.magida-pricing-section__header p:not(.magida-eyebrow),
.magida-pricing-intro__content p,
.magida-pricing-custom__content p,
.magida-pricing-payment__intro p,
.magida-pricing-cta__inner p {
	max-width: 820px;
	margin: 22px 0 0;
	color: var(--magida-text-soft);
	font-size: 1.06rem;
	line-height: 1.8;
}

@media (max-width: 760px) {
	.magida-pricing-hero__actions,
	.magida-pricing-cta__actions {
		/* MAGIDA PASS 22.3: Pricing CTAs stack cleanly on phones, matching Services. */
		flex-direction: column;
		align-items: stretch;
	}

	.magida-pricing-section {
		padding: var(--magida-section-padding-mobile) 0;
	}
}
