.gdx-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(213, 217, 230, 0.9);
}
.gdx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}
.gdx-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--color-text);
}
.gdx-header__brand:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 999px;
}
.gdx-header__logo-mark {
	width: 34px;
	height: 34px;
	border-radius: 18px;
	background:
		radial-gradient(circle at 30% 20%, #a5f3fc 0, rgba(37, 99, 235, 0) 55%),
		radial-gradient(circle at 70% 80%, #6ee7b7 0, rgba(16, 185, 129, 0) 60%),
		#020617;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
	position: relative;
	overflow: hidden;
}
.gdx-header__logo-orb {
	width: 14px;
	height: 14px;
	border-radius: 999px;
	background: conic-gradient(
		from 140deg,
		var(--color-primary),
		var(--color-accent),
		var(--color-primary)
	);
	box-shadow:
		0 0 0 2px rgba(15, 23, 42, 0.65),
		0 0 22px rgba(34, 211, 238, 0.7);
}
.gdx-header__brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.gdx-header__brand-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: -0.03em;
}
.gdx-header__brand-tagline {
	font-size: 0.7rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.16em;
}
.gdx-header__nav {
	display: flex;
	align-items: center;
}
.gdx-header__nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
}
.gdx-header__nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--color-text-muted);
	position: relative;
}
.gdx-header__nav-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 6px;
	height: 2px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition-fast);
}
.gdx-header__nav-link:hover {
	color: var(--color-text);
}
.gdx-header__nav-link:hover::after {
	transform: scaleX(1);
}
.gdx-header__nav-link:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}
.gdx-header__nav-item--primary .gdx-header__nav-link {
	border: 1px solid rgba(20, 184, 155, 0.7);
	color: var(--color-primary-strong);
	background: rgba(20, 184, 155, 0.06);
	padding-inline: 16px;
}
.gdx-header__nav-link--primary::after {
	display: none;
}
.gdx-header__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.6);
	background: rgba(248, 250, 252, 0.9);
	color: var(--color-text);
	font-size: 0.78rem;
	font-weight: 500;
}
.gdx-header__toggle-box {
	width: 20px;
	height: 16px;
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
}
.gdx-header__toggle-line {
	height: 2px;
	border-radius: 999px;
	background: var(--color-text);
	transform-origin: center;
	transition:
		transform var(--transition-fast),
		opacity var(--transition-fast),
		background-color var(--transition-fast);
}
.gdx-header__toggle-text {
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gdx-header--menu-open .gdx-header__toggle-line:first-child {
	transform: translateY(7px) rotate(45deg);
}
.gdx-header--menu-open .gdx-header__toggle-line:last-child {
	transform: translateY(-7px) rotate(-45deg);
}
.gdx-header--menu-open .gdx-header__toggle-line:nth-child(2) {
	opacity: 0;
}
.gdx-header--menu-open .gdx-header__toggle {
	background: rgba(15, 23, 42, 0.96);
	color: #e5e7eb;
	border-color: rgba(20, 184, 155, 0.7);
}
@media (max-width: 960px) {
	.gdx-header__toggle {
		display: inline-flex;
	}
	.gdx-header__nav {
		position: fixed;
		inset-block-start: 64px;
		inset-inline: 0;
		background: rgba(15, 23, 42, 0.98);
		border-bottom: 1px solid rgba(15, 23, 42, 0.8);
		transform: translateY(-120%);
		opacity: 0;
		pointer-events: none;
		transition:
			transform var(--transition-normal),
			opacity var(--transition-normal);
	}
	.gdx-header__nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		padding: 12px 16px 20px;
	}
	.gdx-header__nav-item {
		width: 100%;
	}
	.gdx-header__nav-link {
		width: 100%;
		padding: 10px 14px;
		border-radius: 10px;
		color: #e5e7eb;
	}
    .gdx-header__nav-link:hover {
	color: #fff;
}
	.gdx-header__nav-link::after {
		display: none;
	}
	.gdx-header__nav-item--primary .gdx-header__nav-link {
		border-color: rgba(45, 212, 191, 0.8);
		background: rgba(15, 23, 42, 0.9);
		color: #e0f2fe;
	}
	.gdx-header--menu-open .gdx-header__nav {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
	.gdx-header--menu-open {
		box-shadow: 0 18px 45px rgba(15, 23, 42, 0.4);
	}
}
@media (max-width: 640px) {
	.gdx-header__inner {
		min-height: 64px;
	}
	.gdx-header__brand-name {
		font-size: 1rem;
	}
	.gdx-header__brand-tagline {
		display: none;
	}
}
