/* ==========================================================
   civishosting.eu – stíluslap
   ========================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #131c2e;
  --ink-3: #1d2840;
  --text: #1a2233;
  --text-soft: #4a5568;
  --muted: #8a94a8;
  --line: #e3e7ee;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #eaf1ff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 24px rgba(11,18,32,.06);
  --shadow-lg: 0 2px 4px rgba(11,18,32,.04), 0 20px 48px rgba(11,18,32,.10);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.soft { color: var(--text-soft); }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip:focus { left: 8px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .95rem/1 var(--font);
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--accent); color: #fff; cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent-strong); text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn-small { padding: 9px 16px; font-size: .875rem; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; border-color: var(--accent); color: var(--accent-strong); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: var(--surface); border-color: var(--ink); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.brand-mark .led { fill: var(--accent); stroke: none; }
.brand-text { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; color: var(--text-soft); }
.brand-text strong { color: var(--ink); font-weight: 800; }
.brand-text span { color: var(--accent); font-weight: 700; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .sub-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  color: var(--text-soft); font: 600 .93rem/1 var(--font);
  background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .sub-toggle:hover { color: var(--ink); background: var(--bg); text-decoration: none; }
.main-nav .active > a, .main-nav .active > .sub-toggle { color: var(--accent-strong); }
.main-nav .active > a::after, .main-nav .active > .sub-toggle::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 2px;
}
.sub-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.sub a { color: var(--text); padding: 11px 14px; }
.sub a:hover { background: var(--bg); color: var(--ink); }
.sub a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; }
.main-nav .nav-cta a.btn { padding: 9px 16px; border-radius: 999px; }
.main-nav .nav-cta a.btn:hover { background: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.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); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 72px 0 0 0; background: #fff;
    padding: 16px 20px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .sub-toggle { font-size: 1.1rem; padding: 16px 12px; width: 100%; justify-content: space-between; }
  .sub { position: static; box-shadow: none; background: var(--bg); border: 0; opacity: 1; visibility: visible; transform: none; display: none; margin: 0 0 6px; }
  .has-sub.open .sub { display: block; }
  .sub a { color: var(--text-soft); }
  .sub a:hover { background: #fff; color: var(--ink); }
  .nav-cta { margin: 16px 0 0; }
  .main-nav .nav-cta a.btn { justify-content: center; padding: 14px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #e9f0ff 0%, #f3f7ff 60%, var(--bg) 100%); color: var(--text-soft);
  padding: 96px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(37,99,235,.22), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--ink); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.15rem; max-width: 34em; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 .8rem/1 var(--mono); letter-spacing: .04em;
  color: var(--accent); background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.25);
  padding: 8px 12px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(37,99,235,0); } }

/* Terminál-kártya a hero jobb oldalán */
.terminal {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); box-shadow: 0 30px 60px rgba(29,78,216,.22);
  font: 400 .88rem/1.8 var(--mono); color: #9aa6bb; overflow: hidden;
}
.terminal-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.terminal-body { padding: 18px 20px 22px; }
.terminal-body .p { color: var(--accent); }
.terminal-body .ok { color: #7ee2a8; }
.terminal-body .w { color: #fff; }
.cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--accent); vertical-align: -3px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Belső oldalak fejléce */
.page-hero { background: linear-gradient(180deg, #e9f0ff 0%, var(--bg) 100%); color: var(--text-soft); border-bottom: 1px solid var(--line); padding: 64px 0 72px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -260px;
  background: radial-gradient(circle, rgba(37,99,235,.18), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ink); margin-bottom: .3em; }
.page-hero p { font-size: 1.1rem; max-width: 40em; margin: 0; }
.crumbs { font: 500 .8rem/1 var(--mono); color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--accent-strong); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- Szekciók ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }
.kicker { font: 500 .78rem/1 var(--mono); color: var(--accent-strong); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; display: block; }

.lift { margin-top: -64px; position: relative; z-index: 2; }

/* Kártyák */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.cards-2 { grid-template-columns: 1fr 1fr; max-width: none; }
.cards-2 .card { padding: 24px; }
.cards-2 .card p { margin: 0; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
a.card { color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd6e2; text-decoration: none; }
.card p { color: var(--text-soft); flex: 1; }
.card .more { font-weight: 700; color: var(--accent-strong); display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.card .more::after { content: "→"; transition: transform .2s; }
a.card:hover .more::after { transform: translateX(4px); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 20px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Számok */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: 28px 24px; }
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--text-soft); font-size: .92rem; }

/* Két oszlop */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--text-soft); }
.lead { font-size: 1.2rem; color: var(--text); line-height: 1.6; }

