/* ═══════════════════════════════════════════════════════════
   Webverix — Inner Page Hero widget
   Brand defaults follow the WebVerix language: dark navy ground,
   violet→blue gradient accent, pill badges, rounded CTAs.
   Everything is overridable from the Elementor panel.
   ═══════════════════════════════════════════════════════════ */

.wvx-ih {
	--wvx-ih-ga: #8B5CF6;
	--wvx-ih-gb: #4D7CFE;
	--wvx-ih-adur: 700ms;
	--wvx-ih-adist: 26px;
	--wvx-ih-astep: 90ms;
	position: relative;
	background: #0B0B14;
	color: #FFFFFF;
	overflow: hidden;
	padding: 150px 0 80px;
}

/* ── Background layers ──────────────────────── */
.wvx-ih-glow {
	position: absolute;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 0;
}
.wvx-ih-glow--1 { top: -30%; left: 15%; width: 700px; height: 700px; background: radial-gradient(circle at center, rgba(124, 92, 246, 0.22), transparent 65%); }
.wvx-ih-glow--2 { top: 20%; left: 75%; width: 520px; height: 520px; background: radial-gradient(circle at center, rgba(77, 124, 254, 0.14), transparent 65%); }
.wvx-ih-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 60px 60px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 78%);
	mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 78%);
}
.wvx-ih-seam {
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(124, 92, 246, 0.55), transparent);
	z-index: 1;
}

/* ── Layout ─────────────────────────────────── */
.wvx-ih-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}
.wvx-ih--panel .wvx-ih-inner {
	grid-template-columns: 62% 1fr;
}
.wvx-ih-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	min-width: 0;
}
/* Panel on the left variant */
.wvx-ih-panel-left .wvx-ih--panel .wvx-ih-main { order: 2; }
.wvx-ih-panel-left .wvx-ih--panel .wvx-ih-panel { order: 1; }

/* ── Breadcrumb ─────────────────────────────── */
.wvx-ih-crumb { margin-bottom: 26px; }
.wvx-ih-crumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.wvx-ih-crumb li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.wvx-ih-crumb li + li { margin-left: 8px; }
.wvx-ih-crumb a {
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	transition: color 0.2s ease;
}
.wvx-ih-crumb a:hover { color: #8B7CF6; }
.wvx-ih-crumb .is-current { color: rgba(255, 255, 255, 0.85); }
.wvx-ih-crumb .sep { color: #8B7CF6; }

/* ── Badge ──────────────────────────────────── */
.wvx-ih-badge-row { margin-bottom: 22px; display: flex; width: 100%; }
.wvx-ih-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #A99EF8;
	background: rgba(124, 92, 246, 0.09);
	border: 1px solid rgba(124, 92, 246, 0.35);
	border-radius: 99px;
	padding: 8px 18px;
}
.wvx-ih-badge .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #8B5CF6;
	animation: wvx-ih-pulse 2.2s infinite;
}
@keyframes wvx-ih-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(124, 92, 246, 0.55); }
	70%  { box-shadow: 0 0 0 8px rgba(124, 92, 246, 0); }
	100% { box-shadow: 0 0 0 0 rgba(124, 92, 246, 0); }
}

/* ── Title & description ────────────────────── */
.wvx-ih-title {
	margin: 0 0 20px;
	font-size: clamp(34px, 5vw, 58px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: #FFFFFF;
	text-wrap: balance;
}
.wvx-ih-title em {
	font-style: normal;
	background: linear-gradient(95deg, var(--wvx-ih-ga), var(--wvx-ih-gb));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.wvx-ih-desc {
	margin: 0 0 26px;
	max-width: 58ch;
	font-size: clamp(15px, 1.8vw, 17px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.62);
}

/* ── Chips ──────────────────────────────────── */
.wvx-ih-chips {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.wvx-ih-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.62);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 99px;
	padding: 8px 16px;
	line-height: 1;
}
.wvx-ih-chip i { color: #8B5CF6; font-size: 12px; }
.wvx-ih-chip svg { width: 12px; height: 12px; fill: #8B5CF6; }

/* ── Buttons ────────────────────────────────── */
.wvx-ih-btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}
.wvx-ih-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
	padding: 14px 26px;
	border-radius: 10px;
	border: 1px solid transparent;
	transition:
		background 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
}
.wvx-ih-btn i { font-size: 13px; transition: transform 0.25s ease; }
.wvx-ih-btn svg { width: 13px; height: 13px; fill: currentColor; transition: transform 0.25s ease; }
.wvx-ih-btn:hover i,
.wvx-ih-btn:hover svg { transform: translateX(3px); }
.wvx-ih-btn--1 {
	color: #FFFFFF;
	background: #6C5CE8;
	box-shadow: 0 6px 24px rgba(108, 92, 232, 0.35);
}
.wvx-ih-btn--1:hover {
	background: #7C6CF6;
	box-shadow: 0 10px 34px rgba(108, 92, 232, 0.5);
	transform: translateY(-2px);
	color: #FFFFFF;
}
.wvx-ih-btn--2 {
	color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.12);
}
.wvx-ih-btn--2:hover {
	border-color: #8B5CF6;
	color: #FFFFFF;
	transform: translateY(-2px);
}

