@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
	--bg: #070d18;
	--bg-2: #0b1424;
	--surface: #131e33;
	--surface-2: #1a2942;
	--line: rgba(88, 200, 245, 0.16);
	--primary: #58c8f5;
	--primary-deep: #2f6c9e;
	--accent: #ff8341;
	--accent-2: #ffc46b;
	--text: #e8eef7;
	--muted: #93a7c2;
	--font-head: 'Oswald', 'Arial Narrow', sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--grad-cta: linear-gradient(105deg, #ff8341 0%, #ffc46b 100%);
	--grad-ice: linear-gradient(105deg, #58c8f5 0%, #2f6c9e 100%);
	--header-h: 84px;
	--radius: 18px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.7;
	color: var(--text);
}

body {
	background: var(--bg);
	overflow-x: hidden;
}

body.fixed {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: 0.01em;
}

.container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

.preloader {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
	color: var(--primary);
}

.preloader img {
	width: 56px;
	height: 56px;
}

html.hide .preloader {
	display: none;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
	background: rgba(7, 13, 24, 0.88);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}

.logo img {
	height: 40px;
	width: auto;
}

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

.nav .nav-link {
	position: relative;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 6px 0;
	transition: color 0.25s ease;
}

.nav .nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--grad-cta);
	transition: width 0.25s ease;
}

.nav .nav-link:hover {
	color: var(--text);
}

.nav .nav-link:hover::after {
	width: 100%;
}

.burger-btn {
	display: none;
	background: transparent;
	border: 0;
	width: 44px;
	height: 44px;
	padding: 10px;
	cursor: pointer;
}

.burger-btn span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--text);
	transition: transform 0.3s ease, opacity 0.2s ease;
}

.burger-btn span + span {
	margin-top: 6px;
}

.burger-btn.act span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
	opacity: 0;
}

.burger-btn.act span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

#mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #070d18 0%, #0f1b2e 100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

#mobile-menu.opened {
	opacity: 1;
	pointer-events: auto;
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

.mobile-nav .nav-link {
	font-family: var(--font-head);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
}

.mobile-nav .nav-link:hover {
	color: var(--accent);
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 18px;
}

.step-num {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--accent);
	margin-bottom: 16px;
}

.step-num::after {
	content: '';
	width: 54px;
	height: 1px;
	background: linear-gradient(90deg, var(--accent), transparent);
}

.section-title {
	font-size: 52px;
	margin-bottom: 22px;
	text-transform: uppercase;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	padding: 17px 40px;
	border-radius: 999px;
	white-space: nowrap;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
	background: var(--grad-cta);
	color: #1b1005;
	box-shadow: 0 14px 34px rgba(255, 131, 65, 0.32);
}

.btn-primary:hover {
	box-shadow: 0 18px 44px rgba(255, 131, 65, 0.46);
}

.btn-ghost {
	color: var(--text);
	border: 1px solid rgba(88, 200, 245, 0.4);
}

.btn-ghost:hover {
	border-color: var(--primary);
	background: rgba(88, 200, 245, 0.1);
}

@keyframes levitate {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

.hero .btn-primary {
	animation: levitate 3s ease-in-out infinite;
}

.hero .btn-primary:hover {
	animation-play-state: paused;
}

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding: calc(var(--header-h) + 70px) 0 90px;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background: url(../img/hero-bg.webp) center 22% / cover no-repeat;
}

.hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(96deg, rgba(7, 13, 24, 0.95) 0%, rgba(7, 13, 24, 0.78) 46%, rgba(7, 13, 24, 0.25) 78%, rgba(7, 13, 24, 0.6) 100%),
		linear-gradient(180deg, rgba(7, 13, 24, 0.7) 0%, transparent 30%, rgba(7, 13, 24, 0.92) 100%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
	align-items: center;
	gap: 40px;
}

.hero-title {
	font-size: 78px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.hero-title span {
	display: block;
	background: var(--grad-ice);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.hero-lead {
	font-size: 19px;
	font-weight: 500;
	color: var(--text);
	padding-left: 20px;
	border-left: 2px solid var(--accent);
	margin-bottom: 22px;
	max-width: 56ch;
}

.hero-text {
	font-size: 16px;
	color: var(--muted);
	max-width: 62ch;
	margin-bottom: 38px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hero-figure {
	position: relative;
	display: flex;
	justify-content: center;
}

.hero-figure::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 116%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(88, 200, 245, 0.24) 0%, rgba(255, 131, 65, 0.12) 38%, transparent 68%);
}

.hero-pers {
	position: relative;
	width: 100%;
	max-width: 420px;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
	animation: levitate 6s ease-in-out infinite;
}

.section {
	position: relative;
	padding: 118px 0;
}

.section-alt {
	background: var(--bg-2);
}

.section-split::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 72px;
}

