/* ========================================================
   Flowbit – shared stylesheet
   Synth: ui-ux-pro-max (Fira Code+Sans pairing #42)
         + Emil Kowalski (animation principles)
         + Impeccable (token system, spacing, radius)
         + Taste Skill (Real-Time Operations Landing)
   ======================================================== */

/* ---------- View Transitions ---------- */
@view-transition { navigation: auto; }
@keyframes fb-fade-in  { from { opacity: 0; transform: translateY(12px) scale(.997) } to { opacity: 1; transform: none } }
@keyframes fb-fade-out { from { opacity: 1; transform: none } to { opacity: 0; transform: translateY(-8px) scale(.997) } }
::view-transition-old(root) { animation: fb-fade-out .3s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: fb-fade-in  .4s cubic-bezier(.23,1,.32,1) both; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),::view-transition-new(root) { animation: none; }
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --lime:       #c8ff4d;
  --lime-dim:   rgba(200,255,77,.55);
  --cyan:       #27e0d8;
  --blue:       #4d7cff;
  --violet:     #a76bff;
  --red:        #ff6b8a;

  /* Surfaces */
  --bg:         #04060d;
  --bg-2:       #070a14;
  --panel:      rgba(13,18,33,.72);
  --panel-hi:   rgba(17,24,44,.85);

  /* Lines */
  --line:       rgba(120,210,255,.09);
  --line-2:     rgba(120,210,255,.2);
  --line-lime:  rgba(200,255,77,.22);

  /* Text */
  --ink:        #f0f5ff;
  --ink-soft:   #c4cde6;
  --ink-dim:    #7a85a3; /* WCAG 4.5:1+ a sötét háttéren */

  /* Spacing (Impeccable-inspired) */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  32px;
  --sp-xl:  48px;
  --sp-2xl: 80px;
  --sp-3xl: 112px;

  /* Radius (tighter = more data/precise feel) */
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Easing (Emil Kowalski) */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Shadows */
  --shadow-card:  0 2px 4px rgba(0,0,0,.4), 0 16px 40px -12px rgba(0,0,0,.7);
  --shadow-lime:  0 0 0 1px rgba(200,255,77,.14), 0 8px 20px -10px rgba(200,255,77,.16);
  --shadow-hover: 0 12px 28px -10px rgba(0,0,0,.75);
  /* Brand hover glows — egységes interakciós nyelv (gombokkal összhangban) */
  --glow-cyan: 0 0 0 1px rgba(120,210,255,.1), 0 10px 24px -12px rgba(0,0,0,.75), 0 0 18px -6px rgba(39,224,216,.16);
  --glow-lime: 0 0 0 1px rgba(200,255,77,.14), 0 10px 24px -12px rgba(0,0,0,.75), 0 0 20px -6px rgba(200,255,77,.18);

  --maxw: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  max-width: 100%; overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--lime); color: #04060d; }
a { color: inherit; text-decoration: none; }
a, button, summary, input, select, textarea { touch-action: manipulation; }
:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }
.mono { font-family: 'Fira Code', monospace; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Background layers ---------- */
#net { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .78; }

.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 88% 62% at 50% 0%, transparent 26%, rgba(4,6,13,.78) 100%),
    radial-gradient(ellipse 110% 72% at 50% 130%, rgba(4,6,13,.94), transparent 55%);
}

.scanline { display: none; }

/* Noise grain (premium texture) */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Navigation ---------- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .3s, border-color .3s; }
header.scrolled {
  background: rgba(4,6,13,.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo {
  display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 21px; letter-spacing: -.045em;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: lowercase;
}
.logo .b { color: var(--cyan); }
.logo-text { display: inline-flex; align-items: baseline; }
.logo-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); margin-left: 3px;
  box-shadow: 0 0 6px rgba(200,255,77,0.55);
  vertical-align: text-bottom; position: relative; top: 1px;
  animation: logo-dot-pulse 2.6s ease-in-out infinite;
}
@keyframes logo-dot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px rgba(200,255,77,.55); }
  50% { transform: scale(1.3); box-shadow: 0 0 14px rgba(200,255,77,.95); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-dot { animation: none; }
}

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
  transition: color .18s; position: relative; letter-spacing: .01em;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--ink); }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px;
    width: 0; height: 1.5px; background: var(--lime);
    transition: width .24s var(--ease-out);
  }
  .nav-links a:hover::after { width: 100%; }
}


.nav-cta { display: flex; gap: 12px; align-items: center; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; background: none; border: none; }
.burger span { width: 22px; height: 2px; background: var(--ink); transition: .28s var(--ease-out); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-weight: 600; font-size: 14.5px; cursor: pointer;
  border: none; font-family: inherit; letter-spacing: .01em;
  /* Emil: specify exact properties */
  transition:
    transform .16s var(--ease-out),
    box-shadow .22s var(--ease-out),
    background .18s,
    opacity .18s;
  position: relative; overflow: hidden;
  /* Minimum 44px touch target */
  min-height: 44px;
}
/* Emil: buttons must feel responsive */
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(150deg, #d8ff6e 0%, var(--lime) 46%, #aef03a 100%);
  color: #04060d;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 18px -12px rgba(200,255,77,.4);
}

/* Shimmer — only on pointer/hover capable devices */
@media (hover: hover) and (pointer: fine) {
  .btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,.5) 50%, transparent 72%);
    transform: translateX(-120%);
    transition: transform .55s var(--ease-out);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
      0 1px 0 rgba(255,255,255,.35) inset,
      0 0 0 1px rgba(200,255,77,.18),
      0 8px 20px -10px rgba(200,255,77,.3);
  }
  .btn-primary:hover::after { transform: translateX(120%); }
  .btn-primary:active {
    transform: scale(0.97);
    filter: brightness(.98);
    box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 2px 8px -6px rgba(200,255,77,.4);
  }
}

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(120,210,255,.16) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .55s var(--ease-out);
  }
  .btn-ghost:hover {
    background: rgba(120,210,255,.08);
    border-color: rgba(120,210,255,.42);
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(120,210,255,.12), 0 8px 22px -12px rgba(120,210,255,.4);
  }
  .btn-ghost:hover::after { transform: translateX(120%); }
  .btn-ghost:active { transform: scale(0.97); box-shadow: none; }
}

