/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens (palette from smartklik.si) ---------- */
:root {
  --navy: #0b1f3a;
  --navy-2: #0f3a5e;
  --navy-3: #0a5666;
  --blue: #1d4ed8;
  --cyan: #0891b2;
  --cyan-dark: #0e7490;
  --cyan-light: #67e8f9;
  --mint: #14b8a6;
  --mint-light: #5eead4;
  --bg: #f4f8fc;
  --surface: #fff;
  --tint: #ecfeff;
  --text: #0b1f3a;
  --muted: #5b6b82;
  --line: #d9e5f2;
  --on-dark: #eef5fc;
  --on-dark-muted: #a9bcd3;
  --radius: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--font);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(8, 145, 178, .25); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Ambient chrome ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, .09), transparent 62%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  pointer-events: none;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Nav (light text over the hero, white pill once scrolled) ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(1180px, 100% - 28px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  transition: background .35s, border-color .35s, box-shadow .35s, color .35s;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, .88);
  border-color: var(--line);
  color: var(--navy);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 34px -12px rgba(11, 31, 58, .22);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.12rem/1 var(--display); letter-spacing: -.02em; }
.brand b { font-weight: 700; color: var(--cyan-light); transition: color .35s; }
.nav.is-stuck .brand b { color: var(--cyan); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  opacity: .8;
  transition: opacity .2s, background .2s;
}
.nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.nav.is-stuck .nav__links a:hover { background: rgba(8, 145, 178, .1); }
.lang { display: flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; transition: border-color .35s; }
.nav.is-stuck .lang { border-color: var(--line); }
.lang button {
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .75;
  transition: color .2s, background .2s, opacity .2s;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); opacity: 1; }
.nav.is-stuck .lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--cyan); color: #fff; box-shadow: 0 12px 28px -12px rgba(8, 145, 178, .8); }
.btn--primary:hover { transform: translateY(-2px); background: var(--cyan-dark); box-shadow: 0 18px 38px -14px rgba(8, 145, 178, .9); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; }
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .16); }
.btn--lg { padding: 16px 28px; font-size: 1.06rem; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(8, 145, 178, .16); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.7rem); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.1; font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.17rem); text-wrap: pretty; }
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 35%, var(--mint) 70%, var(--cyan) 100%) 0 0 / 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 130px 0 90px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 62%, var(--navy-3) 100%);
  color: #fff;
}
.hero::before {
  /* fine grid that fades out towards the edges */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-webgl .hero__canvas { display: none; }
.no-webgl .hero { background: radial-gradient(45% 55% at 78% 45%, rgba(8, 145, 178, .45), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-2) 62%, var(--navy-3)); }
.hero__fade { display: none; position: absolute; inset: auto 0 0 0; height: 70%; background: linear-gradient(transparent, rgba(11, 31, 58, .82) 45%, rgba(11, 31, 58, .92)); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; }
.hero__inner > * { max-width: 640px; }
.hero h1 { margin: 22px 0 22px; }
.hero .eyebrow { color: var(--cyan-light); }
.hero .eyebrow i { box-shadow: 0 0 0 5px rgba(103, 232, 249, .18); }
.hero .lead { color: rgba(255, 255, 255, .82); }
.hero .grad { display: inline-block; background-image: linear-gradient(100deg, var(--cyan-light) 0%, #a5f3fc 35%, var(--mint-light) 70%, var(--cyan-light) 100%); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 38px; margin-top: 54px; }
.stats li { display: grid; gap: 2px; }
.stats strong { font: 600 1.12rem/1.3 var(--display); letter-spacing: -.01em; }
.stats span { color: rgba(255, 255, 255, .62); font-size: .84rem; }

.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  -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; align-items: center; gap: 44px; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font: 700 clamp(1.5rem, 3.4vw, 2.5rem)/1 var(--display); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(11, 31, 58, .32); white-space: nowrap; }
.marquee i { width: 9px; height: 9px; flex: none; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(calc(-50% - 22px)); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section__head { max-width: 700px; margin-bottom: clamp(38px, 5vw, 62px); }
.section__head h2 { margin: 18px 0 16px; }

.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- App cards ---------- */
.apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.app { grid-column: span 2; perspective: 1200px; }
.app:nth-child(2), .app:nth-child(5) { --rd: .08s; }
.app:nth-child(3), .app:nth-child(6) { --rd: .16s; }
.app:nth-child(7) { grid-column: 2 / span 2; }
.app:nth-child(8) { grid-column: 4 / span 2; --rd: .08s; }
/* --a: accent on the dark mock panel, --at: accent for text on white */
.app--cyan { --a: 34 211 238; --at: 14 116 144; }
.app--mint { --a: 45 212 191; --at: 15 118 110; }
.app--blue { --a: 96 165 250; --at: 29 78 216; }
.app--violet { --a: 167 139 250; --at: 109 40 217; }

.card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 18px 40px -30px rgba(11, 31, 58, .3);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .3s, box-shadow .4s;
  will-change: transform;
}
.card.is-tilting { transition: transform .1s linear, border-color .3s, box-shadow .4s; }
.card::before {
  /* pointer-following highlight */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--at) / .1), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover, .card:focus-within { border-color: rgb(var(--at) / .45); box-shadow: 0 1px 2px rgba(11, 31, 58, .04), 0 36px 70px -34px rgb(var(--at) / .55); }
