/* ===== David Sak — portfolio (design-tool utility landing) ===== */
:root {
  --bg: #f7f8fb;
  --panel: #f0f2f7;
  --line: #e7e9f0;
  --line-strong: #d9dce6;
  --ink: #000;
  --gray-1: #333;
  --gray-2: #545454;
  --gray-3: #63666e; /* ztmaveno kvůli kontrastu 4.5:1 na tónovaném pozadí */
  --gray-4: #6f7380;
  --blue: #3455fa;
  --blue-dark: #2040e3;
  --max: 1180px;
  --serif: "Instrument Serif", serif;
  --sans: "Google Sans Flex", Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* výrazný 3D neumorphism (soft-UI) */
  --neu-bg: linear-gradient(145deg, #f7f9fe, #e2e6f0);
  --neu-out: -9px -9px 20px #ffffff, 11px 13px 27px rgba(140, 151, 180, 0.58);
  --neu-out-lg: -13px -13px 27px #ffffff, 16px 19px 38px rgba(140, 151, 180, 0.64);
  --neu-in: inset 7px 7px 15px rgba(140, 151, 180, 0.58), inset -7px -7px 15px #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.frame { max-width: var(--max); margin: 0 auto; }
main.frame {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
main section { border-bottom: 1px solid var(--line); }

/* ===== TYPE ===== */
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.8vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h2 {
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
}
h4, .feature-cell h3, .tl-card h3, .tier-left h3, .repo-card h3, .explore-card h3, .team-card h3, .cta-text h3 { font-size: 17px; font-weight: 500; }

.section-sub {
  text-align: center;
  color: var(--gray-2);
  font-size: 15px;
  margin: 34px auto 0;
  max-width: 560px;
}

/* ===== BUTTONS (pill 18px) ===== */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 22px;
  border: 0;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.2s, opacity 0.2s, box-shadow 0.28s var(--ease);
  white-space: nowrap;
}
/* přejezd světelného odlesku přes tlačítko při hoveru (nahrazuje magnetický efekt) */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 55%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0.6s var(--ease);
}
.btn:hover::after { left: 145%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: #1a1a1a; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26); }
.btn-gray { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.btn-gray:hover { background: rgba(0, 0, 0, 0.09); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10); }
.btn-gray::after { background: linear-gradient(120deg, transparent 0%, rgba(0, 0, 0, 0.06) 50%, transparent 100%); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 10px 26px rgba(52, 85, 250, 0.38); }

/* ===== CHIPS & ANNOTATIONS ===== */
.chip-black {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  white-space: nowrap;
}
.chip-gray {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--gray-1);
  font-size: 11.5px;
  padding: 3px 9px;
}
/* chip s křížky v rozích (design-tool) */
.chip-wrap { display: flex; justify-content: center; margin-bottom: 30px; }
.chip-corners { position: relative; }
.chip-corners .c {
  position: absolute;
  width: 9px; height: 9px;
  background:
    linear-gradient(var(--gray-3), var(--gray-3)) center/9px 1px no-repeat,
    linear-gradient(var(--gray-3), var(--gray-3)) center/1px 9px no-repeat;
}
.chip-corners .c1 { top: -5px; left: -5px; }
.chip-corners .c2 { top: -5px; right: -5px; }
.chip-corners .c3 { bottom: -5px; left: -5px; }
.chip-corners .c4 { bottom: -5px; right: -5px; }

/* editorial kicker (nadřazený popisek nad nadpisem sekce) */
.kicker-row { display: flex; justify-content: center; margin-bottom: 30px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
}
.kicker::before, .kicker::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}
.kicker::after { background: linear-gradient(90deg, var(--blue), transparent); }
.kicker b { width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex: none; }
.kicker-row.left { justify-content: flex-start; }
.kicker-row.left .kicker::before { display: none; }

/* anotační štítek s linkou a bodem */
.annot { position: absolute; display: flex; flex-direction: column; align-items: flex-start; }
.annot-dot { width: 7px; height: 7px; background: var(--ink); }
.annot-line { width: 1px; height: 44px; background: var(--ink); margin-left: 3px; }
.annot-vline { display: block; width: 1px; height: 44px; background: var(--ink); margin-left: 3px; }
.annot-text {
  font-size: 11.5px;
  color: var(--gray-1);
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  padding: 3px 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}
.annot-dot { animation: dotPing 2.6s var(--ease) infinite; }
@keyframes dotPing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.22); }
  50% { box-shadow: 0 0 0 7px rgba(0, 0, 0, 0); }
}
.annot-hline { display: inline-block; height: 1px; width: 90px; background: var(--ink); }

