/* CodeRiders · vytvoraplikaci.cz — design system (směr Prompt) */
:root {
  --bg: #0B0F16;
  --bg-2: #0D1320;
  --card: #101624;
  --card-2: #131A2B;
  --line: #1E2735;
  --line-2: #1A2230;
  --line-3: #141B27;
  --line-input: #232E40;
  --line-strong: #2A3546;
  --text: #E7ECF4;
  --text-2: #C6CFDC;
  --muted: #94A1B5;
  --dim: #5E6B80;
  --accent: #6E56F8;
  --accent-2: #8B77FA;
  --accent-dark: #5540D6;
  --accent-soft: rgba(110, 86, 248, 0.14);
  --ok: #3DD68C;
  --warn: #F5B84B;
  --font-sans: 'Space Grotesk', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --container: 1296px;
  --header-h: 76px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #A796FF; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typografie ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 18px;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.2vw, 38px); }
h3 { font-size: 20px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; max-width: 760px; }
.section-head p { font-size: 17px; color: var(--muted); }

/* ---------- kurzor + šipky ---------- */
@keyframes crBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cursor {
  display: inline-block; width: 0.42em; height: 0.95em; border-radius: 2px;
  background: var(--accent); vertical-align: -0.12em; margin-left: 0.22em;
  animation: crBlink 1.15s step-end infinite;
}
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }
.chev { width: 14px; height: 14px; flex-shrink: 0; }
.chev path { fill: none; stroke: currentColor; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 11px; border: 1px solid transparent;
  font-family: var(--font-mono); font-weight: 700; font-size: 15.5px; white-space: nowrap;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--line-strong); font-family: var(--font-sans); font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 16.5px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 700; font-size: 14.5px; color: var(--accent-2); }
