:root {
	--bg: #081420;
	--surface: #102236;
	--surface-2: #16324c;
	--text: #e6f4ff;
	--muted: #a6c1d8;
	--accent: #00d1b2;
	--accent-2: #ffb347;
	--border: rgba(255, 255, 255, 0.12);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body {
	font-family: "Manrope", sans-serif;
	color: var(--text);
	background:
		radial-gradient(900px 500px at 10% -10%, rgba(0, 209, 178, 0.24), transparent 60%),
		radial-gradient(700px 400px at 100% 10%, rgba(255, 179, 71, 0.22), transparent 60%),
		var(--bg);
	min-height: 100vh;
	overflow-x: hidden;
}

.bg-grid {
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: radial-gradient(circle at center, black 20%, transparent 95%);
	pointer-events: none;
	z-index: 0;
}

.glow {
	position: fixed;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.45;
}

.glow-a {
	background: var(--accent);
	top: 12%;
	left: -6%;
	animation: floatA 11s ease-in-out infinite;
}

.glow-b {
	background: var(--accent-2);
	right: -6%;
	bottom: 10%;
	animation: floatB 13s ease-in-out infinite;
}

.topbar,
main,
footer {
	position: relative;
	z-index: 1;
}

.topbar {
	width: min(1100px, calc(100% - 2rem));
	margin: 1.1rem auto 0;
	padding: 0.85rem 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: 1rem;
	backdrop-filter: blur(7px);
	background: rgba(16, 34, 54, 0.65);
}

.brand {
	text-decoration: none;
	color: var(--text);
	font-weight: 800;
	letter-spacing: 0.03em;
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
}

.brand-mark {
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.35rem;
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.5rem;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #072033;
}

nav {
	display: inline-flex;
	gap: 0.9rem;
}

nav a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	transition: color 0.2s ease;
}

nav a:hover {
	color: var(--text);
}

main {
	width: min(1100px, calc(100% - 2rem));
	margin: 0 auto;
}

.hero {
	padding: 7rem 0 4rem;
	max-width: 760px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 auto;
}

.kicker {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--accent-2);
	font-size: 0.8rem;
	font-weight: 800;
	margin-bottom: 0.8rem;
}

.hero h1 {
	margin: 0;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(3rem, 8vw, 6.6rem);
	line-height: 0.95;
	letter-spacing: 0.01em;
}

.hero h1 span {
	color: var(--accent);
}


/* Mákos guba klasszikus recept (Nosalty):

Hozzávalók: 4 db kifli, 500 ml tej, 1 db vanília, 4 evőkanál cukor a tejhez, 1 csipet só, 150 g darált mák, 3 evőkanál cukor a mákhoz, 1 citrom héja, 2 evőkanál vaj, 2 evőkanál méz, 1 evőkanál porcukor a tetejére.
Elkészítés: A tejet a vaníliával, cukorral és sóval melegítjük, közben karikára vágott kifliket felkarikálunk. A cukorba reszelt citromhéjat keverünk, hozzáadjuk a mákot, és elkeverjük. A kifliket a meleg tejjel leöntjük, majd a tálba rétegezzük: mák, kifli, mák, addig, amíg elfogy. A tetejére mákot szórunk, vajkockákat teszünk, mézzel locsoljuk, és 20 percig 180°C-os sütőben sütjük. */

.lead {
	color: var(--muted);
	font-size: clamp(1rem, 2.1vw, 1.15rem);
	line-height: 1.7;
	margin-top: 1.2rem;
	max-width: 62ch;
}

.actions {
	margin-top: 1.7rem;
	display: flex;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.btn {
	text-decoration: none;
	padding: 0.8rem 1.2rem;
	border-radius: 0.8rem;
	font-weight: 800;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent), #00b4ff);
	color: #052031;
	box-shadow: 0 8px 24px rgba(0, 209, 178, 0.25);
}

.btn-ghost {
	border-color: var(--border);
	color: var(--text);
	background: rgba(255, 255, 255, 0.03);
}

.modules {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 1rem 0 4rem;
}

.card {
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 1rem;
	background: linear-gradient(160deg, rgba(22, 50, 76, 0.82), rgba(16, 34, 54, 0.7));
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.22);
}

.card h2 {
	margin: 0;
	font-size: 1.1rem;
}

.card p {
	color: var(--muted);
	line-height: 1.55;
	font-size: 0.95rem;
	min-height: 7rem;
}

.card a {
	text-decoration: none;
	color: var(--accent-2);
	font-weight: 700;
}

.impact {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 4rem;
}

.stat {
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.03);
}

.value {
	display: block;
	font-family: "Bebas Neue", sans-serif;
	font-size: 3rem;
	color: var(--accent);
	line-height: 1;
}