/* ---------- Reveal animations (Emil: scale(0.97) not scale(0)) ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(20px) scale(0.99); }
.reveal {
  transition:
    opacity .82s var(--ease-out),
    transform .82s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; }
/* LCP-fix: a hero-tartalom SOHA ne legyen rejtve (sem a .js pillanatnyi elrejtés,
   sem a GSAP miatt). Azonos specificitás mint a .js .reveal:not(.in), de később jön
   → felülírja. A belépő mozgást a GSAP/CSS csak transformmal adja (lásd flowbit-scroll.js).
   A transform marad GSAP-vezérelt (inline), ezt nem írjuk felül. */
.js .hero .reveal { opacity: 1; }
/* Desktop: GSAP owns all animations — disable CSS transitions on reveal els */
.gsap-active .reveal { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.in) { opacity: 1; transform: none; } }
/* Emil: 50ms stagger */
.d1 { transition-delay: .05s; }
.d2 { transition-delay: .10s; }
.d3 { transition-delay: .15s; }
.d4 { transition-delay: .20s; }

/* ---------- Ticker ---------- */
/* ── Mini KPI bar (mobile sticky) ──────────────────────── */
.mini-kpi{position:fixed;top:0;left:0;right:0;z-index:59;display:none;justify-content:space-around;align-items:center;padding:8px 12px;font-family:'Fira Code',monospace;font-size:11.5px;color:var(--ink-dim);background:rgba(7,10,20,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);transform:translateY(-110%);transition:transform .35s var(--ease-out)}
.mini-kpi b{color:var(--ink);font-weight:600;margin-left:5px}
.mini-kpi b.lime{color:var(--lime)}
@media (max-width:760px){.mini-kpi{display:flex}}

/* ── Live data feed strip ───────────────────────────────── */
.data-feed {
  position: relative; z-index: 2;
  font-family: 'Fira Code', monospace; font-size: 12.5px;
  color: var(--ink-dim); padding: 10px 0; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(7,10,20,.4);
}
.data-feed .hl { color: var(--lime); }
.data-feed .cy { color: var(--cyan); }
#feedLine { transition: opacity .3s ease; }

.ticker {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: var(--sp-xl); padding: 14px 0; overflow: hidden;
  background: rgba(7,10,20,.45);
  /* A görgő-animáció layout/paint izolálása: a folyamatosan mozgó track
     nem okozhat layout shiftet (CLS) a DOM többi részén. */
  contain: layout paint;
  min-height: 48px;
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none;
}
.ticker::before { left:  0; background: linear-gradient(90deg,  rgba(4,6,13,1), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, rgba(4,6,13,1), transparent); }

.ticker-track {
  display: flex; align-items: center; white-space: nowrap;
  width: max-content; will-change: transform;
  animation: scrollx 32s linear infinite;
}
.ticker-track .tk {
  font-family: 'Fira Code', monospace; font-size: 12.5px; color: var(--ink-dim);
  display: flex; align-items: center;
}
.ticker-track .tk::after { content: '◆'; color: var(--lime); font-size: 7px; margin: 0 24px; opacity: .65; }
@keyframes scrollx {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .nav-status::before, .nav-status::after { animation: none; }
}

/* ── Typewriter caret ───────────────────────────────────── */
.type-caret {
  display: inline-block; width: 2px; height: 1em;
  background: var(--lime); margin-left: 2px; vertical-align: text-bottom;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-caret { animation: none; } }

/* ── Data rain divider (matrix) ─────────────────────────── */
.data-rain {
  position: relative; height: 160px; overflow: hidden; opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}
.data-rain canvas { width: 100%; height: 100%; display: block; }

/* ---------- Sections ---------- */
section.block { position: relative; z-index: 2; padding: var(--sp-3xl) 0; }

/* Kicker (Impeccable: 0.18em letter-spacing) */
.kicker {
  font-family: 'Fira Code', monospace;
  font-size: 11px; color: var(--ink-dim);
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: var(--sp-sm); display: flex; align-items: center; gap: 8px;
}
.kicker::before { content: '//'; color: var(--lime); letter-spacing: -.02em; }

.sec-head { max-width: 680px; margin-bottom: var(--sp-xl); }
.sec-head.center { margin: 0 auto var(--sp-xl); text-align: left; }
.sec-head.center .kicker { justify-content: flex-start; }

h2 {
  font-size: clamp(28px, 4vw, 46px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1.04; margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif; text-wrap: balance;
}
h2 em { font-style: normal; color: var(--lime); }
.sec-head p { color: var(--ink-soft); font-size: 17px; line-height: 1.72; max-width: 64ch; }
/* Vizuálisan h2-vel azonos, de nem címsor-szemantikájú bekezdés (SEO: kevesebb <h2>).
   p.h2-visual = magasabb specificitás, mint a .sec-head p, így az felülíródik. */
p.h2-visual {
  font-size: clamp(28px, 4vw, 46px); font-weight: 700; color: var(--ink);
  letter-spacing: -.04em; line-height: 1.04; margin-bottom: 18px; max-width: none;
  font-family: 'Space Grotesk', sans-serif; text-wrap: balance;
}
p.h2-visual em { font-style: normal; color: var(--lime); }
.contact-info p.h2-visual { font-size: clamp(26px, 3.5vw, 40px); }

/* ---------- Hero (index) ---------- */
.hero { position: relative; z-index: 2; padding: 154px 0 74px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }

/* Spotlight */
.hero::before {
  content: '';
  position: absolute; left: -8%; top: -4%; width: 55%; height: 75%;
  background: radial-gradient(ellipse 55% 55% at 32% 42%, rgba(200,255,77,.038), transparent 70%);
  pointer-events: none; z-index: 0;
}

.tagline {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-dim);
  font-family: 'Fira Code', monospace;
  margin-bottom: 28px; letter-spacing: .03em;
}
.tagline::before { content: '▸'; color: var(--lime); font-size: 14px; flex-shrink: 0; }
.tagline::after  { content: '_'; color: var(--cyan); animation: caretBlink 1.1s step-end infinite; }
.tagline .live   { display: none; }
@media (prefers-reduced-motion: reduce) { .tagline::after { animation: none; } }

h1.htitle {
  font-size: clamp(40px, 5.8vw, 76px); font-weight: 700;
  line-height: .97; letter-spacing: -.04em; margin-bottom: 26px;
  font-family: 'Space Grotesk', sans-serif; text-wrap: balance;
}
h1.htitle em { font-style: normal; color: var(--lime); white-space: nowrap; }