/* ── Trust line ─────────────────────────────── */
.wvx-ih-trust {
	margin-top: 16px;
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.45);
}

/* ── Stats panel ────────────────────────────── */
.wvx-ih-panel {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 28px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	min-width: 0;
}
.wvx-ih-panel-title {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 18px;
}
.wvx-ih-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.wvx-ih-stat {
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 12px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.02);
}
.wvx-ih-stat b {
	display: block;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #FFFFFF;
	font-variant-numeric: tabular-nums;
}
.wvx-ih-stat span {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.45;
}

/* ── Entrance animation ─────────────────────── */
@keyframes wvx-ih-rise {
	from { opacity: 0; transform: translateY(var(--wvx-ih-adist, 26px)); }
	to   { opacity: 1; transform: translateY(0); }
}
.wvx-ih-reveal-yes .wvx-ih-a {
	opacity: 0;
	animation: wvx-ih-rise var(--wvx-ih-adur, 700ms) cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.wvx-ih-reveal-yes .wvx-ih-a:nth-child(1) { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 0); }
.wvx-ih-reveal-yes .wvx-ih-a:nth-child(2) { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 1); }
.wvx-ih-reveal-yes .wvx-ih-a:nth-child(3) { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 2); }
.wvx-ih-reveal-yes .wvx-ih-a:nth-child(4) { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 3); }
.wvx-ih-reveal-yes .wvx-ih-a:nth-child(5) { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 4); }
.wvx-ih-reveal-yes .wvx-ih-a:nth-child(6) { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 5); }
.wvx-ih-reveal-yes .wvx-ih-a:nth-child(7) { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 6); }
.wvx-ih-reveal-yes .wvx-ih-panel { animation-delay: calc(var(--wvx-ih-astep, 90ms) * 3); }

/* ── Tablet ─────────────────────────────────── */
@media (max-width: 1024px) {
	.wvx-ih { padding: 130px 0 64px; }
	.wvx-ih--panel .wvx-ih-inner {
		grid-template-columns: 1fr !important;
		gap: 36px;
	}
	.wvx-ih-panel { max-width: 560px; }
	.wvx-ih-panel-left .wvx-ih--panel .wvx-ih-main { order: 1; }
	.wvx-ih-panel-left .wvx-ih--panel .wvx-ih-panel { order: 2; }
}

/* ── Mobile ─────────────────────────────────── */
@media (max-width: 767px) {
	.wvx-ih { padding: 110px 0 52px; }
	.wvx-ih-title { font-size: clamp(28px, 8vw, 38px); }
	.wvx-ih-btns { width: 100%; }
	.wvx-ih-btn { justify-content: center; flex: 1 1 auto; }
	.wvx-ih-panel { max-width: none; width: 100%; }
	.wvx-ih-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wvx-ih-crumb ol { font-size: 11px; }
}
@media (max-width: 380px) {
	.wvx-ih-stats { grid-template-columns: 1fr; }
}

/* ── Reduced motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.wvx-ih-reveal-yes .wvx-ih-a {
		opacity: 1;
		animation: none;
	}
	.wvx-ih-badge .dot { animation: none; }
	.wvx-ih-btn, .wvx-ih-btn i, .wvx-ih-btn svg { transition: none; }
}
