:root {
	--bg: #030b18;
	--ink: #eef7ff;
	--muted: #9fb6c9;
	--cyan: #3ecbff;
	--cyan-2: #7af0ff;
	--deep: #061428;
	--line: rgba(126, 220, 255, 0.22);
	--glass: rgba(8, 22, 40, 0.72);
	font-family: Outfit, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body { overflow-x: hidden; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-2); }

#stars {
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.aurora {
	position: fixed; inset: -20%;
	background:
		radial-gradient(800px 400px at 80% 20%, rgba(62, 203, 255, 0.18), transparent 55%),
		radial-gradient(600px 500px at 10% 80%, rgba(24, 90, 160, 0.35), transparent 50%),
		radial-gradient(400px 300px at 50% 0%, rgba(255, 140, 70, 0.08), transparent 60%);
	filter: blur(8px);
	animation: drift 28s ease-in-out infinite alternate;
	z-index: 0; pointer-events: none;
}
.scan {
	position: fixed; inset: 0; z-index: 1; pointer-events: none;
	background: repeating-linear-gradient(
		to bottom,
		transparent 0 3px,
		rgba(0, 10, 20, 0.12) 3px 4px
	);
	opacity: 0.35;
}
@keyframes drift {
	from { transform: translate3d(-2%, -1%, 0) scale(1); }
	to { transform: translate3d(2%, 2%, 0) scale(1.05); }
}

.topbar, .hero, .block, footer { position: relative; z-index: 2; }

.topbar {
	display: flex; justify-content: space-between; align-items: center;
	padding: 1.2rem 6vw; gap: 1rem;
}
.brand { display: flex; gap: 0.75rem; align-items: center; }
.brand strong { display: block; font-family: Syne, Outfit, sans-serif; letter-spacing: 0.04em; }
.brand small { color: var(--muted); font-size: 0.75rem; }
.orb {
	width: 14px; height: 14px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #fff, var(--cyan) 40%, #0a4a6a);
	box-shadow: 0 0 18px var(--cyan);
	animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 10px var(--cyan); transform: scale(1); }
	50% { box-shadow: 0 0 28px var(--cyan-2); transform: scale(1.12); }
}
.topbar nav { display: flex; gap: 1.4rem; align-items: center; }
.topbar nav a { color: var(--muted); font-size: 0.92rem; }
.topbar nav a:hover { color: var(--ink); }

.btn-login {
	appearance: none; border: 0; cursor: pointer;
	font: 600 0.95rem Outfit, sans-serif;
	padding: 0.7rem 1.15rem; border-radius: 999px;
	color: #031018; background: linear-gradient(180deg, #bff6ff, var(--cyan));
}
.btn-login.glow { box-shadow: 0 0 0 1px rgba(122, 240, 255, 0.4), 0 8px 32px rgba(62, 203, 255, 0.35); }
.btn-login.wide { width: 100%; margin-top: 0.4rem; }
.btn-login:hover { filter: brightness(1.08); }
.ghost { color: var(--muted); font-size: 0.95rem; }

.hero {
	display: grid; grid-template-columns: 1.05fr 0.95fr;
	gap: 2rem; align-items: center;
	padding: 2rem 6vw 4rem;
	min-height: calc(100vh - 88px);
}
.kicker {
	text-transform: uppercase; letter-spacing: 0.22em;
	color: var(--cyan); font-size: 0.72rem; margin: 0 0 0.8rem;
}
.copy h1 {
	font-family: Syne, Outfit, sans-serif;
	font-size: clamp(2rem, 4.4vw, 3.6rem);
	line-height: 1.08; margin: 0 0 1rem; font-weight: 800;
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 36rem; }
.cta { display: flex; gap: 1.1rem; align-items: center; margin: 1.5rem 0; flex-wrap: wrap; }
.pills { display: flex; gap: 0.5rem; padding: 0; list-style: none; flex-wrap: wrap; }
.pills li {
	border: 1px solid var(--line); border-radius: 999px;
	padding: 0.35rem 0.75rem; color: var(--muted); font-size: 0.8rem;
}

.mark { position: relative; margin: 0; display: grid; place-items: center; }
.mark img {
	width: min(100%, 420px); height: auto; position: relative; z-index: 1;
	border-radius: 50%;
	object-fit: cover;
	box-shadow:
		0 0 0 2px rgba(62, 203, 255, 0.35),
		0 18px 60px rgba(0, 140, 255, 0.35),
		0 0 80px rgba(255, 140, 40, 0.12);
	animation: float 6.5s ease-in-out infinite;
}
.halo {
	position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(122, 240, 255, 0.35), transparent 68%);
	filter: blur(18px); animation: pulse 4s ease-in-out infinite;
}
@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

.block { padding: 4rem 6vw; }
.block.alt { background: linear-gradient(180deg, transparent, rgba(8, 30, 52, 0.65)); }
.block h2 {
	font-family: Syne, Outfit, sans-serif; margin: 0 0 1.5rem;
	font-size: 1.6rem;
}
.grid, .tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid article, .tech div {
	background: var(--glass); border: 1px solid var(--line);
	border-radius: 18px; padding: 1.2rem 1.25rem;
	backdrop-filter: blur(12px);
}
.grid h3, .tech h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.grid p, .tech p { margin: 0; color: var(--muted); }
.tech span { color: var(--cyan); font-size: 0.75rem; letter-spacing: 0.16em; }

footer {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: 1.5rem 6vw 2rem; color: var(--muted); font-size: 0.85rem;
	border-top: 1px solid var(--line);
}

.overlay {
	position: fixed; inset: 0; z-index: 20;
	background: rgba(2, 8, 16, 0.72);
	display: grid; place-items: center; padding: 1rem;
	backdrop-filter: blur(8px);
}
.overlay[hidden] { display: none; }
.panel {
	width: min(420px, 100%);
	background: linear-gradient(180deg, rgba(12, 32, 52, 0.95), rgba(6, 16, 28, 0.96));
	border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.4rem 1.2rem;
	box-shadow: 0 0 80px rgba(62, 203, 255, 0.12);
	position: relative;
}
.panel h2 { font-family: Syne, Outfit, sans-serif; margin: 0 0 0.3rem; }
.panel p { color: var(--muted); font-size: 0.9rem; }
.panel form { display: grid; gap: 0.7rem; margin-top: 0.8rem; }
.panel label { display: grid; gap: 0.3rem; font-size: 0.8rem; color: var(--muted); }
.panel input {
	background: #071322; border: 1px solid var(--line); color: var(--ink);
	border-radius: 10px; padding: 0.7rem 0.8rem; font: 1rem Outfit, sans-serif;
}
.panel input:focus { outline: 1px solid var(--cyan); }
.close {
	position: absolute; top: 0.6rem; right: 0.8rem;
	background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer;
}
.err { color: #ff8b9a !important; }
.recover { margin-top: 0.9rem; text-align: center; }

@media (max-width: 900px) {
	.hero, .grid, .tech { grid-template-columns: 1fr; }
	.topbar nav a { display: none; }
	.hero { padding-top: 0.5rem; min-height: auto; }
}
