/* Neto UI — Hero: full-viewport cinematic brand stage */

.neto-hero {
	position: relative;
	isolation: isolate;
	overflow: visible;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	min-height: var(--neto-hero-min-h, 100dvh);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	box-sizing: border-box;
	padding:
		clamp(5.5rem, 11vh, 7rem)
		0
		clamp(2.5rem, 5vh, 3.5rem);
	margin: 0;
	background: transparent;
	color: var(--neto-ink);
	font-family: var(--neto-font);
}

.neto-hero__stage {
	position: absolute;
	inset: 0 0 calc(-1 * clamp(4rem, 14vh, 9rem)) 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: 0;
}

/* Soft fade so video/canvas melts into Services */
.neto-hero__stage::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: clamp(5rem, 18vh, 11rem);
	z-index: 4;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		transparent 0%,
		color-mix(in srgb, var(--neto-page) 35%, transparent) 45%,
		var(--neto-page) 100%
	);
}

.neto-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.neto-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	opacity: 0.4;
	filter: saturate(0.9) contrast(1.05);
	transform: scale(1.04);
}

html[data-neto-ui-theme="light"] .neto-hero__video {
	opacity: 0.3;
	filter: saturate(0.95) brightness(1.06);
}

.neto-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			105deg,
			rgba(9, 9, 11, 0.9) 0%,
			rgba(9, 9, 11, 0.62) 45%,
			rgba(9, 9, 11, 0.4) 70%,
			rgba(9, 9, 11, 0.58) 100%
		),
		radial-gradient(ellipse 55% 60% at 75% 45%, rgba(255, 255, 255, 0.05), transparent 70%);
}

html[data-neto-ui-theme="light"] .neto-hero__veil {
	background:
		linear-gradient(
			105deg,
			rgba(244, 247, 253, 0.92) 0%,
			rgba(244, 247, 253, 0.72) 48%,
			rgba(244, 247, 253, 0.42) 72%,
			rgba(244, 247, 253, 0.68) 100%
		),
		radial-gradient(ellipse 55% 60% at 75% 45%, rgba(0, 77, 119, 0.1), transparent 70%);
}

.neto-hero--video .neto-hero__grid {
	opacity: 0.28;
}

.neto-hero--video .neto-hero__orb {
	opacity: 0.45;
}

.neto-hero__grid {
	position: absolute;
	inset: -10%;
	background-image:
		linear-gradient(var(--neto-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--neto-line) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
	opacity: 0.55;
	animation: netoGridDrift 28s linear infinite;
}

.neto-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(48px);
	opacity: 0.85;
	will-change: transform;
}

.neto-hero__orb--a {
	width: min(48vw, 420px);
	height: min(48vw, 420px);
	top: -8%;
	left: -6%;
	background: var(--neto-glow-a);
	animation: netoOrbA 16s ease-in-out infinite alternate;
}

.neto-hero__orb--b {
	width: min(42vw, 380px);
	height: min(42vw, 380px);
	bottom: 4%;
	right: -4%;
	background: var(--neto-glow-b);
	animation: netoOrbB 20s ease-in-out infinite alternate;
}

.neto-hero__ring {
	position: absolute;
	inset: auto;
	z-index: 0;
	left: 50%;
	top: 50%;
	border-radius: 50%;
	pointer-events: none;
	box-sizing: border-box;
}

.neto-hero__ring--outer {
	width: min(118%, 26rem);
	height: min(118%, 26rem);
	border: 1px solid var(--neto-line);
	opacity: 0.72;
	animation: netoRingSpin 42s linear infinite;
}

.neto-hero__ring--inner {
	width: min(98%, 21.5rem);
	height: min(98%, 21.5rem);
	border: 1px dashed color-mix(in srgb, var(--neto-line) 80%, transparent);
	opacity: 0.65;
	animation: netoRingSpinRev 28s linear infinite;
}

html[data-neto-ui-theme="light"] .neto-hero__ring--inner {
	border-color: color-mix(in srgb, var(--neto-accent) 45%, transparent);
}

.neto-hero__shine {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 40% at 70% 30%, var(--neto-glow-b), transparent 60%),
		linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
	animation: netoShine 12s ease-in-out infinite;
}

