:root {
	--blue: #0b4ea2;
	--blue2: #155cbd;
	--blue-dark: #0a3f83;
	--green: #16a34a;
	--white: #ffffff;
	--muted: #c1c9d4;
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial;
	background: radial-gradient(
			1200px 600px at 20% -10%,
			#1a3f7a 0%,
			#0b1a2f 60%,
			#081225 100%
		)
		fixed;
	color: var(--white);
}
a {
	color: #bde4ff;
}
.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 24px;
}
.section {
	position: relative;
	padding: 56px 0;
}
.section__title {
	font-size: 32px;
	margin: 0 0 14px;
}
.lead {
	font-weight: 600;
	opacity: 0.95;
}
.muted {
	color: var(--muted);
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 12px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: 0.2s;
}
.btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.btn-lg {
	padding: 14px 22px;
	font-size: 16px;
}
.btn-primary {
	background: linear-gradient(180deg, #1fd071, #0ea54e);
}
.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.topbar__grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 24px;
}
.logo {
	height: 32px;
}
.hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	align-items: center;
}
.hero__text h1 {
	font-size: 42px;
	line-height: 1.15;
	margin: 0 0 10px;
}
.badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	margin-bottom: 10px;
}
.trust {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 14px;
}
.trust__item {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 8px 12px;
	border-radius: 10px;
}
.card-3d {
	perspective: 1000px;
}
.card-3d__inner {
	width: 320px;
	height: 200px;
	border-radius: 20px;
	background: linear-gradient(135deg, #0f3a7a 0%, #134b97 50%, #1763c8 100%);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	transform: rotateY(-12deg) rotateX(6deg);
	position: relative;
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.card-3d__emblem {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #5bffbf, #06b66c);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.card-3d__title {
	font-weight: 800;
	letter-spacing: 0.5px;
}
.card-3d__chip {
	position: absolute;
	right: 18px;
	top: 18px;
	width: 38px;
	height: 28px;
	border-radius: 6px;
	background: linear-gradient(180deg, #ffd479, #d5a749);
}
.card-3d__rows .row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 6px 8px;
	border-radius: 8px;
	margin-top: 6px;
}
.glass {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(8px);
	border-radius: 18px;
}
.quiz__card {
	padding: 22px;
}
.quiz__progress {
	position: relative;
	height: 10px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	margin-bottom: 14px;
	overflow: hidden;
}
.quiz__progress-bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(90deg, #1fd071, #00c081);
	border-radius: 999px;
	width: 0%;
}
.quiz__progress-info {
	margin: 6px 0 10px;
	color: #d3dbe6;
	font-size: 13px;
}
.step {
	display: none;
}
.step.active {
	display: block;
	animation: fade 0.25s ease;
}
@keyframes fade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
h3 {
	margin: 0 0 10px;
}
.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-span-2 {
	grid-column: 1/-1;
}
.opt {
	background: rgba(255, 255, 255, 0.06);
	padding: 14px;
	border-radius: 12px;
	cursor: pointer;
	border: 1.5px solid rgba(255, 255, 255, 0.14);
}
.opt input {
	margin-right: 8px;
}
.opt:hover {
	border-color: #57c9ff;
}
.fld span {
	display: block;
	font-size: 12px;
	color: #b6c4d5;
	margin-bottom: 6px;
}
.fld input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 10px;
	outline: none;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}
.chk {
	font-size: 14px;
}
.nav {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}
.footer {
	background: rgba(0, 0, 0, 0.25);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 28px 0;
}
.footer__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
/* Mobile */
@media (max-width: 980px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.grid-2 {
		grid-template-columns: 1fr;
	}
	.steps__grid,
	.proof__grid,
	.footer__grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 540px) {
	.topbar__grid {
		padding-left: 12px;
		padding-right: 12px;
	}
	.logo {
		height: 28px;
	}
	.hero__text h1 {
		font-size: 28px;
	}
	.lead {
		font-size: 14px;
	}
	.btn,
	.btn.btn-lg {
		width: 100%;
		justify-content: center;
	}
	.trust {
		gap: 8px;
	}
	.trust__item {
		font-size: 12px;
	}
	.quiz__card {
		padding: 16px;
	}
}

/* === Center Toast Notification === */
.toast {
	position: fixed;
	left: 50%;
	top: 20%;
	transform: translate(-50%, -20%) scale(0.95);
	background: #16a34a;
	color: #fff;
	padding: 14px 18px;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
	font-weight: 700;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	text-align: center;
	max-width: 90vw;
}
.toast.show {
	opacity: 1;
	transform: translate(-50%, -20%) scale(1);
}
@media (max-width: 540px) {
	.toast {
		top: 16%;
		padding: 12px 14px;
		border-radius: 10px;
	}
}

/* === Center Modal (auto-hide) === */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}
.modal-overlay.show {
	opacity: 1;
	pointer-events: auto;
}
.modal-box {
	background: #0c2b18; /* default success bg (dark green) */
	color: #fff;
	border-radius: 16px;
	padding: 18px 20px;
	width: min(92vw, 520px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	text-align: center;
	transform: translateY(10px) scale(0.98);
	transition: transform 0.25s ease;
}
.modal-overlay.show .modal-box {
	transform: translateY(0) scale(1);
}
.modal-title {
	font-weight: 800;
	margin: 0 0 6px;
	font-size: 18px;
}
.modal-text {
	margin: 0;
	opacity: 0.95;
}
.modal-box.success {
	background: #0f5132;
} /* green */
.modal-box.warn {
	background: #5a4607;
} /* amber */
.modal-box.error {
	background: #5a0d0d;
} /* red */
@media (max-width: 540px) {
	.modal-box {
		padding: 16px 14px;
		border-radius: 14px;
	}
	.modal-title {
		font-size: 16px;
	}
}
