/* AIKeySoft — Ultra premium homepage hero (scoped) */

.hero.hero--premium {
	min-height: min(100dvh, 960px);
	min-height: min(100vh, 960px);
	display: flex;
	align-items: center;
	padding: calc(var(--header-offset) + 1.25rem) 0 4.5rem;
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 80% at 50% -10%, rgba(79, 70, 229, 0.09), transparent 55%),
		linear-gradient(180deg, var(--bg) 0%, var(--section-alt) 100%);
}

.hero.hero--premium .backdrop-photo--hero {
	opacity: 0.22;
	filter: saturate(1.1) contrast(1.02);
}

.hero.hero--premium .hero__noise {
	opacity: 0.035;
}

.hero.hero--premium::before,
.hero.hero--premium::after {
	opacity: 0.55;
}

/* Stage: grid + canvas + blobs */
.hero-pr__stage {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero.hero--premium .hero-pr__stage {
	z-index: 1;
}

.hero.hero--premium .container.hero-pr__shell {
	position: relative;
	z-index: 4;
	width: 100%;
}

.hero-pr__grid {
	position: absolute;
	inset: -1px;
	background-image: linear-gradient(rgba(79, 70, 229, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(79, 70, 229, 0.07) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 20%, transparent 72%);
	animation: heroPrGridDrift 22s linear infinite;
}

@keyframes heroPrGridDrift {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(-48px, -48px);
	}
}

.hero-pr__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0.55;
}

.hero-pr__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
	animation: heroPrBlob 18s ease-in-out infinite;
}

.hero-pr__blob--1 {
	width: min(520px, 70vw);
	height: min(520px, 70vw);
	background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 68%);
	top: -12%;
	right: -8%;
	animation-delay: 0s;
}

.hero-pr__blob--2 {
	width: min(420px, 60vw);
	height: min(420px, 60vw);
	background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
	bottom: -5%;
	left: -12%;
	animation-delay: -6s;
}

.hero-pr__blob--3 {
	width: min(360px, 50vw);
	height: min(360px, 50vw);
	background: radial-gradient(circle, rgba(79, 70, 229, 0.32), transparent 72%);
	top: 38%;
	left: 35%;
	animation-delay: -10s;
}

@keyframes heroPrBlob {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
		opacity: 0.45;
	}
	50% {
		transform: translate(4%, -3%) scale(1.08);
		opacity: 0.62;
	}
}

.hero-pr__grid2 {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}

@media (max-width: 1024px) {
	.hero-pr__grid2 {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* Main column */
.hero-pr__trustRow {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.1rem;
	animation: heroPrFadeUp 0.9s var(--ease-out-expo) both;
}

.hero-pr__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.38rem 0.75rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--text-muted);
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(79, 70, 229, 0.12);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.hero-pr__pill i {
	color: var(--accent);
	font-size: 0.7rem;
}

.hero-pr__kicker {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--text-subtle);
	margin: 0 0 0.65rem;
	animation: heroPrFadeUp 0.85s 0.06s var(--ease-out-expo) both;
}

.hero.hero--premium h1.hero-pr__h1 {
	font-size: clamp(2.35rem, 5.5vw + 1rem, 4.25rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.045em;
	margin: 0 0 1rem;
	max-width: 14ch;
	animation: heroPrFadeUp 0.9s 0.1s var(--ease-out-expo) both;
}

@media (max-width: 1024px) {
	.hero.hero--premium h1.hero-pr__h1 {
		max-width: none;
	}
}

.hero-pr__brand {
	display: block;
	background: linear-gradient(135deg, var(--text) 0%, var(--text) 28%, var(--accent) 52%, var(--accent-2) 88%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: heroPrShimmer 12s ease-in-out infinite;
}

@keyframes heroPrShimmer {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.hero-pr__typewrap {
	display: block;
	margin-top: 0.35rem;
	min-height: 1.25em;
}

.hero-pr__cursorwrap {
	display: inline-flex;
	align-items: baseline;
	gap: 0.12em;
	max-width: 100%;
}

.hero-pr__typewriter {
	display: inline;
	font-weight: 700;
	background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 42%, #6366f1 100%);
	background-size: 180% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 28px rgba(124, 58, 237, 0.22));
}

.hero-pr__caret {
	display: inline-block;
	width: 3px;
	height: 0.85em;
	margin-left: 2px;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	border-radius: 2px;
	vertical-align: -0.12em;
	animation: heroPrCaret 1s steps(1) infinite;
}

@keyframes heroPrCaret {
	0%,
	50% {
		opacity: 1;
	}
	51%,
	100% {
		opacity: 0;
	}
}

.hero-pr__sub {
	font-size: clamp(1.02rem, 2.2vw, 1.2rem);
	line-height: 1.55;
	color: var(--text-muted);
	max-width: 42ch;
	margin: 0 0 1.75rem;
	font-weight: 450;
	animation: heroPrFadeUp 0.95s 0.18s var(--ease-out-expo) both;
}

@media (max-width: 1024px) {
	.hero-pr__sub {
		max-width: none;
	}
}

.hero-pr__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.75rem;
	animation: heroPrFadeUp 1s 0.22s var(--ease-out-expo) both;
}

.hero-pr__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.85rem 1.35rem;
	min-height: 48px;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.25s,
		background 0.35s;
}