html[data-neto-ui-theme="light"] .neto-hero__shine {
	background:
		radial-gradient(ellipse 50% 40% at 70% 30%, var(--neto-glow-b), transparent 60%),
		linear-gradient(120deg, transparent 40%, color-mix(in srgb, var(--neto-accent) 8%, transparent) 50%, transparent 60%);
}

.neto-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--neto-content-max, 1300px);
	margin-inline: auto;
	padding-inline: var(--neto-pad-x, clamp(1.15rem, 3.2vw, 2.5rem));
	box-sizing: border-box;
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: center;
	align-content: center;
}

.neto-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	text-align: right;
	max-width: 36rem;
}

/* —— Typographic rhythm —— */
.neto-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 clamp(1.55rem, 3.2vh, 2.25rem);
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	border: 1px solid var(--neto-line);
	background: var(--neto-glass);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--neto-muted);
	opacity: 0;
	transform: translateY(12px);
	animation: netoRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.neto-hero__kicker-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
	background: var(--neto-accent);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--neto-accent) 55%, transparent);
	animation: netoPulse 2.2s ease-out infinite;
}

.neto-hero__h1 {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	opacity: 0;
	transform: translateY(18px);
	animation: netoRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.neto-hero__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem 0.85rem;
	margin: 0 0 clamp(1rem, 2.2vh, 1.45rem);
	font-size: var(--neto-hero-brand-size);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: var(--neto-ink);
}

.neto-hero__brand-sep {
	font-size: 0.42em;
	font-weight: 500;
	color: var(--neto-muted);
	opacity: 0.7;
}

.neto-hero__brand-en {
	font-size: 0.48em;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--neto-muted);
}

.neto-hero__claim {
	display: block;
	max-width: 16em;
	margin: 0 auto clamp(1.65rem, 3.4vh, 2.35rem);
	font-size: var(--neto-hero-claim-size);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.35;
	text-align: center;
	align-self: center;
	text-wrap: balance;
	/* Solid ink for crawlability — never color:transparent on SEO copy */
	color: var(--neto-ink);
}

html[data-neto-ui-theme="dark"] .neto-hero__claim {
	color: var(--neto-ink);
}

.neto-hero__lead {
	margin: 0 0 clamp(2rem, 4.2vh, 2.85rem);
	max-width: 34em;
	font-size: var(--neto-hero-lead-size);
	font-weight: 400;
	line-height: 1.95;
	text-align: justify;
	text-justify: inter-word;
	color: var(--neto-muted);
	opacity: 0;
	transform: translateY(16px);
	animation: netoRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.neto-hero__lead p {
	margin: 0 0 0.75em;
}

.neto-hero__lead p:last-child {
	margin-bottom: 0;
}

.neto-hero__lead a {
	color: inherit;
	text-decoration: none;
}

.neto-hero__lead a:hover,
.neto-hero__lead a:focus-visible {
	opacity: 0.85;
	outline: none;
}

.neto-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.95rem;
	margin: 0 0 2.75rem;
	padding-top: 0.25rem;
	opacity: 0;
	transform: translateY(14px);
	animation: netoRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.neto-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 3.15rem;
	padding: 0 1.5rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.neto-hero__btn--touch {
	display: none;
}

.neto-hero__btn--primary {
	background: var(--neto-brand);
	color: var(--neto-brand-ink);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--neto-brand) 35%, transparent);
}

