/* ===== Salario — premium prezentacioni sajt ===== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/PlusJakartaSans-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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/PlusJakartaSans-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; }

:root {
  --navy-950: #040817;
  --navy-900: #060c22;
  --navy-800: #0a1535;
  --navy-700: #12214d;
  --blue: #1e6bff;
  --blue-600: #1557e0;
  --cyan: #13c8ff;
  --indigo: #4250c8;
  --ink: #0d1430;
  --ink-2: #3b4566;
  --muted: #5d6786;
  --line: #e3e7f2;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --ok: #16a36a;
  --grad: linear-gradient(120deg, #13c8ff 0%, #1e6bff 55%, #4b4ef0 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 48, .06), 0 2px 8px rgba(13, 20, 48, .05);
  --shadow: 0 10px 30px -12px rgba(13, 20, 48, .25), 0 4px 12px -6px rgba(13, 20, 48, .12);
  --shadow-lg: 0 40px 80px -30px rgba(4, 8, 23, .55), 0 18px 36px -18px rgba(4, 8, 23, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-d: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.022em; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
p.center { margin-top: 36px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 15px/1 var(--font); padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; text-decoration: none !important; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 17px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 8px 24px -8px rgba(30, 107, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(30, 107, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: #c8d0e6; background: #f8faff; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-link { color: inherit; background: none; padding-left: 10px; padding-right: 10px; }
.btn-link:hover { color: #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.linklike:hover { color: #fff; text-decoration: underline; }
.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link::after { content: '→'; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: rgba(255, 255, 255, .86); transition: background .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled, body:not(.home) .site-header, .site-header.open { background: rgba(6, 12, 34, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(255, 255, 255, .07); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 800 21px/1 var(--font-d); letter-spacing: -.02em; text-decoration: none !important; }
.brand img { border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(19, 200, 255, .55); }
.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; justify-content: center; }
.main-nav a, .nav-sub-btn { color: inherit; font: 500 15px/1 var(--font); padding: 10px 13px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; text-decoration: none !important; }
.main-nav > ul > li > a:hover, .nav-sub-btn:hover, .main-nav > ul > li > a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.has-sub { position: relative; }
.nav-sub-btn svg { transition: transform .2s; opacity: .7; }
.has-sub.open .nav-sub-btn svg { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 380px; padding: 10px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; display: grid; gap: 2px; }
.sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub.suppress .sub { opacity: 0 !important; visibility: hidden !important; }
.has-sub.open .sub, .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub a { display: grid; gap: 3px; padding: 11px 14px; border-radius: 10px; color: var(--ink); line-height: 1.3; }
.sub a b { font-weight: 600; font-size: 15px; }
.sub a span { color: var(--muted); font-size: 13.5px; }
.sub a:hover, .sub a[aria-current] { background: var(--bg-alt); }
.header-cta { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, 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; }
.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.open .nav-toggle span:nth-child(2) { opacity: 0; }
.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-cta { display: none; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 75% -10%, #13306e 0%, transparent 60%), linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); color: rgba(255, 255, 255, .78); }
.hero { padding: calc(var(--header-h) + 70px) 0 56px; }
.hero h1, .page-hero h1, .section-dark h2, .section-dark h3 { color: #fff; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; background: #1e6bff; top: -180px; right: -120px; animation: float 16s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: #13c8ff; bottom: -220px; left: -120px; opacity: .3; animation: float 20s ease-in-out infinite reverse; }
.orb-3 { width: 600px; height: 600px; background: #1e6bff; top: -260px; left: 40%; opacity: .25; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #9fdcff; padding: 9px 14px; border-radius: 999px; background: rgba(19, 200, 255, .08); border: 1px solid rgba(19, 200, 255, .22); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(19, 200, 255, .2); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.7; color: rgba(255, 255, 255, .78); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: rgba(22, 163, 106, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-visual { position: relative; perspective: 1600px; }
.shot-hero { transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; transition: transform .6s ease; }
.hero-visual:hover .shot-hero { transform: rotateY(-3deg) rotateX(1deg); }
.float-card { position: absolute; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .7); display: grid; gap: 2px; font-size: 13px; line-height: 1.35; animation: bob 7s ease-in-out infinite; }
.float-card b { font: 800 20px/1.2 var(--font-d); letter-spacing: -.02em; }
.fc-label { color: var(--muted); font-weight: 500; }
.fc-sub { color: var(--muted); font-size: 12.5px; display: block; }
.fc-1 { left: -34px; bottom: 54px; }
.fc-2 { right: -14px; top: -18px; display: flex; align-items: center; gap: 12px; animation-delay: -3s; }
.fc-2 b { font-size: 14.5px; font-family: var(--font); }
.fc-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fc-ico.ok { background: #dcfce9; color: var(--ok); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.audience { list-style: none; padding: 26px 0 0; margin: 48px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; color: rgba(255, 255, 255, .55); font: 700 15px/1.4 var(--font-d); letter-spacing: .02em; }

/* ---------- screenshot okviri ---------- */
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(13, 20, 48, .08); cursor: zoom-in; }
.section-dark .shot, .hero .shot { border-color: rgba(255, 255, 255, .12); }
.frame { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: linear-gradient(180deg, #f7f8fc, #eef1f8); border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; max-width: 320px; margin: 0 auto; text-align: center; font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; cursor: default; }

/* ---------- sekcije ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: rgba(255, 255, 255, .76); overflow: hidden; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p:last-child { color: rgba(255, 255, 255, .7); }
.kicker { display: inline-block; font: 700 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-dark .kicker, .page-hero .kicker { color: var(--cyan); }

/* ciklus */
.cycle { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; position: relative; counter-reset: c; }
.cycle::before { content: ''; position: absolute; top: 26px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, #13c8ff, #1e6bff, #4b4ef0); opacity: .35; }
.cycle li { position: relative; display: grid; gap: 8px; text-align: center; justify-items: center; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.cycle b { color: var(--ink); font: 700 16px/1.2 var(--font-d); }
.num { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); font: 800 19px/1 var(--font-d); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 1; }
.cycle li:nth-child(4) .num, .cycle li:nth-child(5) .num { background: var(--grad); color: #fff; border-color: transparent; }

/* kartice */
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); color: var(--ink-2); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; position: relative; }
.card h3 { margin: 18px 0 8px; }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }
.card ul { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.card-link { text-decoration: none !important; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6f5; }
.card-link::after { content: '→'; position: absolute; top: 28px; right: 26px; color: var(--blue); opacity: 0; transform: translateX(-6px); transition: .25s; font-weight: 700; }
.card-link:hover::after { opacity: 1; transform: none; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(19, 200, 255, .14), rgba(30, 107, 255, .14)); color: var(--blue); border: 1px solid rgba(30, 107, 255, .14); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .75); box-shadow: none; }
.section-dark .card p, .section-dark .card ul { color: rgba(255, 255, 255, .68); }
.section-dark .ico { color: var(--cyan); background: rgba(19, 200, 255, .1); border-color: rgba(19, 200, 255, .2); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 130px); }
.split-rev .split-copy { order: 2; }
.split-copy > p { font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.55; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: rgba(30, 107, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%231e6bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks b { color: var(--ink); }
.ticks-light li b, .section-dark .ticks b { color: #fff; }
.section-dark .ticks li::before { background-color: rgba(19, 200, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2313c8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* telefoni */
.phones { position: relative; display: flex; justify-content: center; gap: 28px; padding: 20px 0; }
.phone { margin: 0; width: 250px; border-radius: 40px; padding: 10px; background: linear-gradient(145deg, #2a3350, #0b1022); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12); position: relative; cursor: zoom-in; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 12px; background: #05070f; z-index: 2; }
.phone img { border-radius: 31px; width: 100%; padding-top: 30px; background: #fff; }
.phone-2 { transform: translateY(48px); }

/* code */
.code-card { border-radius: 16px; overflow: hidden; background: #0b1230; box-shadow: var(--shadow-lg); border: 1px solid rgba(13, 20, 48, .2); }
.code-card .frame { background: #111a3d; border-bottom-color: rgba(255, 255, 255, .06); }
.code-card .url { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }
.code-card pre { margin: 0; padding: 24px 26px; overflow-x: auto; color: #cfd8f5; font: 14.5px/1.75 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }
.c-k { color: #7cc4ff; font-weight: 700; } .c-v { color: #8ef0c2; } .c-s { color: #ffd38a; } .c-m { color: #6f7aa3; }

/* isporuka */
.deploy { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.deploy-item { padding: 40px 36px; }
.deploy-item + .deploy-item { border-left: 1px solid var(--line); }
.deploy-item h3 { margin-top: 18px; font-size: 1.35rem; }
.deploy-item p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfd9f3; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 700 17px/1.4 var(--font-d); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231e6bff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* CTA traka */
.cta-band { padding: 0 0 clamp(72px, 9vw, 110px); background: inherit; }
.section-alt + .cta-band { background: var(--bg-alt); }
.cta-inner { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 5vw, 64px); background: radial-gradient(700px 300px at 90% 0%, rgba(19, 200, 255, .35), transparent 60%), linear-gradient(135deg, #0a1a48, #060c22 70%); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg); }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-inner p { margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- unutrašnje stranice ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 72px; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 900px; }
.page-hero .lead { max-width: 760px; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.crumbs { position: absolute; z-index: 2; top: calc(var(--header-h) + 18px); left: 0; right: 0; }
.crumbs ol { list-style: none; margin: 0 auto; padding: 0 24px; max-width: 1220px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .7); }
.crumbs [aria-current] { color: rgba(255, 255, 255, .9); }
.prose { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 1.5em 0; }
.table-wrap table { margin: 0; }
.callout { border-radius: 16px; padding: 22px 24px; background: linear-gradient(135deg, rgba(19, 200, 255, .08), rgba(30, 107, 255, .08)); border: 1px solid rgba(30, 107, 255, .18); margin: 1.8em 0; }
.callout p:last-child { margin: 0; }
.callout b:first-child { color: var(--ink); }
.takeaways { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; margin: 0 0 2em; }
.takeaways h2 { font-size: 1.1rem; margin: 0 0 10px; }
.takeaways ul { margin: 0; }
.article-meta { color: rgba(255, 255, 255, .6); font-size: 14.5px; margin-top: 18px; }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14.5px; border-left: 2px solid var(--line); padding-left: 18px; }
.toc b { display: block; color: var(--ink); margin-bottom: 8px; font-family: var(--font-d); }
.toc ol { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--blue); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list b { display: block; color: var(--ink); font-family: var(--font-d); font-size: 1.05rem; margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: 15.5px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.stat { padding: 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat b { display: block; color: #fff; font: 800 1.6rem/1.2 var(--font-d); letter-spacing: -.02em; }
.stat span { font-size: 14.5px; color: rgba(255, 255, 255, .65); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.module { scroll-margin-top: calc(var(--header-h) + 24px); }
.module + .module { margin-top: clamp(64px, 8vw, 100px); }
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(30, 107, 255, .1); color: var(--blue-600); margin-bottom: 12px; }
.res-card .meta { font-size: 13.5px; color: var(--muted); margin-top: 14px; display: block; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info .card + .card { margin-top: 16px; }
.contact-info h3 { margin-top: 0; }
.contact-info a { font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px/1.4 var(--font); color: var(--ink); background: #fbfcff; border: 1px solid #d5dbea; border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 107, 255, .14); background: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-q { font: 700 18px/1 var(--font-d); color: var(--ink); background: var(--bg-alt); border: 1px dashed #c6cfe6; padding: 12px 16px; border-radius: 12px; min-width: 96px; text-align: center; }
.captcha input { max-width: 120px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #c62a3a; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding: 72px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin: 18px 0 0; max-width: 340px; }
.site-footer h2 { font: 700 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.footer-contact a { color: #9fdcff; font-weight: 600; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.ver { opacity: .5; font-variant-numeric: tabular-nums; }

/* ---------- kolačići ---------- */
.cc { position: fixed; z-index: 200; left: 20px; bottom: 20px; max-width: 460px; width: calc(100% - 40px); }
.cc-box { background: #fff; border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 30px 80px -20px rgba(4, 8, 23, .5), 0 0 0 1px rgba(13, 20, 48, .06); animation: ccIn .35s ease; }
@keyframes ccIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cc-head { display: flex; align-items: center; gap: 10px; color: var(--blue); margin-bottom: 8px; }
.cc-head h2 { font-size: 1.1rem; margin: 0; }
.cc p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.cc-prefs { display: grid; gap: 10px; margin: 0 0 14px; }
.cc-row { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.cc-row span { display: grid; gap: 2px; font-size: 14px; color: var(--ink); }
.cc-row small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.cc-row input { width: 40px; height: 22px; appearance: none; -webkit-appearance: none; background: #d6dbe8; border-radius: 999px; position: relative; flex: none; cursor: pointer; transition: background .2s; }
.cc-row input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.cc-row input:checked { background: var(--blue); }
.cc-row input:checked::after { transform: translateX(18px); }
.cc-row input:disabled { opacity: .55; cursor: not-allowed; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-actions [hidden] { display: none; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1500px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 8, 23, .82); backdrop-filter: blur(4px); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox p { color: rgba(255, 255, 255, .85); text-align: center; margin: 12px 0 0; font-size: 15px; }
.lightbox-close { position: absolute; top: -18px; right: -18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }

/* ---------- animacije ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.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; }
  .shot-hero { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a, .nav-sub-btn { padding: 10px 9px; font-size: 14.5px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cycle { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .cycle::before { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  /* backdrop-filter pravi containing block za position:fixed meni → panel bi bio visok kao header */
  .site-header.open, body:not(.home) .site-header.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-900); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--navy-900); padding: 18px 20px 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .nav-sub-btn { width: 100%; justify-content: space-between; padding: 15px 14px; font-size: 17px; }
  .sub { position: static; transform: none; min-width: 0; opacity: 1; visibility: visible; display: none; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); box-shadow: none; margin: 4px 0 8px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .has-sub.open .sub { display: grid; transform: none; }
  .sub a { color: #fff; }
  .sub a span { color: rgba(255, 255, 255, .6); }
  .sub a:hover, .sub a[aria-current] { background: rgba(255, 255, 255, .06); }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 22px; }
  .nav-mobile-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
  .hero-inner, .page-hero-split, .split, .contact-grid, .article-layout, .cta-inner { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .shot-hero { transform: none; }
  .split-rev .split-copy { order: 0; }
  .cta-actions { justify-content: flex-start; }
  .cards-3, .deploy, .stat-row { grid-template-columns: 1fr 1fr; }
  .deploy-item + .deploy-item { border-left: 0; border-top: 1px solid var(--line); }
  .deploy-item:nth-child(2) { border-left: 1px solid var(--line); border-top: 0; }
  .deploy-item:nth-child(3) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .toc { display: none; }
  .gallery, .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .crumbs ol { padding: 0 16px; }
  .cards-2, .cards-3, .cards-4, .deploy, .stat-row, .form-grid { grid-template-columns: 1fr; }
  .deploy-item:nth-child(2) { border-left: 0; border-top: 1px solid var(--line); }
  .cycle { grid-template-columns: 1fr 1fr; }
  .cycle li:last-child { grid-column: 1 / -1; }
  .hero-actions .btn { width: 100%; }
  .fc-1 { left: 8px; bottom: -22px; padding: 10px 14px; }
  .fc-1 b { font-size: 17px; }
  .fc-2 { right: 8px; top: -26px; padding: 10px 12px; }
  .phones { gap: 14px; }
  .phone { width: 46%; border-radius: 28px; padding: 7px; }
  .phone img { border-radius: 22px; padding-top: 22px; }
  .phone::before { top: 12px; width: 50px; height: 15px; }
  .phone-2 { transform: translateY(28px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .audience { gap: 8px 22px; font-size: 14px; }
  .cc { left: 10px; bottom: 10px; width: calc(100% - 20px); }
  .cc-actions .btn { flex: 1 1 auto; }
  .card { padding: 22px; }
  .frame { height: 30px; } .dots i { width: 9px; height: 9px; } .url { font-size: 11px; padding: 2px 8px; }
  .lightbox-close { top: -50px; right: 0; }
}
@media print {
  .site-header, .cc, .cta-band, .site-footer, .lightbox { display: none !important; }
  .hero, .page-hero { background: none; color: #000; padding: 20px 0; }
  .hero h1, .page-hero h1 { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
.mt-xl { margin-top: clamp(64px, 8vw, 100px); }
@media (max-width: 640px) {
  .eyebrow { font-size: 11px; letter-spacing: .08em; padding: 8px 12px; }
  .card h3 { margin: 14px 0 6px; }
  .cards-4 .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .cards-4 .card .ico { grid-row: span 2; width: 44px; height: 44px; }
  .cards-4 .card h3 { margin: 2px 0 4px; }
  .section-head { margin-bottom: 36px; }
}
