/* ============================================
   LJDev — Premium Header Styles
   Dark navy + cyan neon theme
   ============================================ */

/* ——— VARIABLES ——— */
:root {
	--header-bg: rgba(5, 8, 22, 0.95);
	--header-bg-scrolled: rgba(5, 8, 22, 0.88);
	--micro-bg: rgba(0, 0, 0, 0.35);
	--cyan: #00f0ff;
	--cyan-dim: rgba(0, 240, 255, 0.15);
	--cyan-glow: rgba(0, 240, 255, 0.4);
	--blue: #3b82f6;
	--purple: #a855f7;
	--text-primary: #f1f5f9;
	--text-secondary: rgba(255, 255, 255, 0.6);
	--text-muted: rgba(255, 255, 255, 0.35);
	--border-subtle: rgba(255, 255, 255, 0.07);
	--border-hover: rgba(0, 240, 255, 0.25);
}

/* ——— SKIP LINK (Accessibility) ——— */
.skip-link {
	position: fixed;
	top: -100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	padding: 0.75rem 2rem;
	background: var(--cyan);
	color: #050816;
	font-weight: 700;
	border-radius: 0 0 1rem 1rem;
	transition: top 0.3s ease;
}
.skip-link:focus {
	top: 0;
	outline: 3px solid var(--blue);
	outline-offset: 2px;
}

/* ——— SCROLL PROGRESS BAR ——— */
.header-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 10001;
	pointer-events: none;
}
.header-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple), var(--cyan));
	background-size: 300% 100%;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.15s linear;
	animation: progressShimmer 4s linear infinite;
}
@keyframes progressShimmer {
	0% {
		background-position: 0% 0;
	}
	100% {
		background-position: 300% 0;
	}
}

/* ——— HEADER SHELL ——— */
.ljdev-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled state — floats with rounded corners */
.ljdev-header.is-scrolled {
	top: 8px;
	left: 12px;
	right: 12px;
	border-radius: 1rem;
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.5),
		0 0 0 1px var(--border-subtle),
		0 0 60px -20px var(--cyan-glow);
}
.ljdev-header.is-scrolled .micro-bar {
	max-height: 0;
	opacity: 0;
	padding-top: 0;
	padding-bottom: 0;
	border: none;
	overflow: hidden;
}
.ljdev-header.is-scrolled .main-nav-inner {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.ljdev-header.is-scrolled .logo-img {
	width: 36px;
	height: 36px;
}
.ljdev-header.is-scrolled .header-gradient-border {
	border-radius: 0 0 1rem 1rem;
}

@media (min-width: 1024px) {
	.ljdev-header.is-scrolled {
		left: 2rem;
		right: 2rem;
	}
}
@media (min-width: 1280px) {
	.ljdev-header.is-scrolled {
		left: 4rem;
		right: 4rem;
	}
}

/* ——— MICRO BAR ——— */
.micro-bar {
	display: none;
	background: var(--micro-bg);
	border-bottom: 1px solid var(--border-subtle);
	max-height: 40px;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
}
@media (min-width: 768px) {
	.micro-bar {
		display: block;
	}
}
.micro-bar-inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0.4rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.75rem;
}
.micro-left,
.micro-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.micro-status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--text-secondary);
	font-weight: 500;
}
.status-dot {
	width: 7px;
	height: 7px;
	background: #22c55e;
	border-radius: 50%;
	box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
	animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
	0%,
	100% {
		opacity: 1;
		box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
	}
	50% {
		opacity: 0.6;
		box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
	}
}
.micro-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}
.micro-link:hover {
	color: var(--text-primary);
}
.micro-divider {
	width: 1px;
	height: 14px;
	background: var(--border-subtle);
}

/* ——— ACCESSIBILITY CONTROLS ——— */
.a11y-controls {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.a11y-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.1rem;
	min-width: 26px;
	height: 26px;
	padding: 0 0.35rem;
	border-radius: 0.4rem;
	border: 1px solid transparent;
	background: transparent;
	color: var(--text-muted);
	font-size: 0.7rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}
.a11y-btn:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--border-subtle);
}
.a11y-btn[aria-pressed='true'] {
	background: var(--cyan-dim);
	color: var(--cyan);
	border-color: var(--border-hover);
}

