:root {
	color-scheme: dark;
	--header-height: 86px;
	--bg: #070b14;
	--surface: #0d1422;
	--surface-soft: #101a2d;
	--text: #f1f5ff;
	--muted: #a2afcb;
	--line: #223354;
	--accent: #8ad2ff;
	--accent-strong: #5faeff;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
	line-height: 1.6;
	color: var(--text);
	background:
		radial-gradient(circle at 15% -10%, #1b2f59 0%, transparent 34%),
		radial-gradient(circle at 85% 0, #123154 0%, transparent 30%),
		linear-gradient(160deg, #090f1d 0%, var(--bg) 65%);
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(8px);
	background: rgba(7, 11, 20, 0.75);
	border-bottom: 1px solid rgba(34, 51, 84, 0.7);
}

.nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: var(--header-height);
	padding: 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.01em;
}

.brand-logo {
	width: 132px;
	height: 132px;
	max-height: none;
	border-radius: 0;
	object-fit: cover;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-nav a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.02rem;
	padding: 10px 15px;
	border-radius: 10px;
	border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
	color: var(--text);
	border-color: var(--line);
	background: rgba(17, 26, 43, 0.85);
}

main {
	padding: 0 0 72px;
}

.page-header {
	padding-top: 34px;
}

.hero {
	position: relative;
	overflow: hidden;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: clamp(440px, 72vh, 760px);
	background-image: url("../assets/images/ASBG.png");
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(6, 10, 18, 0.34) 0%, rgba(6, 10, 18, 0.12) 45%, rgba(6, 10, 18, 0.56) 100%),
		radial-gradient(circle at 50% 50%, rgba(128, 199, 255, 0.42), rgba(128, 199, 255, 0.15) 22%, transparent 58%);
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 50% 50%, rgba(182, 231, 255, 0.95) 0 1.2%, rgba(151, 214, 255, 0.42) 2.5%, transparent 8%),
		repeating-conic-gradient(from 0deg at 50% 50%, rgba(141, 214, 255, 0.36) 0deg 0.32deg, transparent 0.32deg 2.2deg),
		repeating-conic-gradient(from 0deg at 50% 50%, rgba(141, 214, 255, 0.18) 0deg 0.14deg, transparent 0.14deg 1.2deg);
	background-size: 100% 100%, 220% 220%, 320% 320%;
	background-position: center;
	mix-blend-mode: screen;
	opacity: 0.55;
	mask: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2) 0 5%, #000 22%, rgba(0, 0, 0, 0.94) 54%, transparent 100%);
	filter: blur(0.45px);
	transform-origin: 50% 50%;
	animation: heroLightspeedFlow 4.8s ease-out forwards;
}

@keyframes heroLightspeedFlow {
	0% {
		transform: scale(0.6);
		opacity: 0.2;
	}

	100% {
		transform: scale(1.38);
		opacity: 0.62;
	}
}

.hero-text-block {
	max-width: 760px;
	margin-top: 24px;
}

.eyebrow {
	margin: 0;
	font-size: 0.84rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--accent);
	font-weight: 700;
}

