@media (max-width: 1024px) {
	.hero-content {
		padding: 70px 0 90px;
	}
}

@media (max-width: 860px) {
	.nav-links {
		position: fixed;
		top: 78px;
		left: 12px;
		right: 12px;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		background: linear-gradient(160deg, rgba(20, 34, 43, 0.97), rgba(12, 20, 25, 0.98));
		backdrop-filter: blur(14px);
		padding: 18px;
		border-radius: 16px;
		border: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: 0 22px 46px rgba(4, 12, 18, 0.5);
		z-index: 30;
		transform: translateY(-10px) scale(0.98);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
	}

	.nav-links a {
		display: block;
		padding: 12px 14px;
		border-radius: 10px;
		background: rgba(102, 217, 207, 0.06);
		font-weight: 600;
		transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
	}

	.nav-links a:hover,
	.nav-links a.active {
		background: rgba(102, 217, 207, 0.16);
		color: var(--text);
		transform: translateX(2px);
	}

	.nav-links.open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 12px;
		border: 1px solid rgba(102, 217, 207, 0.35);
		background: rgba(102, 217, 207, 0.08);
		font-size: 22px;
		line-height: 1;
		transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
		position: relative;
		z-index: 32;
	}

	.nav-toggle.open {
		transform: rotate(90deg);
		background: rgba(102, 217, 207, 0.18);
		border-color: rgba(102, 217, 207, 0.5);
	}


	[data-theme="light"] .nav-links {
		background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(242, 248, 250, 0.98));
		border-color: rgba(27, 39, 48, 0.12);
		box-shadow: 0 18px 38px rgba(19, 35, 47, 0.16);
	}

	[data-theme="light"] .nav-links a {
		background: rgba(27, 39, 48, 0.04);
	}

	[data-theme="light"] .nav-links a:hover,
	[data-theme="light"] .nav-links a.active {
		background: rgba(102, 217, 207, 0.2);
	}

	body.nav-open {
		overflow: hidden;
	}
}

@media (max-width: 600px) {
	.section {
		padding: 60px 0;
	}

	.hero-content {
		padding: 60px 0 80px;
	}

	.hero-card {
		padding: 20px;
	}
}