.hsub {
  font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink);
  max-width: 510px; margin-bottom: 34px; line-height: 1.72;
}
.hsub b { color: var(--ink); font-weight: 600; }

.hcta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hcta-note{font-size:13px;color:var(--ink-dim);margin-top:10px;font-family:'Fira Code',monospace}

.htrust {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-dim);
  font-family: 'Fira Code', monospace; letter-spacing: .02em;
}
.htrust span { display: flex; align-items: center; gap: 7px; }
.htrust .tick { color: var(--lime); }

/* ---------- Dashboard mockup ---------- */
.dash {
  position: relative;
  background: linear-gradient(155deg, rgba(14,20,38,.92), rgba(7,10,20,.92));
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.dash::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,255,77,.35) 50%, transparent 100%);
  opacity: 1;
}

.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-title {
  font-size: 11.5px; font-family: 'Fira Code', monospace;
  color: var(--ink-soft); display: flex; align-items: center; gap: 9px; letter-spacing: .04em;
}
.dash-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
}
.dash-live {
  font-size: 10px; font-family: 'Fira Code', monospace; color: var(--lime);
  border: 1px solid rgba(200,255,77,.3); border-radius: 4px; padding: 3px 8px;
  letter-spacing: .06em;
}

.kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.kpi {
  background: rgba(120,210,255,.03);
  border: 1px solid var(--line); border-radius: var(--r); padding: 12px;
}
.kpi .lab {
  font-size: 9.5px; color: var(--ink-dim);
  font-family: 'Fira Code', monospace;
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em;
}
.kpi .val { font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1; font-family: 'Space Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.kpi .val small { font-size: 13px; color: var(--ink-soft); }
/* CLS-fix: a felpörgő számláló-számok (0→42.8 stb.) fix szélességet kapnak,
   hogy a növekvő szám ne tolja el a mellette lévő "M Ft"/"%" szöveget (layout shift). */
.kpi .val #k1, .kpi .val #k3 { display: inline-block; min-width: 3.6ch; text-align: left; font-variant-numeric: tabular-nums; }
.kpi .val#k2 { display: inline-block; min-width: 4ch; text-align: left; }
.kpi .delta { font-size: 10px; font-family: 'Fira Code', monospace; margin-top: 5px; }
.kpi .delta.up { color: var(--lime); }

.chartbox {
  background: rgba(120,210,255,.025);
  border: 1px solid var(--line); border-radius: var(--r); padding: 13px 13px 8px;
}
.chartbox .ct { font-size: 10px; color: var(--ink-dim); font-family: 'Fira Code', monospace; margin-bottom: 8px; letter-spacing: .04em; }
#spark { width: 100%; height: 96px; display: block; }

#sparkDot { opacity: 0; transition: opacity .4s; }
#sparkDot.on { opacity: 1; }
#sparkDot .core { animation: dotPulse 1.8s ease-in-out infinite; }
#sparkDot .halo { animation: haloPulse 1.8s cubic-bezier(.16,1,.3,1) infinite; transform-origin: center; }
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:.55} }
@keyframes haloPulse { 0%{r:3;opacity:.5} 70%{r:11;opacity:0} 100%{r:11;opacity:0} }
#sparkLine.live { filter: drop-shadow(0 0 2px rgba(200,255,77,.4)); }
.barrow .bar.breathe { animation: barBreathe 3s ease-in-out infinite; }
@keyframes barBreathe { 0%,100%{transform:scaleY(1)} 50%{transform:scaleY(var(--bsc,1.04))} }
.barrow .bar { transform-origin: bottom; }
@media (prefers-reduced-motion: reduce) {
  #sparkDot .core, #sparkDot .halo, .barrow .bar.breathe { animation: none; }
}
.barrow { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 12px; }
.barrow .bar {
  flex: 1; height: 0;
  background: linear-gradient(180deg, var(--cyan), rgba(39,224,216,.1));
  border-radius: 3px 3px 0 0;
  transition: height .48s var(--ease-out);
}

/* ---------- Compare split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp {
  border-radius: var(--r); padding: var(--sp-lg);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  background: var(--panel); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cmp.good {
  border-color: rgba(200,255,77,.18);
  background: linear-gradient(155deg, rgba(200,255,77,.042), rgba(13,18,33,.56));
}
.cmp h3 {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px; font-family: 'Fira Code', monospace;
}
.cmp.bad h3 { color: var(--red); }
.cmp.good h3 { color: var(--lime); }
.clist { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.clist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.clist li .m {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin-top: 2px;
}
.bad  .m { background: rgba(255,107,138,.1); color: var(--red);  }
.good .m { background: rgba(200,255,77,.14); color: var(--lime); }

/* ---------- Service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media(max-width:768px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }

.svc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  will-change: transform;
  /* Emil: specify exact props */
  transition:
    transform .28s var(--ease-out),
    box-shadow .28s var(--ease-out);
}
/* Holografikus fényfolt: kurzort követő irizáló visszaverődés */
.svc::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%),
    rgba(200,255,77,.08), rgba(39,224,216,.06) 30%, rgba(167,107,255,.05) 50%, transparent 70%);
  transition: opacity .3s var(--ease-out);
}
.svc:hover::before { opacity: 1; }
/* Subtle always-on gradient border */
.svc::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--r); padding: 1px;
  background: linear-gradient(135deg, rgba(200,255,77,.13), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 1;
  transition: background .28s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .svc:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-lime);
  }
  .svc:hover::after {
    background: linear-gradient(135deg, rgba(200,255,77,.45), rgba(39,224,216,.14) 60%, transparent);
  }
}

