* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #070707;
	color: #f5f5f5;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	position: relative;
	overflow-x: hidden;
}

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

a:hover,
a:focus {
	color: hsl(0, 0%, 101.0784313725%);
}

.page {
	width: min(1120px, 92vw);
	padding: 32px 0 64px;
	display: grid;
	gap: 48px;
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 0;
	position: sticky;
	top: 16px;
	z-index: 10;
}

.logo {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
}

.logo img {
        width: 28px;
        height: 28px;
        display: block;
}

.logo span {
        display: inline-block;
}

.primary-nav,
.auth-links {
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-header a,
.site-header .logo {
	text-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.auth-links .cta {
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(32px, 6vh, 52px);
	padding: clamp(56px, 10vh, 108px) 0 0;
	text-align: center;
	position: relative;
	overflow: visible;
}

.hero__decor {
	position: absolute;
	inset: -30% -12% auto;
	height: 360px;
	width: 124%;
	pointer-events: none;
	filter: blur(60px);
	background: radial-gradient(circle at center, rgba(123, 86, 255, 0.72), rgba(255, 115, 134, 0.45) 45%, rgba(7, 7, 7, 0));
	transform: rotate(-12deg);
	opacity: 0.9;
	z-index: -1;
}

.hero__content {
	max-width: 680px;
	display: grid;
	gap: 24px;
}

.eyebrow {
	font-size: 0.85rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #6c5cff;
	font-weight: 500;
}

.hero__title {
	margin: 0;
	font-size: clamp(2.8rem, 8vw, 4.5rem);
	line-height: 1.05;
	font-weight: 600;
}

.hero__subtitle {
	margin: 0;
	font-size: 1.05rem;
	color: rgba(245, 245, 245, 0.65);
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 500;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button--primary {
	background: linear-gradient(135deg, #715aff, #3ec8ff);
	color: #020202;
	box-shadow: 0 20px 40px rgba(98, 87, 255, 0.32);
}

.button--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 28px 60px rgba(98, 87, 255, 0.4);
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.15);
	color: #f5f5f5;
	background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.07);
}

.hero__preview {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: clamp(32px, 6vh, 48px);
	padding: 0 clamp(12px, 4vw, 28px);
}

.preview {
	position: relative;
	width: min(960px, 100%);
	aspect-ratio: 1600/1036;
	background: url("assets/realm-app.png") center/contain no-repeat;
	border-radius: 8px;
	filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
	backdrop-filter: blur(26px) saturate(140%);
	-webkit-backdrop-filter: blur(26px) saturate(140%);
	overflow: hidden;
	isolation: isolate;
}

.preview::before {
	content: "";
	position: absolute;
	inset: -26% -18% 48%;
	background: radial-gradient(120% 86% at 50% 0%, rgba(140, 108, 255, 0.65) 0%, rgba(255, 133, 171, 0.18) 48%, rgba(7, 7, 7, 0) 78%);
	filter: blur(28px);
	opacity: 0.85;
	pointer-events: none;
	z-index: -1;
}

.preview::after {
	content: "";
	position: absolute;
	inset: 54% -24% -36% -24%;
	background: radial-gradient(120% 120% at 50% 100%, rgba(14, 14, 14, 0.78) 0%, rgba(7, 7, 7, 0) 68%);
	opacity: 0.9;
	pointer-events: none;
	z-index: -1;
}

.site-footer {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
}

.footer__links {
	display: flex;
	gap: 16px;
	font-size: 0.8rem;
}

.footer__links a {
	color: rgba(255, 255, 255, 0.6);
}

.footer__copy {
	margin: 0;
	text-align: center;
}

@media (max-width: 900px) {
	.site-header {
		flex-wrap: wrap;
		justify-content: center;
	}
	.hero {
		padding-top: 96px;
	}
}
@media (max-width: 780px) {
	.preview {
		border-radius: clamp(20px, 7vw, 32px);
	}
}
@media (max-width: 640px) {
	.page {
		gap: 64px;
		padding-top: 24px;
	}
	.hero {
		padding-top: 88px;
	}
	.hero__cta {
		flex-direction: column;
		align-items: stretch;
	}
	.preview {
		border-radius: clamp(18px, 8vw, 26px);
	}
}