.neto-hero__btn--primary:hover,
.neto-hero__btn--primary:focus-visible {
	transform: translateY(-2px);
	background: var(--neto-brand-hover, #00385a);
	color: #fff;
}

.neto-hero__btn--ghost {
	background: var(--neto-glass);
	color: var(--neto-ink);
	border: 1px solid var(--neto-glass-border);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.neto-hero__btn--ghost:hover,
.neto-hero__btn--ghost:focus-visible {
	transform: translateY(-2px);
	border-color: var(--neto-accent);
	color: var(--neto-ink);
}

.neto-hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
	width: 100%;
	max-width: 32rem;
	margin-inline: auto;
	margin-top: 0.35rem;
	opacity: 0;
	transform: translateY(22px) scale(0.98);
	animation: netoRise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

/* Desktop: slightly smaller clock, height-aligned with copy column */
@media (min-width: 901px) {
	.neto-hero__inner {
		align-items: center;
	}
	.neto-hero__visual {
		max-width: 26.75rem;
		margin-top: 0;
		align-self: center;
	}
	.neto-hero__visual .nt-neo-clock {
		width: min(92%, 398px);
		flex: 0 1 398px;
	}
	.neto-hero__visual > .nt-neo-time {
		padding: clamp(4px, 1vw, 10px);
	}
}

.neto-hero__visual > .nt-neo-time {
	position: relative;
	z-index: 1;
}

.neto-hero__scroll {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: clamp(1.25rem, 3.5vh, 2rem);
	transform: translateX(-50%);
	width: 28px;
	height: 42px;
	border-radius: 999px;
	border: 1px solid var(--neto-line);
	display: flex;
	justify-content: center;
	padding-top: 8px;
	text-decoration: none;
}

.neto-hero__scroll span {
	width: 4px;
	height: 8px;
	border-radius: 999px;
	background: var(--neto-accent);
	animation: netoScrollDot 1.6s ease-in-out infinite;
}

@keyframes netoRise {
	to { opacity: 1; transform: none; }
}

@keyframes netoOrbA {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(8%, 12%) scale(1.08); }
}

@keyframes netoOrbB {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(-10%, -8%) scale(1.12); }
}

@keyframes netoRingSpin {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes netoRingSpinRev {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes netoGridDrift {
	to { transform: translate3d(28px, 28px, 0); }
}

@keyframes netoShine {
	0%, 100% { opacity: 0.55; }
	50% { opacity: 1; }
}

@keyframes netoPulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--neto-accent) 45%, transparent); }
	70% { box-shadow: 0 0 0 10px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes netoScrollDot {
	0%, 100% { transform: translateY(0); opacity: 1; }
	50% { transform: translateY(10px); opacity: 0.35; }
}

@media (max-width: 900px) {
	.neto-hero {
		min-height: 100vh;
		min-height: 100dvh;
		min-height: var(--neto-hero-min-h, 100dvh);
		padding-top: clamp(5rem, 9vh, 6.5rem);
	}
	.neto-hero__btn--desk {
		display: none;
	}
	.neto-hero__btn--touch {
		display: inline-flex;
	}
	.neto-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
		gap: clamp(1.75rem, 4vh, 2.5rem);
	}
	.neto-hero__copy {
		align-items: stretch;
		text-align: right;
		max-width: 40rem;
		margin-inline: auto;
		order: 2;
	}
	.neto-hero__claim,
	.neto-hero__lead {
		margin-inline: auto;
		width: 100%;
	}
	.neto-hero__claim {
		text-align: center;
	}
	.neto-hero__lead {
		text-align: justify;
	}
	.neto-hero__actions {
		justify-content: center;
		margin-bottom: 1.25rem;
	}
	.neto-hero__brand {
		justify-content: center;
	}
	.neto-hero__visual {
		order: 1;
		width: 100%;
		max-width: 21.5rem;
		margin-inline: auto;
		margin-top: 0.85rem;
		padding-inline: 0.85rem;
		box-sizing: border-box;
	}
	.neto-hero__ring {
		opacity: 0.35;
	}
}

@media (max-width: 560px) {
	.neto-hero {
		padding-bottom: 3.25rem;
	}
	.neto-hero__visual {
		order: 1;
		max-width: 18.5rem;
		margin-top: 1rem;
		padding-inline: 0.85rem;
	}
	.neto-hero__copy {
		order: 2;
	}
	.neto-hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		margin-bottom: 1.1rem;
	}
	.neto-hero__btn {
		width: 100%;
	}
	.neto-hero__scroll {
		bottom: 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.neto-hero__grid,
	.neto-hero__orb,
	.neto-hero__ring,
	.neto-hero__shine,
	.neto-hero__kicker,
	.neto-hero__h1,
	.neto-hero__lead,
	.neto-hero__actions,
	.neto-hero__visual,
	.neto-hero__kicker-dot,
	.neto-hero__scroll span {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.neto-hero__video {
		animation: none;
		filter: blur(3px);
		transform: none;
	}
}
