:root {
	--color-background: #06151d;
	--color-background-soft: #091f2a;
	--color-background-elevated: rgb(10 30 50 / 80%);
	--color-blue: #073a86;
	--color-blue-soft: #0b4fb2;
	--color-green: #07947f;
	--color-green-soft: #1dd3b4;
	--color-border: rgb(135 225 255 / 15%);
	--color-text: #f5f9ff;
	--color-text-muted: #a9bacb;
	--container-width: 1200px;
	--font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--shadow-card: 0 40px 80px rgb(0 0 0 / 35%);
	--transition-default: 200ms ease;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--color-background);
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	margin: 0;
	background:
		radial-gradient(circle at 20% 10%, rgb(30 210 180 / 20%), transparent 30rem),
		radial-gradient(circle at 80% 0%, rgb(20 80 180 / 20%), transparent 30rem),
		linear-gradient(180deg, #06151d 0%, #06131b 50%, #081820 100%);
	color: var(--color-text);
	font-family: var(--font-main);
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

body[dir="rtl"] {
	font-family: Vazirmatn, Tahoma, var(--font-main);
}

h1, h2, h3, p {
	margin-top: 0;
}

h1 {
	max-width: 800px;
	margin-bottom: 25px;
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 1000;
	letter-spacing: -0.05em;
	line-height: 1;
}

h2 {
	margin-bottom: 20px;
	font-size: clamp(1.5rem, 2vw, 2.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

h3 {
	margin-bottom: 15px;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

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

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

button, select {
	font: inherit;
}

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

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.preloader {
	display: grid;
	place-items: center;
	position: fixed;
	inset: 0;
	z-index: 100;
	background:
		radial-gradient(circle at 50% 40%, rgb(30 210 180 / 20%), transparent 20rem),
		linear-gradient(145deg, #06151d, #02090d 75%);
	transition: opacity 1000ms ease;
}

.preloader--hidden {
	opacity: 0;
}

.preloader__logo {
	width: min(75vw, 320px);
	filter: drop-shadow(0 30px 60px rgb(0 0 0 / 50%));
	animation: logo-breathe 2000ms ease-in-out infinite;
}

.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 15px;
	left: 50%;
	z-index: 50;
	width: min(calc(100% - 30px), var(--container-width));
	height: 80px;
	padding: 10px;
	border: 1px solid transparent;
	border-radius: 20px;
	transform: translateX(-50%);
	transition:
		border-color var(--transition-default),
		background var(--transition-default),
		box-shadow var(--transition-default);
}

.site-header--scrolled {
	border-color: var(--color-border);
	background: rgb(10 20 30 / 80%);
	backdrop-filter: blur(20px);
	box-shadow: 0 20px 50px rgb(0 0 0 / 25%);
}

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

.brand__logo img {
	width: auto;
	height: 60px;
}

.brand__content {
	display: grid;
	line-height: 1.25;
}

.brand__name {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.025em;
}

.brand__team {
	color: var(--color-text-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

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

.site-navigation a {
	padding: 10px;
	border-radius: 999px;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-weight: 700;
	transition:
		background var(--transition-default),
		color var(--transition-default);
}

.site-navigation a:hover {
	background: rgb(255 255 255 / 10%);
	color: var(--color-text);
}

.language-switcher select {
	padding: 10px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: rgb(255 255 255 / 10%);
	color: var(--color-text);
	font-weight: 700;
	outline: none;
	transition:
		border-color var(--transition-default),
		box-shadow var(--transition-default);
}

.language-switcher select:focus {
	border-color: rgb(30 210 180 / 80%);
	box-shadow: 0 0 0 5px rgb(30 210 180 / 20%);
}

.section {
	padding: 100px 0;
}

.hero {
	position: relative;
	padding-top: 150px;
	overflow: hidden;
}

.hero__background {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero__background::before, .hero__background::after {
	position: absolute;
	content: "";
	border-radius: 999px;
	filter: blur(20px);
}

.hero__background::before {
	top: 20%;
	left: -10rem;
	width: 30rem;
	height: 30rem;
	background: rgb(10 150 120 / 20%);
}

.hero__background::after {
	right: -10rem;
	bottom: 15%;
	width: 40rem;
	height: 40rem;
	background: rgb(10 60 120 / 30%);
}

.hero__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
	align-items: center;
	gap: 50px;
}

.eyebrow {
	margin: 0 0 15px;
	color: var(--color-green-soft);
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.hero__text {
	margin-bottom: 30px;
	color: var(--color-text-muted);
	font-size: clamp(1rem, 2vw, 1.5rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
	gap: 20px;
}

.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 50px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	text-align: center;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
	transition:
		border-color var(--transition-default),
		background var(--transition-default),
		box-shadow var(--transition-default),
		transform var(--transition-default);
}

.button:hover {
	transform: translateY(-3px);
}

.button--primary {
	background: linear-gradient(135deg, var(--color-green), var(--color-blue-soft));
	box-shadow: 0 20px 40px rgb(10 150 120 / 20%);
	color: #ffffff;
}

.button--secondary {
	border-color: var(--color-border);
	background: rgb(255 255 255 / 10%);
	color: var(--color-text);
}

.hero__note {
	margin-bottom: 0;
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.hero-logo-card {
	position: relative;
	max-width: clamp(250px, 50vw, 400px);
	margin: auto;
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: 40px;
	background:
		linear-gradient(180deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 5%)),
		rgb(5 20 30 / 40%);
	backdrop-filter: blur(20px);
	box-shadow: var(--shadow-card);
}

.hero-logo-card::before {
	position: absolute;
	inset: 10%;
	z-index: -1;
	content: "";
	border-radius: 999px;
	background: linear-gradient(135deg, rgb(30 210 180 / 30%), rgb(10 80 180 / 40%));
	filter: blur(50px);
}

.hero-logo-card img {
	width: 100%;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.stat-card, .feature-card, .step-card, .trust-card, .faq-item {
	border: 1px solid var(--color-border);
	background: var(--color-background-elevated);
	backdrop-filter: blur(20px);
	box-shadow: var(--shadow-card);
}

.stat-card {
	padding: 30px;
	border-radius: 30px;
}

.stat-card strong {
	display: block;
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1;
}

.stat-card span {
	color: var(--color-text-muted);
	font-weight: 700;
}

.section-heading {
	max-width: 800px;
	margin-bottom: 50px;
}

.section-heading h2 {
	margin-bottom: 0;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.feature-card {
	position: relative;
	padding: 30px;
	border-radius: 30px;
	overflow: hidden;
}

.feature-card::after {
	position: absolute;
	right: -5rem;
	bottom: -5rem;
	width: 10rem;
	height: 10rem;
	content: "";
	border-radius: 999px;
	background: rgb(30 210 180 / 10%);
	filter: blur(10px);
}

.feature-card__icon {
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 25px;
	border-radius: 15px;
	background:
		linear-gradient(135deg, rgb(30 210 180 / 95%), rgb(10 80 180 / 95%)),
		var(--color-blue);
	box-shadow: 0 15px 30px rgb(30 210 180 / 20%);
}

.feature-card p, .step-card p, .apps-section p, .trust-card p, .faq-item p {
	margin-bottom: 0;
	color: var(--color-text-muted);
}

.section--panel {
	background:
		linear-gradient(180deg, transparent, rgb(10 150 120 / 10%) 15%, rgb(10 60 120 / 10%) 85%, transparent),
		linear-gradient(90deg, transparent, rgb(255 255 255 / 5%), transparent);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.step-card {
	padding: 30px;
	border-radius: 30px;
}

.step-card span {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 25px;
	border-radius: 50%;
	background: rgb(30 210 180 / 10%);
	color: var(--color-green-soft);
	font-weight: 900;
}

.apps-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
	align-items: center;
	gap: 50px;
}

.app-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.app-list span {
	padding: 10px 20px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: rgb(255 255 255 / 10%);
	color: var(--color-text);
	font-weight: 800;
}

.trust-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px;
	border-radius: 30px;
	gap: 30px;
	background:
		radial-gradient(circle at 10%, rgb(30 210 180 / 20%), transparent 20rem),
		radial-gradient(circle at 100%, rgb(10 80 180 / 20%), transparent 20rem),
		var(--color-background-elevated);
}

.faq-list {
	display: grid;
	gap: 10px;
}

.faq-item {
	padding: 0;
	border-radius: 30px;
}

.faq-item summary {
	padding: 20px;
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}

.faq-item p {
	padding: 0 20px 20px;
}

.site-footer {
	padding: 40px 0;
	border-top: 1px solid var(--color-border);
	color: var(--color-text-muted);
}

.site-footer p {
	margin-bottom: 0;
}

.site-footer nav {
	text-align: end;
	font-weight: 700;
}

.site-footer a {
	white-space: nowrap;
}

.site-footer__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.site-footer__tagline {
	font-weight: 900;
}

.site-footer__pair {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1000ms ease, transform 1000ms ease;
	transition-delay: var(--reveal-delay, 0ms);
}

.reveal--visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes logo-breathe {
	0%, 100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}
}

@media (max-width: 800px) {
	.container {
		width: min(calc(100% - 30px), var(--container-width));
	}

	.site-header {
		top: 10px;
		width: min(calc(100% - 20px), var(--container-width));
		border-color: var(--color-border);
		background: rgb(10 20 30 / 80%);
		backdrop-filter: blur(20px);
	}

	.site-navigation {
		display: none;
	}

	.section {
		padding: 70px 0;
	}

	.hero {
		padding-top: 150px;
	}

	.hero__content, .apps-section, .stats, .feature-grid, .steps {
		grid-template-columns: 1fr;
	}

	.hero__actions, .trust-card, .site-footer__pair {
		flex-direction: column;
		align-items: stretch;
	}

	.button {
		width: 100%;
	}

	.site-footer nav {
		text-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 1ms !important;
		transition-duration: 1ms !important;
		scroll-behavior: auto !important;
	}
}