.svc .num {
  font-family: 'Fira Code', monospace; font-size: 10.5px;
  color: var(--ink-dim); margin-bottom: 16px; letter-spacing: .08em;
}
.svc .ic {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(200,255,77,.07);
  border: 1px solid rgba(200,255,77,.15);
  transition: background .22s, border-color .22s;
}
@media (hover: hover) and (pointer: fine) {
  .svc:hover .ic { background: rgba(200,255,77,.13); border-color: rgba(200,255,77,.3); }
}
.svc .ic svg { width: 22px; height: 22px; stroke: var(--lime); fill: none; stroke-width: 1.7; }
.svc h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.015em; }
.svc p  { font-size: 14px; color: var(--ink-soft); margin-bottom: 15px; line-height: 1.65; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.svc .tags span {
  font-size: 10.5px; padding: 3px 8px; border-radius: 5px;
  background: rgba(120,210,255,.04); color: var(--ink-dim);
  font-family: 'Fira Code', monospace; border: 1px solid var(--line);
  letter-spacing: .04em;
}

/* ---------- Portfolio grid ---------- */
/* ── Munkáink carousel ───────────────────────────────── */
.pf-carousel { position: relative; }
.pf-carousel-head { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 14px; }
.pf-nav {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(7,10,20,.6); border: 1px solid var(--line-2); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer; font-family: 'Space Grotesk', sans-serif;
  transition: border-color .22s, box-shadow .22s, transform .16s var(--ease-out), opacity .22s, background .22s;
}
.pf-nav:hover:not(:disabled) { border-color: rgba(120,210,255,.45); box-shadow: 0 8px 22px -12px rgba(120,210,255,.45); background: rgba(120,210,255,.06); }
.pf-nav:active:not(:disabled) { transform: scale(.93); }
.pf-nav:disabled { opacity: .3; cursor: default; }
.pf-track {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 14px 2px; cursor: grab;
}
.pf-track::-webkit-scrollbar { display: none; }
.pf-track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.pf-track .pf { flex: 0 0 358px; scroll-snap-align: start; min-height: 360px; }
.pf-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.pf-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(120,210,255,.22); transition: background .25s var(--ease-out), width .25s var(--ease-out);
}
.pf-dots button.active { background: var(--lime); width: 22px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .pf-track { scroll-behavior: auto; } }
.pf {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); min-height: 330px;
  display: flex; flex-direction: column; justify-content: flex-end;
  will-change: transform;
  transition: transform .28s var(--ease-out), border-color .28s, box-shadow .28s;
}
@media (hover: hover) and (pointer: fine) {
  .pf:hover {
    transform: translateY(-6px);
    border-color: rgba(120,210,255,.4);
    box-shadow: var(--glow-cyan);
  }
}
.pf-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pf-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(4,6,13,.96) 88%);
}
.pf-body { position: relative; z-index: 1; padding: 24px; }
.pf-cat { font-family: 'Fira Code', monospace; font-size: 10.5px; color: var(--lime); margin-bottom: 8px; letter-spacing: .06em; }
.pf-body h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.02em; }
.pf-body p  { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; max-width: 92%; line-height: 1.65; }
.pf-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-link { display: inline-flex; align-items: center; margin-top: 14px; font-size: 12px; font-family: 'Fira Code', monospace; color: var(--lime); opacity: .75; transition: opacity .2s; letter-spacing: .03em; }
.pf-link:hover { opacity: 1; }
.pf-tags span {
  font-size: 10.5px; padding: 3px 9px; border-radius: 999px;
  background: rgba(7,10,20,.65); border: 1px solid var(--line);
  color: var(--ink-soft); font-family: 'Fira Code', monospace;
}
.pf-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-size: 10px; font-family: 'Fira Code', monospace;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(4,6,13,.78); border: 1px solid var(--line);
  color: var(--ink-soft); backdrop-filter: blur(8px);
  letter-spacing: .04em;
}

