/* ════════════════════════════════════════════════════════════════════════
   PLETIVA AI — web
   Vizuál: grafitová tma, oceľ a jediný akcent — limetkové svetlo (z loga).
   Motív: kosoštvorcové pletivo, ktoré sa mení na neurónovú sieť.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #070a09;
  --bg-2: #0b100e;
  --panel: #0f1613;
  --panel-2: #131c18;
  --line: rgba(196, 232, 206, .08);
  --line-2: rgba(196, 232, 206, .15);
  --fg: #eef3ef;
  --fg-2: #b6c2bb;
  --fg-3: #7f8c85;
  --lime: #a6e36a;
  --lime-2: #7cc242;
  --lime-glow: rgba(166, 227, 106, .35);
  --steel: #c7d1d8;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --f-disp: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--f-body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-disp); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: #0a0f0b; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: #0a0f0b; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); position: relative; }
.lime { color: var(--lime); }

/* ── Tlačidlá ────────────────────────────────────────────────────────── */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 700 15px/1 var(--f-body); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .3s, color .25s;
  white-space: nowrap;
}
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--lime { background: var(--lime); color: #0a0f0b; box-shadow: 0 0 0 0 var(--lime-glow), 0 10px 30px -10px var(--lime-glow); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(166, 227, 106, .12), 0 18px 40px -12px var(--lime-glow); }
.btn--ghost { background: rgba(255, 255, 255, .02); border-color: var(--line-2); color: var(--fg); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(166, 227, 106, .5); color: var(--lime); transform: translateY(-2px); }
.btn--ghost[aria-pressed="true"] { border-color: var(--lime); color: var(--lime); background: rgba(166, 227, 106, .08); }
.btn--text { background: none; color: var(--fg-2); padding: 0 8px; }
.btn--text:hover { color: var(--fg); }
.arr { width: 16px; height: 2px; background: currentColor; position: relative; display: inline-block; transition: width .25s var(--ease); }
.arr::after { content: ''; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 22px; }

/* pásik priebehu čítania a jemné zrno (hĺbka tmavých plôch) */
.postup { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: linear-gradient(90deg, var(--lime-2), var(--lime)); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--lime-glow); pointer-events: none; }
.zrno { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Navigácia ───────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 10, 9, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: 72px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 22px; width: auto; }
.logo__ai { font: 600 11px/1 var(--f-disp); letter-spacing: .12em; color: #0a0f0b; background: var(--lime); padding: 5px 7px 4px; border-radius: 6px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--fg-2); position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__burger span { width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobmenu { padding: 8px var(--pad) 24px; display: flex; flex-direction: column; gap: 4px; background: rgba(7, 10, 9, .96); border-bottom: 1px solid var(--line); }
.mobmenu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 17px; }
.mobmenu .btn { margin-top: 16px; }

/* ── Úvod ────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(960px, 100svh); display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__img { position: absolute; z-index: -2; top: 0; right: -4%; bottom: 0; width: 72%; display: flex; align-items: center; pointer-events: none; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%); mask-composite: intersect;
  animation: heroImg 1.8s var(--ease) both; }
@keyframes heroImg { from { opacity: 0; transform: scale(1.06); } to { opacity: .92; transform: none; } }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero__in { width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .06em; color: var(--fg-2); padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7, 10, 9, .5); backdrop-filter: blur(8px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime-glow); animation: pulz 2.4s infinite; }
@keyframes pulz { 0% { box-shadow: 0 0 0 0 rgba(166,227,106,.55); } 70% { box-shadow: 0 0 0 10px rgba(166,227,106,0); } 100% { box-shadow: 0 0 0 0 rgba(166,227,106,0); } }
.hero__h { margin: 26px 0 26px; font-size: clamp(40px, 7vw, 96px); line-height: .98; font-weight: 600; letter-spacing: -.035em; max-width: 12ch; }
.hero__h .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__h .ln > * , .hero__h .ln { animation: lnIn 1.1s var(--ease) both; }
.hero__h .ln:nth-child(2) { animation-delay: .12s; }
.hero__h .ln:nth-child(3) { animation-delay: .24s; }
@keyframes lnIn { from { opacity: 0; transform: translateY(40%); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.ln--lime { background: linear-gradient(92deg, var(--lime) 0%, #d9f7b9 45%, var(--lime) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: lnIn 1.1s .24s var(--ease) both, lesk 6s 1.6s ease-in-out infinite; }
@keyframes lesk { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero__p { max-width: 54ch; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--fg-2); animation: lnIn 1.1s .36s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: lnIn 1.1s .46s var(--ease) both; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 56px 0 0; padding-top: 26px; border-top: 1px solid var(--line); max-width: 760px; animation: lnIn 1.1s .56s var(--ease) both; }
.hero__facts div { display: flex; flex-direction: column; gap: 4px; }
.hero__facts dt { font: 500 15px/1.2 var(--f-mono); color: var(--fg); letter-spacing: .02em; }
.hero__facts dd { margin: 0; font-size: 13.5px; color: var(--fg-3); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 3px; background: var(--lime); transform: translateX(-50%); animation: kolo 2s infinite; }
@keyframes kolo { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ── Pás schopností ──────────────────────────────────────────────────── */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 12px; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--fg-2); white-space: nowrap; background: rgba(255,255,255,.015); }
.chip i { width: 6px; height: 6px; transform: rotate(45deg); border: 1.5px solid var(--lime); }

