/* ================== TOKENS (V06 · match valós dashboard) ================== */
:root {
  /* Fehér base — a rácsok/félkörívek később jönnek rá */
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-tint: #f3f4f6;
  --bg-warm: #fef8f5;

  /* Text hierarchy (valós dashboard tokenjei) */
  --text: #1f2937;
  --text-mute: #6b7280;
  --text-faint: #9ca3af;
  --line: #e5e7eb;
  --line-2: #d1d5db;

  /* Primary orange — pontosan a valós dashboardból (#e15a30 + #ff6432 gradient) */
  --accent: #e15a30;
  --accent-soft: rgba(225, 90, 48, 0.10);
  --accent-tint: rgba(225, 90, 48, 0.05);
  --accent-hot: #ff6432;
  --accent-dark: #cc4a20;
  --accent-glow: rgba(225, 90, 48, 0.40);

  /* Dark for accent sections */
  --dark-bg: #0f1216;
  --dark-bg-2: #1f2937;

  /* Secondary palette */
  --good: #10b981;
  --good-soft: rgba(16, 185, 129, 0.10);
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.10);
  --gray: #9ca3af;
  --gray-soft: rgba(156, 163, 175, 0.14);

  --font-display: 'Inter', -apple-system, sans-serif; /* KEZDÉSNEK Inter mindenhol; design-váltáskor ide jön majd a display-font (pl. Plus Jakarta) */
  --font-inter: 'Inter', -apple-system, sans-serif; /* alias (a régi elírásokhoz), szintén Inter */
  --font-italic: 'Inter', -apple-system, sans-serif; /* KEZDÉSNEK Inter; design-váltáskor ide jön majd a serif (pl. Newsreader) */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Inter', -apple-system, sans-serif; /* KEZDÉSNEK Inter; design-váltáskor ide jön majd a mono (pl. JetBrains Mono) */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);

  --radius-xs: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(16,24,40,0.05);
  --shadow: 0 4px 12px -4px rgba(16,24,40,0.10), 0 2px 4px rgba(16,24,40,0.04);
  --shadow-lg: 0 20px 40px -20px rgba(16,24,40,0.16), 0 12px 24px -12px rgba(16,24,40,0.08);
  --shadow-xl: 0 50px 100px -30px rgba(16,24,40,0.24), 0 30px 60px -20px rgba(16,24,40,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: clamp(15px, 0.3vw + 11px, 17px); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip; /* clip, NEM hidden: levágja a vízszintes túlnyúlást, de NEM hoz létre scroll-konténert, így a scroll-scrub szekciók (chaos/hz/mondat) position:sticky beragadása működik */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; color: inherit; font-weight: inherit; }

.container {
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
}

/* ================== MOCKUP BANNER ================== */
.mockup-banner {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.8);
  padding: 10px 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.mockup-banner strong { color: var(--accent-hot); }