.split-reverse .split-media {
	order: 2;
}

.split-body p {
	font-size: 17px;
	color: var(--muted);
	max-width: 58ch;
}

.media-frame {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.media-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.media-frame:hover img {
	transform: scale(1.04);
}

.media-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(7, 13, 24, 0.55) 100%);
	pointer-events: none;
}

.section-contact {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(255, 131, 65, 0.14) 0%, transparent 58%),
		linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
	text-align: center;
}

.contact-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contact-q {
	font-family: var(--font-head);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--text);
}

.contact-q + .contact-q {
	color: var(--primary);
	margin-bottom: 24px;
}

.contact-text {
	font-size: 17px;
	color: var(--muted);
	max-width: 68ch;
	margin-bottom: 40px;
}

.contact-text a {
	color: var(--accent);
	border-bottom: 1px solid rgba(255, 131, 65, 0.45);
	transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-text a:hover {
	color: var(--accent-2);
	border-color: var(--accent-2);
}

.footer {
	background: #050a12;
	border-top: 1px solid var(--line);
	padding: 48px 0;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}

.footer-logo img {
	height: 34px;
}

.footer-links {
	display: flex;
	gap: 28px;
}

.footer-links a {
	font-size: 15px;
	color: var(--muted);
	transition: color 0.25s ease;
}

.footer-links a:hover {
	color: var(--accent);
}

.footer-copy {
	font-size: 14px;
	color: #5f7593;
}

.legal-page {
	padding: calc(var(--header-h) + 70px) 0 100px;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(88, 200, 245, 0.1) 0%, transparent 55%),
		var(--bg);
}

.legal-content {
	max-width: 900px;
	margin: 0 auto;
	font-size: 16px;
	color: var(--muted);
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
	color: var(--text);
	text-transform: uppercase;
	margin: 44px 0 16px;
}

.legal-content h1 {
	font-size: 46px;
	margin-top: 0;
}

.legal-content h2 {
	font-size: 28px;
}

.legal-content h3,
.legal-content h4 {
	font-size: 20px;
}

.legal-content p,
.legal-content li {
	margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
	padding-left: 24px;
	margin-bottom: 20px;
}

.legal-content li::marker {
	color: var(--accent);
}

.legal-content a {
	color: var(--primary);
	word-break: break-word;
}

.legal-content strong,
.legal-content b {
	color: var(--text);
}

.legal-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 22px;
}

.legal-content th,
.legal-content td {
	border: 1px solid var(--line);
	padding: 10px 14px;
	text-align: left;
}

@media (max-width: 1024px) {
	.section-title {
		font-size: 42px;
	}

	.hero-title {
		font-size: 58px;
	}

	.nav {
		display: none;
	}

	.burger-btn {
		display: block;
	}

	.split {
		gap: 44px;
	}

	.hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
	}

	.hero-pers {
		max-width: 320px;
	}

	.section {
		padding: 88px 0;
	}
}

@media (max-width: 768px) {
	:root {
		--header-h: 72px;
	}

	.container {
		padding: 0 22px;
	}

	.hero {
		padding: calc(var(--header-h) + 54px) 0 70px;
	}

	.hero-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.hero-figure {
		order: -1;
	}

	.hero-pers {
		max-width: 260px;
	}

	.hero-title {
		font-size: 46px;
	}

	.hero-bg {
		background-position: center 30%;
	}

	.split,
	.split-reverse {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.split-reverse .split-media {
		order: 0;
	}

	.section-title {
		font-size: 34px;
	}

	.split-body p,
	.hero-text,
	.hero-lead,
	.contact-text {
		max-width: none;
	}

	.footer-inner {
		flex-direction: column;
		text-align: center;
	}

	.legal-content h1 {
		font-size: 34px;
	}

	.legal-content h2 {
		font-size: 24px;
	}
}

@media (max-width: 640px) {
	.section {
		padding: 66px 0;
	}

	.hero-title {
		font-size: 38px;
	}

	.section-title {
		font-size: 29px;
	}

	.contact-q {
		font-size: 22px;
	}

	.btn {
		font-size: 15px;
		padding: 15px 30px;
	}

	.hero-actions {
		gap: 12px;
	}

	.hero-actions .btn {
		flex: 1 1 100%;
	}

	.logo img {
		height: 32px;
	}

	.mobile-nav .nav-link {
		font-size: 22px;
	}

	.footer-links {
		flex-direction: column;
		gap: 12px;
	}
}