/* Portfolio visual themes */
.v-burger { background: radial-gradient(120% 100% at 70% 15%, #2a1206, #0a0604); }
.v-burger .sun { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, #ff7a2b, #c41212 60%, transparent 72%); top: -40px; right: -30px; filter: blur(4px); opacity: .8; }
.v-burger .ring { position: absolute; border: 1px solid rgba(255,150,70,.22); border-radius: 50%; }
.v-burger .r1 { width: 260px; height: 260px; top: -70px; right: -60px; }
.v-burger .r2 { width: 360px; height: 360px; top: -120px; right: -110px; }
.v-piknik { background: radial-gradient(120% 100% at 30% 10%, #0c2e2a, #04100f); }
.v-piknik .lake { position: absolute; inset: 0; background: linear-gradient(180deg, #0e3b35, #072420 55%, #04100f); }
.v-piknik .sundot { position: absolute; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, #ffd27a, #ff9d4d 60%, transparent 73%); top: 32px; left: 38px; filter: blur(2px); box-shadow: 0 0 56px #ff9d4d; }
.v-piknik .wave { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,210,122,.22); }
.v-baba { background: radial-gradient(120% 100% at 50% 0%, #13183a, #070a18); }
.v-baba .phone { position: absolute; width: 124px; height: 240px; border-radius: 24px; border: 2px solid rgba(167,107,255,.4); background: linear-gradient(180deg, #10193a, #0a1024); top: 28px; left: 50%; transform: translateX(-50%) rotate(-7deg); box-shadow: 0 28px 64px -18px rgba(167,107,255,.4); overflow: hidden; padding: 13px 11px; }
.v-baba .bar { height: 10px; border-radius: 5px; margin-bottom: 8px; background: rgba(255,255,255,.07); }
.v-baba .bar.hl { background: linear-gradient(90deg, var(--violet), var(--blue)); }
.v-baba .chip { display: inline-block; height: 21px; border-radius: 5px; margin: 3px 3px 0 0; background: rgba(39,224,216,.2); }

/* ---------- Process flow ---------- */
.flow { position: relative; }
.flow-line {
  position: absolute; left: 0; right: 0; top: 36px;
  height: 1.5px; background: var(--line); overflow: hidden;
}
.flow-line .fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  width: 0; transition: width 1.6s var(--ease-out);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step { padding-top: 8px; }
.step .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--lime);
  margin-bottom: 24px; position: relative; z-index: 2;
  box-shadow: 0 0 0 5px var(--bg);
}
.step .n { font-family: 'Fira Code', monospace; font-size: 11px; color: var(--lime); margin-bottom: 10px; letter-spacing: .08em; }
.step h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.step p  { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.price {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .28s var(--ease-out), box-shadow .28s, border-color .28s;
  display: flex; flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .price:hover {
    transform: translateY(-4px);
    border-color: rgba(120,210,255,.4);
    box-shadow: var(--glow-cyan);
  }
  .price.feat:hover {
    border-color: rgba(200,255,77,.5);
    box-shadow: var(--glow-lime);
  }
}
.price.feat {
  border-color: rgba(200,255,77,.26);
  background: linear-gradient(155deg, rgba(200,255,77,.055), var(--panel));
  box-shadow: var(--shadow-lime);
}
/* Subtle top accent line on featured */
.price.feat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,255,77,.5), transparent);
}
.price .pt { font-family: 'Fira Code', monospace; font-size: 10.5px; color: var(--lime); letter-spacing: .1em; margin-bottom: 14px; }
.price h3 { font-size: 23px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.025em; }
.price .sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 26px; min-height: 42px; line-height: 1.65; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price li { display: flex; gap: 11px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.price li svg { flex-shrink: 0; width: 16px; height: 16px; stroke: var(--lime); fill: none; stroke-width: 2.2; margin-top: 3px; }
.price ul { flex: 1; }
.price .btn { width: 100%; justify-content: center; margin-top: auto; }
.step-n { font-family: 'Fira Code', monospace; font-size: 10.5px; color: var(--lime); letter-spacing: .1em; margin-bottom: 6px; opacity: .8; }
.price-note { font-size: 12px; color: var(--ink-dim); text-align: center; margin-top: 10px; font-family: 'Fira Code', monospace; }
.pkg-badge { display: inline-flex; align-items: center; background: rgba(200,255,77,.08); border: 1px solid rgba(200,255,77,.25); border-radius: 20px; font-family: 'Fira Code', monospace; font-size: 10.5px; color: var(--lime); padding: 3px 10px; margin-bottom: 16px; letter-spacing: .07em; }
.scale-note { font-size: 12px; color: var(--ink-dim); text-align: center; line-height: 1.5; margin-top: 8px; }
.calc-bridge { font-size: 13px; color: var(--ink-dim); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-style: italic; line-height: 1.65; }
.svc-intro { font-size: 15px; color: var(--ink-soft); margin-bottom: 28px; line-height: 1.65; }

/* ---------- Kifogáskezelő grid ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media(max-width:900px) { .obj-grid { grid-template-columns: 1fr; } }
.obj-card { border-radius: var(--r); padding: var(--sp-lg); border: 1px solid rgba(255,107,138,.3); position: relative; overflow: hidden; background: rgba(255,107,138,.04); }
.obj-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,107,138,.5), transparent); }
.obj-cat { font-family: 'Fira Code', monospace; font-size: 10.5px; font-weight: 700; color: var(--red); letter-spacing: .1em; margin-bottom: 14px; }
.obj-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.015em; }
.obj-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.obj-result { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,107,138,.18); font-family: 'Fira Code', monospace; font-size: 11.5px; color: var(--red); }

/* ---------- 3-lépés szekció ---------- */
.steps3-grid { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; gap: 0; margin-top: 8px; }
@media(max-width:900px) { .steps3-grid { grid-template-columns: 1fr; gap: 18px; } .step3-connector { display: none; } }
.step3-card { border-radius: var(--r); padding: var(--sp-lg); border: 1px solid rgba(200,255,77,.2); background: rgba(200,255,77,.025); position: relative; overflow: hidden; }
.step3-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--lime) 50%, transparent 100%); opacity: .55; }
.step3-num { font-family: 'Fira Code', monospace; font-size: 52px; font-weight: 700; color: var(--lime); opacity: .12; line-height: 1; margin-bottom: 14px; letter-spacing: -.03em; }
.step3-tag { font-family: 'Fira Code', monospace; font-size: 10px; letter-spacing: .12em; color: var(--lime); opacity: .75; margin-bottom: 10px; }
.step3-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.015em; line-height: 1.35; }
.step3-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.step3-outcome { font-family: 'Fira Code', monospace; font-size: 11px; color: var(--lime); opacity: .6; line-height: 1.55; margin-bottom: 12px; }
.step3-badge { font-family: 'Fira Code', monospace; font-size: 10px; color: var(--lime); background: rgba(200,255,77,.07); border: 1px solid rgba(200,255,77,.18); border-radius: 20px; display: inline-block; padding: 3px 10px; opacity: .8; }
.step3-connector { display: flex; align-items: center; justify-content: center; padding-top: 74px; font-family: 'Fira Code', monospace; font-size: 22px; color: var(--lime); opacity: .3; }

/* ---------- About section ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.about-card {
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 34px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,255,77,.28), transparent);
}
.about-card .q { font-size: 19.5px; font-weight: 500; line-height: 1.52; margin-bottom: 22px; }
.about-card .q em { font-style: normal; color: var(--lime); }

.stat-row { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.stat .n { font-size: 32px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); font-family: 'Space Grotesk', sans-serif; }
.stat .l { font-size: 11.5px; color: var(--ink-dim); font-family: 'Fira Code', monospace; margin-top: 3px; letter-spacing: .05em; }

.certs-label {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim); font-family: 'Fira Code', monospace; margin-bottom: 13px;
}
.cert {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(120,210,255,.02); margin-bottom: 9px;
  transition: border-color .22s, transform .22s, background .22s;
}
@media (hover: hover) and (pointer: fine) {
  .cert:hover { border-color: var(--line-2); transform: translateX(4px); background: rgba(120,210,255,.04); }
}
.cert .ms {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 6px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.cert .ms svg { width: 16px; height: 16px; }
.cert .ct { font-size: 13px; font-weight: 600; line-height: 1.3; }
.cert .cs { font-size: 11px; color: var(--ink-dim); font-family: 'Fira Code', monospace; }
.cert .vf {
  margin-left: auto; flex-shrink: 0; font-size: 10px; color: var(--lime);
  display: flex; align-items: center; gap: 5px; font-family: 'Fira Code', monospace;
  letter-spacing: .06em;
}
.cert .vf svg { width: 12px; height: 12px; stroke: var(--lime); fill: none; stroke-width: 2.5; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; z-index: 2; text-align: center;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: var(--sp-2xl) var(--sp-lg); overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  background: linear-gradient(155deg, rgba(14,20,38,.76), rgba(7,10,20,.76));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.cta::before {
  content: ''; position: absolute;
  top: -70px; left: 50%; transform: translateX(-50%);
  width: 480px; height: 220px;
  background: radial-gradient(ellipse, rgba(200,255,77,.065), transparent 70%);
  pointer-events: none;
}
.cta canvas { position: absolute; inset: 0; z-index: 0; opacity: .38; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--ink-soft); max-width: 500px; margin: 0 auto 30px; line-height: 1.72; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 9px; }
.faq {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel);
  overflow: hidden; transition: border-color .22s, background .22s;
}
.faq.open { border-color: var(--line-2); background: var(--panel-hi); }
@media (hover: hover) and (pointer: fine) {
  .faq:not(.open):hover {
    border-color: var(--line-lime);
    background: var(--panel-hi);
    box-shadow: 0 6px 18px -12px rgba(200,255,77,.3);
  }
  .faq-q:hover { color: var(--lime); }
}
.faq-q {
  cursor: pointer; background: none; border: none; text-align: left; width: 100%;
  padding: 20px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  user-select: none; font-family: inherit;
  min-height: 44px;
  transition: color .18s;
}
.faq-q .pl { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .pl::before, .faq-q .pl::after {
  content: ''; position: absolute; background: var(--lime); border-radius: 2px;
}
.faq-q .pl::before { top: 10px; left: 2px; right: 2px; height: 1.5px; }
.faq-q .pl::after {
  left: 10px; top: 2px; bottom: 2px; width: 1.5px;
  transition: transform .24s var(--ease-out);
}
.faq.open .faq-q .pl::after { transform: scaleY(0); }
.faq .ans { overflow: hidden; height: 0; }
.faq .ans-in { padding: 0 22px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.72; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xl);
  align-items: start; max-width: 1000px; margin: 0 auto; text-align: left;
}
.contact-info .kicker { justify-content: flex-start; }
.contact-info h2 { font-size: clamp(26px, 3.5vw, 40px); }
.contact-info p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 24px; line-height: 1.72; }
.contact-info .ci-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: var(--ink-soft);
  font-family: 'Fira Code', monospace; margin-bottom: 13px; letter-spacing: .02em;
}
.contact-info .ci-item svg { width: 16px; height: 16px; stroke: var(--lime); fill: none; stroke-width: 1.8; flex-shrink: 0; }

.form {
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 28px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 15px; }
.field label {
  display: block; font-size: 10.5px; font-family: 'Fira Code', monospace;
  color: var(--ink-dim); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .1em;
}
.field input, .field textarea, .field select {
  width: 100%; background: rgba(120,210,255,.04);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; color: var(--ink); font-family: 'Space Grotesk', inherit;
  font-size: 15px;
  transition: border-color .18s, background .18s, box-shadow .18s;
  min-height: 44px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(200,255,77,.48);
  background: rgba(200,255,77,.025);
  box-shadow: 0 0 0 3px rgba(200,255,77,.07);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa7c7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field select option { background: #0b0f1c; color: var(--ink); }
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 11.5px; color: var(--ink-dim); margin-top: 11px; text-align: center; font-family: 'Fira Code', monospace; letter-spacing: .02em; }
.form-msg { display: none; padding: 13px; border-radius: var(--r); font-size: 14px; margin-bottom: 15px; }
.form-msg.ok  { display: block; background: rgba(200,255,77,.07); border: 1px solid rgba(200,255,77,.28); color: var(--lime); }
.form-msg.err { display: block; background: rgba(255,107,138,.07); border: 1px solid rgba(255,107,138,.28); color: var(--red); }

/* ---------- Footer ---------- */
footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding: 56px 0 40px; margin-top: var(--sp-2xl);
}
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.foot-brand { max-width: 280px; }
.foot-brand p { color: var(--ink-dim); font-size: 13.5px; margin-top: 13px; line-height: 1.65; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 15px; font-family: 'Fira Code', monospace;
}
.foot-col a { display: flex; align-items: center; min-height: 36px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; transition: color .18s; }
@media (hover: hover) and (pointer: fine) {
  .foot-col a:hover { color: var(--lime); }
}
.foot-bot {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 13px;
  font-size: 12px; color: var(--ink-dim); font-family: 'Fira Code', monospace;
  letter-spacing: .04em;
}
.foot-bot a { color: var(--ink-dim); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .foot-bot a:hover { color: var(--lime); }
}
.gdpr-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.gdpr-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--cyan); width: 15px; height: 15px; cursor: pointer; }
.gdpr-row span, .gdpr-row label { font-size: 13px; color: var(--ink-dim); line-height: 1.55; cursor: pointer; }
/* Aláhúzott link: a linkséget ne csak a szín jelezze (WCAG 1.4.1) + jobb láthatóság */
.gdpr-row a { color: var(--cyan); text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .gdpr-row a:hover { text-decoration: none; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--panel); backdrop-filter: blur(12px);
  color: var(--ink-soft); font-size: 18px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), border-color .18s, color .18s, box-shadow .18s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover { border-color: var(--line-lime); color: var(--lime); box-shadow: var(--glow-lime); }
}
@media (max-width: 700px) {
  .back-to-top { left: 16px; right: auto; bottom: 20px; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 59;
  background: rgba(4,6,13,.97); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; opacity: 0; pointer-events: none; transition: opacity .28s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 22px; font-weight: 600; color: var(--ink-soft); letter-spacing: -.025em; }
.mobile-menu .btn-primary { color: #04060d; }
@media (hover: hover) and (pointer: fine) {
  .mobile-menu a:hover { color: var(--lime); }
}

/* ---------- Cursor glow (only on fine pointer) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,77,.28), rgba(200,255,77,0) 70%);
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%) scale(1);
  opacity: 0; mix-blend-mode: screen; will-change: transform;
  transition: opacity .28s, transform .22s var(--ease-out), background .22s;
}
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 4px; height: 4px; border-radius: 50%;
  background: var(--lime); pointer-events: none; z-index: 10000;
  transform: translate(-50%,-50%); opacity: 0; will-change: transform;
  transition: opacity .28s;
}
.cursor-glow.hover { transform: translate(-50%,-50%) scale(1.5); background: radial-gradient(circle, rgba(39,224,216,.22), rgba(39,224,216,0) 70%); }
@media (hover: none), (pointer: coarse) { .cursor-glow, .cursor-dot { display: none !important; } }
@media (prefers-reduced-motion: reduce)  { .cursor-glow, .cursor-dot { display: none !important; } }

/* ---------- Subpage styles ---------- */
.sub-hero { position: relative; z-index: 2; padding: 146px 0 52px; }
.sub-hero .kicker { justify-content: flex-start; }
.sub-hero h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 700;
  letter-spacing: -.038em; line-height: 1.03; margin-bottom: 20px; max-width: 820px;
  font-family: 'Space Grotesk', sans-serif;
}
.sub-hero h1 em { font-style: normal; color: var(--lime); }
.sub-hero .lead {
  font-size: clamp(15px, 1.55vw, 19px); color: var(--ink-soft);
  max-width: 700px; margin-bottom: 30px; line-height: 1.72;
}
.sub-hero .lead b { color: var(--ink); }

/* Prose content — max line length ~72ch (Impeccable: 45-75ch) */
.prose { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 30px 0; }
.prose h2 {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  letter-spacing: -.03em; margin: 44px 0 13px; color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
}
.prose h2 em { font-style: normal; color: var(--lime); }
.prose h3 { font-size: 17.5px; font-weight: 600; margin: 26px 0 9px; color: var(--ink); letter-spacing: -.01em; }
.prose p  { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.78; }
.prose p b { color: var(--ink); }
.prose ul { margin: 10px 0 20px 4px; list-style: none; }
.prose ul li {
  font-size: 15.5px; color: var(--ink-soft); margin-bottom: 11px;
  padding-left: 24px; position: relative; line-height: 1.68;
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--lime);
}
.prose .cta-row { margin: 32px 0; display: flex; gap: 12px; flex-wrap: wrap; }