/* Pipás lista */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; color: var(--text); font-weight: 600;
}
.checks li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Árazás ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative;
}
.plan.featured { background: linear-gradient(160deg, #2563eb, #1e40af); color: #dbe6ff; border-color: #1d4ed8; box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan .badge {
  position: absolute; top: -12px; left: 28px;
  font: 700 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 7px 10px; border-radius: 6px;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 2px; }
.plan .code { font: 500 .8rem/1 var(--mono); color: var(--muted); }
.price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-note { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.plan-key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.plan-key div { background: var(--bg); border-radius: 10px; padding: 12px 10px; text-align: center; }
.plan.featured .plan-key div { background: rgba(255,255,255,.12); }
.plan.featured .code, .plan.featured .price span, .plan.featured .price-note, .plan.featured .plan-key span { color: #bcd0ff; }
.plan.featured .btn { background: #fff; color: var(--accent-strong); }
.plan.featured .btn:hover { background: #eaf1ff; }
.plan.featured .badge { background: #fff; color: var(--accent-strong); }
.plan-key b { display: block; white-space: nowrap; font-size: .98rem; color: var(--ink); font-weight: 800; }
.plan.featured .plan-key b { color: #fff; }
.plan-key span { font-size: .75rem; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.plan.featured li { border-color: rgba(255,255,255,.2); }
.plan li span:last-child { font-weight: 700; color: var(--ink); text-align: right; }
.plan.featured li span:last-child { color: #fff; }
.plan .btn { justify-content: center; }
.plan:not(.featured) .btn { background: var(--accent); }
.plan:not(.featured) .btn:hover { background: var(--accent-strong); }

.included { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.included h3 { margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--text); }
.footnotes { margin-top: 24px; font-size: .88rem; color: var(--text-soft); }
.footnotes p { margin: 0 0 4px; }

/* Összehasonlító táblázat */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font: 600 .75rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fafbfc; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbfc; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tld { font: 600 1rem/1 var(--mono); color: var(--ink); }
.tld::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.compare td:first-child { font-weight: 600; color: var(--text); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }

/* Domain kereső-hangulatú doboz */
.domain-box {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 18px 22px; font: 500 1.05rem/1.4 var(--mono); color: var(--muted); max-width: 560px; margin-top: 28px;
}
.domain-box b { color: var(--ink); font-weight: 500; }
.domain-box i { font-style: normal; color: var(--accent); }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); color: inherit;
}
a.contact-card:hover { text-decoration: none; border-color: var(--accent); }
.contact-card .icon { margin: 0; flex: 0 0 48px; }
.contact-card small { display: block; font: 500 .75rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.contact-card strong { font-size: 1.1rem; color: var(--ink); word-break: break-word; }
.company { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; box-shadow: var(--shadow); }
.company dl { margin: 0; }
.company div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company div:last-child { border: 0; }
.company dt { color: var(--muted); }
.company dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* CTA sáv */
.cta {
  background: linear-gradient(135deg, #2563eb, #1e40af); border-radius: 22px; padding: 56px; color: #dbe6ff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -100px; bottom: -240px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta .btn { background: #fff; color: var(--accent-strong); }
.cta .btn:hover { background: #eaf1ff; }
.cta .btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Jogi szöveg ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc h4 { font: 600 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-soft); line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--ink); border-color: var(--accent); text-decoration: none; }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 48px 56px; box-shadow: var(--shadow); }
.legal section { scroll-margin-top: 96px; padding-bottom: 12px; }
.legal section + section { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 20px; }
.legal h2 { font-size: 1.35rem; display: flex; gap: 12px; align-items: baseline; }
.legal h2 .n { font: 600 .95rem/1 var(--mono); color: var(--accent-strong); }
.legal h3 { font-size: 1.02rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--text-soft); font-size: .97rem; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .55em; }
.legal li::marker { color: var(--accent); }
.legal ul.cols { columns: 2; column-gap: 32px; }
.legal ul.cols li { break-inside: avoid; }
.legal .note { background: var(--accent-soft); border-radius: 10px; padding: 16px 20px; color: var(--ink); font-weight: 600; }
.legal table { font-size: .9rem; }
.legal td, .legal th { white-space: normal; vertical-align: top; }
.legal .table-wrap { box-shadow: none; margin-bottom: 1.2em; }
.legal-meta { font: 500 .85rem/1.5 var(--mono); color: var(--muted); margin-top: 24px; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--ink); color: #9aa6bb; padding: 72px 0 0; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: .78rem; font-family: var(--mono); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.site-footer a { color: #c3cbda; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; padding-bottom: 28px; font-size: .85rem; color: var(--muted);
}

/* ---------- Süti sáv ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow-lg); font-size: .88rem; color: var(--text-soft);
  animation: up .35s ease-out;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie .btn { flex-shrink: 0; }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Animáció ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reszponzív ---------- */
@media (max-width: 1000px) {
  .hero .container, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 104px; }
  .terminal { max-width: 520px; }
  .pricing, .cards { grid-template-columns: 1fr; max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { columns: 2; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .checks, .contact-grid, .cards.cards-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal { padding: 28px 22px; }
  .legal ul.cols { columns: 1; }
  .toc ol { columns: 1; }
  .cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .company div { flex-direction: column; gap: 2px; }
  .company dd { text-align: left; }
  th, td { padding: 12px 14px; }
}

/* Rácselemek ne nyúljanak túl a képernyőn (széles táblázatok, hosszú szavak) */
.legal-layout > *, .split > *, .hero .container > *, .footer-grid > * { min-width: 0; }
.legal td, .legal p, .legal li { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .legal table thead { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal tr:last-child { border-bottom: 0; }
  .legal td { border: 0; padding: 4px 16px; }
}

/* Lábléc logó a sötét háttéren */
.site-footer .brand-text { color: #9aa6bb; }
.site-footer .brand-text strong { color: #fff; }

@media (max-width: 1000px) {
  .pricing, .cards:not(.cards-2) { margin-left: auto; margin-right: auto; }
}
@media (max-width: 920px) {
  /* a backdrop-filter miatt a lenyíló menü a fejlécbe szorulna */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* Süti sáv gombjai */
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn { justify-content: center; }
@media (max-width: 640px) { .cookie-actions .btn { flex: 1; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #c3cbda; cursor: pointer; }
.linkbtn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Kezdőlap: név + szlogen */
.hero h1.hero-brand { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .15em; letter-spacing: -.035em; }
.hero-tagline { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 600; font-style: italic; color: var(--accent-strong); margin-bottom: 1.1em; }
