/* =========================================================================
   VentorFlow CRM — design rendszer
   -------------------------------------------------------------------------
   A szerkezet és a hangulat a fora.so-tól jön: fekete vászon, egyetlen nagy
   fényforrás a hero tetején, pirula-címkék, teljesen lekerekített gombok,
   üveges felületek. A SZÍNEK viszont végig a Ventor design rendszeréből
   valók (ventorflow-app/src/app/globals.css) — a márkakék a logóból
   (#2E86C1), a zöld kizárólag a „megnyert / kész" jelentésű elemeké.
   A meleg rózsaszín horizont helyett ezért márkakék horizont van.
   ========================================================================= */

:root {
  color-scheme: dark;

  /* Vászon */
  --vf-black: #05070b;
  --vf-night: #0a0f16;
  --vf-deep: #101a24;

  /* Márka — a Ventor skála (globals.css) */
  --brand-100: #dceffa;
  --brand-200: #b9dff5;
  --brand-300: #8ac9ec;
  --brand-400: #56aede;
  --brand-500: #2e86c1;
  --brand-600: #1b6fa8;
  --brand-700: #175a89;
  --brand-900: #164060;
  --brand-950: #0e2840;

  /* Siker / megnyert — csak erre */
  --accent-400: #34d39e;
  --accent-500: #10b981;
  --accent-600: #059669;

  --warn-400: #fdb022;
  --danger-400: #fa7066;

  /* Tinta — hűvös törtfehér, a márkakékhez hangolva */
  --ink: #eaf1f8;
  --ink-2: rgb(234 241 248 / 0.64);
  --ink-3: rgb(234 241 248 / 0.42);
  --ink-4: rgb(234 241 248 / 0.26);

  /* Üveg felületek */
  --glass: rgb(255 255 255 / 0.045);
  --glass-2: rgb(255 255 255 / 0.075);
  --glass-3: rgb(255 255 255 / 0.11);
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);

  --r-pill: 999px;
  --r-card: 18px;
  --r-lg: 26px;
  --r-sm: 10px;

  --shell: min(1180px, 100% - 3rem);
  --shell-narrow: min(820px, 100% - 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: 'Inter', 'Inter var', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
}

/* ── Alap ───────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--vf-black);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgb(46 134 193 / 0.4);
  color: #fff;
}

/* ── Tipográfia skála ───────────────────────────────────────────────────── */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0;
  background: #f4f8fc;
  color: #08111a;
  font-size: 0.85rem;
  font-weight: 550;
}

.skip:focus {
  left: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell-narrow {
  width: var(--shell-narrow);
  margin-inline: auto;
}

.display {
  font-size: clamp(2.4rem, 6.2vw, 4.15rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.h2 {
  font-size: clamp(1.8rem, 3.9vw, 2.75rem);
  font-weight: 480;
  letter-spacing: -0.042em;
  line-height: 1.14;
}

.h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.115rem);
  color: var(--ink-2);
  line-height: 1.65;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

/* ── Pirula-címke (Fora „Intro / Core Features / Pricing") ──────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--glass-2);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 450;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 0 3px rgb(52 211 158 / 0.16);
}

.pill-dot.neutral {
  background: var(--brand-400);
  box-shadow: 0 0 0 3px rgb(86 174 222 / 0.16);
}

/* ── Gombok ─────────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: var(--glass-2);
  --btn-ink: var(--ink);
  --btn-line: var(--line-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.85rem;
  padding-inline: 1.5rem;
  border: 1px solid var(--btn-line);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

/* Fényvillanás — a Ventor gombokról átemelve, itt fehér csík. */
.btn::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.35), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  z-index: -1;
  transition: none;
}

.btn:hover::after {
  animation: shine 0.85s var(--ease) forwards;
}

@keyframes shine {
  from {
    left: -60%;
    opacity: 0.9;
  }
  to {
    left: 130%;
    opacity: 0;
  }
}

