/* =====================================================================
   CodeRiders · coderiders.cz — design v2 (návrh, říjen 2026)
   Paleta: černá · bílá · sytá neonová fialová
   ===================================================================== */

@property --sr { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --ink: #050407;
  --ink-2: #0C0A13;
  --ink-3: #13101D;
  --ink-4: #1C1729;
  --paper: #F6F4FB;
  --line-l: #ECE8F4;
  --line-l2: #DED8EB;

  --t-d: #0B0913;          /* text na světlém */
  --t-d2: #4F4963;
  --t-d3: #827C96;
  --t-l: #F5F3FA;          /* text na tmavém */
  --t-l2: #B4AEC7;
  --t-l3: #7F7995;

  --v: #8B2CFF;            /* neonová fialová */
  --v-hi: #B57BFF;
  --v-hi2: #D7B8FF;
  --v-deep: #6A12EE;
  --v-ink: #3A0C8C;
  --v-soft: rgba(139, 44, 255, .11);
  --v-glow: rgba(139, 44, 255, .55);
  --grad: linear-gradient(120deg, #D2A8FF 0%, #A45BFF 30%, #8B2CFF 58%, #6A12EE 100%);

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --check-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A12EE' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-n: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7B8FF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--t-d);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { scrollbar-width: none; }                 /* bez posuvníku vpravo – průběh ukazuje fialová linka nahoře */
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0; }
::selection { background: var(--v); color: #fff; }
:focus-visible { outline: 2px solid var(--v-hi); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--t-d); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.chev { fill: none; stroke: currentColor; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.glow { filter: drop-shadow(0 0 22px rgba(139, 44, 255, .55)); }
.mono { font-family: var(--mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font: 600 12.5px/1 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--v-deep);
}
.eyebrow .chev { width: 15px; height: 15px; }
.dark .eyebrow { color: var(--v-hi); }

/* ---------- tlačítka ---------- */
.btn {
  --h: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border: 0; border-radius: 999px;
  font: 600 15.5px/1 var(--sans); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .25s, color .25s;
}
.btn .chev { width: 15px; height: 15px; transition: transform .45s var(--ease-out); }
.btn:hover .chev { transform: translateX(4px); }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16.5px; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14.5px; }

.btn-neon {
  color: #fff;
  background: linear-gradient(180deg, #9E4DFF 0%, #7A1FF2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .1),
              0 10px 30px -8px rgba(139, 44, 255, .9), 0 0 46px -10px rgba(139, 44, 255, .95);
}
.btn-neon::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .9s var(--ease-out);
}
.btn-neon:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .14),
              0 16px 40px -10px rgba(139, 44, 255, 1), 0 0 70px -6px rgba(139, 44, 255, .95);
}
.btn-neon:hover::after { transform: translateX(130%); }
.btn-glass { color: var(--t-l); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { color: #fff; background: var(--t-d); }
.btn-dark:hover { background: var(--v-deep); box-shadow: 0 12px 30px -10px rgba(106, 18, 238, .8); }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: var(--v-deep); text-decoration: none;
}
.link-more .chev { width: 14px; height: 14px; transition: transform .45s var(--ease-out); }
.link-more:hover .chev { transform: translateX(4px); }
.link-more.light-on-dark { color: var(--v-hi); }

/* ---------- průběh scrollu + hlavička ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px var(--v); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled { background: rgba(5, 4, 7, .82); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 19px/1 var(--mono); letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; fill: none; stroke: var(--v); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgba(139, 44, 255, .8)); }
.logo .cursor { width: .56em; height: 1.05em; margin-left: -6px; background: var(--v); box-shadow: 0 0 12px var(--v); animation: blink 1.1s steps(1) infinite; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a:not(.btn) { padding: 9px 14px; border-radius: 999px; color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .07); cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;   /* černý úvod vyplní celou obrazovku, pás referencí začíná až pod ní */
  background: var(--ink); color: var(--t-l);
  padding: calc(var(--header-h) + clamp(36px, 5vw, 72px)) 0 clamp(32px, 4vw, 56px);
}
.hero > .container { flex: none; }
.hero > .hero-inner { flex: 1 0 auto; align-content: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-glow.g1 { width: 760px; height: 760px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(139, 44, 255, .55), rgba(139, 44, 255, 0) 65%); animation: drift1 16s ease-in-out infinite alternate; }
.hero-glow.g2 { width: 560px; height: 560px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(106, 18, 238, .42), rgba(106, 18, 238, 0) 65%); animation: drift2 20s ease-in-out infinite alternate; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 62% 38%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 65% at 62% 38%, #000 15%, transparent 75%);
}
.hero-floor {
  position: absolute; left: -25%; right: -25%; bottom: 0; height: 46%;
  perspective: 520px; perspective-origin: 60% 0%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 90%);
          mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 90%);
}
.floor-lines { position: absolute; inset: 0; overflow: hidden; transform: rotateX(70deg); transform-origin: 50% 100%; }
.floor-lines::before {
  content: ""; position: absolute; left: 0; right: 0; top: -76px; bottom: 0;
  background-image: linear-gradient(rgba(139, 44, 255, .42) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(139, 44, 255, .42) 1.5px, transparent 1.5px);
  background-size: 76px 76px;
  animation: ride 2.6s linear infinite;
}
.noise {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero-copy > * { animation: heroIn 1s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 28px; padding: 8px 15px 8px 11px;
  border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font: 600 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t-l2);
}
.kicker .dot, .contact-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v-hi); box-shadow: 0 0 10px var(--v); animation: pulse 2.2s infinite; flex: none; }

.hero-title { font-size: clamp(44px, 6.1vw, 84px); line-height: .98; letter-spacing: -.05em; font-weight: 800; }
.ht-line { display: block; }
.ht-accent { white-space: nowrap; }
.ht-word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 26px rgba(139, 44, 255, .6)); padding-right: .02em; }
.hero-title .cursor { display: inline-block; width: .4em; height: .78em; margin-left: .07em; vertical-align: -.03em; background: var(--v); box-shadow: 0 0 18px var(--v), 0 0 50px rgba(139, 44, 255, .6); animation: blink 1.05s steps(1) infinite; }
.hero-lead { max-width: 540px; margin-top: 28px; font-size: clamp(17px, 1.45vw, 20px); color: var(--t-l2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 22px; font-size: 14.5px; color: var(--t-l3); }
.hero-note b { color: var(--t-l); font-weight: 600; }

/* ---------- scéna: notebook + telefon ---------- */
.stage { position: relative; container-type: inline-size; width: 100%; max-width: 700px; margin-inline: auto; animation: heroIn 1.2s .2s var(--ease-out) both; }
.stage-tilt {
  --ry: 0deg; --rx: 0deg;
  position: relative; height: 46em;
  font-size: calc(100cqw / 64);
  transform-style: preserve-3d;
  transform: perspective(1700px) rotateY(calc(-13deg + var(--ry))) rotateX(calc(6deg + var(--rx)));
}
.stage-glow { position: absolute; left: 6%; right: 2%; bottom: 1em; height: 12em; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(139, 44, 255, .55), transparent 70%); filter: blur(28px); transition: opacity .8s; opacity: .55; }
[data-state="live"] .stage-glow { opacity: 1; }

