.iwz-homepage,
.iwz-page-shell,
.iwz-diagnostic-page {
	position: relative;
}

.iwz-hero-section {
	position: relative;
}

.iwz-hero-section::before,
.iwz-cta-band::before {
	content: "";
	position: absolute;
	inset: auto -10% -10% auto;
	width: 26rem;
	height: 26rem;
	background: radial-gradient(circle, rgba(255, 86, 98, 0.16), transparent 64%);
	filter: blur(12px);
	pointer-events: none;
}

.iwz-trust-row {
	gap: 0.9rem;
	margin-top: 1.5rem;
}

.iwz-trust-row p {
	margin: 0;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: rgba(49, 32, 94, 0.72);
	border: 1px solid rgba(72, 185, 183, 0.16);
	color: var(--iwz-text);
}

.iwz-logo-band__inner {
	padding: 1rem 1.4rem;
	border-radius: 999px;
	background: rgba(49, 32, 94, 0.72);
	border: 1px solid rgba(72, 185, 183, 0.14);
}

.iwz-logo-band__inner p {
	margin: 0;
}

.iwz-feature-card {
	min-height: 12rem;
	height: auto;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.iwz-services-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch !important;
}

.iwz-services-grid > .wp-block-column {
	display: contents;
	margin: 0 !important;
	min-width: 0;
	flex-basis: auto !important;
	flex-grow: 0;
}

.iwz-service-card {
	position: relative;
	display: grid;
	grid-template-rows: auto auto 1fr;
	gap: 0.85rem;
	min-height: 100%;
	overflow: hidden;
	padding: clamp(1.5rem, 2.1vw, 2rem);
	background:
		radial-gradient(circle at top right, rgba(72, 185, 183, 0.14), transparent 36%),
		linear-gradient(180deg, rgba(36, 21, 74, 0.94), rgba(24, 14, 52, 0.92));
	border: 1px solid rgba(72, 185, 183, 0.18);
	box-shadow: 0 24px 60px rgba(6, 4, 18, 0.38);
	backdrop-filter: blur(18px);
	isolation: isolate;
}

.iwz-service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.06), transparent 28%),
		linear-gradient(135deg, rgba(120, 216, 212, 0.08), transparent 58%);
	pointer-events: none;
	opacity: 0.95;
	z-index: 0;
}

.iwz-service-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 1.5rem;
	right: 1.5rem;
	height: 1px;
	background: linear-gradient(90deg, rgba(120, 216, 212, 0), rgba(120, 216, 212, 0.68), rgba(255, 86, 98, 0.18));
	pointer-events: none;
	z-index: 0;
}

.iwz-service-card > * {
	position: relative;
	z-index: 1;
	margin-block-start: 0;
	margin-block-end: 0;
}

