/* =========================================================
   Netpont Bt. – stíluslap
   ========================================================= */

:root,
:root[data-theme="dark"] {
  --bg: #0a0e17;
  --bg-2: #0f1522;
  --card: #131b2b;
  --line: #1f2a40;
  --line-strong: #2c3b5a;
  --text: #e6ebf5;
  --muted: #8b97ad;
  --accent: #22d3ee;
  --accent-2: #6366f1;
  --on-accent: #04121a;
  --nav-bg: rgba(10, 14, 23, .72);
  --glow-1: rgba(99, 102, 241, .38);
  --glow-2: rgba(34, 211, 238, .22);
  --glow-3: rgba(168, 85, 247, .22);
  --shadow: 0 30px 80px -24px rgba(0, 0, 0, .85);
  --ok: #22c55e;
  --warn: #f59e0b;
  --err: #ef4444;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-strong: #c9d3e1;
  --text: #0b1220;
  --muted: #556075;
  --accent: #0891b2;
  --accent-2: #4f46e5;
  --on-accent: #ffffff;
  --nav-bg: rgba(245, 247, 251, .78);
  --glow-1: rgba(99, 102, 241, .20);
  --glow-2: rgba(34, 211, 238, .22);
  --glow-3: rgba(168, 85, 247, .14);
  --shadow: 0 30px 60px -28px rgba(15, 23, 42, .28);
  --ok: #15803d;
  --warn: #b45309;
  --err: #dc2626;
  color-scheme: light;
}