.card:hover::before, .card:focus-within::before { opacity: 1; }

.card__visual {
  /* dark "screen" — mock content inside uses the on-dark palette */
  --muted: var(--on-dark-muted);
  position: relative;
  height: 232px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(120% 110% at 50% 0%, rgb(var(--a) / .26), transparent 62%), linear-gradient(160deg, var(--navy), var(--navy-2));
  color: var(--on-dark);
  transform: translateZ(34px);
  pointer-events: none;
}
.card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 10px 10px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.num { margin-right: 4px; color: rgb(var(--at)); font: 700 .8rem/1 var(--mono); }
.tag { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .74rem; font-weight: 500; white-space: nowrap; }
.card h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.15; font-weight: 700; }
.card__tagline { margin-top: 6px; color: rgb(var(--at)); font-weight: 600; }
.card__desc { margin-top: 14px; color: var(--muted); font-size: .96rem; }
.card__list { display: grid; gap: 8px; margin: 18px 0 24px; font-size: .92rem; }
.card__list li { position: relative; padding-left: 24px; }
.card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 11px;
  height: 6px;
  border: solid rgb(var(--at));
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 10px 16px 10px 18px;
  border: 1px solid rgb(var(--at) / .35);
  border-radius: 999px;
  background: rgb(var(--at) / .07);
  color: rgb(var(--at));
  font-size: .92rem;
  font-weight: 600;
  transition: background .25s, color .25s;
}
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card__link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.card:hover .card__link { background: rgb(var(--at)); color: #fff; }
.card:hover .card__link svg { transform: translate(2px, -2px); }
.card__link:focus-visible { outline: none; }
.card:focus-within { outline: 2px solid rgb(var(--at)); outline-offset: 3px; }

/* ---------- Mock visuals ---------- */
.mock { position: absolute; inset: 0; display: grid; place-items: center; font-size: .82rem; }

/* OmniSafe */
.omni__tag { width: min(280px, 84%); padding: 16px 18px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(6, 18, 36, .72); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); animation: float 7s ease-in-out infinite; }
.omni__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 500 .7rem/1 var(--mono); }
.omni__top b { padding: 5px 9px; border-radius: 7px; background: rgb(var(--a)); color: #06202b; font-size: .78rem; }
.omni__price { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.omni__price strong { font: 700 1.75rem/1 var(--display); letter-spacing: -.03em; }
.omni__price s { color: var(--muted); }
.omni__chart { display: block; width: 100%; height: 50px; margin-top: 10px; }
.omni__area { fill: rgb(var(--a) / .14); }
.omni__line { fill: none; stroke: rgb(var(--a)); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s .3s ease-out; }
.is-in .omni__line { stroke-dashoffset: 0; }
.omni__note { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font-size: .72rem; }
.omni__note i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--mint-light); box-shadow: 0 0 0 4px rgba(94, 234, 212, .2); }

