/**
 * Homepage: premium capabilities / services enterprise block.
 */

@keyframes aash-premium-border-flow {
	0% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 200% 50%;
	}
}

@keyframes aash-premium-shimmer-bg {
	0%,
	100% {
		opacity: 0.52;
	}
	50% {
		opacity: 0.92;
	}
}

.aash-premium-capabilities {
	--premium-radius: 24px;
	--premium-text: #f1f5f9;
	--premium-muted: #94a3b8;
	--premium-card-inner: rgba(15, 23, 42, 0.55);
	--premium-card-border: rgba(148, 163, 184, 0.18);
	position: relative;
	isolation: isolate;
	padding-block: clamp(4.25rem, 9vw, 7rem);
	border-block: 1px solid rgba(148, 163, 184, 0.12);
	color: var(--premium-text);
	background:
		radial-gradient(1200px 620px at 12% -8%, rgba(56, 189, 248, 0.2), transparent 55%),
		radial-gradient(900px 520px at 96% 12%, rgba(139, 92, 246, 0.22), transparent 52%),
		radial-gradient(800px 480px at 48% 102%, rgba(37, 99, 235, 0.16), transparent 55%),
		linear-gradient(165deg, #020617 0%, #0b1224 42%, #0f172a 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 -40px 120px rgba(2, 6, 23, 0.45);
}

html[data-theme="light"] .aash-premium-capabilities {
	--premium-text: #f8fafc;
	--premium-muted: rgba(226, 232, 240, 0.78);
	--premium-card-inner: rgba(255, 255, 255, 0.07);
	--premium-card-border: rgba(255, 255, 255, 0.14);
	background:
		radial-gradient(1100px 580px at 10% -6%, rgba(56, 189, 248, 0.24), transparent 56%),
		radial-gradient(880px 500px at 94% 8%, rgba(139, 92, 246, 0.26), transparent 52%),
		radial-gradient(740px 440px at 52% 100%, rgba(37, 99, 235, 0.2), transparent 55%),
		linear-gradient(168deg, #020617 0%, #0f172a 55%, #0c1222 100%);
	border-block-color: rgba(255, 255, 255, 0.08);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 -32px 100px rgba(15, 23, 42, 0.18);
}

.section.aash-premium-capabilities {
	margin-block: 0;
	/* Preserve horizontal clipping for blur orbs without hiding bottom CTA lifts */
	overflow-x: clip;
	overflow-y: visible;
}

.aash-premium-capabilities__ambient {
	position: absolute;
	inset: 0;
	height: clamp(420px, 52vw, 660px);
	pointer-events: none;
	z-index: 0;
}

.aash-premium-capabilities__grain {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.055;
	z-index: 1;
	mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .aash-premium-capabilities__grain {
	opacity: 0.09;
	mix-blend-mode: overlay;
}

.aash-premium-capabilities__grain::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 72% 64% at 50% 36%, black 22%, transparent 72%);
}

.aash-premium-capabilities__orb {
	position: absolute;
	display: block;
	border-radius: 999px;
	filter: blur(0.25px);
	transform: translate3d(0, 0, 0);
	animation: aash-premium-float-orb 18s ease-in-out infinite alternate;
}

@keyframes aash-premium-float-orb {
	0% {
		transform: translate3d(0, 0, 0) scale(1);
		opacity: 0.55;
	}
	100% {
		transform: translate3d(26px, 18px, 0) scale(1.06);
		opacity: 0.85;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aash-premium-capabilities__orb {
		animation: none;
	}
}

.aash-premium-capabilities__orb--a {
	width: clamp(220px, 22vw, 380px);
	height: clamp(220px, 22vw, 380px);
	left: clamp(6%, 14vw, 18%);
	top: clamp(32px, 8vw, 120px);
	background: radial-gradient(circle at 32% 32%, rgba(96, 165, 250, 0.55), rgba(129, 140, 248, 0.15) 48%, transparent 68%);
	box-shadow:
		0 0 100px rgba(56, 189, 248, 0.45),
		0 40px 90px rgba(67, 56, 202, 0.2);
	animation-delay: -2s;
}

.aash-premium-capabilities__orb--b {
	width: clamp(260px, 28vw, 440px);
	height: clamp(260px, 28vw, 440px);
	right: clamp(-6%, 8vw, 10%);
	top: clamp(12px, 4vw, 72px);
	background: radial-gradient(circle at 40% 40%, rgba(167, 139, 250, 0.5), rgba(59, 130, 246, 0.12) 52%, transparent 70%);
	box-shadow:
		0 0 120px rgba(139, 92, 246, 0.42),
		0 52px 100px rgba(37, 99, 235, 0.15);
	animation-delay: -6s;
}

.aash-premium-capabilities__orb--c {
	width: clamp(180px, 18vw, 300px);
	height: clamp(180px, 18vw, 300px);
	left: clamp(42%, 52vw, 62%);
	top: clamp(160px, 22vw, 280px);
	background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.4), transparent 62%);
	opacity: 0.5;
	box-shadow: 0 0 80px rgba(14, 165, 233, 0.35);
	animation-duration: 22s;
}

