/* ==========================================================================
   Arctic Code — design system v2 (06.11.2026.)
   Princip: Apple (tipografija, razmaci, glass, pill dugmad, kartice 28px, ritam tamno/svijetlo).
   Sistemski font stack: na Apple uređajima renderuje se SF, drugdje Inter (self-host).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  --ink-0: #03040d;
  --ink-1: #0a0f1e;
  --ink-2: #111a33;
  --paper: #f5f5f7;
  --white: #ffffff;

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-ui: #2997ff;
  --link-light: #0066cc;
  --cyan: #00c8ff;

  --r-card: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.28, .11, .32, 1);

  /* zadano = tamna tema; .sec--light / .sec--white mijenjaju tokene */
  --fg: #f5f5f7;
  --fg-2: rgba(245, 245, 247, .68);
  --fg-3: rgba(245, 245, 247, .62);
  --line: rgba(255, 255, 255, .13);
  --card: rgba(255, 255, 255, .06);
  --accent: var(--blue-ui);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--ink-0); color: var(--fg);
  font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-optical-sizing: auto;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-ui); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(41, 151, 255, .35); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.wrap--wide { max-width: 1280px; }
.wrap--narrow { max-width: 820px; }
.sec { position: relative; padding-block: clamp(88px, 13vw, 190px); }
.sec--dark  { background: var(--ink-0); }
.sec--dark2 { background: var(--ink-1); }
.sec--light, .sec--white {
  --fg: #1d1d1f; --fg-2: #515154; --fg-3: #6e6e73;
  --line: rgba(0, 0, 0, .1); --card: #fff; --accent: var(--link-light);
  color: var(--fg);
}
.sec--light { background: var(--paper); }
.sec--white { background: var(--white); --card: var(--paper); }