h1 {
	margin: 10px 0 14px;
	font-size: clamp(2rem, 4.4vw, 3.6rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.lead {
	margin: 0;
	max-width: 62ch;
	font-size: 1.05rem;
	color: #d2dcf3;
}

.cta-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 22px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 16px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	border: 1px solid transparent;
}

.btn-primary {
	color: #051224;
	background: linear-gradient(145deg, #95daff, #64b6ff);
}

.btn-secondary {
	color: var(--text);
	border-color: var(--line);
	background: rgba(255, 255, 255, 0.02);
}

.panel {
	margin-top: 24px;
	padding: 24px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: linear-gradient(170deg, rgba(16, 26, 44, 0.96), rgba(10, 16, 29, 0.96));
}

.panel-compact {
	padding: 20px;
}

h2 {
	margin: 0 0 10px;
	font-size: clamp(1.4rem, 2.7vw, 2rem);
	letter-spacing: -0.02em;
}

h3 {
	margin: 0 0 8px;
	font-size: 1.02rem;
}

p {
	margin: 0;
	color: var(--muted);
}

.simple-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.simple-grid article {
	padding: 16px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: rgba(11, 19, 34, 0.8);
}

.text-link {
	display: inline-block;
	margin-top: 10px;
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
}

.page-header {
	margin-bottom: 20px;
}

.page-header p {
	max-width: 72ch;
}

.list-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.list-grid article {
	padding: 16px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: rgba(12, 20, 36, 0.84);
}

.list-grid p {
	font-size: 0.95rem;
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding-bottom: 26px;
	color: var(--muted);
	font-size: 0.88rem;
}

.footer-links {
	white-space: nowrap;
}

.footer-links a {
	color: var(--accent);
	text-decoration: none;
}

.tech-cta {
	position: relative;
	overflow: hidden;
	margin-top: 24px;
	padding: 22px 24px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background:
		linear-gradient(170deg, rgba(14, 26, 46, 0.96), rgba(9, 16, 30, 0.96));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.tech-cta::before {
	content: "";
	position: absolute;
	inset: -30% auto -30% -6%;
	width: 46%;
	background:
		repeating-linear-gradient(120deg, rgba(129, 211, 255, 0.16) 0 2px, transparent 2px 13px);
	opacity: 0.35;
	pointer-events: none;
	transform: skewX(-8deg);
}

.tech-cta > * {
	position: relative;
	z-index: 1;
}

.tech-cta h2 {
	margin-bottom: 6px;
	font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.tech-cta p {
	max-width: 58ch;
}

.form-tech-wrap {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 18px;
}

.tech-graphic {
	position: relative;
	min-height: 100%;
	border: 1px solid var(--line);
	border-radius: 12px;
	background:
		radial-gradient(circle at 72% 20%, rgba(138, 210, 255, 0.2) 0%, transparent 40%),
		linear-gradient(170deg, rgba(11, 20, 35, 0.9), rgba(8, 14, 25, 0.9));
	overflow: hidden;
}

.tech-graphic::before,
.tech-graphic::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.tech-graphic::before {
	background:
		repeating-linear-gradient(90deg, rgba(129, 211, 255, 0.1) 0 1px, transparent 1px 26px),
		repeating-linear-gradient(0deg, rgba(129, 211, 255, 0.08) 0 1px, transparent 1px 22px);
	opacity: 0.6;
}

.tech-graphic::after {
	background:
		radial-gradient(circle at 40% 28%, rgba(145, 217, 255, 0.95) 0 1.8%, transparent 6%),
		repeating-conic-gradient(from 0deg at 40% 28%, rgba(141, 214, 255, 0.26) 0deg 0.34deg, transparent 0.34deg 2.3deg);
	opacity: 0.48;
}

.tech-node {
	position: absolute;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 8px rgba(138, 210, 255, 0.14);
}

.node-a {
	top: 24%;
	left: 18%;
}

.node-b {
	top: 60%;
	right: 20%;
}

.node-c {
	bottom: 18%;
	left: 45%;
}

.form-intro {
	margin-bottom: 12px;
}

.contact-form {
	display: grid;
	gap: 10px;
}

.contact-form label {
	font-size: 0.9rem;
	color: #d7e1f6;
	font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: rgba(8, 14, 26, 0.92);
	color: var(--text);
	font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: 2px solid rgba(138, 210, 255, 0.44);
	outline-offset: 1px;
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form button {
	justify-self: start;
	margin-top: 4px;
}

.legal-panel {
	display: grid;
	gap: 14px;
	position: relative;
	overflow: hidden;
}

.legal-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(130deg, rgba(120, 200, 255, 0.09) 0 1px, transparent 1px 17px);
	opacity: 0.35;
	pointer-events: none;
}

.legal-panel h2,
.legal-panel p {
	position: relative;
	z-index: 1;
}

.legal-panel h2 {
	margin-bottom: 0;
	font-size: 1.1rem;
}

@media (max-width: 900px) {
	:root {
		--header-height: 86px;
	}

	.container {
		width: min(1120px, calc(100% - 24px));
	}

	.nav-wrap {
		gap: 8px;
	}

	.brand {
		gap: 0;
	}

	.brand span {
		display: none;
	}

	.simple-grid,
	.list-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 340px;
	}

	.site-nav {
		gap: 4px;
	}

	.site-nav a {
		padding: 7px 9px;
		font-size: 0.88rem;
		white-space: nowrap;
	}

	.tech-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.form-tech-wrap {
		grid-template-columns: 1fr;
	}

	.tech-graphic {
		min-height: 180px;
	}

	.page-header {
		padding-top: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero,
	.hero::after {
		animation: none;
	}
}