.hero-pr__btn i {
	font-size: 1.05em;
}

.hero-pr__btn--solid {
	color: #fff;
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 48%, #6366f1 100%);
	box-shadow: 0 4px 24px rgba(79, 70, 229, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.hero-pr__btn--solid:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(79, 70, 229, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.hero-pr__btn--ghost {
	color: var(--text);
	background: rgba(255, 255, 255, 0.45);
	border-color: rgba(79, 70, 229, 0.18);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.hero-pr__btn--ghost:hover {
	border-color: rgba(124, 58, 237, 0.35);
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(79, 70, 229, 0.12);
}

.hero-pr__btn--wa {
	color: #fff;
	background: linear-gradient(135deg, #22c55e, #16a34a);
	box-shadow: 0 4px 22px rgba(22, 163, 74, 0.35);
}

.hero-pr__btn--wa:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 32px rgba(22, 163, 74, 0.42);
}

.hero-pr__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	max-width: 520px;
	margin-bottom: 1rem;
	animation: heroPrFadeUp 1.05s 0.28s var(--ease-out-expo) both;
}

@media (max-width: 520px) {
	.hero-pr__stats {
		grid-template-columns: 1fr;
		max-width: none;
	}
}

.hero-pr__stat {
	padding: 0.85rem 1rem;
	border-radius: var(--radius);
	text-align: left;
	background: rgba(255, 255, 255, 0.52);
	border: 1px solid rgba(79, 70, 229, 0.12);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.hero-pr__stat strong {
	display: block;
	font-size: clamp(1.2rem, 3.5vw, 1.45rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.03em;
	color: var(--text);
}

.hero-pr__stat > span:last-child {
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--text-muted);
}

.hero-pr__packlink {
	margin: 0;
	font-size: 0.88rem;
	animation: heroPrFadeUp 1.1s 0.32s var(--ease-out-expo) both;
}

.hero-pr__packlink a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(79, 70, 229, 0.25);
	padding-bottom: 2px;
	transition: color 0.2s, border-color 0.2s, gap 0.25s var(--ease-out-expo);
}

.hero-pr__packlink a:hover {
	color: var(--accent-hover);
	border-color: rgba(79, 70, 229, 0.45);
	gap: 0.5rem;
}

/* Aside: floating cards */
.hero-pr__aside {
	position: relative;
	min-height: 420px;
	animation: heroPrFadeUp 1s 0.2s var(--ease-out-expo) both;
}

.hero-pr__float {
	position: absolute;
	border-radius: var(--radius-lg);
	padding: 1rem 1.15rem;
	width: min(240px, 78vw);
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(79, 70, 229, 0.14);
	backdrop-filter: blur(20px) saturate(170%);
	-webkit-backdrop-filter: blur(20px) saturate(170%);
	box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
	transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}

.hero-pr__float:hover {
	transform: translateY(-6px) scale(1.02) !important;
	box-shadow: var(--shadow-lg), 0 0 48px rgba(124, 58, 237, 0.12);
	z-index: 5;
}

.hero-pr__float--1 {
	top: 2%;
	right: 4%;
	animation: heroPrFloatA 9s ease-in-out infinite;
}

.hero-pr__float--2 {
	top: 38%;
	left: 0;
	animation: heroPrFloatB 10s ease-in-out infinite 0.5s;
}

.hero-pr__float--3 {
	bottom: 6%;
	right: 0;
	animation: heroPrFloatC 11s ease-in-out infinite 1s;
}

@keyframes heroPrFloatA {
	0%,
	100% {
		transform: translateY(0) rotate(-1deg);
	}
	50% {
		transform: translateY(-12px) rotate(0.5deg);
	}
}

@keyframes heroPrFloatB {
	0%,
	100% {
		transform: translateY(0) rotate(0.8deg);
	}
	50% {
		transform: translateY(-10px) rotate(-0.4deg);
	}
}

@keyframes heroPrFloatC {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-14px);
	}
}

.hero-pr__floatTag {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 0.35rem;
}

.hero-pr__floatTitle {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
	color: var(--text);
}

.hero-pr__floatMeta {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin: 0 0 0.75rem;
	line-height: 1.45;
}

.hero-pr__floatLink {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.hero-pr__floatLink:hover {
	gap: 0.5rem;
}

.hero-pr__live {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(34, 197, 94, 0.25);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	box-shadow: 0 0 40px rgba(34, 197, 94, 0.12), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
	z-index: 3;
	min-width: 200px;
}

.hero-pr__liveDot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
	animation: heroPrPulse 2s ease-in-out infinite;
	flex-shrink: 0;
}

@keyframes heroPrPulse {
	0%,
	100% {
		box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
	}
	50% {
		box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.08);
	}
}

