/* Botfogó weboldal. Sötét alap, zöld akcentus (a dashboard színei). */
:root {
  --bg: #0f1115;
  --bg-2: #13161c;
  --panel: #171a21;
  --panel-2: #1e222b;
  --line: #2a2f3a;
  --text: #e6e8ec;
  --muted: #a3aab6;
  --accent: #3ddc97;
  --accent-ink: #062517;
  --accent-soft: rgba(61, 220, 151, .12);
  --accent-line: rgba(61, 220, 151, .35);
  --warn: #f5a623;
  --danger: #ff5c5c;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .9em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #5be6aa; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .95rem; }

/* Fejléc */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 21, .86); backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; color: var(--text); text-decoration: none; }
.brand b { color: var(--accent); font-weight: 800; }
.brand img { height: 36px; width: auto; display: block; }
.site-footer .brand img { height: 32px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: .95rem; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--text); background: var(--panel); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle svg { margin: auto; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav .btn { margin: 16px 0 0; }
  .header-cta { margin-left: auto; }
  .menu-toggle { margin-left: 8px; }
}
@media (min-width: 861px) { .header-cta { display: none; } }

/* Szekciók */
section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* Hero */
.hero { position: relative; padding: 80px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 340px at 85% 20%, rgba(61, 220, 151, .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 44px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--accent); display: block; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero-visual { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-visual figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* Kártyák */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }
.icon.warn { background: rgba(245, 166, 35, .12); color: var(--warn); }
.note { margin-top: 28px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); }

/* Lépések */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; }
.steps .card { height: 100%; }
.step-num { font: 800 .85rem/1 var(--mono); color: var(--accent); letter-spacing: .08em; margin-bottom: 14px; display: block; }
.snippet {
  margin-top: 32px; background: #0a0c10; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; font: .9rem/1.6 var(--mono); color: var(--muted); white-space: nowrap;
}
.snippet .t { color: #7cc4ff; } .snippet .a { color: var(--accent); } .snippet .s { color: #e6c07b; }
.snippet-label { font-size: .85rem; color: var(--muted); margin: 32px 0 8px; }
.snippet-label + .snippet { margin-top: 0; }

/* Jelek */
.signals .card h3 { display: flex; align-items: center; gap: 10px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.ticks.good li::before { background: var(--accent); }
.card.good { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(61, 220, 151, .07), var(--panel) 60%); }

/* Célcsoport */
.audience .card { padding: 32px; }
.audience h3 { font-size: 1.35rem; }

/* Biztonság */
.feature { display: flex; gap: 16px; }
.feature .icon { flex: none; margin: 0; }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); }

/* GYIK */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Űrlap */
.contact .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; gap: 28px; } }
.contact-side .ticks li::before { background: var(--accent); }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
@media (max-width: 640px) { .form { padding: 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 1rem/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-msg { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-msg:empty { display: none; }
.form-msg.ok { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text); }
.form-msg.error { background: rgba(255, 92, 92, .1); border: 1px solid rgba(255, 92, 92, .4); color: var(--text); }

/* Lábléc */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Jogi és egyszerű oldalak */
.page { padding: 56px 0 88px; }
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #c9ced6; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--panel); color: var(--text); }
.table-wrap { overflow-x: auto; }
.updated { color: var(--muted); font-size: .9rem; }
.todo { background: rgba(245, 166, 35, .15); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* Süti-sáv */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); font-size: .95rem; color: var(--muted);
}
.consent p { margin: 0 0 14px; }
.consent strong { color: var(--text); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { flex: 1 1 160px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-align: left; }
.linklike:hover { color: var(--accent); }