/* ---------- Tipografija ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.t-hero { font-size: clamp(2.9rem, 8.2vw, 7rem); font-weight: 650; line-height: 1.0; letter-spacing: -.055em; }
.t-h1   { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.t-h2   { font-size: clamp(2.25rem, 5.8vw, 4.5rem); font-weight: 650; line-height: 1.04; letter-spacing: -.045em; }
.t-h3   { font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.t-lead { font-size: clamp(1.125rem, 1.8vw, 1.5rem); line-height: 1.42; letter-spacing: -.02em; color: var(--fg-2); font-weight: 400; }
.t-small { font-size: 14px; color: var(--fg-3); }
.center { text-align: center; }
.mx { margin-inline: auto; }
.grad { color: rgba(245, 245, 247, .48); }
.sec--light .grad, .sec--white .grad { color: #86868b; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 980px; border: 0;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); box-shadow: 0 8px 30px rgba(0, 113, 227, .4); }
.btn--ghost { background: transparent; color: var(--accent); border: 1px solid currentColor; }
.btn--ghost:hover { background: rgba(41, 151, 255, .12); }
.btn--light { background: #fff; color: #1d1d1f; }
.btn--light:hover { background: #f0f0f2; }
.btn--sm { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 18px; }
.link { color: var(--accent); font-size: 1.0625rem; display: inline-flex; align-items: center; gap: 6px; font-weight: 450; }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .25s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.center .cta-row, .cta-row.center, .hero__txt .cta-row, .phero .cta-row { justify-content: center; }

/* ---------- Navigacija ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 52px;
  background: rgba(3, 4, 13, .86);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__in { height: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -.025em; color: #f5f5f7; }
.logo__mark { height: 24px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 13.5px; color: rgba(245, 245, 247, .78); transition: color .2s; padding: 6px 0; }
.nav__links a:hover, .nav__links a[aria-current] { color: #fff; }
.nav__cta { margin-left: 4px; }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; background: none; border: 0; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #f5f5f7; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 24px; }
.menu-open .burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
.drawer {
  position: fixed; inset: 52px 0 0 0; z-index: 99; padding: 28px 24px 40px; overflow-y: auto;
  background: rgba(3, 4, 13, .92); -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6);
}
.drawer[hidden] { display: none; }
.drawer__in { display: flex; flex-direction: column; gap: 4px; max-width: 520px; margin-inline: auto; }
.drawer__in > a:not(.btn) { font-size: 28px; font-weight: 650; letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(8px); animation: drawerIn .5s var(--ease) forwards; }
.drawer__in > a:nth-child(2) { animation-delay: .05s; } .drawer__in > a:nth-child(3) { animation-delay: .1s; } .drawer__in > a:nth-child(4) { animation-delay: .15s; } .drawer__in > a:nth-child(5) { animation-delay: .2s; }
.drawer__cta { margin-top: 24px; }
.drawer__foot { margin-top: 28px; display: grid; gap: 8px; color: var(--fg-2); font-size: 15px; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; } .js .reveal[data-d="2"] { transition-delay: .16s; } .js .reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 24px 70px rgba(0, 0, 0, .38);
}

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: calc(52px + clamp(56px, 9vw, 120px)); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 28%), rgba(80, 165, 255, .11), transparent 62%), var(--ink-0); }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.hero::before { border-radius: 0; width: 150vw; max-width: 2200px; height: 980px; left: 50%; top: -250px; margin-left: calc(min(150vw, 2200px) / -2); background: radial-gradient(40% 50% at 28% 44%, rgba(0, 113, 227, .42), transparent 72%), radial-gradient(36% 48% at 72% 38%, rgba(110, 86, 255, .27), transparent 72%), radial-gradient(30% 38% at 50% 80%, rgba(48, 190, 255, .17), transparent 72%); filter: blur(54px); -webkit-mask-image: linear-gradient(#000 40%, transparent 100%); mask-image: linear-gradient(#000 40%, transparent 100%); animation: aurora 26s ease-in-out infinite alternate; will-change: transform; }
.hero::after { inset: 0; border-radius: 0; opacity: .055; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero > .wrap { position: relative; z-index: 1; }
.hero__txt { text-align: center; max-width: 960px; margin-inline: auto; }
.hero__txt .t-hero { margin-bottom: 26px; }
.hero__txt .t-lead { max-width: 680px; margin: 0 auto 36px; }

.hv { position: relative; margin: clamp(48px, 7vw, 88px) auto 0; max-width: 980px; perspective: 1600px; }
.hv__main { border-radius: 26px; padding: 18px 18px 22px; transform: rotateX(var(--hvr, 12deg)) scale(var(--hvs, .94)); transform-origin: 50% 100%; will-change: transform; }
.hero__txt { transform: translateY(var(--hty, 0px)); opacity: var(--hto, 1); will-change: transform, opacity; }
.hv__bar { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.hv__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hv__bar b { margin-left: 10px; font-weight: 500; font-size: 13px; color: var(--fg-3); }
.hv__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.hv__card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 18px; }
.hv__card h4 { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 138px; }
.bars i { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #4aa8ff, #1b5fd6); min-height: 14%; animation: grow 1.4s var(--ease) both; transform-origin: bottom; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, #7a8cff, #4338ca); }
@keyframes grow { from { transform: scaleY(.1); opacity: 0; } }
.rows { display: grid; gap: 10px; }
.rows div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--fg-2); }
.rows span { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(41, 151, 255, .18); color: var(--blue-ui); flex: none; }
.rows span svg { width: 13px; height: 13px; }
.rows em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--fg-3); }
.hv__toast { position: absolute; right: -22px; top: -26px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 20px; font-size: 14px; animation: floaty 7s ease-in-out infinite; }
.hv__toast span { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; }
.hv__toast b { display: block; font-weight: 600; font-size: 13.5px; } .hv__toast small { color: var(--fg-3); font-size: 12.5px; }
.hv__chip { position: absolute; left: -26px; bottom: 34px; padding: 12px 18px; border-radius: 18px; font-size: 14px; display: flex; align-items: center; gap: 10px; animation: floaty 8s ease-in-out -3s infinite; }
.hv__chip i { width: 9px; height: 9px; border-radius: 50%; background: #34c759; box-shadow: 0 0 12px #34c759; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
@media (max-width: 720px) {
  .hv__grid { grid-template-columns: 1fr; } .hv__card--rows { display: none; }
  .hv__toast { right: -6px; top: -34px; } .hv__chip { left: -6px; bottom: -22px; }
  .hv__main { transform: none; }
}

/* ---------- Statement ---------- */
.statement { font-size: clamp(1.75rem, 4.4vw, 3.25rem); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; max-width: 980px; }
.statement { color: #1d1d1f; }
.statement span:not(.w) { color: #6e6e73; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.bcard { background: var(--card); border-radius: var(--r-card); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .1); }
.bcard .ico { color: var(--accent); }
.bcard h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; }
.bcard p { color: var(--fg-2); font-size: 1.0625rem; }
.bcard .link { margin-top: auto; padding-top: 8px; }
.bcard--a { grid-column: span 4; background: var(--ink-1); color: #f5f5f7; --fg-2: rgba(245, 245, 247, .7); --accent: #2997ff; min-height: 340px; }
.bcard--a::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(41, 151, 255, .45), transparent 70%); }
.bcard--a > * { position: relative; z-index: 1; }
.bcard--b { grid-column: span 2; }
.bcard--c { grid-column: span 3; }
.bcard--d { grid-column: span 3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 6px 13px; border-radius: 980px; border: 1px solid var(--line); color: var(--fg-2); background: rgba(255, 255, 255, .04); }
.sec--light .chip, .sec--white .chip { background: rgba(0, 0, 0, .03); }
@media (max-width: 900px) { .bcard--a, .bcard--b, .bcard--c, .bcard--d { grid-column: span 6; } }