/* ——— LANGUAGE SWITCHER ——— */
.lang-switcher {
	position: relative;
}
.lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.3rem 0.6rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-secondary);
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.lang-btn:hover {
	border-color: var(--border-hover);
	background: var(--cyan-dim);
	color: var(--text-primary);
}
.lang-chevron {
	transition: transform 0.25s ease;
}
.lang-btn[aria-expanded='true'] .lang-chevron {
	transform: rotate(180deg);
}
.lang-dropdown {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	min-width: 160px;
	padding: 0.35rem;
	background: rgba(13, 17, 55, 0.98);
	border: 1px solid var(--border-subtle);
	border-radius: 0.75rem;
	backdrop-filter: blur(20px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px) scale(0.96);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	list-style: none;
	margin: 0;
	z-index: 100;
}
.lang-dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}
.lang-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.55rem 0.75rem;
	border-radius: 0.5rem;
	border: none;
	background: transparent;
	color: var(--text-secondary);
	font-size: 0.8rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
	text-align: left;
}
.lang-option:hover {
	background: var(--cyan-dim);
	color: var(--text-primary);
}

/* ——— MAIN NAV ——— */
.main-nav {
	background: var(--header-bg);
	backdrop-filter: blur(24px) saturate(1.4);
	-webkit-backdrop-filter: blur(24px) saturate(1.4);
}
.ljdev-header.is-scrolled .main-nav {
	background: var(--header-bg-scrolled);
	border-radius: 1rem;
}
.main-nav-inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0.65rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 1024px) {
	.main-nav-inner {
		padding: 0.65rem 1.5rem;
	}
}

/* ——— LOGO ——— */
.header-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	position: relative;
	flex-shrink: 0;
}
.logo-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 56px;
	height: 56px;
	background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
	transform: translate(-50%, -50%);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}
.header-logo:hover .logo-glow {
	opacity: 1;
}
.logo-img {
	width: 44px;
	height: 44px;
	border-radius: 0.75rem;
	position: relative;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-logo:hover .logo-img {
	transform: scale(1.08) rotate(2deg);
}
.logo-text {
	display: none;
}
@media (min-width: 768px) {
	.logo-text {
		display: flex;
		flex-direction: column;
	}
}
.logo-brand {
	color: var(--text-primary);
	font-weight: 800;
	font-size: 1.1rem;
	letter-spacing: 0.02em;
	line-height: 1.2;
}
.logo-tagline {
	color: var(--text-muted);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

/* ——— NAVIGATION CENTER ——— */
.nav-center {
	display: none;
}
@media (min-width: 1024px) {
	.nav-center {
		display: flex;
		flex: 1;
		justify-content: center;
	}
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-item {
	position: relative;
}
.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.55rem 0.85rem;
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none;
	border-radius: 0.65rem;
	position: relative;
	transition: color 0.25s ease;
}
.nav-link:hover,
.nav-item.is-active > .nav-link {
	color: var(--text-primary);
}
.nav-link-label {
	position: relative;
	z-index: 1;
}

/* Unique underline animation */
.nav-link-line {
	position: absolute;
	bottom: 6px;
	left: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--cyan), var(--blue));
	border-radius: 2px;
	transform: translateX(-50%);
	transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 0 8px var(--cyan-glow);
}
.nav-link:hover .nav-link-line,
.nav-item.is-active > .nav-link .nav-link-line {
	width: 60%;
}
.nav-item.is-active > .nav-link .nav-link-line {
	width: 70%;
	opacity: 0.7;
}

/* Dropdown arrow */
.dropdown-arrow {
	width: 14px;
	height: 14px;
	color: var(--text-muted);
	transition:
		transform 0.3s ease,
		color 0.2s ease;
}
.nav-item.dropdown-open > .nav-link .dropdown-arrow {
	transform: rotate(180deg);
	color: var(--cyan);
}

/* ——— DROPDOWN MENU ——— */
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 220px;
	padding: 0.5rem;
	margin-top: 0.5rem;
	background: rgba(13, 17, 55, 0.98);
	border: 1px solid var(--border-subtle);
	border-radius: 1rem;
	backdrop-filter: blur(24px);
	box-shadow:
		0 20px 50px rgba(0, 0, 0, 0.5),
		0 0 40px -10px var(--cyan-glow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 100;
}
/* Invisible bridge so mouse doesn't lose hover */
.dropdown-menu::before {
	content: '';
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}
.nav-item.dropdown-open > .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
	list-style: none;
}
.dropdown-menu .nav-link {
	display: flex;
	padding: 0.6rem 0.85rem;
	border-radius: 0.6rem;
	font-size: 0.85rem;
	color: var(--text-secondary);
	white-space: nowrap;
}
.dropdown-menu .nav-link:hover {
	background: var(--cyan-dim);
	color: var(--text-primary);
}
.dropdown-menu .nav-link-line {
	display: none;
}

/* ——— NAV ACTIONS (right side) ——— */
.nav-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