.hero-pr__live strong {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--text);
	line-height: 1.1;
}

.hero-pr__live span:last-child {
	font-size: 0.72rem;
	color: var(--text-muted);
	font-weight: 500;
}

/* Scroll hint */
.hero-pr__scrollHint {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	transform: translateX(-50%);
	z-index: 6;
	width: 36px;
	height: 56px;
	border-radius: 20px;
	border: 2px solid rgba(79, 70, 229, 0.22);
	background: rgba(255, 255, 255, 0.35);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 10px;
	text-decoration: none;
	transition: border-color 0.25s, transform 0.35s var(--ease-out-expo);
}

.hero-pr__scrollHint span {
	width: 4px;
	height: 10px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	animation: heroPrScrollDot 1.8s ease-in-out infinite;
}

@keyframes heroPrScrollDot {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	60% {
		opacity: 0.2;
		transform: translateY(18px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-pr__scrollHint:hover {
	border-color: rgba(124, 58, 237, 0.45);
	transform: translateX(-50%) translateY(3px);
}

@media (max-width: 1024px) {
	.hero-pr__scrollHint {
		bottom: 0.75rem;
	}
}

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

@media (max-width: 1024px) {
	.hero-pr__grid2 {
		overflow: hidden;
		min-width: 0;
	}

	.hero-pr__aside {
		min-height: 0;
		max-width: 100%;
		width: 100%;
		margin-inline: 0;
		display: flex;
		flex-direction: column;
		gap: 0.65rem;
		overflow: hidden;
	}

	.hero-pr__float,
	.hero-pr__float--1,
	.hero-pr__float--2,
	.hero-pr__float--3 {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: 100%;
		max-width: 100%;
		animation: none !important;
		transform: none !important;
	}

	.hero-pr__float:hover {
		transform: translateY(-2px) !important;
	}

	.hero-pr__live {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 100%;
		min-width: 0;
		order: -1;
		margin-bottom: 0.15rem;
	}

	.hero-pr__trustRow,
	.hero-pr__actions {
		justify-content: center;
		text-align: center;
	}

	.hero-pr__kicker,
	.hero-pr__sub,
	.hero-pr__packlink {
		text-align: center;
		margin-inline: auto;
	}

	.hero-pr__h1 {
		text-align: center;
	}

	.hero-pr__typewrap {
		justify-content: center;
		text-align: center;
	}

	.hero-pr__cursorwrap {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-pr__grid,
	.hero-pr__blob,
	.hero-pr__float--1,
	.hero-pr__float--2,
	.hero-pr__float--3,
	.hero-pr__brand,
	.hero-pr__caret,
	.hero-pr__liveDot,
	.hero-pr__scrollHint span {
		animation: none !important;
	}

	.hero-pr__canvas {
		opacity: 0.2;
	}
}
