:root {
	--bg-start: #020b18;
	--bg-end: #06253e;
	--accent: #35f9ff;
	--accent-strong: #1be0ff;
	--fire: #ff6b4a;
	--guardian: #ff3758;
	--sand: #f8f4dd;
	--card: rgba(8, 21, 37, 0.75);
	--border: rgba(255, 255, 255, 0.08);
}

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

body {
	font-family: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
	background: radial-gradient(circle at 20% 20%, rgba(15, 118, 255, 0.18), transparent 45%),
		radial-gradient(circle at 80% 0%, rgba(248, 113, 113, 0.15), transparent 35%),
		linear-gradient(145deg, var(--bg-start), var(--bg-end));
	color: #edf2ff;
	min-height: 100vh;
	line-height: 1.6;
}

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

.hero {
	padding: 4rem 2rem 3rem;
	text-align: center;
}

.hero-content {
	max-width: 960px;
	margin: 0 auto;
}

.app-icon {
	font-size: 4rem;
	margin-bottom: 1rem;
	filter: drop-shadow(0 0 20px rgba(53, 249, 255, 0.35));
}

.hero h1 {
	font-size: clamp(2.4rem, 5vw, 3.8rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	margin-bottom: 0.8rem;
}

.tagline {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 700px;
	margin: 0 auto 1.5rem;
}

.hero-metrics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.metric {
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 0.9rem 1.4rem;
	background: rgba(4, 15, 30, 0.6);
	min-width: 150px;
}

.metric span {
	display: block;
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--accent);
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

.btn {
	padding: 0.8rem 1.8rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	border: 1px solid transparent;
	transition: 0.25s ease;
}

.btn.primary {
	background: linear-gradient(120deg, var(--accent), var(--accent-strong));
	color: #04111f;
	box-shadow: 0 10px 30px rgba(53, 249, 255, 0.25);
}

.btn.primary:hover {
	transform: translateY(-2px);
}

.btn.ghost {
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.85);
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.5rem 4rem;
}

.main-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 24px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.app-preview {
	padding: 3rem;
	border-bottom: 1px solid var(--border);
}

.section-heading {
	text-align: center;
	margin-bottom: 2rem;
}

.section-heading h2 {
	font-size: 1.9rem;
	margin-bottom: 0.5rem;
}

.section-heading p {
	color: rgba(255, 255, 255, 0.72);
}

.orbital-demo {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
}

.orbital-canvas {
	position: relative;
	border-radius: 22px;
	padding: 2rem;
	background: radial-gradient(circle at 30% 30%, rgba(53, 249, 255, 0.12), transparent 55%),
		linear-gradient(160deg, #010912, #05162c 55%, #071f33);
	overflow: hidden;
	min-height: 360px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.orbital-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	opacity: 0.4;
	pointer-events: none;
}

.orbital-path {
	position: absolute;
	left: 1rem;
	right: 1rem;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(53, 249, 255, 0.6), transparent);
	animation: dash 5s linear infinite;
	opacity: 0.5;
}

.path-one {
	top: 25%;
}

.path-two {
	top: 50%;
	animation-duration: 6.5s;
}

.path-three {
	top: 75%;
	animation-duration: 7.2s;
}

.orbital-enemy {
	position: absolute;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: #04111f;
}

.enemy-fast {
	background: #ffbd4a;
	animation: enemyFast 6s linear infinite;
	top: 28%;
}

.enemy-sine {
	background: var(--fire);
	animation: enemySine 7.2s ease-in-out infinite;
	top: 48%;
}

.enemy-guardian {
	background: var(--guardian);
	animation: enemySquare 8s linear infinite;
	top: 72%;
}

.orbital-crosshair {
	position: absolute;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 2px solid rgba(53, 249, 255, 0.8);
	top: 40%;
	left: 45%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 20px rgba(53, 249, 255, 0.3);
	animation: pulse 3s ease-in-out infinite;
}