/* ── Sekcie ──────────────────────────────────────────────────────────── */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker { font: 500 12.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--lime); }
.sec h2 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.06; }
.sec__lead { margin-top: 22px; max-width: 58ch; color: var(--fg-2); font-size: clamp(16.5px, 1.35vw, 18.5px); }

/* odkrývanie pri skrolovaní — bez JS je všetko viditeľné */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* svetlo sledujúce myš na kartách */
[data-glow] { position: relative; }
[data-glow]::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(166, 227, 106, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
[data-glow]:hover::before { opacity: 1; }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; color: var(--fg-2); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--lime); }

/* ── Agenti ──────────────────────────────────────────────────────────── */
.stars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent { border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s; }
.agent:hover { transform: translateY(-6px); border-color: var(--line-2); }
.agent__img { aspect-ratio: 4 / 3.2; overflow: hidden; position: relative; }
.agent__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--panel)); }
.agent__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.agent:hover .agent__img img { transform: scale(1.06); }
.agent__body { padding: 6px 26px 30px; display: flex; flex-direction: column; }
.agent__tag, .mini__tag { font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.agent h3 { font-size: 25px; margin: 10px 0 12px; }
.agent__body > p:not(.agent__tag) { color: var(--fg-2); font-size: 15.5px; }

.grid-agents { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini { border-radius: var(--r); background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); padding: 26px; transition: transform .5s var(--ease), border-color .3s; }
.mini:hover { transform: translateY(-4px); border-color: var(--line-2); }
.mini__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--lime); background: rgba(166, 227, 106, .07); border: 1px solid rgba(166, 227, 106, .18); margin-bottom: 20px; }
.mini__ico svg { width: 23px; height: 23px; }
.mini h3 { font-size: 20px; margin: 8px 0 10px; }
.mini > p:last-child { color: var(--fg-2); font-size: 15px; }
.tim { margin: 18px 0 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); position: relative; }
.tim img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.tim__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(transparent, rgba(7,10,9,.92)); display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.tim__cap p { max-width: 52ch; color: var(--fg-2); font-size: 15.5px; }
.tim__cap b { color: var(--fg); font-family: var(--f-disp); font-weight: 600; font-size: 20px; display: block; margin-bottom: 6px; letter-spacing: -.01em; }