.label {
	color: var(--muted);
	font-weight: 700;
}

.cta {
	text-align: center;
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: 2.5rem 1rem;
	margin-bottom: 3rem;
	background: linear-gradient(145deg, rgba(22, 50, 76, 0.88), rgba(11, 25, 39, 0.78));
}

.cta h2 {
	margin-top: 0;
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 0.04em;
	font-size: clamp(2rem, 6vw, 3.3rem);
}

.cta p {
	color: var(--muted);
	max-width: 62ch;
	margin: 0 auto 1.4rem;
}

.content {
	max-width: 800px;
	margin: 0 auto 4rem;
	padding: 2rem 0;
}

.content h2 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--accent);
}

.content h3 {
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	color: var(--text);
}

.content h4 {
	font-size: 1.2rem;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	color: var(--text);
}

.content p {
	line-height: 1.7;
	margin-bottom: 1rem;
	color: var(--muted);
}

.content ul,
.content ol {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

.content li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
	color: var(--muted);
}

.content strong {
	color: var(--text);
}

.content em {
	color: var(--accent-2);
}

.content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 0.5rem;
	overflow: hidden;
}

.content th,
.content td {
	padding: 0.8rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.content th {
	background: rgba(0, 209, 178, 0.1);
	color: var(--accent);
	font-weight: 700;
}

.content td {
	color: var(--muted);
}

.content-image {
	margin: 2rem 0;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: rgba(16, 34, 54, 0.5);
	padding: 0;
}

.content-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0.95rem;
	margin: 0.35rem;
	max-height: 320px;
	object-fit: cover;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.content-image:hover img {
	transform: scale(1.02);
	filter: brightness(1.05);
}

.content-image figcaption {
	padding: 1rem;
	color: var(--muted);
	font-size: 0.95rem;
	font-style: italic;
	text-align: center;
	border-top: 1px solid var(--border);
}

.content-image-side {
	float: right;
	width: 45%;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.malware-icon {
	width: 24px;
	height: 24px;
	vertical-align: middle;
	margin-right: 0.5rem;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 209, 178, 0.2);
	transition: transform 0.2s ease;
}

.malware-icon:hover {
	transform: scale(1.1);
}

footer {
	text-align: center;
	color: var(--muted);
	padding: 1rem;
}

.reveal {
	opacity: 0;
	transform: translateY(30px) scale(0.95);
	transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
	opacity: 1;
	transform: translateY(0) scale(1);
}

@keyframes floatA {

	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(40px, -30px);
	}
}

@keyframes floatB {

	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(-35px, 24px);
	}
}

@media (max-width: 980px) {
	.modules {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.card p {
		min-height: 0;
	}
}

@media (max-width: 700px) {
	.topbar {
		flex-direction: column;
		gap: 0.6rem;
	}

	nav {
		flex-wrap: wrap;
		justify-content: center;
	}

	.hero {
		padding-top: 4.6rem;
	}

	.impact {
		grid-template-columns: 1fr;
	}

	.modules {
		grid-template-columns: 1fr;
	}

	.content-image-side {
		float: none;
		width: 100%;
		margin-left: 0;
		margin-bottom: 1.5rem;
	}

	.content-image img {
		max-height: 300px;
	}

	.language-selector {
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* Language Selector - Premium Design */
.language-selector {
	display: inline-flex;
	gap: 0.25rem;
	padding: 0.5rem 0.6rem;
	background: linear-gradient(135deg, rgba(16, 50, 76, 0.4), rgba(22, 50, 76, 0.3));
	border: 1px solid rgba(0, 209, 178, 0.25);
	border-radius: 0.8rem;
	backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.language-selector:hover {
	background: linear-gradient(135deg, rgba(16, 50, 76, 0.5), rgba(22, 50, 76, 0.4));
	border-color: rgba(0, 209, 178, 0.4);
	box-shadow: 0 8px 24px rgba(0, 209, 178, 0.1);
}

.language-selector a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.6rem 1rem;
	border-radius: 0.6rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	display: inline-block;
	position: relative;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.language-selector a:hover {
	color: var(--text);
	background: rgba(0, 209, 178, 0.1);
	transform: translateY(-1px);
}

.language-selector a.active {
	color: var(--text);
	background: linear-gradient(135deg, rgba(0, 209, 178, 0.25), rgba(0, 180, 255, 0.15));
	border: 1px solid rgba(0, 209, 178, 0.5);
	box-shadow: 
		0 0 20px rgba(0, 209, 178, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	font-weight: 800;
}

.language-selector a.active::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at center, rgba(0, 209, 178, 0.2), transparent);
	border-radius: 0.6rem;
	pointer-events: none;
}