/* Elsődleges: tömör világos felület, sötét tintával — mint a Fora CTA-ja. */
.btn-primary {
  --btn-bg: #f4f8fc;
  --btn-ink: #08111a;
  --btn-line: transparent;
  font-weight: 550;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.6) inset,
    0 10px 30px -12px rgb(138 201 236 / 0.55);
}

.btn-primary:hover {
  --btn-bg: #ffffff;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 16px 40px -14px rgb(138 201 236 / 0.75);
}

/* Márka: a kék akkor jön elő, amikor a kékre akarunk mutatni. */
.btn-brand {
  --btn-bg: linear-gradient(180deg, var(--brand-500), var(--brand-700));
  --btn-ink: #ffffff;
  --btn-line: rgb(138 201 236 / 0.45);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.22) inset,
    0 12px 34px -14px rgb(46 134 193 / 0.85);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-line: var(--line-2);
  color: var(--ink-2);
}

.btn-ghost:hover {
  --btn-bg: var(--glass-2);
  color: var(--ink);
}

.btn-sm {
  height: 2.3rem;
  padding-inline: 1.05rem;
  font-size: 0.8125rem;
}

.btn-lg {
  height: 3.15rem;
  padding-inline: 2rem;
  font-size: 0.925rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--brand-300);
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.link-arrow:hover {
  gap: 0.65rem;
  color: var(--brand-200);
}

/* ── Fejléc ─────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding: 0.85rem 0;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav[data-stuck] {
  background: rgb(5 7 11 / 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  margin-right: auto;
}

.brand svg {
  width: 27px;
  height: 27px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--glass);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--glass-2);
  cursor: pointer;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -5px;
}
.nav-toggle span::after {
  top: 5px;
}

.nav-toggle[aria-expanded='true'] span {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] span::before {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-drawer {
  display: none;
  margin-top: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgb(10 15 22 / 0.95);
  backdrop-filter: blur(18px);
}

.nav-drawer[data-open] {
  display: block;
}

.nav-drawer a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.925rem;
  color: var(--ink-2);
}

.nav-drawer a:hover {
  background: var(--glass);
  color: var(--ink);
}

.nav-drawer .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(8.5rem, 16vw, 12rem) 0 0;
  text-align: center;
  isolation: isolate;
}

/* Az egyetlen fényforrás: a márkakék horizont a hero teteje fölött.
   A fora.so meleg rózsaszín ívének a Ventor-kék megfelelője. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    /* A reflektor: a fény a címsor mögött a legerősebb, és lefelé hal el. */
    radial-gradient(
      116% 62% at 50% 38%,
      rgb(86 174 222 / 0.44) 0%,
      rgb(46 134 193 / 0.3) 32%,
      rgb(22 64 96 / 0.18) 56%,
      transparent 76%
    ),
    /* A vászon: majdnem fekete a lap tetején, hogy a fejléc tiszta maradjon. */
    radial-gradient(160% 118% at 50% 0%, #08111a 0%, #070b11 52%, #05070b 100%);
}

/* Sötét lefolyó, hogy a fény a széleken haljon el, ne vágjon élt. */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgb(5 7 11 / 0) 0%,
    rgb(5 7 11 / 0.45) 42%,
    rgb(5 7 11 / 0.86) 76%,
    var(--vf-black) 100%
  );
  pointer-events: none;
}

.hero-badge {
  margin-bottom: 1.6rem;
}

.hero h1 {
  margin-inline: auto;
  max-width: 16ch;
}

.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 56ch;
  font-size: clamp(0.975rem, 1.25vw, 1.075rem);
  color: rgb(234 241 248 / 0.72);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.1rem;
}

.hero-note {
  margin-top: 1.15rem;
  font-size: 0.78rem;
  color: rgb(234 241 248 / 0.45);
}

.hero-stage {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}

/* ── Zaj / szemcse: a nagy gradiens sávosodását töri meg ────────────────── */

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Szekció-váz ────────────────────────────────────────────────────────── */

section {
  position: relative;
  z-index: 2;
}

.section {
  padding: clamp(4rem, 7.5vw, 6.5rem) 0;
}

