/*
Theme Name: NGOD AI
Theme URI: https://ngod.hu
Author: NGOD – New Generation of Design Kft.
Description: Ügyfélszerzésre optimalizált téma AI governance, AI bevezetés és GDPR tanácsadáshoz. AI érettségi gyorsteszt, beépített érdeklődő-űrlap (adminban tárolt leadekkel), kiemelt AI blog. Külső betűtípus és CDN nélkül – GDPR-barát.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ngod-ai
*/

/* ==========================================================================
   Tokenek
   ========================================================================== */
:root {
	--ink: #0A0F1F;
	--ink-2: #0F1630;
	--ink-3: #172042;
	--line: rgba(255, 255, 255, .09);
	--text: #E8EBF5;
	--muted: #A0A8C2;
	--paper: #F5F6FB;
	--white: #FFFFFF;
	--paper-text: #121831;
	--paper-muted: #56607C;
	--paper-line: #E2E5F0;
	--accent: #7C5CFF;
	--accent-2: #22D3EE;
	--accent-ink: #5B3DF5;
	--ok: #22C55E;
	--warn: #F59E0B;
	--bad: #F43F5E;
	--grad: linear-gradient(120deg, #7C5CFF 0%, #4F8BFF 50%, #22D3EE 100%);
	--radius: 18px;
	--radius-sm: 12px;
	--max: 1200px;
	--shadow: 0 20px 50px -20px rgba(16, 24, 64, .25);
	--font: "Inter", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
}

/* ==========================================================================
   Alap
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--paper-text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

/* ==========================================================================
   Gombok
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.35em; border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 34px -10px rgba(34, 211, 238, .7); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(255, 255, 255, .18); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { background: transparent; color: var(--paper-text); border-color: var(--paper-line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Fejléc
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(10, 15, 31, .72);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(10, 15, 31, .9); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-logo { max-height: 42px; width: auto; }
.brand-text { font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-top: 4px; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 10px; display: block; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .07); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero és sötét háttérelemek
   ========================================================================== */
.hero, .page-hero, .article-hero, .section--dark { background: var(--ink); color: var(--text); position: relative; overflow: hidden; }
.hero { padding: 72px 0 40px; margin-top: -72px; padding-top: 144px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-bg::after {
	content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
	background:
		radial-gradient(closest-side, rgba(124, 92, 255, .38), transparent 70%),
		radial-gradient(closest-side at 70% 60%, rgba(34, 211, 238, .22), transparent 70%);
	filter: blur(10px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
	font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #C9D2F5;
	padding: 7px 14px; border-radius: 999px; background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .35);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.hero-title { color: #fff; margin-bottom: 20px; }
.hero-text { font-size: 1.13rem; color: var(--muted); max-width: 40em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.hero-note .icon { color: var(--ok); }

/* AI „konzol” illusztráció */
.hero-visual { position: relative; }
.console {
	background: linear-gradient(180deg, rgba(23, 32, 66, .92), rgba(15, 22, 48, .92));
	border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(124, 92, 255, .12), 0 0 80px -20px rgba(124, 92, 255, .45);
	overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.console-bar span { margin-left: 8px; }
.console-body { padding: 10px 16px 18px; }
.console-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px dashed rgba(255, 255, 255, .08); font-size: .93rem; }
.console-name { flex: 1; color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot--warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.dot--bad { background: var(--bad); box-shadow: 0 0 10px var(--bad); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.pill { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill--ok { color: #86EFAC; background: rgba(34, 197, 94, .14); }
.pill--warn { color: #FCD34D; background: rgba(245, 158, 11, .14); }
.pill--bad { color: #FDA4AF; background: rgba(244, 63, 94, .16); }
.console-meters { display: grid; gap: 10px; margin-top: 16px; }
.meter { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); }
.meter b { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.meter b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--grad); border-radius: inherit; }
.meter em { font-style: normal; color: #fff; font-family: var(--font-mono); text-align: right; }
.float-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 14px; border-radius: 14px; font-size: .84rem; font-weight: 600; color: #fff;
	background: rgba(15, 22, 48, .9); border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .7); backdrop-filter: blur(8px);
	animation: float 6s ease-in-out infinite;
}
.float-chip .icon { color: var(--accent-2); }
.float-chip--a { top: -22px; right: 6%; }
.float-chip--b { bottom: -46px; left: -18px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.frameworks { position: relative; margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.frameworks-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.frameworks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.frameworks li { font-family: var(--font-mono); font-size: .82rem; color: #CBD3F2; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .03); }

/* ==========================================================================
   Szekciók
   ========================================================================== */
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--light { background: var(--paper); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--muted); }
.section--glow::before {
	content: ""; position: absolute; width: 700px; height: 700px; left: -200px; top: -250px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(124, 92, 255, .25), transparent 70%);
}
.section--glow::after {
	content: ""; position: absolute; width: 600px; height: 600px; right: -200px; bottom: -250px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(34, 211, 238, .14), transparent 70%);
}
.section-head { max-width: 760px; margin-bottom: 52px; position: relative; }
.section-head > p:last-child { font-size: 1.08rem; color: var(--paper-muted); }
.section-head--light > p:last-child { color: var(--muted); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }
.kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; display: inline-block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Probléma kártyák */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 2px rgba(16, 24, 64, .04); }
.pain p { color: var(--paper-muted); margin: 0; }
.pain-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent-ink); background: linear-gradient(135deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .14)); }
.pain-icon .icon { width: 24px; height: 24px; }

/* Szolgáltatások */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; }
.service { position: relative; border-radius: 22px; padding: 34px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid var(--line); }
.service--main::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(124, 92, 255, .9), rgba(34, 211, 238, .5) 45%, transparent 75%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.service--side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 40px; align-items: start; }
.service--side .service-top, .service--side h3, .service--side .service-lead { grid-column: 1; }
.service--side .checklist { grid-column: 2; grid-row: 1 / span 4; columns: 2; column-gap: 28px; margin-top: 0; }
.service--side .link-arrow { grid-column: 1; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.service-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 30px -8px rgba(124, 92, 255, .8); }
.service--side .service-icon { background: rgba(255, 255, 255, .08); box-shadow: none; color: var(--accent-2); }
.service-icon .icon { width: 26px; height: 26px; }
.service-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); padding: 5px 10px; border-radius: 999px; background: rgba(34, 211, 238, .1); }
.service--side .service-tag { color: var(--muted); background: rgba(255, 255, 255, .06); }
.service h3 { font-size: 1.6rem; }
.service-lead { font-size: 1.04rem; }
.checklist { list-style: none; padding: 0; margin: 22px 0 26px; }
.checklist li { display: flex; gap: 10px; padding: 7px 0; color: #D6DCF0; break-inside: avoid; }
.checklist .icon { color: var(--accent-2); margin-top: 3px; }
.section--dark .link-arrow { color: #fff; }

/* Folyamat */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .3; }
.step { position: relative; }
.step-no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--white); border: 1px solid var(--paper-line); font-family: var(--font-mono); font-weight: 700; color: var(--accent-ink); margin-bottom: 20px; box-shadow: var(--shadow); position: relative; }
.step p { color: var(--paper-muted); font-size: .97rem; }