/* ===== NAV ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.nav-side { display: flex; gap: 26px; font-size: 12px; color: var(--gray-1); }
.nav-left { justify-content: flex-end; padding-right: 40px; }
.nav-right { justify-content: flex-start; padding-left: 40px; }
.nav-side a span { color: var(--gray-4); transition: color 0.2s; }
.nav-side a:hover span { color: var(--ink); }
.brand { display: inline-flex; align-items: center; }

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;  /* WCAG 2.5.8 — dostatečná dotyková plocha */
  min-height: 44px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile a { padding: 13px 24px; font-size: 13px; border-bottom: 1px solid var(--line); }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: clamp(88px, 11vw, 148px) 32px 56px;
}
.hero-sub { color: var(--gray-2); font-size: 16px; margin: 18px auto 0; max-width: 560px; }
.hero-cta { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.hero-cta-note { margin-top: 10px; font-size: 12px; color: var(--gray-3); }

.hero-visual {
  position: relative;
  max-width: 960px;
  margin: 48px auto 0;
  padding: 28px;
}
.hero-visual canvas { width: 100%; height: auto; display: block; }
/* ořezové značky */
.crop { position: absolute; width: 18px; height: 18px; }
.crop.tl { top: 0; left: 0; border-top: 1.5px solid var(--gray-1); border-left: 1.5px solid var(--gray-1); }
.crop.tr { top: 0; right: 0; border-top: 1.5px solid var(--gray-1); border-right: 1.5px solid var(--gray-1); }
.crop.bl { bottom: 0; left: 0; border-bottom: 1.5px solid var(--gray-1); border-left: 1.5px solid var(--gray-1); }
.crop.br { bottom: 0; right: 0; border-bottom: 1.5px solid var(--gray-1); border-right: 1.5px solid var(--gray-1); }

/* ===== TRUSTED / MARQUEE ===== */
.trusted { padding: 44px 0 52px; text-align: center; }
.trusted-label { font-size: 13px; color: var(--gray-2); margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding-right: 64px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-3);
  white-space: nowrap;
}
.lg { display: inline-block; width: 18px; height: 18px; background: var(--gray-3); flex: none; }
.lg-1 { border-radius: 50%; }
.lg-2 { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-3 { border-radius: 3px; }
.lg-4 { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.lg-5 { border-radius: 50% 0 50% 0; }
.lg-6 { clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
.lg-7 { clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.lg-8 { border-radius: 0 50% 50% 50%; }

/* ===== INTERSECTION ===== */
.intersection { padding: clamp(88px, 11vw, 148px) 0 0; }
.intersection h2, .intersection .section-sub { padding: 0 32px; }
.intersection-visual { position: relative; margin-top: 44px; }
.intersection-visual canvas { width: 100%; height: auto; display: block; }
.annot-ai { top: 34%; left: 18%; }
.annot-human { top: 26%; right: 14%; align-items: flex-end; }
.annot-human .annot-line { margin-right: 3px; }

/* ===== FEATURES ===== */
.features { padding: clamp(88px, 11vw, 148px) 32px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 940px;
  margin: 52px auto 0;
}
.feature-cell {
  border: 1px dashed var(--line-strong);
  padding: 38px 30px 34px;
  text-align: center;
  transition: background 0.25s var(--ease);
}
.feature-cell:hover { background: #fbfbfb; }
.pixel-icon { display: flex; justify-content: center; margin-bottom: 24px; }
.pixel-icon canvas {
  width: 160px; height: 160px;
  image-rendering: pixelated;
  animation: iconFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes iconFloat { 50% { transform: translateY(-7px); } }
.feature-cell:nth-child(2) .pixel-icon canvas { animation-delay: 1.5s; }
.feature-cell:nth-child(3) .pixel-icon canvas { animation-delay: 3s; }
.feature-cell:nth-child(4) .pixel-icon canvas { animation-delay: 4.5s; }
.feature-cell h3 { margin-bottom: 8px; }
.feature-cell p { color: var(--gray-2); font-size: 14px; }

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 40px 0 48px;
}
.tag-strip span {
  font-size: 12px;
  color: var(--gray-2);
  border: 1px dashed var(--line-strong);
  background: var(--panel);
  padding: 5px 13px;
  border-radius: 18px;
}

/* ===== ECOSYSTEM — BEAM HUB ===== */
.ecosystem { padding: clamp(88px, 11vw, 148px) 32px; text-align: center; }
.beamhub {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  max-width: 720px;
  margin: 52px auto 0;
}
.bh-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.bh-path { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
/* datové pakety jedoucí po dráze (pozice řídí script.js) */
.bh-packet {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 5px rgba(52, 85, 250, 0.8));
  pointer-events: none;
}
.bh-packet.out { fill: var(--blue); stroke: #fff; stroke-width: 1.4; }

.bh-col { display: grid; gap: 30px; z-index: 1; }
.bh-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.bh-node:hover {
  transform: translateY(-3px);
  border-color: var(--gray-4);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}
.bh-node svg { width: 17px; height: 17px; flex: none; }
.bh-node svg path { fill: var(--gray-2); transition: fill 0.3s; }
.bh-node:hover svg path { fill: var(--blue); }

.bh-center { display: grid; justify-items: center; gap: 16px; z-index: 1; }
.bh-hub {
  position: relative;
  width: 86px;
  height: 86px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.07);
  animation: hubGlow 3.6s ease-in-out infinite;
}
@keyframes hubGlow {
  50% { box-shadow: 0 6px 34px rgba(52, 85, 250, 0.22); }
}
.bh-ring {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(52, 85, 250, 0.45);
  border-radius: 50%;
  animation: ringExpand 3.6s var(--ease) infinite;
  pointer-events: none;
}
.bh-ring.r2 { animation-delay: 1.8s; }
@keyframes ringExpand {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.65); opacity: 0; }
}
.bh-count {
  font-size: 11px;
  color: var(--gray-3);
  display: grid;
  gap: 2px;
}
.bh-count b {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ===== PRICING ===== */
.pricing { padding: clamp(88px, 11vw, 148px) 32px; }
.tier-stack { margin-top: 56px; display: flex; flex-direction: column; gap: 72px; }
.tier-row { position: relative; display: flex; align-items: center; }
.tier-row-right { justify-content: flex-end; padding-right: 4%; }
.tier-row-left { justify-content: flex-start; padding-left: 4%; }
.tier-row-center { justify-content: center; }
.tier-annot { display: flex; align-items: center; flex: none; }

.tier-card {
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: min(620px, 100%);
}
.tier-left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tier-left h3 { font-size: 19px; }
.tier-desc { color: var(--gray-2); font-size: 14px; }
.tier-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
}
.tier-price { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.tier-price em { font-style: normal; font-size: 12px; color: var(--gray-3); }
.tier-list { list-style: none; display: grid; gap: 10px; align-content: start; }
.tier-list li {
  border: 1px dashed var(--line-strong);
  background: var(--panel);
  font-size: 12.5px;
  color: var(--gray-1);
  padding: 12px 14px;
}

/* ===== CASES ===== */
.cases { padding: clamp(88px, 11vw, 148px) 32px; }
.case-mark { width: 16px; height: 16px; background: var(--ink); flex: none; }
.cm-1 { border-radius: 50%; }
.cm-2 { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cm-3 { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.case p { color: var(--gray-2); font-size: 14px; flex: 1; }
.case footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.case footer div { display: flex; flex-direction: column; gap: 1px; }
.person { font-weight: 500; font-size: 13.5px; }
.role { font-size: 12px; color: var(--gray-3); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; image-rendering: pixelated; }

/* selection handles (design-tool motiv) — trvale na vybrané kartě,
   na hover u karet ceníku a funkcí */
.case.selected { outline: 1px dashed var(--gray-1); outline-offset: -1px; }
.h {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--ink);
  z-index: 2;
}
.h.h1 { top: -4px; left: -4px; }
.h.h2 { top: -4px; right: -4px; }
.h.h3 { bottom: -4px; left: -4px; }
.h.h4 { bottom: -4px; right: -4px; }
.handles { position: relative; }
.handles .h {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.handles:hover .h { opacity: 1; transform: none; }
.handles:hover { outline: 1px dashed var(--gray-2); outline-offset: -1px; }

/* ===== FAQ ===== */
.faq { padding: clamp(88px, 11vw, 148px) 32px; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.faq-head { position: relative; }
.faq-head h2 { text-align: left; }
.faq-lead { color: var(--gray-2); font-size: 14.5px; margin-top: 16px; max-width: 440px; }
.annot-mail { position: static; display: inline-flex; flex-direction: column; margin-top: 90px; }
.annot-mail .chip-black { font-size: 12px; }

.faq-list { display: grid; gap: 14px; align-content: start; }
.faq-item { border: 1px dashed var(--line-strong); background: #fbfbfb; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-3);
  transition: transform 0.25s var(--ease);
  line-height: 1;
}
.faq-body { padding: 0 20px 18px; }
.faq-body p { color: var(--gray-2); font-size: 14px; }

/* ===== CTA + KALENDÁŘ (světlé finále) ===== */
.cta {
  position: relative;
  padding: clamp(88px, 11vw, 148px) 32px;
  background: var(--panel);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
.cta > * { position: relative; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== KONTAKTNÍ FORMULÁŘ ===== */
.cta-form { margin-top: 30px; display: grid; gap: 14px; max-width: 460px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; color: var(--gray-1); }
.cta-form input,
.cta-form textarea {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: var(--panel);
  border: 1px dashed var(--line-strong);
  padding: 10px 12px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cta-form input:focus,
.cta-form textarea:focus {
  border: 1px solid var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(52, 85, 250, 0.08);
}
.cta-form input[readonly] { cursor: default; color: var(--gray-2); }
.cta-form .invalid { border: 1px solid #e23c3c; background: #fff7f7; }
.cta-form button { justify-self: start; }
.form-status { font-size: 12.5px; color: var(--gray-2); min-height: 18px; }
.cta-form label .opt { font-style: normal; font-weight: 400; color: var(--gray-3); font-size: 11.5px; }
.form-status.ok { color: #1a9a63; }
.form-status.err { color: #e23c3c; }
.cta-text h2 { text-align: left; }
.cta-points { list-style: none; display: grid; gap: 8px; margin-top: 22px; }
.cta-points li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--gray-1);
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

.calendar {
  background: #111;
  color: #eee;
  border-radius: 14px;
  padding: 22px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-title { font-size: 15px; font-weight: 500; }
.cal-title span { color: #888; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  background: #1d1d1d;
  border: 0;
  color: #aaa;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
}
.cal-nav button:hover { color: #fff; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal-dow { font-size: 10px; color: #777; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 0; }
.cal-day {
  font-family: var(--sans);
  font-size: 12.5px;
  padding: 8px 0;
  border-radius: 50%;
  border: 0;
  background: none;
  color: #ddd;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cal-day:hover { background: #2a2a2a; }
.cal-day.off { color: #555; cursor: default; }
.cal-day.off:hover { background: none; }
.cal-day.today { background: #fff; color: #111; font-weight: 500; }
.cal-day.sel { background: var(--blue); color: #fff; font-weight: 500; }
.cal-day.sel:hover { background: var(--blue-dark); }
.cal-times {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cal-time {
  flex: 1;
  font-family: var(--sans);
  text-align: center;
  font-size: 12px;
  border: 1px solid #333;
  border-radius: 18px;
  padding: 7px 10px;
  background: none;
  color: #ccc;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.cal-time:hover { border-color: #fff; color: #fff; }
.cal-time.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.cal-hint { font-size: 11.5px; color: #888; margin-top: 14px; text-align: center; }

/* ===== FOOTER ===== */
.footer {
  display: grid;
  grid-template-columns: 1.2fr auto 1.3fr;
  gap: 48px;
  align-items: center;
  padding: 64px 40px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.brand-foot { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.footer-brand p { color: var(--gray-3); font-size: 12.5px; margin-top: 14px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--gray-2);
  transition: color 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--ink); border-color: var(--gray-3); }
.copyright { margin-top: 18px; font-size: 12px; color: var(--gray-4); }
.footer-visual canvas { width: 220px; height: auto; display: block; opacity: 0.55; }
.footer-cols { display: flex; gap: 56px; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-head { font-weight: 500; font-size: 13px; margin-bottom: 6px; }
.footer-col a { font-size: 12.5px; color: var(--gray-2); transition: color 0.2s; white-space: nowrap; width: fit-content; }
.footer-col a:hover { color: var(--ink); }

/* ===== REVEAL (blur + fade, jako předloha) ===== */
/* bez filter: blur — nejdražší CSS vlastnost způsobovala trhání při scrollu */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== WORD-MASK REVEAL (StackGrid styl) ===== */
/* rozdělený element už neanimuje jako celek — animují se jednotlivá slova */
.reveal.split, .load.split { opacity: 1; filter: none; transform: none; animation: none; }
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0.1em 0 0.14em;
  margin: -0.1em 0 -0.14em;
}
.wi {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.85s var(--ease),
    opacity 0.6s var(--ease);
  transition-delay: calc(var(--wi, 0) * 60ms);
  will-change: transform;
}
.split.in .wi { transform: none; opacity: 1; }

/* ===== STACKING KARTY (ceník) ===== */
/* ceník — postupné navázání fází: každá fáze vjede ze své strany a zůstane
   trvale vidět (žádné sticky překrývání ani mlžení za scrollu) */
.tier-row {
  opacity: 0;
  transition: opacity 0.75s var(--ease), transform 0.9s var(--ease);
}
.tier-row-right  { transform: translateX(46px) scale(0.98); }
.tier-row-left   { transform: translateX(-46px) scale(0.98); }
.tier-row-center { transform: translateY(34px) scale(0.98); }
.tier-stack.in .tier-row { opacity: 1; transform: none; }
.tier-stack.in .tier-row:nth-child(2) { transition-delay: 0.16s; }
.tier-stack.in .tier-row:nth-child(3) { transition-delay: 0.32s; }

/* animovaná spojnice fází (prokreslí se mezi kartami, uzly naskočí) */
.tier-stack { position: relative; }
.tier-row { z-index: 1; }
.tier-link { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.tier-link-path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.5;
  filter: drop-shadow(0 0 5px rgba(52, 85, 250, 0.4));
  transition: stroke-dashoffset 1.5s var(--ease) 0.2s;
}
.tier-link-dot {
  fill: var(--blue);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(52, 85, 250, 0.6));
  transition: opacity 0.5s var(--ease);
}
.tier-stack.in .tier-link-dot { opacity: 0.9; }

/* ===== LOAD-IN (hero sekvence při načtení) ===== */
.load {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(18px);
  animation: loadIn 0.9s var(--ease) forwards;
}
.load-1 { animation-delay: 0.05s; }
.load-2 { animation-delay: 0.2s; }
.load-3 { animation-delay: 0.35s; }
.load-4 { animation-delay: 0.5s; }
@keyframes loadIn {
  to { opacity: 1; filter: blur(0); transform: none; }
}

/* ===== KRESLÍCÍ SE ANOTAČNÍ LINKY ===== */
/* hero „průsečík" anotace (zůstávají navázané na .reveal) */
.reveal .annot-line, .reveal .annot-vline {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s var(--ease) 0.45s;
}
.reveal .annot-text, .reveal .annot .chip-black {
  opacity: 0;
  transition: opacity 0.5s var(--ease) 1s;
}
.reveal.in .annot-line, .reveal.in .annot-vline { transform: scaleY(1); }
.reveal.in .annot-text, .reveal.in .annot .chip-black { opacity: 1; }

/* ceník — spojnice fází se dokreslí a štítek naskočí až po vjezdu karty,
   fáze po fázi (1 → 2 → 3) */
.tier-row .annot-hline { transform: scaleX(0); transition: transform 0.7s var(--ease); }
.tier-row-right .annot-hline { transform-origin: left; }
.tier-row-left .annot-hline { transform-origin: right; }
.tier-row-center .annot-hline { transform-origin: left; }
.tier-annot .chip-black { opacity: 0; transition: opacity 0.5s var(--ease); }
.tier-stack.in .tier-row .annot-hline { transform: scaleX(1); transition-delay: 0.4s; }
.tier-stack.in .tier-row .tier-annot .chip-black { opacity: 1; transition-delay: 0.55s; }
.tier-stack.in .tier-row:nth-child(2) .annot-hline { transition-delay: 0.56s; }
.tier-stack.in .tier-row:nth-child(2) .tier-annot .chip-black { transition-delay: 0.71s; }
.tier-stack.in .tier-row:nth-child(3) .annot-hline { transition-delay: 0.72s; }
.tier-stack.in .tier-row:nth-child(3) .tier-annot .chip-black { transition-delay: 0.87s; }

/* ===== HOVER MIKRO-ANIMACE ===== */
.tier-card, .faq-item {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s var(--ease);
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.07);
}
.feature-cell { transition: transform 0.3s var(--ease), background 0.25s var(--ease), box-shadow 0.3s var(--ease); }
.feature-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.06);
}
.logo-item { transition: color 0.25s; }
.logo-item:hover { color: var(--ink); }
.logo-item:hover .lg { background: var(--ink); }
.lg { transition: background 0.25s, transform 0.3s var(--ease); }
.logo-item:hover .lg { transform: rotate(90deg); }
.socials a:hover { transform: translateY(-2px); }
.socials a { transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }

/* ===== SPOTLIGHT KARTY (radiální světlo pod kurzorem) ===== */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(52, 85, 250, 0.075), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: 1;
}
.spot:hover::after { opacity: 1; }

/* ===== SHINE BORDER (běžící světelný okraj na Fázi 2) ===== */
@property --bbang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.tier-row-left .tier-card::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  pointer-events: none;
  border: 1.5px solid transparent;
  background: conic-gradient(from var(--bbang),
    transparent 0deg 290deg,
    rgba(52, 85, 250, 0.9) 330deg,
    transparent 360deg) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: bbspin 5s linear infinite;
}
@keyframes bbspin { to { --bbang: 360deg; } }

/* ===== HERO FX: particles, glow, zrno, shimmer ===== */
.hero { position: relative; }
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 10%;
  z-index: -1;
  background:
    radial-gradient(48% 58% at 33% 46%, rgba(52, 85, 250, 0.10), transparent 70%),
    radial-gradient(44% 54% at 68% 40%, rgba(233, 53, 224, 0.06), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
}
.grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-repeat: repeat;
}
.btn-black { position: relative; overflow: hidden; }
.btn-black::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 55%;
  height: 100%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  animation: shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%, 55% { left: -160%; }
  100% { left: 190%; }
}

/* ===== FAQ plynulé rozbalení ===== */
.faq-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s var(--ease), opacity 0.25s ease;
}
.faq-item[open] .faq-body { opacity: 1; }

/* ===== NAV skrývání při scrollu ===== */
.nav-wrap { transition: transform 0.4s var(--ease); }
.nav-wrap.hidden { transform: translateY(-100%); }

/* ===== VÝBĚR TEXTU ===== */
::selection { background: var(--blue); color: #fff; }

/* ===== SCROLL CUE (hero) ===== */
.scroll-cue {
  display: inline-block;
  margin-top: 36px;
  font-size: 12px;
  color: var(--gray-3);
  transition: color 0.2s;
  animation: loadIn 0.9s var(--ease) forwards, cueFloat 2.4s ease-in-out 1.2s infinite;
}
.scroll-cue:hover { color: var(--ink); }
.load-5 { animation-delay: 0.65s, 1.2s; }
@keyframes cueFloat { 50% { transform: translateY(5px); } }

/* ===== FIGMA-STYLE ŠTÍTKY ===== */
.annot-fig {
  position: absolute;
  left: 30px;
  bottom: 8px;
  color: var(--gray-3);
  font-family: monospace;
  font-size: 11px;
}
.calendar-wrap { position: relative; }
.annot-cal {
  position: absolute;
  top: -11px;
  right: 20px;
  z-index: 2;
}

/* ===== STATS (napočítávaná čísla) ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 46px 24px 42px;
  text-align: center;
  position: relative;
  transition: background 0.35s var(--ease);
}
.stat::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--blue);
  transition: width 0.45s var(--ease);
}
.stat:hover::before { width: 44px; }
.stat:hover { background: linear-gradient(180deg, rgba(52, 85, 250, 0.035), transparent 70%); }
.stat + .stat { border-left: 1px dashed var(--line-strong); }
.stat-num { transition: color 0.28s var(--ease); }
.stat:hover .stat-num { color: var(--blue); }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--gray-3);
  margin-left: 5px;
}
.stat p { color: var(--gray-2); font-size: 13.5px; margin-top: 12px; }
.stats-note { text-align: center; font-size: 11.5px; font-style: italic; color: var(--gray-4); padding: 0 24px 30px; }

/* ===== PROCES / TIMELINE (sticky hlavička vlevo, kroky na levé kolejnici) ===== */
.process { padding: clamp(88px, 11vw, 148px) 32px; }
.process-grid { max-width: 1020px; margin: 0 auto; }
.process-head h2 { text-align: center; }
.process-cta { margin-top: 26px; }
.process-head { text-align: center; }
@media (min-width: 1000px) {
  .process-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 72px;
    align-items: start;
  }
  .process-head {
    position: sticky;
    top: 120px;
    text-align: left;
  }
  .process-head h2 { text-align: left; }
  .process-head .section-sub { text-align: left; margin-left: 0; margin-right: 0; }
  .timeline { margin-top: 8px; }
}
.timeline {
  position: relative;
  max-width: 640px;
  margin: 48px auto 0;
  display: grid;
  gap: 40px;
}
.tl-track, .tl-progress {
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
}
.tl-track {
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 4px, transparent 4px 9px);
}
.tl-progress {
  background: var(--ink);
  transform-origin: top;
  transform: scaleY(0);
  will-change: transform;
}
.tl-step { position: relative; padding-left: 36px; }
.tl-dot {
  position: absolute;
  top: 24px;
  left: 4px;
  width: 9px; height: 9px;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--gray-4);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  z-index: 1;
}
.tl-dot.on {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.06);
}
.tl-card {
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  padding: 22px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tl-card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06); }
.tl-card h3 { margin: 12px 0 6px; }
.tl-card p { color: var(--gray-2); font-size: 14px; }

/* ===== ORBIT COUNTER ===== */
.orbit-counter { margin-top: 40px; }
.orbit-counter .chip-black { font-variant-numeric: tabular-nums; }

/* ===== BADGE CENÍKU ===== */
.tier-card { position: relative; }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  z-index: 1;
}

/* ===== ODKAZY NA STUDIE ===== */
.case-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-1);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.case-link:hover { color: var(--ink); background-size: 100% 1px; }

/* ===== KRESLÍCÍ SE PODTRŽENÍ ODKAZŮ ===== */
.nav-side a, .footer-col a, .nav-mobile a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.nav-side a:hover, .footer-col a:hover, .nav-mobile a:hover { background-size: 100% 1px; }

/* ===== VLASTNÍ KURZOR ===== */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid transparent;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.3s;
}
.cursor-dot.on { opacity: 1; }
.cursor-dot.big {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  background: rgba(0, 0, 0, 0);
  border-color: var(--ink);
}


/* ===== DESIGN MŘÍŽKA (klávesa G) ===== */
body.grid-on::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.13) 1px, transparent 1.5px);
  background-size: 24px 24px;
}

/* ===== CAL.COM EMBED ===== */
.calendar.cal-embed { padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10); }
.calendar.cal-embed iframe { display: block; width: 100%; height: 560px; border: 0; }

/* ===== MOCKUPY (náhledy řešení v case studies) ===== */
.mock {
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  margin-top: 24px;
  font-size: 12.5px;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px dashed var(--line-strong);
  background: var(--panel);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; }
.mock-bar span { margin-left: 8px; font-family: monospace; font-size: 11px; color: var(--gray-3); }
.mock-live { margin-left: auto !important; color: #1f9e63 !important; animation: livePulse 2.2s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: 0.4; } }
.mock-caption { font-size: 11px; color: var(--gray-4); margin-top: 8px; font-style: italic; }

/* pipeline flow (Simplifio) */
.mock-flow { display: flex; align-items: center; gap: 10px; padding: 16px 18px 4px; flex-wrap: wrap; }
.mf-node {
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 4px 11px;
  font-size: 11px;
  border-radius: 14px;
  color: var(--gray-1);
  white-space: nowrap;
}
.mf-line { position: relative; flex: 1; min-width: 26px; height: 1px; background: var(--line-strong); }
.mf-dot {
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: mfMove 2.6s linear infinite;
}
.mf-dot.d2 { animation-delay: 0.9s; }
.mf-dot.d3 { animation-delay: 1.7s; }
@keyframes mfMove {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}

.mock-rows { padding: 12px 18px 2px; display: grid; gap: 8px; }
.mock-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px dashed var(--line);
  background: #fbfbfb;
  padding: 9px 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mock.in .mock-row { opacity: 1; transform: none; }
.mock.in .mock-row:nth-child(1) { transition-delay: 0.15s; }
.mock.in .mock-row:nth-child(2) { transition-delay: 0.3s; }
.mock.in .mock-row:nth-child(3) { transition-delay: 0.45s; }
.mock.in .mock-row:nth-child(4) { transition-delay: 0.6s; }
.mr-id { font-family: monospace; font-size: 11px; color: var(--gray-2); }
.mr-route { color: var(--gray-1); }
.mr-status { font-size: 11px; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.mr-status.ok { background: #e8f6ee; color: #157f4e; }
.mr-status.run { background: #eaf0ff; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.mr-status.warn { background: #fdeeee; color: #c43c3c; }
.mr-prog { width: 44px; height: 3px; background: #d7e0fb; border-radius: 2px; overflow: hidden; display: inline-block; }
.mr-prog i { display: block; height: 100%; width: 40%; background: var(--blue); border-radius: 2px; animation: progSlide 1.6s ease-in-out infinite; }
@keyframes progSlide { 0% { transform: translateX(-110%); } 100% { transform: translateX(280%); } }

.mock-foot {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 18px 14px;
  color: var(--gray-3);
  font-size: 11.5px;
  border-top: 1px dashed var(--line);
  margin-top: 12px;
}
.mock-foot b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.mf-ok { color: #1f9e63; margin-left: auto; animation: livePulse 2.2s ease-in-out infinite; }

/* chat s agentem (Koruna Bank) — tmavý panel */
.mock-dark { background: #111; border-color: #2a2a2a; color: #ddd; }
.mock-dark .mock-bar { background: #181818; border-color: #2a2a2a; }
.mock-dark .mock-bar i { background: #333; }
.mock-chat { padding: 18px; display: grid; gap: 10px; height: 340px; align-content: start; }
.chat-msg {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.chat-msg.show { opacity: 1; transform: none; }
.chat-msg.user { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg.agent { justify-self: start; background: #1e1e1e; color: #ddd; border-bottom-left-radius: 3px; }
.chat-cite {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 9px;
  font-family: monospace;
  font-size: 10.5px;
  color: #8fb0ff;
  border: 1px solid #2e3c63;
  background: #16203c;
  padding: 3px 8px;
  border-radius: 3px;
}
.chat-typing {
  justify-self: start;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 12px 13px;
  background: #1e1e1e;
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  /* drží místo v gridu i skryté → okno chatu neposkakuje */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease);
}
.chat-typing.show { opacity: 1; visibility: visible; }
.chat-typing i { width: 5px; height: 5px; border-radius: 50%; background: #777; animation: typeBlink 1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: 0.2s; }
.chat-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes typeBlink { 50% { opacity: 0.25; transform: translateY(-2px); } }
.mock-foot.dark { border-color: #2a2a2a; color: #888; }
.mock-foot.dark b { color: #fff; }
.mock-foot.dark .mf-ok { color: #2fd08a; }

/* churn radar (Velomo) */
.mock-table { padding: 14px 18px 4px; display: grid; gap: 8px; }
.mock-thead, .mock-acc {
  display: grid;
  grid-template-columns: 1.1fr 1fr 34px 64px minmax(150px, auto);
  gap: 14px;
  align-items: center;
}
.mock-thead {
  padding: 0 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-4);
}
.mock-acc { border: 1px dashed var(--line); background: #fbfbfb; padding: 9px 12px; }
.acc-name { font-weight: 500; color: var(--gray-1); font-size: 12px; }
.risk { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.risk i { display: block; height: 100%; width: 0; border-radius: 3px; transition: width 1.1s var(--ease) 0.35s; }
.mock.in .risk i { width: var(--w); }
.risk i.low { background: #2fb977; }
.risk i.mid { background: #f5a623; }
.risk i.high { background: #e14b4b; }
.risk-val { font-family: monospace; font-size: 11px; color: var(--gray-2); text-align: right; }
.spark { width: 64px; height: 22px; }
.spark polyline { fill: none; stroke-width: 1.5; stroke-dasharray: 130; stroke-dashoffset: 130; }
.mock.in .spark polyline { transition: stroke-dashoffset 1.4s var(--ease) 0.5s; stroke-dashoffset: 0; }
.acc-action { font-size: 11px; white-space: nowrap; color: var(--gray-2); }
.acc-action.auto { color: var(--blue); }
.acc-action.crit { color: #c43c3c; }

@media (max-width: 560px) {
  .bh-node span { display: none; }
  .bh-node { padding: 11px; }
}

@media (max-width: 700px) {
  .mock-row { grid-template-columns: 1fr auto; }
  .mr-id { display: none; }
  .mock-thead { display: none; }
  .mock-acc { grid-template-columns: 1fr 1fr; }
  .risk-val, .spark { display: none; }
  .acc-action { grid-column: 1 / -1; }
}

/* ===== PRÁVNÍ STRÁNKY ===== */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) 32px clamp(64px, 9vw, 110px);
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.1;
}
.legal-updated {
  color: var(--gray-3);
  font-size: 12.5px;
  margin-top: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal h2 { font-size: 17px; font-weight: 500; margin: 36px 0 10px; }
.legal p { color: var(--gray-2); font-size: 13.5px; margin-bottom: 10px; }
.legal ul { margin: 0 0 12px 18px; display: grid; gap: 6px; }
.legal li { color: var(--gray-2); font-size: 13.5px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--blue-dark); }
.legal strong { color: var(--gray-1); }
.legal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 40px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.legal-foot .copyright { margin: 0; }

/* souhlas u formuláře */
.form-consent { font-size: 11.5px; color: var(--gray-3); max-width: 380px; }
.form-consent a { color: var(--gray-1); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--ink); }

/* ===== SKUTEČNÉ PORTRÉTY ===== */
img.avatar { object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.4s var(--ease); }
.case:hover img.avatar { filter: none; }
img.quote-photo { object-fit: cover; transition: filter 0.5s var(--ease); }

/* ===== TYPOGRAFICKÉ DETAILY ===== */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ===== PŘÍSTUPNOST: focus ring + skip link ===== */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.skip {
  position: fixed;
  left: 12px;
  top: -52px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  padding: 9px 14px;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ===== FOOTER STATUS (živý čas) ===== */
.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--gray-3);
  font-variant-numeric: tabular-nums;
}
.foot-status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1f9e63;
  animation: livePulse 2.2s ease-in-out infinite;
}

/* ===== LENIS ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; padding: 0 20px; }
  .nav-side { display: none; }
  .brand { grid-column: 1; justify-self: start; }
  .nav-toggle { display: flex; grid-column: 2; }
  /* zjednodušená nav právních stránek nemá mobilní menu — odkazy zůstávají */
  .nav.nav-simple { grid-template-columns: 1fr auto 1fr; }
  .nav-simple .nav-side { display: flex; }
  .nav-simple .brand { grid-column: 2; justify-self: center; }
  .nav-simple .nav-left { justify-content: flex-start; padding-right: 0; }
  .nav-simple .nav-right { justify-content: flex-end; padding-left: 0; }

  .hero, .features, .ecosystem, .pricing, .cases, .faq, .cta, .explore { padding-left: 20px; padding-right: 20px; }
  .intersection h2, .intersection .section-sub { padding: 0 20px; }

  .feature-grid { grid-template-columns: 1fr; }
  .beamhub { gap: 20px; }
  .bh-col { gap: 16px; }
  .bh-node { padding: 9px 12px; font-size: 11.5px; gap: 8px; }
  .bh-hub { width: 64px; height: 64px; }
  .bh-hub svg { width: 20px; height: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 18px 28px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px dashed var(--line-strong); }
  .timeline { gap: 32px; }
  .tier-row { padding: 0 !important; justify-content: center !important; }
  /* na mobilu jednotný svislý náběh (vodorovný posun by přetékal) */
  .tier-row-right, .tier-row-left, .tier-row-center { transform: translateY(30px) scale(0.985); }
  .tier-stack.in .tier-row { transform: none; }
  .tier-annot { display: none; }
  .tier-card { grid-template-columns: 1fr; }
  .case + .case { border-left: 0; border-top: 1px dashed var(--line-strong); }
  .quote-photo { width: 100%; max-width: 320px; height: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .annot-mail { margin-top: 28px; }
  .annot-mail .annot-vline { display: none; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form { max-width: none; }
  .footer { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .footer-visual { display: none; }
  /* 3 sloupce s nowrap odkazy přetékaly přes okraj → na mobilu 2 sloupce */
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; justify-content: initial; }
  .annot-ai { left: 8%; }
  .annot-human { right: 6%; }
}


/* ---------- sticky CTA lišta ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 120%);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 22px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  z-index: 90;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-cta p { margin: 0; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-close {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--gray-2);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sticky-close:hover { background: rgba(0, 0, 0, 0.1); color: var(--ink); }
@media (max-width: 640px) { .sticky-cta p { display: none; } .sticky-cta { padding: 8px; } }

/* ===== DEMO AGENTA ===== */
.demo { padding: clamp(88px, 11vw, 148px) 32px; }
.demo-wrap { max-width: 640px; margin: 48px auto 0; }
.demo-wrap .mock { margin-top: 0; }

/* ===== SROVNÁNÍ CEST ===== */
.compare { padding: clamp(88px, 11vw, 148px) 32px; }
.compare-wrap { max-width: 940px; margin: 52px auto 0; overflow-x: auto; }
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.compare-table th, .compare-table td {
  border: 1px dashed var(--line-strong);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  font-weight: 500;
  font-size: 14px;
  background: var(--panel);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--gray-1);
  background: var(--panel);
  width: 24%;
}
.compare-table td { color: var(--gray-2); }
.compare-table .ct-hl { background: #fff; color: var(--ink); border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); }
.compare-table thead .ct-hl { border-top: 2px solid var(--blue); }
.compare-table tbody tr:last-child .ct-hl { border-bottom: 2px solid var(--blue); }

/* ===== TÝM ===== */
.team { padding: clamp(88px, 11vw, 148px) 32px; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
  max-width: 860px;
  margin: 52px auto 0;
}
.team-card {
  border: 1px dashed var(--line-strong);
  padding: 34px 30px;
  text-align: center;
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 26%;
  margin: 0 auto 18px;
  display: block;
  background: var(--panel);
}
.team-card .role { display: block; margin: 4px 0 14px; }
.team-bio { color: var(--gray-2); font-size: 14px; }
.team-side p { color: var(--gray-2); font-size: 14.5px; }
.team-side .cta-points { margin-top: 20px; }

/* ===== ROZCESTNÍK NA PODSTRÁNKY ===== */
.explore { padding: clamp(88px, 11vw, 148px) 32px; }
.explore-grid {
  max-width: 1000px;
  margin: 52px auto 0;
  display: grid;
  /* auto-fill se přizpůsobí šířce sám (4 → 2 → 1 sloupec) bez závislosti
     na pořadí media queries; min(100%, 220px) zamezí přetečení na úzkém mobilu */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 14px;
}
.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  padding: 20px 20px 18px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.explore-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(52, 85, 250, 0.08);
}
.explore-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: 3px 8px;
  margin-bottom: 14px;
}
.explore-card h3 { font-size: 16px; line-height: 1.25; }
.explore-card p { color: var(--gray-2); font-size: 13px; margin-top: 7px; flex: 1; }
.explore-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.explore-go i { font-style: normal; transition: transform 0.25s var(--ease); }
.explore-card:hover .explore-go { color: var(--blue); }
.explore-card:hover .explore-go i { transform: translateX(4px); }
.explore-card-cta {
  background: var(--ink);
  border-style: solid;
  border-color: var(--ink);
}
.explore-card-cta h3, .explore-card-cta .explore-go { color: #fff; }
.explore-card-cta p { color: rgba(255, 255, 255, 0.7); }
.explore-card-cta .explore-tag { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); }
.explore-card-cta:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28); }
.explore-card-cta:hover .explore-go { color: #fff; }

/* ===== LEAD MAGNET ===== */
.magnet { padding: clamp(48px, 6vw, 72px) 32px; }
.magnet-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(52, 85, 250, 0.05), transparent 42%),
    linear-gradient(120deg, #fff, var(--panel));
  padding: 32px 36px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.magnet-inner:hover { border-color: var(--blue); box-shadow: 0 18px 44px rgba(52, 85, 250, 0.08); }
.magnet-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(52, 85, 250, 0.3);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.magnet-tag::before { content: ""; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }
.magnet-text h4 { font-size: 18px; line-height: 1.25; }
.magnet-text p { color: var(--gray-2); font-size: 13.5px; margin-top: 8px; }
.magnet-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.magnet-form input {
  font-family: var(--sans);
  font-size: 13.5px;
  padding: 10px 14px;
  border: 1px dashed var(--line-strong);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.magnet-form input:focus { border: 1px solid var(--blue); box-shadow: 0 0 0 3px rgba(52, 85, 250, 0.08); }
.magnet-form input.invalid { border: 1px solid #e23c3c; background: #fff7f7; }
.magnet-form .form-status { grid-column: 1 / -1; margin: 0; }

@media (max-width: 900px) {
  .demo, .compare, .team, .magnet { padding-left: 20px; padding-right: 20px; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .magnet-inner { grid-template-columns: 1fr; gap: 22px; }
}

/* ===== PODSTRÁNKY SLUŽEB / BLOG ===== */
.svc { max-width: 780px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 32px clamp(64px, 9vw, 110px); }
.svc-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.4vw, 54px); line-height: 1.08; }
.svc-head .lead { color: var(--gray-1); font-size: 16px; line-height: 1.65; margin-top: 16px; max-width: 620px; }
.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.svc h2 { font-size: 22px; font-weight: 500; margin: clamp(40px, 6vw, 56px) 0 12px; }
.svc p { color: var(--gray-2); font-size: 14.5px; margin-bottom: 10px; }
.svc ul { margin: 10px 0 10px 18px; display: grid; gap: 7px; }
.svc li { color: var(--gray-2); font-size: 14.5px; }
.svc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px dashed var(--line-strong); background: var(--panel); margin-top: 26px; }
.svc-stat { padding: 22px 16px; text-align: center; }
.svc-stat + .svc-stat { border-left: 1px dashed var(--line-strong); }
.svc-stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3vw, 30px); line-height: 1.1; }
.svc-stat span { display: block; font-size: 12px; color: var(--gray-3); margin-top: 6px; }
.svc-cta { margin-top: clamp(48px, 7vw, 68px); padding: 34px; border: 1px dashed var(--line-strong); background: var(--panel); text-align: center; }
.svc-cta p { font-size: 14.5px; margin-bottom: 18px; }
.svc .faq-list { margin-top: 14px; }
@media (max-width: 700px) {
  .svc-stats { grid-template-columns: 1fr; }
  .svc-stat + .svc-stat { border-left: 0; border-top: 1px dashed var(--line-strong); }
}

/* blog výpis */
.blog-list { display: grid; gap: 18px; margin-top: clamp(36px, 5vw, 52px); }
.blog-item {
  display: grid;
  gap: 8px;
  border: 1px dashed var(--line-strong);
  padding: 26px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s;
}
.blog-item:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.06); background: #fbfbfb; }
.blog-item time { font-family: monospace; font-size: 11.5px; color: var(--gray-3); }
.blog-item h2 { font-size: 19px; font-weight: 500; margin: 0; }
.blog-item p { color: var(--gray-2); font-size: 14px; margin: 0; }
.blog-item .case-link { margin-top: 6px; }

/* ===== OMEZENÍ POHYBU (systémová volba) ===== */
/* Poznámka: animace a efekty běží na přání na všech zařízeních bez ohledu
   na systémové „omezit pohyb". Dřívější blok, který je zde při reduce-motion
   vypínal, byl proto odstraněn. */

/* ===== David Sak — portfolio doplňky ===== */
.hero-eyebrow {
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 16px;
}
.hero-portrait { max-width: 460px; padding: 26px; }
.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.5s var(--ease);
}
.hero-portrait:hover img { filter: none; }

/* portrét v kartě „O mně / Profil" (nahrazuje canvas avatar) */
img.team-avatar {
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.45s var(--ease);
}
.team-card:hover img.team-avatar { filter: none; }

/* odkazy místo lead-magnet formuláře */
.magnet-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.magnet-links .btn { width: auto; }

/* přímý kontakt pod kontaktním formulářem */
.cta-direct { margin-top: 18px; font-size: 14px; color: var(--gray-2); }
.cta-direct a { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s; white-space: nowrap; }
.cta-direct a:hover { border-color: var(--blue); }

/* ===== David Sak — animace, terminál & reálné projekty ===== */

/* kurzorový spotlight */
.spotlight {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, -200px) var(--my, -200px), rgba(52, 85, 250, 0.07), transparent 62%);
  opacity: 0; transition: opacity 0.5s ease;
}
.spotlight.on { opacity: 1; }


/* hero „právě řeším" + rotující slovo */
.hero-now { margin-top: 20px; font-size: 13px; color: var(--gray-3); display: inline-flex; align-items: center; gap: 8px; }
.now-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: nowPulse 2s infinite; }
@keyframes nowPulse { 0% { box-shadow: 0 0 0 0 rgba(52,85,250,.45); } 70% { box-shadow: 0 0 0 8px rgba(52,85,250,0); } 100% { box-shadow: 0 0 0 0 rgba(52,85,250,0); } }
.rotator { color: var(--ink); font-weight: 500; border-bottom: 1.5px solid var(--blue); padding-bottom: 1px; }
.rotator.swap { animation: rotSwap 0.4s var(--ease); }
@keyframes rotSwap { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: translateY(0); } }

/* terminál se psaným kódem */
.codeblock { padding: clamp(56px, 7vw, 88px) 32px; }
.term { max-width: 760px; margin: 42px auto 0; border-radius: 10px; overflow: hidden; background: #0d0f14; border: 1px solid #1e2230; box-shadow: 0 30px 70px rgba(0,0,0,.28); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #14171f; border-bottom: 1px solid #1e2230; }
.term-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3c; }
.term-bar > i:nth-child(1) { background: #ff5f57; } .term-bar > i:nth-child(2) { background: #febc2e; } .term-bar > i:nth-child(3) { background: #28c840; }
.term-title { margin-left: 8px; color: #8b93a7; font-size: 12px; }
.term-run { margin-left: auto; color: #5b647a; font-size: 11px; letter-spacing: .05em; }
.term-body { margin: 0; padding: 18px 20px; font-size: 13px; line-height: 1.75; color: #cdd3e1; white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.term-cursor { display: inline-block; color: #7aa2f7; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.term-foot { display: flex; justify-content: space-between; padding: 9px 16px; background: #14171f; border-top: 1px solid #1e2230; font-size: 11px; color: #5b647a; }
.term-ok { color: #4ec26b; }
.tk-kw { color: #7aa2f7; } .tk-str { color: #9ece6a; } .tk-com { color: #5c6370; font-style: italic; } .tk-num { color: #d19a66; }

/* pás nadpisu reálných projektů */
.repos-band { text-align: center; margin: 56px 0 26px; }

/* mřížka repo karet */
.repo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.repo-card { position: relative; border: 1px dashed var(--line-strong); background: linear-gradient(180deg, #fff, var(--panel)); padding: 0; display: flex; flex-direction: column; overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .15s var(--ease); will-change: transform; }
.repo-preview { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); border-bottom: 1px dashed var(--line-strong); position: relative; }
.repo-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .55s var(--ease); }
.repo-card:hover .repo-preview img { transform: scale(1.06); }
.repo-preview.noimg { display: none; }
.repo-preview.ph { display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--gray-4); text-decoration: none; }
.repo-preview.ph-lock { background: linear-gradient(135deg, #fbf4e6, #f3f4f7); color: #b26a00; }
.repo-preview.ph-wip { background: repeating-linear-gradient(45deg, var(--panel), var(--panel) 12px, #f1f1f1 12px, #f1f1f1 24px); letter-spacing: 3px; }
.repo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.repo-card:hover { border-color: var(--blue); box-shadow: 0 18px 42px rgba(52,85,250,.10); }
.repo-top { display: flex; align-items: center; justify-content: space-between; }
.repo-gh { color: var(--gray-3); }
.repo-badge { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(52,85,250,.3); padding: 3px 8px; border-radius: 20px; }
.repo-badge.wip { color: var(--gray-2); border-color: var(--line-strong); }
.repo-badge.lock { color: #b26a00; border-color: rgba(178,106,0,.35); background: rgba(178,106,0,.06); }
.repo-card h3 { font-size: 16px; }
.repo-body > p { color: var(--gray-2); font-size: 13px; flex: 1; margin: 0; }
.repos-more { text-align: center; margin-top: 28px; }
.repo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.repo-tags span { font-size: 10.5px; color: var(--gray-3); border: 1px solid var(--line); padding: 2px 7px; border-radius: 4px; }
.repo-links { display: flex; gap: 10px; align-items: center; margin-top: 2px; }
.repo-link { font-size: 12.5px; font-weight: 500; color: var(--ink); border: 0; border-bottom: 1px solid var(--blue); padding: 0 0 1px; cursor: pointer; background: none; display: inline-flex; align-items: center; gap: 3px; font-family: var(--sans); transition: color .2s, border-color .2s; }
.repo-link i { font-style: normal; }
.repo-link:hover { color: var(--blue); }
.repo-link.ghost { color: var(--gray-3); border-bottom-color: var(--line-strong); }
.repo-link.ghost:hover { color: var(--ink); }
.gate-btn { color: #b26a00; border-bottom-color: #b26a00; }
.gate-box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.gate-input { font-family: var(--sans); font-size: 13px; padding: 7px 10px; border: 1px solid var(--line-strong); background: #fff; outline: none; flex: 1; min-width: 110px; }
.gate-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52,85,250,.08); }
.gate-submit { font-family: var(--sans); font-size: 12.5px; font-weight: 500; padding: 7px 15px; background: var(--ink); color: #fff; border: 0; border-radius: 20px; cursor: pointer; transition: background .2s; }
.gate-submit:hover { background: #1a1a1a; }
.gate-msg { flex-basis: 100%; font-size: 12px; margin: 2px 0 0; }
.gate-msg.err { color: #c0392b; } .gate-msg.ok { color: #2e9e4f; }

@media (max-width: 520px) { .repo-grid { grid-template-columns: 1fr; } }

.repo-soon { font-size: 12.5px; color: var(--gray-4); font-style: italic; }

/* logo (nahrazuje DS monogram) */
.brand-logo { display: block; object-fit: contain; }
.brand .brand-logo { width: 26px; height: 26px; }
.brand-foot .brand-logo { width: 20px; height: 20px; }

.eyebrow-link { color: var(--ink); border-bottom: 1px solid var(--blue); transition: color .2s; }
.eyebrow-link:hover { color: var(--blue); }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), #7aa2f7); z-index: 1000; transition: width .12s linear; pointer-events: none; }
/* ikony u sociálních tlačítek */
.btn .social-ico { width: 15px; height: 15px; margin-right: 7px; flex: none; }
/* ceník: pulz „nejčastější volba" + tabulární čísla */
.tier-badge { animation: badgePulse 2.6s ease-in-out infinite; }
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,85,250,0); } 50% { box-shadow: 0 0 0 6px rgba(52,85,250,.12); } }
.cprice { font-variant-numeric: tabular-nums; }

/* ===== CENÍK — scroll-driven serpentina ===== */
.tier-link-track { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 8; stroke-linecap: round; opacity: 0.6; }
.tier-link-path { opacity: 0.9; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(52, 85, 250, 0.45)); }
.tier-pulse { fill: #fff; stroke: var(--blue); stroke-width: 3; opacity: 0; filter: drop-shadow(0 0 9px rgba(52, 85, 250, 0.8)); transition: opacity 0.25s ease; }
.tier-link-dot { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transform-box: fill-box; transform-origin: center; transform: scale(0.3); }
.tier-link-dot.on { opacity: 0.95; transform: scale(1); }

/* stavy řízené scrollem (js-scroll) — každá karta nastupuje, až k ní dorazí čára */
.tier-stack.js-scroll .tier-row { opacity: 0.18; filter: saturate(0.2); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease), filter 0.65s var(--ease); }
.tier-stack.js-scroll .tier-row-right { transform: translateX(46px) scale(0.98); }
.tier-stack.js-scroll .tier-row-left { transform: translateX(-46px) scale(0.98); }
.tier-stack.js-scroll .tier-row-center { transform: translateY(34px) scale(0.98); }
.tier-stack.js-scroll .tier-row.connected { opacity: 1; transform: none; filter: none; transition-delay: 0s; }
.tier-stack.js-scroll .tier-row .annot-hline { transform: scaleX(0); transition-delay: 0s; }
.tier-stack.js-scroll .tier-row.connected .annot-hline { transform: scaleX(1); transition-delay: 0.15s; }
.tier-stack.js-scroll .tier-row .tier-annot .chip-black { opacity: 0; transition-delay: 0s; }
.tier-stack.js-scroll .tier-row.connected .tier-annot .chip-black { opacity: 1; transition-delay: 0.3s; }

/* karta se po připojení "rozsvítí" */
.tier-card { transition: border-color 0.55s var(--ease), box-shadow 0.55s var(--ease), background 0.55s var(--ease); }
.tier-row.connected .tier-card { border-color: rgba(52, 85, 250, 0.5); box-shadow: 0 20px 48px rgba(52, 85, 250, 0.09); }

/* položky seznamu: fajfka + postupné odškrtání po připojení */
.tier-list li { position: relative; padding-left: 36px; }
.tier-list li::before { content: "✓"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 700; font-size: 12px; }
.tier-stack.js-scroll .tier-list li { opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.tier-stack.js-scroll .tier-list li::before { opacity: 0; transform: translateY(-50%) scale(0.3); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.tier-stack.js-scroll .tier-row.connected .tier-list li { opacity: 1; transform: none; }
.tier-stack.js-scroll .tier-row.connected .tier-list li::before { opacity: 1; transform: translateY(-50%) scale(1); }
.tier-stack.js-scroll .tier-row.connected .tier-list li:nth-child(1) { transition-delay: 0.2s; }
.tier-stack.js-scroll .tier-row.connected .tier-list li:nth-child(2) { transition-delay: 0.32s; }
.tier-stack.js-scroll .tier-row.connected .tier-list li:nth-child(3) { transition-delay: 0.44s; }
.tier-stack.js-scroll .tier-row.connected .tier-list li:nth-child(4) { transition-delay: 0.56s; }
.tier-stack.js-scroll .tier-row.connected .tier-list li::before { transition-delay: inherit; }

/* ===== TERMINÁL — editor upgrade ===== */
.term { position: relative; }
.term::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -26px; height: 40px; background: radial-gradient(50% 100% at 50% 0%, rgba(52, 85, 250, 0.22), transparent 75%); filter: blur(10px); pointer-events: none; }
.term-tabs { display: flex; gap: 2px; margin-left: 10px; }
.term-tab { font-family: inherit; font-size: 12px; color: #7d8598; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 6px 10px 7px; cursor: pointer; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.term-tab:hover { color: #cdd3e1; }
.term-tab.on { color: #e6e9f2; border-bottom-color: var(--blue); background: rgba(52, 85, 250, 0.08); }
.term-run { margin-left: auto; font-family: inherit; color: #5b647a; font-size: 11px; letter-spacing: 0.05em; background: transparent; border: 1px solid #262b3a; border-radius: 6px; padding: 4px 10px; cursor: pointer; transition: color 0.25s, border-color 0.25s, box-shadow 0.25s; }
.term-run:hover { color: #4ec26b; border-color: #2f5a3d; }
.term-run.busy { color: #4ec26b; border-color: #2f5a3d; box-shadow: 0 0 12px rgba(78, 194, 107, 0.25); }
.term-main { display: flex; height: 314px; overflow: hidden; }
.term-gutter { margin: 0; padding: 18px 0 18px 16px; min-width: 34px; text-align: right; font-size: 13px; line-height: 1.75; color: #3b4358; user-select: none; }
.term-main .term-body { flex: 1; }
.term-out { height: 128px; overflow: hidden; opacity: 0; transition: opacity 0.45s var(--ease); border-top: 1px solid #1e2230; background: #0a0c10; }
.term-out.on { opacity: 1; }
.term-out pre { margin: 0; padding: 14px 20px; font-size: 12.5px; line-height: 1.8; }
.term-out .ln-cmd { color: #8b93a7; }
.term-out .ln-step { color: #cdd3e1; }
.term-out .ln-ok { color: #4ec26b; }
.term-meta { color: #5b647a; }

/* ===== beamhub upgrade: komety, pingy, tooltipy, orbit ===== */
.bh-node, .bh-hub { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s, opacity 0.3s var(--ease); }
/* hover na node: jeho trasa se rozsvítí, zbytek ztlumí */
.bh-path { transition: stroke 0.3s, stroke-width 0.3s, opacity 0.3s var(--ease); }
.bh-path.hot { stroke: var(--blue); stroke-width: 2; }
.beamhub.focus .bh-path:not(.hot) { opacity: 0.22; }
.beamhub.focus .bh-col .bh-node:not(.hot) { opacity: 0.35; }
/* boot: hub se „zapne" po nakreslení drah */
.bh-hub.boot { animation: hubGlow 3.6s ease-in-out infinite, bhBoot 0.7s var(--ease); }
@keyframes bhBoot { 0% { transform: scale(0.82); opacity: 0.4; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
/* počítadlo tikne s doletem paketu */
.bh-count b { display: inline-block; }
.bh-count b.tick { animation: bhTick 0.35s var(--ease); }
@keyframes bhTick { 40% { transform: translateY(-3px) scale(1.14); color: var(--blue); } }
.bh-node.ping { animation: bhPing 0.6s var(--ease); }
.bh-hub.ping { animation: bhPingHub 0.6s var(--ease); }
@keyframes bhPing { 0% { transform: none; } 35% { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 26px rgba(52, 85, 250, 0.22); } 100% { transform: none; } }
@keyframes bhPingHub { 0% { transform: none; } 35% { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(52, 85, 250, 0.10), 0 14px 34px rgba(52, 85, 250, 0.20); } 100% { transform: none; } }

/* tooltip nad nodem */
.bh-node[data-tip]::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%) translateY(4px);
  background: var(--ink); color: #fff; font-size: 11px; line-height: 1.35; white-space: nowrap;
  padding: 6px 10px; border-radius: 6px; opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); z-index: 5;
}
.bh-node[data-tip]::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--ink); opacity: 0; transition: opacity 0.25s var(--ease); z-index: 5;
}
.bh-node[data-tip]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.bh-node[data-tip]:hover::before { opacity: 1; }

/* orbitující tečky kolem hubu */
.bh-hub { position: relative; }
.bh-orbit { position: absolute; inset: -16px; border-radius: 50%; animation: bhOrbit 9s linear infinite; pointer-events: none; }
.bh-orbit b { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px rgba(52, 85, 250, 0.7); }
.bh-orbit b:nth-child(1) { top: -2px; left: 50%; }
.bh-orbit b:nth-child(2) { bottom: -2px; left: 50%; opacity: 0.5; }
@keyframes bhOrbit { to { transform: rotate(360deg); } }

/* stagger nástup nodů */
.beamhub.reveal .bh-left .bh-node { transform: translateX(-26px); }
.beamhub.reveal .bh-right .bh-node { transform: translateX(26px); }
.beamhub.reveal .bh-node { opacity: 0; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.beamhub.reveal.in .bh-node { opacity: 1; transform: none; }
.beamhub.reveal.in .bh-col .bh-node:nth-child(1) { transition-delay: 0.05s; }
.beamhub.reveal.in .bh-col .bh-node:nth-child(2) { transition-delay: 0.18s; }
.beamhub.reveal.in .bh-col .bh-node:nth-child(3) { transition-delay: 0.31s; }


/* ===== chat demo: streaming, tool-chipy, avatar, reset ===== */
.mock[data-mock="chat"] { transition: opacity 0.4s var(--ease); }
.mock.chat-reset .mock-chat { opacity: 0; transition: opacity 0.35s var(--ease); }
.mock-chat { transition: opacity 0.35s var(--ease); overflow-y: auto; scrollbar-width: none; }
.mock-chat::-webkit-scrollbar { display: none; }
.chat-msg.streaming::after { content: "▍"; color: #7aa2f7; animation: caret 0.9s steps(1) infinite; margin-left: 2px; }
.chat-msg.agent { position: relative; margin-left: 30px; }
.chat-msg.agent::before {
  content: ""; position: absolute; left: -30px; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: #fff url("/assets/logo.png") center / 62% no-repeat; box-shadow: 0 0 0 1px #262b3a;
}
.chat-tool {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-left: 30px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; color: #8b93a7;
  background: rgba(122, 162, 247, 0.08); border: 1px solid #262b3a; border-radius: 6px; padding: 5px 10px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.3s;
}
.chat-tool.show { opacity: 1; transform: none; }
.chat-tool b { font-weight: 600; color: #febc2e; }
.chat-tool.done { border-color: #2f5a3d; }
.chat-tool.done b { color: #4ec26b; }

/* ===== globální doladění (E) ===== */
/* kicker: linky se vykreslí, tečka pípne */
.kicker-row.reveal .kicker::before, .kicker-row.reveal .kicker::after { transform: scaleX(0); transition: transform 0.7s var(--ease) 0.15s; }
.kicker-row.reveal .kicker::before { transform-origin: right; }
.kicker-row.reveal .kicker::after { transform-origin: left; }
.kicker-row.reveal .kicker b { transform: scale(0); transition: transform 0.45s var(--ease); }
.kicker-row.reveal.in .kicker::before, .kicker-row.reveal.in .kicker::after { transform: scaleX(1); }
.kicker-row.reveal.in .kicker b { transform: scale(1); animation: nowPulse 2.4s 0.6s infinite; }

/* marquee: zpomalí na hover, položky se rozsvítí */
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { transition: color 0.25s, opacity 0.25s; }
.marquee:hover .logo-item { opacity: 0.45; }
.marquee .logo-item:hover { opacity: 1; color: var(--ink); }

/* FAQ: plus se otočí na křížek */
.faq-item .plus { transition: transform 0.35s var(--ease), color 0.25s; }
.faq-item[open] .plus { transform: rotate(45deg); color: var(--blue); }
.faq-item summary { transition: color 0.2s; }
.faq-item[open] summary { color: var(--ink); }

/* srovnávací tabulka: zvýraznění řádku */
.compare-table tbody tr { transition: background 0.25s; }
.compare-table tbody tr:hover { background: rgba(52, 85, 250, 0.035); }

/* patička: podtržení odkazů dojede zleva */
.footer-col a { position: relative; transition: color 0.22s; }
.footer-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.footer-col a:hover { color: var(--blue); }
.footer-col a:hover::after { transform: scaleX(1); }

/* jemné barevné mlhy v rozích sekcí (ať web není sterilně bílý) */
.features, .cta, .pricing { position: relative; }
.features::before, .cta::before, .pricing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(42% 34% at 4% 0%, rgba(52, 85, 250, 0.05), transparent 70%),
    radial-gradient(38% 30% at 98% 100%, rgba(122, 162, 247, 0.05), transparent 70%);
}
.features > *, .cta > *, .pricing > * { position: relative; z-index: 1; }

/* stat čísla: jemný gradient */
.stat-num { background: linear-gradient(135deg, var(--ink) 55%, var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== SROVNÁNÍ v2 — živá tabulka ===== */
.compare-v2 { border-collapse: separate; border-spacing: 0; }
.compare-v2 th, .compare-v2 td { border: 0; border-bottom: 1px dashed var(--line-strong); }
.compare-v2 thead th { background: transparent; font-size: 13.5px; color: var(--gray-2); padding-top: 20px; }
.compare-v2 tbody th { background: transparent; }
.compare-v2 tbody tr:last-child th, .compare-v2 tbody tr:last-child td { border-bottom: 0; }

/* sloupec „Se mnou" = vyvýšená karta uvnitř tabulky */
.compare-v2 .ct-hl { position: relative; background: linear-gradient(180deg, rgba(52, 85, 250, 0.055), rgba(52, 85, 250, 0.02)); border-left: 1.5px solid rgba(52, 85, 250, 0.45); border-right: 1.5px solid rgba(52, 85, 250, 0.45); font-weight: 500; }
.compare-v2 thead .ct-hl { border-top: 1.5px solid rgba(52, 85, 250, 0.45); border-radius: 10px 10px 0 0; padding-top: 26px; }
.compare-v2 tbody tr:last-child .ct-hl { border-bottom: 1.5px solid rgba(52, 85, 250, 0.45); border-radius: 0 0 10px 10px; }
.ct-me { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.ct-me img { display: block; }
.ct-crown { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); animation: badgePulse 2.6s ease-in-out infinite; }

/* shimmer, který stéká sloupcem dolů */
.compare-v2 .ct-hl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(52, 85, 250, 0.10) 50%, transparent 70%); background-size: 220% 100%; background-position: 130% 0; animation: ctSweep 4.2s var(--ease) infinite; pointer-events: none; }
.compare-v2 thead .ct-hl::after { animation-delay: 0s; } 
.compare-v2 tbody tr:nth-child(1) .ct-hl::after { animation-delay: 0.10s; }
.compare-v2 tbody tr:nth-child(2) .ct-hl::after { animation-delay: 0.20s; }
.compare-v2 tbody tr:nth-child(3) .ct-hl::after { animation-delay: 0.30s; }
.compare-v2 tbody tr:nth-child(4) .ct-hl::after { animation-delay: 0.40s; }
.compare-v2 tbody tr:nth-child(5) .ct-hl::after { animation-delay: 0.50s; }
@keyframes ctSweep { 0% { background-position: 130% 0; } 45%, 100% { background-position: -90% 0; } }

/* ikony hodnocení */
.ci { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; margin-right: 9px; vertical-align: -3.5px; font-size: 10.5px; font-weight: 700; font-style: normal; flex: none; }
.ci.ok { background: rgba(52, 85, 250, 0.12); color: var(--blue); }
.ci.ok::before { content: "✓"; }
.ci.ok.muted { background: rgba(0, 0, 0, 0.06); color: var(--gray-2); }
.ci.mid { background: rgba(0, 0, 0, 0.05); color: var(--gray-3); }
.ci.mid::before { content: "–"; }
.ci.no { background: rgba(0, 0, 0, 0.05); color: var(--gray-4); }
.ci.no::before { content: "✕"; }

/* nástup: hlavička shora, řádky zleva s odstupem, ikony pípnou */
.compare-wrap.reveal thead tr { opacity: 0; transform: translateY(-10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.compare-wrap.reveal tbody tr { opacity: 0; transform: translateX(-18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.compare-wrap.reveal .ci { transform: scale(0); transition: transform 0.4s var(--ease); }
.compare-wrap.reveal.in thead tr { opacity: 1; transform: none; }
.compare-wrap.reveal.in tbody tr { opacity: 1; transform: none; }
.compare-wrap.reveal.in tbody tr:nth-child(1) { transition-delay: 0.12s; }
.compare-wrap.reveal.in tbody tr:nth-child(2) { transition-delay: 0.24s; }
.compare-wrap.reveal.in tbody tr:nth-child(3) { transition-delay: 0.36s; }
.compare-wrap.reveal.in tbody tr:nth-child(4) { transition-delay: 0.48s; }
.compare-wrap.reveal.in tbody tr:nth-child(5) { transition-delay: 0.60s; }
.compare-wrap.reveal.in .ci { transform: scale(1); }
.compare-wrap.reveal.in tbody tr:nth-child(1) .ci { transition-delay: 0.42s; }
.compare-wrap.reveal.in tbody tr:nth-child(2) .ci { transition-delay: 0.54s; }
.compare-wrap.reveal.in tbody tr:nth-child(3) .ci { transition-delay: 0.66s; }
.compare-wrap.reveal.in tbody tr:nth-child(4) .ci { transition-delay: 0.78s; }
.compare-wrap.reveal.in tbody tr:nth-child(5) .ci { transition-delay: 0.90s; }

/* hover: řádek se nadzvedne, popisek zmodrá */
.compare-v2 tbody tr { position: relative; }
.compare-v2 tbody tr:hover th { color: var(--ink); }
.compare-v2 tbody tr:hover td.ct-hl { background: linear-gradient(180deg, rgba(52, 85, 250, 0.10), rgba(52, 85, 250, 0.05)); }

/* verdikt pod tabulkou */
.compare-note { max-width: 660px; margin: 22px auto 0; text-align: center; font-size: 13px; color: var(--gray-2); border: 1px dashed var(--line-strong); background: var(--panel); padding: 14px 20px; }
.compare-note::before { content: "⚖ "; }
/* prostor pro korunku */
.compare-wrap { padding-top: 14px; overflow: visible; }
@media (max-width: 720px) { .compare-wrap { overflow-x: auto; padding-top: 16px; } }

/* ===== GLASSY BUTTONS (podle Framer "Glassy button") =====
   kovový rám = gradient v border-box vrstvě, skleněné tělo = gradient
   v padding-box vrstvě; vrstvené měkké stíny; klik = inset promáčknutí */
.btn, .gate-submit {
  border: 1.5px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 0.5px rgba(0, 0, 0, 0.03),
    0 2.4px 1.2px rgba(0, 0, 0, 0.03),
    0 4.4px 2.2px rgba(0, 0, 0, 0.04),
    0 8px 4.2px rgba(0, 0, 0, 0.05),
    0 14px 9px rgba(0, 0, 0, 0.06);
}
.btn:active, .gate-submit:active {
  box-shadow:
    inset 3px 3px 3px rgba(0, 0, 0, 0.16),
    inset 0 0 1px 2px rgba(0, 0, 0, 0.08),
    inset 1px 1px 0 rgba(0, 0, 0, 0.10);
}

/* světlé sklo (btn-gray) — nejblíž originálu */
.btn-gray {
  color: var(--ink);
  background-image:
    linear-gradient(150deg, #ececec 0%, #f8f8f8 50%, #e2e2e2 100%),
    linear-gradient(180deg, #ffffff 0%, #cfcfcf 9%, #a8a8a8 32%, #8a8a8a 73%, #f4f4f4 100%);
}
.btn-gray:hover {
  background-image:
    linear-gradient(150deg, #f2f2f2 0%, #ffffff 50%, #e9e9e9 100%),
    linear-gradient(180deg, #ffffff 0%, #c4c4c4 9%, #9a9a9a 32%, #7c7c7c 73%, #ffffff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 2px 1px rgba(0, 0, 0, 0.03),
    0 5px 3px rgba(0, 0, 0, 0.04),
    0 10px 6px rgba(0, 0, 0, 0.05),
    0 18px 12px rgba(0, 0, 0, 0.07);
}

/* tmavé sklo (btn-black) */
.btn-black, .gate-submit {
  color: #fff;
  background-image:
    linear-gradient(150deg, #2e2e2e 0%, #454545 50%, #101010 100%),
    linear-gradient(180deg, #8a8a8a 0%, #3a3a3a 9%, #161616 32%, #000000 73%, #6f6f6f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 0.5px rgba(0, 0, 0, 0.05),
    0 2.4px 1.2px rgba(0, 0, 0, 0.06),
    0 4.4px 2.2px rgba(0, 0, 0, 0.08),
    0 8px 4.2px rgba(0, 0, 0, 0.10),
    0 14px 9px rgba(0, 0, 0, 0.14);
}
.btn-black:hover, .gate-submit:hover {
  background-image:
    linear-gradient(150deg, #3a3a3a 0%, #545454 50%, #191919 100%),
    linear-gradient(180deg, #9c9c9c 0%, #464646 9%, #1c1c1c 32%, #000000 73%, #828282 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 2px 1px rgba(0, 0, 0, 0.06),
    0 5px 3px rgba(0, 0, 0, 0.08),
    0 10px 6px rgba(0, 0, 0, 0.12),
    0 20px 14px rgba(0, 0, 0, 0.20);
}

/* modré sklo (btn-blue) */
.btn-blue {
  color: #fff;
  background-image:
    linear-gradient(150deg, #4a66fb 0%, #7089ff 50%, #2942e2 100%),
    linear-gradient(180deg, #c3cdff 0%, #5d76ff 9%, #2743e0 32%, #16299c 73%, #b3c0ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    0 1px 0.5px rgba(22, 41, 156, 0.06),
    0 2.4px 1.2px rgba(22, 41, 156, 0.08),
    0 4.4px 2.2px rgba(22, 41, 156, 0.10),
    0 8px 4.2px rgba(22, 41, 156, 0.13),
    0 14px 9px rgba(22, 41, 156, 0.18);
}
.btn-blue:hover {
  background-image:
    linear-gradient(150deg, #5a74ff 0%, #8298ff 50%, #3350f0 100%),
    linear-gradient(180deg, #d3dbff 0%, #6f86ff 9%, #3350f0 32%, #1b2fae 73%, #c7d1ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    0 2px 1px rgba(22, 41, 156, 0.08),
    0 5px 3px rgba(22, 41, 156, 0.10),
    0 10px 6px rgba(22, 41, 156, 0.14),
    0 20px 14px rgba(22, 41, 156, 0.24);
}
.gate-submit { border-radius: 22px; }

/* ===== PROCES — nadopovaná timeline (stejný layout jako dřív) ===== */
.tl-card { position: relative; overflow: hidden; padding-right: 186px; }
.tl-scene { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 150px; height: 90px; opacity: 0.9; pointer-events: none; }
/* neaktivní kroky ztlumené, aktivní se rozsvítí (stejný jazyk jako ceník) */
.timeline .tl-step { opacity: 0.45; filter: saturate(0.4); transition: opacity 0.5s var(--ease), filter 0.5s var(--ease); }
.timeline .tl-step.active { opacity: 1; filter: none; }
.tl-step.active .tl-card { border-color: rgba(52, 85, 250, 0.5); border-style: solid; box-shadow: 0 16px 40px rgba(52, 85, 250, 0.08); }
.tl-step.active .chip-gray { background: var(--ink); color: #fff; }
.chip-gray { transition: background 0.4s var(--ease), color 0.4s var(--ease); }
/* aktivace: obsah karty se zvedne s jemným staggerem */
.tl-card h3, .tl-card p { transition: transform 0.45s var(--ease); }
.timeline .tl-step:not(.active) .tl-card h3,
.timeline .tl-step:not(.active) .tl-card p { transform: translateY(6px); }
.tl-step.active .tl-card h3 { transition-delay: 0.06s; }
.tl-step.active .tl-card p { transition-delay: 0.13s; }
/* příjezd karty (scrub): transform řídí GSAP — CSS transition by se s ním prala */
.tl-card.arriving { transition: box-shadow 0.3s var(--ease); }
/* konektor — kolej od tečky ke kartě (stejný jazyk jako annot-hline v ceníku) */
.tl-connector {
  position: absolute;
  left: 9px;
  top: 27px;
  width: 27px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(52, 85, 250, 0.35));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease) 0.12s;
  pointer-events: none;
}
.tl-connector::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.2s 0.5s;
}
.tl-step.active .tl-connector { transform: scaleX(1); }
.tl-step.active .tl-connector::after { opacity: 1; }
/* flash při doručení „energie" packetem */
.tl-card.flash { animation: tlFlash 0.8s var(--ease); }
@keyframes tlFlash {
  0% { box-shadow: 0 0 0 0 rgba(52, 85, 250, 0.4); }
  100% { box-shadow: 0 16px 40px rgba(52, 85, 250, 0.08); }
}
/* indikátor kroku v hlavičce sekce */
.tl-stepcount { margin-top: 20px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--gray-3); }
.tl-stepcount b { font-size: 17px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
/* dokovací ripple na tečce */
.tl-dot.ripple::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--blue); animation: tlRipple 0.7s var(--ease) forwards; }
@keyframes tlRipple { from { transform: scale(0.5); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
/* světelný paket na dráze */
.tl-packet { position: absolute; left: 4px; top: 0; width: 11px; height: 11px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 10px rgba(52, 85, 250, 0.8); z-index: 2; opacity: 0; pointer-events: none; }
.tl-progress { background: linear-gradient(180deg, var(--blue), #7aa2f7); width: 2px; box-shadow: 0 0 6px rgba(52, 85, 250, 0.4); }
@media (max-width: 640px) {
  .tl-card { padding-right: 24px; }
  .tl-scene { right: 8px; opacity: 0.16; }
}

/* ===== chat demo ve světlém tématu ===== */
.chat-msg.agent { background: #f1f2f6; color: var(--gray-1); border: 1px solid var(--line); }
.chat-typing { background: #f1f2f6; border: 1px solid var(--line); }
.chat-typing i { background: var(--gray-4); }
.chat-cite { background: #eef2ff; border-color: #c9d6ff; color: #2743e0; }
.chat-msg.agent::before { box-shadow: 0 0 0 1px var(--line-strong); }
.chat-msg.streaming::after { color: var(--blue); }
.chat-tool { background: #f4f6ff; border: 1px solid #d9e0ff; color: var(--gray-2); }
.chat-tool b { color: #b26a00; }
.chat-tool.done { border-color: #bfe3cc; }
.chat-tool.done b { color: #1f9e63; }

/* ===== KONTAKT — restrukturováno ===== */
.cta .cta-grid { margin-top: 44px; }
.cta-form-head { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.contact-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 40px auto 0; }
.cq-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 16px 18px; text-align: center; cursor: pointer;
  border: 1px dashed var(--line-strong); background: linear-gradient(180deg, #fff, var(--panel));
  font-family: var(--sans); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
}
.cq-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 16px 38px rgba(52, 85, 250, 0.10); }
.cq-ico {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(52, 85, 250, 0.08); border: 1px solid rgba(52, 85, 250, 0.25); font-size: 19px; margin-bottom: 6px;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.cq-card:hover .cq-ico { transform: translateY(-2px) rotate(-8deg) scale(1.08); background: rgba(52, 85, 250, 0.14); }
.cq-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-3); }
.cq-value { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cq-hint { font-size: 11.5px; color: var(--gray-4); }
.cq-card.copied { border-color: #1f9e63; }
.cq-card.copied .cq-ico { background: rgba(31, 158, 99, 0.12); border-color: rgba(31, 158, 99, 0.4); }
/* stagger nástup karet */
.contact-quick.reveal .cq-card { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease); }
.contact-quick.reveal.in .cq-card { opacity: 1; transform: none; }
.contact-quick.reveal.in .cq-card:nth-child(2) { transition-delay: 0.12s; }
.contact-quick.reveal.in .cq-card:nth-child(3) { transition-delay: 0.24s; }

.contact-social { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.cs-btn {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px dashed var(--line-strong); color: var(--gray-2); background: #fff;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s var(--ease);
}
.cs-btn svg { width: 16px; height: 16px; }
.cs-btn:hover { transform: translateY(-3px) scale(1.06); background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.contact-social.reveal .cs-btn { opacity: 0; transform: scale(0.5); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s var(--ease); }
.contact-social.reveal.in .cs-btn { opacity: 1; transform: none; }
.contact-social.reveal.in .cs-btn:nth-child(2) { transition-delay: 0.08s; }
.contact-social.reveal.in .cs-btn:nth-child(3) { transition-delay: 0.16s; }
.contact-social.reveal.in .cs-btn:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 720px) { .contact-quick { grid-template-columns: 1fr; max-width: 420px; } }

/* ===== NEUMORPHISM — terminál (světlé téma) ===== */
.term {
  background: linear-gradient(145deg, #f7f8fb, #eceef4);
  border: 1px solid #ffffff;
  border-radius: 18px;
  box-shadow:
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    12px 14px 30px rgba(166, 175, 195, 0.48),
    0 34px 70px rgba(166, 175, 195, 0.28);
  overflow: hidden;
}
.term::after { background: radial-gradient(50% 100% at 50% 0%, rgba(52, 85, 250, 0.14), transparent 75%); }
.term-bar { background: transparent; border-bottom: 1px solid #e4e7ee; }
.term-tab { color: #7c8496; border-bottom: 0; border-radius: 9px; margin: 2px 0; }
.term-tab:hover { color: #1d2433; }
.term-tab.on {
  color: #1d2433; background: linear-gradient(145deg, #ffffff, #eef0f5);
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.9), 4px 4px 9px rgba(166, 175, 195, 0.45), inset 0 -2px 0 var(--blue);
}
.term-run {
  color: #5c6478; border: 0; border-radius: 10px;
  background: linear-gradient(145deg, #f7f8fb, #e9ebf1);
  box-shadow: -4px -4px 9px rgba(255, 255, 255, 0.95), 4px 5px 10px rgba(166, 175, 195, 0.5);
}
.term-run:hover { color: #1f9e63; border: 0; }
.term-run:active, .term-run.busy {
  color: #1f9e63;
  box-shadow: inset 3px 3px 7px rgba(166, 175, 195, 0.5), inset -3px -3px 7px #ffffff;
}
/* zapuštěná "obrazovka" s kódem */
.term-main {
  margin: 12px 16px 0; border-radius: 12px; background: #fbfcff;
  box-shadow: inset 5px 5px 12px rgba(166, 175, 195, 0.30), inset -5px -5px 12px #ffffff;
}
.term-gutter { color: #b3bac9; }
.term-body { color: #1d2433; }
.tk-kw { color: #2743e0; }
.tk-str { color: #188748; }
.tk-com { color: #9aa2b1; }
.tk-num { color: #b25f00; }
.term-cursor { color: var(--blue); }
/* zapuštěný výstup */
.term-out {
  margin: 10px 16px 14px; border-radius: 12px; border-top: 0; background: #f2f4f9;
  box-shadow: inset 5px 5px 12px rgba(166, 175, 195, 0.28), inset -5px -5px 12px #ffffff;
}
.term-out .ln-cmd { color: #7c8496; }
.term-out .ln-step { color: #2a3040; }
.term-out .ln-ok { color: #1f9e63; }
.term-foot { background: transparent; border-top: 1px solid #e4e7ee; color: #7c8496; }
.term-meta { color: #98a0b3; }

/* ===== NEUMORPHISM — chat okno ===== */
.mock[data-mock="chat"] {
  border: 1px solid #ffffff;
  border-radius: 18px;
  background: linear-gradient(145deg, #f7f8fb, #eef0f5);
  box-shadow:
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    12px 14px 30px rgba(166, 175, 195, 0.48),
    0 34px 70px rgba(166, 175, 195, 0.28);
  overflow: hidden;
}
.mock[data-mock="chat"] .mock-bar { background: transparent; border-bottom: 1px solid #e4e7ee; }
.mock[data-mock="chat"] .mock-bar i:nth-child(1) { background: #ff5f57; }
.mock[data-mock="chat"] .mock-bar i:nth-child(2) { background: #febc2e; }
.mock[data-mock="chat"] .mock-bar i:nth-child(3) { background: #28c840; }
.mock[data-mock="chat"] .mock-chat {
  margin: 12px 16px 0; border-radius: 12px; background: #fbfcff;
  box-shadow: inset 5px 5px 12px rgba(166, 175, 195, 0.30), inset -5px -5px 12px #ffffff;
}
.mock[data-mock="chat"] .mock-foot { border-top: 1px solid #e4e7ee; margin-top: 12px; }
.chat-msg.user { box-shadow: 4px 5px 10px rgba(39, 67, 224, 0.28), -3px -3px 8px rgba(255, 255, 255, 0.8); }
.chat-msg.agent {
  background: linear-gradient(145deg, #f2f4f9, #e9ecf3); border: 0;
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.9), 4px 5px 10px rgba(166, 175, 195, 0.38);
}
.chat-typing {
  background: linear-gradient(145deg, #f2f4f9, #e9ecf3); border: 0;
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.9), 4px 5px 10px rgba(166, 175, 195, 0.38);
}
.chat-typing i { background: var(--blue); width: 6px; height: 6px; }
.chat-tool {
  background: linear-gradient(145deg, #f4f6fb, #ebeef5); border: 0; color: var(--gray-2);
  box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.9), 3px 4px 8px rgba(166, 175, 195, 0.35);
}
.chat-msg.agent::before { box-shadow: -2px -2px 5px #fff, 3px 3px 7px rgba(166, 175, 195, 0.4); }


/* ===== REFERENCE KLIENTŮ (sekce v index.html je zatím zakomentovaná —
   po doplnění reálných citátů stačí odkomentovat, styly už tu jsou) ===== */
.quotes { padding: clamp(88px, 11vw, 148px) 32px; }
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 44px auto 0;
}
.quote-card {
  background: linear-gradient(145deg, #f6f8fc, #edeff6);
  box-shadow: -4px -4px 10px #fff, 5px 6px 14px rgba(166, 175, 195, 0.35);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-card blockquote { font-size: 14px; line-height: 1.7; color: var(--gray-1); }
.quote-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.quote-card figcaption b { font-size: 13.5px; font-weight: 500; }
.quote-card figcaption span { font-size: 12px; color: var(--gray-3); }
@media (max-width: 900px) { .quotes-grid { grid-template-columns: 1fr; } }

/* ===== tónované pozadí + neumorphism (světlé soft-UI na více místech) ===== */

/* jemný studený nádech v horní části stránky — pozadí není čistě bílé */
body {
  background: linear-gradient(180deg, #eef1f8 0%, var(--bg) 520px);
}

/* kontaktní karty (e-mail / telefon / termín) — vystouplé soft-UI */
.cq-card {
  background: linear-gradient(145deg, #f6f8fc, #edeff6);
  border-color: transparent;
  box-shadow: -4px -4px 10px #fff, 5px 6px 14px rgba(166, 175, 195, 0.35);
}
.cq-card:hover {
  box-shadow: -4px -4px 10px #fff, 8px 10px 22px rgba(140, 152, 180, 0.42);
}

/* formulářové inputy — zapuštěné (inset) soft-UI */
.cta-form input,
.cta-form textarea {
  background: linear-gradient(145deg, #eef0f6, #f5f7fb);
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: inset 3px 3px 8px rgba(166, 175, 195, 0.28), inset -3px -3px 8px #fff;
}
.cta-form input:focus,
.cta-form textarea:focus {
  border: 1px solid var(--blue);
  background: #fff;
  box-shadow: inset 2px 2px 5px rgba(166, 175, 195, 0.15), 0 0 0 3px rgba(52, 85, 250, 0.08);
}

/* nody integrací (beam hub) — vystouplé dlaždice */
.bh-node {
  background: linear-gradient(145deg, #f5f7fb, #eceef5);
  border-color: transparent;
  box-shadow: -3px -3px 8px #fff, 4px 5px 10px rgba(166, 175, 195, 0.35);
}

/* pixelové ikony dovedností — soft dlaždice jako displej */
.pixel-icon canvas {
  border-radius: 16px;
  background: linear-gradient(145deg, #f6f8fc, #edeff6);
  box-shadow: -4px -4px 10px #fff, 5px 6px 12px rgba(166, 175, 195, 0.32);
}

/* FAQ — otevřená položka se jemně zvedne */
.faq-item[open] {
  background: linear-gradient(145deg, #f7f9fc, #eff1f7);
  border-color: transparent;
  box-shadow: -3px -3px 8px #fff, 4px 5px 12px rgba(166, 175, 195, 0.30);
}

/* ============================================================
   ===== V3 — pozadí (blueprint mřížka), nav dropdown, mobil =====
   ============================================================ */

/* --- ASCII pozadí přes celou stránku (canvas #asciiBg z script.js) --- */
.ascii-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* rám je průhledný, aby ASCII prosvítalo; jen jemný závoj, ať text
   uprostřed drží kontrast — karty a tmavé bloky mají vlastní pozadí */
main.frame {
  position: relative;
  z-index: 0;
  background-color: rgba(247, 248, 251, 0.6); /* poloprůhledné → ASCII prosvítá */
}
.footer-wrap { position: relative; z-index: 0; }

/* --- nav dropdown „Co umím" (funguje hoverem i klikem/tapem) --- */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gray-1);
  padding: 0;
}
.nav-drop-btn span { color: var(--gray-4); transition: color 0.2s; }
.nav-drop-btn .caret { font-size: 9px; color: var(--gray-4); transition: transform 0.25s var(--ease), color 0.2s; }
.nav-drop:hover .nav-drop-btn span,
.nav-drop-btn[aria-expanded="true"] span { color: var(--ink); }
.nav-drop:hover .nav-drop-btn .caret,
.nav-drop-btn[aria-expanded="true"] .caret { transform: rotate(180deg); color: var(--ink); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(25, 35, 80, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 60;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  font-size: 12.5px;
  color: var(--gray-1);
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.nav-drop-menu a:hover { background: rgba(52, 85, 250, 0.08); color: var(--blue); }
.nav-drop-menu a i { width: 6px; height: 6px; border-radius: 2px; background: var(--blue); flex: none; opacity: 0.65; }
/* můstek, ať hover nepadá v mezeře mezi tlačítkem a menu */
.nav-drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }

/* dropdown v jednoduché nav (podstránky) */
.nav-simple .nav-drop-btn { font-size: 12px; }

/* --- mobilní menu: sekce „Co umím" jako pod-skupina --- */
.nav-mobile .nm-group-label {
  padding: 13px 24px 6px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-4);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a.nm-sub { padding-left: 38px; font-size: 12.5px; color: var(--gray-2); }

@media (max-width: 900px) {
  /* skutečný flex řádek je .nav-left (ne grid .nav-simple) — povolit zalomení */
  .nav-simple .nav-left { flex-wrap: wrap; row-gap: 6px; column-gap: 18px; }
  /* dropdown menu zarovnat k levému okraji, ať se na úzkém displeji neořízne */
  .nav-simple .nav-drop-menu { left: 0; right: auto; transform: translateY(-6px); }
  .nav-simple .nav-drop-menu.open,
  .nav-simple .nav-drop:hover .nav-drop-menu { transform: translateY(0); }
}

/* ============================================================
   ===== SUBPAGE VIZUÁLY (reuse enginu + lehké CSS animace) =====
   ============================================================ */

/* hero pixel ikona na service podstránkách */
.svc-hero-icon { justify-content: flex-start; margin: 0 0 20px; }
.svc-hero-icon canvas { width: 84px; height: 84px; }
.svc-note { color: var(--gray-2); font-size: 14px; margin: 6px 0 22px; max-width: 60ch; }

/* --- RAG flow: 4 kroky, rozsvěcí se v sekvenci, mezi nimi putuje paket --- */
.rag-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 8px 0 8px;
  flex-wrap: wrap;
}
.rag-step {
  flex: 1 1 140px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 18px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(145deg, #f6f8fc, #edeff6);
  box-shadow: -3px -3px 8px #fff, 4px 5px 10px rgba(166, 175, 195, 0.28);
  opacity: 0.45;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.reveal.in .rag-step { animation: ragOn 0.6s var(--ease) forwards; animation-delay: calc(var(--s) * 0.5s + 0.2s); }
@keyframes ragOn {
  to { opacity: 1; transform: none; box-shadow: -3px -3px 8px #fff, 5px 6px 14px rgba(52, 85, 250, 0.22); }
}
.rag-ico {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font: 600 15px/1 ui-monospace, monospace;
}
.rag-step:last-of-type .rag-ico { background: var(--blue); }
.rag-step b { font-size: 13.5px; font-weight: 500; }
.rag-step small { font-size: 11px; color: var(--gray-3); }
.rag-link {
  align-self: center;
  flex: 0 0 34px;
  height: 2px;
  margin: 0 -2px;
  background:
    linear-gradient(90deg, var(--blue), var(--blue)) left/0% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
  position: relative;
}
.reveal.in .rag-link { animation: ragDraw 0.5s var(--ease) forwards; }
/* .rag-link je <i> — mezi svým typem jsou spoje 1.–4., ne 2/4/6/8 */
.rag-link:nth-of-type(1) { animation-delay: 0.35s; }
.rag-link:nth-of-type(2) { animation-delay: 0.85s; }
.rag-link:nth-of-type(3) { animation-delay: 1.35s; }
.rag-link:nth-of-type(4) { animation-delay: 1.85s; }
@keyframes ragDraw { to { background-size: 100% 100%, 100% 100%; } }
@media (max-width: 640px) {
  .rag-flow { flex-direction: column; align-items: stretch; }
  .rag-link { flex-basis: 20px; width: 2px; height: 20px; align-self: center;
    background: linear-gradient(180deg, var(--blue), var(--blue)) top/100% 0% no-repeat,
    repeating-linear-gradient(180deg, var(--line-strong) 0 5px, transparent 5px 10px); }
}

/* galerie webů na podstránce web-a-konzultace */
.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 18px; border: 0; }
.svc-gallery .repo-card { border: 1px dashed var(--line-strong); border-radius: 12px; overflow: hidden; }
.svc-gallery .repo-body { padding: 14px 16px 16px; }
.svc-gallery .repo-body h3 { font-size: 15px; font-weight: 500; }
.svc-gallery .repo-body p { font-size: 12.5px; color: var(--gray-2); margin: 4px 0 10px; }
@media (max-width: 760px) { .svc-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .svc-gallery { grid-template-columns: 1fr; } }

/* tech marquee na o-mne */
.mf-tech { padding: 8px 0 8px; margin: 8px 0; }
.mf-tech .trusted-label { margin-bottom: 18px; }

/* ASCII tečkový divider před nadpisy v článcích a právních stránkách */
.legal h2 { position: relative; }
.legal h2::before {
  content: "";
  display: block;
  width: 120px;
  height: 9px;
  margin-bottom: 14px;
  background-image: radial-gradient(var(--blue) 1px, transparent 1.5px);
  background-size: 11px 9px;
  opacity: 0.28;
}

/* --- kariérní timeline na o-mne (CSS, bez GSAP) --- */
.career-head { margin-top: clamp(40px, 6vw, 56px); }
.career {
  list-style: none;
  margin: 24px 0 8px;
  padding-left: 26px;
  position: relative;
}
.career::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 5px, transparent 5px 10px);
}
.career-item {
  position: relative;
  padding: 0 0 26px 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 0.12s);
}
.career.in .career-item { opacity: 1; transform: none; }
.career-item:last-child { padding-bottom: 0; }
.career-dot {
  position: absolute;
  left: -26px; top: 3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
}
.career-dot.on {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(52, 85, 250, 0.14);
  animation: nowPulse 2s infinite;
}
.career-when { margin-bottom: 8px; }
.career-item h3 { font-size: 16px; font-weight: 500; margin: 6px 0 4px; }
.career-item p { font-size: 13.5px; color: var(--gray-2); max-width: 60ch; }

/* --- neumorphism na plochých panelech service podstránek --- */
.svc-stats {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #f6f8fc, #edeff6);
  box-shadow: -5px -5px 12px #fff, 6px 7px 16px rgba(166, 175, 195, 0.32);
  overflow: hidden;
}
.svc-stat + .svc-stat { border-left: 1px solid rgba(166, 175, 195, 0.22); }
.svc-cta {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #f6f8fc, #edeff6);
  box-shadow: -5px -5px 12px #fff, 6px 7px 18px rgba(166, 175, 195, 0.34);
}
.svc .faq-item {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7f9fc, #eef0f6);
  box-shadow: -3px -3px 7px #fff, 3px 4px 9px rgba(166, 175, 195, 0.26);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc .faq-item:hover { transform: translateY(-2px); box-shadow: -3px -3px 8px #fff, 5px 6px 14px rgba(166, 175, 195, 0.34); }
.svc .faq-item[open] { box-shadow: inset 2px 2px 6px rgba(166, 175, 195, 0.28), inset -2px -2px 6px #fff; }
@media (max-width: 620px) {
  .svc-stat + .svc-stat { border-left: 0; border-top: 1px solid rgba(166, 175, 195, 0.22); }
}

/* ============================================================
   ===== VÝRAZNÝ 3D NEUMORPHISM — globálně =====
   ============================================================ */

/* karty: vystouplé, bez okrajů, měkký hluboký stín */
.feature-cell,
.tier-card,
.repo-card,
.team-card,
.explore-card,
.cq-card,
.bh-node,
.mock,
.svc-stats,
.svc-cta,
.stat,
.rag-step,
.career-item,
.svc-gallery .repo-card {
  border: 0 !important;
  border-radius: 18px;
  background: var(--neu-bg);
  box-shadow: var(--neu-out);
  transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease);
}
.feature-cell:hover,
.tier-card:hover,
.repo-card:hover,
.team-card:hover,
.explore-card:hover,
.cq-card:hover,
.svc-gallery .repo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--neu-out-lg);
}

/* statistiky: vnitřní dělič jemná rýha místo čáry */
.stat + .stat,
.svc-stat + .svc-stat { border-left: 0 !important; }
.stats-grid, .svc-stats { gap: 0; }

/* stat na homepage má vlastní grid — rozestup + samostatné karty */
.stats-grid { display: grid; gap: 16px; }
.svc-stats { border-radius: 18px; overflow: hidden; }

/* chipy: malé vystouplé pilulky */
.chip-gray {
  border: 0;
  border-radius: 8px;
  background: var(--neu-bg);
  box-shadow: -3px -3px 7px #fff, 3px 4px 9px rgba(148, 158, 185, 0.4);
}
.chip-black { box-shadow: 3px 4px 9px rgba(30, 40, 75, 0.28); }

/* tlačítka: vystouplá, po stisku se „zaboří" (3D klik) */
.btn-gray {
  background: var(--neu-bg);
  box-shadow: -5px -5px 12px #fff, 5px 6px 14px rgba(148, 158, 185, 0.45);
}
.btn-gray:hover { box-shadow: -6px -6px 14px #fff, 7px 8px 18px rgba(148, 158, 185, 0.5); }
.btn-black { box-shadow: -3px -3px 9px rgba(255,255,255,0.35), 6px 7px 16px rgba(20, 28, 60, 0.34); }
.btn-black:hover { box-shadow: -3px -3px 10px rgba(255,255,255,0.4), 9px 10px 22px rgba(20, 28, 60, 0.4); }
.btn-blue { box-shadow: -3px -3px 9px rgba(255,255,255,0.25), 6px 7px 16px rgba(38, 62, 200, 0.4); }
.btn:active { transform: translateY(1px) scale(0.985); box-shadow: var(--neu-in) !important; }

/* formulářové inputy: zapuštěné (hlubší) */
.cta-form input,
.cta-form textarea {
  border: 0;
  border-radius: 12px;
  background: #eef0f7;
  box-shadow: var(--neu-in);
}
.cta-form input:focus,
.cta-form textarea:focus {
  background: #fff;
  box-shadow: var(--neu-in), 0 0 0 3px rgba(52, 85, 250, 0.14);
}

/* FAQ: vystouplé, otevřené zapuštěné */
.faq-item, .svc .faq-item {
  border: 0 !important;
  border-radius: 14px;
  background: var(--neu-bg);
  box-shadow: var(--neu-out);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq-item:hover, .svc .faq-item:hover { transform: translateY(-2px); box-shadow: var(--neu-out-lg); }
.faq-item[open], .svc .faq-item[open] { box-shadow: var(--neu-in) !important; transform: none; }

/* rag-flow kroky: silnější 3D */
.rag-step { box-shadow: var(--neu-out) !important; }

/* career karty dostanou vlastní plochu */
.career-item { padding: 16px 18px 18px 20px !important; margin-left: 4px; }

/* pixelové ikony: hlubší dlaždice */
.pixel-icon canvas { box-shadow: var(--neu-out) !important; }

/* --- oprava: rozcestník CTA karta zůstává tmavá (neumorphism jí přebil pozadí) --- */
.explore-card-cta {
  background: var(--ink) !important;
  box-shadow: -3px -3px 9px rgba(255, 255, 255, 0.22), 8px 10px 22px rgba(20, 28, 60, 0.42) !important;
}
.explore-card-cta:hover {
  box-shadow: -3px -3px 10px rgba(255, 255, 255, 0.28), 11px 13px 28px rgba(20, 28, 60, 0.48) !important;
}
.explore-card-cta h3, .explore-card-cta .explore-go { color: #fff; }
.explore-card-cta p { color: rgba(255, 255, 255, 0.75); }
.explore-card-cta .explore-tag { color: #fff; background: rgba(255, 255, 255, 0.14); }

/* o něco víc vzduchu mezi nadpisem sekce a případným chipem/kickerem nad ním */
main section > h2:first-of-type { margin-top: 4px; }

/* --- header sekcí posunut výš (menší horní padding, ať nejsou tak dole) --- */
.features, .ecosystem, .demo, .compare, .cases, .faq, .cta, .explore,
.codeblock, .pricing, .intersection, .team, .stats {
  padding-top: clamp(56px, 6.5vw, 92px);
}

/* poznámka pod statistikami: víc vzduchu nad ní (ať není nalepená na kartách) */
.stats-note { padding-top: 26px; }

/* --- dočištění po globálním neumorphismu (konzistence 3D vs. design-tool) --- */
/* shine border na Fázi 2 kopíruje nový radius karty (běžel hranatě) */
.tier-row-left .tier-card::before { border-radius: 20px; }
/* selection handles nesedí na kulaté karty — vypnuto */
.handles .h { display: none; }
.handles:hover { outline: 0; }
/* položky ceníku: soft inset místo dashed panelu */
.tier-list li {
  border: 0;
  border-radius: 10px;
  background: #eef0f7;
  box-shadow: inset 3px 3px 8px rgba(148, 158, 185, 0.28), inset -3px -3px 8px #fff;
}
/* chat mock: kulatý roh ořezává vnitřní bar */
.mock { overflow: hidden; }

/* ============================================================
   ===== FINÁLNÍ DESIGN PASS: hierarchie 3D, dividery, hero =====
   ============================================================ */

/* B1 — hierarchie: obsahové prvky menší stín, interaktivní nechány výrazné */
:root { --neu-out-sm: -4px -4px 10px #ffffff, 5px 6px 12px rgba(148, 158, 185, 0.38); }
.rag-step { box-shadow: var(--neu-out-sm) !important; }
.career-item, .stat, .bh-node, .svc-stats, .mock { box-shadow: var(--neu-out-sm); }

/* B4 — ASCII divider mezi sekcemi (jemný ornament na 1px lince) */
main.frame > section:not(:last-child) {
  position: relative;
}
main.frame > section:not(:last-child)::after {
  content: "· ─ + ─ ·";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  padding: 0 14px;
  background: var(--bg);
  font: 400 11px/1.4 ui-monospace, monospace;
  letter-spacing: 3px;
  color: var(--gray-4);
  pointer-events: none;
  z-index: 2;
}

/* B5 — hero portrét v soft rámu (sladění s 3D zbytkem webu) */
.hero-portrait img {
  border-radius: 14px;
  box-shadow: var(--neu-out);
}

/* ===== 3D+ : hlubší lesk na primárních tlačítkách (glossy, světlo z L-H rohu) ===== */
.btn-blue {
  background: linear-gradient(180deg, #5c78ff 0%, var(--blue) 55%, var(--blue-dark) 100%);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.4), -4px -4px 11px rgba(255, 255, 255, 0.3), 8px 9px 20px rgba(38, 62, 200, 0.45);
}
.btn-blue:hover {
  background: linear-gradient(180deg, #6b85ff 0%, var(--blue) 55%, var(--blue-dark) 100%);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.45), -4px -4px 13px rgba(255, 255, 255, 0.35), 11px 13px 28px rgba(38, 62, 200, 0.5);
}
.btn-black {
  background: linear-gradient(180deg, #2c2c2c 0%, var(--ink) 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), -3px -3px 10px rgba(255, 255, 255, 0.3), 8px 9px 20px rgba(20, 28, 60, 0.42);
}
.btn-black:hover {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), -3px -3px 11px rgba(255, 255, 255, 0.35), 11px 13px 26px rgba(20, 28, 60, 0.46);
}


/* kompenzace po H2 refaktoru: obsahove h2 na podstrankach zustavaji vlevo */
.legal h2, .svc h2, .blog-item h2, .study h2 {
  text-align: left;
  line-height: 1.3;
  letter-spacing: 0;
}

/* ===== PŘEPÍNAČ JAZYKA (CZ/EN) ===== */
.lang-switch { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; margin-left: 10px; }
.lang-switch a { position: relative; color: var(--gray-3); transition: color 0.25s var(--ease); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { color: var(--ink); }
.lang-switch a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--blue); }
.lang-switch i { font-style: normal; color: var(--line-strong); }
.nav-mobile .nm-lang { margin-top: 16px; font-size: 15px; justify-content: center; width: 100%; }

/* ===== VIEW TRANSITIONS (MPA přechody mezi stránkami, Chromium) — vždy zapnuto ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.26s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.34s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--blue), #7aa2f7);
  box-shadow: 0 0 8px rgba(52, 85, 250, 0.5);
  z-index: 9999; pointer-events: none; will-change: transform;
}

/* ===== INDEX SEKCE (roh) ===== */
.sec-index {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.06em; color: var(--gray-3);
  display: flex; align-items: baseline; gap: 7px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.sec-index.on { opacity: 1; transform: none; }
.sec-index b { font-size: 13px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.sec-index .si-label { text-transform: uppercase; color: var(--gray-2); }
@media (max-width: 720px) { .sec-index { display: none; } }

/* ===== KLIKACÍ AGENT DEMO ===== */
#demoChat { max-height: 320px; overflow-y: auto; scroll-behavior: smooth; }
#demoChat .chat-msg { animation: demoMsgIn 0.34s var(--ease) both; }
@keyframes demoMsgIn { from { opacity: 0; transform: translateY(8px); } }
.demo-ask { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 6px; border-top: 1px solid var(--line); }
.demo-chip {
  font: inherit; font-size: 12.5px; line-height: 1.2; color: var(--gray-1);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 8px 14px; cursor: pointer; text-align: left;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.15s var(--ease);
}
.demo-chip::before { content: "› "; color: var(--blue); font-weight: 600; }
.demo-chip:hover { border-color: var(--blue); background: #f4f6ff; transform: translateY(-1px); }
.demo-chip:active { transform: translateY(0); }
.demo-done { padding: 14px 16px 6px; font-size: 12.5px; color: var(--gray-3); border-top: 1px solid var(--line); animation: demoMsgIn 0.34s var(--ease) both; }

/* ===== feature karty: 3D tilt (plynulý návrat) ===== */
.feature-cell { transition: transform 0.3s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ===== MOBIL: sjednocená hero tlačítka (stejná šířka, přehlednější) ===== */
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; text-align: center; }
}