.laptop { position: absolute; left: 0; top: 2em; width: 52em; }
.lt-lid {
  position: relative; padding: 1.1em 1.1em 1.4em;
  border-radius: 1.6em 1.6em .7em .7em;
  background: linear-gradient(180deg, #221c31, #0d0a14);
  box-shadow: inset 0 0 0 .1em rgba(255, 255, 255, .13), 0 2em 5em -1em rgba(0, 0, 0, .85), 0 0 5em -1.5em rgba(139, 44, 255, .4);
  transition: box-shadow .9s;
}
[data-state="live"] .lt-lid { box-shadow: inset 0 0 0 .1em rgba(255, 255, 255, .15), 0 2em 5em -1em rgba(0, 0, 0, .85), 0 0 7em -1em rgba(139, 44, 255, .75); }
.lt-lid .screen { aspect-ratio: 16 / 10; border-radius: .5em; }
.lt-base { position: relative; height: 1.5em; margin: 0 -3.4em; border-radius: .2em .2em 1.8em 1.8em; background: linear-gradient(180deg, #2c2540 0%, #161122 55%, #0b0912 100%); box-shadow: 0 1.8em 3em -.8em rgba(0, 0, 0, .9); }
.lt-base i { position: absolute; left: 50%; top: 0; width: 9em; height: .55em; transform: translateX(-50%); border-radius: 0 0 .8em .8em; background: #0a0810; }

.phone { position: absolute; right: 0; bottom: 1.2em; width: 15.5em; transform: translateZ(4em); animation: bob 7s ease-in-out infinite; }
.ph-body {
  position: relative; padding: .7em;
  border-radius: 2.7em;
  background: linear-gradient(160deg, #2e2643, #0e0b16);
  box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .17), 0 2.4em 5em -1em rgba(0, 0, 0, .9), 0 0 5em -1.5em rgba(139, 44, 255, .5);
  transition: box-shadow .9s;
}
[data-state="live"] .ph-body { box-shadow: inset 0 0 0 .12em rgba(255, 255, 255, .2), 0 2.4em 5em -1em rgba(0, 0, 0, .9), 0 0 6em -1em rgba(139, 44, 255, .8); }
.ph-body .screen { aspect-ratio: 9 / 19.2; border-radius: 2.05em; }
.ph-island { position: absolute; top: 1.35em; left: 50%; z-index: 8; width: 4.4em; height: 1.25em; transform: translateX(-50%); border-radius: 1em; background: #000; }

.screen { position: relative; overflow: hidden; isolation: isolate; background: #0C0915; }
.layer { position: absolute; inset: 0; }
.layer.live { z-index: 2; background: #fff; color: #16121f; clip-path: inset(0 0 0 0); }
[data-state="sketch"] .layer.live { clip-path: inset(0 0 100% 0); }
[data-state="building"] .layer.live { animation: wipe 1.35s .55s cubic-bezier(.65, 0, .25, 1) both; }
[data-state="building"] .phone .layer.live { animation-duration: 1.1s; animation-delay: .95s; }

.layer.sketch {
  z-index: 1;
  background-color: #0C0915;
  background-image: linear-gradient(rgba(139, 44, 255, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 44, 255, .11) 1px, transparent 1px);
  background-size: 2em 2em;
}
.layer.sketch * { color: transparent !important; background: none !important; box-shadow: none !important; border-color: transparent !important; text-decoration: none !important; }
.layer.sketch svg, .layer.sketch .m-toast, .layer.sketch .d-logo .chev { visibility: hidden; }
.layer.sketch *::before, .layer.sketch *:not(.b)::after { visibility: hidden; }
.layer.sketch .b { border: .1em dashed rgba(181, 123, 255, .6) !important; border-radius: .6em; animation: skIn .7s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 70ms + .3s); }
.layer.sketch .b::after { content: attr(data-wf); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 .95em/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(197, 155, 255, .9); white-space: nowrap; }
.b { position: relative; }

.scanline { position: absolute; left: 0; right: 0; top: 0; z-index: 5; height: 2px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, #EAD6FF 20%, #fff 50%, #EAD6FF 80%, transparent); box-shadow: 0 0 14px 3px rgba(139, 44, 255, .95), 0 0 46px 10px rgba(139, 44, 255, .5); }
[data-state="building"] .scanline { animation: scan 1.35s .55s cubic-bezier(.65, 0, .25, 1) both; }
[data-state="building"] .phone .scanline { animation-duration: 1.1s; animation-delay: .95s; }

.rider { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rider rect { fill: none; stroke: #E7D1FF; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-dasharray: 140 860; stroke-dashoffset: 1000; opacity: 0; filter: drop-shadow(0 0 3px #A45BFF) drop-shadow(0 0 9px #8B2CFF); }
[data-state="building"] .rider rect { animation: rider 1.15s cubic-bezier(.45, 0, .3, 1) both; }
[data-state="building"] .phone .rider rect { animation-delay: .35s; }

/* dashboard v notebooku */
.d-app { display: grid; grid-template-columns: 6em 1fr; height: 100%; font-size: 1em; line-height: 1.3; }
.d-side { display: flex; flex-direction: column; align-items: center; gap: 1.15em; padding: 1.4em 0; background: #F5F2FC; border-right: .1em solid #ECE7F6; }
.d-logo { display: grid; place-items: center; width: 3em; height: 3em; margin-bottom: .4em; border-radius: .9em; background: linear-gradient(135deg, #A855FF, #5E12E6); box-shadow: 0 .4em 1em -.2em rgba(139, 44, 255, .7); }
.d-logo .chev { width: 1.7em; height: 1.7em; stroke: #fff; }
.d-side i { width: 2.5em; height: 2.5em; border-radius: .8em; background: #E8E2F4; }
.d-side i.on { background: rgba(139, 44, 255, .16); box-shadow: inset 0 0 0 .14em rgba(139, 44, 255, .55); }
.d-main { display: flex; flex-direction: column; gap: 1.15em; min-width: 0; padding: 1.5em 1.7em 1.6em; }
.d-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.d-title small { display: block; color: #8a849c; font-size: .95em; }
.d-title b { display: block; font-size: 1.9em; letter-spacing: -.035em; line-height: 1.15; }
.d-tools { display: flex; align-items: center; gap: .7em; }
.d-search { display: flex; align-items: center; width: 11em; height: 2.6em; padding: 0 1.1em; border-radius: 1.3em; background: #F5F2FC; color: #a49eb6; }
.d-bell { position: relative; width: 2.6em; height: 2.6em; border-radius: 50%; background: #F5F2FC; }
.d-bell::after { content: ""; position: absolute; top: .6em; right: .65em; width: .6em; height: .6em; border-radius: 50%; background: var(--v); box-shadow: 0 0 .5em var(--v); }
.d-ava { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: linear-gradient(135deg, #B57BFF, #6A12EE); color: #fff; font-weight: 700; font-size: 1em; }
.d-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.d-kpi { display: grid; gap: .15em; padding: 1em 1.2em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 .1em #EEEAF6, 0 .7em 1.4em -1em rgba(60, 20, 120, .3); }
.d-kpi span { color: #8a849c; }
.d-kpi b { font-size: 2.2em; letter-spacing: -.045em; line-height: 1.05; }
.d-kpi em { font-style: normal; font-weight: 650; font-size: .95em; color: var(--v-deep); }
.d-kpi em.n { color: #8a849c; font-weight: 500; }
.d-kpi:first-child { background: linear-gradient(135deg, #9A45FF, #5E12E6); color: #fff; box-shadow: 0 .8em 1.8em -.8em rgba(139, 44, 255, .9); }
.d-kpi:first-child span, .d-kpi:first-child em { color: rgba(255, 255, 255, .82); }
.d-row { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1em; flex: 1; min-height: 0; }
.d-chart { display: flex; flex-direction: column; min-height: 0; padding: 1em 1.2em .8em; border-radius: 1em; box-shadow: 0 0 0 .1em #EEEAF6; }
.d-ch-head { display: flex; justify-content: space-between; align-items: baseline; }
.d-ch-head b { font-size: 1.1em; }
.d-ch-head span { color: #a49eb6; font-size: .95em; }
.d-svg { flex: 1; width: 100%; min-height: 0; margin-top: .5em; overflow: visible; }
.d-line { fill: none; stroke: var(--v); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 .2em .3em rgba(139, 44, 255, .45)); }
[data-state="building"] .d-line { animation: draw 1.3s 1.25s var(--ease) both; }
[data-state="building"] .d-area { animation: fadeIn 1s 1.6s both; }
.d-months { display: flex; justify-content: space-between; margin-top: .4em; color: #a9a3bb; font-size: .9em; font-family: var(--mono); }
.d-list { display: flex; flex-direction: column; gap: .62em; padding: 1em 1.1em; border-radius: 1em; box-shadow: 0 0 0 .1em #EEEAF6; }
.d-list > b { font-size: 1.1em; margin-bottom: .1em; }
.d-task { display: grid; grid-template-columns: 1.5em 1fr auto; align-items: center; gap: .6em; }
.d-task i { width: 1.5em; height: 1.5em; border-radius: .45em; box-shadow: inset 0 0 0 .14em #D5CDE6; }
.d-task.done i { background: var(--v) var(--check-w) center / 1em no-repeat; box-shadow: 0 0 .7em rgba(139, 44, 255, .5); }
.d-task.done span { color: #a49eb6; text-decoration: line-through; }
.d-task span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-task em { font-style: normal; font-family: var(--mono); font-size: .88em; color: #a49eb6; }
[data-state="building"] .d-task i { animation: pop .5s both; animation-delay: calc(1.5s + var(--k, 0) * 120ms); }

/* mobilní aplikace v telefonu */
.m-app { display: flex; flex-direction: column; height: 100%; padding: 3.5em 1.1em 1.2em; font-size: 1em; line-height: 1.3; }
.m-status { position: absolute; top: 1.25em; left: 1.9em; right: 1.9em; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .95em; }
.m-status i { width: 1.9em; height: .9em; border-radius: .3em; box-shadow: inset 0 0 0 .12em #16121f; position: relative; }
.m-status i::after { content: ""; position: absolute; inset: .22em .5em .22em .22em; border-radius: .12em; background: #16121f; }
.m-head small { display: block; color: #8a849c; }
.m-head b { display: block; font-size: 1.35em; letter-spacing: -.03em; line-height: 1.2; }
.m-prog { display: block; height: .5em; margin: .7em 0 .35em; border-radius: .3em; background: #EEE9F7; overflow: hidden; }
.m-prog i { display: block; height: 100%; width: 80%; border-radius: inherit; background: linear-gradient(90deg, #B57BFF, #7A1FF2); }
[data-state="building"] .m-prog i { animation: grow 1s 1.5s var(--ease-out) both; }
.m-head em { font-style: normal; color: #8a849c; font-size: .9em; font-family: var(--mono); }
.m-checks { display: grid; gap: .45em; margin: .9em 0 0; padding: 0; list-style: none; }
.m-checks li { display: flex; align-items: center; gap: .65em; padding: .58em .7em; border-radius: .75em; background: #F7F5FC; font-weight: 550; }
.m-checks li::before { content: ""; flex: none; width: 1.45em; height: 1.45em; border-radius: 50%; box-shadow: inset 0 0 0 .14em #D5CDE6; }
.m-checks li.ok::before { background: var(--v) var(--check-w) center / .9em no-repeat; box-shadow: 0 0 .7em rgba(139, 44, 255, .55); }
.m-sign { display: flex; flex-direction: column; margin-top: .8em; padding: .3em .7em .35em; border: .1em dashed #D5CDE6; border-radius: .75em; }
.m-sign svg { width: 100%; height: 2.5em; }
.m-sign path { fill: none; stroke: #2a1d4a; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
[data-state="building"] .m-sign path { animation: draw 1s 1.75s ease-out both; }
.m-sign span { padding-top: .25em; border-top: .1em solid #EEE9F7; color: #a49eb6; font-size: .8em; }
.m-btn { display: grid; place-items: center; height: 3.1em; margin-top: auto; border-radius: 1.6em; background: linear-gradient(180deg, #9E4DFF, #7A1FF2); color: #fff; font-weight: 700; box-shadow: 0 .6em 1.4em -.4em rgba(139, 44, 255, .85); }
.m-toast {
  position: absolute; left: .8em; right: .8em; top: 3.3em; z-index: 3;
  display: flex; align-items: center; gap: .55em;
  padding: .8em .9em; border-radius: 1.1em;
  background: rgba(22, 18, 31, .94); color: #fff; font-weight: 650; font-size: .95em;
  box-shadow: 0 1em 2em -.8em rgba(0, 0, 0, .55), 0 0 0 .1em rgba(181, 123, 255, .4);
  transform: translateY(-160%); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .4s;
}
.m-toast svg { flex: none; width: 1.5em; height: 1.5em; padding: .25em; border-radius: 50%; background: var(--v); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
[data-state="live"] .m-toast { transform: none; opacity: 1; transition-delay: .35s; }

/* ovládání scény */
.stage-ui { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 4px; padding-left: 3%; }
.launch {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 24px 0 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  color: #fff; font: 700 16px/1 var(--sans); letter-spacing: -.01em;
  background: linear-gradient(180deg, #9E4DFF, #7A1FF2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 30px -8px rgba(139, 44, 255, .95), 0 0 60px -8px rgba(139, 44, 255, .85);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), opacity .3s;
}
.launch:hover { transform: translateY(-2px) scale(1.02); }
.launch:disabled { cursor: progress; opacity: .85; }
.launch-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--v-deep); }
.launch-ic svg { width: 18px; height: 18px; }
.ic-play { fill: currentColor; margin-left: 2px; }
.ic-again { display: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
[data-state="live"] .ic-play { display: none; }
[data-state="live"] .ic-again { display: block; }
[data-state="building"] .launch-ic { animation: spin 1s linear infinite; }
.launch-ring { position: absolute; inset: -5px; border-radius: 999px; border: 1.5px solid rgba(197, 155, 255, .8); pointer-events: none; animation: ring 1.9s ease-out infinite; }
[data-state="building"] .launch-ring, [data-state="live"] .launch-ring { display: none; }
.stage-status {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px;
  border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-l2);
}
.st-dot { width: 8px; height: 8px; border-radius: 50%; background: #6c6680; }
.st-pct { color: var(--v-hi2); min-width: 3ch; }
[data-state="building"] .st-dot { background: var(--v-hi); animation: blink .5s steps(1) infinite; }
[data-state="live"] .st-dot { background: var(--v-hi); box-shadow: 0 0 10px var(--v); }
[data-state="live"] .stage-status { color: #fff; box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .5), 0 0 30px -8px rgba(139, 44, 255, .8); }

/* fakta pod hero */
.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none;
  border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  animation: heroIn 1s .45s var(--ease-out) both;
}
.hero-facts li { display: flex; gap: 14px; padding: 22px 22px 24px; background: rgba(9, 7, 14, .82); backdrop-filter: blur(14px); }
.hero-facts .chev { width: 18px; height: 18px; margin-top: 3px; color: var(--v-hi); }
.hero-facts b { display: block; color: #fff; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.hero-facts span { display: block; margin-top: 4px; color: var(--t-l3); font-size: 14px; line-height: 1.5; }

/* =====================================================================
   PÁS PROJEKTŮ
   ===================================================================== */
.band { display: flex; align-items: center; overflow: hidden; background: #fff; color: var(--t-d); border-bottom: 1px solid var(--line-l); }
.band-label {
  position: relative; z-index: 2; flex: none;
  display: flex; align-items: center; gap: 10px;
  height: 104px; margin: 0; padding: 0 30px 0 var(--gutter);   /* štítek u levého okraje, pás jde přes celou šířku */
  background: #fff; box-shadow: 30px 0 30px -6px #fff;
  font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--v-deep);
}
.band-label .chev { width: 15px; height: 15px; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee-group li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(26px, 3vw, 40px); font-weight: 750; letter-spacing: -.04em; color: var(--t-d); }
.marquee-group li::after { content: ""; width: 26px; height: 26px; margin: 0 34px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%238B2CFF' stroke-width='13' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 27L51 48 30 69'/%3E%3Cpath d='M58 27L79 48 58 69' opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat; }
.marquee-group li.o { color: transparent; -webkit-text-stroke: 1.3px var(--t-d); }

/* =====================================================================
   SEKCE – společné
   ===================================================================== */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.light { background: #fff; color: var(--t-d); }
.light.tint { background: var(--paper); }
.dark { background: var(--ink); color: var(--t-l); overflow: hidden; isolation: isolate; }
.section-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 45% at 88% 0%, rgba(139, 44, 255, .24), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(106, 18, 238, .16), transparent 70%); }
.section-glow.alt { background: radial-gradient(50% 40% at 10% 0%, rgba(139, 44, 255, .22), transparent 70%), radial-gradient(45% 40% at 100% 90%, rgba(106, 18, 238, .18), transparent 70%); }

.sec-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 76px); }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -.048em; font-weight: 780; }
.sec-head > p:not(.eyebrow) { max-width: 620px; margin-top: 22px; font-size: clamp(17px, 1.35vw, 19px); color: var(--t-d2); }
.dark .sec-head > p:not(.eyebrow) { color: var(--t-l2); }

/* „spot“ – okraj a záře, které jdou za myší */
.spot { --mx: 50%; --my: 0%; position: relative; transition: --sr .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.spot:hover { --sr: 420px; }

/* =====================================================================
   SLUŽBY
   ===================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pillar {
  display: flex; flex-direction: column;
  padding: 12px 12px 30px;
  border: 1px solid transparent; border-radius: var(--r-xl);
  background: linear-gradient(#fff, #fff) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(139, 44, 255, .9), var(--line-l) 60%) border-box;
  box-shadow: 0 1px 2px rgba(20, 10, 40, .04), 0 18px 50px -30px rgba(40, 10, 90, .25);
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 2px 4px rgba(20, 10, 40, .05), 0 40px 80px -40px rgba(90, 20, 200, .45); }
.pillar.feat {
  color: var(--t-l);
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(197, 155, 255, .95), rgba(139, 44, 255, .35) 60%) border-box;
  box-shadow: 0 30px 80px -30px rgba(139, 44, 255, .55);
}
.pv { position: relative; display: grid; place-items: center; height: 230px; overflow: hidden; border-radius: calc(var(--r-xl) - 8px); background: var(--paper); }
.pv::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(139, 44, 255, .16) 1px, transparent 1px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.pillar.feat .pv { background: radial-gradient(90% 80% at 50% 0%, rgba(139, 44, 255, .45), rgba(139, 44, 255, .05) 60%, transparent), var(--ink-3); }
.pillar.feat .pv::before { background-image: radial-gradient(rgba(197, 155, 255, .2) 1px, transparent 1px); }
.pb { display: flex; flex: 1; flex-direction: column; padding: 28px 18px 0; }
.pb .num { font: 600 12.5px/1 var(--mono); letter-spacing: .12em; color: var(--v-deep); }
.pillar.feat .pb .num { color: var(--v-hi); }
.pb h3 { margin: 14px 0 10px; font-size: clamp(25px, 2.3vw, 31px); letter-spacing: -.04em; }
.pb > p { margin-bottom: 20px; color: var(--t-d2); }
.pillar.feat .pb > p { color: var(--t-l2); }
.pb ul { display: grid; gap: 11px; margin: 0 0 28px; padding: 0; list-style: none; }
.pb li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--t-d2); }
.pb li::before { content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; background: var(--v-soft) var(--check-v) center / 11px no-repeat; }
.pillar.feat .pb li { color: var(--t-l2); }
.pillar.feat .pb li::before { background: rgba(139, 44, 255, .2) var(--check-n) center / 11px no-repeat; box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .45); }
.pb .link-more { margin-top: auto; }
.pillar.feat .link-more { color: var(--v-hi); }

/* vizuál 01: web */
.pvw-win { position: relative; width: 78%; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line-l), 0 24px 40px -22px rgba(60, 20, 120, .45); overflow: hidden; transition: transform .7s var(--ease-out); }
.pillar:hover .pvw-win { transform: translateY(-6px) scale(1.03); }
.pvw-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #F5F2FC; }
.pvw-bar i { width: 7px; height: 7px; border-radius: 50%; background: #DCD5EA; }
.pvw-bar span { width: 46%; height: 12px; margin-left: 10px; border-radius: 6px; background: #fff; }
.pvw-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; padding: 14px; }
.pvw-copy { display: grid; gap: 7px; align-content: start; }
.pvw-copy b { height: 11px; border-radius: 4px; background: var(--t-d); }
.pvw-copy b.s { width: 70%; }
.pvw-copy em { height: 7px; width: 85%; border-radius: 4px; background: #E7E1F2; margin-top: 4px; }
.pvw-copy u { width: 56%; height: 18px; margin-top: 6px; border-radius: 9px; background: var(--v); box-shadow: 0 6px 14px -6px var(--v); }
.pvw-img { border-radius: 10px; background: linear-gradient(135deg, #C9A2FF, #8B2CFF 55%, #3A0C8C); background-size: 200% 200%; animation: shimmerBg 6s ease-in-out infinite alternate; }
.pvw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px 14px; }
.pvw-cards i { height: 34px; border-radius: 8px; background: #F5F2FC; transition: transform .6s var(--ease-out), background-color .4s; }
.pillar:hover .pvw-cards i { background: #EDE3FF; transform: translateY(-4px); }
.pillar:hover .pvw-cards i:nth-child(2) { transition-delay: .06s; }
.pillar:hover .pvw-cards i:nth-child(3) { transition-delay: .12s; }

/* vizuál 02: aplikace */
.pva-phone { position: relative; width: 116px; height: 200px; margin-top: 46px; padding: 30px 10px 10px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 5px #1d1729, 0 0 0 6px rgba(255, 255, 255, .18), 0 30px 50px -16px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(139, 44, 255, .7); transition: transform .7s var(--ease-out); }
.pillar:hover .pva-phone { transform: translateY(-14px); }
.pva-island { position: absolute; top: 8px; left: 50%; width: 34px; height: 9px; transform: translateX(-50%); border-radius: 6px; background: #000; }
.pva-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pva-head b { width: 50px; height: 9px; border-radius: 4px; background: var(--t-d); }
.pva-head i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #B57BFF, #6A12EE); }
.pva-row { display: grid; grid-template-columns: 20px 1fr; grid-template-rows: auto auto; column-gap: 7px; row-gap: 4px; align-items: center; margin-bottom: 9px; }
.pva-row i { grid-row: span 2; width: 20px; height: 20px; border-radius: 6px; background: #EDE3FF; }
.pva-row b { height: 6px; border-radius: 3px; background: #CFC7DF; }
.pva-row em { height: 5px; width: 70%; border-radius: 3px; background: #E9E4F2; }
.pva-row em.s { width: 45%; }
.pva-cta { height: 18px; margin-top: 12px; border-radius: 9px; background: var(--v); box-shadow: 0 6px 14px -6px var(--v); }
.pva-note {
  position: absolute; left: 50%; top: 22px;
  display: flex; align-items: center; gap: 10px;
  width: max-content; padding: 10px 14px 10px 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--t-d);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(181, 123, 255, .35);
  transform: translate(-50%, -12px) scale(.94); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .4s;
}
.pva-note i { width: 28px; height: 28px; border-radius: 9px; background: var(--v) var(--check-w) center / 15px no-repeat; box-shadow: 0 0 14px rgba(139, 44, 255, .6); }
.pva-note b { display: block; font-size: 13px; line-height: 1.2; }
.pva-note em { display: block; font-style: normal; font-size: 11.5px; color: var(--t-d3); }
.pillar:hover .pva-note, .pillar.feat.inview .pva-note { transform: translate(-50%, 0) scale(1); opacity: 1; }
.pillar.feat.inview .pva-note { transition-delay: .9s; }

/* vizuál 03: systém */
.pvs-win { display: grid; grid-template-columns: 34px 1fr; width: 80%; height: 160px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line-l), 0 24px 40px -22px rgba(60, 20, 120, .45); transition: transform .7s var(--ease-out); }
.pillar:hover .pvs-win { transform: translateY(-6px) scale(1.03); }
.pvs-side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; background: #F5F2FC; }
.pvs-side i { width: 16px; height: 16px; border-radius: 5px; background: #E2DBEF; }
.pvs-side i.on { background: var(--v); box-shadow: 0 0 10px rgba(139, 44, 255, .6); }
.pvs-main { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.pvs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pvs-stats i { height: 28px; border-radius: 7px; background: #F5F2FC; }
.pvs-stats i:first-child { background: linear-gradient(135deg, #9A45FF, #6A12EE); }
.pvs-chart { display: flex; align-items: flex-end; gap: 6px; flex: 1; padding: 0 2px; border-bottom: 1px solid var(--line-l); }
.pvs-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #C59BFF, #8B2CFF); transform-origin: 50% 100%; transition: transform .7s var(--ease-out); }
.pvs-chart i:nth-child(odd) { background: #E4D8FA; }
.pillar:hover .pvs-chart i { transform: scaleY(1.12); }
.pillar:hover .pvs-chart i:nth-child(2n) { transform: scaleY(.82); }

/* =====================================================================
   FIREMNÍ SYSTÉMY (tmavá)
   ===================================================================== */
.solution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.solution + .solution { margin-top: clamp(80px, 10vw, 140px); }
.solution.reverse .solution-copy { order: 2; }
.solution-copy .eyebrow { margin-bottom: 18px; }
.solution-copy h3 { margin-bottom: 18px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -.045em; color: #fff; }
.solution-copy > p { color: var(--t-l2); }
.checklist { display: grid; gap: 14px; margin: 28px 0 32px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 36px; color: var(--t-l2); font-size: 16px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .12em; width: 23px; height: 23px; border-radius: 50%; background: rgba(139, 44, 255, .18) var(--check-n) center / 12px no-repeat; box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .5), 0 0 16px -4px rgba(139, 44, 255, .8); }

.mock {
  position: relative; padding: 20px;
  border-radius: var(--r-lg); background: #fff; color: #16121f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 0 10px rgba(255, 255, 255, .035), 0 50px 120px -40px rgba(139, 44, 255, .7);
  transform: perspective(1500px) rotateY(-8deg) rotateX(4deg);
  transition: transform 1.1s var(--ease-out);
}
.solution.reverse .mock { transform: perspective(1500px) rotateY(8deg) rotateX(4deg); }
.solution:hover .mock { transform: perspective(1500px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-bar b { font-size: 15px; letter-spacing: -.015em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: #F1EEF7; color: #5b556e; font: 600 11.5px/1 var(--mono); white-space: nowrap; }
.pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pill.v { background: rgba(139, 44, 255, .12); color: var(--v-deep); }
.pill.ok { background: var(--v); color: #fff; box-shadow: 0 6px 16px -6px rgba(139, 44, 255, .9); }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #F0EDF6; flex-wrap: wrap; }
.mock-btn { padding: 10px 16px; border-radius: 999px; background: #16121f; color: #fff; font-weight: 700; font-size: 13.5px; transition: background-color .3s; }

.mock-table { overflow: hidden; }
.mock-dochazka table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 13px; }
.mock-dochazka th { padding: 4px 2px; color: #9a94ab; font: 600 11px/1 var(--mono); text-align: center; }
.mock-dochazka th.name { text-align: left; }
.mock-dochazka td { padding: 0 2px; text-align: center; }
.mock-dochazka td.name { padding-right: 8px; text-align: left; font-weight: 650; white-space: nowrap; }
.mock-dochazka .we { color: #cdc7da; }
.mock-dochazka .d { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #F4F1FB; color: #3a3450; font: 600 12px/1 var(--mono); }
.mock-dochazka .d.ot { background: var(--v); color: #fff; box-shadow: 0 0 14px rgba(139, 44, 255, .55); }
.mock-dochazka .d.abs { background: #16121f; color: #fff; }
.mock-dochazka .d.sick { background: #E9DDFF; color: var(--v-deep); }
.mock-dochazka td.sum { font: 700 13px/1.2 var(--sans); text-align: right; white-space: nowrap; }
.mock-dochazka td.sum small { display: block; color: var(--v-deep); font: 600 11px/1.2 var(--mono); }

.uc-body { display: grid; grid-template-columns: 148px 1fr; gap: 18px; }
.uc-doc { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.uc-sheet { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; aspect-ratio: 3 / 4; padding: 16px 14px; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #ECE7F6, 0 14px 30px -18px rgba(60, 20, 120, .5); }
.uc-sheet i { height: 7px; width: 80%; border-radius: 4px; background: #ECE7F6; }
.uc-sheet i.h { height: 12px; width: 55%; background: #16121f; }
.uc-sheet .w60 { width: 60%; }
.uc-sheet .w40 { width: 40%; }
.uc-box { display: grid; gap: 6px; margin-top: auto; padding: 10px; border-radius: 8px; background: #F4F1FB; }
.uc-box i { width: 100%; }
.uc-box i:last-child { width: 60%; background: var(--v); }
.uc-scan { position: absolute; left: 0; right: 0; top: -30px; height: 30px; opacity: 0; background: linear-gradient(180deg, transparent, rgba(139, 44, 255, .22)); border-bottom: 2px solid var(--v); box-shadow: 0 4px 16px rgba(139, 44, 255, .6); }
.uc-fields { display: grid; gap: 7px; align-content: start; }
.uc-f { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: #F8F6FC; font-size: 13.5px; }
.uc-f .k { color: #8a849c; font-size: 12.5px; }
.uc-f .v { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-f .c { padding: 5px 7px; border-radius: 6px; background: rgba(139, 44, 255, .12); color: var(--v-deep); font: 600 11px/1 var(--mono); }
.uc-f .c.h { background: #ECE7F6; color: #5b556e; }
.uc-flow { display: inline-flex; align-items: center; gap: 8px; color: #9a94ab; font: 600 12px/1 var(--mono); }
.uc-flow .chev { width: 13px; height: 13px; }

/* animace modulů – spustí se při zobrazení (třída .play) */
.js .mock-dochazka .d { opacity: 0; transform: scale(.5); }
.js .mock-dochazka td.sum, .js .mock-dochazka .mock-foot .pill { opacity: 0; }
.mock-dochazka.play .d { animation: pop .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 26ms); }
.mock-dochazka.play td.sum { animation: fadeUp .6s 1.25s var(--ease-out) both; }
.mock-dochazka.play .mock-foot .pill { animation: fadeUp .6s 1.6s var(--ease-out) both; }
.mock-dochazka.play .mock-btn { animation: btnPulse 1.1s 2s 2; }
.js .mock-ucto .uc-f, .js .mock-ucto .mock-bar .pill, .js .mock-ucto .pill.fin { opacity: 0; }
.mock-ucto.play .uc-scan { animation: docScan 1.5s .25s ease-in-out both; }
.mock-ucto.play .uc-f { animation: slideIn .55s var(--ease-out) both; animation-delay: calc(1.1s + var(--i, 0) * 120ms); }
.mock-ucto.play .mock-bar .pill { animation: fadeUp .5s 1.7s var(--ease-out) both; }
.mock-ucto.play .uc-flow span { animation: flowOn .4s both; animation-delay: calc(2.3s + var(--i, 0) * 350ms); }
.mock-ucto.play .pill.fin { animation: fadeUp .5s 3.4s var(--ease-out) both; }

.integrations {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center;
  margin-top: clamp(80px, 10vw, 140px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(139, 44, 255, .16), rgba(255, 255, 255, .02) 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}
.integrations .eyebrow { margin-bottom: 14px; }
.integrations h3 { font-size: clamp(25px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.04em; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11); color: var(--t-l2); font-size: 15px; transition: color .3s, box-shadow .3s, background-color .3s, transform .4s var(--ease-out); }
.chips span:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .6), 0 0 24px -6px rgba(139, 44, 255, .8); }
.chips span.hl { color: #fff; background: rgba(139, 44, 255, .16); box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .55), 0 0 26px -8px rgba(139, 44, 255, .85); }

/* =====================================================================
   POSTUP
   ===================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-line { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line-l); }
.steps-line i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--v); }
.step { position: relative; }
.step .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-l2); color: var(--t-d3); font: 700 15px/1 var(--mono); transition: background-color .5s, color .5s, box-shadow .5s; }
.step.on .dot { background: var(--v); color: #fff; box-shadow: 0 0 0 7px rgba(139, 44, 255, .12), 0 0 34px rgba(139, 44, 255, .65); }
.step h3 { margin: 28px 0 10px; font-size: 23px; letter-spacing: -.035em; }
.step p { margin-bottom: 16px; color: var(--t-d2); font-size: 15.5px; }
.step small { display: inline-block; padding: 7px 11px; border-radius: 999px; background: var(--v-soft); color: var(--v-deep); font: 600 12px/1 var(--mono); letter-spacing: .04em; }

/* =====================================================================
   REFERENCE
   ===================================================================== */
.works-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.works-head .sec-head { margin-bottom: 0; }
.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.filters button { display: inline-flex; align-items: center; gap: 7px; padding: 11px 17px; border: 0; border-radius: 999px; background: none; color: var(--t-l2); font: 600 14.5px/1 var(--sans); cursor: pointer; transition: color .25s, background-color .25s, box-shadow .25s; }
.filters button:hover { color: #fff; }
.filters sup { font: 600 11px/1 var(--mono); color: var(--t-l3); vertical-align: 0; }
.filters button[aria-pressed="true"] { background: #fff; color: var(--t-d); box-shadow: 0 0 30px -6px rgba(139, 44, 255, .8); }
.filters button[aria-pressed="true"] sup { color: var(--v-deep); }

.works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.work {
  grid-column: span 2;
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid transparent; border-radius: var(--r-lg);
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(197, 155, 255, .95), rgba(255, 255, 255, .09) 60%) border-box;
}
.work[hidden] { display: none !important; }
.work.feat, .work.wide { grid-column: span 3; }
.works:not([data-filter="all"]) .work { grid-column: span 3; }
.work:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(139, 44, 255, .55); }
.work::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; background: radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(139, 44, 255, .12), transparent 60%); }
.work.pop { animation: workPop .6s var(--ease-out) both; animation-delay: calc(var(--j, 0) * 60ms); }

.work-screen {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 16 / 11; container-type: inline-size;
  background: radial-gradient(110% 90% at 50% 0%, rgba(139, 44, 255, .42), rgba(139, 44, 255, .07) 55%, transparent 80%), var(--ink-3);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.work.feat .work-screen, .work.wide .work-screen { aspect-ratio: 16 / 9.4; }
.work-screen::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(197, 155, 255, .16) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); }
.work-body { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.work-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag { color: var(--v-hi); font: 600 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); color: var(--t-l2); font: 600 11.5px/1 var(--mono); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.live { color: #fff; background: rgba(139, 44, 255, .22); box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .6), 0 0 20px -6px rgba(139, 44, 255, .9); }
.status.live::before { background: var(--v-hi2); box-shadow: 0 0 8px var(--v-hi); animation: pulse 2.2s infinite; }
.status.pilot { color: #fff; }
.status.pilot::before { background: var(--v-hi); }
.status.navrh { box-shadow: none; border: 1px dashed rgba(255, 255, 255, .25); color: var(--t-l3); }
.work h3 { margin: 16px 0 4px; color: #fff; font-size: clamp(23px, 2vw, 28px); letter-spacing: -.04em; }
.work .sub { margin-bottom: 12px; color: var(--v-hi2); font-weight: 550; font-size: 15px; }
.work h3 + p:not(.sub) { margin-top: 10px; }
.work-body > p:not(.sub) { margin-bottom: 18px; color: var(--t-l2); font-size: 15px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.work-meta li { padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .055); color: var(--t-l2); font: 500 12px/1 var(--mono); }

/* výzva v mřížce */
.work-cta { justify-content: center; padding: 34px clamp(30px, 4vw, 56px); background: radial-gradient(90% 70% at 100% 0%, rgba(139, 44, 255, .45), transparent 65%) padding-box, radial-gradient(70% 60% at 0% 100%, rgba(106, 18, 238, .3), transparent 70%) padding-box, linear-gradient(var(--ink-3), var(--ink-3)) padding-box, linear-gradient(140deg, rgba(197, 155, 255, .75), rgba(255, 255, 255, .08) 50%, rgba(139, 44, 255, .65)) border-box; }
.cta-in { position: relative; z-index: 2; }
.cta-mark { width: 54px; height: 54px; margin-bottom: 22px; fill: none; stroke: var(--v-hi); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px var(--v)); }
.work-cta h3 { margin: 0 0 12px; font-size: clamp(26px, 2.4vw, 32px); }
.work-cta p { margin-bottom: 24px; color: var(--t-l2); font-size: 15.5px; }

/* ---- miniaturní ukázky aplikací ---- */
.w-ui {
  position: relative; z-index: 1;
  width: 38em; font-size: calc(100cqw / 44); line-height: 1.3; color: #16121f;
  transform: perspective(1200px) rotateX(9deg) translateY(1.4em) scale(.97);
  transition: transform .9s var(--ease-out);
}
.work.feat .w-ui, .work.wide .w-ui { width: 46em; font-size: calc(100cqw / 56); }
.work:hover .w-ui { transform: perspective(1200px) rotateX(0) translateY(0) scale(1.02); }
.wu-panel, .ui-ucetka, .ui-velin, .ui-kocour, .ui-sanitka, .ui-doch, .ui-web { overflow: hidden; border-radius: 1.2em; background: #fff; box-shadow: 0 2em 4em -1.2em rgba(0, 0, 0, .7), 0 0 0 .1em rgba(255, 255, 255, .12); }
.wu-bar, .br-bar { display: flex; align-items: center; gap: .5em; height: 2.8em; padding: 0 1.2em; background: #F5F2FC; border-bottom: .1em solid #ECE7F6; }
.wu-bar i, .br-bar i { width: .8em; height: .8em; border-radius: 50%; background: #D9D2E8; }
.wu-bar i:first-child, .br-bar i:first-child { background: var(--v-hi); }
.wu-bar span { margin-left: .8em; color: #6d6684; font-weight: 600; font-size: 1.05em; }
.br-bar span { margin: 0 auto; padding: .4em 2.2em; border-radius: .5em; background: #fff; color: #8a849c; font: 500 .9em/1.2 var(--mono); }

/* Účetka */
.uk-body { display: grid; grid-template-columns: 13.5em 1fr; gap: 1.6em; padding: 1.6em; }
.uk-doc { position: relative; display: flex; flex-direction: column; gap: .75em; height: 18.5em; padding: 1.4em 1.2em; overflow: hidden; border-radius: .6em; background: #fff; box-shadow: 0 0 0 .1em #ECE7F6, 0 1em 2em -1.2em rgba(60, 20, 120, .4); }
.uk-doc i { height: .7em; width: 80%; border-radius: .35em; background: #ECE7F6; }
.uk-doc i.h { height: 1.3em; width: 55%; background: #16121f; }
.uk-doc i.s { width: 55%; }
.uk-tot { display: grid; gap: .5em; margin-top: auto; padding: .8em; border-radius: .5em; background: #F5F2FC; }
.uk-tot i { width: 100%; }
.uk-tot i:last-child { width: 60%; background: var(--v); }
.uk-scan { position: absolute; left: 0; right: 0; top: 0; height: 2.6em; background: linear-gradient(180deg, transparent, rgba(139, 44, 255, .25)); border-bottom: .16em solid var(--v); box-shadow: 0 .3em 1em rgba(139, 44, 255, .6); animation: ukScan 3.4s ease-in-out infinite; animation-play-state: paused; }
.work.inview .uk-scan { animation-play-state: running; }
.uk-fields { display: grid; gap: .65em; align-content: start; }
.uk-f { display: grid; grid-template-columns: 7.4em 1fr auto; gap: .6em; align-items: center; padding: .8em 1em; border-radius: .7em; background: #F8F6FC; }
.uk-f span { color: #8a849c; }
.uk-f b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uk-f em { padding: .35em .5em; border-radius: .4em; background: rgba(139, 44, 255, .12); color: var(--v-deep); font: 600 .85em/1 var(--mono); }
.uk-f em.h { background: #ECE7F6; color: #6d6684; }
.uk-flow { display: flex; align-items: center; gap: .5em; margin-top: .5em; color: #8a849c; font: 600 .9em/1 var(--mono); }
.uk-flow i { width: 1.4em; height: .14em; background: #D5CDE6; }
.uk-flow span.on { padding: .55em .75em; border-radius: .5em; background: var(--v); color: #fff; box-shadow: 0 0 1.2em rgba(139, 44, 255, .65); }

/* Velín */
.ve-body { display: grid; grid-template-columns: 1fr 13em; gap: 1.4em; padding: 1.4em 1.6em 1.6em; }
.ve-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8em; }
.ve-head b { font-size: 1.35em; letter-spacing: -.02em; }
.ve-badge { padding: .45em .6em; border-radius: .4em; background: #16121f; color: #fff; font: 600 .85em/1 var(--mono); }
.ve-days, .ve-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4em; }
.ve-days { margin-bottom: .4em; }
.ve-days span { text-align: center; color: #a49eb6; font: 600 .8em/1 var(--mono); }
.ve-grid i { position: relative; height: 3em; padding: .35em .45em; border-radius: .5em; background: #F8F6FC; color: #6d6684; font: 600 .9em/1 var(--sans); font-style: normal; }
.ve-grid i.w { background: #F2EFF8; color: #b7b1c6; }
.ve-grid i.x { background: none; }
.ve-grid i.a::after, .ve-grid i.b::after, .ve-grid i.c::after { content: ""; position: absolute; left: .45em; right: .45em; bottom: .4em; height: .45em; border-radius: .25em; background: var(--v); }
.ve-grid i.b::after { background: #16121f; }
.ve-grid i.c::after { background: #C59BFF; }
.ve-grid i.t { background: var(--v); color: #fff; box-shadow: 0 0 1.2em rgba(139, 44, 255, .65); }
.work.inview .ve-grid i.a::after { animation: barPulse 2.4s ease-in-out infinite; }
.ve-side { display: flex; flex-direction: column; gap: .65em; }
.ve-side > b { font-size: 1.1em; }
.ve-item { display: grid; grid-template-columns: .9em 1fr auto; gap: .6em; align-items: center; padding: .75em .8em; border-radius: .7em; background: #F8F6FC; }
.ve-item i { width: .9em; height: .9em; border-radius: .3em; background: var(--v); }
.ve-item i.b { background: #16121f; }
.ve-item i.c { background: #C59BFF; }
.ve-item em { font-style: normal; color: var(--v-deep); font: 600 .9em/1 var(--mono); }
.ve-inv { display: flex; flex-direction: column; gap: .15em; margin-top: auto; padding: 1em 1.1em; border-radius: .8em; background: linear-gradient(135deg, #9A45FF, #5E12E6); color: #fff; box-shadow: 0 1em 2em -1em rgba(139, 44, 255, .9); }
.ve-inv span { font-size: .9em; opacity: .85; }
.ve-inv b { font-size: 2.2em; letter-spacing: -.04em; line-height: 1; }

/* KocourPort */
.ui-kocour { display: grid; gap: 1.1em; width: 33em; padding: 1.5em; border-radius: 1.4em; }
.ko-card { display: flex; align-items: center; gap: 1em; }
.ko-date { display: grid; place-items: center; align-content: center; flex: none; width: 4.4em; height: 4.6em; border-radius: 1em; background: linear-gradient(160deg, #9E4DFF, #5E12E6); color: #fff; box-shadow: 0 .7em 1.4em -.5em rgba(139, 44, 255, .9); }
.ko-date b { font-size: 1.8em; line-height: 1; }
.ko-date span { font: 600 .8em/1.3 var(--mono); text-transform: uppercase; opacity: .85; }
.ko-info b { display: block; font-size: 1.3em; letter-spacing: -.02em; }
.ko-info span { color: #8a849c; }
.ko-people { display: flex; padding-left: .3em; }
.ko-people span { position: relative; display: grid; place-items: center; width: 2.8em; height: 2.8em; margin-left: -.5em; border-radius: 50%; box-shadow: 0 0 0 .2em #fff; font: 700 .85em/1 var(--sans); }
.ko-people .y { background: #EFE5FF; color: var(--v-deep); }
.ko-people .y::after { content: ""; position: absolute; right: -.15em; bottom: -.15em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--v) var(--check-w) center / .7em no-repeat; box-shadow: 0 0 0 .15em #fff; }
.ko-people .n { background: #F1EEF7; color: #a49eb6; }
.ko-people .q { background: #16121f; color: #fff; }
.ko-btns { display: flex; align-items: center; gap: .6em; }
.ko-btns span { padding: .75em 1.3em; border-radius: 2em; font-weight: 700; }
.ko-btns .yes { background: var(--v); color: #fff; box-shadow: 0 0 1.2em rgba(139, 44, 255, .6); }
.ko-btns .no { background: #F1EEF7; color: #6d6684; }
.ko-btns em { margin-left: auto; font-style: normal; color: var(--v-deep); font: 600 .95em/1 var(--mono); }
.ko-ics { display: flex; align-items: center; gap: .6em; padding: .8em 1em; border-radius: .8em; background: #F8F6FC; color: #6d6684; font-size: .95em; }
.ko-ics i { width: 1.4em; height: 1.4em; border-radius: .35em; background: #16121f; }
.work.inview .ko-btns .yes { animation: btnPulse 2.4s ease-in-out infinite; }

/* PBSU Prohlídky */
.ui-prohlidky { height: 25em; width: 34em; }
.pr-phone { position: absolute; left: 3em; top: 0; display: flex; flex-direction: column; gap: .5em; width: 14.5em; height: 25em; padding: 1.3em 1.1em 1.1em; border-radius: 2em; background: #fff; box-shadow: 0 0 0 .5em #1d1729, 0 0 0 .6em rgba(255, 255, 255, .16), 0 2em 3em -1em rgba(0, 0, 0, .7), 0 0 4em -1em rgba(139, 44, 255, .6); }
.pr-head small { display: block; color: #8a849c; font-size: .85em; }
.pr-head b { font-size: 1.2em; }
.pr-row { display: flex; align-items: center; gap: .5em; padding: .55em .6em; border-radius: .6em; background: #F7F5FC; font-weight: 550; font-size: .95em; }
.pr-row::before { content: ""; flex: none; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--v) var(--check-w) center / .75em no-repeat; }
.pr-sign { display: grid; place-items: center; height: 3.6em; border: .1em dashed #D5CDE6; border-radius: .6em; }
.pr-sign svg { width: 80%; height: 2.4em; }
.pr-sign path { fill: none; stroke: #2a1d4a; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pr-btn { display: grid; place-items: center; height: 2.6em; margin-top: auto; border-radius: 1.3em; background: var(--v); color: #fff; font-weight: 700; box-shadow: 0 .6em 1.2em -.5em rgba(139, 44, 255, .9); }
.pr-pdf { position: absolute; display: flex; flex-direction: column; justify-content: flex-end; gap: .2em; width: 9em; height: 11.5em; padding: 1em; border-radius: .8em; background: #fff; box-shadow: 0 1.4em 2.4em -1em rgba(0, 0, 0, .7); transition: transform .8s var(--ease-out); }
.pr-pdf::before { content: ""; position: absolute; left: 1em; right: 1em; top: 1.1em; height: 5.2em; background: repeating-linear-gradient(180deg, #ECE7F6 0 .55em, transparent .55em 1.15em); }
.pr-pdf b { color: var(--v); font: 700 1.4em/1 var(--mono); }
.pr-pdf span { color: #6d6684; font-size: .85em; }
.pr-pdf.a { left: 19.5em; top: 3em; transform: rotate(-6deg); }
.pr-pdf.b { left: 24em; top: 9em; transform: rotate(5deg); }
.work:hover .pr-pdf.a { transform: rotate(-10deg) translate(-.4em, -.6em); }
.work:hover .pr-pdf.b { transform: rotate(9deg) translate(.6em, .2em); }

/* Kasa */
.ui-kasa { display: grid; grid-template-columns: 1fr 12.5em; gap: 1em; width: 38em; padding: 1.2em; border-radius: 1.4em; background: #fff; box-shadow: 0 0 0 .7em #1d1729, 0 0 0 .8em rgba(255, 255, 255, .15), 0 2em 3em -1em rgba(0, 0, 0, .7); }
.ka-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.ka-grid span { display: flex; flex-direction: column; justify-content: space-between; height: 5em; padding: .6em .7em; border-radius: .8em; background: #F5F2FC; font-weight: 650; font-size: .95em; }
.ka-grid em { font-style: normal; color: var(--v-deep); font: 600 .85em/1 var(--mono); }
.ka-grid span.on { background: var(--v); color: #fff; box-shadow: 0 .6em 1.2em -.5em rgba(139, 44, 255, .95); }
.ka-grid span.on em { color: #EBDDFF; }
.ka-bill { display: flex; flex-direction: column; gap: .5em; padding: 1em; border-radius: 1em; background: #F8F6FC; font-size: .95em; }
.ka-bill > b { font-size: 1.1em; }
.ka-bill > div { display: flex; justify-content: space-between; }
.ka-bill em { font-style: normal; font-family: var(--mono); }
.ka-bill .tot { margin-top: auto; padding-top: .6em; border-top: .1em dashed #D5CDE6; font-weight: 700; }
.ka-bill .tot b { font-size: 1.25em; }
.ka-pay { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: .3em; }
.ka-pay span { padding: .55em 0; border-radius: .5em; background: #fff; box-shadow: inset 0 0 0 .1em #E4DEF0; text-align: center; font-weight: 650; font-size: .85em; }
.ka-pay span.on { background: #16121f; color: #fff; box-shadow: 0 0 1em rgba(139, 44, 255, .5); }

/* Docházka */
.ui-doch { width: 38em; padding: 1.3em 1.4em; border-radius: 1.4em; }
.dh-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1em; }
.dh-head b { font-size: 1.3em; }
.dh-head span { padding: .5em .7em; border-radius: .5em; background: var(--v); color: #fff; font: 600 .85em/1 var(--mono); box-shadow: 0 0 1em rgba(139, 44, 255, .55); }
.dh-grid { display: grid; grid-template-columns: 6.6em repeat(10, 1fr); gap: .35em; align-items: center; }
.dh-grid .nm { color: #3a3450; font-weight: 650; font-size: .95em; white-space: nowrap; }
.dh-grid i { height: 2.2em; border-radius: .4em; background: rgba(139, 44, 255, .2); }
.dh-grid i.o { background: var(--v); box-shadow: 0 0 .8em rgba(139, 44, 255, .6); }
.dh-grid i.w { background: #F2EFF8; }
.dh-grid i.a { background: #16121f; }
.dh-grid i.s { background: #C59BFF; }
.work.inview .dh-grid i { animation: cellWave 3.2s ease-in-out infinite; animation-delay: calc(var(--c, 0) * 45ms); }
.dh-leg { display: flex; flex-wrap: wrap; gap: .4em 1.2em; margin-top: 1em; color: #6d6684; font-size: .85em; }
.dh-leg i { display: inline-block; width: .8em; height: .8em; margin-right: .4em; border-radius: .25em; background: rgba(139, 44, 255, .2); vertical-align: -.05em; }
.dh-leg i.o { background: var(--v); }
.dh-leg i.a { background: #16121f; }
.dh-leg i.s { background: #C59BFF; }

/* Weby */
.ui-web { width: 48em; }
.br-page { position: relative; height: 23.5em; overflow: hidden; }
.br-page.cu { background: radial-gradient(70% 90% at 90% 20%, rgba(181, 123, 255, .35), transparent 60%), #1A1220; color: #F7EFE6; }
.cu-nav { display: flex; align-items: center; gap: 1.4em; padding: 1.2em 1.8em; }
.cu-nav b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 1.5em; }
.cu-nav span { opacity: .7; font-size: .95em; }
.cu-nav em { margin-left: auto; padding: .6em 1em; border-radius: 2em; background: #F7EFE6; color: #1A1220; font-style: normal; font-weight: 700; font-size: .9em; }
.cu-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.6em; align-items: center; padding: 1.4em 1.8em; }
.cu-copy small { color: #E3C7FF; font: 600 .85em/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.cu-copy b { display: block; margin: .45em 0 .7em; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 2.6em; line-height: 1.05; letter-spacing: -.02em; }
.cu-copy em { display: inline-block; padding: .8em 1.3em; border-radius: 2em; background: var(--v-hi); color: #1A1220; font-style: normal; font-weight: 700; box-shadow: 0 0 1.4em rgba(181, 123, 255, .55); }
.cu-cal { padding: 1em; border-radius: 1em; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 .1em rgba(255, 255, 255, .12); }
.cu-cal span { opacity: .75; font-size: .9em; }
.cu-cal div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; margin-top: .7em; }
.cu-cal i { padding: .8em 0; border-radius: .6em; background: rgba(255, 255, 255, .08); text-align: center; font-style: normal; font-weight: 650; }
.cu-cal i.on { background: var(--v-hi); color: #1A1220; box-shadow: 0 0 1.2em rgba(181, 123, 255, .65); }
.cu-cal i.x { opacity: .3; text-decoration: line-through; }
.br-page.rg { background: #fff; }
.rg-nav { display: flex; align-items: center; gap: 1.4em; padding: 1.1em 1.8em; border-bottom: .1em solid #F0EDF6; }
.rg-nav b { font-size: 1.25em; font-weight: 800; letter-spacing: -.03em; }
.rg-nav span { color: #6d6684; font-size: .95em; }
.rg-nav span:nth-child(2) { color: var(--v-deep); font-weight: 650; }
.rg-hero { margin: 1.2em 1.8em; padding: 1.5em 1.8em; border-radius: 1em; background: radial-gradient(60% 120% at 100% 0%, rgba(181, 123, 255, .6), transparent 60%), linear-gradient(120deg, #1b1530, #3A0C8C); color: #fff; }
.rg-hero b { display: block; font-size: 2em; line-height: 1.1; letter-spacing: -.035em; }
.rg-hero span { opacity: .78; }
.rg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; padding: 0 1.8em; }
.rg-cards div { display: flex; flex-direction: column; gap: .3em; padding: 1em; border-radius: .9em; box-shadow: 0 0 0 .1em #ECE7F6; }
.rg-cards em { align-self: flex-start; padding: .35em .55em; border-radius: .4em; background: #F1EEF7; color: #6d6684; font: 600 .8em/1 var(--mono); font-style: normal; }
.rg-cards em.open { background: var(--v); color: #fff; }
.rg-cards b { font-size: 1.1em; }
.rg-cards span { color: #8a849c; font-size: .9em; }

.refs-note { margin-top: 28px; color: var(--t-l3); font-size: 14.5px; }

/* =====================================================================
   PROČ MY
   ===================================================================== */
.why-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.why-wrap .sec-head { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item {
  padding: 30px 28px 32px;
  border: 1px solid transparent; border-radius: var(--r-xl);
  background: linear-gradient(#fff, #fff) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(139, 44, 255, .9), var(--line-l) 60%) border-box;
  box-shadow: 0 18px 50px -34px rgba(40, 10, 90, .3);
}
.why-item:hover { transform: translateY(-6px); }
.why-num { display: block; font: 800 60px/1 var(--sans); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px #D3CBE4; transition: color .5s, -webkit-text-stroke-color .5s, filter .5s; }
.why-item:hover .why-num { color: var(--v); -webkit-text-stroke-color: var(--v); filter: drop-shadow(0 0 16px rgba(139, 44, 255, .5)); }
.why-item b { display: block; margin: 24px 0 8px; font-size: 20px; letter-spacing: -.025em; line-height: 1.25; }
.why-item p { color: var(--t-d2); font-size: 15.5px; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 48px); }
.faq-side h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.048em; }
.faq-ask { margin-top: 40px; padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-l), 0 24px 50px -30px rgba(60, 20, 120, .35); }
.faq-ask b { font-size: 18px; letter-spacing: -.02em; }
.faq-ask p { margin: 6px 0 18px; color: var(--t-d2); font-size: 15.5px; }
.faq details { border-bottom: 1px solid var(--line-l2); }
.faq details:first-child { border-top: 1px solid var(--line-l2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.5vw, 20px); font-weight: 650; letter-spacing: -.02em; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--v-deep); }
.faq summary i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-l2); transition: background-color .35s, box-shadow .35s, transform .5s var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--t-d); transform: translate(-50%, -50%); transition: transform .45s var(--ease-out), background-color .35s; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--v); box-shadow: 0 0 24px rgba(139, 44, 255, .55); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a p { max-width: 640px; margin-bottom: 26px; color: var(--t-d2); }
.faq details[open] .faq-a { animation: faqIn .5s var(--ease-out); }

/* =====================================================================
   KONTAKT
   ===================================================================== */
.contact { padding-bottom: clamp(90px, 11vw, 150px); }
.contact-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact-bg .hero-glow.g1 { top: auto; bottom: -260px; right: -120px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy h2 { font-size: clamp(42px, 5.8vw, 80px); line-height: .98; letter-spacing: -.05em; }
.contact-copy > p:not(.eyebrow):not(.contact-note) { max-width: 470px; margin-top: 24px; color: var(--t-l2); font-size: 18px; }
.contact-lines { display: grid; gap: 14px; margin-top: 36px; }
.contact-lines > a, .contact-lines > span { display: inline-flex; align-items: center; gap: 14px; width: max-content; color: #fff; text-decoration: none; font-size: clamp(18px, 1.8vw, 22px); font-weight: 650; letter-spacing: -.02em; }
.contact-lines a:hover { color: var(--v-hi2); }
.contact-lines > span[hidden] { display: none; }
.contact-lines span a { color: inherit; text-decoration: none; }
.cl-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(139, 44, 255, .15); box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .45), 0 0 26px -8px rgba(139, 44, 255, .9); }
.cl-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--v-hi2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-note { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--t-l3); font-size: 15px; }

.lead-form {
  position: relative; display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: rgba(20, 16, 31, .72); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 130px -50px rgba(139, 44, 255, .75);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-wrap { display: grid; gap: 8px; }
.field-wrap label { color: var(--t-l2); font-size: 13.5px; font-weight: 600; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; outline: none;
  background: rgba(255, 255, 255, .04); color: #fff;
  font: 400 16px/1.4 var(--sans);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #6f6985; }
.lead-form input:hover, .lead-form select:hover, .lead-form textarea:hover { border-color: rgba(255, 255, 255, .22); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--v-hi); background: rgba(139, 44, 255, .07); box-shadow: 0 0 0 4px rgba(139, 44, 255, .22), 0 0 34px -8px rgba(139, 44, 255, .75); }
.lead-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B57BFF' stroke-width='2.4' 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 15px center; background-size: 18px; }
.lead-form select option { background: #14111c; color: #fff; }
.lead-form textarea { min-height: 140px; resize: vertical; }
.lead-form .btn { justify-self: start; margin-top: 4px; }
.lead-form .btn:disabled { opacity: .7; cursor: progress; }
.form-status:empty { display: none; }
.form-status { font-size: 15px; }
.form-status.ok { color: var(--v-hi2); }
.form-status.err { color: #FF9DB0; }
.form-consent { color: var(--t-l3); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   PATIČKA
   ===================================================================== */
.site-footer { position: relative; overflow: hidden; padding: 72px 0 0; background: var(--ink); color: var(--t-l2); border-top: 1px solid rgba(255, 255, 255, .06); }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ft-top nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.ft-top nav a { color: var(--t-l2); text-decoration: none; font-size: 15px; transition: color .2s; }
.ft-top nav a:hover { color: #fff; }
.ft-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .07); color: var(--t-l3); font-size: 14px; }
.ft-word {
  margin-top: 34px; text-align: center; white-space: nowrap; user-select: none;
  font: 800 clamp(72px, 16.5vw, 250px)/.78 var(--sans); letter-spacing: -.065em;
  background: linear-gradient(180deg, rgba(139, 44, 255, .6) 0%, rgba(139, 44, 255, .12) 55%, rgba(139, 44, 255, 0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(14%);
}

/* =====================================================================
   PODSTRÁNKY (docházka, účetnictví)
   ===================================================================== */
.nav a[aria-current="page"]:not(.btn) { color: #fff; background: rgba(255, 255, 255, .07); }

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--t-l);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(72px, 9vw, 120px);
}
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--t-l3); font: 500 13px/1.4 var(--mono); }
.breadcrumb a { color: var(--t-l2); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.page-hero .lead { max-width: 560px; margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px); color: var(--t-l2); }
.page-hero .mock { animation: heroIn 1.2s .2s var(--ease-out) both; }
.page-hero .mock:hover { transform: perspective(1500px) rotateY(0) rotateX(0); }

.section.tight { padding: clamp(40px, 5vw, 72px) 0; }

/* režimy nasazení */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid transparent; border-radius: var(--r-xl);
  background: linear-gradient(#fff, #fff) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(139, 44, 255, .9), var(--line-l) 60%) border-box;
  box-shadow: 0 18px 50px -34px rgba(40, 10, 90, .3);
}
.mode:hover { transform: translateY(-6px); }
.mode.feat { color: var(--t-l); background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(197, 155, 255, .95), rgba(139, 44, 255, .35) 60%) border-box; box-shadow: 0 30px 80px -30px rgba(139, 44, 255, .55); }
.mode-label { align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: var(--v-soft); color: var(--v-deep); font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.mode.feat .mode-label { background: rgba(139, 44, 255, .2); color: var(--v-hi2); box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .45); }
.mode h3 { margin: 22px 0 10px; font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.04em; }
.mode > p { color: var(--t-d2); }
.mode.feat > p { color: var(--t-l2); }
.mode ul { display: grid; gap: 11px; margin: 22px 0 26px; padding: 0; list-style: none; }
.mode li { position: relative; padding-left: 30px; color: var(--t-d2); font-size: 15.5px; }
.mode li::before { content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; background: var(--v-soft) var(--check-v) center / 11px no-repeat; }
.mode.feat li { color: var(--t-l2); }
.mode.feat li::before { background: rgba(139, 44, 255, .2) var(--check-n) center / 11px no-repeat; box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .45); }
.mode .fit { margin-top: auto; padding: 14px 16px; border-radius: 14px; background: var(--paper); color: var(--t-d2); font-size: 14.5px; }
.mode .fit b { color: var(--t-d); }
.mode.feat .fit { background: rgba(255, 255, 255, .05); color: var(--t-l2); }
.mode.feat .fit b { color: #fff; }

/* funkce (tmavé karty) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 28px 26px 30px;
  border: 1px solid transparent; border-radius: var(--r-lg);
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(197, 155, 255, .95), rgba(255, 255, 255, .09) 60%) border-box;
}
.feature:hover { transform: translateY(-5px); box-shadow: 0 30px 70px -40px rgba(139, 44, 255, .6); }
.fi { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 20px; border-radius: 15px; background: rgba(139, 44, 255, .15); box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .45), 0 0 26px -8px rgba(139, 44, 255, .9); }
.fi svg { width: 23px; height: 23px; fill: none; stroke: var(--v-hi2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature b { display: block; margin-bottom: 8px; color: #fff; font-size: 18.5px; letter-spacing: -.02em; }
.feature p { color: var(--t-l2); font-size: 15px; }

/* zvýrazněné sdělení */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 32px); align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: radial-gradient(70% 120% at 100% 0%, rgba(139, 44, 255, .14), transparent 60%), linear-gradient(135deg, #F4ECFF, #fff 60%);
  box-shadow: inset 0 0 0 1px #E3D4FB, 0 30px 70px -44px rgba(106, 18, 238, .5);
}
.callout .mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 19px; background: linear-gradient(135deg, #A855FF, #5E12E6); box-shadow: 0 14px 30px -10px rgba(139, 44, 255, .85); }
.callout .mark svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.callout h3 { margin-bottom: 10px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.04em; }
.callout p { max-width: 780px; color: var(--t-d2); }
.callout-gap { margin-top: clamp(48px, 6vw, 80px); }

/* čísla */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 30px 28px 32px; border-radius: var(--r-xl); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-l); }
.stat .n { display: flex; align-items: baseline; gap: 8px; font: 800 clamp(44px, 5vw, 66px)/1 var(--sans); letter-spacing: -.05em; }
.stat .n small { color: var(--t-d3); font-size: .36em; font-weight: 650; letter-spacing: -.01em; }
.stat p { margin-top: 16px; color: var(--t-d2); font-size: 15.5px; }
.flow-head { margin-top: clamp(80px, 10vw, 130px); }

/* tok dokladu */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.node { position: relative; padding: 24px 22px 26px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-l), 0 18px 40px -30px rgba(40, 10, 90, .35); }
.node .n { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; background: linear-gradient(135deg, #9E4DFF, #6A12EE); color: #fff; font: 700 14px/1 var(--mono); box-shadow: 0 0 22px rgba(139, 44, 255, .5); }
.node b { display: block; margin-bottom: 6px; font-size: 18px; letter-spacing: -.02em; }
.node p { color: var(--t-d2); font-size: 14.5px; }
.node:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -16px; z-index: 1; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%238B2CFF' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 27L51 48 30 69'/%3E%3Cpath d='M58 27L79 48 58 69' opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat; }

/* pro koho */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud {
  padding: 30px 28px 32px;
  border: 1px solid transparent; border-radius: var(--r-xl);
  background: linear-gradient(#fff, #fff) padding-box, radial-gradient(var(--sr) circle at var(--mx) var(--my), rgba(139, 44, 255, .9), var(--line-l) 60%) border-box;
  box-shadow: 0 18px 50px -34px rgba(40, 10, 90, .3);
}
.aud:hover { transform: translateY(-6px); }
.aud:hover .why-num { color: var(--v); -webkit-text-stroke-color: var(--v); filter: drop-shadow(0 0 16px rgba(139, 44, 255, .5)); }
.aud b { display: block; margin: 22px 0 8px; font-size: 20px; letter-spacing: -.025em; }
.aud p { color: var(--t-d2); font-size: 15.5px; }

/* výzva na konci podstránky */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(84px, 10vw, 140px) 0; background: var(--ink); color: var(--t-l); }
.cta-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(32px, 4.5vw, 60px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(139, 44, 255, .22), rgba(255, 255, 255, .02) 60%);
  box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .32), 0 50px 130px -50px rgba(139, 44, 255, .8);
}
.cta-inner h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -.045em; }
.cta-inner p { max-width: 580px; margin-top: 16px; color: var(--t-l2); font-size: 17px; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }

@media (max-width: 1160px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero .mock { max-width: 680px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .node::after { display: none; }
}
@media (max-width: 920px) {
  .modes, .audience { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .features, .stats, .flow { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 auto; }
}

/* ---------- ochrana osobních údajů ---------- */
.page-hero.compact { padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero.compact .hero-copy { max-width: 780px; }
.legal-section { padding-top: clamp(56px, 7vw, 96px); }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; list-style: none; }
.summary li { position: relative; padding: 22px 22px 24px 54px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-l); }
.summary li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 22px; height: 22px; border-radius: 50%; background: var(--v) var(--check-w) center / 12px no-repeat; box-shadow: 0 0 16px rgba(139, 44, 255, .5); }
.summary b { display: block; color: var(--t-d); font-size: 16px; letter-spacing: -.015em; }
.summary span { display: block; margin-top: 4px; color: var(--t-d2); font-size: 14.5px; line-height: 1.5; }
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 4px; }
.legal-toc b { margin-bottom: 8px; color: var(--v-deep); font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.legal-toc a { padding: 8px 12px; border-radius: 10px; color: var(--t-d2); text-decoration: none; font-size: 15px; transition: background-color .2s, color .2s; }
.legal-toc a:hover { background: var(--paper); color: var(--v-deep); }
.legal { max-width: 760px; }
.legal h2 { margin: 52px 0 14px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.04em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 26px 0 8px; font-size: 18.5px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--t-d2); }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--v-deep); font-weight: 600; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal ul { display: grid; gap: 8px; margin: 12px 0 14px; padding: 0; list-style: none; }
.legal li { position: relative; padding-left: 28px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .3em; width: 17px; height: 17px; border-radius: 50%; background: var(--v-soft) var(--check-v) center / 10px no-repeat; }
.legal .basis { margin-top: 10px; padding: 12px 16px; border-left: 3px solid var(--v); border-radius: 0 12px 12px 0; background: var(--paper); font-size: 15px; }
.legal-date { margin-top: 48px !important; color: var(--t-d3) !important; font: 500 13px/1 var(--mono); }
.ft-legal a, .form-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ft-legal a:hover, .form-consent a:hover { color: #fff; }

@media (max-width: 1160px) {
  .summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(2, 1fr); }
  .legal-toc b { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .summary { grid-template-columns: 1fr; }
  .legal-toc { grid-template-columns: 1fr; }
}

/* =====================================================================
   ODHALOVÁNÍ PŘI SCROLLU
   ===================================================================== */
.js .reveal { opacity: 0; translate: 0 34px; filter: blur(8px); transition: opacity 1s var(--ease-out), translate 1s var(--ease-out), filter 1s var(--ease-out), --sr .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s; }
.js .reveal.in { opacity: 1; translate: none; filter: none; }

/* =====================================================================
   KLÍČOVÉ SNÍMKY
   ===================================================================== */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(181, 123, 255, .7); } 70% { box-shadow: 0 0 0 9px rgba(181, 123, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(181, 123, 255, 0); } }
@keyframes drift1 { to { transform: translate(-70px, 50px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(90px, -40px) scale(1.12); } }
@keyframes ride { to { transform: translateY(76px); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bob { 0%, 100% { transform: translateZ(4em) translateY(0); } 50% { transform: translateZ(4em) translateY(-.9em); } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scan { 0% { top: 0; opacity: 1; } 94% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes rider { 0% { stroke-dashoffset: 1000; opacity: 1; } 88% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes skIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { width: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes flowOn { to { color: var(--v-deep); } }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(139, 44, 255, 0); } 50% { box-shadow: 0 0 0 .4em rgba(139, 44, 255, .25), 0 0 1.4em rgba(139, 44, 255, .7); } }
@keyframes docScan { 0% { top: -30px; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes ukScan { 0%, 8% { transform: translateY(-2.6em); } 62%, 100% { transform: translateY(18.5em); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.5); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmerBg { to { background-position: 100% 100%; } }
@keyframes workPop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes barPulse { 50% { opacity: .45; } }
@keyframes route { 0% { stroke-dashoffset: 1; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes cellWave { 0%, 70%, 100% { transform: none; } 35% { transform: translateY(-.25em); } }

/* =====================================================================
   RESPONZIVITA
   ===================================================================== */
@media (max-width: 1160px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .stage { max-width: 640px; margin-top: 12px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work, .work.feat, .work.wide, .works:not([data-filter="all"]) .work { grid-column: span 1; }
  .work.feat { grid-column: span 2; }
  .work.feat .work-screen { aspect-ratio: 16 / 8.6; }
  .work.feat .w-ui { font-size: calc(100cqw / 64); }
  .why-wrap, .faq-wrap { grid-template-columns: 1fr; }
  .why-wrap .sec-head, .faq-side { position: static; }
  .integrations { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 920px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 14px var(--gutter) 26px;
    background: rgba(5, 4, 7, .97); backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .4s var(--ease-out), visibility .3s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 19px; border-radius: 12px; }
  .nav .nav-cta { margin: 12px 0 0; height: 52px; }
  .nav-toggle { display: inline-block; }
  .site-header { background: rgba(5, 4, 7, .78); backdrop-filter: blur(18px); }
  .solution, .solution.reverse { grid-template-columns: 1fr; }
  .solution.reverse .solution-copy { order: 0; }
  .mock, .solution.reverse .mock { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps-line { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(42px, 12.4vw, 64px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .stage-tilt { transform: perspective(1500px) rotateY(calc(-9deg + var(--ry))) rotateX(calc(5deg + var(--rx))); }
  .stage-ui { justify-content: center; padding-left: 0; }
  .hero-facts { grid-template-columns: 1fr; }
  .band-label { height: 76px; padding-right: 18px; font-size: 11px; }
  .band-label .chev { display: none; }
  .works { grid-template-columns: 1fr; }
  .work, .work.feat, .work.wide, .works:not([data-filter="all"]) .work { grid-column: span 1; }
  .work.feat .work-screen, .work.wide .work-screen, .work-screen { aspect-ratio: 16 / 11; }
  .work.feat .w-ui, .work.wide .w-ui { font-size: calc(100cqw / 52); }
  .why { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lead-form .btn { justify-self: stretch; }
  .steps { grid-template-columns: 1fr; }
  .uc-body { grid-template-columns: 1fr; }
  .uc-doc { display: none; }
  .mock-dochazka th:nth-child(n+8):not(.sum), .mock-dochazka td:nth-child(n+8):not(.sum) { display: none; }
  .ft-legal { flex-direction: column; }
}

@media (max-width: 520px) {
  .k-brand { display: none; }
}

@media (max-width: 420px) {
  .filters button { padding: 10px 12px; font-size: 13.5px; }
  .kicker { font-size: 10px; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
}