:root {
  --radius: 16px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.mono { font-family: var(--mono); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Görgetésjelző ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Gombok ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; line-height: 1.1; white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: transform .2s var(--ease), box-shadow .2s, translate .3s var(--ease), opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-light { background: #fff; color: #0a0e17; box-shadow: none; }
.btn-full { width: 100%; }
.btn-ic { width: 18px; height: 18px; fill: currentColor; }
.btn.loading { pointer-events: none; color: transparent; }
.btn.loading > * { visibility: hidden; }
.btn.loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--on-accent); border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.linklike {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
kbd {
  display: inline-flex; align-items: center; gap: 3px; font: 500 11px/1 var(--mono);
  padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--muted);
}

/* ---------- Navigáció ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px;
  background: linear-gradient(135deg, #22d3ee, #6366f1); color: #04121a;
}
.logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn) { padding: 8px 12px; border-radius: 10px; transition: color .2s, background-color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 10px; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; min-width: 40px; padding: 0 10px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--muted);
  transition: border-color .2s, color .2s;
}
.tool-btn:hover { color: var(--text); border-color: var(--line-strong); }
.tool-btn svg, .cmdk-input svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:root[data-theme="dark"] .i-moon, :root[data-theme="light"] .i-sun { display: none; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .45;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 15%, transparent 70%);
}
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; filter: blur(50px); }
.aurora span { position: absolute; border-radius: 50%; animation: float 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 600px; height: 600px; right: -140px; top: -180px; background: radial-gradient(circle, var(--glow-1), transparent 65%); }
.aurora span:nth-child(2) { width: 480px; height: 480px; left: -160px; top: 140px; background: radial-gradient(circle, var(--glow-2), transparent 65%); animation-duration: 23s; animation-delay: -7s; }
.aurora span:nth-child(3) { width: 440px; height: 440px; right: 28%; bottom: -240px; background: radial-gradient(circle, var(--glow-3), transparent 65%); animation-duration: 27s; animation-delay: -13s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.12); }
  100% { transform: translate(-40px, 30px) scale(.94); }
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 80%, transparent);
  font-size: 13px; color: var(--muted); backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); animation: pulse 2s infinite; }
.pill.closed .dot { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 18px; }
.grad { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator-line { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; min-height: 1.6em; }
.rotator { color: var(--accent); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; background: var(--accent); vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 18px; color: var(--muted); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }

/* Terminál – mindkét témában sötét */
.terminal {
  background: #070a12; border: 1px solid #1f2a40; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(34, 211, 238, .05), 0 0 80px -20px rgba(99, 102, 241, .35);
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #1f2a40; background: #0f1522; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.term-bar i:nth-child(2) { background: #f59e0b; }
.term-bar i:nth-child(3) { background: #22c55e; }
.term-bar span { margin-left: 10px; font: 500 12px var(--mono); color: #8b97ad; }
.term-body { font: 500 13.5px/1.75 var(--mono); padding: 20px; min-height: 300px; color: #cbd5e1; white-space: pre-wrap; word-break: break-word; }
.term-body .p { color: #22d3ee; }
.term-body .ok { color: #22c55e; }
.term-body .w { color: #f59e0b; }
.cursor { display: inline-block; width: 8px; height: 16px; background: #22d3ee; vertical-align: -3px; animation: blink 1s steps(1) infinite; }

/* ---------- Számok ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stats div { background: var(--bg-2); padding: 26px 22px; }
.stats strong { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); }

/* ---------- Márka-szalag ---------- */
.marquee {
  margin-top: 64px; padding: 22px 0; overflow: hidden; border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; }
.marquee li { display: flex; align-items: center; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; }
.marquee li::after { content: "◆"; font-size: 8px; color: var(--accent); margin: 0 28px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Szekciók ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { font: 500 13px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; margin: 12px 0 14px; }
.section-head p, .split p, .remote p { color: var(--muted); font-size: 17px; }

/* ---------- Bento rács ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.btile {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out, border-color .3s;
}
.btile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%);
}
.btile:hover { border-color: var(--line-strong); }
.btile:hover::after { opacity: 1; }
.btile h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.btile p { color: var(--muted); font-size: 15px; }
.b-lg { grid-column: span 2; grid-row: span 2; padding: 34px; }
.b-lg h3 { font-size: 26px; letter-spacing: -.02em; }
.b-lg p { font-size: 16px; max-width: 420px; }
.b-wide {
  grid-column: span 4; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  border: 1px solid transparent;
}
.b-wide-text { display: flex; gap: 20px; align-items: flex-start; }
.b-wide-text .icon { flex-shrink: 0; margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; position: relative; z-index: 1; max-width: 75%; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); }
.btile-art { position: absolute; right: -26px; bottom: -26px; width: 230px; height: 230px; fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: .35; pointer-events: none; }
.btile-art .flow { stroke-dasharray: 6 10; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }

/* ---------- Hibakereső ---------- */
.wizard {
  max-width: 900px; margin: 0 auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 32px; box-shadow: var(--shadow);
}
.wiz-steps { display: flex; gap: 10px; margin-bottom: 28px; }
.wiz-steps span { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); font: 500 13px var(--mono); color: var(--muted); transition: color .3s, border-color .3s; }
.wiz-steps span.active { color: var(--text); border-color: var(--accent); }
.wiz-steps span.done { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.wiz-q { font-size: 22px; letter-spacing: -.01em; margin-bottom: 18px; }
.wiz-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.wiz-opt {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2);
  font-weight: 600; font-size: 15px; transition: border-color .2s, transform .2s var(--ease), background-color .2s;
}
.wiz-opt:hover, .wiz-opt:focus-visible { border-color: var(--accent); transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 7%, var(--bg-2)); }
.wiz-emoji { font-size: 24px; line-height: 1; }
.wiz-back { margin-bottom: 14px; display: inline-block; font-size: 14px; }
.wiz-anim { animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; translate: 0 10px; } }
.wiz-result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 24px; }
.wiz-result > div { padding: 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.wiz-result p { font-size: 15px; color: var(--text); }
.wr-label { display: block; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.wr-service { font-weight: 700; color: var(--accent) !important; }
.urgent {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: color-mix(in srgb, var(--err) 12%, transparent); border: 1px solid color-mix(in srgb, var(--err) 40%, transparent); color: var(--err);
}
.wiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* ---------- Javítás követése ---------- */
.hint { margin-top: 18px; font-size: 15px !important; }
.tracker { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.track-form { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.track-form .btn { grid-column: 1 / -1; }
.tf-field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.track-form input {
  width: 100%;
  flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2);
  font: 500 16px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s, box-shadow .2s;
}
.track-form input::placeholder { text-transform: none; letter-spacing: 0; color: var(--muted); }
.track-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.track-result { margin-top: 22px; min-height: 250px; }
.track-empty {
  display: grid; place-items: center; gap: 12px; text-align: center; min-height: 250px; padding: 20px;
  border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--muted); font-size: 15px;
}
.track-empty svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .6; }
.track-empty.error { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.track-head strong { font-size: 20px; }
.track-device { font-weight: 600; margin: 4px 0 16px; }
.track-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.track-bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); animation: grow 1s var(--ease); }
@keyframes grow { from { width: 0; } }
.timeline { list-style: none; margin-top: 22px; }
.timeline li { position: relative; padding: 0 0 18px 34px; color: var(--muted); font-size: 15px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--bg-2);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--on-accent);
}
.timeline li::after { content: ""; position: absolute; left: 9px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { content: "✓"; background: var(--accent); border-color: var(--accent); }
.timeline li.done::after { background: var(--accent); }
.timeline li.current { color: var(--text); font-weight: 700; }
.timeline li.current::before { border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); animation: ping 1.8s infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 9px transparent; } }
.timeline small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.track-note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border-left: 3px solid var(--accent); }
.track-note p { font-size: 15px; color: var(--text) !important; }
.track-card .form-note { text-align: left; margin-top: 14px; }

.status-badge {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-alkatresz { --c: var(--warn); }
.s-kesz { --c: var(--ok); }
.s-atadva { --c: var(--muted); }

.skeleton { border-radius: 10px; background: linear-gradient(90deg, var(--line) 25%, var(--line-strong) 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Folyamat ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.num { font: 500 14px var(--mono); color: var(--accent); }
.steps h3 { margin: 14px 0 8px; font-size: 18px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Kéthasábos rész / forgalmazás ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.checklist { list-style: none; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent);
}
.sales-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 28px; }
.tile {
  min-height: 190px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; transition: border-color .3s, translate .3s var(--ease);
}
.tile:nth-child(even) { margin-top: 28px; margin-bottom: -28px; }
.tile:hover { border-color: var(--accent); translate: 0 -4px; }
.tile b { font-size: 18px; }
.tile span { font-size: 14px; color: var(--muted); }
.tile.accent {
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, var(--card)), color-mix(in srgb, var(--accent-2) 24%, var(--card)));
  border-color: color-mix(in srgb, var(--accent-2) 45%, transparent);
}

/* ---------- Távsegítség ---------- */
.remote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.remote-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 56px 0 20px; }
.remote-lock {
  position: absolute; top: 0; left: 50%; translate: -50% 0; white-space: nowrap;
  font: 500 12px var(--mono); color: var(--ok); padding: 5px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
}
.device { display: grid; justify-items: center; gap: 12px; font-size: 13px; color: var(--muted); flex-shrink: 0; }
.screen {
  position: relative; width: 170px; height: 112px; border-radius: 12px; overflow: hidden; padding: 16px;
  border: 1px solid var(--line-strong); background: var(--card); box-shadow: var(--shadow);
  display: grid; align-content: start; gap: 8px;
}
.screen i { display: block; height: 8px; border-radius: 4px; background: var(--line-strong); }
.screen i:nth-child(1) { width: 70%; }
.screen i:nth-child(2) { width: 90%; }
.screen i:nth-child(3) { width: 50%; background: color-mix(in srgb, var(--accent) 50%, transparent); }
.remote-screen { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.live { position: absolute; right: 10px; bottom: 10px; font: 600 10px var(--mono); color: var(--err); display: flex; align-items: center; gap: 5px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.2s steps(1) infinite; }
.mouse { position: absolute; width: 18px; height: 18px; fill: var(--accent); stroke: var(--bg); stroke-width: 1; left: 30px; top: 50px; animation: mouse 5s ease-in-out infinite; }
@keyframes mouse {
  0%, 100% { translate: 0 0; }
  30% { translate: 80px -20px; }
  55% { translate: 100px 25px; }
  80% { translate: 20px 20px; }
}
.link-line { flex: 1; min-width: 50px; max-width: 160px; height: 20px; overflow: visible; }
.link-line path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 8; animation: dash 1s linear infinite; }

/* ---------- Céges sáv ---------- */
.band-inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  margin: 100px 0; padding: 52px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, #0e7490, #4338ca 60%, #7c3aed);
}
.band-inner::before {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 18px 18px;
}
.band-inner > * { position: relative; }
.band h2 { margin-top: 0; }
.band p { color: rgba(255, 255, 255, .82); }
.band .btn { flex-shrink: 0; }

/* ---------- GYIK ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }
.faq details a { color: var(--accent); text-decoration: underline; }

/* ---------- Kapcsolat ---------- */
.contact-list { list-style: none; margin-top: 30px; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cl-label { width: 120px; flex-shrink: 0; color: var(--muted); font-size: 14px; padding-top: 2px; }
.contact-list a:hover { color: var(--accent); }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; font-size: 15px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.form.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Lábléc ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 20px; font-size: 14px; }

/* ---------- Lebegő gombok ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: linear-gradient(135deg, #22c55e, #059669); color: #fff;
  box-shadow: 0 10px 30px -6px rgba(34, 197, 94, .6);
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; animation: ring 2s infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-strong); color: var(--text);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; translate: 0 12px; transition: opacity .3s, translate .3s var(--ease);
}
.to-top-fab.show { opacity: 1; pointer-events: auto; translate: 0 0; }
.to-top-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Gyorskereső (Ctrl+K) ---------- */
.cmdk { border: 0; padding: 0; background: transparent; color: var(--text); width: min(640px, calc(100% - 32px)); max-width: none; margin: 12vh auto auto; overflow: visible; }
.cmdk::backdrop { background: rgba(5, 8, 15, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmdk[open] .cmdk-box { animation: pop .2s var(--ease); }
@keyframes pop { from { opacity: 0; scale: .96; translate: 0 -8px; } }
.cmdk-box { background: var(--card); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 17px; color: var(--text); }
.cmdk-input input::placeholder { color: var(--muted); }
.cmdk-list { list-style: none; max-height: min(52vh, 440px); overflow: auto; padding: 8px; overscroll-behavior: contain; }
.cmdk-group { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 12px 12px 6px; }
.cmdk-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.cmdk-item[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.cmdk-item .ci { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; }
.cmdk-item .hint { margin-left: auto; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.cmdk-empty { padding: 26px 12px; text-align: center; color: var(--muted); }
.cmdk-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.cmdk-foot span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Értesítések ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 200; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 15px;
  background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow); animation: toastIn .35s var(--ease);
}
.toast .t-ic { font-weight: 800; color: var(--accent); }
.toast.ok .t-ic { color: var(--ok); }
.toast.error .t-ic { color: var(--err); }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; translate: 0 16px; scale: .97; } }
@keyframes toastOut { to { opacity: 0; translate: 0 10px; } }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 300; }