.aash-premium-capabilities__inner {
	position: relative;
	z-index: 2;
}

.aash-premium-capabilities__intro {
	max-width: 72rem;
	margin: 0 auto clamp(3rem, 6vw, 4rem);
	text-align: center;
}

@media (min-width: 900px) {
	.aash-premium-capabilities__intro {
		padding-inline: clamp(0rem, 3vw, 2rem);
	}
}

.aash-premium-capabilities__eyebrow.eyebrow {
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.7rem;
	color: rgba(125, 211, 252, 0.88) !important;
	margin-bottom: 1rem;
}

.aash-premium-capabilities__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.95rem, 3.6vw, 3.05rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin: 0 0 1.25rem;
	max-width: 22ch;
	margin-inline: auto;
	background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

html[data-theme="light"] .aash-premium-capabilities__title {
	background: linear-gradient(182deg, #ffffff 14%, rgba(226, 232, 240, 0.96) 100%);
	background-clip: text;
	-webkit-background-clip: text;
}

.aash-premium-capabilities__lead {
	font-size: clamp(1.02rem, 1.85vw, 1.2rem);
	line-height: 1.72;
	color: var(--premium-muted);
	margin: 0 auto;
	max-width: 54ch;
}

.aash-premium-capabilities__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 1.85vw, 1.35rem);
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 78rem;
}

.aash-premium-capabilities__grid > li {
	margin: 0;
	padding: 0;
	min-height: 0;
	display: flex;
}

.aash-premium-capabilities__grid > li > .aash-premium-card {
	flex: 1;
	width: 100%;
}

@media (max-width: 1199px) {
	.aash-premium-capabilities__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.aash-premium-capabilities__grid {
		grid-template-columns: 1fr;
	}
}

.aash-premium-card {
	--spot-x: 50%;
	--spot-y: 42%;
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border-radius: var(--premium-radius);
	padding: 1px;
	transition:
		transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
	transform: translate3d(0, 0, 0);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06),
		0 16px 48px rgba(2, 6, 23, 0.35);
}

@media (prefers-reduced-motion: reduce) {
	.aash-premium-card {
		transition-duration: 0.01ms;
	}
}

.aash-premium-card:hover,
.aash-premium-card:focus-within {
	transform: translate3d(0, -8px, 0) scale(1.01);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.09),
		0 26px 64px rgba(15, 23, 42, 0.5),
		0 0 0 1px rgba(147, 197, 253, 0.12),
		0 0 60px rgba(99, 102, 241, 0.12);
}

.aash-premium-card__border {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	pointer-events: none;
	opacity: 0.55;
	background: linear-gradient(
		135deg,
		rgba(56, 189, 248, 0.45),
		rgba(99, 102, 241, 0.5),
		rgba(167, 139, 250, 0.45),
		rgba(56, 189, 248, 0.45)
	);
	background-size: 300% 300%;
	animation: aash-premium-border-flow 10s linear infinite;
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	transition: opacity 320ms ease;
}

@media (prefers-reduced-motion: reduce) {
	.aash-premium-card__border {
		animation: none;
		opacity: 0.35;
	}
}

.aash-premium-card:hover .aash-premium-card__border,
.aash-premium-card:focus-within .aash-premium-card__border {
	opacity: 0.9;
}

.aash-premium-card__spotlight {
	position: absolute;
	inset: 1px;
	border-radius: calc(var(--premium-radius) - 1px);
	pointer-events: none;
	opacity: 0;
	transition: opacity 380ms ease;
	background: radial-gradient(
		520px circle at var(--spot-x) var(--spot-y),
		rgba(96, 165, 250, 0.2),
		rgba(129, 140, 248, 0.08) 38%,
		transparent 58%
	);
}