.section-tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-head {
  max-width: 52ch;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .pill {
  margin-bottom: 1.35rem;
}

.section-head .lede {
  margin-top: 1.1rem;
}

/* Halvány elválasztó fény a szekciók között */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

/* ── Kártya ─────────────────────────────────────────────────────────────── */

.card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--glass);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    transform 0.35s var(--ease);
}

/* Egérkövető fénysáv — a fora.so kártyáin lévő radiális csillanás. */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgb(86 174 222 / 0.16),
    transparent 62%
  );
}

.card:hover {
  border-color: var(--line-2);
  background: var(--glass-2);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: linear-gradient(180deg, rgb(86 174 222 / 0.18), rgb(46 134 193 / 0.06));
  color: var(--brand-300);
}

.card-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 520;
  letter-spacing: -0.025em;
}

.card p {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ── Alkalmazás-makett ──────────────────────────────────────────────────────
   Nem képernyőkép, hanem élő HTML: éles minden kijelzőn, és a valódi
   VentorFlow felület szemantikus tokenjeit használja (canvas / surface /
   line / ink), csak sötét témában.
   ------------------------------------------------------------------------ */

.app {
  --app-canvas: #0a0d12;
  --app-surface: #10141b;
  --app-raised: #161b24;
  --app-line: #232a35;
  --app-ink: #e8ecf2;
  --app-ink-2: #a3aec0;
  --app-ink-3: #75839a;

  position: relative;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--r-lg);
  background: var(--app-canvas);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.12) inset,
    0 40px 90px -30px rgb(0 0 0 / 0.9),
    0 0 120px -40px rgb(46 134 193 / 0.55);
}

.app-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--app-line);
  background: var(--app-surface);
}

.app-dots {
  display: flex;
  gap: 0.32rem;
}

.app-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c3543;
}

.app-url {
  flex: 1;
  max-width: 260px;
  margin-inline: auto;
  padding: 0.22rem 0.7rem;
  border: 1px solid var(--app-line);
  border-radius: var(--r-pill);
  background: var(--app-canvas);
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--app-ink-3);
  text-align: center;
}

.app-body {
  display: grid;
  grid-template-columns: 176px 1fr;
  min-height: 380px;
}

.app-side {
  padding: 0.85rem 0.7rem;
  border-right: 1px solid var(--app-line);
  background: var(--app-surface);
}

.app-side-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-side-brand svg {
  width: 19px;
  height: 19px;
}

.app-nav {
  display: grid;
  gap: 1px;
}

.app-nav a,
.app-nav span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.5rem;
  border-radius: 7px;
  font-size: 0.735rem;
  color: var(--app-ink-2);
}

.app-nav .on {
  background: rgb(86 174 222 / 0.13);
  color: var(--brand-300);
  font-weight: 500;
}

.app-nav i {
  width: 13px;
  height: 13px;
  border-radius: 3.5px;
  border: 1.4px solid currentColor;
  opacity: 0.55;
  flex: none;
}

.app-nav .on i {
  opacity: 1;
  background: rgb(86 174 222 / 0.28);
}

.app-main {
  padding: 1rem 1.1rem 1.3rem;
  background: var(--app-canvas);
  min-width: 0;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--app-line);
}

.app-title {
  font-size: 0.925rem;
  font-weight: 550;
  letter-spacing: -0.025em;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--app-line);
  font-size: 0.66rem;
  color: var(--app-ink-2);
  white-space: nowrap;
}

.chip-hot {
  border-color: rgb(250 112 102 / 0.35);
  background: rgb(250 112 102 / 0.12);
  color: #ffb3ac;
}
.chip-warm {
  border-color: rgb(253 176 34 / 0.32);
  background: rgb(253 176 34 / 0.1);
  color: #ffd591;
}
.chip-cold {
  border-color: rgb(117 131 154 / 0.35);
  background: rgb(117 131 154 / 0.12);
  color: #b6c1d3;
}
.chip-won {
  border-color: rgb(52 211 158 / 0.34);
  background: rgb(52 211 158 / 0.12);
  color: #7ee9c5;
}
.chip-ai {
  border-color: rgb(86 174 222 / 0.35);
  background: rgb(86 174 222 / 0.12);
  color: var(--brand-300);
}

