/* Narancs Signage bemutató oldal – az admin halvány narancs színeire épül */
:root {
  --bg: #fff8f2; --bg2: #fff1e5; --surface: #fff; --border: #f3dfcf; --border-strong: #e9c8ad;
  --text: #2a1a10; --muted: #8d6f5b; --primary: #f59e5b; --primary-strong: #e07a35; --soft: #ffe7d4;
  --dot: rgba(170, 110, 60, .22);
  --s-alert: #dc4b3e;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(var(--dot) 1.3px, transparent 1.6px) 0 0 / 24px 24px, var(--bg);
  overflow-x: hidden;
}
a { color: var(--primary-strong); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--text); transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-sm { padding: 6px 16px; font-size: 14px; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* Hős szakasz */
.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1360px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px); }
.kicker { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary-strong); margin: 0 0 14px; }
h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 900; margin: 0 0 22px; }
h1 span { color: var(--primary-strong); }
.lead { font-size: 18px; color: #5a4334; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14px; }
.stats b { color: var(--text); font-size: 22px; font-weight: 800; margin-right: 4px; }

/* Dőlt bemutató ablak */
.stage { perspective: 2000px; }
.win { transform: rotateX(9deg) rotateY(-13deg) rotateZ(-1.5deg); transform-origin: 50% 50%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.stage:hover .win, .stage:focus-within .win { transform: rotateX(4deg) rotateY(-6deg) rotateZ(-.6deg); }
.win {
  background: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.4px) 0 0 / 18px 18px, #f8f6f4;
  border-radius: 12px; border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -20px rgba(80, 40, 10, .35), 0 12px 24px -12px rgba(80,40,10,.2);
  overflow: hidden;
}
.bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px 6px; font-size: 13px; }
.tl { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.bar b { margin-left: 10px; }
.hint { margin-left: auto; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hint i { width: 14px; height: 14px; border-radius: 50%; background: #ddd; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { background: var(--primary); } }
.steps { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 4px 16px 10px; border-bottom: 1px solid rgba(0,0,0,.06); }
.step { background: none; border: 0; padding: 4px 2px; color: #9a918b; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.step em { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: #e7e2de; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.step[aria-selected="true"] { color: var(--text); font-weight: 600; }
.step[aria-selected="true"] em { background: var(--text); color: #fff; }
.step.done em { background: var(--primary); color: #fff; }

.panel { position: relative; height: 340px; }
.pane { position: absolute; inset: 0; padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.pane.active { opacity: 1; visibility: visible; }
.pane h3 { margin: 0 0 4px; font-size: 18px; }
.sub { margin: 0 0 14px; color: #7d746e; font-size: 13px; max-width: 30em; line-height: 1.5; }
.center { text-align: center; margin: 10px auto 0; }
.cmd { font: 12px var(--mono); background: #2a201a; color: #ffd8b8; padding: 8px 12px; border-radius: 7px; max-width: 100%; overflow-x: auto; white-space: nowrap; }
.ticks { display: flex; gap: 2px; margin: 18px 0 8px; height: 10px; width: min(100%, 390px); }
.ticks i { flex: 1; background: #d9d4d0; border-radius: 1px; transition: background .15s; }
.ticks i.on { background: #2a201a; }
.status { font-size: 12px; color: #7d746e; margin: 0 0 12px; min-height: 1.5em; }
.status.ok { color: #2f8a55; font-weight: 600; }
.btns { display: flex; gap: 8px; }
.mini { border: 1px solid rgba(0,0,0,.1); background: #e9e5e1; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 500; color: var(--text); }
.mini:hover { background: #dfd9d4; }
.mini.primary { background: var(--text); color: #fff; border-color: var(--text); }
.mini.danger { background: var(--s-alert); color: #fff; border-color: var(--s-alert); }
.mini:disabled { opacity: .5; cursor: default; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; width: 100%; text-align: left; }
.form { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tv { background: #1d1612; padding: 6px; border-radius: 8px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); width: 100%; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: #000; }
.tv-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pairing { background: linear-gradient(135deg, #ffb27a, #e07a35); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.pairing img { position: static; width: 22%; height: auto; margin-bottom: 4px; }
.pairing small { font-size: 10px; opacity: .85; text-transform: uppercase; letter-spacing: .12em; }
.pairing strong { font: 600 clamp(18px, 2.6vw, 30px) var(--mono); letter-spacing: .06em; }
.digits { display: flex; gap: 5px; margin: 4px 0 6px; }
.digits span { width: 26px; height: 32px; border: 1px solid var(--border-strong); background: #fff; border-radius: 6px; display: grid; place-items: center; font: 600 15px var(--mono); }
.digits span.on { border-color: var(--primary-strong); }
.field { display: flex; gap: 10px; font-size: 12px; color: #7d746e; margin-bottom: 6px; }
.field b { color: var(--text); }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.types button { text-align: left; border: 1px solid rgba(0,0,0,.08); background: #fff; border-radius: 8px; padding: 9px 10px; font-size: 12.5px; font-weight: 500; color: var(--text); }
.types button.on { border-color: var(--primary-strong); background: var(--soft); }

.timeline { position: relative; width: 100%; height: 56px; background: #ece7e3; border-radius: 8px; margin-top: 8px; cursor: ew-resize; touch-action: none; }
.blk { position: absolute; top: 6px; bottom: 6px; border-radius: 6px; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; padding: 0 4px; transition: box-shadow .2s; }
.blk.a { background: #ffd2ac; } .blk.b { background: #ffb27a; } .blk.c { background: #f59e5b; color: #3b1a05; }
.blk.off { background: transparent; color: #a59c96; font-weight: 400; }
.blk.now { box-shadow: 0 0 0 2px var(--text); }
.needle { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: var(--text); border-radius: 2px; pointer-events: none; }
.needle::before { content: ""; position: absolute; top: -4px; left: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--text); }
.hours { display: flex; justify-content: space-between; width: 100%; font: 11px var(--mono); color: #9a918b; margin: 6px 0 12px; padding: 0 2px; }

.tv.big { width: 100%; }
#player > img { opacity: 0; transition: opacity .8s; }
#player > img.on { opacity: 1; }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; padding: 3px 0; white-space: nowrap; overflow: hidden; }
.ticker span { display: inline-block; padding-left: 100%; animation: tick 18s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
.alert { position: absolute; inset: 0; background: var(--s-alert); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; animation: blink 1s steps(2) infinite; text-align: center; }
.alert b { font-size: clamp(16px, 2.4vw, 26px); }
.alert span { font-size: 11px; }
@keyframes blink { 50% { background: #b8352a; } }


/* Szakaszok */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 10px; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 18px; margin: 0 0 32px; }
.grid { display: grid; gap: 14px; }
.grid article { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.grid h3 { margin: 0 0 4px; font-size: 16px; }
.grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.perks { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin-top: 28px; }
.perks article { background: var(--soft); border-color: transparent; }
.perks p { color: #6f5242; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg2); border: 1px solid var(--border); border-radius: 999px; margin: 14px 0 24px; }
.tabs button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(120,60,20,.12); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 30px -18px rgba(120,60,20,.45); transition: transform .2s; }
.gallery a:hover img { transform: translateY(-3px); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.install { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); margin-top: 24px; }
.install article { position: relative; min-width: 0; }
.install h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 12px; }
.install h3 em { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; }
.install small { font-weight: 400; color: var(--muted); font-size: 13px; }
.install pre { background: #2a201a; color: #ffd8b8; border-radius: 10px; padding: 14px 16px; overflow-x: auto; font: 13px/1.7 var(--mono); margin: 0 0 12px; }
.install p code { font: 13px var(--mono); background: var(--bg2); padding: 1px 5px; border-radius: 4px; }
.copy { position: absolute; top: 18px; right: 18px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 6px; font-size: 12px; padding: 3px 10px; }

/* Képnézegető */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox::backdrop { background: rgba(30, 18, 10, .88); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 72px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); touch-action: pan-y; user-select: none; }
.lightbox figcaption { display: flex; gap: 14px; color: #fbeee4; font-size: 15px; }
.lightbox figcaption span:last-child { color: #c0a593; font-family: var(--mono); font-size: 13px; }
.lb-btn { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; font-size: 26px; }
.gallery a { cursor: zoom-in; display: block; }

footer .built-with { flex-basis: 100%; font-size: 13px; }
footer { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; padding: 36px 16px 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .win, .stage:hover .win { transform: none; }
}
@media (max-width: 640px) {
  .hint { display: none; }
  .panel { height: 470px; }
  .pane { padding: 20px 16px; }
  .split { grid-template-columns: 1fr; gap: 14px; }
  .blk { font-size: 9px; }
  .gallery { grid-template-columns: 1fr; }
  .install { grid-template-columns: 1fr; }
  .lightbox figure { padding: 56px 8px 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Nyelvváltó */
.lang-switch { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px; }
.lang-switch button { border: 0; background: none; padding: 3px 9px; border-radius: 999px; font: 600 12px var(--mono); color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--text); color: #fff; }

/* Élő bemutató oldal */
.demo-page h2 { font-size: clamp(36px, 4.6vw, 60px); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.demo-tv { padding: 10px; border-radius: 14px; }
.demo-tv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.demo-controls .mini { font-size: 14px; padding: 7px 14px; }
.demo-side h3 { margin: 0 0 4px; font-size: 16px; }
.demo-side .sub { font-size: 14px; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 26px; }
.theme { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--border); background: var(--surface); border-radius: 9px; padding: 6px 8px; font-size: 13px; font-weight: 500; color: var(--text); }
.theme i { position: relative; flex: none; width: 26px; height: 20px; border-radius: 5px; }
.theme i b { position: absolute; right: 3px; bottom: 3px; width: 8px; height: 8px; border-radius: 50%; }
.theme.on { border-color: var(--primary-strong); box-shadow: 0 0 0 2px var(--soft); }
.try { margin: 0 0 24px; padding-left: 18px; color: #5a4334; font-size: 14px; }
.try li { margin-bottom: 6px; }
@media (max-width: 900px) { .demo-layout { grid-template-columns: 1fr; } }

.admin-demo { margin-top: clamp(56px, 8vw, 110px); }
.browser { border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); background: #f8f6f4; box-shadow: 0 30px 60px -24px rgba(80,40,10,.35); }
.browser .bar { padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,.06); }
.browser .url { margin-left: 12px; flex: 1; max-width: 420px; background: #ece7e3; border-radius: 6px; padding: 3px 10px; font: 12px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser .bar a { margin-left: auto; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.browser iframe { display: block; width: 100%; height: min(78vh, 820px); border: 0; background: #fff8f2; }

/* Dokumentáció */
.nav nav a[aria-current="page"] { color: var(--text); }
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; max-width: 1200px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 64px; }
.toc details { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.toc summary { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; margin-bottom: 8px; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc nav a { display: block; padding: 4px 10px; border-left: 2px solid var(--border); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.toc nav a.toc-sub { padding-left: 22px; font-weight: 400; color: var(--muted); font-size: 13px; }
.toc nav a:hover { color: var(--primary-strong); }
.toc nav a.on { border-left-color: var(--primary-strong); color: var(--primary-strong); background: var(--soft); }
.doc { max-width: 820px; }
.doc section { scroll-margin-top: 84px; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.doc section:last-child { border-bottom: 0; }
.doc h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 14px; }
.doc h3 { font-size: 19px; margin: 30px 0 8px; scroll-margin-top: 84px; }
.doc p, .doc li, .doc dd { color: #4a3528; }
.doc-lead { font-size: 19px; color: var(--muted) !important; }
.doc code { font: 13.5px var(--mono); background: var(--bg2); border: 1px solid var(--border); padding: 1px 5px; border-radius: 5px; word-break: break-word; }
.doc pre { position: relative; background: #2a201a; color: #ffd8b8; border-radius: 10px; padding: 14px 16px; overflow-x: auto; font: 13px/1.7 var(--mono); margin: 10px 0 16px; }
.doc pre code { background: none; border: 0; padding: 0; color: inherit; word-break: normal; }
.doc pre.has-copy { padding-right: 78px; }
.doc pre .copy { top: 10px; right: 10px; }
.doc img.arch { width: 100%; height: auto; margin: 6px 0 18px; border: 1px solid var(--border); border-radius: 18px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14.5px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.doc th { background: var(--bg2); font-weight: 700; white-space: nowrap; }
.doc td:first-child { white-space: nowrap; font-weight: 500; }
.doc .note { background: var(--soft); border-left: 3px solid var(--primary); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.doc kbd { font: 600 12px var(--mono); background: var(--surface); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }
.doc .steps-list > li { margin-bottom: 12px; }
.doc .faq dt { font-weight: 700; margin-top: 16px; }
.doc .faq dd { margin: 4px 0 0; }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
  .toc details { position: static; max-height: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
  .toc summary { margin: 0; }
  .toc summary::after { content: " ▾"; }
  .doc td:first-child { white-space: normal; }
}
.more-docs { margin: 22px 0 0; font-weight: 600; }

@media (max-width: 440px) { .brand-name { display: none; } .nav nav { gap: 12px; } }

/* Összehasonlítás */
.savings { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; margin-bottom: 28px; }
.savings-title { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.savings-grid { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.savings-grid article { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.savings-grid article span { display: block; font-weight: 600; font-size: 14px; }
.savings-grid article b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.savings-grid article small { color: var(--muted); font-size: 12.5px; }
.savings-grid article.us { background: var(--soft); border-color: var(--primary); }
.savings-grid article.us b { color: var(--primary-strong); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.cmp th { font-size: 14px; background: var(--bg2); position: sticky; top: 0; }
.cmp td:first-child, .cmp th:first-child { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp th:first-child { background: var(--bg2); }
.cmp .us { background: var(--soft); font-weight: 700; }
.cmp th.us { background: var(--primary); color: #2a1300; }
.cmp .yes { color: #2f8a55; font-weight: 700; }
.cmp .us.yes { color: #2f8a55; }
.cmp .no { color: #c4ae9e; }
.cmp small { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.cmp tr.group td { background: var(--bg); font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; padding-top: 16px; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.footnote { font-size: 12.5px; color: var(--muted); margin: 12px 2px 0; }
.honest-title { margin-top: 56px; }
.compare-cta { margin-top: 32px; }

/* Fejléc menü: szűk képernyőn a ☰ gomb mögé csukódik */
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-toggle { display: none; place-items: center; width: 40px; height: 36px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 18px; line-height: 1; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px clamp(16px, 4vw, 48px) 12px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px -16px rgba(80, 40, 10, .35); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 16px !important; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav nav { gap: 10px; }
}

/* Sablonok sáv a főoldalon */
.tpl-strip { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 28px; align-items: center; margin-top: 28px; padding: 24px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.tpl-strip .tpl-img { grid-row: span 2; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.tpl-strip .tpl-img img { width: 100%; height: auto; transition: transform .3s; }
.tpl-strip .tpl-img:hover img { transform: scale(1.02); }
.tpl-strip ul { align-self: start; }
.tpl-strip h3 { margin: 0 0 6px; font-size: 20px; }
.tpl-strip p { margin: 0; color: var(--muted); font-size: 15px; }
.tpl-strip code { font: 13px var(--mono); background: var(--bg2); padding: 1px 5px; border-radius: 4px; }
.tpl-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-strip li { background: var(--soft); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; }
@media (max-width: 800px) { .tpl-strip { grid-template-columns: 1fr; } }
.tpl-strip .tpl-links { margin-top: 10px; font-weight: 600; }

/* Sablongaléria (templates/): minden sablon egy mini kijelző a saját diáival */
.gallery-how { color: var(--muted); font-size: 15px; max-width: 46em; margin: -18px 0 28px; }
.gallery-how b { color: var(--text); font-weight: 600; }
.gallery-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gallery-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.gallery-cats button { border: 1px solid transparent; background: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
.gallery-cats button:hover { color: var(--text); border-color: var(--border); }
.gallery-cats button[aria-pressed="true"] { background: var(--soft); color: var(--text); border-color: var(--border-strong); }
.gallery-cats small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.gallery-search { width: min(260px, 100%); border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 15px; color: var(--text); }
.gallery-status { color: var(--muted); margin: 32px 0; }
.gallery-status:empty { display: none; }
.templates-page :focus-visible { outline: 3px solid var(--primary-strong); outline-offset: 3px; }

.wall { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.wall .tpl { display: flex; flex-direction: column; min-width: 0; }
.wall .g-tv { --accent: #f08a4b; --bezel: #241811; --screen: #31221a; }
.wall .bezel { background: var(--bezel); border-radius: 12px; padding: 7px; box-shadow: 0 18px 30px -18px rgba(60, 30, 10, .55); }
.wall .screen { aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; position: relative; background: var(--screen); color: #f6ece4; container-type: size; }
.wall .stand { width: 14%; height: 12px; margin: 0 auto; background: linear-gradient(var(--bezel), #3a2a20); }
.wall .foot-bar { width: 34%; height: 6px; margin: 0 auto; border-radius: 6px; background: var(--bezel); }
/* a mini diák méretei a kijelző szélességéhez (cqw) igazodnak, így a zónákban is arányosak */
.wall .slide { position: absolute; inset: 0; padding: 6cqw 7cqw; display: flex; flex-direction: column; justify-content: center; gap: 1.6cqw; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--screen)), var(--screen) 70%); }
.wall .slide.center { align-items: center; text-align: center; }
.wall .k { font-size: 3.4cqw; font-weight: 700; color: var(--accent); line-height: 1.1; }
.wall .h { font-size: 7.4cqw; font-weight: 900; line-height: 1.02; letter-spacing: -.02em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wall .b { font-size: 3.2cqw; line-height: 1.35; opacity: .75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wall .tiles { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 2cqw; margin-top: 1.5cqw; }
.wall .tiles div { background: rgba(255, 255, 255, .08); border-radius: 1.6cqw; padding: 2.4cqw; font-size: 3cqw; font-weight: 700; line-height: 1.2; overflow: hidden; }
.wall .tiles i { display: block; font-style: normal; font-size: 5.4cqw; margin-bottom: 1cqw; }
.wall .big { font-size: 19cqw; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.wall .rows { display: grid; gap: 1.8cqw; margin-top: 1cqw; }
.wall .rows div { display: flex; gap: 3cqw; align-items: center; font-size: 3.2cqw; }
.wall .rows div b { color: var(--accent); font-variant-numeric: tabular-nums; }
.wall .rows div span { height: 2.4cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .14); flex: 1; }
.wall .g-digits { display: flex; gap: 2cqw; }
.wall .g-digits b { font-size: 13cqw; font-weight: 800; background: rgba(255, 255, 255, .08); border-radius: 2cqw; padding: 1cqw 2.4cqw; font-variant-numeric: tabular-nums; }
.wall .qr { flex-direction: row; align-items: center; gap: 6cqw; }
.wall .qr svg { width: 34cqw; flex: none; background: #fff; border-radius: 2cqw; padding: 2cqw; }
.wall .g-field { height: 6cqw; border-radius: 1.4cqw; background: rgba(255, 255, 255, .1); }
.wall .send { align-self: flex-start; background: var(--accent); color: var(--screen); font-weight: 800; font-size: 3.2cqw; padding: 1.4cqw 4cqw; border-radius: 4cqw; }
.wall .icon { font-size: 14cqw; line-height: 1; }
.wall .zones { position: absolute; inset: 0; display: grid; gap: 1.4cqw; padding: 1.4cqw; background: #1b120c; }
.wall .zones > div { position: relative; overflow: hidden; border-radius: 1cqw; container-type: size; }
.wall .dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin: 10px 0 0; }
.wall .dots button { width: 24px; height: 24px; border: 0; padding: 0; background: none; display: grid; place-items: center; border-radius: 50%; }
.wall .dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); transition: background .2s, transform .2s; }
.wall .dots button[aria-current="true"]::before { background: var(--primary-strong); transform: scale(1.3); }
.wall .info { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wall .info h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; }
.wall .desc { margin: 0; color: #5a4334; font-size: 15px; }
.wall .facts { margin: 0; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.wall .langs { display: inline-flex; gap: 4px; }
.wall .langs abbr { text-decoration: none; background: var(--soft); border: 1px solid transparent; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; line-height: 18px; color: var(--primary-strong); }
.wall .langs abbr.off { background: none; border: 1px dashed var(--border-strong); color: var(--muted); }
.wall .actions { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 8px; }
.wall .actions .btn { padding: 8px 18px; font-size: 15px; }
.wall .actions small { color: var(--muted); font-size: 13px; }
.gallery-share { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(64px, 9vw, 120px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--border); }
.gallery-share .section-lead { margin-bottom: 22px; }
.gallery-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; align-content: center; }
.gallery-steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
.gallery-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--primary-strong); font-weight: 800; display: grid; place-items: center; }
.gallery-steps b { font-size: 17px; }
.gallery-steps span { color: var(--muted); font-size: 15px; }
.gallery-steps span b { font-size: inherit; color: var(--text); font-weight: 600; }
.gallery-steps code { font: 13px var(--mono); background: var(--soft); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 760px) {
  .gallery-share { grid-template-columns: minmax(0, 1fr); }
  .gallery-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .wall .dots button::before { transition: none; } }

/* Funkciók: tartalomtípusok csoportonként, valódi kijelzőképpel tévékeretben */
.showcase { display: grid; gap: clamp(40px, 6vw, 80px); margin: 12px 0 clamp(48px, 7vw, 88px); }
.show-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.show-row.flip .show-text { order: 2; }
.show-text h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 10px; font-weight: 800; }
.show-lead { color: var(--muted); font-size: 17px; margin: 0 0 20px; max-width: 32em; }
.show-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.show-types li { display: flex; gap: 12px; align-items: flex-start; }
.show-types li > span { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-size: 20px; }
.show-types b { display: block; font-size: 15px; line-height: 1.3; }
.show-types p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.show-row:last-child .show-types { grid-template-columns: minmax(0, 1fr); }
.show-tv { display: block; position: relative; padding-bottom: 26px; }
.show-bezel { display: block; background: #241811; border-radius: 14px; padding: 8px; box-shadow: 0 30px 50px -28px rgba(80, 40, 10, .55); }
.show-bezel img { display: block; width: 100%; height: auto; border-radius: 6px; transition: filter .2s; }
.show-tv:hover .show-bezel img { filter: brightness(1.08); }
.show-tv::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 12%; height: 20px; transform: translateX(-50%); background: linear-gradient(#241811, #3a2a20); }
.show-tv::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 32%; height: 7px; transform: translateX(-50%); border-radius: 7px; background: #241811; }
.perk-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.perk-shots article { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; padding-bottom: 18px; }
.perk-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg2); }
/* nagyítva, az admin oldalsáv nélkül: a tartalmi rész bal felső sarka látszik */
.perk-img img { width: 175%; max-width: none; height: auto; margin-left: -27%; transform-origin: 0 0; transition: transform .3s; }
.perk-img:hover img { transform: scale(1.04); }
.perk-shots h3 { margin: 16px 20px 4px; font-size: 16px; }
.perk-shots p { margin: 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.perks { margin-top: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
@media (max-width: 860px) {
  .show-row, .tpl-strip { grid-template-columns: minmax(0, 1fr); }
  .show-row.flip .show-text { order: 0; }
  .show-tv { order: -1; }
  .tpl-strip .tpl-img { grid-row: auto; }
}
@media (max-width: 520px) { .show-types { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .perk-img img, .tpl-strip .tpl-img img, .show-bezel img { transition: none; } }

/* Dokumentáció: képernyőképek */
.doc .shot { margin: 14px 0 22px; }
.doc .shot a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 14px 30px -22px rgba(80, 40, 10, .5); }
.doc .shot img { display: block; width: 100%; height: auto; }
.doc .shot figcaption { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.doc .shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .doc .shot-pair { grid-template-columns: minmax(0, 1fr); } }

.pi-note { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--soft); color: #5a4334; font-size: 15px; }

/* Platformok a hero alatt: kis egyszínű ikonok */
.platforms { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--soft); color: #5a4334; font-size: 13.5px; font-weight: 600; }
.platforms svg { width: 16px; height: 16px; flex: none; color: var(--primary); }
/* Windows letöltés a telepítés szakaszban */
.win-note { display: flex; align-items: center; gap: 16px; margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line, #f0dccb); background: #fff; }
.win-note > svg { width: 30px; height: 30px; flex: none; color: var(--primary); }
.win-note > div { flex: 1; color: #5a4334; font-size: 15px; }
@media (max-width: 640px) { .win-note { flex-wrap: wrap; } .win-note .btn { width: 100%; text-align: center; } }
/* Dokumentáció: támogatott platformok kis ikonokkal */
.platform-table img.pf { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; }
.platform-table td:nth-child(2), .platform-table td:nth-child(3) { white-space: nowrap; }
.theme-mode { display: flex; gap: 6px; margin-bottom: 8px; }
.theme-mode .mini.on { border-color: var(--primary-strong); box-shadow: 0 0 0 2px var(--soft); }