.link-more:hover { color: #A796FF; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 15, 22, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.logo svg { width: 27px; height: 27px; }
.logo svg path { fill: none; stroke: var(--accent); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.logo .wordmark { font-family: var(--font-mono); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.logo .cursor { width: 7px; height: 15px; margin-left: 0; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: transform .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); transition: transform .2s ease, top .2s ease; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 64px;
  background: radial-gradient(640px 420px at 78% 12%, rgba(110, 86, 248, 0.16), rgba(110, 86, 248, 0) 70%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .cursor { width: 0.28em; height: 0.78em; border-radius: 3px; vertical-align: -0.04em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.hero-sub { font-size: 14px; color: var(--dim); }
.hero-sub b { color: var(--muted); font-weight: 500; }

/* terminál */
.terminal { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(110, 86, 248, 0.45); }
.terminal-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.terminal-bar .title { font-family: var(--font-mono); font-size: 12px; color: var(--dim); margin-left: 8px; }
.terminal-body { padding: 26px 28px 30px; font-family: var(--font-mono); font-size: 15px; line-height: 2.15; color: var(--text-2); }
.terminal-body .prompt { color: var(--dim); }
.terminal-body .cmd { color: var(--text); }
.terminal-body .ok { color: var(--accent-2); }
.terminal-body .todo { color: var(--dim); }
.terminal-body .line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.terminal-body .line.pending { opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.terminal-body .line.pending.show { opacity: 1; transform: none; }
.progress { display: inline-flex; width: 150px; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress > span { display: block; width: 0; height: 100%; background: var(--accent); transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.pct { color: var(--dim); min-width: 4ch; }

/* ---------- strip s fakty ---------- */
.strip { border-top: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3); padding: 28px 0; }
.strip .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact .chev { margin-top: 5px; color: var(--accent); }
.fact b { display: block; font-size: 15.5px; color: var(--text); }
.fact span { font-size: 14px; color: var(--muted); }

/* ---------- sekce ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line-3); }
.section.alt { background: linear-gradient(180deg, rgba(16, 22, 36, 0.55), rgba(16, 22, 36, 0)); }
.section-tight { padding: 64px 0; }

/* ---------- řešení (docházka, účetnictví) ---------- */
.solution { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.solution + .solution { margin-top: 96px; }
.solution.reverse .solution-copy { order: 2; }
.solution-copy { display: flex; flex-direction: column; gap: 20px; }
.solution-copy h2 { max-width: 14ch; }
.solution-copy p { color: var(--muted); font-size: 17px; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 8px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-2); }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%238B77FA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* mockupy (společné) */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.8); font-size: 13px; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-bar b { font-size: 13.5px; font-weight: 700; }
.mock-bar .tag { font-family: var(--font-mono); font-size: 11px; color: var(--dim); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: rgba(61, 214, 140, 0.35); background: rgba(61, 214, 140, 0.08); }
.pill.accent { color: var(--accent-2); border-color: rgba(110, 86, 248, 0.45); background: var(--accent-soft); }
.pill.warn { color: var(--warn); border-color: rgba(245, 184, 75, 0.35); background: rgba(245, 184, 75, 0.08); }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; }
.mock-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; background: var(--accent); color: #fff; }
.mock-btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--text-2); font-weight: 500; }

/* mockup: docházka */
.mock-dochazka table { width: 100%; border-collapse: collapse; }
.mock-dochazka th, .mock-dochazka td { padding: 9px 8px; border-bottom: 1px solid var(--line-3); text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.mock-dochazka th { color: var(--dim); font-weight: 500; font-size: 11px; }
.mock-dochazka th.we, .mock-dochazka td.we { color: var(--dim); background: rgba(255, 255, 255, 0.02); }
.mock-dochazka td.name, .mock-dochazka th.name { text-align: left; font-family: var(--font-sans); font-size: 13px; color: var(--text); padding-left: 16px; white-space: nowrap; }
.mock-dochazka td.sum, .mock-dochazka th.sum { text-align: right; padding-right: 16px; white-space: nowrap; }
.mock-dochazka td.sum { color: var(--text); font-weight: 700; }
.mock-dochazka td.sum small { color: var(--accent-2); font-weight: 500; margin-left: 6px; }
.mock-dochazka .d { display: inline-block; min-width: 22px; padding: 2px 4px; border-radius: 5px; }
.mock-dochazka .d.ot { background: var(--accent-soft); color: var(--accent-2); font-weight: 700; }
.mock-dochazka .d.abs { background: rgba(245, 184, 75, 0.10); color: var(--warn); }
.mock-dochazka .d.sick { background: rgba(61, 214, 140, 0.08); color: var(--ok); }
.mock-dochazka tr:last-child td { border-bottom: 0; }

/* mockup: účetnictví */
.mock-ucto { display: grid; grid-template-columns: 150px 1fr; }
.mock-ucto .doc { padding: 16px; border-right: 1px solid var(--line); background: var(--bg-2); }
.mock-ucto .sheet { background: #F4F6FA; border-radius: 6px; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.mock-ucto .sheet i { display: block; height: 5px; border-radius: 3px; background: #C9D1DE; }
.mock-ucto .sheet i.h { height: 8px; width: 55%; background: #8E9AAE; margin-bottom: 4px; }
.mock-ucto .sheet i.w60 { width: 60%; } .mock-ucto .sheet i.w80 { width: 80%; } .mock-ucto .sheet i.w40 { width: 40%; }
.mock-ucto .sheet .box { margin-top: auto; display: flex; justify-content: space-between; border-top: 1px solid #C9D1DE; padding-top: 8px; }
.mock-ucto .sheet .box i { width: 30%; background: #6E56F8; height: 7px; }
.mock-ucto .doc .pill { margin-top: 12px; }
.mock-ucto .fields { padding: 8px 16px; }
.mock-ucto .field { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-3); }
.mock-ucto .field:last-child { border-bottom: 0; }
.mock-ucto .field .k { color: var(--dim); font-size: 12px; }
.mock-ucto .field .v { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); text-align: right; }
.mock-ucto .field .c { font-family: var(--font-mono); font-size: 10.5px; color: var(--ok); }
.mock-ucto .field .c.mid { color: var(--warn); }
.flow-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.flow-arrow .chev { width: 11px; height: 11px; color: var(--accent); }

/* ---------- karty služeb ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: rgba(110, 86, 248, 0.5); transform: translateY(-2px); }
.card .icon { width: 38px; height: 38px; color: var(--accent); }
.card .icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card .examples { font-family: var(--font-mono); font-size: 12px; color: var(--dim); margin-top: auto; padding-top: 6px; }
.card.link { color: inherit; }

/* ---------- integrace ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, 0.015); }
.chips span.hl { border-color: rgba(110, 86, 248, 0.5); color: var(--accent-2); background: var(--accent-soft); }

/* ---------- postup ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--line); padding-top: 18px; }
.step:nth-child(1) { border-top-color: var(--accent); }
.step:nth-child(2) { border-top-color: #3A3169; }
.step:nth-child(3) { border-top-color: #2A2650; }
.step .num { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent-2); }
.step h3 { font-size: 19px; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.step small { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }

/* ---------- reference ---------- */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ref { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.ref .ref-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ref .type { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); }
.ref h3 { font-size: 18px; line-height: 1.25; }
.ref p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.ref .meta { margin-top: auto; padding-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--dim); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status.live::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.15); }
.status.pilot::before { background: var(--warn); }
.status.demo::before { background: var(--accent-2); }
.refs-note { margin-top: 18px; font-size: 13.5px; color: var(--dim); }

/* ---------- proč my ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.why div { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.015); border: 1px solid var(--line-3); }
.why b { font-size: 17px; }
.why p { font-size: 14.5px; color: var(--muted); }
.why .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--accent-2); flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 15px; color: var(--muted); max-width: 56ch; }

/* ---------- kontakt ---------- */
.contact-card {
  background: var(--card); border: 1px solid #232B45; border-radius: var(--radius-lg); padding: 56px 60px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start;
  background-image: radial-gradient(480px 320px at 12% 90%, rgba(110, 86, 248, 0.12), rgba(110, 86, 248, 0) 70%);
}
.contact-copy { display: flex; flex-direction: column; gap: 18px; }
.contact-copy h2 { font-size: clamp(28px, 3vw, 34px); }
.contact-copy p { color: var(--muted); }
.contact-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.contact-lines a, .contact-lines span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 15px; color: var(--text); }
.contact-lines svg { width: 18px; height: 18px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-lines a:hover { color: var(--accent-2); }
.contact-note { font-size: 13px; color: var(--dim); }
form.lead-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-wrap { display: flex; flex-direction: column; gap: 6px; }
.field-wrap label { font-size: 13px; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; height: 48px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-input); border-radius: var(--radius-sm);
  color: var(--text); font-size: 14.5px; transition: border-color .15s ease;
}
.lead-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%2394A1B5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.lead-form textarea { height: 122px; padding: 14px 16px; resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--dim); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent); }
.lead-form .btn { width: 100%; }
.form-consent { font-size: 12.5px; color: var(--dim); }
.form-status { display: none; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; }
.form-status.ok { display: block; background: rgba(61, 214, 140, 0.10); border: 1px solid rgba(61, 214, 140, 0.35); color: var(--ok); }
.form-status.err { display: block; background: rgba(245, 184, 75, 0.10); border: 1px solid rgba(245, 184, 75, 0.35); color: var(--warn); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- CTA pás na podstránkách ---------- */
.cta-band { border-top: 1px solid var(--line-3); padding: 80px 0; }
.cta-band .inner { background: var(--card); border: 1px solid #232B45; border-radius: var(--radius-lg); padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background-image: radial-gradient(480px 320px at 90% 10%, rgba(110, 86, 248, 0.14), rgba(110, 86, 248, 0) 70%); }
.cta-band h2 { font-size: clamp(26px, 2.8vw, 32px); max-width: 20ch; }
.cta-band p { color: var(--muted); max-width: 52ch; margin-top: 8px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- podstránky řešení ---------- */
.page-hero { padding: 72px 0 56px; background: radial-gradient(640px 420px at 80% 0%, rgba(110, 86, 248, 0.16), rgba(110, 86, 248, 0) 70%); }
.page-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); max-width: 15ch; }
.page-hero .lead { max-width: 520px; }
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--dim); } .breadcrumb a:hover { color: var(--accent-2); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mode { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.mode .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-2); }
.mode h3 { font-size: 22px; }
.mode p { color: var(--muted); font-size: 15px; }
.mode ul { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.mode li { padding-left: 18px; position: relative; }
.mode li::before { content: "›"; position: absolute; left: 2px; color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.mode .fit { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line-3); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-3); background: rgba(255, 255, 255, 0.015); display: flex; flex-direction: column; gap: 8px; }
.feature b { font-size: 16px; }
.feature p { font-size: 14px; color: var(--muted); }
.feature .fi { width: 30px; height: 30px; color: var(--accent); }
.feature .fi svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 30px 34px; border-radius: var(--radius); border: 1px solid rgba(110, 86, 248, 0.45); background: var(--accent-soft); }
.callout .mark { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; }
.callout .mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.callout h3 { font-size: 20px; margin-bottom: 6px; }
.callout p { color: var(--text-2); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat .n { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stat .n small { font-size: 16px; color: var(--accent-2); margin-left: 4px; }
.stat p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow .node { position: relative; padding: 22px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.flow .node .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); }
.flow .node b { font-size: 16px; }
.flow .node p { font-size: 13.5px; color: var(--muted); }
.flow .node:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 12px; height: 1px; background: var(--line-strong); }
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.audience div { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-3); background: rgba(255, 255, 255, 0.015); }
.audience b { display: block; font-size: 17px; margin-bottom: 8px; }
.audience p { font-size: 14.5px; color: var(--muted); }