/* ---------- Rješenja (sticky priča) ---------- */
.stories { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; margin-top: 40px; }
.story { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; filter: brightness(.7); transition: filter .6s var(--ease); }
.story.is-on { filter: none; }
.story .t-h3 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.story .chips { margin-top: 6px; }
.story__feat { display: grid; gap: 10px; margin-top: 4px; }
.story__feat li { display: flex; gap: 12px; color: var(--fg-2); font-size: 1.0625rem; }
.story__feat li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(41, 151, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232997ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.stage { position: sticky; top: calc(50vh - 290px); height: 580px; }
.mock { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.mock.is-on { opacity: 1; transform: none; }
.mock--inline { display: none; }
@media (max-width: 960px) {
  .stories { display: block; } .stage { display: none; }
  .story { min-height: 0; filter: none; padding-block: 44px; border-top: 1px solid var(--line); }
  .mock--inline { display: block; position: relative; inset: auto; opacity: 1; transform: none; height: 420px; margin-top: 18px; }
}

/* mockupi (generički UI, bez stvarnih podataka) */
.win { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(165deg, #131d3a, #0a1022 70%); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 40px 90px rgba(0, 0, 0, .5); }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: var(--fg-3); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); } .win__bar span { margin-left: 8px; }
.win__body { flex: 1; display: flex; min-height: 0; }
.erp__side { width: 64px; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; border-right: 1px solid rgba(255, 255, 255, .08); }
.erp__side i { width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .08); } .erp__side i:first-child { background: var(--blue); }
.erp__main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.erp__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.kpi small { font-size: 11px; color: var(--fg-3); display: block; margin-bottom: 8px; }
.kpi div { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; } .kpi div b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #2997ff, #7a8cff); }
.erp__grid { flex: 1; display: grid; grid-template-columns: 54px repeat(5, 1fr); grid-template-rows: 26px repeat(5, 1fr); gap: 6px; font-size: 11px; color: var(--fg-3); min-height: 0; }
.erp__grid > span { display: grid; place-items: center; }
.slot { border-radius: 9px; padding: 6px 8px; font-size: 10.5px; line-height: 1.25; color: #fff; overflow: hidden; }
.slot.s1 { background: rgba(41, 151, 255, .55); } .slot.s2 { background: rgba(122, 140, 255, .55); } .slot.s3 { background: rgba(48, 209, 160, .45); } .slot.s4 { background: rgba(255, 159, 67, .45); } .slot.e { background: rgba(255, 255, 255, .04); }

.an { padding: 22px; gap: 22px; display: grid; grid-template-columns: 170px 1fr; align-items: center; flex: 1; }
.ring { width: 160px; height: 160px; border-radius: 50%; position: relative; background: conic-gradient(#30d158 0 74%, rgba(255, 255, 255, .09) 0); -webkit-mask: radial-gradient(farthest-side, transparent 68%, #000 69%); mask: radial-gradient(farthest-side, transparent 68%, #000 69%); }
.ring-wrap { position: relative; width: 160px; height: 160px; margin-inline: auto; }
.ring-wrap div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 12px; color: var(--fg-3); }
.ring-wrap div b { font-size: 34px; color: #fff; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.cmp { display: grid; gap: 16px; }
.cmp__row small { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-3); margin-bottom: 6px; }
.cmp__row div { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .08); margin-bottom: 5px; overflow: hidden; } .cmp__row div b { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #2997ff, #7a8cff); } .cmp__row div.avg b { background: rgba(255, 255, 255, .35); }
.an__foot { display: flex; gap: 10px; padding: 0 22px 20px; flex-wrap: wrap; }
.an__foot span { font-size: 12px; padding: 6px 12px; border-radius: 980px; background: rgba(255, 255, 255, .07); color: var(--fg-2); }

.phone { position: absolute; left: 50%; top: 50%; width: 270px; height: 540px; transform: translate(-50%, -50%); border-radius: 42px; padding: 10px; background: #05070f; border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 40px 90px rgba(0, 0, 0, .55); }
.mock--inline .phone { height: 400px; width: 210px; }
.phone__in { height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(170deg, #121b36, #0a0f1e); padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.phone__in::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 20px; border-radius: 12px; background: #000; transform: translateX(-50%); }
.phone h5 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.pk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pk div { padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 10.5px; color: var(--fg-3); } .pk b { display: block; height: 8px; width: 60%; margin-top: 8px; border-radius: 4px; background: linear-gradient(90deg, #2997ff, #7a8cff); }
.lead { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 11.5px; }
.lead i { width: 28px; height: 28px; border-radius: 50%; background: rgba(41, 151, 255, .3); flex: none; } .lead span { color: var(--fg-3); font-size: 10.5px; display: block; }
.push { position: absolute; left: 14px; right: 14px; top: 38px; padding: 11px 13px; border-radius: 18px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .2); font-size: 11.5px; display: flex; gap: 10px; align-items: center; animation: pushIn 6s var(--ease) infinite; }
.push i { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); flex: none; } .push b { display: block; font-size: 12px; }
@keyframes pushIn { 0%, 8% { transform: translateY(-120px); opacity: 0; } 16%, 70% { transform: none; opacity: 1; } 80%, 100% { transform: translateY(-120px); opacity: 0; } }

/* ---------- Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 64px; counter-reset: s; }
.step { padding: 0 22px 0 0; border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); counter-increment: s; display: block; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: .02em; }
.step h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -.025em; margin-bottom: 8px; }
.step p { color: var(--fg-2); font-size: 15.5px; line-height: 1.45; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; gap: 28px; } .step { padding-right: 0; } }

/* ---------- Zašto mi ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.why__i { background: var(--card); border-radius: var(--r-card); padding: clamp(28px, 3vw, 40px); }
.why__i .ico { color: var(--accent); margin-bottom: 18px; }
.why__i h3 { font-size: 1.5rem; font-weight: 650; letter-spacing: -.03em; margin-bottom: 8px; }
.why__i p { color: var(--fg-2); }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* ---------- Reference ---------- */
.shot { display: block; border-radius: 20px; overflow: hidden; background: #0a0f1e; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .28); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.shot img { width: 100%; height: auto; aspect-ratio: 1600 / 724; object-fit: cover; object-position: top; }
.shot__bar { display: flex; gap: 6px; padding: 11px 14px; background: rgba(255, 255, 255, .06); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
a.shot:hover { transform: translateY(-6px); box-shadow: 0 40px 90px rgba(0, 0, 0, .36); }
.refs3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.refc h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; margin: 18px 0 4px; }
.refc p { color: var(--fg-2); font-size: 15px; }
.refc .tag { font-size: 12.5px; font-weight: 600; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 900px) { .refs3 { grid-template-columns: 1fr; } }
.webgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 28px; margin-top: 56px; }
@media (max-width: 760px) { .webgrid { grid-template-columns: 1fr; } }
.solcards { display: grid; gap: 22px; margin-top: 56px; }
.solcard { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.4vw, 48px); border-radius: var(--r-card); background: var(--ink-1); color: #f5f5f7; position: relative; overflow: hidden; }
.solcard .stagebox { position: relative; height: 420px; }
.solcard h3 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 14px; }
.solcard p { color: var(--fg-2); margin-bottom: 18px; }
.solcard:nth-child(even) .stagebox { order: -1; }
@media (max-width: 900px) { .solcard { grid-template-columns: 1fr; } .solcard:nth-child(even) .stagebox { order: 0; } .solcard .stagebox { height: 380px; } }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1300px, 140vw); height: 640px; transform: translate(-50%, -50%); background: radial-gradient(40% 50% at 35% 50%, rgba(0, 113, 227, .42), transparent 72%), radial-gradient(36% 46% at 68% 46%, rgba(94, 92, 230, .26), transparent 72%); filter: blur(50px); pointer-events: none; animation: aurora2 22s ease-in-out infinite alternate; }
.cta > .wrap { position: relative; }
.cta .t-h2 { margin-bottom: 18px; } .cta .t-lead { max-width: 620px; margin: 0 auto 34px; }

/* ---------- Unutrašnje stranice ---------- */
.phero { padding-top: calc(52px + clamp(64px, 9vw, 120px)); padding-bottom: clamp(56px, 8vw, 100px); background: var(--ink-0); position: relative; overflow: hidden; text-align: center; }
.phero::before { content: ""; position: absolute; left: 50%; top: -380px; width: min(1500px, 150vw); height: 800px; margin-left: calc(min(1500px, 150vw) / -2); background: radial-gradient(38% 46% at 34% 42%, rgba(0, 113, 227, .40), transparent 72%), radial-gradient(32% 42% at 68% 40%, rgba(94, 92, 230, .24), transparent 72%); filter: blur(46px); -webkit-mask-image: linear-gradient(#000 40%, transparent 96%); mask-image: linear-gradient(#000 40%, transparent 96%); pointer-events: none; animation: aurora 28s ease-in-out infinite alternate; }
.phero > .wrap { position: relative; }
.phero .t-h1 { max-width: 900px; margin-inline: auto; margin-bottom: 20px; }
.phero .t-lead { max-width: 680px; margin-inline: auto; }

.svc { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.svc__n { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: .04em; }
.svc__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.svc__list li { display: flex; gap: 12px; font-size: 1.0625rem; line-height: 1.4; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--fg); }
.svc__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc__list { grid-template-columns: 1fr; } }
.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.fact { text-align: center; padding: 30px 16px; border-radius: var(--r-card); background: var(--card); }
.fact b { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; margin-bottom: 4px; }
.fact span { color: var(--fg-3); font-size: 14.5px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.prose { max-width: 760px; margin-inline: auto; } .prose h2 { font-size: 1.6rem; font-weight: 650; letter-spacing: -.03em; margin: 44px 0 12px; } .prose p, .prose li { color: var(--fg-2); margin-bottom: 12px; } .prose ul { padding-left: 20px; list-style: disc; } .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* ---------- Forme ---------- */
.form-card { background: var(--card); border-radius: var(--r-card); padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 80px rgba(0, 0, 0, .08); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .legend { font-size: 14px; font-weight: 600; color: var(--fg); }
.field label small { font-weight: 400; color: var(--fg-3); }
.in { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .18); background: #fff; color: #1d1d1f; font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
textarea.in { min-height: 140px; resize: vertical; line-height: 1.45; }
.in[aria-invalid="true"] { border-color: #d70015; }
.err { color: #d70015; font-size: 14px; min-height: 0; } .err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--fg-2); margin: 6px 0 22px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--link-light); text-decoration: underline; }
.alert { padding: 16px 18px; border-radius: 14px; font-size: 15.5px; margin-bottom: 18px; } .alert--ok { background: #e8f8ee; color: #0a5a2a; } .alert--bad { background: #fdecee; color: #8a0014; }

/* upitnik (ponuda) */
.quiz { max-width: 760px; margin-inline: auto; }
.progress { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .09); overflow: hidden; margin-bottom: 10px; } .progress b { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 4px; transition: width .5s var(--ease); }
.stepno { font-size: 13px; color: var(--fg-3); font-weight: 600; margin-bottom: 30px; letter-spacing: .02em; }
.qstep { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; } .js .qstep { display: none; } .js .qstep.on { display: block; animation: qIn .5s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(18px); } }
.qstep legend { padding: 0; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 8px; }
.qhint { color: var(--fg-3); margin-bottom: 26px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; } @media (max-width: 640px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; z-index: 1; }
.choice span { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1.5px solid rgba(0, 0, 0, .12); font-size: 17px; font-weight: 500; transition: border-color .2s, box-shadow .2s, background .2s, transform .2s var(--ease); }
.choice span .ico { color: var(--fg-3); flex: none; transition: color .2s; }
.choice:hover span { border-color: rgba(0, 0, 0, .3); }
.choice input:checked + span { border-color: var(--blue); background: #f0f7ff; box-shadow: 0 0 0 3px rgba(0, 113, 227, .16); } .choice input:checked + span .ico { color: var(--blue); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; }
.qnav .btn--ghost { color: var(--fg-2); border-color: rgba(0, 0, 0, .2); }
.qdone { text-align: center; padding: 40px 0; } .qdone .ico { color: #30d158; margin: 0 auto 18px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink-1); border-top: 1px solid rgba(255, 255, 255, .08); padding: 64px 0 28px; font-size: 14.5px; color: var(--fg-2); }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.foot__brand p { margin-top: 16px; max-width: 300px; }
.foot__col h2 { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; }
.foot__col a { display: block; padding: 5px 0; color: var(--fg-2); transition: color .2s; } .foot__col a:hover { color: #fff; }
.foot__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--fg-3); font-size: 13px; } .foot__bar a:hover { color: #fff; }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- Blog ---------- */
.bloglist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; } @media (max-width: 900px) { .bloglist { grid-template-columns: 1fr; } }
.post-card { background: var(--card); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); } .post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .1); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card div { padding: 22px 24px 26px; display: grid; gap: 8px; } .post-card h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; } .post-card p { color: var(--fg-2); font-size: 15px; } .post-card small { color: var(--fg-3); font-size: 13px; }
.article { max-width: 720px; margin-inline: auto; } .article h2 { font-size: 1.75rem; font-weight: 650; letter-spacing: -.03em; margin: 46px 0 12px; } .article h3 { font-size: 1.25rem; font-weight: 650; margin: 28px 0 8px; } .article p, .article li { color: #333336; font-size: 1.125rem; line-height: 1.65; margin-bottom: 16px; } .article ul, .article ol { padding-left: 22px; list-style: revert; } .article a { color: var(--link-light); text-decoration: underline; text-underline-offset: 3px; } .article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; } .article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, .1); } .article th { font-weight: 600; background: var(--paper); }
.faq { margin-top: 40px; } .faq details { border-bottom: 1px solid rgba(0, 0, 0, .12); padding: 18px 0; } .faq summary { cursor: pointer; font-weight: 600; font-size: 1.125rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; } .faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--fg-3); transition: transform .3s; } .faq details[open] summary::after { transform: rotate(45deg); } .faq details p { margin-top: 12px; }
.crumbs { font-size: 14px; color: var(--fg-3); margin-bottom: 22px; } .crumbs a { color: var(--accent); }
.meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--fg-3); font-size: 14.5px; margin-top: 16px; }
.blog-cta { margin-top: 56px; padding: 36px; border-radius: var(--r-card); background: var(--ink-1); color: #f5f5f7; text-align: center; } .blog-cta h2 { margin: 0 0 10px; font-size: 1.75rem; } .blog-cta p { color: var(--fg-2); }

/* ---------- Brojke / 404 ---------- */
.e404 { min-height: 80svh; display: grid; place-content: center; text-align: center; padding-top: 52px; }
.e404 b { display: block; font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-bottom: 8px; }

/* ---------- Dostupnost: pokret i prozirnost ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .story { filter: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .drawer, .glass, .push { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0a0f1e; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav, .drawer { background: #0a0f1e; } .glass { background: #141d38; }
}
@media (max-width: 640px) { body { font-size: 16.5px; } .btn--lg { min-height: 52px; padding: 0 28px; font-size: 17px; } .sec { padding-block: 64px; } }

/* ---------- Korekcije (mobilni mockupi, tamna kartica u svijetloj sekciji) ---------- */
.bcard--a { --line: rgba(255, 255, 255, .16); }
.bcard--a .chip { background: rgba(255, 255, 255, .06); color: rgba(245, 245, 247, .8); }
@media (max-width: 960px) {
  .an { grid-template-columns: 1fr; gap: 16px; padding: 18px; align-content: start; }
  .ring-wrap { width: 124px; height: 124px; } .ring { width: 124px; height: 124px; } .ring-wrap div b { font-size: 28px; }
  .cmp { gap: 11px; } .cmp__row small span:last-child { display: none; }
  .an__foot { display: none; }
  .erp__kpis { display: none; }
  .erp__side { width: 44px; } .erp__side i { width: 22px; height: 22px; }
  .erp__grid { grid-template-columns: 38px repeat(5, 1fr); font-size: 10px; } .slot { font-size: 0; padding: 0; }
}

.bcard--a, .solcard, .blog-cta { --fg: #f5f5f7; --fg-2: rgba(245, 245, 247, .72); --fg-3: rgba(245, 245, 247, .62); --line: rgba(255, 255, 255, .16); --accent: #2997ff; color: #f5f5f7; }
.blog-cta h2 { color: #f5f5f7; }
.article a.btn, .prose a.btn { color: #fff; text-decoration: none; }
/* Mockupi u karticama rješenja (reference): uvijek vidljivi, popunjavaju stagebox */
.stagebox .mock, .stagebox .mock--inline { display: block; position: absolute; inset: 0; opacity: 1; transform: none; height: auto; margin: 0; }

.svcrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(64px, 9vw, 130px); }
.svcrow a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; color: var(--fg); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.svcrow .ico { color: var(--accent); width: 44px; height: 44px; transition: transform .5s var(--ease); }
.svcrow a:hover .ico { transform: translateY(-4px); }
@media (max-width: 760px) { .svcrow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .svcrow a { font-size: 1.0625rem; } }

.statement .w { opacity: .3; transition: opacity .35s ease; }
.statement .w.on { opacity: 1; }
.js .refc.reveal { transform: translateY(44px) scale(.965); transition-duration: 1s; }
.js .refc.reveal.is-in { transform: none; }
.refc .shot { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.refc .shot:hover { transform: translateY(-6px) scale(1.015); }
@media (prefers-reduced-motion: reduce) { .statement .w { opacity: 1; } .hv__main { transform: none; } .hero__txt { transform: none; opacity: 1; } }

@keyframes aurora { 0% { transform: translate3d(-3%, 0, 0) scale(1); } 50% { transform: translate3d(2%, 3%, 0) scale(1.07); } 100% { transform: translate3d(4%, -2%, 0) scale(1.03); } }
@keyframes aurora2 { 0% { transform: translate(-52%, -50%) scale(1); } 100% { transform: translate(-47%, -53%) scale(1.1); } }
.cta, .phero { overflow: clip; }
.hv::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -70px; height: 130px; background: radial-gradient(closest-side, rgba(41, 151, 255, .42), transparent 75%); filter: blur(36px); opacity: .55; pointer-events: none; z-index: -1; }
@media (max-width: 760px) { .hero::before, .phero::before, .cta::before { filter: blur(30px); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .phero::before, .cta::before { animation: none; } }