/* Pipeline (kanban) */
.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.95rem;
}

.kan-col {
  min-width: 0;
}

.kan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.665rem;
  color: var(--app-ink-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kan-head b {
  font-weight: 500;
  color: var(--app-ink-2);
}

.kan-card {
  padding: 0.55rem 0.6rem;
  margin-bottom: 0.45rem;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-raised);
}

.kan-card strong {
  display: block;
  font-size: 0.735rem;
  font-weight: 520;
  letter-spacing: -0.015em;
}

.kan-card span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.655rem;
  color: var(--app-ink-3);
}

.kan-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.kan-card.lift {
  border-color: rgb(86 174 222 / 0.5);
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(86 174 222 / 0.18);
  transform: rotate(-1.1deg) translateY(-2px);
}

.score {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--brand-300);
}

/* Lead lista */
.rows {
  margin-top: 0.85rem;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  overflow: hidden;
}

.row-item {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.75rem;
  border-bottom: 1px solid var(--app-line);
  background: var(--app-surface);
  font-size: 0.735rem;
}

.row-item:last-child {
  border-bottom: 0;
}

.row-item .who {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-900));
  font-size: 0.6rem;
  font-weight: 600;
  color: #fff;
}

.row-item .meta {
  color: var(--app-ink-3);
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* AI panel */
.ai-panel {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.ai-box {
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: var(--app-surface);
}

.ai-box h4 {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--app-ink-3);
}

.ai-box p {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--app-ink-2);
}

.gauge {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.gauge b {
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--app-ink);
}

.bar {
  height: 5px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.07);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
}

/* Automatizáció-folyam */
.flow {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: var(--app-surface);
  font-size: 0.735rem;
}

.flow-step .n {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  background: rgb(86 174 222 / 0.16);
  color: var(--brand-300);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.flow-step .t {
  flex: 1;
  min-width: 0;
}

.flow-step .t span {
  display: block;
  font-size: 0.655rem;
  color: var(--app-ink-3);
}

.flow-link {
  height: 12px;
  margin-left: 1.35rem;
  border-left: 1.5px dashed rgb(86 174 222 / 0.4);
}

/* Elemzés */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.stat {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: var(--app-surface);
}

.stat span {
  font-size: 0.655rem;
  color: var(--app-ink-3);
}

.stat b {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 46px;
  margin-top: 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: var(--app-surface);
  box-sizing: content-box;
}

.spark i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--brand-400), rgb(46 134 193 / 0.25));
}

/* Ajánlat */
.quote {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  background: var(--app-surface);
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed var(--app-line);
  font-size: 0.735rem;
  color: var(--app-ink-2);
}

.quote-row:last-of-type {
  border-bottom: 0;
}

.quote-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--app-line);
  font-size: 0.8rem;
  font-weight: 550;
}

/* ── Fül-váltó a termékbemutatóhoz ──────────────────────────────────────── */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 2.4rem auto 1.9rem;
}

.tab {
  padding: 0.46rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--glass);
  color: var(--ink-2);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.tab:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.tab[aria-selected='true'] {
  background: #f4f8fc;
  border-color: transparent;
  color: #08111a;
  font-weight: 520;
}

.pane[hidden] {
  display: none;
}

