/**
 * File: assets/css/pages/pricing/graphics.css
 * Description: Pricing page coded visual graphics.
 *
 * MAGIDA PRICING PAGE PASS 11:
 * - Adds decorative pricing panels, quote-path lines, and glowing motion layers.
 *
 * MAGIDA PRICING GLOBAL HERO MIGRATION PASS 22.3:
 * - Rebuilds the hero artwork to live inside the shared global inner-hero visual frame.
 * - Keeps all panels contained on desktop, tablet, and mobile so no side tabs/lines peek outside.
 */

.magida-pricing-hero__visual {
	/* MAGIDA PASS 22.3: The wrapper is now the global hero frame; this file only paints inside it. */
	isolation: isolate;
}

.magida-pricing-hero__visual-grid,
.magida-pricing-hero__visual-orb,
.magida-pricing-hero__visual-scan,
.magida-pricing-hero__quote-line,
.magida-pricing-hero__quote-dot {
	position: absolute;
	pointer-events: none;
}

.magida-pricing-hero__visual-grid {
	inset: clamp(22px, 4vw, 44px);
	z-index: 0;
	border-radius: 28px;
	background:
		linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
	background-size: 52px 52px;
	border: 1px solid rgba(255, 255, 255, 0.055);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	opacity: 0.74;
}

.magida-pricing-hero__visual-orb {
	z-index: 1;
	border-radius: 999px;
	filter: blur(0.2px);
	background:
		radial-gradient(
			circle at 35% 30%,
			rgba(255, 255, 255, 0.2),
			transparent 0 18%
		),
		linear-gradient(
			135deg,
			rgba(0, 216, 255, 0.16),
			rgba(123, 92, 255, 0.12)
		);
	border: 1px solid rgba(0, 216, 255, 0.22);
	box-shadow: 0 0 42px rgba(0, 216, 255, 0.12);
}

.magida-pricing-hero__visual-orb--one {
	width: clamp(78px, 10vw, 126px);
	height: clamp(78px, 10vw, 126px);
	top: 12%;
	right: 14%;
}

.magida-pricing-hero__visual-orb--two {
	width: clamp(48px, 7vw, 86px);
	height: clamp(48px, 7vw, 86px);
	left: 12%;
	bottom: 16%;
	background: linear-gradient(
		135deg,
		rgba(123, 92, 255, 0.14),
		rgba(0, 216, 255, 0.08)
	);
	border-color: rgba(123, 92, 255, 0.18);
}

.magida-pricing-hero__visual-scan {
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		100deg,
		transparent 20%,
		rgba(0, 216, 255, 0.06) 45%,
		transparent 66%
	);
	transform: translateX(-52%);
	mix-blend-mode: screen;
}

.magida-pricing-hero__quote-line {
	z-index: 2;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		rgba(0, 216, 255, 0),
		rgba(0, 216, 255, 0.78),
		rgba(123, 92, 255, 0.42)
	);
	box-shadow: 0 0 18px rgba(0, 216, 255, 0.22);
}

.magida-pricing-hero__quote-line--one {
	width: 34%;
	left: 29%;
	top: 39%;
}

.magida-pricing-hero__quote-line--two {
	width: 31%;
	right: 24%;
	bottom: 34%;
	background: linear-gradient(
		90deg,
		rgba(123, 92, 255, 0),
		rgba(123, 92, 255, 0.66),
		rgba(0, 216, 255, 0.52)
	);
}

.magida-pricing-hero__quote-dot {
	z-index: 3;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--magida-accent-cyan);
	box-shadow: 0 0 18px rgba(0, 216, 255, 0.8);
}

.magida-pricing-hero__quote-dot--one {
	left: 62%;
	top: 38.3%;
}

.magida-pricing-hero__quote-dot--two {
	right: 24%;
	bottom: 33.3%;
	background: var(--magida-accent-purple);
	box-shadow: 0 0 18px rgba(123, 92, 255, 0.7);
}