/* Gyorsteszt */
.quiz-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; position: relative; }
.quiz-intro { position: sticky; top: 110px; }
.mini-list { list-style: none; padding: 0; margin: 24px 0; }
.mini-list li { display: flex; gap: 10px; align-items: center; padding: 5px 0; color: #D6DCF0; }
.mini-list .icon { color: var(--ok); }
.quiz { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.quiz-q { border: 0; margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.quiz-q legend { font-weight: 600; color: #fff; margin-bottom: 12px; padding: 0; line-height: 1.45; }
.quiz-q legend span { font-family: var(--font-mono); font-size: .78rem; color: var(--accent-2); margin-right: 6px; }
.quiz-q.is-missing legend { color: #FDA4AF; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-opts label { cursor: pointer; }
.quiz-opts input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-opts span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #D6DCF0; font-size: .92rem; transition: .15s ease; }
.quiz-opts label:hover span { border-color: rgba(124, 92, 255, .7); }
.quiz-opts input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.quiz-opts input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.quiz-result { margin-top: 22px; padding: 24px; border-radius: 18px; background: rgba(10, 15, 31, .6); border: 1px solid rgba(124, 92, 255, .4); }
.quiz-result--hint { border-color: rgba(244, 63, 94, .5); }
.quiz-result--hint p { margin: 0; color: #FDA4AF; }
.quiz-result ul { padding-left: 1.2em; color: #D6DCF0; margin: 0 0 20px; }
.quiz-result li { margin-bottom: 6px; }
.quiz-score { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.quiz-score b { font-size: 2.6rem; line-height: 1; font-family: var(--font-mono); }
.quiz-score span { color: var(--muted); font-size: .9rem; }
.quiz-score--bad b { color: #FB7185; }
.quiz-score--warn b { color: #FBBF24; }
.quiz-score--ok b { color: #4ADE80; }

/* Cikkek */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124, 92, 255, .35); }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-placeholder { position: relative; display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 75% 25%, rgba(34, 211, 238, .45), transparent 45%), radial-gradient(circle at 20% 80%, rgba(124, 92, 255, .6), transparent 50%), var(--ink-2); }
.post-card-placeholder::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; }
.post-card-placeholder span { position: relative; font-family: var(--font-mono); font-weight: 700; font-size: 1.4rem; color: #fff; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; background: rgba(10, 15, 31, .4); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--paper-muted); margin-bottom: 12px; }
.post-meta--light { color: var(--muted); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; color: var(--accent-ink); background: rgba(124, 92, 255, .1); text-decoration: none; }
.badge--glow { color: #fff; background: rgba(124, 92, 255, .3); border: 1px solid rgba(124, 92, 255, .6); }
.post-card-title { font-size: 1.18rem; line-height: 1.3; margin-bottom: 10px; }
.post-card-title a { color: var(--paper-text); text-decoration: none; }
.post-card-title a:hover { color: var(--accent-ink); }
.post-card-excerpt { color: var(--paper-muted); font-size: .96rem; flex: 1; }

/* Miért mi */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.why blockquote { margin: 0 0 22px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.why-list .icon { width: 26px; height: 26px; color: var(--accent-2); margin-top: 2px; }
.why-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-list p { margin: 0; font-size: .95rem; }

/* GYIK */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { background: var(--white); border: 1px solid var(--paper-line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--paper-muted); padding-bottom: 20px; margin: 0; }

/* Lead űrlap */
.lead-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; position: relative; }
.lead-direct { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.lead-direct a { color: #fff; font-weight: 600; }
.lead-form { background: var(--white); color: var(--paper-text); border-radius: 22px; padding: 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--paper-text); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: .97rem; color: var(--paper-text);
	padding: 12px 14px; border-radius: 12px; border: 1px solid var(--paper-line); background: var(--paper);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(124, 92, 255, .15); }
.consent { display: flex; gap: 10px; font-size: .86rem; color: var(--paper-muted); margin: 6px 0 20px; line-height: 1.5; }
.consent input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; font-size: .95rem; }
.notice--success { background: #E8FBEF; color: #166534; border: 1px solid #BBF7D0; }
.notice--error { background: #FFF1F2; color: #9F1239; border: 1px solid #FECDD3; }

/* ==========================================================================
   Aloldalak, cikk
   ========================================================================== */
.page-hero { padding: 150px 0 72px; margin-top: -72px; }
.page-hero--compact { padding: 136px 0 48px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero-text { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.search-form { display: flex; gap: 10px; max-width: 560px; margin-top: 28px; }
.search-form input { flex: 1; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; }
.search-form input::placeholder { color: var(--muted); }
.section--light .search-form input { background: #fff; color: var(--paper-text); border-color: var(--paper-line); }

.article-hero { padding: 150px 0 64px; margin-top: -72px; }
.article-hero .container { position: relative; }
.article-title { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.article-lead { font-size: 1.18rem; color: var(--muted); }
.article-thumb { margin-top: -32px; position: relative; z-index: 2; }
.article-thumb img { border-radius: var(--radius); box-shadow: var(--shadow); display: block; width: 100%; }
.article { background: var(--paper); }
.article > .container--narrow:last-of-type { padding-top: 56px; padding-bottom: 72px; }

.entry-content { font-size: 1.08rem; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.75rem; margin-top: 2em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content strong { color: var(--paper-text); }
.entry-content blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--accent); background: linear-gradient(90deg, rgba(124, 92, 255, .08), transparent); border-radius: 0 14px 14px 0; font-size: 1.12rem; }
.entry-content code { font-family: var(--font-mono); font-size: .9em; background: rgba(124, 92, 255, .1); padding: 2px 6px; border-radius: 6px; }
.entry-content pre { background: var(--ink); color: var(--text); padding: 20px; border-radius: 14px; overflow-x: auto; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--paper-line); padding: 10px 12px; text-align: left; }
.entry-content th { background: #EEF0F8; }
.entry-content img { border-radius: 14px; }
.entry-content a { color: var(--accent-ink); }
.entry-content .alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-block-button__link { background: var(--grad); border-radius: 999px; }
.tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: .84rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--paper-line); text-decoration: none; color: var(--paper-muted); }

.cta-box { margin-top: 56px; padding: 36px; border-radius: 22px; background: var(--ink); color: var(--text); position: relative; overflow: hidden; display: grid; gap: 22px; }
.cta-box::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(124, 92, 255, .5), transparent 70%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: 1.6rem; }
.cta-box p { color: var(--muted); margin: 0; }
.cta-box-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { padding: 9px 15px; border-radius: 10px; border: 1px solid var(--paper-line); text-decoration: none; color: var(--paper-text); background: #fff; }
.page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }
.empty { font-size: 1.1rem; color: var(--paper-muted); }

/* ==========================================================================
   Lábléc
   ========================================================================== */
.site-footer { background: #070B17; color: var(--muted); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 26em; }
.footer-company { font-size: .85rem; }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a:not(.btn) { color: var(--muted); text-decoration: none; }
.footer-list a:not(.btn):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom a { color: var(--muted); }
.footer-legal { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

.mobile-cta { display: none; }

/* Megjelenési animáció */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Reszponzív
   ========================================================================== */
@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: 1fr; gap: 64px; }
	.hero-visual { max-width: 620px; }
	.console { transform: none; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.steps::before { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 900px) {
	.header-cta { display: none; }
	.nav-toggle { display: block; }
	.primary-nav {
		position: fixed; inset: 72px 0 0 0; background: var(--ink); padding: 24px;
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; margin: 0;
	}
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
	.primary-nav { height: calc(100vh - 72px); height: calc(100dvh - 72px); }
	.primary-nav .menu { flex-direction: column; gap: 2px; }
	.primary-nav a { font-size: 1.15rem; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 16px; }
	.primary-nav .nav-cta-mobile { display: flex; margin-top: 24px; width: 100%; border: 0; border-radius: 999px; }
	.cards-3, .post-grid { grid-template-columns: 1fr 1fr; }
	.services { grid-template-columns: 1fr; }
	.service--side { display: block; }
	.service--side .checklist { columns: 1; margin-top: 22px; }
	.quiz-wrap, .why, .faq-wrap, .lead-grid { grid-template-columns: 1fr; gap: 36px; }
	.quiz-intro { position: static; }
	.mobile-cta {
		display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
		text-align: center; padding: 14px; border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none;
		background: var(--grad); box-shadow: 0 16px 40px -10px rgba(124, 92, 255, .8);
		transform: translateY(140%); transition: transform .25s ease;
	}
	.show-mobile-cta .mobile-cta { transform: none; }
	.mobile-cta:hover { color: #fff; }
	.site-footer { padding-bottom: 80px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.container { padding: 0 18px; }
	.hero { padding-top: 116px; }
	.section { padding: 72px 0; }
	.cards-3, .post-grid, .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
	.field-row { gap: 0; }
	.hero-actions .btn { width: 100%; }
	.float-chip--a { right: 8px; top: -26px; }
	.float-chip--b { left: 8px; }
	.console-row { flex-wrap: wrap; }
	.console-name { white-space: normal; }
	.service, .quiz, .lead-form, .cta-box { padding: 22px; }
	.meter { grid-template-columns: 84px 1fr 36px; }
	.frameworks { margin-top: 56px; }
	.search-form { flex-direction: column; }
}

/* Rácselemek ne lógjanak ki keskeny kijelzőn */
.hero-grid > *, .quiz-wrap > *, .why > *, .faq-wrap > *, .lead-grid > *, .services > *, .post-grid > *, .cards-3 > * { min-width: 0; }