.iwz-service-card .iwz-eyebrow {
	width: fit-content;
	margin: 0;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	background: rgba(72, 185, 183, 0.12);
	border: 1px solid rgba(72, 185, 183, 0.22);
	color: var(--iwz-teal-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.iwz-service-card h3 {
	margin: 0;
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--iwz-text);
}

.iwz-service-card p:last-child {
	margin: 0;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.iwz-service-card.iwz-ai-surface {
	background:
		radial-gradient(circle at top right, rgba(72, 185, 183, 0.22), transparent 38%),
		linear-gradient(180deg, rgba(28, 31, 84, 0.96), rgba(16, 26, 67, 0.94));
	border-color: rgba(120, 216, 212, 0.28);
	box-shadow: 0 28px 72px rgba(4, 10, 24, 0.42), 0 0 0 1px rgba(72, 185, 183, 0.08);
}

.iwz-service-card.iwz-ai-surface .iwz-eyebrow {
	background: rgba(72, 185, 183, 0.16);
	border-color: rgba(120, 216, 212, 0.28);
}

.iwz-feature-card:hover,
.iwz-process-card:hover,
.iwz-showcase-card:hover {
	transform: translateY(-6px);
	border-color: rgba(72, 185, 183, 0.34);
	box-shadow: 0 24px 60px rgba(6, 4, 18, 0.5);
}

.iwz-service-card:hover,
.iwz-service-card:focus-within {
	transform: translateY(-8px);
	border-color: rgba(120, 216, 212, 0.34);
	box-shadow: 0 30px 72px rgba(6, 4, 18, 0.5);
}

.iwz-hero-visual {
	position: relative;
	min-height: 34rem;
	isolation: isolate;
	--iwz-pointer-x: 50%;
	--iwz-pointer-y: 50%;
	--iwz-tilt-x: 0deg;
	--iwz-tilt-y: 0deg;
	padding: 1.5rem 0;
	perspective: 1200px;
}

.iwz-hero-visual::before {
	content: "";
	position: absolute;
	inset: 12% 8% 10%;
	border-radius: 36px;
	background:
		radial-gradient(circle at var(--iwz-pointer-x) var(--iwz-pointer-y), rgba(72, 185, 183, 0.24), transparent 24%),
		linear-gradient(180deg, rgba(49, 32, 94, 0.9), rgba(24, 14, 52, 0.82));
	border: 1px solid rgba(72, 185, 183, 0.14);
	backdrop-filter: blur(20px);
	box-shadow: var(--iwz-glow);
	transform: rotateX(var(--iwz-tilt-x)) rotateY(var(--iwz-tilt-y));
	transition: transform 220ms ease, background 220ms ease;
	pointer-events: none;
	z-index: 0;
}

.iwz-hero-visual > * {
	transform: translate3d(var(--iwz-shift-x, 0), var(--iwz-shift-y, 0), 0);
	transition: transform 220ms ease;
}

.iwz-hero-image-shell {
	position: absolute;
	inset: 2.4rem 2rem 2.25rem 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transform-style: preserve-3d;
}

.iwz-hero-image-shell::before {
	content: "";
	position: absolute;
	inset: 14% 16% 10%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(72, 185, 183, 0.2), rgba(255, 86, 98, 0.08) 48%, transparent 72%);
	filter: blur(22px);
	z-index: -1;
	animation: iwz-float 9s ease-in-out infinite;
}

.iwz-hero-image-shell img {
	width: 100%;
	height: auto;
}

.iwz-hero-image {
	display: block;
	max-width: min(100%, 28rem);
	max-height: 29rem;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 20px 42px rgba(6, 4, 18, 0.32));
	transform: translateZ(24px);
	user-select: none;
	pointer-events: none;
}

.iwz-hero-badge {
	position: absolute;
	padding: 0.95rem 1.05rem;
	min-width: 12rem;
	background: rgba(49, 32, 94, 0.84);
	border: 1px solid rgba(72, 185, 183, 0.16);
	border-radius: 18px;
	backdrop-filter: blur(18px);
	box-shadow: 0 22px 50px rgba(6, 4, 18, 0.4);
	z-index: 3;
}

.iwz-hero-badge--top {
	top: 3.2rem;
	right: 0.5rem;
}

.iwz-hero-badge--bottom {
	left: 0;
	bottom: 3rem;
}

.iwz-hero-badge strong {
	display: block;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--iwz-text);
}

.iwz-hero-badge__label {
	display: inline-flex;
	margin-bottom: 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--iwz-teal-soft);
}

.iwz-hero-ring {
	position: absolute;
	border-radius: 999px;
	border: 1px dashed rgba(31, 142, 149, 0.22);
	opacity: 0.8;
	pointer-events: none;
	z-index: 1;
}

.iwz-hero-ring--one {
	inset: 5rem 3.5rem 4rem 1.5rem;
	animation: iwz-spin 26s linear infinite;
}

.iwz-hero-ring--two {
	inset: 8rem 6.5rem 7rem 4.5rem;
	border-color: rgba(255, 86, 98, 0.22);
	animation: iwz-spin 32s linear infinite reverse;
}

.iwz-orb {
	position: absolute;
	border-radius: 999px;
	filter: blur(12px);
	opacity: 0.8;
}

.iwz-orb--teal {
	width: 12rem;
	height: 12rem;
	background: rgba(72, 185, 183, 0.22);
	top: 1rem;
	right: 0;
	animation: iwz-float 8s ease-in-out infinite;
}

.iwz-orb--purple {
	width: 16rem;
	height: 16rem;
	background: rgba(255, 86, 98, 0.14);
	bottom: 0;
	left: 2rem;
	animation: iwz-float 10s ease-in-out infinite reverse;
}

.iwz-dashboard-card__metric {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
	line-height: 1.05;
	color: var(--iwz-text);
	margin: 0.75rem 0 1rem;
}

.iwz-dashboard-card__bars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
}

.iwz-dashboard-card__bars span {
	display: block;
	height: 6rem;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(72, 185, 183, 0.2) 0%, rgba(72, 185, 183, 0.9) 100%);
	animation: iwz-pulse 5s ease-in-out infinite;
	transform-origin: bottom;
}