/* ---------- patička ---------- */
.site-footer { border-top: 1px solid var(--line-2); padding: 40px 0; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .logo svg { width: 20px; height: 20px; } .site-footer .logo svg path { stroke: var(--dim); }
.site-footer .logo .wordmark { font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a { font-size: 14px; color: var(--muted); } .site-footer nav a:hover { color: var(--text); }
.site-footer .legal { font-size: 13.5px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; text-align: right; }
.site-footer .legal .mono { font-size: 12.5px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responzivita ---------- */
@media (max-width: 1100px) {
  .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow .node:not(:last-child)::after { display: none; }
}
@media (max-width: 960px) {
  .hero .container, .page-hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy h1 { max-width: none; }
  .solution, .solution.reverse { grid-template-columns: 1fr; gap: 36px; }
  .solution.reverse .solution-copy { order: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; gap: 36px; padding: 40px 36px; }
  .faq { grid-template-columns: 1fr; }
  .features, .audience, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 72px 0; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; }
  .nav[data-open="true"] { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-3); font-size: 16px; }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 48px 0 48px; }
  .hero-actions .btn { width: 100%; }
  .terminal-body { padding: 20px; font-size: 13.5px; }
  .progress { width: 90px; }
  .cards, .steps, .refs, .why, .modes, .features, .audience, .stats, .flow, .form-row, .strip .container { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .contact-card { padding: 30px 22px; border-radius: 14px; }
  .cta-band .inner { padding: 32px 24px; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .callout { grid-template-columns: 1fr; padding: 24px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
  .site-footer .legal { text-align: left; }
  .mock-dochazka table { display: block; overflow-x: auto; white-space: nowrap; }
  .mock-dochazka th, .mock-dochazka td { padding: 8px 6px; }
  .mock-dochazka td.name, .mock-dochazka th.name { padding-left: 14px; font-size: 12.5px; }
  .mock-dochazka td.sum, .mock-dochazka th.sum { padding-right: 14px; }
  .mock-dochazka th:nth-child(n+6):not(.sum), .mock-dochazka td:nth-child(n+6):not(.sum) { display: none; }
  .mock-ucto { grid-template-columns: 1fr; }
  .mock-ucto .doc { border-right: 0; border-bottom: 1px solid var(--line); }
  .mock-ucto .sheet { min-height: 120px; }
}

/* ---------- tři pilíře (weby · aplikace · firemní systémy) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.pillar:hover { border-color: rgba(110, 86, 248, 0.5); transform: translateY(-2px); }
.pillar-visual { height: 190px; padding: 22px 22px 0; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(360px 200px at 50% 110%, rgba(110, 86, 248, 0.18), rgba(110, 86, 248, 0) 70%); overflow: hidden; }
.pillar-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.pillar-body .num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent-2); }
.pillar-body h3 { font-size: 23px; }
.pillar-body p { font-size: 15px; color: var(--muted); }
.pillar-body ul { display: flex; flex-direction: column; gap: 7px; margin: 4px 0 6px; }
.pillar-body li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text-2); }
.pillar-body li::before { content: "›"; position: absolute; left: 2px; top: -1px; color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.pillar-body .link-more { margin-top: auto; padding-top: 6px; }
/* světlá varianta pro weby */
.pillar.light { background: #F4F6FA; border-color: #E1E6EF; color: #0B0F16; }
.pillar.light .pillar-visual { background: radial-gradient(360px 200px at 50% 110%, rgba(110, 86, 248, 0.22), rgba(110, 86, 248, 0) 70%), #E9EDF5; }
.pillar.light h3 { color: #0B0F16; }
.pillar.light .pillar-body p { color: #4A5568; }
.pillar.light .pillar-body li { color: #1F2937; }
.pillar.light .pillar-body .num { color: var(--accent-dark); }
.pillar.light .link-more { color: var(--accent-dark); }
.pillar.light .link-more:hover { color: var(--accent); }

/* mini mockup: prohlížeč (web) */
.mini-browser { width: 100%; max-width: 300px; background: #fff; border: 1px solid #D9DEE7; border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 40px -20px rgba(11, 15, 22, 0.25); }
.mini-browser .mb-bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid #E6EAF1; }
.mini-browser .mb-bar i { width: 6px; height: 6px; border-radius: 50%; background: #D3D9E3; }
.mini-browser .mb-bar span { margin-left: 8px; height: 8px; width: 46%; border-radius: 4px; background: #EEF1F6; }
.mini-browser .mb-body { padding: 12px 14px 0; }
.mini-browser .mb-hero { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; }
.mini-browser .mb-hero b { display: block; height: 11px; width: 62%; border-radius: 4px; background: #0B0F16; }
.mini-browser .mb-hero em { display: block; height: 6px; width: 84%; border-radius: 3px; background: #D9DEE7; }
.mini-browser .mb-hero em.short { width: 58%; }
.mini-browser .mb-hero u { display: block; height: 14px; width: 74px; border-radius: 6px; background: var(--accent); margin-top: 4px; }
.mini-browser .mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-browser .mb-cards i { display: block; height: 40px; border-radius: 6px; background: #F1F4F9; border: 1px solid #E6EAF1; }

/* mini mockup: telefon (aplikace) */
.mini-phone { width: 150px; background: var(--bg-2); border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 14px 12px 0; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 -10px 40px -18px rgba(110, 86, 248, 0.5); }
.mini-phone .mp-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.mini-phone .mp-top i { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); }
.mini-phone .mp-top span { height: 8px; flex: 1; border-radius: 4px; background: var(--line-strong); }
.mini-phone .mp-row { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.mini-phone .mp-row b { width: 12px; height: 12px; border-radius: 4px; background: rgba(61, 214, 140, 0.25); border: 1px solid var(--ok); }
.mini-phone .mp-row em { height: 6px; flex: 1; border-radius: 3px; background: var(--line-strong); }
.mini-phone .mp-row em.short { flex: 0 0 55%; }
.mini-phone .mp-btn { height: 26px; border-radius: 8px; background: var(--accent); margin-top: 2px; }

/* mini mockup: nástěnka (firemní systém) */
.mini-dash { width: 100%; max-width: 300px; display: grid; grid-template-columns: 56px 1fr; background: var(--bg-2); border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 -10px 40px -18px rgba(110, 86, 248, 0.5); }
.mini-dash .md-side { border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 9px; }
.mini-dash .md-side i { display: block; height: 6px; border-radius: 3px; background: var(--line-strong); }
.mini-dash .md-side i:first-child { background: var(--accent); }
.mini-dash .md-main { padding: 12px 12px 0; }
.mini-dash .md-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.mini-dash .md-stats i { display: block; height: 30px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.mini-dash .md-chart { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding: 0 2px; }
.mini-dash .md-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent-2), var(--accent)); opacity: .9; }

@media (max-width: 1100px) { .pillars { grid-template-columns: 1fr; } .pillar { flex-direction: row; } .pillar-visual { width: 300px; flex-shrink: 0; height: auto; align-items: center; padding: 22px; } .mini-browser, .mini-dash { border-bottom: 1px solid #D9DEE7; border-radius: 10px; } .mini-dash { border-bottom-color: var(--line-strong); } .mini-phone { border-bottom: 1px solid var(--line-strong); border-radius: 22px; padding-bottom: 14px; } }
@media (max-width: 760px) { .pillar { flex-direction: column; } .pillar-visual { width: auto; height: 170px; align-items: flex-end; padding: 18px 18px 0; } .mini-browser, .mini-dash { border-bottom: 0; border-radius: 10px 10px 0 0; } .mini-phone { border-bottom: 0; border-radius: 22px 22px 0 0; padding-bottom: 0; } .pillar-body { padding: 20px 20px 24px; } }
