/* Neto UI — Why Netotech (scroll reveal + sticky media) */

.neto-why {
	position: relative;
	z-index: 1;
	isolation: isolate;
	overflow-x: clip;
	overflow-y: visible;
	max-width: 100%;
	padding-block: var(--neto-section-y, clamp(3.5rem, 8vh, 6rem));
	margin: 0;
	background: transparent;
	color: var(--neto-ink);
	font-family: var(--neto-font);
}

.neto-why::before {
	display: none;
}

.neto-why__wrap {
	position: relative;
	z-index: 1;
	min-width: 0;
	/* inherits .neto-ui-wrap: max-width 1300px + pad-x — do not set max-width:100% */
}

.neto-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: center;
	max-width: 100%;
	min-width: 0;
}

.neto-why__copy {
	min-width: 0;
}

.neto-why__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--neto-muted);
}

.neto-why__eyebrow-line {
	display: inline-block;
	width: 2.25rem;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--neto-eyebrow-line, var(--neto-accent)), transparent);
	transform-origin: right center;
}

.neto-why__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.2rem, 1.85vw, 1.5rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.55;
	color: var(--neto-ink);
	text-wrap: balance;
	overflow-wrap: anywhere;
	max-width: 100%;
}

.neto-why__brand {
	color: inherit;
	white-space: normal;
}

.neto-why__body {
	margin: 0;
	font-size: 1.02rem;
	line-height: 2;
	text-align: justify;
	text-justify: inter-word;
	color: var(--neto-muted);
}

.neto-why__body p {
	margin: 0;
}

.neto-why__body a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.neto-why__body a:hover,
.neto-why__body a:focus-visible {
	color: inherit;
	opacity: 0.85;
	outline: none;
	text-decoration: none;
}

html[data-neto-ui-theme="dark"] .neto-why__body a {
	color: inherit;
}

.neto-why__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.neto-why__point {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 0.95rem 1rem;
	border-radius: 1.1rem;
	border: 1px solid var(--neto-line);
	background: var(--neto-card);
	box-shadow: 0 10px 28px rgba(80, 110, 150, 0.08);
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

html[data-neto-ui-theme="dark"] .neto-why__point {
	background: #191919;
	border-color: #27272a;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.neto-why__point:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--neto-accent) 40%, var(--neto-line));
}

.neto-why__point-index {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.2;
	color: var(--neto-accent);
	opacity: 0.85;
}

.neto-why__point-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.55rem;
	min-width: 0;
	width: 100%;
}

.neto-why__point-title {
	display: block;
	margin: 0;
	font-size: clamp(1rem, 1.15vw, 1.12rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.4;
	color: var(--neto-ink);
	text-align: justify;
	text-wrap: balance;
}

.neto-why__point-desc {
	display: block;
	margin: 0;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.8;
	text-align: justify;
	text-justify: inter-word;
	color: var(--neto-muted);
}

/* Media / video beside copy */
.neto-why__media {
	min-width: 0;
	max-width: 100%;
	position: relative;
	align-self: center;
	width: 100%;
	display: block;
	box-sizing: border-box;
}

.neto-why__stage {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	border-radius: 1.45rem;
	will-change: transform;
}

.neto-why__glow {
	position: absolute;
	left: 12%;
	right: 12%;
	top: 12%;
	height: 55%;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(circle, color-mix(in srgb, var(--neto-accent) 28%, transparent), transparent 70%);
	filter: blur(22px);
	opacity: 0.55;
	transform: translateZ(0);
}

html[data-neto-ui-theme="dark"] .neto-why__glow {
	opacity: 0.35;
	background: radial-gradient(circle, color-mix(in srgb, var(--neto-accent) 28%, transparent), transparent 70%);
}

.neto-why__frame {
	position: relative;
	z-index: 1;
	margin: 0;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 1.45rem;
	overflow: hidden;
	border: 1px solid rgba(5, 43, 66, 0.12);
	background: #0b1220;
	box-shadow:
		0 18px 48px rgba(40, 70, 110, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html[data-neto-ui-theme="dark"] .neto-why__frame {
	border-color: #27272a;
	background: #111113;
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.5);
}

.neto-why__video,
.neto-why__poster {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #0b1220;
}

.neto-why__tap {
	position: absolute;
	inset: 0;
	z-index: 2;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	color: transparent !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	text-decoration: none !important;
}

.neto-why__tap:hover,
.neto-why__tap:focus,
.neto-why__tap:focus-visible,
.neto-why__tap:active,
.neto-ui .neto-why__tap:hover,
.neto-ui .neto-why__tap:focus,
.neto-ui .neto-why__tap:focus-visible,
.neto-ui .neto-why__tap:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: transparent !important;
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

.neto-why__frame.is-playing .neto-why__tap {
	display: none;
}

.neto-why__frame--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(ellipse 60% 50% at 70% 30%, color-mix(in srgb, var(--neto-accent) 22%, transparent), transparent 70%),
		linear-gradient(160deg, #0d1a2a 0%, #052b42 55%, #004d77 100%);
}

html[data-neto-ui-theme="dark"] .neto-why__frame--empty {
	background:
		radial-gradient(ellipse 55% 45% at 70% 28%, color-mix(in srgb, var(--neto-accent) 22%, transparent), transparent 70%),
		linear-gradient(160deg, #111113 0%, #191919 55%, #0f1720 100%);
}

.neto-why__mark {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	color: #fafafa;
	text-align: center;
}

.neto-why__mark span:first-child {
	font-size: clamp(1.4rem, 3vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.neto-why__mark span:last-child {
	font-size: 0.82rem;
	opacity: 0.72;
}

/* Scroll reveal */
[data-neto-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: calc(0.06s * var(--neto-why-i, 0));
}

[data-neto-reveal].is-in {
	opacity: 1;
	transform: none;
}

.neto-why__eyebrow[data-neto-reveal].is-in .neto-why__eyebrow-line {
	animation: netoWhyLine 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes netoWhyLine {
	from { transform: scaleX(0); opacity: 0.3; }
	to { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 980px) {
	.neto-why__grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
	.neto-why__media {
		position: relative;
		top: auto;
		min-height: 0;
		display: block;
		order: -1;
	}
	.neto-why__title {
		font-size: clamp(1.15rem, 3.8vw, 1.35rem);
	}
	.neto-why__body {
		font-size: 0.98rem;
		line-height: 1.9;
	}
	.neto-why__frame {
		border-radius: 1.2rem;
	}
}

@media (max-width: 560px) {
	.neto-why__point {
		padding: 0.85rem 0.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-neto-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.neto-why__stage {
		transform: none !important;
	}
	.neto-why__eyebrow-line {
		animation: none !important;
	}
	.neto-why__point:hover {
		transform: none;
	}
}
