.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 18px;
	border: 1px solid rgba(7, 21, 38, 0.06);
	border-radius: 0;
	backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, 0.9);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	gap: 24px;
}

.logo {
	display: flex;
	align-items: center;
	font-weight: 700;
	font-size: 1.1rem;
	gap: 8px;
	color: #111827;
	text-decoration: none;
}

.logo-text {
	height: 18px;
	width: auto;
	display: block;
}

.nav-links {
	display: flex;
	gap: 16px;
	font-size: 1.05rem;
	color: #475467;
}

.nav-links a {
	color: inherit;
	padding: 8px 14px;
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
	background: rgba(100, 74, 255, 0.1);
	color: #111827;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-menu {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	border: 1px solid rgba(7, 21, 38, 0.16);
	background: rgba(255, 255, 255, 0.6);
	color: inherit;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-menu:hover {
	background: rgba(100, 74, 255, 0.08);
}

.nav-menu:focus-visible {
	outline: 2px solid #644aff;
	outline-offset: 2px;
}

.nav-menu-bar {
	position: relative;
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.nav-menu-bar::before,
.nav-menu-bar::after {
	content: '';
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.nav-menu-bar::before {
	top: -6px;
}

.nav-menu-bar::after {
	top: 6px;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 20;
	display: flex;
	justify-content: flex-end;
}

.mobile-menu[hidden] {
	display: none !important;
}

.mobile-menu-backdrop {
	position: absolute;
	inset: 0;
	border: none;
	padding: 0;
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(6px);
	cursor: pointer;
}

.mobile-menu-panel {
	position: relative;
	width: min(82vw, 420px);
	height: 100%;
	background: #fff;
	border-left: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: -24px 0 40px -24px rgba(15, 23, 42, 0.35);
	display: flex;
	flex-direction: column;
	animation: mobileMenuIn 0.24s ease;
}

.mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-menu-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mobile-menu-close {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: transparent;
	cursor: pointer;
}

.mobile-menu-close span {
	position: absolute;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: #111827;
}

.mobile-menu-close span:first-child {
	transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
	transform: rotate(-45deg);
}

.mobile-menu-links {
	display: flex;
	flex-direction: column;
}

.mobile-menu-links a {
	display: flex;
	align-items: center;
	padding: 18px 20px;
	font-size: 1.1rem;
	color: #111827;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-links a:hover {
	background: rgba(100, 74, 255, 0.08);
	color: #1f2937;
}

.mobile-menu-cta {
	margin-top: auto;
	padding: 20px;
}

.mobile-menu-cta .primary-btn {
	width: 100%;
	justify-content: center;
}

.text-link {
	color: #111827;
	font-weight: 500;
	font-size: 1.05rem;
}

.primary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 600;
	padding: 14px 26px;
	font-size: 1.05rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	background: linear-gradient(135deg, #644aff, #638df5);
	color: #fff;
	box-shadow: 0 16px 30px rgba(99, 141, 245, 0.35);
	position: relative;
	overflow: hidden;
}

.primary-btn::before {
	content: '';
	position: absolute;
	top: -60%;
	left: -35%;
	width: 40%;
	height: 220%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
	transform: rotate(18deg);
	animation: shineSweep 4s ease-in-out infinite;
	pointer-events: none;
}

.primary-btn.ghost {
	box-shadow: none;
}

.primary-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 35px rgba(99, 141, 245, 0.45);
}

.ghost {
	background: rgba(100, 74, 255, 0.1);
	color: #1f2937;
	box-shadow: none;
}

@keyframes mobileMenuIn {
	from {
		transform: translateX(10%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes shineSweep {
	0%,
	100% {
		transform: translateX(-120%) rotate(18deg);
	}

	50% {
		transform: translateX(260%) rotate(18deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mobile-menu-panel {
		animation: none;
	}

	.primary-btn::before {
		animation: none;
	}
}

@media (max-width: 900px) {
	.nav-links {
		display: none;
	}
}

@media (max-width: 900px) {
	.nav {
		flex-direction: row;
		justify-content: space-between;
		min-height: 64px;
		border-radius: 0;
		padding: 12px 16px;
		background: rgba(255, 255, 255, 0.95);
		border: none;
		border-bottom: 1px solid rgba(7, 21, 38, 0.08);
		color: #111827;
		box-shadow: 0 18px 30px -26px rgba(15, 23, 42, 0.4);
	}

	.nav-actions {
		display: none;
	}

	.nav-menu {
		display: inline-flex;
	}

	.logo-text {
		height: 20px;
	}

	.mobile-menu-panel {
		width: 100%;
	}

	.primary-btn {
		width: 100%;
		justify-content: center;
	}
}