/* ================== NAV (fehér, sticky) ================== */
/* ═══════════ KÖZÖS FEJLÉC (site-header.js injektálja) ═══════════ */
#site-header { display: contents; } /* a mount-div ne korlátozza a sticky-t: a .sh-nav a body-hoz ragadjon */
#site-footer { display: contents; } /* a lábléc-mount se rendereljen dobozt: a <footer> a body flow-jában marad */
#site-subscribe { display: contents; } /* a feliratkozó-mount se rendereljen dobozt: a .sub-bar a body flow-jában marad */
.sh-nav {
  position: sticky; top: 0; z-index: 60;
  background: #ffffff; /* TÖMÖR (nem áttetsző, nincs blur): csak 2 szín, fehér vagy fekete */
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.sh-nav.sh-dark { background: #0a0a0c; border-bottom-color: rgba(255, 255, 255, 0.08); }
.sh-inner { max-width: 1240px; margin: 0 auto; padding: 13px clamp(20px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.34rem; letter-spacing: -0.02em; color: #0a0a0c; text-decoration: none; transition: color 0.35s ease; }
.sh-nav.sh-dark .sh-brand { color: #fff; }
.sh-mark { width: 32px; height: 32px; color: var(--accent); display: inline-flex; }
.sh-mark svg { width: 100%; height: 100%; }
.sh-brand .ait { color: #0a0a0c; } /* AIT: teljesen sötét (a mozaikszó kiemelése) */
.sh-nav.sh-dark .sh-brand .ait { color: #fff; }

.sh-links { display: flex; align-items: center; gap: 24px; }
.sh-lk { font-size: 0.95rem; color: var(--text-mute); text-decoration: none; background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; transition: color 0.2s; white-space: nowrap; }
.sh-lk:hover, .sh-lk.sh-cur { color: var(--text); }
.sh-lk.sh-cur { font-weight: 600; }
.sh-nav.sh-dark .sh-lk { color: rgba(255, 255, 255, 0.62); }
.sh-nav.sh-dark .sh-lk:hover, .sh-nav.sh-dark .sh-lk.sh-cur { color: #fff; }
.sh-has { display: inline-flex; align-items: center; gap: 5px; }
.sh-car { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.25s var(--ease); }
.sh-dd:hover .sh-car, .sh-dd.open .sh-car { transform: rotate(180deg); }

/* Tudástár-lenyíló (C: lista + sötét „Kezdd itt" blokk) */
.sh-dd { position: relative; }
.sh-panel {
  position: absolute; top: calc(100% + 15px); left: 50%; transform: translateX(-50%) translateY(8px);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: stretch;
  width: 900px; max-width: calc(100vw - 32px); box-sizing: border-box;
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 40px 84px -30px rgba(16, 24, 40, 0.36), 0 8px 26px -14px rgba(16, 24, 40, 0.14); padding: 16px;
  font-family: var(--font-sans); /* az egész legördülő Inter */
  opacity: 0; visibility: hidden; transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s; z-index: 40;
}
.sh-dd:hover .sh-panel, .sh-dd.open .sh-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sh-panel::before { content: ''; position: absolute; top: -24px; left: 0; right: 0; height: 24px; } /* láthatatlan híd a rés fölött */
.sh-panel-rows { display: flex; flex-direction: column; gap: 2px; }
.sh-ti { display: flex; align-items: center; gap: 15px; padding: 14px 16px; border-radius: 14px; text-decoration: none; transition: background 0.18s var(--ease); }
.sh-ti:hover { background: #e4e7ec; }
.sh-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.18s, box-shadow 0.18s; }
.sh-ti:hover .sh-ic { background: #fff; box-shadow: 0 6px 16px -8px rgba(16, 24, 40, 0.28); }
.sh-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sh-ti b { font-size: 1.02rem; color: #0a0a0c; font-weight: 600; display: block; letter-spacing: -0.01em; }
.sh-ti b + span { font-size: 0.86rem; color: var(--text-mute); line-height: 1.35; display: block; margin-top: 2px; } /* CSAK a leírás, nem az .sh-ic span */
.sh-panel-side { position: relative; display: flex; }
.sh-start { position: relative; flex: 1; background: #0a0a0c; border-radius: 14px; padding: 26px; color: #f5f5f7; display: flex; flex-direction: column; text-decoration: none; overflow: hidden; }
.sh-start::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0); background-size: 16px 16px; -webkit-mask: radial-gradient(ellipse 85% 70% at 72% 18%, #000, transparent 72%); mask: radial-gradient(ellipse 85% 70% at 72% 18%, #000, transparent 72%); pointer-events: none; }
.sh-start > * { position: relative; z-index: 1; }
.sh-start .t { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(245, 245, 247, 0.5); text-transform: uppercase; }
.sh-start b { font-family: var(--font-sans); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 10px 0 8px; }
.sh-start p { font-size: 0.9rem; color: rgba(245, 245, 247, 0.72); line-height: 1.55; margin: 0 0 20px; }
.sh-start .go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: #fff; color: #0a0a0c; border-radius: 14px; font-size: 0.86rem; font-weight: 600; transition: transform 0.2s var(--ease); }
.sh-start:hover .go { transform: translateX(3px); }

/* CTA-k (pill) */
.sh-actions { display: flex; align-items: center; gap: 12px; }
.sh-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 12px; font-size: 0.92rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; }
.sh-ghost { background: transparent; color: #0a0a0c; border: 1px solid var(--line-2); }
.sh-ghost:hover { background: var(--bg-soft); border-color: var(--text-mute); }
.sh-solid { background: var(--text); color: #fff; }
.sh-solid:hover { background: #111827; transform: translateY(-1px); }
.sh-nav.sh-dark .sh-ghost { color: #f5f5f4; border-color: rgba(255, 255, 255, 0.22); }
.sh-nav.sh-dark .sh-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.45); }
.sh-nav.sh-dark .sh-solid { background: #f5f5f4; color: #111417; }
.sh-nav.sh-dark .sh-solid:hover { background: #fff; }

/* hamburger (csak mobil) */
.sh-burger { display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.sh-burger span { width: 20px; height: 2px; background: #0a0a0c; border-radius: 2px; transition: transform 0.32s var(--ease), background 0.3s, opacity 0.2s; }
.sh-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sh-burger.open span:nth-child(2) { opacity: 0; }
.sh-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sh-nav.sh-dark .sh-burger span { background: #f5f5f7; }

/* mobil drawer */
/* mobil drawer — V05-stílusú, jobbról beúszó panel (Navigáció + számozott menü + CTA-kártya) */
.sh-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.sh-backdrop.open { opacity: 1; visibility: visible; }
.sh-drawer { position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 70; width: min(400px, 90vw); background: #ffffff; color: #141518; border-left: 1px solid #e7e7e3; padding: 22px clamp(24px, 5vw, 40px) 30px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform 0.45s var(--ease); box-shadow: -30px 0 70px rgba(0, 0, 0, 0.16); }
.sh-drawer.open { transform: translateX(0); }
body.sh-noscroll { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
/* nyitott menünél a fejléc a viewport tetején marad (különben a rögzített body-val elgörögne) */
body.sh-noscroll .sh-nav { position: fixed; top: 0; left: 0; right: 0; }

/* ============ MOBIL MENÜ , a fejléc ALÓL legördülő (v2, 2026-07-26) ============ */
.sh-menu {
  position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 55;
  background: #ffffff; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform 0.44s var(--ease);
  visibility: hidden; -webkit-tap-highlight-color: transparent;
}
.sh-menu.open { transform: translateY(0); visibility: visible; }
.sh-menu-inner { flex: 1; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.sh-mlist { padding: 6px 22px 0; }
.sh-mi {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 18px 12px; margin: 0 -12px;
  border: none; background: none; cursor: pointer; text-align: left; text-decoration: none;
  font-family: inherit; font-size: 18px; font-weight: 550; color: #14161a;
  border-bottom: 1px solid #ececec;
}
.sh-mi.sh-cur { background: rgba(20, 22, 26, 0.038); }   /* aktuális oldal, nagyon halvány */
.sh-mchev { width: 20px; height: 20px; stroke: #a0a4ab; stroke-width: 2; fill: none; flex-shrink: 0; transition: transform 0.3s ease; }
.sh-mg.open .sh-mchev { transform: rotate(180deg); }
.sh-msub { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.sh-mg.open .sh-msub { max-height: 380px; }
.sh-msub-in { padding: 8px 0 14px; border-bottom: 1px solid #ececec; }
.sh-msi { display: flex; align-items: center; gap: 13px; padding: 11px 6px; margin: 0 -6px; text-decoration: none; border-radius: 10px; }
.sh-msi.sh-cur { background: rgba(20, 22, 26, 0.038); }
.sh-msi-ic {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; border: 1px solid #ececec;
  display: flex; align-items: center; justify-content: center; color: var(--accent, #cc4a20);
}
.sh-msi-ic svg { width: 19px; height: 19px; display: block; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sh-msi b { display: block; font-size: 15px; font-weight: 650; color: #14161a; }
.sh-msi b + span { display: block; font-size: 12.5px; color: #6b6f76; margin-top: 1px; }
.sh-mfoot { margin-top: auto; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); }
.sh-mactions { display: flex; flex-direction: column; gap: 10px; }
.sh-mlogin { display: flex; align-items: center; justify-content: center; height: 50px; border: 1px solid #ececec; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 600; color: #14161a; background: #fff; }
.sh-mcta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 650; color: #fff; background: #1f2937; }
.sh-mcta svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.sh-mpromo { margin-top: 16px; padding: 18px; border-radius: 16px; background: #1f2937; color: #fff; }
.sh-mpromo b { display: block; font-size: 15.5px; font-weight: 700; }
.sh-mpromo p { margin: 5px 0 14px; font-size: 12.5px; color: rgba(255, 255, 255, 0.66); line-height: 1.5; }
.sh-mpromo-btn { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; background: #fff; color: #0a0a0c; font-size: 13.5px; font-weight: 650; text-decoration: none; }
.sh-drawer-top { display: flex; align-items: center; justify-content: space-between; }
.sh-drawer-top .sh-brand, .sh-drawer-top .sh-brand .ait { color: #0a0a0c; }
.sh-drawer-x { background: none; border: none; color: #141518; font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.shm-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #141518; margin: 0; }
.shm-links { list-style: none; margin: 0; padding: 0; }
.shm-links li { border-top: 1px solid rgba(20, 21, 24, 0.08); }
.shm-links li:last-child { border-bottom: 1px solid rgba(20, 21, 24, 0.08); }
.shm-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: #141518; text-decoration: none; transition: color 0.25s, padding-left 0.25s var(--ease); }
.shm-link:hover { color: var(--accent-hot); padding-left: 6px; }
.shm-link.sh-cur { color: var(--accent-hot); }
.shm-link .num { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; color: rgba(20, 21, 24, 0.32); }
/* Tudástár-alcsoport a mobil menüben — kattintásra lenyíló (a desktop lenyíló megfelelője) */
.shm-cat { width: 100%; background: none; border: none; cursor: pointer; }
.shm-catr { display: inline-flex; align-items: center; gap: 11px; }
.shm-chev { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; color: rgba(20, 21, 24, 0.45); transition: transform 0.32s var(--ease); }
.shm-cat[aria-expanded="true"] .shm-chev { transform: rotate(180deg); }
.shm-sub { display: flex; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.shm-group.open .shm-sub { max-height: 260px; padding-bottom: 12px; }
.shm-sublink { font-family: var(--font-display); font-size: 1.06rem; font-weight: 500; color: #5b5f66; text-decoration: none; padding: 9px 0 9px 18px; transition: color 0.2s, padding-left 0.2s var(--ease); }
.shm-sublink:hover { color: var(--accent-hot); padding-left: 24px; }
.shm-sublink.sh-cur { color: var(--accent-hot); }
/* mobil CTA-gombok (desktop Bejelentkezés + Igényfelmérő megfelelője) — feketék */
.shm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.shm-btn { display: block; text-align: center; padding: 14px; border-radius: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.shm-btn.ghost { color: #141518; border: 1px solid var(--line-2); }
.shm-btn.ghost:hover { border-color: #141518; }
.shm-btn.solid { background: #1f2937; color: #fff; }
.shm-btn.solid:hover { background: #111827; }
.shm-promo { margin-top: auto; padding: 22px; background: #1f2937; border: 1px solid #1f2937; border-radius: 14px; }
.shm-promo h4 { font-size: 1rem; font-weight: 600; margin: 0 0 10px; color: #ffffff; }
.shm-promo p { font-size: 0.88rem; color: rgba(245, 245, 247, 0.62); margin: 0 0 14px; line-height: 1.5; }
.shm-cta { display: inline-block; padding: 11px 22px; background: #ffffff; color: #0a0a0c; border-radius: 12px; font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: background 0.2s; }
.shm-cta:hover { background: #ececea; }
.shm-foot { font-size: 0.72rem; color: rgba(20, 21, 24, 0.4); letter-spacing: 0.06em; text-align: center; margin: 0; }

@media (max-width: 900px) {
  .sh-links, .sh-actions .sh-cta { display: none; }
  .sh-burger { display: inline-flex; }
}

/* ═══════════ (RÉGI nav — a nem-átállított oldalakon még él) ═══════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff; /* TÖMÖR (nem áttetsző): csak 2 szín, fehér vagy fekete */
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.nav--dark {
  background: #0a0a0c;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #111827;
  transition: color 0.35s ease;
}
.nav--dark .nav-brand { color: #f8f8f7; }
.nav-brand-mark { width: 26px; height: 26px; color: var(--accent); }
.nav-brand-ait { color: inherit; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-mute); font-size: 0.95rem; font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav--dark .nav-links a { color: rgba(255, 255, 255, 0.62); }
.nav--dark .nav-links a:hover { color: #ffffff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-signin {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.9rem; font-weight: 500;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.nav-signin:hover { border-color: var(--line-2); }
.nav--dark .nav-signin { background: transparent; border-color: rgba(255, 255, 255, 0.22); color: #f5f5f4; }
.nav--dark .nav-signin:hover { border-color: rgba(255, 255, 255, 0.45); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: #111417;
  color: white;
  border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.3s, color 0.3s, transform 0.25s;
}
.nav-cta:hover { background: #26292e; transform: translateY(-1px); }
.nav--dark .nav-cta { background: #f5f5f4; color: #111417; }
.nav--dark .nav-cta:hover { background: #ffffff; }
@media (max-width: 840px) { .nav-links, .nav-signin { display: none; } }

/* ================== HERO — Attio-stílus, letisztult prémium ================== */
.hero {
  padding: clamp(30px, 5.5vw, 80px) 0 clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, var(--accent-tint), transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 60%, var(--accent-tint), transparent 60%),
    var(--bg);
  text-align: center;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-mute);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  margin: 0 auto 22px;
}
.hero-tagline::before,
.hero-tagline::after {
  content: '';
  display: block;
  width: 26px;
  height: 1px;
  background: var(--line-2);
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 2rem + 3.2vw, 4.4rem);   /* EGY folyamatos méret: 4,2rem → ~2,5rem (600px) → tovább csökken */
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 auto clamp(24px, 4vw, 40px);            /* a margó is folyamatos: 40 → 24 */
  max-width: 1200px;
  text-wrap: balance;
}
.hero h1 em { color: inherit; }
@media (min-width: 1900px) { .hero h1 { font-size: 4rem; } } /* hero-cím nagy képernyőn (egységes) */
/* Brand-játék: az I és T fordítva + halvány narancsban — az „AGENTIC" olvasat dominál,
   de a HTML-ben marad az AITGENTIC (SEO + felolvasók épségben) */
.brand-flip-i,
.brand-flip-t {
  display: inline-block;
  transform: rotate(180deg);
  color: var(--accent);
  opacity: 0.55;
}
.brand-flip-i { transform: rotate(180deg) scale(0.82); }
.hero-lead {
  font-size: clamp(1.0rem, 1.3vw, 1.2rem);
  color: var(--text-mute);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.45;
  font-weight: 400;
}
.hero-cta-row {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  background: var(--text);
  color: white;
  border: 1px solid var(--text);
  border-radius: 12px;
  font-weight: 500; font-size: 0.92rem;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #111827;
  border-color: #111827;
}
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  background: white;
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-weight: 500; font-size: 0.9rem;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--text); }
/* .hero-meta eltávolítva — Attio-style tisztább kép */

/* ---- Hero szöveg-váltó: 800px alatt rövidebb H1 + lead (desktop érintetlen) ---- */
.hero-h1-mobile, .hero-lead-mobile { display: none; }
@media (max-width: 900px) {
  .hero-h1-desktop, .hero-lead-desktop { display: none; }
  .hero-h1-mobile { display: inline; }
  .hero-lead-mobile { display: inline; }
}

/* ---- Hero CTA: desktop (>900px) = egyetlen gomb; mobil+tablet (<=900px) = email + Kuldj demot + Kapcsolat ---- */
.hero-cta-mobile { display: none; }
@media (max-width: 900px) {
  .hero-cta-desktop { display: none; }
  .hero-cta-row { display: block; width: 100%; }
  .hero-cta-mobile {
    display: flex; flex-direction: column; gap: 9px;
    width: 100%; max-width: 320px; margin: 0 auto;   /* szolid, nem teljes kepszelesseg */
  }
  .hero-mail {
    width: 100%; height: 46px;
    padding: 0 15px;
    background: white;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    font-family: var(--font-sans); font-size: 0.94rem;
    color: var(--text);
  }
  .hero-mail::placeholder { color: var(--text-faint); }
  .hero-mail:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--accent-tint); }
  .hero-mail.hero-mail-error { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,0.16); }
  .hero-cta-mobile .btn-primary {
    width: 100%; justify-content: center;
    min-height: 46px; padding: 11px 20px;
    border-radius: 12px;                 /* a mezovel egyezo lekerekites, nem pill */
    font-size: 0.94rem; gap: 0;
  }
  /* Kapcsolat = keret nelkuli szoveg-link + nyil (Attio "Talk to sales" logika) */
  .hero-contact-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 3px; padding: 8px;
    background: none; border: none; cursor: pointer;
    color: var(--text); font-family: var(--font-sans); font-weight: 500; font-size: 0.94rem;
  }
  .hero-contact-btn svg { width: 15px; height: 15px; transition: transform 0.2s; }
  .hero-contact-btn:hover svg { transform: translateX(3px); }
  /* a dashboard kerüljön közelebb a hero CTA alá (nincs mar felirat) */
  .dash-showcase { padding-top: 24px; }
}


/* ================== FULLWIDTH DASHBOARD ================== */
.dash-showcase {
  padding: 40px 0 clamp(20px, 7vw, 40px);
  position: relative;
  background:
    radial-gradient(ellipse 45% 35% at 12% 18%, rgba(225, 90, 48, 0.07), transparent 60%),
    radial-gradient(ellipse 45% 35% at 88% 82%, rgba(225, 90, 48, 0.07), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(225, 90, 48, 0.10) 1px, transparent 0),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  background-size: auto, auto, 26px 26px, auto;
}
.dash-frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
  position: relative;
}
.dash-window {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  height: clamp(640px, 84vh, 920px);
  display: flex; flex-direction: column;
  position: relative;
  /* SCROLL-TRAP javítás: a belső scroll-területek nem kapják el a wheel-t → mindig az oldal görget */
  pointer-events: none;
}
/* Widgetek KÍVÜL vannak dash-window-n, ott az interakció megmarad */
.dash-titlebar {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dot { width: 11px; height: 11px; border-radius: 50%; }
.dash-dot:nth-child(1) { background: #d6d3d0; }
.dash-dot:nth-child(2) { background: #d6d3d0; }
.dash-dot:nth-child(3) { background: #d6d3d0; }
.dash-url {
  margin-left: 8px; flex-grow: 1; max-width: 320px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* App body */
.app-body {
  flex-grow: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 224px 1fr;
}
@media (max-width: 900px) {
  .app-body { grid-template-columns: 60px 1fr; }
  .side-label, .side-title { display: none; }
  .side-item .ico { margin: 0; }
}
/* (A hero utáni dashboard MOBIL kezelése áthelyezve a fájl végére: lásd a „MOBIL-ONLY … mini dashboard-mockup" blokkot.
   A korábbi félkész, <=600px alatti dash-showcase kicsinyítő szabályok innen törölve — a mobil-mockup váltja fel őket.) */

/* Sidebar (fehér, valós dashboard-tükör) */
.side {
  background: white;
  border-right: 1px solid var(--line);
  padding: 20px 12px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.side-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 12px 8px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.side-title:hover { color: var(--text-mute); }
.side-title:first-of-type { padding-top: 4px; }
.side-title .caret {
  width: 12px; height: 12px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.side-group { display: flex; flex-direction: column; }
.side-group.collapsed .side-title .caret { transform: rotate(-90deg); }
.side-group.collapsed .side-item { display: none; }
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-mute);
  transition: background 0.2s, color 0.2s;
  margin-bottom: 2px;
  cursor: pointer;
}
.side-item:hover { background: rgba(0,0,0,0.03); color: var(--text); }
.side-item.active {
  background: var(--bg-tint);
  color: var(--text);
  font-weight: 600;
}
.side-item.active .ico { color: var(--accent); opacity: 1; }
.side-item .ico { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.9; }
.side-footer {
  margin-top: auto;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* Main content */
.main {
  overflow: hidden;
  display: flex; flex-direction: column;
  background: white;
}
.main-header {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: white;
}
.main-header-left {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.main-header-brand {
  display: inline-flex; align-items: center; gap: 8px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.main-header-brand svg { width: 18px; height: 18px; color: var(--accent); }
.main-header-title { color: var(--text-mute); font-weight: 400; }
.main-header-title strong { color: var(--text); font-weight: 600; }
.main-header-right {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-mute);
}
.ico-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
  position: relative;
}
.ico-btn:hover { background: var(--bg-tint); }
.ico-btn svg { width: 17px; height: 17px; }
.ico-btn.ai-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
}
.ico-btn.ai-btn:hover { transform: scale(1.05); }
.ico-btn.notif::after {
  content: '';
  position: absolute; top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--accent);
  border: 2px solid white;
  border-radius: 50%;
}

/* Toolbar (page-listhead stílus a valós dashboardból) */
.toolbar {
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(225, 90, 48, 0.04), white);
}
.toolbar-stat h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.toolbar-stat h2 .num {
  font-variant-numeric: tabular-nums;
}
.toolbar-stat .value {
  color: var(--text-mute);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.toolbar-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 500; font-size: 0.92rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(15, 23, 41, 0.12),
    0 4px 10px -4px var(--accent-glow);
}
.toolbar-cta:hover {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(15, 23, 41, 0.14),
    0 6px 14px -5px var(--accent-glow);
}
.toolbar-cta svg { width: 16px; height: 16px; }

/* Filter bar */
.filter-bar {
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.filter-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-mute);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.pill:hover { background: var(--bg-tint); }
.pill.active {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(15, 23, 41, 0.10), 0 3px 8px -3px var(--accent-glow);
}
.filter-tools { display: flex; align-items: center; gap: 8px; }
.search {
  width: 240px;
  padding: 8px 12px 8px 34px;
  background: var(--bg-tint);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.search-wrap { position: relative; }
.search-wrap::before {
  content: '';
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a92a4' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
}
@media (max-width: 700px) { .search { width: 130px; } }
.view-toggle {
  display: flex;
  background: var(--bg-tint);
  border-radius: 8px;
  padding: 3px;
}
.view-toggle button {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s;
}
.view-toggle button.active {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  box-shadow: 0 1px 2px rgba(15, 23, 41, 0.10), 0 3px 8px -3px var(--accent-glow);
}
.view-toggle button svg { width: 13px; height: 13px; }

/* Kanban board */
.board {
  flex-grow: 1; min-height: 0;
  padding: 20px 20px 28px;
  overflow: auto; /* egyesített scroll — az egész board görget, nem az egyes oszlopok */
  background: var(--bg-soft);
}
.board-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 14px;
  min-width: 900px;
  height: 100%;
  align-items: start;
}
/* mobil: a hero-dashboard Kanbanja törjön, hogy ne vágódjon le (tablet 2, mobil 1 oszlop) */
@media (max-width: 1200px) {
  .board-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
}
@media (max-width: 600px) {
  .board-cols { grid-template-columns: 1fr; }
}
.b-col {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
  display: flex; flex-direction: column;
  max-height: 100%;
}
/* oszlop-fejléc: fehér→halványszürke pill, mint az éles dashboardon */
.b-col-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #ffffff, #f5f4f2);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 999px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 3px 8px rgba(28, 25, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
/* színes pötty a fejléc elején (státusz szerint) */
.b-col-head::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0;
  background: var(--status-dot, #9ca3af);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-dot, #9ca3af) 14%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.b-col[data-status="draft"] { --status-dot: #9ca3af; }
.b-col[data-status="sent"]  { --status-dot: #3b82f6; }
.b-col[data-status="won"]   { --status-dot: #10b981; }
.b-col[data-status="lost"]  { --status-dot: #ef4444; }
.b-col-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1f2937;
}
.b-col-count {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 7px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.06);
  color: #6b7280;
  font-weight: 700; font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.b-col-cards {
  flex-grow: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.b-card {
  position: relative;
  padding: 15px;
  background: linear-gradient(180deg, #ffffff, #f7f6f4);
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 16px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 3px 6px rgba(0, 0, 0, 0.05),
    0 8px 18px rgba(28, 25, 23, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.b-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.05),
    0 6px 12px rgba(0, 0, 0, 0.07),
    0 16px 30px rgba(28, 25, 23, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.b-card.new {
  animation: cardIn 0.6s var(--ease);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.b-card-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1f2937;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.b-card-aj {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 2px;
}
.b-card-ceg {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 8px;
}
.b-card-amount {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1f2937;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.b-card-tags {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  margin-top: 4px; margin-bottom: 10px;
}
.b-card-tag {
  display: inline-flex; align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}
.b-card-tag.viewed { background: #dbeafe; color: #1e40af; }        /* Megtekintve → kék */
.b-card-tag.project-none { background: #f3f4f6; color: #374151; }  /* nincs projekt → semleges */
.b-card-tag.project-yes { background: #d1fae5; color: #065f46; }   /* Projekt ✓ → zöld */
.b-card-select {
  margin-top: 8px;
  padding: 7px 11px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #1f2937;
  display: flex; align-items: center; justify-content: space-between;
}
.b-card-select .caret {
  color: #9ca3af;
}

/* Toast notification */
.dash-toast {
  position: absolute;
  top: 80px;
  right: 24px;
  padding: 10px 14px;
  background: var(--dark-bg);
  color: white;
  border-radius: 10px;
  font-size: 0.82rem;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 32px -10px rgba(0,0,0,0.28);
  z-index: 30;
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  min-width: 220px;
  max-width: 280px;
}
.dash-toast.show { opacity: 1; transform: translateX(0); }
.dash-toast-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-toast-icon svg { width: 13px; height: 13px; }
.dash-toast-text strong {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 1px;
}
.dash-toast-text span {
  color: rgba(255,255,255,0.68);
  font-size: 0.72rem;
  font-family: var(--font-mono);
}

/* ================== FLOATING WIDGETS (Attio-style) ================== */
.floating-widget {
  position: absolute;
  z-index: 20;
  opacity: 0; /* GSAP fade + slide + float kezeli */
}

/* ---- AI CHAT WIDGET ---- */
.widget-chat {
  bottom: 40px;
  right: -220px;
  width: 300px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(16,24,40,0.24), 0 12px 24px -12px rgba(16,24,40,0.10);
  overflow: hidden;
  animation-delay: 0s;
}
.widget-head {
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.widget-head-avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px var(--accent-glow);
}
.widget-head-avatar svg { width: 16px; height: 16px; }
.widget-head-info { flex-grow: 1; min-width: 0; }
.widget-head-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.2;
}
.widget-head-status {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--good);
  display: flex; align-items: center; gap: 5px;
  margin-top: 1px;
  letter-spacing: 0.04em;
}
.widget-head-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px var(--good-soft);
}
.widget-chat-body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 148px;
  background: white;
}
.chat-bubble {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  max-width: 88%;
}
.chat-user {
  align-self: flex-end;
  background: var(--text);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-ai {
  align-self: flex-start;
  background: var(--bg-tint);
  color: var(--text);
  border-bottom-left-radius: 4px;
  min-height: 32px;
  min-width: 46px;
  display: flex; align-items: center;
}
.chat-typing {
  display: inline-flex; gap: 4px; align-items: center;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: chatDot 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.chat-cursor {
  display: inline-block;
  width: 2px; height: 0.9em;
  background: var(--text);
  vertical-align: -2px;
  margin-left: 1px;
  animation: cursorBlink 1s infinite;
}
@keyframes cursorBlink { 50% { opacity: 0; } }
.widget-chat-input {
  padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
  background: white;
  border-top: 1px solid var(--line);
}
.widget-chat-input-field {
  flex-grow: 1;
  font-size: 0.8rem;
  color: var(--text-faint);
  font-family: var(--font-sans);
}
.chat-send {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s;
  flex-shrink: 0;
}
.chat-send:hover { transform: scale(1.05); }
.chat-send svg { width: 13px; height: 13px; }

/* ---- PHONE PUSH WIDGET ---- */
.widget-phone {
  top: 120px;
  left: -200px;
  width: 220px;
  background: linear-gradient(180deg, #1a1d24, #12141a);
  border-radius: 34px;
  padding: 5px;
  border: 1px solid #2a2d38;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.42), 0 15px 30px -10px rgba(0,0,0,0.20);
  animation-delay: 2.3s;
}
.widget-phone-screen {
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(225, 90, 48, 0.10), transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(59, 130, 246, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff, #f1f3f6);
  border-radius: 28px;
  aspect-ratio: 9/17;
  padding: 46px 10px 20px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 6px;
}
.widget-phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 22px;
  background: #000;
  border-radius: 14px;
}
.widget-phone-topbar {
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  display: flex; justify-content: space-between; align-items: center;
  color: #1f2937;
  font-size: 0.66rem;
  z-index: 2;
}
.phone-time {
  font-family: var(--font-display);
  font-weight: 600;
}
.phone-signal { display: flex; gap: 3px; align-items: center; opacity: 0.9; }
.phone-signal svg { width: 12px; height: 8px; }
.widget-phone-notif {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 8px 10px;
  color: #1f2937;
  display: flex; align-items: flex-start; gap: 8px;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease);
}
.widget-phone-notif.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.widget-phone-notif.faded {
  opacity: 0.55;
  transform: scale(0.96);
  filter: blur(0.3px);
  padding: 6px 10px;
}
.widget-phone-notif.more-faded {
  opacity: 0.35;
  transform: scale(0.92);
  filter: blur(0.6px);
  padding: 5px 10px;
}
.phone-notif-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phone-notif-icon svg { width: 14px; height: 14px; }
.phone-notif-body { flex-grow: 1; min-width: 0; }
.phone-notif-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.62rem;
  margin-bottom: 1px;
  opacity: 0.7;
}
.phone-notif-head strong { font-weight: 600; font-size: 0.62rem; letter-spacing: 0.02em; text-transform: uppercase; }
.phone-notif-time { color: #9ca3af; font-family: var(--font-mono); }
.phone-notif-strong {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  margin-bottom: 1px;
  line-height: 1.25;
}
.phone-notif-text {
  display: block;
  color: #6b7280;
  font-size: 0.66rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.widget-phone-label {
  position: absolute;
  bottom: -24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
}
.widget-phone-newbadge {
  position: absolute;
  top: -12px; right: -18px;
  padding: 5px 12px 5px 10px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px -6px var(--accent-glow), 0 4px 10px -2px rgba(244,73,29,0.35);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  transform: rotate(4deg);
}
.widget-phone-newbadge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
  animation: newbadgePulse 1.4s infinite;
}
@keyframes newbadgePulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ---- Responsive: pull widgets inward, then hide ---- */
@media (max-width: 1600px) {
  .widget-chat { right: -120px; }
  .widget-phone { left: -110px; top: 115px; }
}
@media (max-width: 1400px) {
  .widget-chat { right: -40px; }
  .widget-phone { left: -40px; top: 110px; }
}
@media (max-width: 1200px) {
  .widget-chat { right: 10px; width: 280px; }
  .widget-phone { left: 10px; top: 100px; }
}
@media (max-width: 900px) {
  .floating-widget { display: none; }
}

/* ================== VIEW STACK (Ajánlatok ⇄ Kimutatások ⇄ Idővonal) ================== */
.view-stack {
  flex-grow: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: white;
}
.view {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.995);
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease), visibility 0.85s;
  transition-delay: 0s;
  overflow: hidden;
}
/* a bejövő nézet kicsit megvárja, míg a régi elhalványul -> lágy áttűnés */
.view.active { transition-delay: 0.3s; }
.view.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* view-switch indicator (3 pöttyös) */
.view-indicator {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 5;
  padding: 6px 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.view-indicator span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background 0.3s, width 0.3s;
}
.view-indicator span.on {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

/* ================== VIEW: KIMUTATÁSOK (Business Metrics) ================== */
.reports-toolbar {
  padding: 22px 28px 16px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line);
}
.reports-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.reports-sub {
  color: var(--text-mute);
  font-size: 0.88rem;
  max-width: 480px;
}
.reports-actions { display: flex; gap: 8px; flex-shrink: 0; }
.reports-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.reports-btn:hover { background: var(--bg-tint); border-color: var(--line-2); }
.reports-btn svg { width: 13px; height: 13px; }
.reports-btn.primary { background: var(--accent); color: white; border-color: var(--accent); }
.reports-btn.primary:hover { background: var(--accent-hot); }

.reports-body {
  flex-grow: 1; min-height: 0;
  padding: 22px 28px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
  background: var(--bg-soft);
}

/* ═══════════ KIMUTATÁSOK (rep2) — az éles dashboard szerint ═══════════ */
.rep2-head { display: flex; align-items: center; gap: 16px; }
.rep2-period { display: inline-flex; background: #efedea; border-radius: 999px; padding: 3px; gap: 2px; }
.rep2-period button { border: none; background: transparent; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; color: #78716c; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.rep2-period button.on { background: #ffffff; color: #1c1917; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }

.rep2-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rep2-kpi { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); }
.rep2-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.rep2-kpi-label { font-size: 0.8rem; color: #6b7280; font-weight: 500; }
.rep2-kpi-note { font-size: 0.72rem; color: #9ca3af; white-space: nowrap; }
.rep2-delta { font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.rep2-delta.up { background: #d1fae5; color: #065f46; }
.rep2-delta.down { background: #fee2e2; color: #991b1b; }
.rep2-delta.warn { background: #fef3c7; color: #92400e; }
.rep2-kpi-value { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; color: #1f2937; line-height: 1; white-space: nowrap; }
.rep2-kpi-value.pos { color: #10b981; }
.rep2-kpi-value.amber { color: #b45309; }

.rep2-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); }
.rep2-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rep2-card-title { font-size: 0.92rem; font-weight: 700; color: #1f2937; }
.rep2-card-foot { font-size: 0.76rem; color: #9ca3af; }
.rep2-card-foot b { color: #1f2937; }
.rep2-legend { display: inline-flex; gap: 14px; font-size: 0.74rem; color: #6b7280; }
.rep2-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rep2-legend i { width: 9px; height: 9px; border-radius: 50%; }

.rep2-funnel { display: flex; flex-direction: column; gap: 9px; }
.rep2-frow { display: grid; grid-template-columns: 150px 1fr 46px; align-items: center; gap: 14px; }
.rep2-flabel { font-size: 0.8rem; color: #6b7280; text-align: right; }
.rep2-ftrack { background: #f3f4f6; border-radius: 7px; height: 32px; }
.rep2-fbar { height: 32px; border-radius: 7px; display: flex; align-items: center; padding: 0 12px; color: #fff; font-weight: 700; font-size: 0.82rem; min-width: 30px; }
.rep2-fbar-0 { background: #e5e7eb; color: #9ca3af; }
.rep2-fpct { font-size: 0.76rem; color: #9ca3af; }

.rep2-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* mobil: a Kimutatások KPI-rácsa (4→2) és a két grafikon (2→1) törjön */
@media (max-width: 900px) {
  .rep2-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rep2-duo { grid-template-columns: 1fr; }
}

.rep2-line { width: 100%; height: 158px; display: block; }
.rep2-gl { stroke: #e5e7eb; stroke-width: 1; }
.rep2-area { fill: rgba(16, 185, 129, 0.1); stroke: none; }
.rep2-line-rev { fill: none; stroke: #10b981; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.rep2-line-exp { fill: none; stroke: #cbd5e1; stroke-width: 2.5; vector-effect: non-scaling-stroke; }

.rep2-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: 158px; padding: 0 2px; }
.rep2-bar { flex: 1; border-radius: 4px 4px 2px 2px; min-height: 4px; }
.rep2-bar.pos { background: #10b981; }
.rep2-bar.neg { background: #ef4444; }

.rep2-months { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.7rem; color: #9ca3af; }

.rep2-tops { display: flex; flex-direction: column; gap: 12px; }
.rep2-trow { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 14px; }
.rep2-tname { font-size: 0.8rem; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep2-ttrack { background: #f3f4f6; border-radius: 6px; height: 22px; overflow: hidden; }
.rep2-tfill { height: 100%; background: #3b82f6; border-radius: 6px; }
.rep2-tval { font-size: 0.78rem; font-weight: 650; color: #1f2937; white-space: nowrap; }

.rep2-donut-wrap { display: flex; align-items: center; gap: 24px; }
.rep2-donut { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
.rep2-donut svg { width: 100%; height: 100%; }
.rep2-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rep2-donut-center b { font-size: 1.05rem; font-weight: 700; color: #1f2937; }
.rep2-donut-center span { font-size: 0.66rem; color: #9ca3af; }
.rep2-donut-legend { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rep2-dl { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #6b7280; }
.rep2-dl i { width: 10px; height: 10px; border-radius: 3px; }
.rep2-dl b { margin-left: auto; color: #1f2937; }
.report-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.report-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.report-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.report-tag {
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 5px;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 4px;
}
.report-legend {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  color: var(--text-mute);
}
.report-legend span {
  display: inline-flex; align-items: center; gap: 5px;
}
.report-legend i {
  width: 10px; height: 10px;
  border-radius: 2px;
  display: inline-block;
}

/* Bar chart */
.chart-bar {
  flex-grow: 1;
  display: flex; align-items: flex-end;
  gap: 22px;
  padding: 14px 4px 0;
  min-height: 220px;
  position: relative;
}
.chart-bar-grid {
  position: absolute;
  inset: 0 0 22px 30px;
  display: flex; flex-direction: column-reverse;
  justify-content: space-between;
  pointer-events: none;
}
.chart-bar-grid span {
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  padding-left: 4px;
  transform: translateY(-50%);
}
.chart-bar-month {
  flex-grow: 1;
  display: flex; align-items: flex-end;
  gap: 4px;
  height: calc(100% - 22px);
  position: relative;
  z-index: 1;
}
.chart-bar-bar {
  flex-grow: 1;
  background: currentColor;
  border-radius: 4px 4px 0 0;
  min-width: 6px;
  transition: height 0.9s var(--ease);
  position: relative;
}
.chart-bar-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
  border-radius: inherit;
}
.chart-bar-label {
  position: absolute;
  bottom: 0; left: 30px; right: 0;
  display: flex; gap: 22px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.chart-bar-label span {
  flex-grow: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  text-align: center;
}

/* Donut chart */
.chart-donut {
  flex-grow: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-height: 220px;
}
.chart-donut svg {
  width: 220px; height: 220px;
  transform: rotate(-90deg);
}
.chart-donut-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.chart-donut-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}
.chart-donut-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.chart-donut-tooltip {
  position: absolute;
  right: -6px; top: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 10px 12px;
  font-size: 0.78rem;
  min-width: 180px;
  z-index: 2;
  animation: tipFloat 5s ease-in-out infinite;
}
@keyframes tipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.chart-donut-tooltip-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2px 0;
}
.chart-donut-tooltip-row + .chart-donut-tooltip-row { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.chart-donut-tooltip strong {
  font-weight: 600;
  color: var(--text);
  font-size: 0.75rem;
}
.chart-donut-tooltip span {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.chart-donut-tooltip .badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--good-soft);
  color: var(--good);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  margin-left: 6px;
}

/* ================== VIEW: ÜGYFÉLKEZELÉS IDŐVONAL ================== */
.tl-header {
  padding: 20px 28px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line);
}
.tl-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-mute);
  transition: background 0.2s;
}
.tl-back:hover { background: var(--bg-tint); }
.tl-back svg { width: 13px; height: 13px; }
.tl-person { flex-grow: 1; margin-left: 6px; }
.tl-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tl-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 6px;
  color: var(--text-mute);
  font-size: 0.88rem;
}
.tl-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-sans);
}
.tl-badge.lead { background: var(--blue-soft); color: var(--blue); }
.tl-badge.status { background: rgba(245, 158, 11, 0.14); color: #d97706; }
.tl-badge.link { background: var(--good-soft); color: var(--good); }
.tl-actions { display: flex; gap: 8px; flex-shrink: 0; }
.tl-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.tl-btn:hover { background: var(--bg-tint); border-color: var(--line-2); }
.tl-btn svg { width: 13px; height: 13px; }
.tl-btn.primary { background: var(--accent); color: white; border-color: var(--accent); }
.tl-btn.primary:hover { background: var(--accent-hot); }

.tl-tabs {
  display: inline-flex; gap: 4px;
  padding: 20px 28px 14px;
}
.tl-tab {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s, color 0.2s;
}
.tl-tab.active {
  background: var(--accent);
  color: white;
  font-weight: 500;
}
.tl-tab svg { width: 13px; height: 13px; }

.tl-body {
  flex-grow: 1; min-height: 0;
  padding: 14px 28px 24px;
  overflow-y: auto;
}
.tl-composer {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px 14px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.tl-composer-tabs {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid var(--line);
  margin: -4px -4px 14px;
}
.tl-composer-tab {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-mute);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-grow: 1;
  text-align: center;
}
.tl-composer-tab.active {
  color: var(--text);
  font-weight: 500;
  border-bottom-color: var(--accent);
}
.tl-composer-field {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.tl-composer-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 12px;
}
.tl-composer-row label {
  font-size: 0.75rem;
  color: var(--text-mute);
  display: block;
  margin-bottom: 4px;
}
.tl-composer-input {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
}
.tl-composer-submit {
  padding: 9px 18px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  float: right;
}
.tl-composer-submit svg { width: 14px; height: 14px; }
.tl-composer::after {
  content: '';
  display: block; clear: both;
}

.tl-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .tl-columns { grid-template-columns: 1fr; } }
.tl-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.tl-col-count {
  background: var(--bg-tint);
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 1px 8px;
  border-radius: 999px;
}

.tl-event {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.tl-event:last-child { border-bottom: 0; }
.tl-event-ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
}
.tl-event-ico svg { width: 15px; height: 15px; }
.tl-event-ico.email { background: #8b5cf6; }
.tl-event-ico.meet { background: var(--good); }
.tl-event-ico.call { background: var(--blue); }
.tl-event-ico.task { background: var(--accent); }
.tl-event-body { flex-grow: 1; min-width: 0; }
.tl-event-kind {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.tl-event-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 0.94rem;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.tl-event-desc {
  color: var(--text-mute);
  font-size: 0.83rem;
  line-height: 1.4;
  margin-bottom: 6px;
}
.tl-event-foot {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
}
.tl-event-foot svg { width: 11px; height: 11px; }
.tl-event-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  align-self: flex-start;
  padding-top: 2px;
  white-space: nowrap;
}
.tl-task {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 10px;
}
.tl-task-check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.tl-task-body { flex-grow: 1; min-width: 0; }
.tl-task-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 3px;
  display: flex; align-items: center; gap: 8px;
}
.tl-task-pill {
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
}
.tl-task-desc {
  color: var(--text-mute);
  font-size: 0.83rem;
  line-height: 1.4;
  margin-bottom: 6px;
}
.tl-task-foot {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
}
.tl-task-foot svg { width: 11px; height: 11px; }

/* ================== FEATURE SECTION — Nézd meg működés közben ================== */
/* ==== „MŰKÖDÉS KÖZBEN": DECK COVER-FLOW (pinned, kártya-érkezéskor belső animációk) ==== */
.feature-section {
  height: 560vh;
  padding: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
  position: relative;
}
.deck-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.deck-stage .feature-header {
  position: absolute;
  top: 7vh;
  left: 0; right: 0;
  margin: 0 auto;
  z-index: 50;
  pointer-events: none;
}
.deck-card {
  position: absolute;
  left: 50%; top: 54%;
  width: min(880px, 92vw);
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -35px rgba(15,18,22,0.30);
  display: grid;
  grid-template-columns: 5fr 6fr;
  min-height: 380px;
  will-change: transform, opacity, filter;
}
.deck-body {
  padding: 30px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.deck-body .kicker {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.deck-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin-bottom: 10px;
}
.deck-body p {
  color: var(--text-mute);
  font-size: 0.94rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.deck-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  border-left: 1px solid var(--line);
}
.deck-visual .sv-window { width: min(94%, 440px); }
/* modul-színek a deck-kártyákon */
.deck-sales .deck-visual { background: linear-gradient(135deg, #fff7ed, #fed7aa); }
.deck-sales .kicker { background: rgba(225,90,48,0.10); color: #e15a30; }
.deck-org .deck-visual { background: linear-gradient(135deg, #eef2ff, #dbeafe); }
.deck-org .kicker { background: rgba(99,102,241,0.10); color: #6366f1; }
.deck-hr .deck-visual { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.deck-hr .kicker { background: rgba(16,185,129,0.10); color: #10b981; }
.deck-prod .deck-visual { background: linear-gradient(135deg, #faf5ff, #f3e8ff); }
.deck-prod .kicker { background: rgba(168,85,247,0.10); color: #a855f7; }
.deck-ai .deck-visual { background: linear-gradient(135deg, #0f172a, #1e293b); }
.deck-ai .kicker { background: rgba(103,232,249,0.12); color: #0891b2; }
.deck-dots {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 50;
}
.deck-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  transition: all 0.3s;
}
.deck-dots span.on { background: var(--accent); width: 20px; border-radius: 3px; }
@media (max-width: 900px) {
  .deck-card { grid-template-columns: 1fr; min-height: auto; top: 50%; }
  .deck-visual { border-left: 0; border-top: 1px solid var(--line); }
}
/* — belső animációk hook-jai — */
#dcSalesNew, #dcSalesDst { opacity: 0; }           /* új lead + átkerülő kártya rejtve indul */
.deck-ai .sv-msg { opacity: 0; transform: translateY(6px); } /* chat-üzenetek rejtve */
.sv-card.did { opacity: 0.55; }
.sv-done-btn.did { background: var(--good); color: white; border-color: var(--good); }
.deck-prod .sv-step i { transition: all 0.35s; }
.deck-prod .sv-step small { opacity: 0; transition: opacity 0.3s; }
.deck-prod .sv-step.done small, .deck-prod .sv-step.cur small { opacity: 1; }
/* SVG háttér-görbék (2 db, idővonal-szerű csíkok) — MINDIG a tartalom mögött */
.feature-bg-curves {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.feature-bg-curves path {
  vector-effect: non-scaling-stroke;
}
/* Csak a NEM-svg direkt-gyerekek kapnak z-index: 1 (görbék marad 0-n) */
.feature-sticky > .container,
.feature-sticky > .feature-panels { position: relative; z-index: 1; }
/* Split-card carousel — színpaletta a modul-tokenekhez */
.split-card {
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(15,18,22,0.15);
  background: white;
  position: relative;
}
.split-nav {
  display: flex;
  padding: 16px 26px 0;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  background: white;
  overflow-x: auto;
  scrollbar-width: none;
}
.split-nav::-webkit-scrollbar { display: none; }
.split-nav-btn {
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--text-mute);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: -1px;
}
.split-nav-btn:hover { color: var(--text); }
.split-nav-btn.on {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.split-nav-btn svg { width: 15px; height: 15px; }
.split-body {
  min-height: 440px;
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: stretch;
  transition: background 0.4s ease;
}
.split-content {
  padding: 40px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-content .kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  align-self: flex-start;
  transition: background 0.4s, color 0.4s;
}
.split-content h4 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
  text-wrap: balance;
}
.split-content p {
  color: var(--text-mute);
  line-height: 1.55;
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 480px;
}
.split-subs {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  list-style: none;
}
.split-subs li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.94rem;
  color: var(--text);
}
.split-subs svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: color 0.4s;
}
.split-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--text);
  color: white;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}
.split-cta:hover { background: var(--accent); }
.split-cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.split-cta:hover svg { transform: translateX(3px); }

.split-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  border-left: 1px solid var(--line);
  position: relative;
  transition: background 0.4s ease;
  background: var(--bg-soft);
}
/* Csak a KÖZVETLEN gyerek svg-re (legacy absztrakt illusztráció) —
   a mini-mockupok belső ikonjaira NEM szabad ráragadnia */
.split-visual > svg {
  width: 82%; height: auto; max-height: 90%;
}

/* ---- Split-visual MINI-MOCKUPOK (igazi termék-előnézetek) ---- */
.sv-window {
  width: min(88%, 420px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 40px -20px rgba(15,18,22,0.18);
  overflow: hidden;
  font-family: var(--font-sans);
}
.sv-bar {
  padding: 8px 12px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 5px;
}
.sv-bar i {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.sv-bar i:nth-child(1) { background: #ff5f56; }
.sv-bar i:nth-child(2) { background: #ffbd2e; }
.sv-bar i:nth-child(3) { background: #27c93f; }
.sv-body { padding: 14px 16px; }
.sv-h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.sv-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}
.sv-cta {
  padding: 4px 10px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 500;
}
.sv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sv-col {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px;
}
.sv-col-t {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--line-2);
  margin-bottom: 6px;
}
.sv-col[data-c="sent"] .sv-col-t { border-color: var(--blue); }
.sv-col[data-c="won"] .sv-col-t { border-color: var(--good); }
.sv-col[data-c="new"] .sv-col-t { border-color: #8b5cf6; }
.sv-col[data-c="need"] .sv-col-t { border-color: #06b6d4; }
.sv-col[data-c="offer"] .sv-col-t { border-color: var(--accent); }
.sv-card .sv-pill { display: inline-block; margin-top: 3px; }
.sv-card .sv-pill.top { margin: 0 0 4px; }
/* mini KPI-kártyasor (HR) */
.sv-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.sv-kpi {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
}
.sv-kpi span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.sv-kpi b {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
}
.sv-kpi b.hot { color: var(--accent); }
.sv-done-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 8px;
  border: 1px solid rgba(16,185,129,0.35);
  color: #059669;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-style: normal;
  white-space: nowrap;
}
.sv-col[data-c="today"] .sv-col-t { border-color: var(--accent); color: var(--accent); }
.sv-col[data-c="tomorrow"] .sv-col-t { border-color: var(--blue); }
.sv-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 7px;
  margin-bottom: 5px;
}
.sv-card b {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text);
}
.sv-card span {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-faint);
}
.sv-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--text);
}
.sv-row:last-child { border-bottom: 0; }
.sv-check {
  width: 13px; height: 13px;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
}
.sv-check.on {
  background: var(--good);
  border-color: var(--good);
}
.sv-check.on::after {
  content: '✓';
  color: white;
  font-size: 0.55rem;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
}
.sv-row .grow { flex-grow: 1; min-width: 0; }
.sv-row .done { color: var(--text-faint); text-decoration: line-through; }
.sv-pill {
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  flex-shrink: 0;
}
.sv-pill.ok { background: var(--good-soft); color: var(--good); }
.sv-pill.warn { background: rgba(245,158,11,0.14); color: #d97706; }
.sv-pill.crit { background: var(--accent-soft); color: var(--accent); }
.sv-pill.blue { background: var(--blue-soft); color: var(--blue); }
.sv-capbar {
  flex-grow: 1;
  height: 7px;
  background: var(--bg-tint);
  border-radius: 999px;
  overflow: hidden;
}
.sv-capbar i {
  display: block; height: 100%;
  background: var(--good);
  border-radius: 999px;
}
.sv-capbar i.hot { background: var(--accent); }
/* mini életút-stepper (projekt) — a valós dashboard-stepper kicsinyített mása */
.sv-steps {
  display: flex;
  margin: 8px 0 12px;
}
.sv-step {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 0;
}
.sv-step + .sv-step::before {
  content: '';
  position: absolute;
  top: 10px; left: -50%;   /* a 22px-es kör függőleges közepén fut */
  width: 100%; height: 2px;
  background: var(--line);
  z-index: 0;
}
.sv-step.done + .sv-step.done::before,
.sv-step.done + .sv-step.cur::before { background: var(--good); }
.sv-step i {
  position: relative;
  z-index: 1;
  display: flex;            /* block-flex: nincs inline line-box eltolódás */
  margin: 0 auto;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--line-2);
  color: var(--text-faint);
  font-style: normal;
  font-size: 0.56rem;
  font-weight: 700;
  box-shadow: 0 0 0 3px #eef0f3;  /* világosszürke gyűrű, mint az élesben */
}
.sv-step.done i {
  background: var(--good);
  border-color: var(--good);
  color: white;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.14);
}
.sv-step.cur i {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  border-color: transparent;
  color: white;
  box-shadow: 0 0 0 4px rgba(225,90,48,0.16);
}
.sv-step span {
  display: block;
  margin-top: 5px;
  font-size: 0.54rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-step small {
  display: block;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 0.46rem;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.sv-step.cur small { color: var(--accent); font-weight: 500; }
.sv-step:not(.done):not(.cur) span { color: var(--text-faint); font-weight: 500; }
/* szekció-felirat a mini-mockupon belül */
.sv-sec {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 10px 0 2px;
}
.sv-doc-ico {
  width: 12px; height: 12px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.sv-chat { display: flex; flex-direction: column; gap: 6px; }
.sv-msg {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.68rem;
  line-height: 1.35;
  max-width: 85%;
}
.sv-msg.user {
  align-self: flex-end;
  background: var(--text);
  color: white;
  border-bottom-right-radius: 3px;
}
.sv-msg.ai {
  align-self: flex-start;
  background: var(--bg-tint);
  color: var(--text);
  border-bottom-left-radius: 3px;
}
.sv-msg.ai b { color: var(--accent); }
.sv-window.dark { background: #1a2332; border-color: rgba(255,255,255,0.10); }
.sv-window.dark .sv-bar { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.sv-window.dark .sv-title { color: white; }
.sv-window.dark .sv-msg.ai { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.92); }
.sv-window.dark .sv-msg.ai b { color: #67e8f9; }
.sv-window.dark .sv-msg.user { background: #67e8f9; color: #0f172a; }

/* Progress dots */
.split-dots {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 5;
}
.split-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
}
.split-dots span.on { background: var(--accent); width: 22px; border-radius: 3px; }

@media (max-width: 900px) {
  .split-body { grid-template-columns: 1fr; min-height: auto; }
  .split-visual { border-left: none; border-top: 1px solid var(--line); aspect-ratio: 4/3; }
  .split-content { padding: 30px 24px; }
}
.feature-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(30px, 4vw, 48px);
}
.feature-eyebrow {
  display: inline-block;
  font-family: var(--font-inter);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 100px;
  text-wrap: balance;
}
.feature-title em { color: inherit; }
.feature-sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-mute);
  line-height: 1.5;
}

/* Tab bar */
.feature-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin: 0 auto 46px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-tabs-wrap { text-align: center; }
.feature-tab {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-mute);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.25s, color 0.25s;
  font-family: var(--font-display);
  cursor: pointer;
}
.feature-tab:hover { color: var(--text); background: var(--bg-tint); }
.feature-tab.active {
  background: var(--text);
  color: white;
}
.feature-tab.active:hover { background: var(--text); color: white; }
.feature-tab svg { width: 15px; height: 15px; }

/* Panels — HORIZONTAL TRACK (GSAP scrub-tied) */
.feature-panels {
  display: flex;
  width: max-content;
  max-width: none;
  height: 100%;
  flex-grow: 1;
  min-height: 0;
  align-items: center;
  margin: 0;
  will-change: transform;
}
.feature-panel {
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  padding: 0 clamp(50px, 8vw, 180px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: center;
  opacity: 1;         /* mindig látható a track-ben */
  visibility: visible;
  transform: none;
  position: relative;
  inset: auto;
}
.feature-panel.active { z-index: 1; }
@media (max-width: 900px) {
  .feature-panel { grid-template-columns: 1fr; padding: 0 24px; }
}

/* Info panel */
.feature-info-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feature-info-eyebrow i {
  width: 6px; height: 6px;
  background: var(--text-faint);
  border-radius: 50%;
}
.feature-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}
.feature-info h3 em { color: inherit; }
.feature-info-lead {
  color: var(--text-mute);
  font-size: 1.03rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.feature-bullets {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.feature-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}
.feature-bullets li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--text-mute);
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.45;
  width: 14px;
  text-align: left;
}
.feature-info-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 0.98rem;
  padding: 12px 22px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.feature-info-link:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}
.feature-info-link svg { transition: transform 0.2s; width: 15px; height: 15px; }
.feature-info-link:hover svg { transform: translateX(3px); }

/* Visual panel — mini dashboard */
.feature-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  height: 480px;
  display: flex;
  flex-direction: column;
}
.fv-bar {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex; align-items: center; gap: 10px;
}
.fv-dots { display: flex; gap: 5px; }
.fv-dot { width: 9px; height: 9px; border-radius: 50%; }
.fv-dot:nth-child(1) { background: #ff5f56; }
.fv-dot:nth-child(2) { background: #ffbd2e; }
.fv-dot:nth-child(3) { background: #27c93f; }
.fv-url {
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  max-width: 260px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-left: 6px;
}
.fv-body {
  flex-grow: 1; min-height: 0;
  padding: 20px 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  background: white;
}
.fv-h {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.fv-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.015em;
}
.fv-title-sub {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.fv-cta {
  padding: 6px 12px;
  background: var(--accent);
  color: white;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.fv-cta svg { width: 12px; height: 12px; }

/* Mini kanban */
.fv-mini-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex-grow: 1;
  min-height: 0;
}
.fv-mk-col {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex; flex-direction: column;
  min-height: 0;
}
.fv-mk-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
}
.fv-mk-col[data-c="draft"] .fv-mk-head { border-color: #94a3b8; }
.fv-mk-col[data-c="sent"] .fv-mk-head { border-color: var(--blue); }
.fv-mk-col[data-c="won"] .fv-mk-head { border-color: var(--good); }
.fv-mk-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 400;
}
.fv-mk-cards { display: flex; flex-direction: column; gap: 6px; }
.fv-mk-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
}
.fv-mk-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 2px;
}
.fv-mk-ceg {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.fv-mk-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* Client card + timeline */
.fv-client-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.fv-client-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}
.fv-client-info { flex-grow: 1; min-width: 0; }
.fv-client-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.fv-client-meta {
  color: var(--text-mute);
  font-size: 0.78rem;
  display: flex; gap: 6px; align-items: center;
  margin-top: 3px;
  flex-wrap: wrap;
}
.fv-client-badge {
  padding: 2px 8px;
  font-size: 0.68rem;
  border-radius: 999px;
  font-family: var(--font-sans);
}
.fv-client-badge.lead { background: var(--blue-soft); color: var(--blue); }
.fv-client-badge.won { background: var(--good-soft); color: var(--good); }
.fv-tl-list {
  display: flex; flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}
.fv-tl-event {
  display: flex; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.fv-tl-event:last-child { border-bottom: 0; }
.fv-tl-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fv-tl-ico svg { width: 13px; height: 13px; }
.fv-tl-ico.email { background: #8b5cf6; }
.fv-tl-ico.call { background: var(--blue); }
.fv-tl-ico.meet { background: var(--good); }
.fv-tl-body { flex-grow: 1; min-width: 0; }
.fv-tl-kind {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fv-tl-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--text);
  margin: 2px 0;
}
.fv-tl-desc {
  color: var(--text-mute);
  font-size: 0.76rem;
  line-height: 1.42;
}
.fv-tl-date {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  padding-top: 3px;
  white-space: nowrap;
}

/* Production table */
.fv-prod-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: white;
}
.fv-prod-row {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.9fr;
  gap: 10px;
  padding: 10px 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.fv-prod-row:last-child { border-bottom: 0; }
.fv-prod-row.head {
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.fv-prod-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
}
.fv-prod-qty {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-mute);
}
.fv-prod-status {
  padding: 2px 8px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  justify-self: start;
}
.fv-prod-status.ok { background: var(--good-soft); color: var(--good); }
.fv-prod-status.low { background: rgba(245,158,11,0.14); color: #d97706; }
.fv-prod-status.crit { background: var(--accent-soft); color: var(--accent); }
.fv-prod-progress {
  margin-top: auto;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 8px;
  border: 1px solid var(--line);
}
.fv-prod-progress-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.fv-prod-progress-head strong { color: var(--text); font-family: var(--font-display); }
.fv-prod-progress-head span { color: var(--text-mute); font-family: var(--font-mono); font-size: 0.76rem; }
.fv-prod-bar {
  height: 8px;
  background: var(--bg-tint);
  border-radius: 999px;
  overflow: hidden;
}
.fv-prod-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  border-radius: 999px;
}

/* Finance KPI + bar chart */
.fv-fin-kpis {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.fv-fin-kpi {
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.fv-fin-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fv-fin-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.fv-fin-value span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-mute);
  font-weight: 400;
}
.fv-fin-delta {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.72rem;
  margin-top: 4px;
  font-weight: 500;
}
.fv-fin-delta.up { color: var(--good); }
.fv-fin-delta.down { color: var(--accent); }
.fv-fin-delta svg { width: 10px; height: 10px; }
.fv-fin-chart {
  flex-grow: 1;
  min-height: 0;
  padding: 14px 16px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; flex-direction: column;
}
.fv-fin-chart-h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.fv-fin-chart-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
}
.fv-fin-chart-legend {
  display: flex; gap: 10px;
  font-size: 0.7rem;
  color: var(--text-mute);
}
.fv-fin-chart-legend span {
  display: inline-flex; align-items: center; gap: 4px;
}
.fv-fin-chart-legend i {
  width: 8px; height: 8px;
  border-radius: 2px;
}
.fv-fin-chart-body {
  display: flex; align-items: flex-end;
  gap: 10px;
  flex-grow: 1;
  min-height: 100px;
}
.fv-fin-month {
  flex-grow: 1;
  display: flex; align-items: flex-end;
  gap: 3px;
  height: 100%;
}
.fv-fin-bar {
  flex-grow: 1;
  border-radius: 3px 3px 0 0;
  min-width: 6px;
}
.fv-fin-labels {
  display: flex; gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.fv-fin-labels span {
  flex-grow: 1;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  text-align: center;
}

/* AI Chat panel */
.fv-ai-body {
  flex-grow: 1;
  min-height: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: 10px;
}
.fv-ai-msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.45;
  max-width: 82%;
}
.fv-ai-msg.user {
  align-self: flex-end;
  background: var(--text);
  color: white;
  border-bottom-right-radius: 4px;
}
.fv-ai-msg.ai {
  align-self: flex-start;
  background: var(--bg-tint);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.fv-ai-msg strong { font-weight: 600; color: var(--accent); }
.fv-ai-quote {
  color: var(--text-mute);
  font-size: 0.82rem;
  margin-top: 6px;
  display: block;
  padding-left: 10px;
  border-left: 2px solid var(--line-2);
}
.fv-ai-input {
  margin-top: auto;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  display: flex; align-items: center; gap: 8px;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.fv-ai-input .send {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
}
.fv-ai-input .send svg { width: 12px; height: 12px; }

/* Feature auto-progress bar */
.feature-progress {
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  margin-top: 22px;
  overflow: hidden;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.feature-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width linear;
  border-radius: 999px;
}

/* ================== CASE STUDY SECTION — Esettanulmány (Nívó Bútor) ================== */
.case-section {
  padding: clamp(90px, 11vw, 150px) 0 clamp(100px, 12vw, 170px);
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.case-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, var(--accent-tint), transparent 60%);
  pointer-events: none;
}
.case-section > .container { position: relative; z-index: 1; }

.case-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(46px, 5vw, 66px);
}

/* Card */
.case-card {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: stretch;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: clamp(36px, 4vw, 52px);
}
@media (max-width: 900px) {
  .case-card { grid-template-columns: 1fr; }
}
.case-content {
  padding: clamp(30px, 3.5vw, 48px) clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column;
}

.case-brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.case-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2d38, #0f1216);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.case-brand-info { flex-grow: 1; }
.case-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.case-brand-meta {
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-top: 3px;
}
.case-status {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: transparent;
  display: inline-block;
}

.case-story h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
  text-wrap: balance;
}
.case-story h3 em { color: inherit; }
.case-story p {
  color: var(--text-mute);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.case-beforeafter {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  margin: 8px 0 22px;
  align-items: stretch;
}
.case-ba {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.case-ba-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.case-ba-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.35;
}
.case-ba.after {
  background: var(--accent-soft);
  border-color: rgba(244,73,29,0.20);
}
.case-ba.after .case-ba-text { color: var(--accent-dark); }
.case-ba-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
}
.case-ba-arrow svg { width: 18px; height: 18px; }

.case-modules {
  margin-bottom: 26px;
}
.case-modules-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-modules-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.case-module {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 0.87rem;
  color: var(--text);
}
.case-module::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--text-mute);
  font-weight: 600;
  font-size: 0.95em;
}

.case-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-bottom: 22px;
}
.case-metric {
  text-align: center;
}
.case-metric-num {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.case-metric-num em { color: inherit; font-size: 0.9em; }
.case-metric-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-top: 5px;
  line-height: 1.35;
}

.case-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 12px 20px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  align-self: flex-start;
  transition: border-color 0.2s, transform 0.15s;
}
.case-cta:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}
.case-cta svg { transition: transform 0.2s; width: 15px; height: 15px; }
.case-cta:hover svg { transform: translateX(3px); }

/* Right visual — mini dashboard preview */
.case-visual {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg-tint));
  border-left: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-height: 480px;
}
@media (max-width: 900px) {
  .case-visual { border-left: 0; border-top: 1px solid var(--line); min-height: 380px; }
}
.case-visual-mockup {
  width: 100%;
  max-width: 480px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  max-height: 460px;
}
.cv-bar {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex; align-items: center; gap: 8px;
}
.cv-dots { display: flex; gap: 4px; }
.cv-dot { width: 8px; height: 8px; border-radius: 50%; }
.cv-dot:nth-child(1) { background: #ff5f56; }
.cv-dot:nth-child(2) { background: #ffbd2e; }
.cv-dot:nth-child(3) { background: #27c93f; }
.cv-url {
  padding: 3px 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  max-width: 240px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-left: 4px;
}
.cv-body {
  padding: 18px 20px;
  flex-grow: 1; min-height: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.cv-h {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.cv-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.cv-title-sub {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  margin-top: 2px;
}
.cv-badge {
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cv-task-list {
  display: flex; flex-direction: column;
  gap: 8px;
  flex-grow: 1; min-height: 0;
}
.cv-task {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cv-task-check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  background: white;
  display: flex; align-items: center; justify-content: center;
}
.cv-task.done .cv-task-check {
  background: var(--good);
  border-color: var(--good);
  color: white;
}
.cv-task.done .cv-task-check::after {
  content: '✓';
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
}
.cv-task-body { flex-grow: 1; min-width: 0; }
.cv-task-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.cv-task.done .cv-task-title {
  color: var(--text-faint);
  text-decoration: line-through;
}
.cv-task-meta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
}
.cv-task-pill {
  padding: 1px 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
}
.cv-task-pill.blue { background: var(--blue-soft); color: var(--blue); }

/* Partner strip */
.case-partners {
  display: flex; align-items: center; gap: 22px;
  padding-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.case-partners-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.case-partners-strip {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.case-partner {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: border-color 0.2s;
}
.case-partner:hover { border-color: var(--line-2); }
.case-partner.pending {
  border-style: dashed;
  color: var(--text-faint);
  font-weight: 500;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 6px;
}
.case-partner.pending::before {
  content: '+';
  color: var(--text-faint);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
}

/* ================== BENTO SECTION — Miért mi ================== */
.bento-section {
  padding: clamp(90px, 11vw, 150px) 0 clamp(100px, 12vw, 170px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.bento-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 30% at 12% 24%, var(--accent-tint), transparent 60%),
    radial-gradient(ellipse 32% 32% at 88% 82%, var(--accent-tint), transparent 60%);
  pointer-events: none;
}
.bento-section > .container { position: relative; z-index: 1; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .bento-tile.big { grid-column: span 2 !important; grid-row: span 2 !important; }
  .bento-tile.wide { grid-column: span 2 !important; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-tile.big, .bento-tile.wide { grid-column: span 1 !important; grid-row: span 1 !important; }
  .bento-tile { min-height: 220px; }
}

.bento-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.bento-tile:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.bento-tile.big {
  grid-column: span 2;
  grid-row: span 2;
  padding: 34px 36px;
  background:
    radial-gradient(ellipse 60% 40% at 100% 100%, var(--accent-tint), transparent 65%),
    linear-gradient(135deg, white 0%, var(--bg-warm) 100%);
}
.bento-tile.wide {
  grid-column: span 2;
  padding: 26px 30px;
}

.bento-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--dark-bg);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.bento-icon svg { width: 20px; height: 20px; }
.bento-tile.big .bento-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 10px 24px -6px var(--accent-glow);
  border-radius: 14px;
}
.bento-tile.big .bento-icon svg { width: 26px; height: 26px; }

.bento-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.bento-tile.big .bento-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.bento-tile.big .bento-title em { color: inherit; }
.bento-tile.wide .bento-title {
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.bento-tile.wide .bento-title em { color: inherit; }

.bento-desc {
  color: var(--text-mute);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 14px;
}
.bento-tile.big .bento-desc {
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 92%;
  margin-bottom: 20px;
}

/* BIG tile inner mockup (mini chat) */
.bento-big-visual {
  margin-top: auto;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 6px;
}
.bento-chat-msg {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 85%;
}
.bento-chat-msg.user {
  background: var(--text);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.bento-chat-msg.ai {
  background: var(--bg-tint);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.bento-chat-msg strong { color: var(--accent); font-weight: 600; }

/* Wide tile inner comparison */
.bento-wide-visual {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  flex-wrap: wrap;
}
.bento-wide-logos {
  display: flex; gap: 6px;
  flex-wrap: wrap;
}
.bento-wide-logo {
  padding: 6px 10px;
  background: var(--bg-tint);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  position: relative;
  text-decoration: line-through;
  text-decoration-color: rgba(244,73,29,0.7);
  text-decoration-thickness: 1.5px;
  letter-spacing: 0.02em;
}
.bento-wide-arrow {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}
.bento-wide-final {
  padding: 7px 14px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 16px -4px var(--accent-glow);
}

/* Agent-feed visual (WIDE tile) */
.bento-agent-feed {
  margin-top: auto;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  gap: 10px;
}
.bento-agent-msg {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}
.bento-agent-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
}
.bento-agent-ico svg { width: 13px; height: 13px; }
.bento-agent-msg.voice .bento-agent-ico { background: var(--text); }
.bento-agent-msg.done .bento-agent-ico { background: var(--good); }
.bento-agent-body { flex-grow: 1; min-width: 0; }
.bento-agent-from {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.bento-agent-msg.done .bento-agent-from { color: var(--good); }
.bento-agent-text {
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.4;
}
.bento-agent-text strong { color: var(--accent); font-weight: 600; }
.bento-agent-text .kicsi {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-left: 4px;
}


/* ================== KITÉRŐ 1 — Sötét horizont (Alapelv) ================== */
.hz-section { position: relative; background: #0a0a0c; }
.hz-track { position: relative; height: 120vh; }
.hz-stage {
  position: sticky; top: 0;
  height: 86vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.hz-section .hz-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 84px);
  z-index: 1;
}
.hz-streak {
  position: absolute;
  width: 1px; height: 130px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  z-index: 1; top: 0; opacity: 0;
}
.hz-streak.warm { background: linear-gradient(180deg, transparent, rgba(255, 120, 70, 0.65), transparent); }
.hz-inner { position: relative; z-index: 3; text-align: center; padding: 0 32px; transform: translateY(-130px); }
.hz-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}
.hz-title {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #f8f8f7;
  line-height: 1.02;
  text-wrap: balance;
}
.hz-arc-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 44vh; }
.hz-arc-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hz-cols {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #0a0a0c;
  max-width: 1240px;
  margin: 0 auto;
}
.hz-col { padding: 34px 26px 44px; border-left: 1px solid rgba(255, 255, 255, 0.09); }
.hz-col:first-child { border-left: none; }
.hz-col .ic {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 46px;
}
.hz-col .ic svg { width: 16px; height: 16px; stroke: #a8a29e; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hz-col h4 { font-size: 1.2rem; font-weight: 600; color: #fafaf9; margin-bottom: 8px; }
.hz-col p { font-size: 0.82rem; color: #78716c; line-height: 1.55; }
/* 1200px alatt: KOMPAKT hero — kevés FEKETE a cím felett + az ív KÖZVETLENÜL a cím alatt.
   Folyó elrendezés (nincs pin-scrub); a hero rágörgetéskor rajzolódik ki (JS IntersectionObserver).
   TUNOLHATÓ: .hz-stage padding-top (fekete a cím felett), .hz-arc-wrap width/height/margin-top (ív laposság + rés). */
@media (max-width: 1200px) {
  .hz-track { height: auto; }
  .hz-stage {
    position: relative; height: auto;
    justify-content: flex-start;
    /* a FEKETE a cím felett (padding-top) töréspontonként a lenti KNOB-blokkban állítható */
  }
  .hz-inner { transform: none; }
  .hz-arc-wrap {
    position: relative; left: auto; right: auto; bottom: auto; transform: none;
    width: 100%;                       /* tele szélesség, mint desktopon (végpontok a képernyő szélén) */
    height: 28vw;                      /* <-- ÍV-GÖRBÜLET KNOB: a 28vw visszaadja a desktop (>1200px) görbületét (rise/width≈0.17).
                                          NAGYOBB vw = domborúbb ív, KISEBB = laposabb. (vw-alapú -> minden méreten egyforma görbület) */
    margin-top: clamp(40px, 9vw, 72px); /* rés a cím és az ív között (mobilon a cím ne tapadjon az ívre) */
  }
}
/* 1000px alatt: a feature-oszlopok STACK + KÖZÉPRE igazitva (mint az Attio mobil) */
@media (max-width: 1000px) {
  .hz-cols { grid-template-columns: 1fr; }
  .hz-col {
    border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.09);
    text-align: center; padding: 30px 26px;
  }
  .hz-col .ic { margin-left: auto; margin-right: auto; margin-bottom: 16px; }
}

/* SMOOTH verzió — a 6 töréspont helyett folyamatos, 430 alatt is tovább csökken */
@media (max-width: 1200px) {
  .hz-title { font-size: clamp(1.9rem, 0.8rem + 5.3vw, 5rem); }
  .hz-stage { padding-top: clamp(48px, 20px + 7.8vw, 114px); }
}

/* ================== KITÉRŐ 2 — Veled nő (sötét, teljes-szélességű görbe) ================== */
.grow-section {
  position: relative;
  background: #0a0a0c;
  overflow: hidden;
  min-height: 720px;
}
.grow-section .grow-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 84px);
  z-index: 1;
}
.grow-curve { position: absolute; inset: 0; z-index: 2; }
.grow-curve svg { width: 100%; height: 100%; }
.grow-inner {
  position: relative; z-index: 3;
  max-width: 1240px; margin: 0 auto;
  padding: 84px 40px 170px;
}
.grow-copy { max-width: 480px; }
.grow-pill {
  display: inline-block;
  font-size: 0.74rem; font-weight: 600;
  color: #ff9a6e;
  background: rgba(255, 100, 50, 0.13);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.grow-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 3.3vw, 3.8rem);   /* FOLYAMATOSAN csökken mobilon is (nem ragad be) */
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}
.grow-title span { color: #b3bac4; }
.grow-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 44px; margin-top: 54px; }
.grow-stat { border-left: 2px solid rgba(255, 255, 255, 0.16); padding-left: 18px; }
.grow-stat .v {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 0.8rem + 2.4vw, 2.6rem); font-weight: 800; line-height: 1.1;   /* fluid, mobilon kisebb */
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.grow-stat .l { display: block; font-size: clamp(0.78rem, 0.6rem + 0.7vw, 0.92rem); color: #aab1bb; margin-top: 4px; }
@media (max-width: 900px) {
  .grow-curve { opacity: 0.45; }
}
@media (max-width: 1200px) {
  /* 1200px-TŐL LEFELE: a görbe a szöveg alatt, a sáv magassága ~320px (nem túl magas -> kevés üres hely).
     A vonal ugyanolyan VASTAG (non-scaling-stroke = 2.5px screen, nem vékonyodik el a nyomottságtól) és FÉNYES
     (opacity: 1, mint >1200); a comb-függőlegesek vastagabbak + arányaiban ritkábbak (gwCombMobile).
     TUNOLHATÓ: a .grow-curve height clamp maxa (320px) = milyen magas; a 44vw = a lecsengés meredeksége lentebb. */
  .grow-section { min-height: 0; }   /* mobilon NE nyúljon 720px-re -> a görbe ne essen le, a szöveg alatt kezdődjön */
  .grow-curve { inset: auto 0 0 0; height: clamp(150px, 44vw, 320px); opacity: 1; }
  .grow-inner { padding-bottom: clamp(150px, 44vw, 320px); }
  #gwLine { vector-effect: non-scaling-stroke; }        /* a vonal vastagsága fix (mint >1200), nem vékonyodik el */
  #gwArea { fill: url(#gwCombMobile); }                 /* vastagabb + ritkább függőleges vonalazás mobilon */
}

/* ================== KITÉRŐ 3 — Kirajzolódó mondat ================== */
.quote-sec { position: relative; height: 160vh; background: #ffffff; }
.quote-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 32px;
  overflow: hidden;
}
.quote-pin::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #dde1e6 1px, transparent 1.4px);
  background-size: 16px 16px;
  background-position: 0 var(--dotY, 0px);
}
.quote-pin::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 52% 46% at 50% 50%, #ffffff 12%, rgba(255, 255, 255, 0) 100%);
}
.quote-pin > div { position: relative; z-index: 1; }
/* mobil-portré: az animáció itt is fut (magas szekció + sticky pin = görgetési táv);
   csak a NAGYON alacsony / fekvő telefon kap statikus végállapotot (ott értelmetlen a pin-scrub) */
@media (max-width: 900px) {
  .quote-pin { padding: 0 22px; }
}
@media (max-height: 480px) {
  .quote-sec { height: auto; min-height: auto; }
  .quote-pin { position: static; height: auto; min-height: auto; overflow: visible; padding: 64px 24px; }
}
.quote-txt {
  max-width: 960px;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 0.6rem + 3.9vw, 4.5rem);   /* responzív: ~3 sor mobilon, középen (volt clamp(2.6rem,5vw,4.5rem) -> 400px-en 6 sor) */
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}
.quote-txt .w { color: #d6d9dd; transition: color 0.25s; }
.quote-txt .w.lit { color: var(--text); }
.quote-txt .w.lit.acc { color: var(--accent); }
/* mobilon nagyobb, hangsúlyosabb mondat */
@media (max-width: 600px) {
  .quote-txt { font-size: clamp(1.85rem, 1.1rem + 4vw, 2.4rem); }
}
.quote-cap {
  display: block;
  margin-top: 34px;
  font-family: var(--font-inter);
  font-size: 0.76rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0;
}
.quote-cta {
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  padding: 13px 32px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(225, 90, 48, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: box-shadow 0.25s;
}
.quote-cta:hover { box-shadow: 0 12px 32px rgba(225, 90, 48, 0.42); }

/* ================== KITÉRŐ 4 — Bevezetés 4 lépésben ================== */
.steps-sec { position: relative; background: #ffffff; border-top: 1px solid var(--line); padding: 110px 40px 0; }
.steps-inner { max-width: 1240px; margin: 0 auto; }
.steps-head { max-width: 560px; margin-bottom: 70px; }
.steps-pill {
  display: inline-block;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  padding: 9px 22px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(225, 90, 48, 0.32), inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(154, 52, 18, 0.35);
}
.steps-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: #0a0a0c;
}
.steps-title span { color: var(--text-mute); }
.steps-head { max-width: 900px; margin: 0 auto 100px; text-align: center; }
.steps-sub {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  color: var(--text-mute);
  line-height: 1.65;
}
.steps-title .w { display: inline-block; }
.steps-title .w:not(.dim) { color: #000000; font-weight: 800; }
.steps-title .w.dim { color: var(--text-mute); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.step-card { padding: 6px 34px 30px 26px; border-left: 1px solid var(--line-2); }   /* >1360px kártya alsó térköz -30px (kevesebb üres hely) */
.step-card .no {
  font-family: var(--font-mono);
  font-size: clamp(0.76rem, 0.85vw, 0.9rem);
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}
.step-card h4 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.1vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step-card p {
  font-size: clamp(0.98rem, 1.1vw, 1.18rem);
  color: var(--text-mute);
  line-height: 1.65;
}
/* szekció-zárás: felfelé növő vonalak + záró-csík a határon.
   NEM full-bleed többé: a tartalom-sáv (steps-inner) szélességében marad, hogy a
   rojt 25%-os osztása PIXELPONTOSAN egybeessen a kártya-osztóvonalakkal (.steps-connect). */
.steps-outro {
  margin: -110px 0 0;   /* a csíkozás-sáv magassága (kevesebb üres hely a szekció alján; volt 168) */
}
.steps-lines {
  height: 110px;
  /* A 4 oszlop-osztás a FŐ vonal (25%-onként, erősebb), a finom rojt pedig
     negyedenként arányosan osztódik el (20 hajszálvonal / negyed), így mindig
     igazodik a 4 fő vonalhoz, függetlenül a szélességtől */
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1.5px, transparent 1.5px 25%),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(25% / 20));
  -webkit-mask: linear-gradient(0deg, #000 0%, transparent 92%);
  mask: linear-gradient(0deg, #000 0%, transparent 92%);
}
/* a kártya-elválasztókkal egybefutó vonalak: a kártyáktól a fekete sávig érnek */
.steps-connect { position: relative; height: 110px; pointer-events: none; }   /* = .steps-lines magassága (együtt mozogjanak) */
.steps-connect i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.steps-connect i:nth-child(1) { left: 0; }
.steps-connect i:nth-child(2) { left: 25%; }
.steps-connect i:nth-child(3) { left: 50%; }
.steps-connect i:nth-child(4) { left: 75%; }
@media (max-width: 1360px) { .steps-connect { visibility: hidden; } }
.steps-bar {
  height: 1px;
  margin: 0 calc(50% - 50vw); /* a vízszintes záró-csík maradhat full-bleed (nincs osztása) */
  background: #c5c5c5;
  box-shadow: 0 -2px 12px rgba(184, 184, 184, 0.18);
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 14px 0; }   /* lépés-köz -20px (volt 34) */
}

@media (prefers-reduced-motion: reduce) {
  .hz-streak { display: none; }
}


/* ================== MŰKÖDÉS KÖZBEN — TOUR (tapadó menü + 3D panelek) ================== */
.tour-section { position: relative; background: #ffffff; padding: 90px 0 40px; }
/* prémium szekció-elválasztó: vastag, a szélei felé elhalványuló sáv */
.sec-divider {
  position: relative;
  margin: 0;
  background: #0a0a0c;
  padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 40px);
}
/* Integracio-racs: 2 -> 3 (>=500) -> 4 (>=768) -> 8 (>=1100) oszlop, tiszta ugrasokkal */
.int-strip {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* alap: kis mobil */
  gap: 10px;
}
.int-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.3;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
  cursor: default;
}
.int-item svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.int-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.int-item:hover svg { stroke: var(--accent-hot); }

@media (min-width: 500px)  { .int-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .int-strip { grid-template-columns: repeat(4, 1fr); } }   /* 2 sor */
@media (min-width: 1100px) { .int-strip { grid-template-columns: repeat(8, 1fr); } }   /* mind egy sorban */

@media (min-width: 1900px) {
  .int-strip { max-width: 1440px; }
  .int-item { font-size: 1rem; padding: 20px 12px; }
  .int-item svg { width: 24px; height: 24px; }
}
/* halvány pötty-rács háttér: a szélek felé erősödik, a tartalom mögött kitisztul */
.tour-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(31, 41, 55, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 41, 55, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: radial-gradient(ellipse 62% 55% at 50% 42%, transparent 30%, #000 82%);
  mask: radial-gradient(ellipse 62% 55% at 50% 42%, transparent 30%, #000 82%);
  pointer-events: none;
}
.tour-section > * { position: relative; z-index: 1; }
.tour-header { text-align: center; max-width: 760px; margin: 0 auto 84px; padding: 0 32px; }
.tour-block:first-child { padding-top: 0; }
.tour-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
}
.tour-nav { position: relative; }
.tour-nav-inner { position: sticky; top: 34vh; display: flex; flex-direction: column; gap: 22px; }
.tn-item {
  position: relative;
  padding-left: 18px;
  font-size: 1.02rem;
  font-weight: 600;
  color: #c3c8cf;
  cursor: pointer;
  transition: color 0.35s;
}
.tn-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0.3);
  width: 2px; height: 20px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}
.tn-item:hover { color: var(--text-mute); }
.tn-item.on { color: var(--text); }
.tn-item.on::before { opacity: 1; transform: translateY(-50%) scaleY(1); }
.tour-blocks { display: flex; flex-direction: column; gap: 0; }
.tour-block { display: flex; flex-direction: column; padding: 96px 0; }
.tour-big { font-weight: 800; }
.tt {
  font-size: 1.56rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 680px;
  margin-bottom: 48px;
}
.tt b { color: var(--text); font-weight: 700; }
.tt span { color: #9aa1ab; font-weight: 600; }
.tilt { perspective: 1200px; }
.tp {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(31, 41, 55, 0.14), 0 4px 14px rgba(31, 41, 55, 0.06);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.tp-h { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid #f1f2f4; }
.tp-h i { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; }
.tp-h .t { margin-left: 8px; font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--text); }
.tp-h .tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
  background: rgba(225, 90, 48, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}
.tp-b { position: relative; padding: 24px; min-height: 330px; transform: translateZ(24px); }
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kb-col { background: #f8f9fa; border: 1px solid #eef0f2; border-radius: 12px; padding: 12px; min-height: 290px; }
@media (max-width: 600px) { .kb { grid-template-columns: 1fr; } .kb-col { min-height: auto; } }
.kb-col h5 {
  font-size: 0.72rem; font-weight: 600; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex; justify-content: space-between;
}
.kb-col h5 em { font-style: normal; color: var(--text-faint); font-family: var(--font-mono); font-size: 0.66rem; }
.kb-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  margin-bottom: 9px;
  box-shadow: 0 5px 14px rgba(31, 41, 55, 0.08);
}
.kb-card .n { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; display: block; }
.kb-card .m { font-family: var(--font-mono); font-size: 0.64rem; color: var(--text-faint); margin-top: 3px; display: block; }
.kb-badge {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.62rem; font-weight: 600;
  color: #4f7cf0;
  background: rgba(79, 124, 240, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  opacity: 0;
}
/* gyártás életút — a valós dashboard-stepper mintájára: szakasz-vonalak a számok KÖZÖTT */
.lc2 { display: flex; align-items: flex-start; margin-bottom: 30px; }
.lc2 .st { display: flex; flex-direction: column; align-items: center; width: 96px; position: relative; z-index: 1; }
.lc2 .st .c {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e2e5e9;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-faint);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.lc2 .st .c::before { content: attr(data-n); }
.lc2 .st .nm { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--text-mute); margin-top: 8px; white-space: nowrap; }
.lc2 .st .sub { font-size: 0.58rem; font-weight: 600; margin-top: 2px; min-height: 0.8rem; }
.lc2 .st.done .c { background: var(--good); border-color: var(--good); color: #fff; }
.lc2 .st.done .c::before { content: '✓'; }
.lc2 .st.done .sub { color: var(--good); }
.lc2 .st.done .sub::before { content: 'kész'; }
.lc2 .st.cur .c { background: var(--accent); border-color: var(--accent); color: #fff; }
.lc2 .st.cur .sub { color: var(--accent); }
.lc2 .st.cur .sub::before { content: 'aktuális'; }
.lc2 .seg {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 14px -33px 0;
  position: relative;
  z-index: 0;
  border-radius: 2px;
  overflow: hidden;
}
.lc2 .seg i { display: block; height: 100%; width: 0; background: var(--good); }
.lc-toast {
  position: absolute;
  right: 16px; bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.14);
  opacity: 0;
  z-index: 5;
}
.mat-row {
  display: grid;
  grid-template-columns: 1fr 100px 90px;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(31, 41, 55, 0.05);
}
.mat-row .q { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-mute); text-align: right; }
.mat-pill {
  font-size: 0.64rem; font-weight: 600;
  text-align: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f4f6; color: var(--text-mute);
  transition: background 0.3s, color 0.3s;
}
.mat-pill.ok { background: rgba(16, 185, 129, 0.12); color: #0d9268; }
.task-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(31, 41, 55, 0.05);
}
.task-check {
  width: 20px; height: 20px; flex: none;
  border-radius: 6px;
  border: 1.5px solid #d6dade;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.task-check svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.task-row.done .task-check { background: #10b981; border-color: #10b981; }
.task-row.done .task-check svg { opacity: 1; }
.task-row.done .tx { color: var(--text-faint); text-decoration: line-through; }
.task-row .who { margin-left: auto; font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); }
.task-claim {
  margin-left: auto;
  font-size: 0.62rem; font-weight: 600;
  color: var(--accent);
  background: rgba(225, 90, 48, 0.09);
  padding: 3px 9px;
  border-radius: 999px;
  opacity: 0;
}
.fin-row {
  display: grid;
  grid-template-columns: 1fr 120px 100px;
  gap: 10px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(31, 41, 55, 0.05);
  transition: border-color 0.3s, background 0.3s;
}
.fin-row .amt { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fin-row.alert { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.03); }
.fin-pill {
  font-size: 0.64rem; font-weight: 600;
  text-align: center;
  padding: 3px 8px;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.fin-pill.ok { background: rgba(16, 185, 129, 0.12); color: #0d9268; }
.fin-pill.warn { background: rgba(245, 158, 11, 0.13); color: #b45309; }
.fin-pill.crit { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.fin-note {
  display: flex; align-items: center; gap: 9px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px dashed #d9dde2;
  font-size: 0.78rem;
  color: var(--text-mute);
  opacity: 0;
}
.fin-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.ai-box { display: flex; flex-direction: column; gap: 12px; max-width: 520px; min-height: 185px; }
/* gépelés közben a "rest" span átlátszó, végig helyet foglal → nincs box-növekedés/ugrás */
.ai-b .ai-rest { color: transparent; }
.ai-b {
  padding: 12px 16px;
  border-radius: 13px;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
  box-shadow: 0 3px 10px rgba(31, 41, 55, 0.06);
  opacity: 0;
}
.ai-b.user {
  align-self: flex-start;
  background: #1f2937;
  color: #f9fafb;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 13px;
  max-width: 80%;
}
.ai-b.bot {
  align-self: flex-start;
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  border-bottom-left-radius: 4px;
  max-width: 90%;
}
.ai-typing {
  align-self: flex-start;
  display: flex; gap: 4px;
  padding: 13px 15px;
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  border-radius: 13px;
  border-bottom-left-radius: 4px;
  opacity: 0;
}
.ai-typing i { width: 6px; height: 6px; background: var(--text-faint); border-radius: 50%; animation: aiDot 1s ease-in-out infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiDot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 980px) {
  .tour-wrap { grid-template-columns: 1fr; }
  .tour-nav { display: none; }
  .tour-block { padding: 60px 0; }
}


/* Agent-szekció nagy címe — a sötét szekciók tipográfiájával egyező */
.awf-big-title {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
  color: var(--text);
  margin: 0 0 20px;
  text-wrap: balance;
}
.awf-big-title .w { display: inline-block; }


/* tour: szervezés agent-napló (folyóírás) */
.szerv-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.scribe {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfdfd;
  padding: 16px 18px;
  box-shadow: 0 3px 10px rgba(31, 41, 55, 0.04);
  align-self: start;
}
.scribe .s-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f2f4;
}
.scribe .s-ava {
  width: 24px; height: 24px; flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(225, 90, 48, 0.3);
}
.scribe .s-ava svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.scribe .s-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}
.scribe .s-live {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.scribe .ln {
  display: block;
  position: relative;
  padding-left: 15px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.55;
  color: #374151;
  min-height: 1.6rem;
  margin-bottom: 6px;
}
.scribe .ln::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.scribe .ln.on::before { opacity: 1; }
/* tour: pénzügy agent-műveletek */
.fin-ops { margin-top: 14px; }
.op-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mute);
  transition: color 0.3s, border-color 0.3s;
}
.op-row .op-ind {
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  border: 2px solid #d7dade;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.op-row.active { color: var(--text); border-color: rgba(225, 90, 48, 0.35); }
.op-row.active .op-ind {
  border-color: var(--accent);
  border-top-color: transparent;
  animation: cronSpin 0.8s linear infinite;
}
.op-row.done { color: var(--text); }
.op-row.done .op-ind { background: #10b981; border-color: #10b981; animation: none; }
.op-row.done .op-ind::after {
  content: '';
  position: absolute; inset: 0;
  background: center / 9px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E");
}
/* tour: gyártás vevői nézet jelzés */
.viewer-note {
  display: flex; align-items: center; gap: 9px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px dashed #d9dde2;
  font-size: 0.78rem;
  color: var(--text-mute);
}
.viewer-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.viewer-note b { color: var(--text); }
/* tour: AI folyóírás + hang-gomb */
.ai-ask {
  width: fit-content;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 18px;
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  border-radius: 12px;
}
.ai-hand {
  font-family: var(--font-sans); /* KEZDÉSNEK Inter; design-váltáskor ide jöhet vissza a kézírás (Caveat) */
  font-size: 1.55rem;
  line-height: 1.45;
  color: #374151;
  min-height: 105px;
  margin: 18px 6px 6px;
}
.ai-bar {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid #f1f2f4;
  padding-top: 16px;
  margin-top: 8px;
}
.ai-input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-faint);
  font-size: 0.84rem;
}
.voice-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: none;
  border-radius: 999px;
  background: #1f2937;
  color: #f9fafb;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(31, 41, 55, 0.24);
  white-space: nowrap;
}
.voice-btn svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* ================== MIÉRT MI — SPOTLIGHT-RÁCS ================== */
.sg-section { position: relative; background: #ffffff; padding: 120px 0 130px; }
.sg-section .feature-header { margin-bottom: 60px; }
.spot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.sg-cell {
  position: relative;
  padding: 36px 34px 32px;
  min-height: 260px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sg-cell:nth-child(1), .sg-cell:nth-child(2), .sg-cell:nth-child(3) { border-top: none; }
.sg-cell:nth-child(3n+1) { border-left: none; }
/* egér-követő narancs spotlight eltávolítva (zavaró volt) */
.sg-cell .ct { position: relative; z-index: 1; }
.sg-cell h4 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.sg-cell h4 span { color: var(--text-faint); font-weight: 700; }
.sg-cell p { font-size: 0.85rem; color: var(--text-mute); line-height: 1.6; max-width: 340px; }
.sg-cell .demo { margin-top: auto; padding-top: 24px; position: relative; z-index: 1; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sg-chip {
  font-size: 0.7rem; font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-mute);
  opacity: 0;
}
.sg-chip.hl { border-color: rgba(225, 90, 48, 0.45); color: var(--accent); background: rgba(225, 90, 48, 0.05); }
.typeline {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text);
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  border-radius: 9px;
  padding: 10px 13px;
  min-height: 38px;
}
.typeline i { font-style: normal; color: var(--text-faint); }
.shield-wrap { display: flex; align-items: center; gap: 14px; }
.shield-wrap svg { width: 44px; height: 48px; overflow: visible; flex: none; }
.shield-wrap svg path { fill: none; stroke: var(--good); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shield-list { font-size: 0.74rem; color: var(--text-mute); line-height: 1.7; }
.shield-list b { color: var(--text); font-weight: 600; }
.pillrow { display: flex; align-items: center; gap: 10px; position: relative; }
.pillbtn {
  font-size: 0.72rem; font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pillbtn.on { background: #1f2937; color: #fff; border-color: #1f2937; }
.pill-cursor {
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 16px;
  opacity: 0;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  pointer-events: none;
}
.count-wrap { display: flex; align-items: baseline; gap: 10px; }
.count-wrap .n {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.count-wrap .lbl { font-size: 0.78rem; color: var(--text-mute); line-height: 1.4; }
.count-dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; max-width: 260px; }
.count-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e5e7eb; }
.count-dots i.on { background: var(--accent); }
.flow3 { position: relative; height: 64px; }
.flow3 svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow3 svg path { fill: none; stroke: #dfe3e8; stroke-width: 1.5; }
.flow3 svg circle { fill: var(--accent-hot); }
.fnode {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.68rem; font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
  white-space: nowrap;
  z-index: 1;
}
.fnode.dark { background: #1f2937; color: #fff; border-color: #1f2937; }
@media (max-width: 980px) {
  .spot-grid { grid-template-columns: 1fr; }
  .sg-cell { border-left: none !important; border-top: 1px solid var(--line) !important; }
}


/* ================== FELIRATKOZÓ-SÁV (közös, a footer FÖLÖTT) ================== */
.sub-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 252px; /* 3 × 84px → a négyzetrács pontosan kiadja a szekció magasságát */
  box-sizing: border-box;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(30px, 4vw, 56px) clamp(24px, 5vw, 60px);
}
.sub-bar-fringe { /* vonal-rojt VÉGIG (tetőtől aljáig), a középső sávban elhalványulva a szöveg mögött */
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, var(--line-2) 0 1px, transparent 1px 84px);
  -webkit-mask: linear-gradient(180deg, transparent 0%, transparent 50%, #000 100%);
  mask: linear-gradient(180deg, transparent 0%, transparent 50%, #000 100%);
  opacity: 0.75;
  pointer-events: none;
}
.sub-bar-inner {
  position: relative;
  z-index: 1; /* a szöveg/form a vonalak fölött */
  width: 100%;
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px 40px; flex-wrap: wrap;
}
.sub-bar-text { max-width: 500px; }
.sub-bar-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0a0a0c;
  margin-bottom: 6px;
}
.sub-bar-text p { color: var(--text-mute); font-size: 1rem; line-height: 1.55; }
.sub-bar-form { display: flex; flex-direction: column; gap: 9px; }
.sub-bar-row { display: flex; gap: 10px; }
.sub-bar-form input {
  width: min(280px, 62vw);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sub-bar-form input::placeholder { color: var(--text-faint); }
.sub-bar-form input:focus { outline: none; border-color: #0a0a0c; box-shadow: 0 0 0 3px rgba(15, 18, 22, 0.08); }
.sub-bar-form button {
  padding: 12px 22px;
  background: #1f2937;
  color: #fff;
  font-weight: 600;
  font-size: 0.96rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.sub-bar-form button:hover { background: #111827; transform: translateY(-1px); }
.sub-bar-note { font-size: 0.78rem; color: var(--text-faint); }
.sub-bar-note a { color: var(--text-mute); text-decoration: underline; text-underline-offset: 2px; }
.sub-bar-thanks { display: none; align-items: center; gap: 8px; font-weight: 600; color: #0a0a0c; }
.sub-bar-thanks svg { color: var(--accent); }
.sub-bar.done .sub-bar-form { display: none; }
.sub-bar.done .sub-bar-thanks { display: flex; }
@media (max-width: 720px) {
  .sub-bar-inner { flex-direction: column; align-items: flex-start; }
  .sub-bar-form input { width: min(360px, 72vw); }
}
@media (max-width: 600px) {
  /* keskeny mobil: input + gomb EGYMÁS ALÁ (a sorban a min-szélességük ~600px-ig túllógatja a viewportot,
     a "Feliratkozom" gombot ÉS a feliratot is levágva) */
  .sub-bar-form { width: 100%; }
  .sub-bar-text { max-width: 100%; }
  .sub-bar-row { flex-direction: column; align-items: stretch; }
  .sub-bar-form input { width: 100%; }
  .sub-bar-form button { width: 100%; }
}

/* ================== FEKETE PRÉMIUM FOOTER ================== */
.site-footer {
  position: relative;
  background: #0a0a0c;
  overflow: hidden;
  padding: clamp(90px, 14vw, 180px) clamp(20px, 4vw, 40px) 26px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .f-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 84px);
}
.f-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 70px;
  align-items: start;
}
.f-title {
  font-family: var(--font-sans);
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #f8f8f7;
  margin-bottom: 18px;
  text-wrap: balance;
}
.f-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 30px;
}
.f-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.f-btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  /* réteges mélység: felső belső fény (üveg-dóm érzet) + közeli árnyék + narancs glow */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 14px 34px -6px rgba(225, 90, 48, 0.1);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.f-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 5px 12px rgba(0, 0, 0, 0.32),
    0 16px 38px -10px rgba(225, 90, 48, 0.2);
}
.f-mail {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.25s;
}
.f-mail:hover { color: #ffffff; }
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 12px; }
@media (max-width: 640px) { .f-grid { grid-template-columns: 1fr; gap: 22px; } .f-col { min-width: 0; } } /* mobil: a 3 linkoszlop egymás alá, ne vágódjon le */
.f-col h5 {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 16px;
}
.f-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.96rem;
  font-weight: 500;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.25s;
}
.f-col a:hover { color: #ffffff; }
.f-brand {
  position: relative;
  z-index: 1;
  margin: 90px auto 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 13.5vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.82;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.015));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}
.f-bottom {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.32);
}
@media (max-width: 900px) {
  .f-inner { grid-template-columns: 1fr; gap: 50px; }
}
@media (min-width: 1900px) {
  .f-inner, .f-bottom { max-width: 1800px; }
}

/* ================== PRICING SECTION — Árazás ================== */
.pricing-section {
  padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 10vw, 140px);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 60%);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pricing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 30% at 50% 0%, var(--accent-tint), transparent 55%);
  pointer-events: none;
}
.pricing-section > .container { position: relative; z-index: 1; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}

.pricing-tier {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.pricing-tier:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pricing-tier.featured {
  background: linear-gradient(180deg, white 0%, var(--bg-warm) 100%);
  border-color: rgba(244, 73, 29, 0.25);
  box-shadow: 0 20px 40px -20px rgba(244,73,29,0.16), 0 8px 16px -8px rgba(16,24,40,0.08);
  transform: translateY(-6px);
}
.pricing-tier.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -20px rgba(244,73,29,0.22), 0 10px 20px -10px rgba(16,24,40,0.10);
}

.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px -4px var(--accent-glow);
  white-space: nowrap;
}

.pricing-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-tier.featured .pricing-eyebrow { color: var(--accent); }

.pricing-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--text);
  letter-spacing: -0.028em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.pricing-tagline {
  font-size: 0.96rem;
  color: var(--text-mute);
  line-height: 1.45;
  margin-bottom: 22px;
  min-height: 44px;
}

.pricing-divider {
  height: 1px;
  background: var(--line);
  margin: 0 -6px 20px;
}

.pricing-price-block {
  margin-bottom: 8px;
}
.pricing-price-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pricing-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--text);
  letter-spacing: -0.028em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.pricing-price em { color: inherit; font-size: 0.66em; font-weight: 400; }
.pricing-price-unit {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-mute);
  font-weight: 400;
  margin-left: 4px;
}

.pricing-setup {
  font-size: 0.86rem;
  color: var(--text-mute);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.pricing-setup strong {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pricing-min {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.pricing-features {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.42;
}
.pricing-features li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--text-mute);
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.42;
  width: 14px;
  text-align: left;
}
.pricing-features li.hero-feature {
  font-weight: 500;
}

.pricing-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid var(--line-2);
  background: white;
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.pricing-cta:hover { border-color: var(--text); transform: translateY(-1px); }
.pricing-cta.primary {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  border: none;
  box-shadow:
    0 1px 2px rgba(15, 23, 41, 0.12),
    0 4px 10px -4px var(--accent-glow);
}
.pricing-cta.primary:hover {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(15, 23, 41, 0.14),
    0 6px 14px -5px var(--accent-glow);
}
.pricing-cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.pricing-cta:hover svg { transform: translateX(3px); }

/* Trust bar */
.pricing-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 50px;
  padding: 18px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.pricing-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--text);
}
.pricing-trust-item svg {
  width: 12px; height: 12px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.pricing-trust-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line-2);
}
@media (max-width: 720px) {
  .pricing-trust { border-radius: var(--radius); max-width: 100%; }
  .pricing-trust-sep { display: none; }
}

/* Explainer footer */
.pricing-explainer {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  color: var(--text-mute);
  font-size: 0.94rem;
  line-height: 1.55;
}
.pricing-explainer a {
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.2s;
}
.pricing-explainer a:hover { border-color: var(--text); }

/* ================== WIDE-VIEWPORT SCALING (fluid, 80vw + cap) ================== */
/* Section-szélesség folyamatos scaling: 80% viewport, 1800px cap-pel.
   Kis viewport-on a base érvényes (max() védi).
   Így breakpoint-ugrás nélkül, egyenletesen nő. */

.container,
.feature-panels,
.bento-grid {
  max-width: 1240px;
}
.pricing-grid {
  max-width: 1160px;
}
.dash-frame {
  max-width: max(1060px, min(1480px, 66vw));
}

/* Nav külön: MINDEN viewport-on kompakt marad
   (fejléc ne csússzon szét, logó és menü összetartva) */
.nav-inner { max-width: 1240px !important; }

/* ================== 3. SZEKCIÓ: AGENT-WORKFLOW ANIMÁCIÓ ================== */
.awf-section {
  padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 12vw, 140px);
  background: white;
  border-top: 1px solid var(--line);
  position: relative;
}
.awf-layout {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: 225px 1fr; /* keskenyebb agent-példa-sáv → a canvas balra tágul */
  gap: 30px;
}
@media (max-width: 900px) {
  .awf-layout { grid-template-columns: 1fr; }
}

/* Bal: agent-példa menü */
.awf-nav {
  padding-top: 16px;
  display: flex; flex-direction: column;
  position: sticky; top: 90px;
  align-self: start;
}
/* Pager-wrapperek: alapertelmezetten "atlathatoak" (a .wn-ek kozvetlen gyerekkent
   viselkednek) -> desktop + tab-sav valtozatlan. A <=820px media-blokk kapcsolja be a pagert. */
.awf-nav-view, .awf-nav-track { display: contents; }
.awf-nav-arrow { display: none; }
.awf-nav-title {
  padding: 0 20px 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.awf-nav-item {
  padding: 11px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-faint);
  cursor: pointer;
  transition: color 0.2s;
  border-left: 2px solid transparent;
}
.awf-nav-item:hover { color: var(--text-mute); }
.awf-nav-item.on {
  color: var(--text);
  border-left-color: var(--accent);
  font-weight: 600;
}

/* Jobb: canvas */
.awf-canvas {
  background:
    radial-gradient(circle at 1px 1px, rgba(15,18,22,0.06) 1px, transparent 0),
    var(--bg-soft);
  background-size: 22px 22px, auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 60px 28px 40px; /* kisebb oldalpadding → a szélső kártyák közelebb a kerethez */
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.awf-canvas-title {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.awf-restart {
  position: absolute;
  top: 16px; right: 20px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s;
}
.awf-restart:hover { border-color: var(--text); color: var(--text); }

/* Node-ok */
.awf-nodes {
  position: relative;
  z-index: 3;
  height: 540px;
}
.awf-node {
  position: absolute;
  width: 250px;
  padding: 14px 16px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: flex-start; gap: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(15,18,22,0.04);
}
.awf-node.tracing { border-color: transparent; }
.awf-node.done {
  /* NINCS saját zöld keret — a körberajzolt SVG-trace marad a végleges keret,
     így nem duplázódik és nem lóg ki pixelnyire */
  border-color: transparent;
  box-shadow: 0 4px 12px -4px rgba(15,18,22,0.10);
}
.awf-node-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}
.awf-node-icon svg { width: 17px; height: 17px; }
.awf-node-icon.blue { background: linear-gradient(135deg, #6b95ff, #4f7cf0); }
.awf-node-icon.purple { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.awf-node-icon.green { background: linear-gradient(135deg, #34d399, #10b981); }
.awf-node-icon.orange { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.awf-node-icon.red { background: linear-gradient(135deg, #f87171, #ef4444); }
.awf-node-body { flex-grow: 1; min-width: 0; }
.awf-node-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.awf-node-desc {
  color: var(--text-mute);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Indító-tag + Kész-badge — a kereten KÍVÜL */
.awf-trigger-tag {
  position: absolute;
  top: -28px; left: 0;
  padding: 3px 9px 3px 7px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 2px 6px rgba(79,70,229,0.25);
}
.awf-trigger-tag svg { width: 9px; height: 9px; }
.awf-badge {
  position: absolute;
  top: -28px; right: 0;
  padding: 3px 9px;
  border: 1px solid rgba(16,185,129,0.30);
  color: #059669;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
  background-color: white;
  box-shadow: 0 1px 4px rgba(15,18,22,0.06);
}
.awf-badge svg { width: 10px; height: 10px; }
.awf-badge.triggered {
  border-color: rgba(99,102,241,0.35);
  color: #4f46e5;
}
.awf-node.done .awf-badge { opacity: 1; transform: translateY(0); }

/* Keret-trace SVG */
.awf-trace {
  position: absolute;
  top: -1px; left: -1px;
  pointer-events: none;
  overflow: visible;
  display: block;
}
.awf-trace rect {
  fill: none;
  stroke: #4f7cf0;
  stroke-width: 2;
}

/* Elágazás-node Igen/Nem címkék */
.awf-node.awf-if { padding-bottom: 30px; }
.awf-if-labels {
  position: absolute;
  bottom: 8px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.awf-if-labels .t { color: #10b981; }
.awf-if-labels .f { color: #ef4444; }

/* Összekötő vonalak */
.awf-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.awf-lines path {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease;
}
.awf-lines path.done { stroke: #4f7cf0; stroke-opacity: 0.6; }

/* ---- AGENT-SZEKCIÓ V2: váltható view-k + 4 új animált példa ---- */
.awf-nav-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.awf-nav-item .prog {
  display: block;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
  opacity: 0;
}
.awf-nav-item.on .prog { opacity: 1; }
.awf-nav-item .prog i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}
.aw-view {
  position: absolute;
  inset: 0;
  padding: 54px 30px 30px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
}
.aw-view.on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 5;
}
/* az offer-view-ban a node-elrendezés wrapperben él */
.wfn-wrap { position: relative; width: min(880px, 100%); height: 560px; }

/* Panel (a 4 új példa kerete) — NAGYOBB méretben */
.panel {
  width: min(680px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 55px -28px rgba(15,18,22,0.25);
  overflow: hidden;
}
.panel-h {
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.panel-h b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }
.panel-h .mono { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }
.panel-b { padding: 20px 22px; }
.pl {
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s;
}
.pl.ok { background: var(--good-soft); color: var(--good); }
.pl.warn { background: rgba(245,158,11,0.13); color: #d97706; }
.pl.crit { background: rgba(239,68,68,0.12); color: #ef4444; }
.pl.blue { background: var(--blue-soft); color: var(--blue); }
.pl.mute { background: var(--bg-tint); color: var(--text-mute); }
.agent-act {
  margin-top: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(225,90,48,0.06), white);
  border: 1px solid rgba(225,90,48,0.25);
  border-radius: 12px;
  display: flex; align-items: flex-start; gap: 12px;
  opacity: 0;
  transform: translateY(10px);
}
.agent-act .ai-ico {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.agent-act .ai-ico svg { width: 16px; height: 16px; }
.agent-act b { display: block; font-size: 0.92rem; margin-bottom: 2px; }
.agent-act span { font-size: 0.8rem; color: var(--text-mute); line-height: 1.4; }
.agent-act .approve {
  margin-left: auto;
  align-self: center;
  padding: 9px 17px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 3px 8px -2px var(--accent-glow);
}
.agent-act .approve.done { background: var(--good); box-shadow: none; }
/* 1) Kifizetés-monitoring */
.inv-row {
  display: grid;
  grid-template-columns: 1fr 124px 104px;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.inv-row:last-of-type { border-bottom: 0; }
.inv-row b { font-weight: 600; }
.inv-row .sum { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-mute); }
.inv-days { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-mute); text-align: center; }
#invWatch { transition: background 0.4s; border-radius: 8px; }
#invWatch.alert { background: rgba(239,68,68,0.05); }
/* 2) Utánkövetés */
.fu-lead {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: opacity 0.5s, filter 0.5s;
}
.fu-lead .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}
.fu-lead b { display: block; font-size: 0.95rem; }
.fu-lead span { font-size: 0.78rem; color: var(--text-mute); }
.fu-lead .pl { margin-left: auto; }
.fu-lead.cold { opacity: 0.75; filter: grayscale(0.5); }
.fu-timeline { display: flex; gap: 5px; margin: 16px 2px 4px; }
.fu-day { flex: 1; height: 8px; border-radius: 4px; background: var(--bg-tint); transition: background 0.3s; }
.fu-day.past { background: var(--line-2); }
.fu-day.hot { background: #ef4444; }
.fu-scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
}
.fu-mail {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg-tint);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-mute);
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  opacity: 0;
  transform: translateY(8px);
}
.fu-mail b { color: var(--text); font-size: 0.82rem; }
/* 3) Anyaghiány-riasztás */
.stock-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.stock-head b { font-weight: 600; }
.stock-head .qty { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-mute); }
.stock-bar { height: 16px; background: var(--bg-tint); border-radius: 9px; position: relative; }
.stock-fill {
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, #34d399, var(--good));
  width: 84%;
}
.stock-fill.low { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.stock-fill.crit { background: linear-gradient(90deg, #f87171, #ef4444); }
.stock-min { position: absolute; top: -5px; bottom: -5px; left: 24%; width: 2px; background: var(--text-faint); border-radius: 2px; }
.stock-min::after {
  content: 'min';
  position: absolute;
  top: -17px; left: -10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.push-note {
  margin-top: 16px;
  padding: 13px 15px;
  background: #1a1d24;
  color: white;
  border-radius: 13px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.84rem;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
}
.push-note .p-ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.push-note .p-ico svg { width: 15px; height: 15px; }
.push-note b { display: block; font-size: 0.84rem; }
.push-note span { font-size: 0.74rem; color: rgba(255,255,255,0.65); }
/* 4) Adat-frissítés */
.cron-head {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #1a1d24;
  border-radius: 12px;
  color: white;
  margin-bottom: 16px;
}
.cron-clock {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  position: relative;
  flex-shrink: 0;
}
.cron-clock i {
  position: absolute;
  left: 50%; top: 50%;
  width: 2px; height: 15px;
  background: var(--accent-hot);
  border-radius: 2px;
  transform-origin: 50% 0%;
  transform: rotate(180deg);
}
.cron-head b { display: block; font-size: 0.95rem; }
.cron-head span { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255,255,255,0.55); }
.cron-step {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-faint);
  transition: color 0.3s;
}
.cron-step:last-of-type { border-bottom: 0; }
.cron-step.active, .cron-step.done { color: var(--text); }
.cron-ind {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
}
.cron-step.active .cron-ind {
  border-color: var(--accent);
  border-top-color: transparent;
  animation: cronSpin 0.8s linear infinite;
}
.cron-step.done .cron-ind { border-color: var(--good); background: var(--good); }
.cron-step.done .cron-ind::after {
  content: '✓';
  color: white;
  font-size: 0.64rem;
  font-weight: 700;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
}
@keyframes cronSpin { to { transform: rotate(360deg); } }
.cron-step .detail {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  opacity: 0;
}
.cron-step.done .detail { opacity: 1; }
.cron-result {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--good-soft);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
}
.cron-result b { color: var(--good); }

/* ================== KÁOSZ → RENDSZER SZEKCIÓ (scroll-scrub) ================== */
.chaos-section {
  height: 320vh;
  position: relative;
  background:
    radial-gradient(circle at 1px 1px, rgba(15,18,22,0.05) 1px, transparent 0),
    linear-gradient(180deg, #f7f8fa, #f2f3f5);
  background-size: 24px 24px, auto;
  border-top: 1px solid var(--line);
}
.chaos-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.chaos-title {
  position: absolute;
  top: 12vh;
  left: 0; right: 0;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.chaos-title h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  /* a két cím ugyanabban a cellában ül egymáson: a váltás helyben történik */
  display: grid;
}
.chaos-title .t-chaos { display: block; grid-area: 1 / 1; align-self: center; }
.chaos-title .t-chaos i {
  display: inline-block;
  font-style: normal;
  will-change: transform, opacity;
}
.chaos-title .t-order {
  display: block;
  grid-area: 1 / 1;
  align-self: center;
  font-family: var(--font-sans);
  /* a h2 méretét örökli, így minden képernyőn pontosan a káosz-sor helyén ül */
  font-size: inherit;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--text);
  opacity: 0;
  transform: translateY(34px) rotate(-6deg) scale(0.9);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}
.chaos-title p {
  margin-top: 12px;
  color: var(--text-mute);
  font-size: 1.05rem;
}
.chaos-item {
  position: absolute;
  will-change: transform, opacity;
  box-shadow: 0 14px 30px -12px rgba(15,18,22,0.25);
  border-radius: 10px;
  z-index: 5;
}
.ci-postit {
  width: 150px; height: 140px;
  background: linear-gradient(180deg, #fef3a8, #fde047);
  border-radius: 2px 2px 14px 2px;
  padding: 14px;
  font-family: var(--font-hand, 'Caveat', cursive);
  font-size: 1.25rem;
  line-height: 1.15;
  color: #713f12;
}
.ci-postit.pink { background: linear-gradient(180deg, #fbcfe8, #f9a8d4); color: #831843; }
.ci-excel {
  width: 210px;
  background: white;
  border: 1px solid var(--line);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.ci-excel i {
  width: 34px; height: 34px;
  background: #1d6f42;
  border-radius: 7px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-style: normal;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ci-excel > div { min-width: 0; }
.ci-excel b {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ci-excel span { font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-faint); }
.ci-paper {
  width: 160px; height: 190px;
  background: white;
  border: 1px solid var(--line);
  padding: 16px 14px;
}
.ci-paper .l { height: 7px; background: #eceef1; border-radius: 3px; margin-bottom: 9px; }
.ci-paper .l:nth-child(2) { width: 80%; }
.ci-paper .l:nth-child(4) { width: 60%; }
.ci-paper .hand {
  font-family: var(--font-hand, 'Caveat', cursive);
  color: #b91c1c;
  font-size: 1.15rem;
  margin-top: 10px;
  transform: rotate(-2deg);
}
.ci-phone {
  width: 190px;
  background: white;
  border: 1px solid var(--line);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.ci-phone i {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #34d399, #10b981);
  border-radius: 8px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.ci-phone i svg { width: 15px; height: 15px; }
.ci-phone i::after {
  content: '3';
  position: absolute;
  top: -6px; right: -6px;
  width: 15px; height: 15px;
  background: #ef4444;
  border-radius: 50%;
  color: white;
  font-style: normal;
  font-size: 0.56rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.ci-phone > div { min-width: 0; }
.ci-phone b { display: block; font-size: 0.7rem; font-weight: 600; }
.ci-phone span { font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-faint); }
.ci-thought {
  width: 195px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 16px 18px;
  font-family: var(--font-hand, 'Caveat', cursive);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--text-mute);
  /* NINCS position: relative — flex-elemmé válna és eltolná az ablakot */
}
.ci-thought::after {
  content: '';
  position: absolute;
  bottom: -9px; left: 26px;
  width: 14px; height: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.ci-thought::before {
  content: '';
  position: absolute;
  bottom: -19px; left: 18px;
  width: 8px; height: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
}

/* Mobil (<=600px): a kaosz-elemek kisebbek, hogy ne logjanak le a keskeny kepernyorol.
   Tablet (601-900) az alap-mereteket hasznalja (ott jol fer). */
@media (max-width: 600px) {
  .ci-postit { width: 104px; height: 96px; font-size: 0.9rem; padding: 10px; border-radius: 2px 2px 10px 2px; }
  .ci-excel  { width: 150px; padding: 9px 11px; gap: 8px; }
  .ci-excel i { width: 26px; height: 26px; font-size: 0.72rem; }
  .ci-excel b { font-size: 0.62rem; }
  .ci-excel span { font-size: 0.5rem; }
  .ci-paper  { width: 112px; height: 130px; padding: 11px 10px; }
  .ci-paper .l { height: 5px; margin-bottom: 6px; }
  .ci-paper .hand { font-size: 0.85rem; margin-top: 7px; }
  .ci-phone  { width: 138px; padding: 9px 11px; gap: 8px; }
  .ci-phone i { width: 26px; height: 26px; }
  .ci-phone i svg { width: 13px; height: 13px; }
  .ci-phone b { font-size: 0.62rem; }
  .ci-phone span { font-size: 0.5rem; }
  .ci-thought { width: 140px; font-size: 0.82rem; padding: 12px 14px; border-radius: 20px; }
}

/* ==================================================================
   TOUR (3. szekcio, „Ceg Reszek" / Modulok folyamatai) mobil-finomitas.
   Ide (a szerv-grid[4365] es s-live[4394] SIMA szabalyok UTAN) kerul, hogy
   ne bukjon el a specificitason. <=650px: minden panel + cim a kepen belul.
   ================================================================== */
.scribe .s-live { white-space: nowrap; }              /* „eloben ir" soha ne torjon 2 sorba */

@media (max-width: 600px) {
  .tour-section .tilt { perspective: none; }          /* 3D-billenes ki mobilon */
}

@media (max-width: 650px) {
  .tour-wrap { padding: 0 18px 40px; }                /* tobb hely a tartalomnak */
  .tt { font-size: 1.2rem; line-height: 1.4; margin-bottom: 26px; }
  /* a panel zsugorodhasson a konteneri szelessegre (flex min-width:auto feloldasa);
     az .tp overflow:hidden levagja a maradek belso tulnyulast */
  .tour-block > * { min-width: 0; }
  .tp { max-width: 100%; }
  .tp-h { padding: 10px 14px; }
  .tp-h .t { font-size: 0.78rem; }
  .tp-b { padding: 14px; min-height: auto; }
  /* tobb-oszlopos belso racsok -> 1 oszlop, hogy a min-content beferjen */
  .kb { grid-template-columns: 1fr; gap: 10px; }
  .kb-col { min-height: auto; }
  .szerv-grid { grid-template-columns: 1fr; gap: 14px; }
  /* eletciklus-stepper (5 lepes) kisebb, cimkek tordelhetok */
  .lc2 { margin-bottom: 20px; }
  .lc2 .st { width: 56px; }
  .lc2 .st .nm { font-size: 0.58rem; white-space: normal; line-height: 1.15; }
  /* Penzugy-sor: nev·szam sajat teljes soron, alatta osszeg + pill (ne essen szet a nev) */
  .fin-row { grid-template-columns: 1fr auto; row-gap: 6px; padding: 12px 14px; }
  .fin-row > :first-child { grid-column: 1 / -1; }
  .fin-row .amt { text-align: left; }
  /* AI-sav: input + hang-gomb egymas ala; az input keskeny sav marad, 1 sor */
  .ai-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .ai-input { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .voice-btn { justify-content: center; }
}
.order-window {
  position: absolute;
  top: clamp(180px, 23vh, 280px);
  bottom: 3vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(1140px, 95vw);
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(15,18,22,0.05),
    0 24px 60px -24px rgba(225,90,48,0.16),
    0 50px 110px -46px rgba(15,18,22,0.38);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.86);
  z-index: 6;
}
.ow-bar {
  padding: 11px 16px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px;
}
.ow-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ow-bar i:nth-child(1) { background: #d6d3d0; }
.ow-bar i:nth-child(2) { background: #d6d3d0; }
.ow-bar i:nth-child(3) { background: #d6d3d0; }
.ow-brand {
  margin-left: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
}
.ow-brand svg { width: 14px; height: 14px; color: var(--accent); }
.ow-brand em { font-style: normal; color: var(--accent); }
.ow-live {
  margin-left: auto;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--good);
  background: var(--good-soft);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.ow-live::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--good);
}
.ow-body {
  padding: 16px 18px;
  background: var(--bg-soft);
}
.ow-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15,18,22,0.04);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  font-size: 0.85rem;
}
.ow-row:last-child { margin-bottom: 0; }
.ow-ico {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}
.ow-ico svg { width: 14px; height: 14px; }
.ow-ico.o { background: linear-gradient(135deg, var(--accent-hot), var(--accent-dark)); }
.ow-ico.b { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.ow-ico.g { background: linear-gradient(135deg, #34d399, #10b981); }
.ow-ico.p { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.ow-row b { font-weight: 600; }
.ow-row .sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-faint);
  margin-left: auto;
}
.ow-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: var(--good-soft);
  color: var(--good);
}
.ow-foot {
  padding: 9px 18px;
  border-top: 1px solid var(--line);
  background: white;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

/* ---- Mini-dashboard app-layout az order-window-ban ---- */
/* Minden data-ow elem rejtve indul — a GSAP staggerrel hozza be őket */
.chaos-section [data-ow] {
  opacity: 0;
  transform: translateY(10px);
}
.ow-app {
  display: grid;
  grid-template-columns: 150px 1fr;
  background: white;
  flex: 1;
  min-height: 0;
}
.ow-side {
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  background: var(--bg-soft);
  overflow-y: auto;
}
.ow-side-g {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 8px 8px 4px;
}
.ow-side-i {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.66rem;
  color: var(--text-mute);
}
.ow-side-i svg { width: 11px; height: 11px; flex-shrink: 0; }
.ow-side-i.on {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
}
.ow-side-i.on svg { color: var(--accent); }
.ow-main { min-width: 0; display: flex; flex-direction: column; }
.ow-header {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}
.ow-header b {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}
.ow-header b em { font-style: normal; color: var(--accent); }
.ow-header .crumb { color: var(--text-faint); font-size: 0.7rem; }
.ow-hicons { margin-left: auto; display: flex; gap: 5px; align-items: center; }
.ow-hicon {
  width: 20px; height: 20px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
}
.ow-hicon svg { width: 11px; height: 11px; }
.ow-hicon.ai { background: var(--accent-soft); color: var(--accent); }
.ow-avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-dark));
  color: white;
  font-size: 0.48rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.ow-listhead {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 0;
}
.ow-tab {
  font-size: 0.7rem;
  padding: 4px 2px 6px;
  color: var(--text-mute);
  border-bottom: 2px solid transparent;
}
.ow-tab.on {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--accent);
}
.ow-cta {
  margin-left: auto;
  padding: 5px 12px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px -2px var(--accent-glow);
}
.ow-chips {
  display: flex; align-items: center; gap: 4px;
  padding: 9px 14px;
}
.ow-chip {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.6rem;
  color: var(--text-mute);
  white-space: nowrap;
}
.ow-chip.red { color: #dc2626; border-color: rgba(220,38,38,0.30); }
.ow-chip.on {
  background: var(--accent-soft);
  border-color: rgba(225,90,48,0.35);
  color: var(--accent-dark);
  font-weight: 600;
}
.ow-view {
  margin-left: auto;
  display: flex; gap: 2px;
  background: var(--bg-tint);
  border-radius: 999px;
  padding: 2px;
}
.ow-view span {
  font-size: 0.58rem;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--text-mute);
}
.ow-view span.on {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: white;
  font-weight: 600;
}
.owt { padding: 2px 14px 12px; flex: 1; }
.owt-h, .owt-r {
  display: grid;
  grid-template-columns: 16px 1fr 74px 56px 58px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
}
.owt-h {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--line);
}
.owt-r {
  font-size: 0.7rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.owt-r:last-child { border-bottom: 0; }
.owt-r b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owt-r .d { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-mute); }
.owt-check {
  width: 12px; height: 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
}
.owt-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 500;
  text-align: center;
  background: var(--blue-soft);
  color: var(--blue);
}
.owt-st {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 500;
  text-align: center;
  background: var(--bg-tint);
  color: var(--text-mute);
}
.owt-st.ok { background: var(--good-soft); color: var(--good); }

/* ═══════════ FELADATOK KANBAN (owk) — az éles dashboard szerint ═══════════ */
.owk-board { display: flex; gap: 10px; padding: 14px 16px 48px; flex: 1; overflow-x: auto; overflow-y: hidden; align-items: flex-start; }
.owk-col { flex: 0 0 172px; background: #fafafa; border: 1px solid #e5e7eb; border-radius: 12px; padding: 7px; }
.owk-colhead { display: flex; align-items: center; gap: 7px; padding: 8px 12px; margin-bottom: 8px; background: linear-gradient(180deg, #ffffff, #f5f4f2); border: 1px solid rgba(28, 25, 23, 0.12); border-radius: 999px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 3px 8px rgba(28, 25, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9); font-weight: 700; font-size: 0.72rem; letter-spacing: -0.01em; color: #1f2937; }
.owk-colhead::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--owk-dot, #9ca3af); box-shadow: 0 0 0 3px color-mix(in srgb, var(--owk-dot, #9ca3af) 14%, transparent); }
.owk-lejart { --owk-dot: #dc2626; color: #dc2626; }
.owk-ma { --owk-dot: #e15a30; }
.owk-holnap, .owk-het { --owk-dot: #d1d5db; }
.owk-kesobb { --owk-dot: #9ca3af; }
.owk-count { margin-left: auto; min-width: 19px; height: 19px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(28, 25, 23, 0.06); color: #6b7280; font-weight: 700; font-size: 0.62rem; }
.owk-cards { display: flex; flex-direction: column; gap: 7px; }
.owk-card { background: linear-gradient(180deg, #ffffff, #f7f6f4); border: 1px solid rgba(28, 25, 23, 0.14); border-radius: 13px; padding: 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.05), 0 8px 18px rgba(28, 25, 23, 0.07); display: flex; flex-direction: column; gap: 3px; }
.owk-card-late { background: rgba(220, 38, 38, 0.05); }
.owk-cat { padding-bottom: 6px; margin-bottom: 3px; border-bottom: 1px solid #e5e7eb; }
.owk-tag { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 0.6rem; font-weight: 500; }
.owk-tag.ceges { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.owk-tag.sajat { background: rgba(129, 114, 62, 0.13); color: #81723e; }
.owk-title { font-size: 0.72rem; font-weight: 700; color: #1f2937; line-height: 1.28; }
.owk-badges { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; vertical-align: middle; }
.owk-lbadge { display: inline-flex; padding: 1px 6px; border-radius: 999px; font-size: 0.56rem; font-weight: 500; background: #fee2e2; color: #991b1b; }
.owk-badges svg { width: 12px; height: 12px; color: #e15a30; }
.owk-resp { font-size: 0.64rem; color: #6b7280; }
.owk-resp strong { color: #1f2937; font-weight: 600; }
.owk-due { display: inline-flex; align-items: center; gap: 4px; font-size: 0.64rem; color: #6b7280; margin-top: 1px; }
.owk-due svg { width: 12px; height: 12px; flex-shrink: 0; }
.owk-due.owk-late { color: #ef4444; font-weight: 600; }
.owk-time { margin-left: 8px; padding-left: 8px; border-left: 1px solid #e5e7eb; }
.owk-due.owk-late .owk-time { border-color: rgba(239, 68, 68, 0.4); }
.owk-foot { margin-top: 5px; }
.owk-done { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 0.6rem; font-weight: 600; color: #0f7a3d; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.35); cursor: pointer; }
.owk-done svg { width: 11px; height: 11px; }
.chaos-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 10;
  display: flex; align-items: center; gap: 8px;
}
.chaos-hint::after {
  content: '↓';
  animation: chaosHintBob 1.6s ease-in-out infinite;
}
@keyframes chaosHintBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* 2K+ nagyítás a káosz-szekcióra */
@media (min-width: 1900px) {
  .chaos-title { top: 10vh; }
  .chaos-title h2 { font-size: 4.9rem; }
  .chaos-title p { font-size: 1.3rem; margin-top: 16px; }
  .chaos-hint { font-size: 0.8rem; }
  .ci-postit { width: 190px; height: 176px; font-size: 1.55rem; padding: 18px; }
  .ci-excel { width: 260px; padding: 15px 17px; }
  .ci-excel b { font-size: 0.82rem; }
  .ci-excel span { font-size: 0.66rem; }
  .ci-excel i { width: 40px; height: 40px; }
  .ci-paper { width: 200px; height: 235px; }
  .ci-paper .hand { font-size: 1.4rem; }
  .ci-phone { width: 240px; padding: 15px 17px; }
  .ci-phone b { font-size: 0.82rem; }
  .ci-phone span { font-size: 0.64rem; }
  .ci-thought { width: 250px; font-size: 1.45rem; }
  .order-window {
    width: min(1280px, 82vw);
    border-radius: 22px;
  }
  .ow-bar { padding: 14px 22px; }
  .ow-bar i { width: 12px; height: 12px; }
  .ow-brand { font-size: 1rem; }
  .ow-brand svg { width: 18px; height: 18px; }
  .ow-live { font-size: 0.72rem; padding: 4px 12px; }
  .ow-foot { font-size: 0.72rem; padding: 12px 24px; }
  /* mini-dashboard elemek 2K-n */
  .ow-app { grid-template-columns: 190px 1fr; }
  .ow-side-g { font-size: 0.6rem; }
  .ow-side-i { font-size: 0.8rem; padding: 7px 10px; }
  .ow-side-i svg { width: 13px; height: 13px; }
  .ow-header { padding: 12px 18px; }
  .ow-header b { font-size: 0.95rem; }
  .ow-header .crumb { font-size: 0.85rem; }
  .ow-hicon { width: 24px; height: 24px; }
  .ow-hicon svg { width: 13px; height: 13px; }
  .ow-avatar { width: 22px; height: 22px; font-size: 0.56rem; }
  .ow-listhead { padding: 13px 18px 0; }
  .ow-tab { font-size: 0.85rem; }
  .ow-cta { font-size: 0.74rem; padding: 7px 15px; }
  .ow-chips { padding: 11px 18px; gap: 6px; }
  .ow-chip { font-size: 0.7rem; padding: 4px 12px; }
  .ow-view span { font-size: 0.68rem; padding: 4px 13px; }
  .owt { padding: 2px 18px 16px; }
  .owt-h { font-size: 0.6rem; }
  .owt-h, .owt-r { grid-template-columns: 20px 1fr 96px 70px 72px; padding: 8px 10px; }
  .owt-r { font-size: 0.85rem; }
  .owt-r .d { font-size: 0.74rem; }
  .owt-check { width: 15px; height: 15px; }
  .owt-pill, .owt-st { font-size: 0.66rem; padding: 3px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ==== 2K: fix, középre zárt tartalom-oszlop (Attio-módra); hero + káosz marad ==== */
@media (min-width: 1900px) {
  .container,
  .feature-panels,
  .bento-grid { max-width: 1800px; }
  .awf-layout { max-width: 1800px; }
  .grow-inner, .steps-inner { max-width: 1800px; }
  .grow-copy { max-width: 620px; }
  .grow-pill { font-size: 0.95rem; padding: 8px 20px; }
  .grow-title { font-size: 4.4rem; }
  .grow-stat .v { font-size: 2.6rem; }
  .grow-stat .l { font-size: 0.98rem; }
  .hz-cols { max-width: 1800px; }
  .tour-wrap { max-width: 1800px; grid-template-columns: 300px 1fr; }
  .tour-header { max-width: 900px; }
  .tt { max-width: 820px; font-size: 1.78rem; }
  .tp-b { min-height: 470px; padding: 32px; }
  .tp-h { padding: 16px 22px; }
  .tp-h .t { font-size: 0.95rem; }
  .kb-col { min-height: 380px; padding: 16px; }
  .kb-card { padding: 14px 16px; }
  .kb-card .n { font-size: 0.96rem; }
  .kb-card .m { font-size: 0.74rem; }
  .task-row { font-size: 0.98rem; padding: 16px 18px; }
  .fin-row { font-size: 0.98rem; padding: 16px 18px; }
  .fin-row .amt { font-size: 0.88rem; }
  .mat-row { font-size: 0.92rem; padding: 14px 16px; }
  .lc2 .st { width: 116px; }
  .lc2 .st .c { width: 36px; height: 36px; font-size: 0.8rem; }
  .lc2 .st .nm { font-size: 0.82rem; }
  .lc2 .seg { margin: 17px -40px 0; }
  .op-row { font-size: 0.92rem; padding: 13px 16px; }
  .scribe .ln { font-size: 0.95rem; }
  .ai-hand { font-size: 1.85rem; }
  .ai-ask { font-size: 1.05rem; }
}

@media (min-width: 1900px) {
  .sg-cell { min-height: 330px; padding: 46px 44px 40px; }
  .sg-cell h4 { font-size: 1.22rem; }
  .sg-cell p { font-size: 0.98rem; max-width: 420px; }
  .typeline { font-size: 0.85rem; }
  .sg-chip { font-size: 0.8rem; }
}

/* ================== HERO MINŐSÉG-EMELÉS: ablak + widgetek ================== */
.dash-window {
  box-shadow:
    0 1px 2px rgba(15, 18, 22, 0.05),
    0 6px 18px rgba(16, 24, 40, 0.07),
    0 40px 90px -28px rgba(16, 24, 40, 0.35),
    0 26px 60px -30px rgba(225, 90, 48, 0.14);
}
.widget-chat {
  border-radius: 16px;
  box-shadow:
    0 32px 74px -18px rgba(16, 24, 40, 0.28),
    0 8px 20px -8px rgba(16, 24, 40, 0.12);
}
.widget-head-name { font-weight: 700; }
.widget-phone {
  box-shadow:
    0 40px 90px -20px rgba(16, 24, 40, 0.28),
    0 18px 36px -12px rgba(16, 24, 40, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.widget-phone-notif {
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.10);
}
.dash-toast {
  box-shadow:
    0 16px 40px -10px rgba(16, 24, 40, 0.22),
    0 4px 12px rgba(16, 24, 40, 0.08);
}
.dash-toast-text strong { font-weight: 700; }

/* ================== HERO APPLE-PASS: SF/Manrope betű + 3D kártyák + lágy grafikon ================== */
.dash-window, .floating-widget, .dash-toast {
  font-family: 'Inter', -apple-system, sans-serif;
}
.dash-window { letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; backface-visibility: hidden; }
/* riport-kártyák: plasztikus, világos 3D */
.report-card {
  background: linear-gradient(180deg, #ffffff, #f7f6f4);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 16px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 3px 8px rgba(28, 25, 23, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.reports-title, .report-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1c1917;
}
/* oszlopdiagram: lekerekített, felül világosodó gradiens sávok */
.chart-bar-bar {
  background: linear-gradient(180deg, color-mix(in srgb, currentColor 55%, #ffffff) 0%, currentColor 75%) !important;
  border-radius: 6px 6px 2px 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(28, 25, 23, 0.08);
}
.report-legend span { font-weight: 600; color: #57534e; }
.report-legend i { border-radius: 999px; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 12%, transparent); }
.chart-donut-num {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}
/* elsődleges gomb a mockupban: fényes, csiszolt narancs (design-doksi t12 CTA) */
.reports-btn.primary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(154, 52, 18, 0.6);
  border-radius: 999px;
  background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
  color: #fff;
  font-weight: 600;
  box-shadow:
    0 2px 5px rgba(234, 88, 12, 0.35),
    0 6px 16px rgba(234, 88, 12, 0.25),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(154, 52, 18, 0.4);
  text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
  transition: transform 0.15s ease;
}
.reports-btn.primary:hover { transform: translateY(-1px); }
.reports-btn.primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: heroShimmer 5.5s ease-in-out infinite;
}
@keyframes heroShimmer {
  0% { transform: translateX(-150%) skewX(-20deg); }
  60% { transform: translateX(350%) skewX(-20deg); }
  100% { transform: translateX(350%) skewX(-20deg); }
}
/* másodlagos gombok: pill, lágy árnyék */
.reports-btn {
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-weight: 600;
}
/* kanban-fejlécek és kártyacímek vastagabban */
.b-col-title { font-weight: 700; letter-spacing: -0.01em; color: #1c1917; }
.b-col-count { font-weight: 700; }
/* widgetek: egységes Apple-betű + vastagabb nevek */
.widget-head-name, .phone-time { letter-spacing: -0.01em; }
.widget-phone-notif { border-radius: 14px; }

/* ================== HERO APPLE-PASS 2: sidebar, kártya-árnyékok, gomb-diéta ================== */
/* sidebar: Inter, vastagabb, sötétebb, üzletibb */
.dash-window .side-item {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 600;
  color: #44403c;
}
.dash-window .side-label { font-weight: 600; letter-spacing: -0.005em; }
.dash-window .side-title {
  font-weight: 700;
  color: #57534e;
  letter-spacing: 0.08em;
}
/* kártyák: sokkal applébb, mély réteges árnyék + belső fény-él */
.report-card {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 6px 14px rgba(28, 25, 23, 0.07),
    0 18px 40px rgba(28, 25, 23, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.dash-window .b-card {
  background: linear-gradient(180deg, #ffffff, #f7f6f4);
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 16px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 3px 6px rgba(0, 0, 0, 0.05),
    0 8px 18px rgba(28, 25, 23, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.dash-window .b-col {
  border-radius: 14px;
}
/* gomb-diéta: nézetenként EGY csiszolt narancs primary, minden más fehér pill */
.toolbar-cta {
  border: 1px solid rgba(154, 52, 18, 0.6);
  background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
  font-weight: 600;
  box-shadow:
    0 2px 5px rgba(234, 88, 12, 0.35),
    0 6px 16px rgba(234, 88, 12, 0.25),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(154, 52, 18, 0.4);
  text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
}
.reports-btn:not(.primary) {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #44403c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ================== HERO APPLE-PASS 3: kanban + szűrők + idővonal a valós app új designja szerint ================== */
/* nézetek alapja: törtfehér, "levegős" felület */
.dash-window .view { background: #faf9f7; }

/* kanban: az oszlop nem doboz, hanem pill-fejléc + szabadon lebegő kártyák */
.dash-window .b-col {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
  overflow: visible;
}
.dash-window .b-col-head {
  background: linear-gradient(180deg, #ffffff, #f5f4f2);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 3px 8px rgba(28, 25, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.dash-window .b-col-title { font-size: 0.84rem; }
/* a pötty a fejléc-pill elején van (.b-col-head::before), a címben nincs külön pötty */
.dash-window .b-col-count {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  background: rgba(28, 25, 23, 0.06);
  border-radius: 999px;
  min-width: 22px; height: 22px; padding: 0 7px;
  display: inline-flex; align-items: center; justify-content: center;
}
.dash-window .b-card {
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 16px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 3px 6px rgba(0, 0, 0, 0.05),
    0 8px 18px rgba(28, 25, 23, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* szűrő-pillek: szürke tokban ülő fehér aktív pill (a valós app mintája) */
.dash-window .filter-bar { background: transparent; border-bottom: none; padding-top: 12px; }
.dash-window .filter-pills {
  background: #efedea;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.dash-window .pill {
  font-family: var(--font-apple);
  font-weight: 600;
  font-size: 0.8rem;
  color: #78716c;
  padding: 6px 14px;
}
.dash-window .pill.active {
  background: #ffffff;
  color: #1c1917;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09), 0 3px 8px rgba(28, 25, 23, 0.06);
}

/* idővonal (ügyfélkezelés): Apple-kártyák + szebb idővonal */
.dash-window .tl-composer {
  background: linear-gradient(180deg, #ffffff, #fbfaf9);
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 6px 14px rgba(28, 25, 23, 0.06),
    0 18px 40px -14px rgba(28, 25, 23, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.dash-window .tl-composer-submit {
  border-radius: 999px;
  border: 1px solid rgba(154, 52, 18, 0.6);
  background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
  font-weight: 600;
  box-shadow:
    0 2px 5px rgba(234, 88, 12, 0.35),
    0 6px 16px rgba(234, 88, 12, 0.25),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(154, 52, 18, 0.4);
  text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
}
.dash-window .tl-btn { border-radius: 999px; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.dash-window .tl-btn.primary {
  border: 1px solid rgba(154, 52, 18, 0.6);
  background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
  box-shadow:
    0 2px 5px rgba(234, 88, 12, 0.3),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
}
/* az esemény-folyam: kártyásított sorok, függőleges vezetővonallal */
.dash-window .tl-event {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 5px 12px rgba(28, 25, 23, 0.05);
}
.dash-window .tl-event::before {
  content: '';
  position: absolute;
  left: -17px; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d6d3d0;
  transform: translateY(-50%);
}
.dash-window .tl-event::after {
  content: '';
  position: absolute;
  left: -14px; top: calc(50% + 8px);
  bottom: -16px;
  width: 1px;
  background: #e7e5e4;
}
.dash-window .tl-event:last-child::after { display: none; }
.dash-window .tl-events, .dash-window .tl-feed { padding-left: 18px; }
.dash-window .tl-event-ico { border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.dash-window .tl-name { font-family: var(--font-apple); font-weight: 800; letter-spacing: -0.015em; }
.dash-window .tl-badge { border-radius: 999px; font-weight: 700; }

/* ================== HERO WIDGET-CSERE: folyó-szöveges chat, island-telefon, hang, köteg, toast, csengő ================== */
/* chat: egyoldali folyó szöveg */
.widget-chat-body { min-height: 150px; }
.wcl { opacity: 0; margin-bottom: 12px; transition: opacity 0.3s; }
.wcl .who {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.wcl.bot .who { color: var(--accent); }
.wcl .msg {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.55;
  color: #292524;
  letter-spacing: -0.005em;
  min-height: 1.1em;
}
.wcl.bot { border-top: 1px solid rgba(28, 25, 23, 0.06); padding-top: 10px; }
.chat-mic {
  width: 30px; height: 30px; flex: none;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.chat-mic svg { width: 13px; height: 13px; color: #57534e; }
.widget-chat .chat-send {
  background: linear-gradient(180deg, #2b313b, #171a20) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
/* telefon: island + dátum + prémium notif */
.widget-phone { border-radius: 40px; background: linear-gradient(165deg, #fcfcfd, #eceef1 55%, #e4e6ea); border: 1px solid rgba(0, 0, 0, 0.08); }
.widget-phone-screen { overflow: hidden; border-radius: 34px; }
.widget-phone-notch {
  width: 74px; height: 20px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 6px;
}
.widget-phone-notch::after {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2f3542, #10131a 70%);
}
.widget-phone-date { text-align: center; color: #fff; margin: 2px 0 8px; }
.widget-phone-date .d {
  display: block;
  font-family: var(--font-apple);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.widget-phone-date .t {
  display: block;
  font-family: var(--font-apple);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.widget-phone-notif {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* hang-widget */
.widget-voice {
  bottom: 24px;
  left: -170px;
  width: 244px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  color: #1f2937;
  font-family: var(--font-apple);
  box-shadow:
    0 30px 60px -20px rgba(16, 24, 40, 0.24),
    0 12px 24px -12px rgba(16, 24, 40, 0.10);
}
.wv-head { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.wv-mic {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4), inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
  animation: wvPulse 2.4s ease-in-out infinite;
}
@keyframes wvPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4), 0 0 0 0 rgba(234, 88, 12, 0.3), inset 0 1.5px 0 rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4), 0 0 0 8px rgba(234, 88, 12, 0), inset 0 1.5px 0 rgba(255, 255, 255, 0.5); }
}
.wv-mic svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.wv-head b { font-size: 0.78rem; font-weight: 700; display: block; }
.wv-head span { font-family: var(--font-mono); font-size: 0.56rem; color: #9ca3af; }
.wv-wave { display: flex; align-items: center; gap: 3px; height: 28px; margin-bottom: 10px; }
.wv-wave i { flex: 1; height: 20%; border-radius: 999px; background: linear-gradient(180deg, #ff9a6e, var(--accent-hot)); opacity: 0.85; }
.wv-text { font-size: 0.72rem; font-weight: 500; line-height: 1.5; color: #4b5563; min-height: 2.6rem; }
.wv-done { margin-top: 8px; display: flex; align-items: center; gap: 7px; font-size: 0.64rem; font-weight: 600; color: #16a34a; opacity: 0; }
.wv-done .chk { width: 15px; height: 15px; border-radius: 50%; background: #16a34a; display: flex; align-items: center; justify-content: center; }
.wv-done .chk svg { width: 8px; height: 8px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* értesítés-köteg */
.widget-stack { top: 70px; right: -190px; width: 262px; height: 168px; font-family: var(--font-apple); }
.ws-card {
  position: absolute;
  left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex; gap: 9px; align-items: flex-start;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.ws-card .ic { width: 26px; height: 26px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ws-card .ic svg { width: 13px; height: 13px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-card b { font-size: 0.7rem; font-weight: 700; display: block; }
.ws-card .bd span { font-size: 0.62rem; color: var(--text-mute); }
.ws-card .tm { margin-left: auto; font-family: var(--font-mono); font-size: 0.54rem; color: var(--text-faint); flex: none; }
/* felúszó toast: szebb, árnyékosabb kártya */
.dash-toast {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(28, 25, 23, 0.1);
  box-shadow:
    0 2px 6px rgba(16, 24, 40, 0.06),
    0 16px 40px rgba(16, 24, 40, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.dash-toast-icon {
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-dark));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
/* csengő-számláló */
.ico-btn.notif { position: relative; }
.bell-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: #fff;
  font-family: var(--font-apple);
  font-size: 0.58rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(225, 90, 48, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 2;
}

/* ================== TELEFON-WIDGET V2 (koncept C) + toast feladat-sor ================== */
.widget-phone {
  width: 238px;
  background: linear-gradient(165deg, #2c2f36, #101115 55%, #17181d);
  border-radius: 40px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.3),
    0 24px 60px -14px rgba(0, 0, 0, 0.55),
    0 50px 110px -30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-family: var(--font-apple);
}
.wph-screen {
  position: relative;
  border-radius: 34px;
  aspect-ratio: 9/18.4;
  overflow: hidden;
  background:
    radial-gradient(ellipse 130% 70% at 78% -8%, rgba(255, 100, 50, 0.32), transparent 55%),
    radial-gradient(ellipse 110% 60% at 12% 108%, rgba(94, 165, 248, 0.2), transparent 55%),
    linear-gradient(180deg, #191b20, #0d0e12);
  padding: 46px 10px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wph-island {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 22px;
  background: #000;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 7px;
}
.wph-island i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2f3542, #10131a 70%);
}
.wph-top {
  position: absolute;
  top: 14px; left: 20px; right: 20px;
  display: flex; justify-content: space-between;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
}
.wph-date { text-align: center; color: rgba(255, 255, 255, 0.9); margin-bottom: 4px; }
.wph-date .d { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.wph-date .t { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.wph-notif {
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  padding: 9px 11px;
  color: #fff;
  display: flex; gap: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
}
.wph-notif .ic {
  width: 28px; height: 28px; flex: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-hot), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.wph-notif .ic svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wph-notif .bd { flex: 1; min-width: 0; }
.wph-notif .hd { display: flex; justify-content: space-between; font-size: 0.6rem; }
.wph-notif .hd b { font-weight: 700; }
.wph-notif .hd span { color: rgba(255, 255, 255, 0.5); }
.wph-notif .tx { display: block; font-size: 0.66rem; font-weight: 500; line-height: 1.3; margin-top: 2px; color: rgba(255, 255, 255, 0.92); }
.wph-notif .tx b { font-weight: 700; }
.wph-home {
  position: absolute;
  bottom: 7px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}
/* a beúszó toast-kártyán a konkrét feladat is olvasható */
.dash-toast-text .t-task {
  display: block;
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
}

/* ================== HERO INTERAKTÍV WIDGETEK + LAPTOP-ELRENDEZÉS ================== */
.floating-widget { cursor: grab; }
.floating-widget:active { cursor: grabbing; }
/* a szűrő-pillek ne törjenek blobba */
.dash-window .filter-pills { flex-wrap: nowrap; }
.dash-window .pill { white-space: nowrap; }
@media (max-width: 1560px) {
  .dash-window .pill { font-size: 0.72rem; padding: 5px 10px; }
  .dash-window .filter-bar { padding: 10px 16px; gap: 10px; }
  .widget-phone { left: -60px; width: 200px; top: 90px; }
  .widget-phone .wph-screen { padding: 38px 8px 18px; gap: 5px; }
  .widget-phone .wph-date .t { font-size: 1.35rem; }
  .widget-phone .wph-date .d { font-size: 0.56rem; }
  .widget-phone .wph-notif { padding: 7px 9px; border-radius: 12px; }
  .widget-phone .wph-notif .tx { font-size: 0.6rem; }
  .widget-phone .wph-notif .ic { width: 24px; height: 24px; }
  .widget-voice { left: -44px; width: 220px; bottom: 8px; }
  .widget-chat { right: -48px; width: 272px; bottom: 24px; }
  .widget-stack { right: -40px; top: 36px; width: 240px; }
}

/* ================== ÜGYFÉLKEZELÉS FEJLÉC + HÚZHATÓ DASHBOARD ================== */
/* a fejléc szépen törik, a gombok nem lógnak ki */
.dash-window .tl-header {
  flex-wrap: wrap;
  row-gap: 12px;
  padding: 16px 22px 14px;
}
.dash-window .tl-person { min-width: 0; }
.dash-window .tl-meta { flex-wrap: wrap; row-gap: 6px; }
.dash-window .tl-badge { white-space: nowrap; }
.dash-window .tl-actions { margin-left: auto; }
.dash-window .tl-btn { white-space: nowrap; border-radius: 999px; font-weight: 600; }
@media (max-width: 1560px) {
  .dash-window .tl-name { font-size: 1.15rem; }
  .dash-window .tl-btn { padding: 7px 12px; font-size: 0.78rem; }
  .dash-window .tl-meta { font-size: 0.78rem; gap: 7px; }
  .dash-window .tl-tabs { flex-wrap: wrap; }
}
/* a dashboard a címsoránál fogva húzható */
.dash-titlebar { pointer-events: auto; cursor: grab; }
.dash-titlebar:active { cursor: grabbing; }

/* ================== KAPCSOLAT-SZEKCIÓ: fekete, mutatós űrlap a footer előtt ================== */
.contact-sec { display: none; }
.contact-sec {
  position: relative;
  background: #0a0a0c;
  overflow: hidden;
  padding: 130px 40px 110px;
  margin-top: 100px;
}
.contact-sec .c-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 84px);
}
.contact-sec .c-glow {
  position: absolute;
  left: 50%; bottom: -24%;
  width: 120%; height: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 44% 85% at 40% 100%, rgba(204, 74, 32, 0.4), transparent 65%),
    radial-gradient(ellipse 48% 90% at 62% 100%, rgba(255, 100, 50, 0.32), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.c-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 20px;
}
.c-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: #f8f8f7;
  margin-bottom: 22px;
  text-wrap: balance;
}
.c-sub { font-size: 1.02rem; color: rgba(255, 255, 255, 0.55); line-height: 1.65; max-width: 460px; margin-bottom: 34px; }
.c-points { display: flex; flex-direction: column; gap: 14px; }
.c-point { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.c-point b { color: #ffffff; font-weight: 600; }
.c-point .chk {
  width: 20px; height: 20px; flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(225, 90, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.c-point .chk svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.c-mailrow { margin-top: 30px; font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }
.c-mailrow a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.c-mailrow a:hover { color: #fff; }

/* űrlap-kártya: sötét üveg */
.c-form {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px 30px 26px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.3),
    0 30px 70px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.c-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-field { margin-bottom: 14px; }
.c-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 7px;
}
.c-field input,
.c-field select,
.c-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #f5f5f4;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.c-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.c-field input::placeholder, .c-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.c-field input:focus, .c-field select:focus, .c-field textarea:focus {
  border-color: rgba(255, 100, 50, 0.65);
  box-shadow: 0 0 0 4px rgba(225, 90, 48, 0.16);
  background: rgba(255, 255, 255, 0.08);
}
.c-field textarea { min-height: 96px; resize: vertical; }
.c-gdpr {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 4px 0 18px;
}
.c-gdpr input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.c-gdpr a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; }
.c-submit {
  width: 100%;
  border: 1px solid rgba(154, 52, 18, 0.6);
  border-radius: 999px;
  padding: 15px 20px;
  background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    0 2px 5px rgba(234, 88, 12, 0.35),
    0 10px 26px rgba(234, 88, 12, 0.3),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(154, 52, 18, 0.4);
  text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
  transition: transform 0.15s ease, box-shadow 0.25s;
}
.c-submit:hover { transform: translateY(-1px); box-shadow: 0 2px 5px rgba(234, 88, 12, 0.35), 0 16px 36px rgba(234, 88, 12, 0.42), inset 0 1.5px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 3px rgba(154, 52, 18, 0.4); }
.c-note {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.35);
}
@media (max-width: 980px) {
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
}
@media (min-width: 1900px) {
  .contact-inner { max-width: 1500px; }
}

/* ================== FOOTER B: zárógondolat + horizont-ív ================== */
.fb-state {
  position: relative;
  z-index: 1;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px 0;
}
.fb-eyebrow, .fb-title { position: relative; z-index: 2; }
.fb-eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}
.fb-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6.2vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #f8f8f7;
  text-wrap: balance;
}
.fb-arc {
  position: absolute;
  left: 0; right: 0; bottom: -4vh;
  height: 34vh;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}
.fb-arc svg { position: absolute; inset: 0; width: 100%; height: 100%; }


/* káosz-szekció mini-dashboardja: semlegesebb UI-színek (a márka-jel marad narancs) */
.ow-cta {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  box-shadow: 0 2px 6px -2px var(--accent-glow);
}
.ow-view span.on {
  background: #ffffff;
  color: #1c1917;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.ow-side-i.on { background: #eef0f2; color: var(--text); }
.ow-side-i.on svg { color: var(--text-mute); }

/* spotlight-rács: mélyebb árnyékolás */
.spot-grid {
  box-shadow:
    0 2px 6px rgba(16, 24, 40, 0.05),
    0 18px 44px rgba(16, 24, 40, 0.1),
    0 46px 100px -30px rgba(16, 24, 40, 0.24);
}
.sg-cell { transition: background 0.35s, box-shadow 0.35s; }
.sg-cell:hover {
  background: #fdfdfc;
  box-shadow: inset 0 0 0 1px rgba(225, 90, 48, 0.08), inset 0 -14px 30px -20px rgba(16, 24, 40, 0.12);
}

/* káosz-dashboard sidebar: hero-stílusú, vastagabb, arányaiban nagyobb */
.ow-app { grid-template-columns: 172px 1fr; }
.ow-side-g {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-mute);
}
.ow-side-i {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #44403c;
  padding: 6px 9px;
}
.ow-side-i svg { width: 13px; height: 13px; }
@media (min-width: 1900px) {
  .ow-app { grid-template-columns: 215px 1fr; }
  .ow-side-g { font-size: 0.66rem; }
  .ow-side-i { font-size: 0.9rem; padding: 8px 11px; }
  .ow-side-i svg { width: 15px; height: 15px; }
}
/* mobil: az order-window (káosz-dashboard) sidebarja el (a Feladatok-board a lényeg),
   a fejléc-sorok (tabok + „Új feladat" gomb, szűrő-pillek + nézetváltó) tördeljenek */
@media (max-width: 900px) {
  .ow-app { grid-template-columns: 1fr; }
  .ow-side { display: none; }
  .ow-listhead, .ow-chips { flex-wrap: wrap; row-gap: 6px; }
  .ow-cta { margin-left: 0; }
  /* A kaosz-szekcio sticky-scrub animacioja MOBILON is fut: a desktop ertekek ervenyesek
     (.chaos-section height:320vh + .chaos-stage position:sticky). Az elemek meretet lentebb csokkentjuk. */
}

/* Bevezetés: laptopon a 4 oszlop már szűk a nagy betűkkel -> 2x2 */
@media (max-width: 1360px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }   /* lépés-köz -24px (volt 44) */
  .step-card { padding: 6px 30px 20px 24px; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; gap: 0; }   /* 600px alatt: egymás alá (1 oszlop) */
  .step-card { border-left: none; border-top: 1px solid var(--line-2); padding: 18px 6px; }
  .step-card:first-child { border-top: none; padding-top: 4px; }
  /* a csíkozás 600px alatt: alacsonyabb + kis réssel lejjebb a 4. lépés után */
  .steps-connect { display: none; }
  .steps-outro { margin-top: 24px; }
  .steps-lines { height: 70px; }
}

/* ================== ÚJ LOGÓ + A-MENÜ (mega-dropdown) ================== */
.nav-inner { position: relative; }
:root { --logo-orange: #1f2937; }
.nav-brand-mark { width: 26px; height: 26px; display: inline-flex; }
.nav-brand-mark svg { width: 100%; height: 100%; }
.lg-b { fill: var(--logo-orange); }
.nav-wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  line-height: 1;
}
.nav-wordmark .wm-i {
  font-style: normal;
  display: inline-block;
  transform: skewX(22deg);
  color: var(--logo-orange);
}
.nav-mega-wrap { position: static; }
.nav-mega-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--text-mute);
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
  padding: 0;
}
.nav-mega-btn:hover { color: var(--text); }
.nav--dark .nav-mega-btn { color: rgba(255, 255, 255, 0.62); }
.nav--dark .nav-mega-btn:hover { color: #fff; }
.nav-mega-btn .car { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.nav-mega-btn.on .car { transform: rotate(180deg); }
.nav-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(860px, 94vw);
  background: #ffffff;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 18px;
  box-shadow:
    0 2px 6px rgba(16, 24, 40, 0.05),
    0 24px 60px -12px rgba(16, 24, 40, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
  z-index: 60;
}
.nav-mega.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nm-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.2s;
}
.nm-item:hover { background: #f7f7f5; }
.nm-item .ic {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
}
.nm-item:hover .ic { background: rgba(225, 90, 48, 0.1); }
.nm-item .ic svg { width: 16px; height: 16px; stroke: var(--text-mute); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nm-item:hover .ic svg { stroke: var(--accent); }
.nm-item b { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.nm-item > span:last-child > span { font-size: 0.76rem; color: var(--text-mute); line-height: 1.4; }
.nm-side {
  background: #0a0a0c;
  border-radius: 14px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.nm-side::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -30%;
  height: 60%;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(255, 100, 50, 0.4), transparent 70%);
  filter: blur(16px);
}
.nm-side .tag { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 10px; }
.nm-side b { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.nm-side p { font-size: 0.76rem; color: rgba(255, 255, 255, 0.55); line-height: 1.5; margin-top: 8px; }
.nm-side .go {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
  color: #fff;
  font-size: 0.76rem; font-weight: 600;
  box-shadow: 0 6px 16px rgba(225, 90, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.hero h1 .wm-i {
  font-style: normal;
  display: inline-block;
  transform: skewX(22deg);
  color: var(--logo-orange);
}
.wm-word { white-space: nowrap; }
.f-brand .wm-i {
  font-style: normal;
  display: inline-block;
  transform: skewX(22deg);
  background: linear-gradient(180deg, rgba(255, 103, 0, 0.5), rgba(255, 103, 0, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================== KONZULTÁCIÓ-POPUP (Attio-féle modális űrlap) ================== */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.modal-scrim.open { opacity: 1; visibility: visible; }
.modal-card {
  width: min(560px, 100%);
  max-height: min(86vh, 780px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 32px 26px;
  box-shadow:
    0 2px 8px rgba(16, 24, 40, 0.08),
    0 40px 90px -20px rgba(16, 24, 40, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--font-sans);
}
.modal-scrim.open .modal-card { transform: translateY(0) scale(1); }
.m-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.m-head h3 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111417;
}
.m-head p { margin-top: 4px; font-size: 0.92rem; color: var(--text-mute); }
.m-close {
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text-mute);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.m-close:hover { border-color: var(--line-2); color: var(--text); }
.m-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-field { margin-bottom: 14px; }
.m-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.m-field label i { font-style: normal; font-weight: 400; color: var(--text-faint); }
.m-field input,
.m-field select,
.m-field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.m-field input::placeholder, .m-field textarea::placeholder { color: var(--text-faint); }
.m-field input:focus, .m-field select:focus, .m-field textarea:focus {
  border-color: rgba(225, 90, 48, 0.6);
  box-shadow: 0 0 0 4px rgba(225, 90, 48, 0.12);
}
.m-field textarea { min-height: 92px; resize: vertical; }
.m-gdpr {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.76rem;
  color: var(--text-mute);
  line-height: 1.5;
  margin: 2px 0 18px;
}
.m-gdpr input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.m-gdpr a { color: var(--text); text-decoration: underline; }
.m-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  background: #111417;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
  transition: background 0.25s ease;
}
.m-submit:hover { background: #26292e; }
.m-note {
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-faint);
}
.m-success {
  display: none;
  text-align: center;
  padding: 40px 10px 30px;
}
.m-success .chk {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.35), inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
}
.m-success .chk svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-success b { display: block; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.m-success p { font-size: 0.92rem; color: var(--text-mute); line-height: 1.6; }
.modal-card.done .m-form-body { display: none; }
.modal-card.done .m-success { display: block; }
@media (max-width: 560px) {
  .m-row2 { grid-template-columns: 1fr; gap: 0; }
}

/* ================== HERO EYEBROW-CHIP: körbefutó fény-csík a kereten ================== */
.hero-chip {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  padding: 1.5px; /* ez a gyűrű vastagsága, ezen fut a fény */
  background: var(--line);
  overflow: hidden;
  margin-bottom: 26px;
  vertical-align: top;
}
.hero-chip::before {
  content: '';
  position: absolute;
  width: 84px; height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 100, 50, 0.5), var(--accent-hot), rgba(255, 100, 50, 0.5), transparent);
  filter: drop-shadow(0 0 6px rgba(255, 100, 50, 0.7));
  /* a fény a keret VONALÁN halad, állandó sebességgel, minden méreten */
  offset-path: inset(0 round 999px);
  offset-rotate: auto;
  animation: chipTravel 5.2s linear infinite;
}
@keyframes chipTravel {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
.eb-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.eb-inner svg {
  width: 12px; height: 12px;
  stroke: var(--text-faint);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s, stroke 0.25s;
}
.hero-chip:hover .eb-inner svg { transform: translateX(3px); stroke: var(--accent); }
@media (max-width: 560px) {
  .eb-inner { font-size: 0.76rem; padding: 8px 14px; }
}

/* ================== POPUP LAPTOP-JAVÍTÁS: belső, finom csúszka + kompakt mezők ================== */
.modal-card { scrollbar-width: thin; scrollbar-color: #d6d3d0 transparent; }
.modal-card::-webkit-scrollbar { width: 8px; }
.modal-card::-webkit-scrollbar-track { background: transparent; margin: 22px 0; }
.modal-card::-webkit-scrollbar-thumb { background: #d6d3d0; border-radius: 8px; }
/* alacsonyabb kijelzőn (laptop) minden kompaktabb, hogy csúszka nélkül elférjen */
@media (max-height: 1040px) {
  .modal-card { padding: 22px 26px 20px; max-height: 92vh; }
  .m-head { margin-bottom: 14px; }
  .m-head h3 { font-size: 1.3rem; }
  .m-head p { font-size: 0.82rem; }
  .m-close { width: 32px; height: 32px; font-size: 0.85rem; }
  .m-field { margin-bottom: 10px; }
  .m-field label { font-size: 0.72rem; margin-bottom: 4px; }
  .m-field input, .m-field select { padding: 0 12px; font-size: 0.86rem; height: 40px; }
  .m-field textarea { padding: 9px 12px; font-size: 0.86rem; min-height: 60px; }
  .m-gdpr { font-size: 0.7rem; margin: 0 0 12px; }
  .m-submit { padding: 12px 18px; font-size: 0.92rem; }
  .m-note { margin-top: 8px; }
  .m-row2 { gap: 12px; }
}

/* legördülők: pontosan a beíró mezők magassága + saját nyíl */
.m-field input, .m-field select { height: 47px; padding-top: 0; padding-bottom: 0; }
.m-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

/* ================== AGENT-SZEKCIÓ: egységes workflow-stílus (5 példa) ================== */
.wstage { position: absolute; inset: 60px 40px 40px; }
.wstage .wlines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wstage .wlines path { fill: none; stroke: #d9dde2; stroke-width: 1.5; }
.wstage .wlines path.done { stroke: #4f7cf0; stroke-opacity: 1; }
/* Futo-pont a vonalon (flow-animacio + kamera-koveto); a fill-t JS allitja a vonal szinere */
.wstage .wlines .flow-dot { filter: drop-shadow(0 0 3px rgba(79, 124, 240, .55)); pointer-events: none; }
.wn {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 204px; /* szélesebb kártya: a bal-fönti .chip és jobb-fönti .stt már nem ér össze */
  background: #ffffff;
  border: 0px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 6px 16px rgba(16, 24, 40, 0.07);
}
.wn .tr { position: absolute; top: 0px; left: 0px; overflow: visible; pointer-events: none; }
.wn .tr rect { fill: none; stroke-width: 1.5; stroke-linejoin: round; }
.wn b { display: block; font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; line-height: 1.28; letter-spacing: -0.01em; color: #1a1d23; }
.wn > span:not(.chip):not(.stt) { display: block; font-family: var(--font-inter); font-size: 0.76rem; color: var(--text-mute); margin-top: 3px; line-height: 1.45; }
.wn .chip {
  position: absolute;
  top: -26px; left: 2px;
  font-family: var(--font-inter);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0px 9px;
  border-radius: 999px;
  background: #eef0f2;
  color: #5b616b;
}
.wn .chip.agent { background: rgba(225, 90, 48, 0.12); color: var(--accent); }
.wn .chip.trigger { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.wn .stt {
  position: absolute;
  top: -26px; right: 2px;
  font-family: var(--font-inter);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #0d9268;
  white-space: nowrap;
  opacity: 0;
}
.wn .stt.blue { color: #4f7cf0; }
@media (min-width: 1900px) {
  .wn { width: 272px; }
  .wn b { font-size: 0.85rem; }
  .wn > span:not(.chip):not(.stt) { font-size: 0.82rem; }
}

/* ==================================================================
   MOBIL + TABLET (<=900px): „ASZTALI NEZET" mini dashboard-mockup (B koncept)
   ------------------------------------------------------------------
   Forras: koncept/dash-desktop-mobil.html. TELJES `dm-` nevterrel izolalva,
   hogy a desktop .dash-showcase globalis JS/CSS szelektoraival (.view,
   [data-cards], #viewStack stb.) SOHA ne utkozzon. Csak <=900px alatt lathato;
   ekkor a desktop .dash-frame + .floating-widget elrejtve. A DESKTOP (>900px)
   .dash-showcase HTML/CSS/JS-e ERINTETLEN. A heroShimmer keyframe a fentebbi
   kozos definiciot hasznalja.  v1 · 2026-07 · frontend
   ================================================================== */
.dash-mobile-only { display: none; }

/* <=900px: a mini-mockup lathato (mobil ES tablet). A <=600px ertekek valtozatlanok;
   a 601-900 kozti nagyobb ("novo") meret a fajl vegi TABLET-TIER blokkban. Desktop (>900px) ERINTETLEN. */
@media (max-width: 900px) {
  .dash-mobile-only { display: block; }
  /* Mobilon a beuszo desktop-dashboard es a lebego widgetek helyett a mini-mockup megy */
  .dash-frame { display: none; }
  .floating-widget { display: none; }

  .dm-stage { padding: 4px 16px 24px; }
  .dm-cap { padding: 0 20px; text-align: center; margin-bottom: 20px; }
  .dm-cap-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--accent);
  }
  .dm-cap h1 {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;
    color: var(--text); margin: 8px 0 6px; line-height: 1.2;
  }
  .dm-cap p { font-size: 0.9rem; color: var(--text-mute); max-width: 320px; margin: 0 auto; }

  /* ================== MINI-MOCKUP WRAPPER (a kicsinyites szive) ================== */
  .dm-mini {
    --scale: 0.42;             /* alap: ~470/1120; a JS a tenyleges szelesseg alapjan felulirja */
    position: relative;
    width: 100%;
    max-width: 520px;          /* nagyobb kartya telefonokon (volt 390) */
    aspect-ratio: 1280 / 800;  /* a magassag automatikusan koveti a szelesseget -> nincs tulcsordulas kis kijelzon */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(28, 25, 23, 0.12);
    background: #fff;
    box-shadow:
      0 1px 2px rgba(16, 24, 40, 0.06),
      0 18px 44px -16px rgba(16, 24, 40, 0.30),
      0 8px 18px -10px rgba(225, 90, 48, 0.14);
  }
  /* a kilogo dashboard-jobboldal szandekosnak tunjon: lagy elhalvanyitas (fade-out) a jobb szelen */
  .dm-mini::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 30%;
    background: linear-gradient(to right, rgba(250, 250, 249, 0) 0%, rgba(250, 250, 249, 0.94) 82%);
    pointer-events: none;
    z-index: 4;
  }
  .dm-mini .dm-dash-window {
    width: 1280px;             /* fix DESKTOP szelesseg */
    height: 800px;             /* fix DESKTOP magassag (16:10) */
    transform: scale(var(--scale));
    transform-origin: top left;
    border-radius: 0;          /* a keretet a .dm-mini adja */
    border: none;
    box-shadow: none;
  }

  /* ================== DASH-WINDOW (desktop-elrendezes, mobil @media NELKUL) ================== */
  .dm-dash-window {
    overflow: hidden;
    background: white;
    display: flex; flex-direction: column;
    position: relative;
    pointer-events: none;
    font-family: 'Inter', -apple-system, sans-serif;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
  }
  .dm-dash-titlebar {
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-soft);
  }
  .dm-dash-dots { display: flex; gap: 6px; }
  .dm-dash-dot { width: 11px; height: 11px; border-radius: 50%; }
  .dm-dash-dot:nth-child(1), .dm-dash-dot:nth-child(2), .dm-dash-dot:nth-child(3) { background: #d6d3d0; }

  /* App body — DESKTOP grid, sosem torik */
  .dm-app-body {
    flex-grow: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 224px 1fr;
  }

  /* Sidebar */
  .dm-side {
    background: white;
    border-right: 1px solid var(--line);
    padding: 20px 12px;
    overflow-y: auto;
    display: flex; flex-direction: column;
  }
  .dm-side-title {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: #57534e;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 12px 8px;
    display: flex; align-items: center; justify-content: space-between;
    user-select: none;
    font-weight: 700;
  }
  .dm-side-title:first-of-type { padding-top: 4px; }
  .dm-side-title .dm-caret { width: 12px; height: 12px; opacity: 0.6; }
  .dm-side-group { display: flex; flex-direction: column; }
  .dm-side-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.86rem;
    color: #44403c;
    margin-bottom: 2px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 600;
  }
  .dm-side-item.dm-active {
    background: var(--bg-tint);
    color: var(--text);
    font-weight: 600;
  }
  .dm-side-item.dm-active .dm-ico { color: var(--accent); opacity: 1; }
  .dm-side-item .dm-ico { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.9; }
  .dm-side-label { font-weight: 600; letter-spacing: -0.005em; }
  .dm-side-footer {
    margin-top: auto;
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-faint);
    letter-spacing: 0.04em;
  }

  /* Main */
  .dm-main { overflow: hidden; display: flex; flex-direction: column; background: white; }
  .dm-main-header {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
    background: white;
  }
  .dm-main-header-left {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 600; color: var(--text);
  }
  .dm-main-header-brand {
    display: inline-flex; align-items: center; gap: 8px;
    padding-right: 14px;
    border-right: 1px solid var(--line);
  }
  .dm-main-header-brand svg { width: 18px; height: 18px; color: var(--accent); }
  .dm-main-header-title { color: var(--text-mute); font-weight: 400; }
  .dm-main-header-right { display: flex; align-items: center; gap: 10px; color: var(--text-mute); }
  .dm-ico-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .dm-ico-btn svg { width: 17px; height: 17px; }
  .dm-ico-btn.dm-ai-btn { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: white; }
  .dm-ico-btn.dm-notif .dm-bell-badge {
    position: absolute; top: 3px; right: 3px;
    min-width: 15px; height: 15px; padding: 0 3px;
    background: var(--accent); color: #fff;
    border: 2px solid white; border-radius: 999px;
    font-size: 0.6rem; font-weight: 700; line-height: 12px; text-align: center;
  }

  /* ================== VIEW STACK + kereszfade ================== */
  .dm-view-stack {
    flex-grow: 1; min-height: 0;
    position: relative; overflow: hidden;
    background: white;
  }
  .dm-view {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s;
    overflow: hidden;
    background: #faf9f7;
  }
  .dm-view.dm-active { opacity: 1; visibility: visible; }

  .dm-view-indicator {
    position: absolute;
    bottom: 12px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 6px;
    z-index: 5;
    padding: 6px 10px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
  }
  .dm-view-indicator span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--line-2);
    transition: background 0.3s, width 0.3s;
  }
  .dm-view-indicator span.dm-on { background: var(--accent); width: 20px; border-radius: 3px; }

  /* ================== TOOLBAR (Ajanlatok) ================== */
  .dm-toolbar {
    padding: 22px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(225, 90, 48, 0.04), white);
  }
  .dm-toolbar-stat h2 {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 4px;
  }
  .dm-toolbar-stat h2 .dm-num { font-variant-numeric: tabular-nums; }
  .dm-toolbar-stat .dm-value {
    color: var(--text-mute);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
  }
  .dm-toolbar-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(154, 52, 18, 0.6);
    background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
    color: white; border-radius: 999px;
    font-weight: 600; font-size: 0.92rem;
    box-shadow:
      0 2px 5px rgba(234, 88, 12, 0.35),
      0 6px 16px rgba(234, 88, 12, 0.25),
      inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
      inset 0 -2px 3px rgba(154, 52, 18, 0.4);
    text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
  }
  .dm-toolbar-cta svg { width: 16px; height: 16px; }

  /* Filter bar */
  .dm-filter-bar {
    padding: 14px 28px 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: transparent;
  }
  .dm-filter-pills {
    display: flex; gap: 2px; flex-wrap: nowrap;
    background: #efedea; border-radius: 999px; padding: 4px;
  }
  .dm-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-sans); font-weight: 600;
    font-size: 0.8rem; color: #78716c;
    white-space: nowrap;
  }
  .dm-pill.dm-active {
    background: #ffffff; color: #1c1917;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09), 0 3px 8px rgba(28, 25, 23, 0.06);
  }
  .dm-filter-tools { display: flex; align-items: center; gap: 8px; }
  .dm-search {
    width: 240px;
    padding: 8px 12px 8px 34px;
    background: var(--bg-tint);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.85rem; color: var(--text);
  }
  .dm-search-wrap { position: relative; }
  .dm-search-wrap::before {
    content: '';
    position: absolute; left: 11px; top: 50%;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a92a4' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
  }
  .dm-view-toggle { display: flex; background: var(--bg-tint); border-radius: 8px; padding: 3px; }
  .dm-view-toggle button {
    padding: 6px 12px; border-radius: 6px;
    font-size: 0.82rem; color: var(--text-mute);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .dm-view-toggle button.dm-active {
    background: linear-gradient(180deg, var(--accent-hot), var(--accent-dark));
    color: white;
    box-shadow: 0 1px 2px rgba(15, 23, 41, 0.10), 0 3px 8px -3px var(--accent-glow);
  }
  .dm-view-toggle button svg { width: 13px; height: 13px; }

  /* ================== KANBAN BOARD (4 oszlop, desktop) ================== */
  .dm-board {
    flex-grow: 1; min-height: 0;
    padding: 20px 20px 28px;
    overflow: auto;
    background: var(--bg-soft);
  }
  .dm-board-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 14px;
    min-width: 900px;
    height: 100%;
    align-items: start;
  }
  .dm-b-col {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 8px;
    display: flex; flex-direction: column;
    max-height: 100%;
    overflow: visible;
  }
  .dm-b-col-head {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; margin-bottom: 10px;
    background: linear-gradient(180deg, #ffffff, #f5f4f2);
    border: 1px solid rgba(28, 25, 23, 0.12);
    border-radius: 999px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 3px 8px rgba(28, 25, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .dm-b-col-head::before {
    content: ''; width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0;
    background: var(--status-dot, #9ca3af);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-dot, #9ca3af) 14%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  .dm-b-col[data-status="draft"] { --status-dot: #9ca3af; }
  .dm-b-col[data-status="sent"]  { --status-dot: #3b82f6; }
  .dm-b-col[data-status="won"]   { --status-dot: #10b981; }
  .dm-b-col[data-status="lost"]  { --status-dot: #ef4444; }
  .dm-b-col-title { font-family: var(--font-sans); font-size: 0.84rem; font-weight: 700; letter-spacing: -0.01em; color: #1c1917; }
  .dm-b-col-count {
    margin-left: auto;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 7px;
    border-radius: 999px;
    background: rgba(28, 25, 23, 0.06);
    color: #6b7280; font-weight: 700; font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
  }
  .dm-b-col-cards { flex-grow: 1; display: flex; flex-direction: column; gap: 8px; }
  .dm-b-card {
    position: relative;
    padding: 15px;
    background: linear-gradient(180deg, #ffffff, #f7f6f4);
    border: 1px solid rgba(28, 25, 23, 0.14);
    border-radius: 16px;
    box-shadow:
      0 1px 1px rgba(0, 0, 0, 0.04),
      0 3px 6px rgba(0, 0, 0, 0.05),
      0 8px 18px rgba(28, 25, 23, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .dm-b-card-name { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; color: #1f2937; letter-spacing: -0.01em; margin-bottom: 3px; }
  .dm-b-card-aj { font-family: var(--font-sans); font-size: 0.875rem; color: #9ca3af; margin-bottom: 2px; }
  .dm-b-card-ceg { font-family: var(--font-sans); font-size: 0.875rem; color: #6b7280; margin-bottom: 8px; }
  .dm-b-card-amount { font-family: var(--font-sans); font-weight: 700; font-size: 0.9375rem; color: #1f2937; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
  .dm-b-card-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 4px; margin-bottom: 10px; }
  .dm-b-card-tag {
    display: inline-flex; align-items: center;
    padding: 2px 9px; border-radius: 999px;
    font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 500; line-height: 1.5;
  }
  .dm-b-card-tag.dm-viewed { background: #dbeafe; color: #1e40af; }
  .dm-b-card-tag.dm-project-none { background: #f3f4f6; color: #374151; }
  .dm-b-card-tag.dm-project-yes { background: #d1fae5; color: #065f46; }
  .dm-b-card-select {
    margin-top: 8px; padding: 7px 11px;
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 6px;
    font-size: 0.8125rem; color: #1f2937;
    display: flex; align-items: center; justify-content: space-between;
  }
  .dm-b-card-select .dm-caret { color: #9ca3af; }

  /* ================== VIEW: KIMUTATASOK ================== */
  .dm-reports-toolbar {
    padding: 22px 28px 16px;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .dm-reports-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #1c1917;
    margin-bottom: 4px;
  }
  .dm-reports-actions { display: flex; gap: 8px; flex-shrink: 0; }
  .dm-reports-btn {
    padding: 8px 14px; border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.85rem; color: #44403c; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
  .dm-reports-btn svg { width: 13px; height: 13px; }
  .dm-reports-btn.dm-primary {
    position: relative; overflow: hidden;
    border: 1px solid rgba(154, 52, 18, 0.6);
    background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
    color: #fff; font-weight: 600;
    box-shadow:
      0 2px 5px rgba(234, 88, 12, 0.35),
      0 6px 16px rgba(234, 88, 12, 0.25),
      inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
      inset 0 -2px 3px rgba(154, 52, 18, 0.4);
    text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
  }
  .dm-reports-btn.dm-primary::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: heroShimmer 5.5s ease-in-out infinite;
  }

  .dm-reports-body {
    flex-grow: 1; min-height: 0;
    padding: 22px 28px;
    display: flex; flex-direction: column; gap: 16px;
    overflow-y: auto;
    background: var(--bg-soft);
  }
  .dm-rep2-head { display: flex; align-items: center; gap: 16px; }
  .dm-rep2-period { display: inline-flex; background: #efedea; border-radius: 999px; padding: 3px; gap: 2px; }
  .dm-rep2-period button { border: none; background: transparent; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; color: #78716c; padding: 5px 12px; border-radius: 999px; }
  .dm-rep2-period button.dm-on { background: #ffffff; color: #1c1917; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
  .dm-rep2-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .dm-rep2-kpi { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); }
  .dm-rep2-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
  .dm-rep2-kpi-label { font-size: 0.8rem; color: #6b7280; font-weight: 500; }
  .dm-rep2-kpi-note { font-size: 0.72rem; color: #9ca3af; white-space: nowrap; }
  .dm-rep2-delta { font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
  .dm-rep2-delta.dm-up { background: #d1fae5; color: #065f46; }
  .dm-rep2-delta.dm-down { background: #fee2e2; color: #991b1b; }
  .dm-rep2-delta.dm-warn { background: #fef3c7; color: #92400e; }
  .dm-rep2-kpi-value { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; color: #1f2937; line-height: 1; white-space: nowrap; }
  .dm-rep2-kpi-value.dm-pos { color: #10b981; }
  .dm-rep2-kpi-value.dm-amber { color: #b45309; }
  .dm-rep2-card {
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 6px 14px rgba(28, 25, 23, 0.07), 0 18px 40px rgba(28, 25, 23, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .dm-rep2-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
  .dm-rep2-card-title { font-size: 0.92rem; font-weight: 700; color: #1f2937; }
  .dm-rep2-card-foot { font-size: 0.76rem; color: #9ca3af; }
  .dm-rep2-card-foot b { color: #1f2937; }
  .dm-rep2-legend { display: inline-flex; gap: 14px; font-size: 0.74rem; color: #6b7280; }
  .dm-rep2-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .dm-rep2-legend i { width: 9px; height: 9px; border-radius: 50%; }
  .dm-rep2-funnel { display: flex; flex-direction: column; gap: 9px; }
  .dm-rep2-frow { display: grid; grid-template-columns: 150px 1fr 46px; align-items: center; gap: 14px; }
  .dm-rep2-flabel { font-size: 0.8rem; color: #6b7280; text-align: right; }
  .dm-rep2-ftrack { background: #f3f4f6; border-radius: 7px; height: 32px; }
  .dm-rep2-fbar { height: 32px; border-radius: 7px; display: flex; align-items: center; padding: 0 12px; color: #fff; font-weight: 700; font-size: 0.82rem; min-width: 30px; }
  .dm-rep2-fbar-0 { background: #e5e7eb; color: #9ca3af; }
  .dm-rep2-fpct { font-size: 0.76rem; color: #9ca3af; }
  .dm-rep2-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .dm-rep2-line { width: 100%; height: 158px; display: block; }
  .dm-rep2-gl { stroke: #e5e7eb; stroke-width: 1; }
  .dm-rep2-area { fill: rgba(16, 185, 129, 0.1); stroke: none; }
  .dm-rep2-line-rev { fill: none; stroke: #10b981; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
  .dm-rep2-line-exp { fill: none; stroke: #cbd5e1; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
  .dm-rep2-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: 158px; padding: 0 2px; }
  .dm-rep2-bar { flex: 1; border-radius: 4px 4px 2px 2px; min-height: 4px; }
  .dm-rep2-bar.dm-pos { background: #10b981; }
  .dm-rep2-bar.dm-neg { background: #ef4444; }
  .dm-rep2-months { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.7rem; color: #9ca3af; }
  .dm-rep2-tops { display: flex; flex-direction: column; gap: 12px; }
  .dm-rep2-trow { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 14px; }
  .dm-rep2-tname { font-size: 0.8rem; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dm-rep2-ttrack { background: #f3f4f6; border-radius: 6px; height: 22px; overflow: hidden; }
  .dm-rep2-tfill { height: 100%; background: #3b82f6; border-radius: 6px; }
  .dm-rep2-tval { font-size: 0.78rem; font-weight: 650; color: #1f2937; white-space: nowrap; }
  .dm-rep2-donut-wrap { display: flex; align-items: center; gap: 24px; }
  .dm-rep2-donut { position: relative; width: 128px; height: 128px; flex-shrink: 0; }
  .dm-rep2-donut svg { width: 100%; height: 100%; }
  .dm-rep2-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .dm-rep2-donut-center b { font-size: 1.05rem; font-weight: 700; color: #1f2937; }
  .dm-rep2-donut-center span { font-size: 0.66rem; color: #9ca3af; }
  .dm-rep2-donut-legend { display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .dm-rep2-dl { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #6b7280; }
  .dm-rep2-dl i { width: 10px; height: 10px; border-radius: 3px; }
  .dm-rep2-dl b { margin-left: auto; color: #1f2937; }

  /* ================== VIEW: UGYFELKEZELES IDOVONAL ================== */
  .dm-tl-header {
    padding: 16px 22px 14px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap; row-gap: 12px;
  }
  .dm-tl-back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px;
    font-size: 0.85rem; color: var(--text-mute);
  }
  .dm-tl-back svg { width: 13px; height: 13px; }
  .dm-tl-person { flex-grow: 1; margin-left: 6px; min-width: 0; }
  .dm-tl-name { font-family: var(--font-sans); font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.015em; line-height: 1.15; }
  .dm-tl-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--text-mute); font-size: 0.88rem; flex-wrap: wrap; row-gap: 6px; }
  .dm-tl-badge { padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; font-family: var(--font-sans); white-space: nowrap; }
  .dm-tl-badge.dm-lead { background: var(--blue-soft); color: var(--blue); }
  .dm-tl-badge.dm-status { background: rgba(245, 158, 11, 0.14); color: #d97706; }
  .dm-tl-badge.dm-link { background: var(--good-soft); color: var(--good); }
  .dm-tl-actions { display: flex; gap: 8px; flex-shrink: 0; margin-left: auto; }
  .dm-tl-btn {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
    font-size: 0.85rem; color: var(--text-mute); font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
  .dm-tl-btn svg { width: 13px; height: 13px; }
  .dm-tl-btn.dm-primary {
    color: white;
    border: 1px solid rgba(154, 52, 18, 0.6);
    background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
    box-shadow: 0 2px 5px rgba(234, 88, 12, 0.3), inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
  }
  .dm-tl-tabs { display: inline-flex; gap: 4px; padding: 20px 28px 14px; }
  .dm-tl-tab {
    padding: 8px 14px; border-radius: 8px;
    font-size: 0.85rem; color: var(--text-mute);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .dm-tl-tab.dm-active { background: var(--accent); color: white; font-weight: 500; }
  .dm-tl-tab svg { width: 13px; height: 13px; }
  .dm-tl-body { flex-grow: 1; min-height: 0; padding: 14px 28px 24px; overflow-y: auto; }
  .dm-tl-composer {
    background: linear-gradient(180deg, #ffffff, #fbfaf9);
    border: 1px solid rgba(28, 25, 23, 0.1);
    border-radius: 16px;
    padding: 16px 18px 14px;
    margin-bottom: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 14px rgba(28, 25, 23, 0.06), 0 18px 40px -14px rgba(28, 25, 23, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .dm-tl-composer-tabs { display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--line); margin: -4px -4px 14px; }
  .dm-tl-composer-tab { padding: 10px 16px; font-size: 0.85rem; color: var(--text-mute); border-bottom: 2px solid transparent; flex-grow: 1; text-align: center; }
  .dm-tl-composer-tab.dm-active { color: var(--text); font-weight: 500; border-bottom-color: var(--accent); }
  .dm-tl-composer-field { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.86rem; color: var(--text-faint); margin-bottom: 10px; }
  .dm-tl-composer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
  .dm-tl-composer-row label { font-size: 0.75rem; color: var(--text-mute); display: block; margin-bottom: 4px; }
  .dm-tl-composer-input { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.85rem; color: var(--text); }
  .dm-tl-composer-submit {
    padding: 9px 18px; color: white;
    border-radius: 999px; font-size: 0.9rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px; float: right;
    border: 1px solid rgba(154, 52, 18, 0.6);
    background: linear-gradient(180deg, #fdac6c, #f97316 45%, #dc4f08);
    box-shadow: 0 2px 5px rgba(234, 88, 12, 0.35), inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 2px rgba(154, 52, 18, 0.4);
  }
  .dm-tl-composer-submit svg { width: 14px; height: 14px; }
  .dm-tl-composer::after { content: ''; display: block; clear: both; }
  .dm-tl-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .dm-tl-col-title {
    font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-faint);
    letter-spacing: 0.14em; text-transform: uppercase;
    padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 14px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .dm-tl-col-count { background: var(--bg-tint); color: var(--text-mute); font-family: var(--font-mono); font-size: 0.72rem; padding: 1px 8px; border-radius: 999px; }
  .dm-tl-event {
    position: relative;
    display: flex; align-items: flex-start; gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(28, 25, 23, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 5px 12px rgba(28, 25, 23, 0.05);
  }
  .dm-tl-event::before {
    content: ''; position: absolute; left: -17px; top: 50%;
    width: 7px; height: 7px; border-radius: 50%;
    background: #d6d3d0; transform: translateY(-50%);
  }
  .dm-tl-event::after {
    content: ''; position: absolute; left: -14px; top: calc(50% + 8px);
    bottom: -16px; width: 1px; background: #e7e5e4;
  }
  .dm-tl-event:last-child::after { display: none; }
  .dm-tl-event-ico {
    width: 30px; height: 30px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: white;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  .dm-tl-event-ico svg { width: 15px; height: 15px; }
  .dm-tl-event-ico.dm-email { background: #8b5cf6; }
  .dm-tl-event-ico.dm-meet { background: var(--good); }
  .dm-tl-event-ico.dm-call { background: var(--blue); }
  .dm-tl-event-body { flex-grow: 1; min-width: 0; }
  .dm-tl-event-kind { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2px; }
  .dm-tl-event-title { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 0.94rem; margin-bottom: 3px; letter-spacing: -0.01em; }
  .dm-tl-event-desc { color: var(--text-mute); font-size: 0.83rem; line-height: 1.4; margin-bottom: 6px; }
  .dm-tl-event-foot { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }
  .dm-tl-event-foot svg { width: 11px; height: 11px; }
  .dm-tl-task {
    position: relative;
    display: flex; gap: 10px;
    background: #ffffff;
    border: 1px solid rgba(28, 25, 23, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 5px 12px rgba(28, 25, 23, 0.05);
  }
  .dm-tl-task-check { width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 4px; flex-shrink: 0; margin-top: 2px; }
  .dm-tl-task-body { flex-grow: 1; min-width: 0; }
  .dm-tl-task-title { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--text); margin-bottom: 3px; display: flex; align-items: center; gap: 8px; }
  .dm-tl-task-pill { padding: 2px 8px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; }
  .dm-tl-task-desc { color: var(--text-mute); font-size: 0.83rem; line-height: 1.4; margin-bottom: 6px; }
  .dm-tl-task-foot { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }
  .dm-tl-task-foot svg { width: 11px; height: 11px; }

  /* ================== reduced-motion ================== */
}

@media (prefers-reduced-motion: reduce) {
  .dm-view { transition: none; }
  .dm-reports-btn.dm-primary::after { animation: none; }
}

/* ==================================================================
   TABLET-TIER (601-900px): a B-koncept mini-mockup NAGYOBB, tovabb „no".
   A <=600px mobil ertekek ERINTETLENEK; ez csak feluliras 601-900 kozott.
   A valodi desktop dashboard tovabbra is csak >900px-en jelenik meg.
   ================================================================== */
@media (min-width: 601px) and (max-width: 900px) {
  .dm-stage { padding: 10px clamp(24px, 7vw, 96px) 48px; }
  .dm-mini { max-width: 720px; border-radius: 18px; }
}

/* ==================================================================
   AGENT-MOD (.awf) szekcio: <=1200px MOBIL-elrendezes (1-oszlop, tab-sav nav +
   FUGGOLEGES kartya-stack, nincs oldalra gorgetes). >1200px: EREDETI desktop
   (2-oszlop, horizontalis node-diagram) VALTOZATLAN.
   ================================================================== */
@media (max-width: 1300px) {
  /* 1-oszlopos elrendezes + tab-sav nav (mindket also fokozatnal).
     minmax(0,1fr) + min-width:0 KELL: kulonben a grid-oszlop a 1100px .wstage min-content-jere
     fuvodik fel (grid min-width:auto blowout) -> a nav is ~771px szeles lenne a 400px helyett. */
  .awf-layout { grid-template-columns: minmax(0, 1fr); }
  .awf-nav, .awf-canvas { min-width: 0; }
  .awf-nav {
    flex-direction: row; position: static; overflow-x: auto;
    gap: 4px; padding: 0 0 12px; -webkit-overflow-scrolling: touch;
  }
  .awf-nav-title { display: none; }
  .awf-nav-item {
    flex: 0 0 auto; white-space: nowrap; padding: 8px 14px; font-size: 0.92rem;
    border-left: none; border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0;
  }
  .awf-nav-item.on { border-left-color: transparent; border-bottom-color: var(--accent); }
  .awf-nav-item small, .awf-nav-item .prog { display: none; }
  .awf-canvas::after { display: none; }
  /* A diagram ARANYOSAN kicsinyul: fix 1100x540 design-stage, a JS transform: scale()-t
     allit ra a canvas szelessege alapjan -> kartya + MINDEN felirat egyutt zsugorodik. */
  .awf-canvas { min-height: 0; }
  .wstage {
    inset: auto;
    left: 50%; top: 50px;
    width: 1100px; height: 540px;
    transform-origin: top center;
    transform: translateX(-50%);   /* a JS irja felul translateX(-50%) scale(S)-re */
  }
}
/* <=800px: a diagram OLVASHATO meretben marad (min. scale), a boxon belul oldalra
   gorgetheto, es a JS-kamera koveti az eppen korberajzolt kartyat. */
@media (max-width: 800px) {
  .aw-view { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .wstage { left: 0; transform-origin: top left; }
}
@media (max-width: 600px) {
  .awf-canvas-title { display: none; }   /* kis kijelzon utkozne az Ujrainditas gombbal; a tab-sav ugyis megnevezi a peldat */
}

/* ==================================================================
   TAB-SAV PAGER: <=820px csak 3 pelda + ket oldalt nyil; <=600px 1 pelda + nyil.
   A JS (updatePager) tolja a .awf-nav-track-ot es allitja a nyilak :disabled allapotat
   -> NINCS vizszintes gorgetes. >820px: display:contents miatt valtozatlan (5 elem sorban).
   ================================================================== */
@media (max-width: 820px) {
  .awf-nav {
    flex-direction: row; align-items: center; gap: 6px;
    overflow: visible; padding: 0 0 12px;
  }
  .awf-nav-arrow {
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto; width: 34px; height: 38px; padding: 0;
    border: 1px solid var(--border); border-radius: 9px;
    background: var(--bg-soft); color: var(--text);
    font-size: 1.3rem; line-height: 1; cursor: pointer;
    transition: opacity .2s, border-color .2s, color .2s;
  }
  .awf-nav-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
  .awf-nav-arrow:disabled { opacity: 0.28; cursor: default; }
  .awf-nav-view { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .awf-nav-track {
    display: flex; flex-direction: row; gap: 0;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1); will-change: transform;
  }
  .awf-nav-item {
    flex: 0 0 33.333%; max-width: 33.333%; box-sizing: border-box;
    text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    padding: 8px 8px;
  }
}
@media (max-width: 600px) {
  .awf-nav-item { flex-basis: 100%; max-width: 100%; }
}

/* ===== MOBIL FINOMÍTÁSOK (user, 2026-07-26) ===== */
@media (max-width: 600px) {
  /* #6: főoldal hero dashboard (dm-) ~1,5x nagyobb, jobbra kilóg (háttér EGYSÉGES a hero-val, user-döntés) */
  .dm-stage { padding-right: 0; }                         /* engedjük jobbra kilógni */
  .dm-mini { max-width: none; width: 120%; margin: 0; }   /* ~1,5x; balra igazítva → jobbra lóg ki */

  /* #2: Ajánlatok kb — oszloponkénti fix magasság (mért csúcs), hogy új lead / kártya-mozgás NE ugráljon */
  .kb-col:nth-child(1) { min-height: 197px; }   /* Új érdeklődő, max 2 kártya */
  .kb-col:nth-child(2) { min-height: 222px; }   /* Ajánlat kint, max 2 kártya + badge */
  .kb-col:nth-child(3) { min-height: 292px; }   /* Megrendelve, max 3 kártya */
}
/* #1: KÁOSZ→RENDSZER order-window kanban — a jobb szél lágyan elmosódik (ne csúnyán vágódjon) */
@media (max-width: 900px) {
  .owk-board {
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 86%, transparent 100%);
  }
  .owk-board { padding-bottom: 22px; }   /* kevesebb alsó rés → több hely a kártyáknak (volt 48px) */
}
/* KÁOSZ order-window: RÖVID kijelzőn (pl. iPhone SE) az ablak a cím ALATT marad (nincs átfedés a
   címmel), a tartalmat tömörítjük, hogy a Lejárt-oszlop 2. kártyája beférjen, és a tábla alja + jobb
   széle LÁGYAN elhalványul, hogy semmi ne vágódjon csúnyán a lábba vagy az oldalra. */
@media (max-height: 760px) {
  .order-window { top: clamp(148px, 22vh, 180px); }   /* épp a cím (~137px) alatt, mégis magasabb ablak */
  .ow-bar { padding: 7px 16px; }
  .owk-board {
    padding: 8px 16px 10px;
    -webkit-mask-image: linear-gradient(90deg,#000 86%,transparent 100%), linear-gradient(180deg,#000 84%,transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg,#000 86%,transparent 100%), linear-gradient(180deg,#000 84%,transparent 100%);
    mask-composite: intersect;
  }
  .owk-col { padding: 6px; }
  .owk-colhead { padding: 6px 10px; margin-bottom: 6px; }
  .owk-cards { gap: 6px; }
  .owk-card { padding: 8px; gap: 2px; }
  .owk-cat { padding-bottom: 4px; margin-bottom: 2px; }
  .owk-title { font-size: 0.68rem; line-height: 1.2; }
  .owk-resp, .owk-due { font-size: 0.6rem; }
  .owk-foot { margin-top: 3px; }
}