.pane {
  animation: fade 0.5s var(--ease);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.pane-note {
  margin-top: 1.15rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* ── Bento rács ─────────────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-top: 2.6rem;
}

.bento > * {
  grid-column: span 2;
}

.bento .wide {
  grid-column: span 3;
}

.bento .full {
  grid-column: span 6;
}

/* ── Futószalag (automatizációs sablonok) ───────────────────────────────── */

.marquee {
  position: relative;
  margin-top: 2.4rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0.6rem;
  width: max-content;
  animation: slide 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee + .marquee .marquee-track {
  animation-duration: 58s;
  animation-direction: reverse;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.tmpl {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--glass);
  font-size: 0.8125rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.tmpl b {
  font-weight: 500;
  color: var(--ink);
}

.tmpl i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-400);
}

.tmpl.green i {
  background: var(--accent-400);
}

/* ── Lépések ────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 2.6rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--glass);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--brand-300);
  letter-spacing: 0.06em;
}

.step h3 {
  font-size: 0.975rem;
  font-weight: 520;
  letter-spacing: -0.025em;
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Iparágak ───────────────────────────────────────────────────────────── */

.industries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.industry {
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(420px circle at 100% 0%, rgb(46 134 193 / 0.14), transparent 60%),
    var(--glass);
}

.industry ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.industry li {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  color: var(--ink-2);
}

/* ── Árazás ─────────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2.6rem;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.55rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  height: 100%;
}

.plan.featured {
  border-color: rgb(86 174 222 / 0.45);
  background:
    radial-gradient(520px circle at 50% -10%, rgb(46 134 193 / 0.22), transparent 62%),
    var(--glass-2);
  box-shadow: 0 30px 70px -34px rgb(46 134 193 / 0.7);
}

.plan-tag {
  position: absolute;
  top: -0.72rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  font-size: 0.68rem;
  font-weight: 550;
  color: #04121d;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-300);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 2rem;
  font-weight: 450;
  letter-spacing: -0.045em;
}

.plan-price small {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan-desc {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-2);
  min-height: 2.6em;
}

.plan .btn {
  width: 100%;
  margin-top: 1.25rem;
}

.plan-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.plan-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 0.18rem;
  color: var(--accent-400);
}

.plan-foot {
  margin-top: 1.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ── GY.I.K. ────────────────────────────────────────────────────────────── */

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 6.5rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0.25rem;
  font-size: 0.975rem;
  font-weight: 480;
  letter-spacing: -0.022em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--brand-200);
}

.faq-item summary::after {
  content: '';
  width: 11px;
  height: 11px;
  flex: none;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.5;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  opacity: 1;
}

.faq-item .answer {
  padding: 0 3rem 1.3rem 0.25rem;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--ink-2);
}

/* ── Záró CTA ───────────────────────────────────────────────────────────── */

.closer {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.closer::before {
  content: '';
  position: absolute;
  inset: auto -20% -55% -20%;
  height: 130%;
  z-index: -1;
  background: radial-gradient(
    100% 78% at 50% 100%,
    #56aede 0%,
    #1f6398 30%,
    #12314a 58%,
    rgb(5 7 11 / 0) 80%
  );
  opacity: 0.9;
}

.closer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

/* Naptár */
.booking {
  margin-top: 2.6rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.03);
  padding: 0.6rem;
  backdrop-filter: blur(14px);
}

.booking-inner {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  min-height: 620px;
}

.booking-inner iframe {
  width: 100%;
  border: 0;
  display: block;
}

.booking-placeholder {
  display: grid;
  place-items: center;
  gap: 1rem;
  min-height: 220px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

/* ── Lábléc ─────────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}

.footer h4 {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer li + li {
  margin-top: 0.5rem;
}

.footer a {
  font-size: 0.85rem;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-3);
}

/* ── Belépő animációk ───────────────────────────────────────────────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.js [data-reveal][data-in] {
  opacity: 1;
  transform: none;
}

/* ── Reszponzív ─────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  :root {
    --shell: min(1180px, 100% - 2.25rem);
    --shell-narrow: min(820px, 100% - 2.25rem);
  }

  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .bento > *,
  .bento .wide {
    grid-column: span 3;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .plan.featured {
    order: -1;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-side {
    display: none;
  }

  .kanban {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(1180px, 100% - 1.75rem);
    --shell-narrow: min(820px, 100% - 1.75rem);
  }

  .bento > *,
  .bento .wide,
  .bento .full {
    grid-column: span 6;
  }

  .steps,
  .industries {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .kanban {
    grid-template-columns: 1fr;
  }

  .row-item {
    grid-template-columns: 1fr auto;
  }

  .row-item .meta {
    display: none;
  }

  .hero-cta .btn,
  .closer-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .booking-inner {
    min-height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none;
  }
}
