nav {
	background-color: rgb(24, 25, 31);
	border-bottom: 1px solid rgb(48, 50, 62);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: background 0.2s, box-shadow 0.2s;
}

.nav-container {
	height: 72px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1000px;
	padding: 0 2rem;
	margin: 0 auto;
}

nav .logo a {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-color);
	font-family: var(--font-title);
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: color 0.2s;
}

nav .logo a:hover {
	color: var(--primary-color-hover);
}

nav ul {
	list-style: none;
	display: flex;
	gap: 2rem;
	align-items: center;
	margin: 0;
	padding: 0;
}

nav ul li a {
	color: rgb(200, 202, 220);
	font-weight: 500;
	font-size: 0.9375rem;
	text-decoration: none;
	font-family: var(--font-text);
	letter-spacing: 0.01em;
	transition: color 0.2s;
}

nav ul li a:hover {
	color: rgb(255, 255, 255);
}

nav ul li a.button {
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 700;
	font-size: 0.9375rem;
	background: var(--primary-color);
	color: white;
	box-shadow: 0 4px 16px rgba(137, 82, 224, 0.3);
	transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

nav ul li a.button:hover {
	background: var(--primary-color-hover);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(137, 82, 224, 0.4);
}

@media (max-width: 768px) {
	.nav-container {
		padding: 0 1.5rem;
		height: 64px;
		max-width: none;
	}

	nav .logo a {
		font-size: 1.1rem;
	}

	nav ul {
		gap: 1.25rem;
	}

	nav ul li a {
		font-size: 0.875rem;
	}

	nav ul li a.button {
		padding: 0.6rem 1.25rem;
		font-size: 0.875rem;
	}
}

@media (max-width: 480px) {
	.nav-container {
		padding: 0 1rem;
		height: 56px;
	}

	nav ul {
		gap: 0.75rem;
	}

	nav ul li:not(:last-child) a:not(.button) {
		display: none;
	}

	nav ul li a.button {
		padding: 0.6rem 1rem;
		font-size: 0.8125rem;
	}
}