/* Search Trigger */
.search-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.65rem;
	border-radius: 0.65rem;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.25s ease;
}
.search-trigger:hover {
	border-color: var(--border-hover);
	background: var(--cyan-dim);
	color: var(--text-primary);
}
.search-shortcut {
	display: none;
}
@media (min-width: 1024px) {
	.search-shortcut {
		display: inline-flex;
		align-items: center;
		gap: 2px;
	}
}
.search-shortcut kbd {
	display: inline-block;
	padding: 0.1rem 0.35rem;
	font-size: 0.6rem;
	font-weight: 700;
	font-family: inherit;
	color: var(--text-muted);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border-subtle);
	border-radius: 0.3rem;
	line-height: 1.4;
}

/* CTA Button */
.header-cta {
	display: none;
}
@media (min-width: 1024px) {
	.header-cta {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		padding: 0.6rem 1.25rem;
		border-radius: 0.75rem;
		font-weight: 700;
		font-size: 0.85rem;
		color: #050816;
		background: linear-gradient(135deg, var(--cyan), #38bdf8);
		box-shadow:
			0 4px 20px var(--cyan-glow),
			inset 0 1px 0 rgba(255, 255, 255, 0.2);
		text-decoration: none;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
		position: relative;
		overflow: hidden;
	}
}
.header-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
}
.header-cta:hover::before {
	transform: translateX(100%);
}
.header-cta:hover {
	transform: translateY(-2px);
	box-shadow:
		0 8px 30px var(--cyan-glow),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.header-cta-text {
	position: relative;
	z-index: 1;
}

/* ——— ANIMATED GRADIENT BORDER ——— */
.header-gradient-border {
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--purple), var(--cyan), transparent);
	background-size: 200% 100%;
	animation: borderFlow 6s linear infinite;
	opacity: 0.6;
}
.ljdev-header.is-scrolled .header-gradient-border {
	opacity: 0.4;
}
@keyframes borderFlow {
	0% {
		background-position: 0% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

/* ——— HAMBURGER ——— */
.hamburger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--border-subtle);
	border-radius: 0.65rem;
	background: transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}
.hamburger:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--border-hover);
}
.hamburger-box {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 20px;
}
.hamburger-line {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--text-primary);
	border-radius: 2px;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	transform-origin: center;
}
.hamburger-line-2 {
	width: 65%;
	margin-left: auto;
}

/* Active state - X */
.hamburger.is-active .hamburger-line-1 {
	transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger-line-2 {
	opacity: 0;
	width: 100%;
}
.hamburger.is-active .hamburger-line-3 {
	transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   FULL-SCREEN SEARCH OVERLAY
   ============================ */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
}
.search-overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 8, 22, 0.85);
	backdrop-filter: blur(16px);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.search-overlay.is-open .search-overlay-backdrop {
	opacity: 1;
}
.search-overlay-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 15vh 1.5rem 0;
}
.search-modal {
	width: 100%;
	max-width: 640px;
	transform: translateY(-30px) scale(0.96);
	opacity: 0;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-overlay.is-open .search-modal {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(13, 17, 55, 0.9);
	border: 1px solid var(--border-hover);
	border-radius: 1rem;
	box-shadow:
		0 0 60px -10px var(--cyan-glow),
		0 20px 60px rgba(0, 0, 0, 0.4);
	overflow: hidden;
}
.search-input-icon {
	position: absolute;
	left: 1.25rem;
	width: 22px;
	height: 22px;
	color: var(--cyan);
	pointer-events: none;
}
.search-input {
	width: 100%;
	padding: 1.1rem 6rem 1.1rem 3.5rem;
	background: transparent;
	border: none;
	color: var(--text-primary);
	font-size: 1.1rem;
	font-weight: 500;
	outline: none;
}
.search-input::placeholder {
	color: var(--text-muted);
}
.search-close {
	position: absolute;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.6rem;
	border: 1px solid var(--border-subtle);
	border-radius: 0.5rem;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-muted);
	font-size: 0.7rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}
.search-close:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-primary);
}
.search-hints {
	margin-top: 1.5rem;
	text-align: center;
}
.search-hints-label {
	color: var(--text-muted);
	font-size: 0.75rem;
	font-weight: 500;
	margin-bottom: 0.75rem;
}
.search-hints-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
.search-hint-tag {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-subtle);
	border-radius: 2rem;
	color: var(--text-secondary);
	font-size: 0.8rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}
.search-hint-tag:hover {
	background: var(--cyan-dim);
	border-color: var(--border-hover);
	color: var(--cyan);
}

/* ============================
   MOBILE DRAWER
   ============================ */
.mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
}
.mobile-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 0.35s ease;
}
.mobile-drawer.is-open .mobile-drawer-backdrop {
	opacity: 1;
}
.mobile-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 380px;
	background: linear-gradient(180deg, #050816 0%, #0d1137 100%);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer.is-open .mobile-drawer-panel {
	transform: translateX(0);
}

.drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--border-subtle);
}
.drawer-logo {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
}
.drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 0.6rem;
	border: 1px solid var(--border-subtle);
	background: transparent;
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.2s ease;
}
.drawer-close:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-primary);
}

/* Drawer Search */
.drawer-search {
	padding: 1rem 1.5rem;
}
.drawer-search-input {
	width: 100%;
	padding: 0.7rem 0.75rem 0.7rem 2.5rem;
	border-radius: 0.75rem;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	font-size: 0.9rem;
	outline: none;
	transition: border-color 0.2s ease;
}
.drawer-search-input:focus {
	border-color: var(--border-hover);
}
.drawer-search-input::placeholder {
	color: var(--text-muted);
}

/* Drawer Navigation */
.drawer-nav {
	flex: 1;
	padding: 0.5rem 1.5rem;
	overflow-y: auto;
}
.drawer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.drawer-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.drawer-link {
	display: block;
	flex: 1;
	padding: 0.85rem 0.75rem;
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 0.65rem;
	transition: all 0.2s ease;
}
.drawer-link:hover,
.drawer-item.is-active .drawer-link {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.04);
}
.drawer-item.is-active .drawer-link {
	color: var(--cyan);
}
.drawer-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: var(--cyan-dim);
	color: var(--cyan);
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}
.drawer-submenu-toggle svg {
	transition: transform 0.3s ease;
}
.drawer-submenu {
	list-style: none;
	padding: 0.25rem 0 0.25rem 1rem;
	margin: 0;
	display: none;
	border-left: 2px solid var(--cyan-dim);
}
.drawer-submenu .drawer-link {
	font-size: 0.88rem;
	padding: 0.65rem 0.75rem;
}

/* Drawer Footer */
.drawer-footer {
	padding: 1.25rem 1.5rem;
	border-top: 1px solid var(--border-subtle);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-top: auto;
}
.drawer-lang {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.drawer-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border-subtle);
	background: transparent;
	color: var(--text-secondary);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.drawer-lang-btn.is-active {
	border-color: var(--border-hover);
	background: var(--cyan-dim);
	color: var(--cyan);
}
.drawer-a11y {
	display: flex;
	gap: 0.5rem;
}
.drawer-a11y-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border-subtle);
	background: transparent;
	color: var(--text-secondary);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.drawer-a11y-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
}
.drawer-a11y-btn[aria-pressed='true'] {
	background: var(--cyan-dim);
	color: var(--cyan);
	border-color: var(--border-hover);
}
.drawer-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem;
	border-radius: 0.75rem;
	background: linear-gradient(135deg, var(--cyan), #38bdf8);
	color: #050816;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s ease;
}
.drawer-cta:hover {
	box-shadow: 0 4px 20px var(--cyan-glow);
}

/* ============================
   HIGH CONTRAST MODE
   ============================ */
:root.high-contrast .ljdev-header {
	border: 2px solid var(--cyan);
}
:root.high-contrast .ljdev-header.is-scrolled {
	box-shadow:
		0 0 0 2px var(--cyan),
		0 8px 32px rgba(0, 0, 0, 0.5);
}
:root.high-contrast .nav-link {
	color: var(--text-primary);
}
:root.high-contrast .nav-link-line {
	height: 3px;
}
:root.high-contrast .search-input-wrap {
	border-width: 2px;
}
:root.high-contrast .micro-link,
:root.high-contrast .micro-status {
	color: var(--text-primary);
}
:root.high-contrast .drawer-link {
	color: var(--text-primary);
	font-weight: 700;
}

/* ============================
   REDUCED MOTION
   ============================ */
:root.reduced-motion *,
:root.reduced-motion *::before,
:root.reduced-motion *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.01ms !important;
}

/* ============================
   FOCUS STYLES (Keyboard users)
   ============================ */
.nav-link:focus-visible,
.header-cta:focus-visible,
.search-trigger:focus-visible,
.hamburger:focus-visible,
.lang-btn:focus-visible,
.a11y-btn:focus-visible,
.drawer-link:focus-visible,
.drawer-cta:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 2px;
}

/* ============================
   PRINT STYLES
   ============================ */
@media print {
	.ljdev-header,
	.header-progress,
	.search-overlay,
	.mobile-drawer {
		display: none !important;
	}
}