.aash-premium-card:hover .aash-premium-card__spotlight,
.aash-premium-card:focus-within .aash-premium-card__spotlight {
	opacity: 1;
}

.aash-premium-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
	height: 100%;
	min-height: 0;
	padding: clamp(1.35rem, 2.4vw, 1.75rem);
	border-radius: calc(var(--premium-radius) - 1px);
	background: rgba(15, 23, 42, 0.38);
	border: 1px solid var(--premium-card-border);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
}

html[data-theme="light"] .aash-premium-card__body {
	background: rgba(2, 6, 23, 0.32);
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 8px 32px rgba(2, 6, 23, 0.25);
}

.aash-premium-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	margin-bottom: 1.05rem;
	border-radius: 0.875rem;
	color: #c4d4ff;
	background: linear-gradient(145deg, rgba(96, 165, 250, 0.18), rgba(129, 140, 248, 0.12));
	border: 1px solid rgba(147, 197, 253, 0.2);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 8px 24px rgba(37, 99, 235, 0.08);
	transition:
		transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 340ms ease,
		box-shadow 340ms ease;
}

.aash-premium-card:hover .aash-premium-card__icon,
.aash-premium-card:focus-within .aash-premium-card__icon {
	transform: translateY(-3px);
	border-color: rgba(165, 180, 252, 0.45);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		0 14px 40px rgba(99, 102, 241, 0.2);
}

.aash-premium-card__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.aash-premium-card__name {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.02em;
	margin: 0 0 0.6rem;
	color: var(--premium-text);
}

.aash-premium-card__copy {
	margin: 0;
	margin-top: auto;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--premium-muted);
}

@media (prefers-contrast: more) {
	.aash-premium-card__copy {
		color: #e2e8f0;
	}
}

/* Bottom CTA */
.aash-premium-cta {
	position: relative;
	margin-top: clamp(3.25rem, 7vw, 4.75rem);
	border-radius: var(--premium-radius);
	padding: clamp(1px, 0.35vw, 1px);
	max-width: 56rem;
	margin-inline: auto;
	overflow: visible;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06),
		0 32px 85px rgba(2, 6, 23, 0.45);
}

.aash-premium-cta__glow {
	position: absolute;
	inset: -40% -20% auto -20%;
	height: clamp(280px, 42vw, 420px);
	pointer-events: none;
	z-index: 0;
	filter: blur(60px);
	background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.32), transparent 62%);
	animation: aash-premium-shimmer-bg 8s ease-in-out infinite alternate;
	opacity: 0.75;
	border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
	.aash-premium-cta__glow {
		animation: none;
	}
}

.aash-premium-cta__shell {
	position: relative;
	z-index: 1;
	padding: clamp(2rem, 5vw, 2.85rem);
	border-radius: calc(var(--premium-radius) - 1px);
	text-align: center;
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.2)),
		rgba(2, 6, 23, 0.35);
	border: 1px solid rgba(148, 163, 184, 0.16);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .aash-premium-cta__shell {
	background:
		linear-gradient(172deg, rgba(255, 255, 255, 0.12), rgba(15, 23, 42, 0.12)),
		rgba(2, 6, 23, 0.28);
	border-color: rgba(255, 255, 255, 0.1);
}

.aash-premium-cta__heading {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.65vw, 1.95rem);
	font-weight: 600;
	line-height: 1.28;
	margin: 0 auto 1.65rem;
	max-width: 32ch;
	letter-spacing: -0.022em;
	color: var(--premium-text);
}

.aash-premium-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1rem;
}

@media (max-width: 480px) {
	.aash-premium-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.aash-premium-cta__btn {
		width: 100%;
		justify-content: center;
	}
}

.aash-premium-cta__btn {
	min-height: 2.85rem;
}

.aash-premium-cta .btn-secondary {
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.12),
		0 12px 38px rgba(37, 99, 235, 0.25);
	transition:
		transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 280ms ease;
}

.aash-premium-cta .btn-secondary:hover {
	transform: translateY(-2px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.14),
		0 18px 48px rgba(37, 99, 235, 0.32);
}

.aash-premium-cta .btn-ghost-light {
	border-color: rgba(255, 255, 255, 0.22);
	transition:
		transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 280ms ease,
		background-color 280ms ease;
}

.aash-premium-cta .btn-ghost-light:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.06);
}