/* ---------- 404 ---------- */
.notfound { position: relative; min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 20px; overflow: hidden; isolation: isolate; }
.notfound h1 { margin: 0; }
.nf-term { font: 500 14px/1.7 var(--mono); text-align: left; padding: 16px 20px; border-radius: 12px; background: #070a12; color: #22d3ee; border: 1px solid #1f2a40; margin-bottom: 8px; }
.nf-term span { color: #f59e0b; }

/* ---------- Megjelenési animáció ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Téma váltás körkörös animációja (View Transitions API) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1120px) {
  .cmdk-btn kbd { display: none; }
  .nav-links a:not(.btn) { padding: 8px 9px; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .remote { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-lg { grid-row: span 1; }
  .b-wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr 1fr; }
  .wiz-result { grid-template-columns: minmax(0, 1fr); }
  .band-inner { flex-direction: column; align-items: flex-start; padding: 36px; }
}
@media (max-width: 920px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav-cta { margin: 16px 0 0; }
  .nav-tools { margin-left: auto; }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .hero { padding: 48px 0 56px; }
  .btn { white-space: normal; text-align: center; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b-lg, .b-wide { grid-column: span 1; }
  .b-wide { flex-direction: column; align-items: flex-start; }
  .b-wide-text { flex-direction: column; gap: 0; }
  .b-wide-text .icon { margin-bottom: 20px; }
  .tags { max-width: 100%; }
  .btile-art { opacity: .15; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stats strong { font-size: 30px; }
  .wizard, .tracker { padding: 22px; border-radius: 20px; }
  .wiz-options { grid-template-columns: 1fr 1fr; }
  .wiz-opt { padding: 14px; font-size: 14px; }
  .track-form { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 22px; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .cl-label { width: 96px; }
  .term-body { font-size: 12px; min-height: 260px; }
  .sales-grid { gap: 12px; padding-bottom: 0; }
  .tile { min-height: 150px; padding: 18px; }
  .tile:nth-child(even) { margin: 0; }
  .screen { width: 120px; height: 84px; padding: 12px; gap: 6px; }
  .mouse { left: 18px; top: 36px; }
  @keyframes mouse { 0%, 100% { translate: 0 0; } 30% { translate: 50px -14px; } 55% { translate: 64px 16px; } 80% { translate: 14px 14px; } }
  .band-inner { margin: 70px 0; padding: 30px 24px; }
  .fab { display: grid; }
  .to-top-fab { display: none; }
  .toasts { bottom: 92px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
}