.callout {
  background: linear-gradient(135deg, rgba(200,255,77,.06), var(--panel) 58%);
  border: 1px solid var(--line-lime);
  border-radius: var(--r); padding: 24px 26px; margin: 24px 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.callout h3 { margin-top: 0; color: var(--lime); font-size: 16px; margin-bottom: 10px; }

/* Compare bars — kézi vs automatizált időösszehasonlítás blogposztokban */
.compare-bars { margin: 22px 0 28px; }
.compare-bars .bar-row { margin-bottom: 14px; }
.compare-bars .bar-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; font-family: 'Fira Code', monospace; }
.compare-bars .bar-label b { color: var(--ink); font-family: inherit; }
.compare-bars .bar-track { height: 10px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.compare-bars .bar-fill { height: 100%; border-radius: 3px; }
.compare-bars .bar-fill.cyan { background: var(--cyan); }
.compare-bars .bar-fill.lime { background: var(--lime); }

.crosslinks {
  position: relative; z-index: 2; max-width: 760px; margin: 0 auto;
  padding: 22px 0 60px; border-top: 1px solid var(--line); margin-top: 32px;
}
.crosslinks h3 {
  font-size: 11px; font-family: 'Fira Code', monospace;
  color: var(--ink-dim); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px;
}
.crosslinks .links { display: flex; gap: 9px; flex-wrap: wrap; }
.crosslinks a {
  font-size: 13.5px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 14px; min-height: 44px; display: flex; align-items: center;
  transition: border-color .18s, color .18s, background .18s;
}
@media (hover: hover) and (pointer: fine) {
  .crosslinks a:hover {
    border-color: var(--line-lime); color: var(--lime);
    background: rgba(200,255,77,.04);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .dash { max-width: 500px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .flow-line { display: none; }
  .about { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { display: inline-flex; align-items: center; padding: 9px 15px; font-size: 13px; }
  .burger { display: flex; }
  .split, .svc-grid, .price-grid, .steps { grid-template-columns: 1fr; }
  .pf-carousel-head { display: none; }            /* mobilon swipe vezérli */
  .pf-track .pf { flex: 0 0 84%; min-height: 340px; }
  section.block { padding: 72px 0; }
  #kapcsolat.block { padding-top: 52px; }
  .hero { padding: 122px 0 52px; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  .kpi { padding: 11px 9px; }
  .kpi .lab { font-size: 8.5px; margin-bottom: 5px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Remove blur-heavy effects on mobile (perf) */
  .svc, .cmp, .price, .about-card, .dash, .form, .faq, .cta, header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  #net { opacity: .42; }
  h1.htitle { font-size: clamp(28px, 7.5vw, 40px); overflow-wrap: break-word; line-height: 1.06; }
  .htitle em { white-space: normal; }
  .hsub { overflow-wrap: break-word; }
  .dash { max-width: 100%; }
  .kpi .val { font-size: 18px; }
  .kpi .val small { font-size: 10.5px; }
  .kpi .delta { font-size: 9px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .wrap { padding: 0 20px; }
}

/* ── Nav status indicator ─────────────────────────────── */
.nav-status { display:flex; align-items:center; gap:8px; font-family:'Fira Code',monospace; font-size:11px; color:var(--ink-dim); white-space:nowrap; position:relative; padding-left:12px; }
.nav-status::before { content:''; position:absolute; left:0; top:15%; bottom:15%; width:2px; background:var(--lime); border-radius:2px; animation:nav-bar-pulse 2s ease-in-out infinite; }
.nav-status::after { content:'_'; color:var(--lime); opacity:.9; animation:caretBlink 1.1s step-end infinite; margin-left:1px; }
.nav-status-dot { display:none; }
@keyframes nav-bar-pulse { 0%,100%{box-shadow:0 0 3px rgba(200,255,77,.25);opacity:.55;} 50%{box-shadow:0 0 10px rgba(200,255,77,.85);opacity:1;} }
@media(max-width:860px) { .nav-status { display:none; } }

/* ── Scroll progress bar ──────────────────────────────── */
.scroll-progress { position:fixed; top:0; left:0; height:2px; width:100%; background:linear-gradient(90deg,var(--lime),var(--cyan)); z-index:200; transform:scaleX(0); transform-origin:left; transition:transform .1s linear; pointer-events:none; }

/* ── Read time + Last updated (aloldalak) ────────────── */
.read-time { font-family:'Fira Code',monospace; font-size:12px; color:var(--ink-dim); margin-bottom:24px; position:relative; z-index:2; }
.last-updated { font-family:'Fira Code',monospace; font-size:11px; color:var(--ink-dim); margin-bottom:12px; position:relative; z-index:2; }

/* ── Kalkulátor ───────────────────────────────────────── */
.calc-box { max-width:680px; margin:0 auto; background:var(--panel); border:1px solid var(--line-2); border-radius:var(--r-lg); padding:var(--sp-xl); }
.calc-row { margin-bottom:28px; }
.calc-label { display:flex; justify-content:space-between; font-size:15px; color:var(--ink-soft); margin-bottom:10px; }
.calc-val { font-family:'Fira Code',monospace; color:var(--lime); font-weight:600; font-size:14px; }
.calc-slider { width:100%; appearance:none; -webkit-appearance:none; height:3px; border-radius:2px; background:var(--line-2); outline:none; cursor:pointer; }
.calc-slider:focus-visible::-webkit-slider-thumb { box-shadow:0 0 0 3px rgba(200,255,77,.5); }
.calc-slider:focus-visible::-moz-range-thumb { box-shadow:0 0 0 3px rgba(200,255,77,.5); }
@media (max-width:760px){ .calc-slider::-webkit-slider-thumb{width:24px;height:24px} .calc-slider::-moz-range-thumb{width:24px;height:24px} }
.calc-slider::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:18px; height:18px; border-radius:50%; background:var(--lime); cursor:pointer; box-shadow:0 0 10px rgba(200,255,77,.35); }
.calc-slider::-moz-range-thumb { width:18px; height:18px; border-radius:50%; background:var(--lime); cursor:pointer; border:none; box-shadow:0 0 10px rgba(200,255,77,.35); }
.calc-result { border-top:1px solid var(--line-2); padding-top:28px; margin-top:8px; text-align:center; }
.calc-result-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:12px; }
.calc-metric-val { font-family:'Fira Code',monospace; font-size:2rem; font-weight:700; color:var(--lime); line-height:1; margin-bottom:6px; }
.calc-metric-label { font-size:12px; color:var(--ink-dim); }
.calc-note { font-size:12px; color:var(--ink-dim); font-family:'Fira Code',monospace; }
@media(max-width:760px) { .calc-box { padding:28px 20px; margin:0 4px; } }
@media(max-width:600px) { .calc-result-grid { grid-template-columns:1fr; } .calc-box { padding:24px 16px; margin:0 4px; } }

/* ── Floating Action Button (FAB) ─────────────────────── */
@media (min-width: 701px) { .fab { display: none !important; } }
.fab{position:fixed;bottom:var(--sp-md);right:var(--sp-md);
z-index:90;background:var(--lime);color:#03050b;
font-weight:700;font-size:14px;padding:13px 22px;
border-radius:100px;
box-shadow:0 8px 32px rgba(200,255,77,.35);
opacity:0;transform:translateY(12px);
transition:opacity .3s,transform .3s,box-shadow .2s;
pointer-events:none;font-family:inherit;
text-decoration:none;white-space:nowrap;}
.fab.visible{opacity:1;transform:translateY(0);
pointer-events:auto;}
.fab:hover{background:#d8ff6a;
box-shadow:0 12px 40px rgba(200,255,77,.5);}
/* Mobilon a chatbot-buborék az egyetlen lebegő CTA jobbra — a FAB-ot elrejtjük */
@media(max-width:768px){.fab{display:none!important;}}

/* ── Blog grid & cards ────────────────────────────────── */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px;}
@media(max-width:900px){.blog-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.blog-grid{grid-template-columns:1fr;}}
.blog-card{position:relative;display:flex;flex-direction:column;gap:10px;background:var(--panel);border:1px solid var(--line);border-radius:var(--r-lg);padding:28px 24px 22px;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s;}
.blog-card:hover{border-color:rgba(120,210,255,.4);transform:translateY(-4px);box-shadow:var(--glow-cyan);}
.bc-kicker{font-family:'Fira Code',monospace;font-size:11px;color:var(--ink-dim);letter-spacing:.04em;}
.blog-card h3{font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-.02em;line-height:1.3;margin:0;}
.blog-card p{font-size:14px;color:var(--ink-soft);line-height:1.65;margin:0;flex:1;}
.bc-meta{font-family:'Fira Code',monospace;font-size:11px;color:var(--ink-dim);}
.bc-link{font-size:13px;font-weight:600;color:var(--lime);margin-top:4px;}
.bc-badge{position:absolute;top:16px;right:16px;background:var(--lime);color:#03050b;font-size:10px;font-weight:700;padding:3px 8px;border-radius:20px;letter-spacing:.04em;}

/* ── Related links ────────────────────────────────────── */
.related-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:40px;padding-top:32px;border-top:1px solid var(--line);}
.related-links a{font-size:13.5px;color:var(--lime);font-family:'Fira Code',monospace;text-decoration:none;transition:opacity .2s;min-height:44px;display:inline-flex;align-items:center;}
.related-links a:hover{opacity:.75;}

/* ── Image Comparison Slider ──────────────────────────── */
.compare-wrap {
  position: relative; width: 100%; max-width: 860px; margin: 48px auto 0;
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card); cursor: ew-resize; user-select: none;
  touch-action: pinch-zoom;
}
.compare-wrap::before {
  content: ''; display: block; padding-top: 56.25%;
}
.compare-side {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.compare-side.after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0s;
}
.compare-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: rgba(200,255,77,.7); z-index: 10; transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(200,255,77,.5);
}
.compare-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: #04060d;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.5), 0 0 0 3px rgba(200,255,77,.25);
  transition: transform .15s var(--ease-out), box-shadow .15s;
  cursor: ew-resize; z-index: 11;
}
.compare-handle:hover, .compare-wrap.dragging .compare-handle {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 4px 20px rgba(0,0,0,.5), 0 0 0 4px rgba(200,255,77,.35);
}
.compare-handle svg { pointer-events: none; }
.compare-label {
  position: absolute; bottom: 16px;
  font-family: 'Fira Code', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: .07em; padding: 3px 9px; border-radius: 3px;
  pointer-events: none; z-index: 12;
  transition: opacity .25s;
}
.compare-label.before-label {
  left: 12px;
  background: rgba(0,0,0,.5);
  color: rgba(255,107,138,.85);
}
.compare-label.after-label {
  right: 12px;
  background: rgba(0,0,0,.5);
  color: rgba(200,255,77,.85);
}
@media (max-width: 600px) {
  .compare-label { font-size: 9px; padding: 2px 7px; bottom: 10px; }
  .compare-handle { width: 32px; height: 32px; }
}

/* ── Letter Swap buttons ──────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .btn-ls { overflow: hidden; }
  .btn-ls .ls-wrap { display: inline-flex; }
  .btn-ls .ls-letter {
    display: inline-flex; flex-direction: column; overflow: hidden;
    height: 1em; vertical-align: top; line-height: 1;
  }
  .btn-ls .ls-top,
  .btn-ls .ls-bot {
    display: block; height: 1em; transition: transform .55s var(--ease-out);
    transition-delay: var(--ls-delay, 0ms);
  }
  .btn-ls .ls-bot { color: inherit; }
  .btn-ls:hover .ls-top { transform: translateY(-100%); }
  .btn-ls:hover .ls-bot { transform: translateY(-100%); }
}