/* Freezr */
.fr { align-content: center; gap: 8px; padding: 0 22px; }
.fr > * { width: min(270px, 100%); }
.fr__head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; font: 600 .95rem/1 var(--display); }
.fr__head svg { width: 20px; height: 20px; color: rgb(var(--a)); animation: spin 14s linear infinite; }
.fr__head em { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgb(var(--a) / .18); color: rgb(var(--a)); font: 700 .72rem/1.3 var(--mono); }
.fr__item { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(6, 18, 36, .6); opacity: 0; transform: translateX(-16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fr__item:nth-of-type(2) { transition-delay: .25s; }
.fr__item:nth-of-type(3) { transition-delay: .4s; }
.fr__item:nth-of-type(4) { transition-delay: .55s; }
.is-in .fr__item, html:not(.js) .fr__item { opacity: 1; transform: none; }
.fr__item b { padding: 3px 9px; border-radius: 999px; background: rgb(var(--a) / .18); color: rgb(var(--a)); font-size: .72rem; }
.fr__item b.warn { background: rgba(251, 191, 36, .16); color: #fbbf24; }
.fr__item b.bad { background: rgba(248, 113, 113, .16); color: #fca5a5; }

/* Dashio */
.dash { display: block; perspective: 240px; perspective-origin: 50% 42%; background: #071426; font-family: var(--mono); }
.dash__sky { position: absolute; inset: 0 0 58% 0; background: radial-gradient(60% 120% at 50% 100%, rgb(var(--a) / .5), transparent 70%), linear-gradient(var(--navy), var(--navy-2)); }
.dash__road {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 300px;
  height: 320px;
  margin-left: -150px;
  transform: rotateX(72deg);
  transform-origin: 50% 100%;
  background:
    linear-gradient(180deg, transparent 50%, rgb(var(--a)) 50%) 50% 0 / 7px 80px repeat-y,
    linear-gradient(90deg, rgba(255, 255, 255, .7) 0 2%, transparent 2% 98%, rgba(255, 255, 255, .7) 98%),
    #0a1a30;
  animation: road .7s linear infinite;
}
@keyframes road { to { background-position: 50% 80px, 0 0, 0 0; } }
.dash__rec { position: absolute; left: 14px; top: 13px; display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 7px; background: rgba(4, 13, 26, .65); font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.dash__rec i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: blink 1.2s steps(2, jump-none) infinite; }
.dash__rec span { color: var(--muted); font-weight: 500; }
.dash__speed { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: baseline; gap: 5px; padding: 6px 10px; border-radius: 9px; background: rgba(4, 13, 26, .65); }
.dash__speed strong { font-size: 1.55rem; line-height: 1; color: rgb(var(--a)); }
.dash__speed span { color: var(--muted); font-size: .68rem; }
.dash__gps { position: absolute; right: 14px; bottom: 12px; padding: 6px 10px; border-radius: 9px; background: rgba(4, 13, 26, .65); color: var(--muted); font-size: .64rem; line-height: 1.45; text-align: right; }
@keyframes blink { 50% { opacity: .15; } }

/* TidyShot */
.ts { align-content: center; gap: 14px; }
.ts__stack { position: relative; width: 132px; height: 150px; }
.ts__photo { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: linear-gradient(180deg, #7dd3fc 0 55%, #4d7c5f 55%); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .8); }
.ts__photo--back { transform: rotate(-7deg) scale(.94); background: linear-gradient(180deg, #fcd34d 0 50%, #b45309 50%); opacity: .55; }
.ts__photo--top { animation: swipe 4.2s var(--ease) infinite; }
.ts__keep { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border: 2px solid rgb(var(--a)); border-radius: 8px; color: rgb(var(--a)); background: rgba(4, 13, 26, .55); font: 700 .7rem/1.2 var(--mono); text-transform: uppercase; opacity: 0; animation: stamp 4.2s var(--ease) infinite; }
.ts__hints { display: flex; gap: 6px; }
.ts__hints span { display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(4, 13, 26, .65); color: var(--muted); font-size: .68rem; }
.ts__hints b { color: rgb(var(--a)); }
.ts__hints em { font-style: normal; }
@keyframes swipe { 0%, 30% { transform: none; opacity: 1; } 55% { transform: translateX(120px) rotate(14deg); opacity: 0; } 56% { transform: none; opacity: 0; } 70%, 100% { opacity: 1; } }
@keyframes stamp { 0%, 18% { opacity: 0; } 30%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* Deskshot organizer */
.dk__win { width: min(250px, 84%); padding: 0 12px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(6, 18, 36, .78); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); animation: float 7s ease-in-out infinite; }
.dk__bar { display: flex; gap: 6px; padding: 10px 0 9px; }
.dk__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.dk__shot { position: relative; height: 82px; border-radius: 8px; background: linear-gradient(180deg, #9fd0ef 0 62%, #6f8f5f 62%); overflow: hidden; }
.dk__shot span { position: absolute; left: 28%; top: 18%; width: 44%; height: 52%; border-radius: 4px; background: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.dk__name { margin: 9px 0 8px; color: var(--muted); font: 500 .68rem/1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk__actions { display: flex; gap: 6px; }
.dk__actions span { display: grid; place-items: center; flex: 1; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.dk__actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dk__actions .on { background: rgb(var(--a)); color: #06202b; animation: pulse 2.4s ease-in-out infinite; }

/* Intruder Alert */
.ia__sweep { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: conic-gradient(from 0deg, rgb(var(--a) / .38), transparent 22%); animation: spin 4.5s linear infinite; }
.ia__ring { position: absolute; left: 50%; top: 46%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border: 1px solid rgb(var(--a) / .7); border-radius: 50%; opacity: 0; animation: ping 3.6s ease-out infinite; }
.ia__ring:nth-of-type(3) { animation-delay: 1.2s; }
.ia__ring:nth-of-type(4) { animation-delay: 2.4s; }
@keyframes ping { 0% { transform: scale(.22); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.ia__phone { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border: 1px solid rgb(var(--a) / .6); border-radius: 18px; background: var(--navy); color: rgb(var(--a)); box-shadow: 0 0 34px rgb(var(--a) / .5); }
.ia__phone svg { width: 28px; height: 28px; }
.ia__status { position: absolute; left: 14px; top: 13px; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(4, 13, 26, .65); font-size: .72rem; font-weight: 500; }
.ia__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-light); box-shadow: 0 0 0 4px rgba(94, 234, 212, .2); }
.ia__modes { position: absolute; left: 50%; bottom: 12px; display: flex; padding: 3px; border-radius: 999px; background: rgba(4, 13, 26, .65); font-size: .7rem; transform: translateX(-50%); white-space: nowrap; }
.ia__modes > * { padding: 4px 12px; border-radius: 999px; color: var(--muted); font-weight: 500; }
.ia__modes b { background: rgb(var(--a)); color: #06202b; font-weight: 600; }

/* Kvizko */
.kv { align-content: center; gap: 9px; padding: 0 20px; }
.kv > * { width: min(300px, 100%); }
.kv__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 500 .7rem/1 var(--mono); }
.kv__top b { color: rgb(var(--a)); font-weight: 700; }
.kv__bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.kv__bar i { display: block; height: 100%; border-radius: inherit; background: rgb(var(--a)); transform-origin: 0 50%; animation: countdown 12s linear infinite; }
@keyframes countdown { to { transform: scaleX(0); } }
.kv__q { margin: 3px 0 2px; font: 600 .98rem/1.3 var(--display); letter-spacing: -.01em; }
.kv__answers { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.kv__answers span { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(6, 18, 36, .6); font-size: .78rem; white-space: nowrap; }
.kv__answers b { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--muted); font: 700 .66rem/1 var(--mono); }
.kv__answers .ok { border-color: rgb(var(--a) / .7); background: rgb(var(--a) / .2); animation: pulse 2.4s ease-in-out infinite; }
.kv__answers .ok b { background: rgb(var(--a)); color: #06202b; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgb(var(--a) / .16); } }

@keyframes float { 50% { transform: translateY(-7px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Websites ---------- */
.web { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.web__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.web__copy h2 { margin: 18px 0 16px; }
.web__list { display: grid; gap: 18px; margin: 34px 0 38px; }
.web__list li { display: flex; align-items: flex-start; gap: 16px; }
.web__list svg { flex: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(8, 145, 178, .28); border-radius: 13px; background: var(--tint); color: var(--cyan); }
.web__list strong { display: block; font: 600 1.03rem/1.35 var(--display); letter-spacing: -.01em; }
.web__list span { color: var(--muted); font-size: .94rem; }

.web__visual { position: relative; }
.web__visual::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(8, 145, 178, .2), transparent); pointer-events: none; }
.site { position: relative; padding: 34px 6% 54px; perspective: 1400px; animation: bob 8s ease-in-out infinite; }
.site__win {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  box-shadow: -44px 54px 80px -40px rgba(11, 31, 58, .6);
  transform: rotateX(calc(9deg + var(--rx, 0deg))) rotateY(calc(-20deg + var(--ry, 0deg)));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.site.is-tilting .site__win { transition: transform .1s linear; }
.site__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site__bar i { width: 9px; height: 9px; border-radius: 50%; background: #fb7185; }
.site__bar i:nth-child(2) { background: #fbbf24; }
.site__bar i:nth-child(3) { background: #34d399; }
.site__bar span { flex: 1; max-width: 56%; margin-left: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--on-dark-muted); font: 500 .68rem/1.4 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site__page { padding: 6% 7% 8%; transform-style: preserve-3d; }
.site__nav { display: flex; align-items: center; gap: 10px; margin-bottom: 9%; }
.site__nav b { width: 22px; height: 22px; margin-right: auto; border-radius: 7px; background: linear-gradient(135deg, var(--cyan), var(--mint)); }
.site__nav span { width: 9%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.site__h { width: 60%; height: 18px; border-radius: 6px; background: linear-gradient(90deg, #fff, #cfeefb); transform: translateZ(40px); }
.site__h--2 { width: 42%; margin-top: 10px; background: linear-gradient(90deg, var(--cyan-light), var(--mint-light)); }
.site__p { width: 52%; height: 7px; margin-top: 18px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
.site__p--2 { width: 38%; margin-top: 8px; }
.site__btn { width: 22%; height: 26px; margin-top: 20px; border-radius: 999px; background: var(--cyan); box-shadow: 0 12px 26px -8px rgba(8, 145, 178, .9); transform: translateZ(62px); }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; width: 68%; margin-top: 9%; transform: translateZ(24px); }
.site__cards i { aspect-ratio: 5 / 3; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(255, 255, 255, .06); }
.site__phone { position: absolute; right: -6%; bottom: -9%; display: grid; align-content: start; gap: 8px; width: 25%; aspect-ratio: 9 / 17; padding: 26px 11px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 22px; background: var(--navy); box-shadow: -18px 26px 44px -18px rgba(11, 31, 58, .75); transform: translateZ(95px); }
.site__phone span { position: absolute; left: 50%; top: 9px; width: 34%; height: 5px; margin-left: -17%; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.site__phone i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.site__phone i:first-of-type { width: 78%; background: linear-gradient(90deg, #fff, #cfeefb); }
.site__phone i:nth-of-type(2) { width: 56%; background: linear-gradient(90deg, var(--cyan-light), var(--mint-light)); }
.site__phone b { aspect-ratio: 4 / 3; margin-top: 4px; border-radius: 10px; background: linear-gradient(140deg, var(--cyan), var(--mint)); }
.site__chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 36px -16px rgba(11, 31, 58, .45); font: 700 .78rem/1 var(--mono); white-space: nowrap; }
.site__chip--code { left: -8%; top: 34%; color: var(--cyan); font-size: 1rem; transform: translateZ(115px); animation: bob 6s ease-in-out infinite; }
.site__chip--speed { right: 10%; top: -20px; color: #0f766e; transform: translateZ(80px); animation: bob 7s -2s ease-in-out infinite; }
.site__chip--speed i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(20, 184, 166, .2); }
@keyframes bob { 50% { translate: 0 -9px; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(11, 31, 58, .04); transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s, box-shadow .3s; }
.pillar:nth-child(2) { --rd: .1s; }
.pillar:nth-child(3) { --rd: .2s; }
.pillar:hover { border-color: rgba(8, 145, 178, .5); box-shadow: 0 30px 60px -34px rgba(8, 145, 178, .55); }
.pillar__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; border: 1px solid rgba(8, 145, 178, .28); border-radius: 15px; background: var(--tint); color: var(--cyan); transition: transform .5s var(--ease); }
.pillar:hover .pillar__icon { transform: rotateY(180deg); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: 10px; font-size: 1.22rem; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.pillar p { color: var(--muted); font-size: .96rem; }

/* ---------- CTA ---------- */
#kontakt { padding-top: 0; }
.cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(48px, 8vw, 92px) 24px;
  border-radius: 36px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(60% 110% at 50% 115%, rgba(20, 184, 166, .35), transparent 70%),
    linear-gradient(135deg, var(--navy), var(--navy-2) 62%, var(--navy-3));
  color: #fff;
  box-shadow: 0 40px 80px -44px rgba(11, 31, 58, .7);
}
.cta > :not(.cta__orb) { position: relative; }
.cta .lead { max-width: 540px; color: rgba(255, 255, 255, .8); }
.cta .btn { margin-top: 12px; }
.cta__alt { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.cta__alt a { color: #fff; font-weight: 600; }
.cta__alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta__orb { position: absolute; left: 50%; top: 50%; width: 0; height: 0; perspective: 900px; transform-style: preserve-3d; }
.cta__orb span { position: absolute; left: -330px; top: -330px; width: 660px; height: 660px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; animation: orbit 26s linear infinite; }
.cta__orb span:nth-child(2) { animation-duration: 34s; animation-direction: reverse; --tilt: 62deg; border-color: rgba(103, 232, 249, .3); }
.cta__orb span:nth-child(3) { animation-duration: 42s; --tilt: -58deg; border-color: rgba(94, 234, 212, .28); }
@keyframes orbit {
  from { transform: rotateX(72deg) rotateY(var(--tilt, 0deg)) rotateZ(0deg); }
  to { transform: rotateX(72deg) rotateY(var(--tilt, 0deg)) rotateZ(360deg); }
}

/* ---------- Footer ---------- */
.footer { padding: 54px 0 34px; background: var(--navy); color: rgba(255, 255, 255, .66); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer .brand { color: #fff; }
.footer__legal { margin-top: 16px; line-height: 1.75; }
.footer a:hover { color: #fff; }
.footer__legal a { color: var(--cyan-light); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.footer__col { display: grid; align-content: start; gap: 8px; font-weight: 500; }
.footer__col h2 { margin-bottom: 6px; color: rgba(255, 255, 255, .45); font: 600 .74rem/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.footer__copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }

/* ---------- Legal pages ---------- */
.page-hero { padding: 150px 0 60px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 62%, var(--navy-3) 100%); color: #fff; }
.page-hero .eyebrow { color: var(--cyan-light); }
.page-hero .eyebrow i { box-shadow: 0 0 0 5px rgba(103, 232, 249, .18); }
.page-hero h1 { margin: 18px 0 14px; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero__meta { color: rgba(255, 255, 255, .66); font-size: .9rem; }
.legal { padding: 44px 0 clamp(70px, 9vw, 120px); }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal-tabs { position: sticky; top: 100px; display: grid; gap: 4px; }
.legal-tabs a { padding: 10px 14px; border-radius: 12px; color: var(--muted); font-size: .95rem; font-weight: 500; transition: background .2s, color .2s; }
.legal-tabs a:hover { background: rgba(8, 145, 178, .08); color: var(--navy); }
.legal-tabs a[aria-current="page"] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--cyan-dark); font-weight: 600; }
.prose { padding: clamp(22px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose h2 { margin: 40px 0 12px; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.02em; }
.prose > h2:first-child, .prose > .note:first-child + h2 { margin-top: 0; }
.prose > .note:first-child { margin-bottom: 28px; }
.prose h3 { margin: 26px 0 8px; font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; }
.prose p, .prose ul, .prose .table-wrap { margin: 0 0 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--cyan-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.prose code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font: 500 .88em var(--mono); }
.prose .note { padding: 14px 16px; border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; background: var(--tint); }
.data { display: grid; grid-template-columns: minmax(140px, 230px) 1fr; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.data dt, .data dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.data dt { background: var(--bg); color: var(--muted); font-size: .9rem; }
.data dd { font-weight: 500; overflow-wrap: anywhere; }
.data dt:last-of-type, .data dd:last-of-type { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Še ena poteza */
.pz { align-content: center; gap: 14px; }
.pz__board { position: relative; width: 176px; padding: 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(6, 18, 36, .78); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); }
.pz__cells, .pz__layer { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 28px); gap: 4px; }
.pz__cells i { border-radius: 6px; background: rgba(255, 255, 255, .07); }
.pz__layer { position: absolute; inset: 8px; }
.pz__layer > span { display: grid; place-items: center; border-radius: 7px; font: 700 .8rem/1 var(--mono); }
.pz__exit { grid-area: 2 / 4; border: 2px dashed rgb(var(--a) / .7); color: rgb(var(--a)); }
.pz__switch { grid-area: 3 / 5; border: 2px dashed rgba(251, 146, 60, .75); color: #fb923c; }
.pz__blk, .pz__box { animation: pzslide 4.4s var(--ease) infinite; }
.pz__blk { grid-area: 2 / 1; grid-auto-flow: column; gap: 5px; background: #2dd4bf; box-shadow: 0 6px 14px -6px #2dd4bf; }
.pz__blk b { width: 3px; height: 7px; border-radius: 2px; background: #06202b; }
.pz__box { grid-area: 3 / 2; background: #fb923c; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .28), 0 6px 14px -6px #fb923c; }
.pz__hints { display: flex; gap: 6px; }
.pz__hints span { display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(4, 13, 26, .65); color: var(--muted); font-size: .68rem; }
.pz__hints b { color: rgb(var(--a)); }
.pz__hints em { font-style: normal; }
@keyframes pzslide { 0%, 22% { transform: none; } 48%, 82% { transform: translateX(calc(300% + 12px)); } 100% { transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .app, .app:nth-child(7), .app:nth-child(8) { grid-column: span 3; }
}
@media (max-width: 1020px) {
  .pillars { grid-template-columns: 1fr; }
  .web__grid { grid-template-columns: 1fr; }
  .site { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal-tabs { position: static; display: flex; gap: 6px; overflow-x: auto; }
  .legal-tabs a { white-space: nowrap; }
}
@media (max-width: 979px) {
  .hero { align-items: flex-end; padding-bottom: 70px; }
  .hero__canvas { opacity: .7; }
  .hero__fade { display: block; }
}
@media (max-width: 700px) {
  .hero { padding-top: 250px; }
  .nav { gap: 10px; }
  .nav__links { display: none; }
  .lang { margin-left: auto; }
  .apps { grid-template-columns: 1fr; }
  .app, .app:nth-child(7), .app:nth-child(8) { grid-column: auto; }
  .card__visual { height: 226px; }
  .stats { gap: 14px 26px; margin-top: 40px; }
  .cta { border-radius: 28px; }
  .site { padding: 30px 8% 46px; }
  .site__win { transform: rotateX(7deg) rotateY(-13deg); }
  .site__chip--code { left: -6%; }
  .btn--lg { padding: 14px 22px; font-size: 1rem; }
  .page-hero { padding: 120px 0 44px; }
  .data { grid-template-columns: 1fr; }
  .data dt { padding-bottom: 2px; border-bottom: 0; }
  .data dd { padding-top: 2px; }
  .data dd:last-of-type { border-bottom: 0; }
}

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