/* ── 3D ──────────────────────────────────────────────────────────────── */
.sec--3d { background: radial-gradient(900px 500px at 75% 50%, rgba(166, 227, 106, .07), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.d3 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.spec { margin: 32px 0 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--fg-3); font-size: 14.5px; }
.spec dd { margin: 0; font: 500 14.5px/1.4 var(--f-mono); color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; }
.d3__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.d3__stage { position: relative; aspect-ratio: 1 / 1.02; border-radius: 28px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #18231d 0%, #0b100e 62%); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255,255,255,.04); }
.d3__stage::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(196,232,206,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(196,232,206,.05) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(circle at 50% 60%, #000, transparent 72%); mask-image: radial-gradient(circle at 50% 60%, #000, transparent 72%); }
#d3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#d3-canvas:active { cursor: grabbing; }
.d3__hud { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--fg-3); text-transform: uppercase; pointer-events: none; }
.d3__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--fg-3); font-size: 14px; transition: opacity .6s; }
.d3__load span { width: 36px; height: 36px; border: 2px solid var(--line-2); border-top-color: var(--lime); border-radius: 50%; animation: tocka 1s linear infinite; }
.d3__load.is-done { opacity: 0; pointer-events: none; }
@keyframes tocka { to { transform: rotate(360deg); } }

/* ── Kroky ───────────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: k; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent); }
.step { position: relative; padding: 0 8px; }
.step__n { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font: 600 22px/1 var(--f-disp); color: var(--lime); margin-bottom: 28px; position: relative; }
.step__n::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(166, 227, 106, .25); animation: tocka 22s linear infinite; }
.step h3 { font-size: 21px; margin-bottom: 12px; }
.step p { color: var(--fg-2); font-size: 15.5px; max-width: 34ch; }

/* ── Živá ukážka (Ako to funguje) ─────────────────────────────────────── */
.sec--ako { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); }
.demo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.demo__win { border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #111915, #0b100e); box-shadow: 0 60px 140px -60px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05); overflow: hidden; }
.demo__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--f-mono); color: var(--fg-3); letter-spacing: .04em; }
.demo__bar i { width: 10px; height: 10px; border-radius: 50%; background: #26302b; }
.demo__bar span { margin-left: 10px; }
.demo__live { margin-left: auto; font-weight: 500; color: var(--lime); display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; }
.demo__live em { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulz 2s infinite; }
.demo__chat { padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; min-height: 468px; }
.demo [data-k] { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.demo [data-k].is-on { opacity: 1; transform: none; }
.msg { max-width: 88%; }
.msg--ja { align-self: flex-end; background: var(--lime); color: #0a0f0b; padding: 13px 17px; border-radius: 18px 18px 6px 18px; font-weight: 600; font-size: 15px; min-height: 48px; }
.msg--ja .msg__txt::after { content: ''; display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: kurzor .8s steps(1) infinite; }
.msg--ja.is-hotovo .msg__txt::after { display: none; }
@keyframes kurzor { 50% { opacity: 0; } }
.msg--ai { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); padding: 12px 16px; border-radius: 18px 18px 18px 6px; font-size: 15px; color: var(--fg-2); }
.msg__who { display: flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--f-disp); color: var(--fg); margin-bottom: 7px; letter-spacing: .02em; }
.msg__who svg { width: 15px; height: 15px; color: var(--lime); }
.kroky { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kroky li { display: grid; grid-template-columns: 22px auto 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); font-size: 14px; }
.kroky b { font-weight: 700; }
.kroky span:not(.kroky__ico) { color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kroky em { font: 500 12.5px/1 var(--f-mono); font-style: normal; color: var(--fg-3); white-space: nowrap; transition: color .3s; }
.kroky__ico { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--lime); animation: tocka .8s linear infinite; }
.kroky li.is-hotovo .kroky__ico { animation: none; border-color: var(--lime); background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%230a0f0b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.kroky li.is-hotovo em { color: var(--lime); }
.schval { border-radius: 16px; border: 1px solid rgba(166, 227, 106, .4); background: rgba(166, 227, 106, .05); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.schval p b { display: block; font-size: 15px; margin-bottom: 3px; }
.schval p span { font-size: 13px; color: var(--fg-3); font-family: var(--f-mono); }
.schval__b { display: flex; gap: 8px; flex-wrap: wrap; }
.schval__b span { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.schval__ok { background: var(--lime); color: #0a0f0b; transition: transform .2s, box-shadow .3s; }
.schval__ok.is-klik { transform: scale(.95); box-shadow: 0 0 0 8px rgba(166, 227, 106, .2); }
.schval__no { border: 1px solid var(--line-2); color: var(--fg-2); }
.schval__hotovo { display: none; color: var(--lime); font-weight: 700; font-size: 14.5px; }
.schval.is-hotovo .schval__b { display: none; }
.schval.is-hotovo .schval__hotovo { display: block; }
.demo__kroky { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.demo__kroky li { display: flex; gap: 18px; padding: 20px; border-radius: 18px; border: 1px solid transparent; transition: background .5s, border-color .5s, opacity .5s; opacity: .45; }
.demo__kroky li.is-akt { opacity: 1; background: var(--panel); border-color: var(--line-2); }
.demo__kroky li > span { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--f-disp); color: var(--lime); border: 1px solid rgba(166, 227, 106, .35); }
.demo__kroky h3 { font-size: 18px; margin-bottom: 6px; }
.demo__kroky p { color: var(--fg-2); font-size: 15px; }

.dalej { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.dalej li { display: flex; gap: 16px; }
.dalej li > span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 600 14px/1 var(--f-disp); color: #0a0f0b; background: var(--lime); }
.dalej b { display: block; font-size: 16.5px; margin-bottom: 2px; }
.dalej p { color: var(--fg-2); font-size: 15px; }

/* ── Dashboard ───────────────────────────────────────────────────────── */
.dash { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.dash__img { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 120px -50px rgba(166, 227, 106, .25); }
.dash__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feat { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; }
.feat li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.feat li:first-child { border-top: 1px solid var(--line); }
.feat b { font-weight: 700; color: var(--fg); }
.feat span { color: var(--fg-2); }

/* ── Vlastná AI ──────────────────────────────────────────────────────── */
.sec--core { overflow: hidden; isolation: isolate; }
.core__bg { position: absolute; inset: 0; z-index: -1; }
.core__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%); }
.core { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.zaruky { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.zaruky li { display: flex; gap: 16px; align-items: flex-start; }
.zaruky__i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--lime); background: rgba(166, 227, 106, .07); border: 1px solid rgba(166, 227, 106, .2); }
.zaruky__i svg { width: 22px; height: 22px; }
.zaruky b { display: block; font-size: 16.5px; margin-bottom: 3px; }
.zaruky p { color: var(--fg-2); font-size: 15px; }

/* reaktor: jadro NEXA a obežné dráhy dát */
.reaktor { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; }
.reaktor__k { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.reaktor__k--1 { inset: 0; border-style: dashed; border-color: rgba(166, 227, 106, .18); animation: tocka 60s linear infinite; }
.reaktor__k--2 { inset: 11%; animation: tocka 26s linear infinite reverse; }
.reaktor__k--3 { inset: 23%; border-color: rgba(166, 227, 106, .3); animation: tocka 16s linear infinite; }
.reaktor__k--4 { inset: 34%; background: radial-gradient(circle, rgba(166, 227, 106, .22), rgba(166, 227, 106, .02) 60%, transparent 70%); border-color: rgba(166, 227, 106, .45); box-shadow: 0 0 80px rgba(166, 227, 106, .25), inset 0 0 40px rgba(166, 227, 106, .15); animation: dych 4s ease-in-out infinite; }
.reaktor__k i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime), 0 0 4px #fff; top: -5px; left: calc(50% - 5px); }
.reaktor__k--2 i:nth-child(2) { top: auto; bottom: -5px; width: 7px; height: 7px; left: calc(50% - 3.5px); opacity: .7; }
.reaktor__jadro { position: absolute; inset: 40%; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px; background: radial-gradient(circle at 40% 35%, #1d2a22, #0a0f0c); border: 1px solid rgba(166, 227, 106, .5); }
.reaktor__jadro b { font: 600 clamp(15px, 1.6vw, 20px)/1 var(--f-disp); letter-spacing: .04em; }
.reaktor__jadro span { font: 500 10px/1 var(--f-mono); color: var(--lime); letter-spacing: .08em; text-transform: uppercase; }
.reaktor__tag { position: absolute; font: 500 12px/1 var(--f-mono); color: var(--fg-2); padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7, 10, 9, .8); backdrop-filter: blur(6px); animation: vznasaj 6s ease-in-out infinite; }
.reaktor__tag::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; }
.reaktor__tag--a { top: 8%; left: 2%; }
.reaktor__tag--b { top: 16%; right: 0; animation-delay: -1.5s; }
.reaktor__tag--c { bottom: 14%; left: -2%; animation-delay: -3s; }
.reaktor__tag--d { bottom: 6%; right: 6%; animation-delay: -4.5s; }
@keyframes dych { 50% { box-shadow: 0 0 120px rgba(166, 227, 106, .38), inset 0 0 50px rgba(166, 227, 106, .22); } }
@keyframes vznasaj { 50% { transform: translateY(-8px); } }

/* ── Prenájom ────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); padding: 34px 30px; display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; }
.plan__who { color: var(--fg-3); font-size: 15px; margin-top: 8px; min-height: 2.8em; }
.plan__price { font: 500 15px/1 var(--f-mono); color: var(--fg); padding: 20px 0; margin: 20px 0 4px; border-block: 1px solid var(--line); letter-spacing: .02em; }
.plan .ticks { margin-bottom: 30px; flex: 1; }
.plan .btn { align-self: stretch; }
.plan--hot { background: linear-gradient(180deg, rgba(166, 227, 106, .09), var(--panel) 45%); border-color: rgba(166, 227, 106, .35); box-shadow: 0 30px 80px -40px var(--lime-glow); }
.plans__note { margin-top: 26px; text-align: center; color: var(--fg-3); font-size: 15px; }
.plan__badge { align-self: flex-start; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #0a0f0b; background: var(--lime); padding: 7px 10px; border-radius: 999px; margin-bottom: 18px; }

/* ── Otázky ──────────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .sec__head { position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-weight: 700; font-size: 18px; position: relative; transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after, .faq__list summary::before { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--lime); transition: transform .35s var(--ease); }
.faq__list summary::before { transform: rotate(90deg); }
.faq__list details[open] summary::before { transform: rotate(0deg); }
.faq__list summary:hover { color: var(--lime); }
.faq__list details p { padding: 0 48px 26px 0; color: var(--fg-2); max-width: 62ch; }

/* ── Kontakt ─────────────────────────────────────────────────────────── */
.sec--cta { overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; }
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.form { border-radius: 26px; border: 1px solid var(--line-2); background: rgba(12, 17, 15, .82); backdrop-filter: blur(16px); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.form__row { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.form label, .form legend { font-size: 13.5px; font-weight: 700; color: var(--fg-2); padding: 0; }
.form label small { font-weight: 500; color: var(--fg-3); }
.form input:not([type=checkbox]), .form textarea {
  width: 100%; font: 500 16px/1.4 var(--f-body); color: var(--fg); background: rgba(255,255,255,.03);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(166, 227, 106, .12); background: rgba(255,255,255,.05); }
.form input.is-bad { border-color: #ff8a73; }
.form__chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.form__chips legend { width: 100%; margin-bottom: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--fg-2); transition: all .2s; }
.pick input:checked + span { border-color: var(--lime); color: #0a0f0b; background: var(--lime); }
.pick input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__msg { font-size: 14.5px; min-height: 1.4em; color: var(--fg-2); }
.form__msg.ok { color: var(--lime); }
.form__msg.err { color: #ff8a73; }

/* ── Päta ────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--fg-3); font-size: 14px; }
.foot__c { margin-left: auto; font-family: var(--f-mono); font-size: 12.5px; }

/* ── Menšie obrazovky ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .stars { grid-template-columns: 1fr 1fr; }
  .stars .agent:last-child { grid-column: 1 / -1; }
  .stars .agent:last-child .agent__img { aspect-ratio: 16 / 7; }
  .grid-agents { grid-template-columns: 1fr 1fr; }
  .d3, .dash, .cta, .faq, .core, .demo { grid-template-columns: 1fr; }
  .reaktor { max-width: 380px; }
  .faq .sec__head { position: static; }
  .d3__stage { max-width: 640px; width: 100%; justify-self: center; }
  .hero__img { width: 100%; right: -20%; opacity: .7; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 110px 0 80px; min-height: 0; }
  .hero__img { right: -55%; width: 160%; opacity: .55; }
  /* text musí byť čitateľný aj cez svietiaci obrázok */
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(7,10,9,.1) 0%, rgba(7,10,9,.55) 30%, rgba(7,10,9,.78) 60%, rgba(7,10,9,.6) 100%); }
  .eyebrow { font-size: 11px; letter-spacing: .02em; padding: 8px 12px; }
  .d3__hint { display: none; }
  .hero__facts { gap: 18px 28px; margin-top: 44px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stars, .grid-agents, .steps, .plans, .core__row { grid-template-columns: 1fr; }
  .kroky li { grid-template-columns: 22px 1fr auto; }
  .kroky span:not(.kroky__ico) { display: none; }
  .demo__chat { min-height: 440px; }
  .msg { max-width: 94%; }
  .reaktor__tag { font-size: 11px; }
  .stars .agent:last-child .agent__img { aspect-ratio: 4 / 3.2; }
  .steps { gap: 36px; }
  .steps::before { display: none; }
  .feat li { grid-template-columns: 1fr; gap: 4px; }
  .tim img { aspect-ratio: 4 / 3; }
  .foot__c { margin-left: 0; }
  .spec dd { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