.iwz-dashboard-card__bars span:nth-child(2) {
	height: 4.8rem;
	animation-delay: 0.2s;
}

.iwz-dashboard-card__bars span:nth-child(3) {
	height: 7rem;
	animation-delay: 0.4s;
}

.iwz-dashboard-card__bars span:nth-child(4) {
	height: 5.5rem;
	animation-delay: 0.6s;
}

.iwz-dashboard-card__footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
}

.iwz-data-stream {
	position: absolute;
	inset: 7rem 6rem 5rem auto;
	width: 14rem;
	background: linear-gradient(180deg, rgba(109, 195, 201, 0), rgba(109, 195, 201, 0.9), rgba(109, 195, 201, 0));
	mask-image: repeating-linear-gradient(180deg, #000 0 24px, transparent 24px 34px);
	opacity: 0.75;
	animation: iwz-stream 8s linear infinite;
}

.iwz-flow-node {
	position: absolute;
	width: 1rem;
	height: 1rem;
	border-radius: 999px;
	background: var(--iwz-teal-soft);
	box-shadow: 0 0 18px rgba(109, 195, 201, 0.9);
}

.iwz-flow-node--one {
	top: 8rem;
	right: 6rem;
}

.iwz-flow-node--two {
	top: 15rem;
	right: 3rem;
}

.iwz-flow-node--three {
	top: 22rem;
	right: 9rem;
}

.iwz-showcase-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.iwz-showcase-card {
	padding: 1.25rem;
	min-height: 12rem;
}

.iwz-showcase-card.is-wide {
	grid-column: span 2;
	min-height: 10rem;
}

.iwz-showcase-card.is-gradient {
	background: var(--iwz-gradient);
}

.iwz-showcase-card__value {
	font-size: clamp(1.3rem, 2.6vw, 2rem);
	font-weight: 800;
	line-height: 1.1;
	margin-top: 0.7rem;
	color: var(--iwz-text);
}

.iwz-metric-card {
	min-height: 100%;
}

.iwz-metric-card__label {
	margin-top: 0.7rem;
	font-size: 1rem;
	color: var(--iwz-text);
}

.iwz-process-card h3,
.iwz-feature-card h3 {
	margin-top: 1rem;
	margin-bottom: 0.6rem;
}

.iwz-cta-band__inner {
	padding: clamp(2rem, 5vw, 4rem);
	text-align: center;
	background:
		radial-gradient(circle at top right, rgba(255, 86, 98, 0.14), transparent 30%),
		var(--iwz-surface);
}

.iwz-site-footer {
	border-top: 1px solid rgba(72, 185, 183, 0.14);
	background: rgba(24, 14, 52, 0.92);
}

.iwz-footer-meta {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(72, 185, 183, 0.14);
}

.iwz-side-stat {
	margin-top: 1.5rem;
	max-width: 16rem;
}

@media (max-width: 960px) {
	.iwz-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.iwz-hero-visual {
		margin-top: 1rem;
		min-height: 28rem;
	}

	.iwz-hero-image-shell {
		inset-inline: 1rem;
	}

	.iwz-hero-badge--top {
		right: 0;
	}

	.iwz-hero-badge--bottom {
		bottom: 1.25rem;
	}

	.iwz-showcase-grid {
		grid-template-columns: 1fr;
	}

	.iwz-showcase-card.is-wide {
		grid-column: auto;
	}
}

@media (max-width: 781px) {
	.iwz-services-grid {
		grid-template-columns: 1fr;
	}

	.iwz-logo-band__inner {
		border-radius: 24px;
		justify-content: start;
	}

	.has-display-font-size {
		font-size: clamp(2.5rem, 12vw, 4rem) !important;
	}

	.iwz-hero-visual {
		min-height: 24rem;
	}

	.iwz-hero-visual-column {
		display: none;
	}

	.iwz-hero-visual::before {
		inset: 8% 0 6%;
	}

	.iwz-hero-image {
		max-width: min(100%, 22rem);
		max-height: 22rem;
	}

	.iwz-hero-badge {
		min-width: 0;
		max-width: 11rem;
		padding: 0.8rem 0.9rem;
	}

	.iwz-hero-badge--top {
		top: 1rem;
	}

	.iwz-flow-node--one {
		right: 2.2rem;
	}

	.iwz-flow-node--two {
		top: 12rem;
		right: 1rem;
	}

	.iwz-flow-node--three {
		top: 18rem;
		right: 4rem;
	}
}