.orbital-crosshair::after {
	content: "";
	position: absolute;
	inset: 34%;
	border: 1px dashed rgba(53, 249, 255, 0.5);
	border-radius: 50%;
}

.orbital-water {
	position: absolute;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 2px solid rgba(53, 249, 255, 0.5);
	background: rgba(53, 249, 255, 0.25);
	animation: ripple 4s ease-out infinite;
}

.water-one {
	top: 62%;
	left: 30%;
}

.water-two {
	top: 35%;
	left: 65%;
	animation-delay: 1.5s;
}

.water-three {
	top: 72%;
	left: 55%;
	animation-delay: 2.5s;
}

.orbital-caption {
	background: rgba(4, 15, 30, 0.65);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1.5rem;
}

.orbital-caption h3 {
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.scoreboard {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.score-card {
	border-radius: 18px;
	padding: 1.1rem;
	background: rgba(4, 15, 30, 0.85);
	border: 1px solid var(--border);
}

.score-card span {
	display: block;
	text-transform: uppercase;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0.4rem;
}

.score-card strong {
	font-size: 1.6rem;
	display: block;
}

.score-card small {
	display: block;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.65);
}

.water-ledger {
	list-style: none;
	margin: 1rem 0 0;
	padding: 1rem;
	border-radius: 16px;
	border: 1px dashed rgba(53, 249, 255, 0.35);
	background: rgba(4, 15, 30, 0.6);
}

.water-ledger li {
	display: flex;
	justify-content: space-between;
	font-size: 0.95rem;
	padding: 0.2rem 0;
	color: rgba(255, 255, 255, 0.9);
}

.app-details {
	padding: 3rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
}

.feature-card {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 1.5rem;
}

.feature-card h3 {
	color: var(--accent);
	margin-bottom: 0.4rem;
}

.control-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
}

.control-card {
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.2rem;
	background: rgba(255, 255, 255, 0.02);
}

.control-card strong {
	display: block;
	color: #fff;
	margin-bottom: 0.3rem;
}

.download-card {
	margin-top: 2rem;
	padding: 2rem;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(135deg, rgba(27, 224, 255, 0.2), rgba(255, 107, 74, 0.2));
}

.download-card h3 {
	margin-bottom: 0.8rem;
}

.footer {
	text-align: center;
	padding: 2rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
}

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

@keyframes pulse {
	0% {
		transform: translate(-50%, -50%) scale(0.96);
	}

	50% {
		transform: translate(-50%, -50%) scale(1.05);
	}

	100% {
		transform: translate(-50%, -50%) scale(0.96);
	}
}

@keyframes ripple {
	0% {
		transform: scale(0.3);
		opacity: 0.8;
	}

	80% {
		transform: scale(1.6);
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

@keyframes dash {
	0% {
		opacity: 0;
		transform: translateX(-20%);
	}

	50% {
		opacity: 0.6;
	}

	100% {
		opacity: 0;
		transform: translateX(20%);
	}
}

@keyframes enemyFast {
	0% {
		transform: translate(-20%, -8px);
	}

	50% {
		transform: translate(70%, 10px);
	}

	100% {
		transform: translate(150%, -4px);
	}
}

@keyframes enemySine {
	0% {
		transform: translate(-30%, 0);
	}

	25% {
		transform: translate(20%, -30px);
	}

	70% {
		transform: translate(90%, 25px);
	}

	100% {
		transform: translate(160%, -10px);
	}
}

@keyframes enemySquare {
	0% {
		transform: translate(-25%, -30px);
	}

	25% {
		transform: translate(10%, -30px);
	}

	50% {
		transform: translate(30%, 20px);
	}

	75% {
		transform: translate(65%, 20px);
	}

	100% {
		transform: translate(120%, -10px);
	}
}

@media (max-width: 900px) {
	.orbital-demo {
		grid-template-columns: 1fr;
	}

	.app-preview,
	.app-details {
		padding: 2.2rem;
	}
}