.magida-pricing-hero__panel {
	position: absolute;
	z-index: 4;
	display: grid;
	gap: 8px;
	min-width: clamp(156px, 15vw, 230px);
	padding: clamp(17px, 1.9vw, 24px);
	border-radius: 24px;
	background:
		linear-gradient(150deg, rgba(5, 9, 22, 0.93), rgba(8, 13, 32, 0.86)),
		linear-gradient(
			135deg,
			rgba(0, 216, 255, 0.08),
			rgba(123, 92, 255, 0.08)
		);
	border: 1px solid rgba(0, 216, 255, 0.17);
	box-shadow:
		0 20px 55px rgba(0, 0, 0, 0.36),
		inset 0 1px 0 rgba(255, 255, 255, 0.055);
	backdrop-filter: blur(18px);
}

.magida-pricing-hero__panel span {
	color: var(--magida-accent-cyan);
	font-size: 0.74rem;
	font-weight: 950;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.magida-pricing-hero__panel strong {
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-size: clamp(1.75rem, 3vw, 3.15rem);
	font-weight: 950;
	line-height: 0.92;
	letter-spacing: -0.055em;
}

.magida-pricing-hero__panel--starter {
	top: 18%;
	left: 8%;
}

.magida-pricing-hero__panel--growth {
	top: 31%;
	right: 8%;
	border-color: rgba(123, 92, 255, 0.2);
}

.magida-pricing-hero__panel--growth span {
	color: #bdb4ff;
}

.magida-pricing-hero__panel--custom {
	left: 16%;
	bottom: 19%;
}

.magida-pricing-hero__track {
	position: absolute;
	right: 8%;
	bottom: 9%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: min(260px, 48%);
	padding: 16px 18px;
	border-radius: 22px;
	background: rgba(4, 8, 20, 0.82);
	border: 1px solid rgba(0, 216, 255, 0.2);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(16px);
}

.magida-pricing-hero__track span {
	color: var(--magida-white);
	font-size: 0.78rem;
	font-weight: 950;
	white-space: nowrap;
}

.magida-pricing-hero__track i {
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		var(--magida-accent-cyan),
		var(--magida-accent-purple)
	);
}

@media (max-width: 1180px) {
	.magida-pricing-hero__panel {
		/* MAGIDA PASS 22.3: Tablet cards stay inside the global visual frame. */
		min-width: clamp(150px, 24vw, 220px);
	}

	.magida-pricing-hero__panel--starter {
		top: 16%;
		left: 7%;
	}

	.magida-pricing-hero__panel--growth {
		top: 33%;
		right: 7%;
	}

	.magida-pricing-hero__panel--custom {
		left: 11%;
		bottom: 19%;
	}
}

@media (max-width: 760px) {
	.magida-pricing-hero__visual-grid {
		/* MAGIDA PASS 22.3: Mobile grid gets stronger inner padding so no decorative edge peeks out. */
		inset: 18px;
		border-radius: 24px;
		background-size: 44px 44px;
	}

	.magida-pricing-hero__quote-line,
	.magida-pricing-hero__quote-dot {
		display: none;
	}

	.magida-pricing-hero__visual-orb--one {
		width: 76px;
		height: 76px;
		top: 42px;
		right: 34px;
	}

	.magida-pricing-hero__visual-orb--two {
		width: 62px;
		height: 62px;
		left: 32px;
		bottom: 88px;
	}

	.magida-pricing-hero__panel {
		left: 22px;
		right: 22px;
		min-width: 0;
		padding: 18px;
		border-radius: 20px;
	}

	.magida-pricing-hero__panel strong {
		font-size: clamp(1.8rem, 9vw, 2.65rem);
	}

	.magida-pricing-hero__panel--starter {
		top: 24px;
	}

	.magida-pricing-hero__panel--growth {
		top: 148px;
		left: 58px;
		right: 22px;
	}

	.magida-pricing-hero__panel--custom {
		top: 272px;
		left: 22px;
		right: 72px;
		bottom: auto;
	}

	.magida-pricing-hero__track {
		left: 22px;
		right: 22px;
		bottom: 22px;
		min-width: 0;
		gap: 8px;
		padding: 15px 12px;
	}

	.magida-pricing-hero__track span {
		font-size: 0.72rem;
	}

	.magida-pricing-hero__track i {
		width: 14px;
	}
}

@media (max-width: 420px) {
	.magida-pricing-hero__panel--growth {
		left: 46px;
	}

	.magida-pricing-hero__panel--custom {
		right: 48px;
	}

	.magida-pricing-hero__track {
		gap: 7px;
	}
}
