/* ===== Unitas — zev.ba ===== */
:root {
  --ink: #0a0f2e;
  --ink-2: #111842;
  --navy: #18205a;
  --indigo: #2c3aa8;
  --blue: #4569ff;
  --blue-2: #6b8bff;
  --cyan: #3ad0f5;
  --mint: #2fd39b;
  --amber: #ffb547;
  --rose: #ff6b81;

  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-tint: #eef2ff;
  --line: #e3e8f4;
  --text: #0f1533;
  --muted: #5a6385;
  --muted-2: #8790b0;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 21, 51, .06), 0 2px 8px rgba(15, 21, 51, .04);
  --shadow: 0 10px 30px -10px rgba(20, 30, 90, .18), 0 2px 6px rgba(20, 30, 90, .05);
  --shadow-lg: 0 40px 80px -30px rgba(10, 15, 60, .45);
  --grad: linear-gradient(135deg, #4569ff 0%, #3ad0f5 100%);
  --grad-deep: linear-gradient(160deg, #2a3594 0%, #18205a 55%, #0a0f2e 100%);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: #c9d5ff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Buttons ---- */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.25em; border-radius: 999px; border: 1px solid var(--b);
  font: 600 .95rem/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(69, 105, 255, .65); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px -10px rgba(69, 105, 255, .75); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--navy); }
.btn-ghost { --b: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { --b: #c8d1ea; color: var(--text); }
.btn-outline-light { --b: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-outline-light:hover { --b: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .12); }
.btn-login { background: #fff; color: var(--ink); border-color: rgba(255, 255, 255, .2); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); }
.btn-login:hover { color: var(--indigo); }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, body.nav-open .site-header, body.light-top .site-header {
  background: rgba(10, 15, 46, .82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.nav-wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; margin-right: auto; }
.brand:hover { color: #fff; }
.brand img { width: 30px; height: auto; filter: drop-shadow(0 4px 10px rgba(69, 105, 255, .45)); }
.brand-name { font: 700 1.4rem/1 var(--font-display); letter-spacing: -.02em; }
.brand-tag { font: 600 .7rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: .38em .6em; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #c6cff5; border: 1px solid rgba(255, 255, 255, .14); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: #cfd6f6; font: 500 .95rem/1 var(--font); padding: .7em .85em; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-only { display: none !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #dfe4fb;
  padding: calc(var(--header-h) + 72px) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(69, 105, 255, .55), transparent 70%),
    radial-gradient(45% 45% at 8% 30%, rgba(58, 208, 245, .22), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(44, 58, 168, .7), transparent 70%),
    var(--ink);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 65% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner { text-align: center; max-width: 900px; margin-inline: auto; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #8fb0ff, #3ad0f5 60%, #7ef0d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b9c2ea; max-width: 700px; margin: 0 auto 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: .6em; padding: .45em .95em .45em .5em; margin-bottom: 1.6em;
  border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #d9e0ff; font: 500 .88rem/1.2 var(--font);
}
.pill b { background: var(--grad); color: #fff; font-weight: 600; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 2.2em 0 0; padding: 0; list-style: none; color: #aab4e0; font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust svg { width: 18px; height: 18px; stroke: var(--mint); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- App mockup ---- */
.mockup-stage { position: relative; margin-top: 64px; perspective: 1800px; }
.mockup-stage::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8%; bottom: -10%; background: radial-gradient(closest-side, rgba(69, 105, 255, .55), transparent); filter: blur(40px); z-index: -1; }
.mockup {
  position: relative; display: grid; grid-template-columns: 210px 1fr; overflow: hidden;
  border-radius: 22px 22px 0 0; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0;
  background: #f4f6fb; box-shadow: var(--shadow-lg); text-align: left; color: var(--text);
  transform: rotateX(8deg); transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  font-size: 13px; line-height: 1.4;
}
.mockup.in { transform: rotateX(0deg); }
.mk-side { background: linear-gradient(180deg, #2d3aa0, #1a2370); color: #d7dcff; padding: 18px 14px; }
.mk-logo { display: flex; align-items: center; gap: 8px; color: #fff; font: 700 18px/1 var(--font-display); margin-bottom: 18px; }
.mk-logo img { width: 22px; }
.mk-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8f9be0; margin: 14px 8px 6px; }
.mk-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; color: #cdd3fb; }
.mk-item i { width: 14px; height: 14px; border-radius: 4px; border: 1.6px solid currentColor; opacity: .8; }
.mk-item.on { background: #fff; color: var(--indigo); font-weight: 600; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.mk-main { padding: 18px 22px 26px; min-width: 0; }
.mk-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mk-crumb { color: var(--blue); font-weight: 500; }
.mk-crumb span { color: var(--muted); }
.mk-zev { margin-left: auto; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 500; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.mk-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-align: center; }
.mk-kpi small { display: block; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mk-kpi b { display: block; font: 700 18px/1.3 var(--font-display); margin: 4px 0 2px; }
.mk-kpi em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.mk-kpi.red b { color: #c0322e; }
.mk-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.mk-card h4 { font: 700 13px/1.2 var(--font-display); margin: 0 0 10px; letter-spacing: 0; }
.mk-bars { display: flex; align-items: flex-end; gap: 7px; height: 120px; padding-top: 6px; }
.mk-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #6b8bff, #3949c4); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.mk-bars span:nth-child(2n) { background: linear-gradient(180deg, #7fe3ff, #39b5d8); }
.mk-line { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.mk-line:last-child { border-bottom: 0; }
.mk-line b { font-weight: 600; }
.mk-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e6f9f1; color: #138a5e; }
.mk-badge.warn { background: #fff4e0; color: #a86400; }
@keyframes grow { from { transform: scaleY(0); } }

/* floating chips */
.chip-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .96); color: var(--text); border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 18px 40px -14px rgba(10, 15, 60, .5); font-size: 13px; line-height: 1.3; text-align: left;
  animation: float 6s ease-in-out infinite;
}
.chip-float b { display: block; font-family: var(--font-display); font-size: 14px; }
.chip-float small { color: var(--muted); }
.chip-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.chip-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { left: -26px; top: 58%; }
.chip-2 { right: -22px; bottom: 16%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---- Sections ---- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #c4cbec; isolation: isolate; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 20%, rgba(69, 105, 255, .35), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(58, 208, 245, .15), transparent 70%); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-dark .section-head p { color: #aab3dc; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1em; }
.eyebrow-light, .section-dark .eyebrow { color: var(--cyan); }

/* page hero (podstranice) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #c4cbec; padding: calc(var(--header-h) + 64px) 0 clamp(56px, 8vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 85% 0%, rgba(69, 105, 255, .5), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(58, 208, 245, .18), transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 860px; }
.page-hero .lead { font-size: 1.15rem; max-width: 720px; color: #b4bde6; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; padding: 0; margin: 0 0 1.4em; font-size: .88rem; color: #8f9ad0; }
.crumbs a { color: #c2cbf5; }
.crumbs li + li::before { content: "/"; margin-right: .5em; opacity: .5; }

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dbf3; }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-top: 18px; }
.card .more { display: inline-flex; gap: .4em; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef2ff, #e3f7fd); color: var(--indigo);
  box-shadow: inset 0 0 0 1px rgba(69, 105, 255, .14);
}
.ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.grad { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(69, 105, 255, .8); }
.card-dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.card-dark:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); box-shadow: none; }
.card-dark p { color: #a9b2da; }
.card-dark .ic { background: rgba(69, 105, 255, .16); color: #9fb5ff; box-shadow: inset 0 0 0 1px rgba(143, 176, 255, .25); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.bento .card { display: flex; flex-direction: column; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; }
.card.feature-xl { background: var(--grad-deep); color: #c8cff0; border: 0; overflow: hidden; }
.card.feature-xl h3 { color: #fff; font-size: 1.5rem; }
.card.feature-xl p { color: #b7c0ea; }
.card.feature-xl .ic { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.split-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.tag { font: 600 .78rem/1 var(--font); padding: .55em .85em; border-radius: 999px; background: var(--bg-tint); color: var(--indigo); }
.feature-xl .tag { background: rgba(255, 255, 255, .1); color: #e2e7ff; }

/* invoice visual */
.inv { margin-top: 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 16px 18px; font-size: .9rem; }
.inv-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #d3d9fa; }
.inv-row:last-child { border: 0; padding-top: 12px; font-weight: 700; color: #fff; font-size: 1rem; }
.inv-row span:first-child { display: inline-flex; align-items: center; gap: .55em; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: .95rem; line-height: 1.45; display: block; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 800 2.4rem/1 var(--font-display); background: linear-gradient(90deg, #8fb0ff, #3ad0f5); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.step p { color: #a9b2da; margin: 0; font-size: .97rem; }

/* split (tekst + vizual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 1px; padding: 4px; border-radius: 50%; background: #e4f8f0; stroke: #13946a; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.section-dark .checks li { color: #aab3dc; }
.section-dark .checks li b { color: #fff; }
.section-dark .checks svg { background: rgba(47, 211, 155, .15); stroke: var(--mint); }

/* visual panel */
.panel { position: relative; border-radius: var(--radius-lg); padding: 26px; background: linear-gradient(160deg, #f3f6ff, #eaf7fd); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-card { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.panel-card + .panel-card { margin-top: 12px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 600; font-size: .95rem; }
.meter { height: 9px; border-radius: 99px; background: #edf0f8; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.list-mini { display: grid; gap: 8px; font-size: .92rem; }
.list-mini div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.list-mini b { color: var(--text); font-weight: 600; }

/* roles */
.role { display: flex; flex-direction: column; }
.role .role-for { font: 700 .76rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-top: 20px; }
.role h3 { margin-top: 8px; }
.role ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--muted); font-size: .96rem; }
.role li { padding-left: 22px; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* module list (funkcionalnosti) */
.module { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.module:first-child { border-top: 0; }
.module h3 { margin-top: 2px; font-size: 1.3rem; }
.module p { color: var(--muted); }
.module ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 26px; color: var(--muted); font-size: .96rem; }
.module li { padding-left: 22px; position: relative; }
.module li::before { content: ""; position: absolute; left: 0; top: .48em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.toc a { color: var(--muted); padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--indigo); background: var(--bg-tint); border-left-color: var(--blue); }
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #d3dbf3; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font: 600 1.06rem/1.4 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* partners */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.partner { display: flex; gap: 22px; align-items: flex-start; }
.partner-logo { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 800 1.35rem/1 var(--font-display); color: #fff; }
.partner .role-for { margin-top: 0; }

/* CTA */
.cta-band { padding-top: 0; }
.section-soft + .cta-band, .section-dark + .cta-band { padding-top: clamp(72px, 10vw, 128px); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(36px, 6vw, 72px);
  background: var(--grad-deep); color: #c3caef; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; }
.cta-card p { font-size: 1.1rem; margin: 0; }
.cta-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -220px; background: radial-gradient(closest-side, rgba(58, 208, 245, .45), transparent); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); }
.contact-item:hover { color: var(--text); border-color: #cdd6f2; }
.contact-item small { display: block; color: var(--muted); font-size: .85rem; }
.contact-item b { font-family: var(--font-display); font-size: 1.05rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field label small { color: var(--muted-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--text);
  padding: .85em 1em; border-radius: 12px; border: 1px solid #d6dcec; background: #fbfcff;
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4em; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(69, 105, 255, .14); }
.captcha { display: flex; align-items: center; gap: 12px; }
.captcha-q { font: 700 1.1rem/1 var(--font-display); background: var(--bg-tint); color: var(--indigo); padding: .75em 1em; border-radius: 12px; white-space: nowrap; }
.captcha input { max-width: 120px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 20px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #128a5f; }
.form-status.err { color: #c0322e; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }

/* prose (privatnost) */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: #9aa4d2; padding: 80px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin: 18px 0; max-width: 360px; }
.footer-mail { color: #fff; font-weight: 600; font-family: var(--font-display); font-size: 1.1rem; }
.footer-mail:hover { color: var(--cyan); }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #b6bee6; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .ver { opacity: .55; }
.brand-light { margin-right: 0; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.nf b { display: block; font: 800 clamp(6rem, 18vw, 11rem)/1 var(--font-display); background: linear-gradient(90deg, #8fb0ff, #3ad0f5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Reveal animacije ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border-left: 0; background: var(--bg-soft); }
  .chip-1 { left: 8px; } .chip-2 { right: 8px; }
}
@media (max-width: 920px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 26px; background: rgba(10, 15, 46, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav-mobile-only { display: inline-flex !important; margin-top: 10px; color: var(--ink) !important; justify-content: center; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .split, .contact-grid, .cta-card, .partners { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-4, .b-3 { grid-column: span 2; } .b-2 { grid-column: span 1; }
  .cta-actions { justify-content: flex-start; }
  .mockup { grid-template-columns: 1fr; }
  .mk-side { display: none; }
  .mk-kpis { grid-template-columns: repeat(2, 1fr); }
  .chip-float { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(1200px, 100% - 32px); }
  :root { --header-h: 64px; }
  .brand-tag { display: none; }
  .btn-login { padding: .62em .95em; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-actions .btn { width: 100%; }
  .grid-4, .steps, .bento, .stats { grid-template-columns: 1fr; }
  .b-2, .b-3, .b-4 { grid-column: auto; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .mk-row { grid-template-columns: 1fr; }
  .mk-main { padding: 14px; }
  .mk-top .mk-crumb { display: none; }
  .mk-zev { margin-left: 0; }
  .form-row, .module ul { grid-template-columns: 1fr; }
  .module { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions .btn { width: 100%; }
  .card { padding: 24px; }
  .partner { flex-direction: column; }
}
@media (max-width: 640px) { .pill { font-size: .8rem; } }
