/* CordedSoul — javna web stranica. Tamni filmski hero, svijetle sekcije (tamna tema po izboru). */
:root {
  --blue: #0A70E0; --blue-hi: #3D8EF0; --sky: #6FB1FF; --link: #0A5FC0;
  --deep: #08111F; --navy: #0F1B2D;
  --bg: #F3F6FB; --surface: #FFFFFF; --ink: #142033; --muted: #5B6B84; --line: #DDE4EF; --chip: #EAF1FB; --chip-ink: #1F4E8C;
  --ok: #0B7A43; --okbg: #E3F5EB;
  --wrap: 1200px; --gut: clamp(16px, 5vw, 72px);
  --display: Geist, Inter, system-ui, sans-serif; --text: Inter, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0A1220; --surface: #101B2E; --ink: #E8EEF8; --muted: #93A4BF; --line: rgba(255,255,255,.1); --chip: rgba(111,177,255,.12); --chip-ink: #A9CCFF; --link: #7DB4FF; --blue: #2F86EE; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0A1220; --surface: #101B2E; --ink: #E8EEF8; --muted: #93A4BF; --line: rgba(255,255,255,.1); --chip: rgba(111,177,255,.12); --chip-ink: #A9CCFF; --link: #7DB4FF; --blue: #2F86EE; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--text); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); color: inherit; }
.cs-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 860px; }

/* ---------- dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font: 600 16px/1.2 var(--text); text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(10,112,224,.35); }
.btn-p:hover { background: #075FC2; }
.btn-glass { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(8,17,31,.28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.12); }
.btn-line { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }

/* ---------- zaglavlje ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; transition: background .25s, border-color .25s, color .25s; }
.top-over.solid { background: rgba(8,17,31,.82); border-color: rgba(255,255,255,.08); }
.bar { display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 var(--gut); max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); letter-spacing: -.02em; color: inherit; text-decoration: none; margin-right: auto; }
.links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.links > a:not(.btn) { color: inherit; opacity: .78; text-decoration: none; }
.links > a:not(.btn):hover, .links > a[aria-current="page"] { opacity: 1; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); font-size: 13px; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 170px; border-radius: 12px; background: var(--surface); box-shadow: 0 18px 50px rgba(4,10,20,.25); border: 1px solid var(--line); }
.lang ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.lang ul a:hover { background: var(--chip); }
.lang ul a[aria-current] { font-weight: 600; color: var(--link); }
.theme { all: unset; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.theme:focus-visible { outline: 2px solid var(--sky); }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-moon { display: none; } :root[data-theme="dark"] .theme .i-sun { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .i-moon { display: none; } :root:not([data-theme="light"]) .theme .i-sun { display: block; } }
.burger { all: unset; display: none; cursor: pointer; width: 44px; height: 44px; place-items: center; border-radius: 10px; }
.lang-hint { position: fixed; z-index: 40; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.35); font-size: 14px; }
.lang-hint a { color: #fff; font-weight: 600; }
.lang-hint button { all: unset; cursor: pointer; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.lang-hint[hidden] { display: none; }

@media (max-width: 960px) {
  .burger { display: grid; }
  .links { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px rgba(4,10,20,.25); display: none; }
  .links.open { display: flex; }
  .links > a:not(.btn) { opacity: 1; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 14px; }
  .lang { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lang ul { position: static; box-shadow: none; border: 0; padding: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; }
  .theme { margin: 8px 0 0; }
}

/* ---------- filmski hero ---------- */
.hero { position: relative; height: 100svh; min-height: 660px; max-height: 1000px; color: #F4F7FC; background: var(--deep); overflow: hidden; isolation: isolate; --dur: 8s; }
.hero.paused *, .hero.paused *::before, .hero.paused *::after { animation-play-state: paused !important; }
.media { position: absolute; inset: 0; overflow: hidden; container-type: size; z-index: -2; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease; }
.scene.on { opacity: 1; }
.frame { --fx: var(--px, 50%); position: absolute; width: max(100cqw, 100cqh * 16 / 9); aspect-ratio: 16 / 9; left: var(--fx); top: 50%; transform: translate(calc(var(--fx) * -1), -50%); }
.kb { position: absolute; inset: 0; transform-origin: var(--dx) var(--dy); }
.scene.on .kb, .scene.out .kb { animation: kb 9.5s cubic-bezier(.25,.1,.25,1) forwards; }
.kb img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.13); } }
.shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,17,31,.92) 0%, rgba(8,17,31,.55) 32%, rgba(8,17,31,0) 58%),
              linear-gradient(90deg, rgba(8,17,31,.8) 0%, rgba(8,17,31,.25) 42%, rgba(8,17,31,0) 62%),
              linear-gradient(180deg, rgba(8,17,31,.6) 0%, rgba(8,17,31,0) 16%); }
[dir="rtl"] .shade { transform: scaleX(-1); }
.dot { position: absolute; left: var(--dx); top: var(--dy); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(111,177,255,.25), 0 0 18px 4px rgba(111,177,255,.6); opacity: 0; }
.dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--sky); opacity: 0; }
.scene.on .dot { animation: show .3s .8s forwards; }
.scene.on .dot::after { animation: ring 1.6s .9s ease-out 4; }
.cord { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cord path { fill: none; stroke: var(--sky); stroke-width: .28; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(111,177,255,.8)); }
.cord path.flow { stroke: #fff; stroke-width: .5; stroke-dasharray: .05 .95; opacity: 0; filter: drop-shadow(0 0 6px #fff); }
.scene.on .cord path { animation: draw .9s 1.1s cubic-bezier(.6,.1,.2,1) forwards; }
.scene.on .cord path.flow { animation: flow 1.5s 2.2s linear infinite; }
@keyframes flow { 0% { stroke-dashoffset: 1; opacity: 0; } 10%, 90% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.grp { position: absolute; left: var(--ax); top: var(--ay); width: 300px; display: grid; gap: 10px; transform: translateY(-38px); }
.c { border-radius: 16px; color: #142033; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(4,10,20,.45), 0 0 0 1px rgba(255,255,255,.6) inset; opacity: 0; transform: translateY(10px) scale(.97); }
.scene.on .c1, .mcard .c1 { animation: pop .55s 2s cubic-bezier(.2,.9,.3,1.2) forwards; }
.scene.on .c2, .mcard .c2 { animation: pop .55s 3.3s cubic-bezier(.2,.9,.3,1.2) forwards; }
.scene.on .c3, .mcard .c3 { animation: pop .6s 5.4s cubic-bezier(.2,.9,.3,1.1) forwards; }
.c1 { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px 14px 14px; }
.c1 > i { grid-row: span 3; width: 40px; height: 40px; border-radius: 11px; background: #0A70E0; color: #fff; display: grid; place-items: center; }
.c1 > i .cs-icon { stroke-width: 2; }
.c small { font: 500 12px var(--text); color: #5B6B84; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.c small em { font-style: normal; }
.c b { font: 650 15.5px/1.25 var(--display); letter-spacing: -.01em; }
.c .meta { font-size: 13px; color: #5B6B84; font-variant-numeric: tabular-nums; }
.c2 { padding: 12px 14px; font-size: 13px; }
.c2 h4 { margin: 0 0 8px; font: 600 12px var(--text); color: #5B6B84; display: flex; justify-content: space-between; }
.c3 { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; width: max-content; max-width: 100%; color: #EAF1FB; background: rgba(15,27,45,.9); box-shadow: 0 14px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.12) inset; font: 500 13px var(--text); }
.c3 i { width: 20px; height: 20px; border-radius: 50%; background: #1FA463; display: grid; place-items: center; flex: none; }
.c3 i svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes show { to { opacity: 1; } }
@keyframes hide { to { opacity: 0; } }
@keyframes ring { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: none; } }
/* tim uživo */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.team li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; opacity: 0; transform: translateX(-8px); }
.team li em { font-style: normal; color: #5B6B84; font-size: 12px; }
.team i { width: 8px; height: 8px; border-radius: 50%; }
.team .st-w { background: #1FA463; box-shadow: 0 0 0 3px rgba(31,164,99,.18); }
.team .st-b { background: #E39B12; box-shadow: 0 0 0 3px rgba(227,155,18,.18); }
.scene.on .team li, .mcard .team li { animation: pop .35s forwards; }
.team li:nth-child(1) { animation-delay: 3.6s !important; } .team li:nth-child(2) { animation-delay: 3.85s !important; } .team li:nth-child(3) { animation-delay: 4.1s !important; } .team li:nth-child(4) { animation-delay: 4.35s !important; }
/* kalendar se puni */
.day { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; position: relative; height: 34px; }
.day span { border-radius: 4px; background: #EEF2F8; font: 500 10px var(--text); color: #8A99B0; padding: 3px 4px; overflow: hidden; white-space: nowrap; }
.day .busy { background: #D9E6F8; color: #2B4A75; }
.day .new { position: absolute; top: 0; bottom: 0; left: calc(200% / 6 + 1px); width: calc(100% / 6 * 1.5 - 3px); background: #0A70E0; color: #fff; font-weight: 600; opacity: 0; transform: translateY(-14px); }
.scene.on .day .new, .mcard .day .new { animation: pop .5s 4s cubic-bezier(.2,.9,.3,1.2) forwards; }
/* kontrolna lista i potpis */
.chk { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.chk li { display: flex; align-items: center; gap: 8px; }
.chk li i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #B8C4D6; display: grid; place-items: center; flex: none; }
.chk li i::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.scene.on .chk li i, .mcard .chk li i { animation: tick .25s forwards; }
.scene.on .chk li i::after, .mcard .chk li i::after { animation: show .2s forwards; }
.chk li:nth-child(1) i, .chk li:nth-child(1) i::after { animation-delay: 3.7s !important; }
.chk li:nth-child(2) i, .chk li:nth-child(2) i::after { animation-delay: 4s !important; }
.chk li:nth-child(3) i, .chk li:nth-child(3) i::after { animation-delay: 4.3s !important; }
@keyframes tick { to { background: #0B7A43; border-color: #0B7A43; } }
.sig { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; border-top: 1px dashed #C9D3E2; padding-top: 6px; }
.sig svg { width: 150px; height: 40px; flex: none; }
.sig path { fill: none; stroke: #1B2B45; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene.on .sig path, .mcard .sig path { animation: draw 1.2s 4.5s ease-in-out forwards; }
.sig span { font-size: 11px; color: #5B6B84; text-align: end; line-height: 1.3; }
/* stavke primke */
.rows { display: grid; gap: 5px; }
.rows div { display: flex; justify-content: space-between; gap: 8px; opacity: 0; transform: translateX(-8px); }
.rows div b { font: 600 13px var(--text); color: #0B7A43; white-space: nowrap; }
.scene.on .rows div, .mcard .rows div { animation: pop .35s forwards; }
.rows div:nth-child(1) { animation-delay: 3.7s !important; } .rows div:nth-child(2) { animation-delay: 4s !important; } .rows div:nth-child(3) { animation-delay: 4.3s !important; }
/* faktura: status i promet */
.pill { display: inline-grid; font: 600 11px var(--text); }
.pill span { grid-area: 1 / 1; padding: 2px 9px; border-radius: 999px; }
.pill .a { background: #FFF1D6; color: #8A5A00; }
.pill .b { background: #E3F5EB; color: #0B7A43; opacity: 0; }
.scene.on .pill .a, .mcard .pill .a { animation: hide .3s 4s forwards; }
.scene.on .pill .b, .mcard .pill .b { animation: show .3s 4s forwards; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; align-items: end; height: 46px; margin-top: 10px; }
.bars i { display: block; height: var(--h); background: #C9DCF6; border-radius: 3px 3px 0 0; transform: scaleY(0); transform-origin: bottom; }
.bars i:last-child { background: #0A70E0; }
.scene.on .bars i, .mcard .bars i { animation: grow .5s cubic-bezier(.2,.9,.3,1) forwards; }
.bars i:nth-child(1) { animation-delay: 3.5s !important; } .bars i:nth-child(2) { animation-delay: 3.6s !important; } .bars i:nth-child(3) { animation-delay: 3.7s !important; } .bars i:nth-child(4) { animation-delay: 3.8s !important; } .bars i:nth-child(5) { animation-delay: 3.9s !important; } .bars i:nth-child(6) { animation-delay: 4s !important; } .bars i:nth-child(7) { animation-delay: 4.4s !important; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; font-size: 10px; color: #8A99B0; text-align: center; margin-top: 3px; text-transform: capitalize; }
/* dobit i poslovnice */
.big { font: 720 30px/1.05 var(--display); letter-spacing: -.03em; color: #0B7A43; font-variant-numeric: tabular-nums; }
svg.spark { grid-column: 1 / -1; width: 100%; height: 44px; margin-top: 8px; }
svg.spark path { fill: none; stroke: #0A70E0; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
svg.spark path.area { fill: rgba(10,112,224,.12); stroke: none; opacity: 0; }
.scene.on svg.spark path, .mcard svg.spark path { animation: draw 1.4s 2.4s ease-out forwards; }
.scene.on svg.spark path.area, .mcard svg.spark path.area { animation: show .6s 3.4s forwards; }
.br { display: grid; grid-template-columns: 74px 1fr 52px; gap: 6px 8px; align-items: center; font-size: 12px; }
.br i { height: 8px; border-radius: 4px; background: #0A70E0; transform: scaleX(0); transform-origin: left; width: var(--w); }
.br em { font-style: normal; text-align: end; font-variant-numeric: tabular-nums; font-weight: 600; }
.scene.on .br i, .mcard .br i { animation: grow .7s cubic-bezier(.2,.9,.3,1) forwards; }
.br i:nth-of-type(1) { animation-delay: 3.6s !important; } .br i:nth-of-type(2) { animation-delay: 3.8s !important; } .br i:nth-of-type(3) { animation-delay: 4s !important; }

.copy { position: absolute; z-index: 2; inset-inline-start: var(--gut); bottom: clamp(40px, 9vh, 96px); max-width: 600px; }
.copy h1 { font: 760 clamp(44px, 6vw, 86px)/.95 var(--display); letter-spacing: -.045em; margin: 0 0 20px; text-wrap: balance; }
.lead { font-size: 19px; color: #C9D6EA; max-width: 44ch; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.chapters { position: absolute; z-index: 2; inset-inline-end: var(--gut); bottom: clamp(40px, 9vh, 96px); display: flex; gap: 10px; align-items: flex-end; }
.chapters button { all: unset; cursor: pointer; width: 92px; font: 500 13px var(--text); color: #9FB2CF; }
.chapters button span { display: block; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chapters button.on { color: #fff; }
.chapters button i { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.chapters button i::before { content: ""; display: block; height: 100%; width: 0; background: var(--sky); }
.chapters button.done i::before { width: 100%; }
.chapters button.on i::before { animation: fill var(--dur) linear forwards; }
.chapters button:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 4px; }
.chapters .pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; }
.pause svg { width: 14px; height: 14px; fill: currentColor; }
.pause .i-play, .hero.paused .pause .i-pause { display: none; }
.hero.paused .pause .i-play { display: block; }
@keyframes fill { to { width: 100%; } }
.mcard { display: none; }
@media (max-width: 1180px) and (min-width: 861px) { .chapters button { width: 64px; font-size: 12px; } .copy { max-width: 520px; } }
@media (max-width: 860px) {
  .hero { min-height: 680px; }
  .frame { --fx: var(--mx, 50%); }
  .shade { background: linear-gradient(0deg, rgba(8,17,31,.96) 0%, rgba(8,17,31,.75) 38%, rgba(8,17,31,0) 64%), linear-gradient(180deg, rgba(8,17,31,.6) 0%, rgba(8,17,31,0) 18%); }
  .cord, .frame .grp { display: none; }
  .mcard { display: block; position: absolute; z-index: 2; inset-inline-start: 16px; top: 84px; width: min(300px, calc(100vw - 32px)); }
  .mcard .grp { position: static; width: 100%; transform: none; gap: 8px; }
  .copy { bottom: 92px; inset-inline-end: 16px; }
  .copy h1 { font-size: 40px; }
  .lead { font-size: 16px; margin-bottom: 20px; }
  .chapters { inset-inline: 16px; bottom: 32px; gap: 6px; }
  .chapters button { flex: 1; width: auto; font-size: 0; }
  .chapters button span { margin: 0; }
}
@media (max-width: 860px) and (max-height: 760px) { .mcard .c2 { display: none; } }

/* ---------- sekcije ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-alt { background: var(--surface); }
.sec h2, .cta h2, .ph h1 { font: 720 clamp(30px, 3.6vw, 48px)/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 12px; max-width: 22ch; text-wrap: balance; }
.sub { color: var(--muted); max-width: 58ch; margin: 0 0 40px; font-size: 18px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.sec-head .sub { margin-bottom: 32px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--blue); }
.steps li { padding: 22px 20px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -7px; inset-inline-start: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--bg); }
.steps b { display: block; font: 650 18px/1.3 var(--display); letter-spacing: -.01em; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }

.ind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.ind article { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.ind .ico, .mods .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--chip); color: var(--chip-ink); margin-bottom: 14px; }
.ind h3 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 6px; }
.ind p { color: var(--muted); margin: 0 0 14px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }

.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 32px; }
.seg a, .seg label { padding: 8px 14px; border-radius: 9px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; }
.seg a[aria-current], .seg input:checked + span { background: var(--blue); color: #fff; }
.seg label { padding: 0; } .seg label span { display: block; padding: 8px 14px; border-radius: 9px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }

.mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.mods li { display: grid; grid-template-columns: 44px 1fr auto; gap: 2px 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.mods .ico { grid-row: span 2; margin: 0; align-self: start; }
.mods h3 { font-size: 18px; letter-spacing: -.01em; margin: 0; }
.mods .pr { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: end; }
.mods .pr small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.mods p { grid-column: 2 / -1; margin: 0; color: var(--muted); font-size: 14.5px; }
.mods .badge { grid-column: 2 / -1; justify-self: start; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ok); background: var(--okbg); padding: 2px 10px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mods .badge { background: rgba(31,164,99,.16); color: #6FD3A0; } }
:root[data-theme="dark"] .mods .badge { background: rgba(31,164,99,.16); color: #6FD3A0; }
.note { color: var(--muted); margin: 24px 0 0; font-size: 15px; }
.link { font-weight: 600; }

.sec-dark { background: var(--navy); color: #EAF1FB; }
.sec-dark h2 { color: #fff; }
.trust { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.trust li .cs-icon { color: var(--sky); }
.trust h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.01em; }
.trust p { margin: 0; color: #A9BAD3; font-size: 15px; }

.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 600 18px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--text); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--muted); max-width: 68ch; }

.cta { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; background: radial-gradient(900px 400px at 85% 0%, rgba(27,79,160,.6), rgba(27,79,160,0) 70%), linear-gradient(160deg, #0F1B2D, #0B2546 60%, #0A3A7A); color: #fff; }
.cta p { color: #C9D6EA; font-size: 18px; margin: 0 0 28px; }
.cta-cord { position: absolute; inset: auto 0 0 0; width: 100%; height: 200px; pointer-events: none; }
.cta-cord path { fill: none; stroke: var(--sky); stroke-width: 2.5; opacity: .5; filter: drop-shadow(0 0 6px rgba(111,177,255,.7)); }
.cta .wrap { position: relative; }

.foot { background: var(--deep); color: #A9BAD3; padding: 64px 0 28px; font-size: 14.5px; }
.foot-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot .brand { color: #fff; margin-bottom: 10px; }
.foot h2 { font: 600 13px var(--text); color: #fff; margin: 0 0 12px; }
.foot nav a { display: block; color: #A9BAD3; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot p { margin: 0; }
.foot p a { color: #CFE0FA; }
.foot-base { max-width: var(--wrap); margin: 40px auto 0; padding: 20px var(--gut) 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- cijene ---------- */
.ph { background: radial-gradient(1000px 420px at 85% 0%, rgba(27,79,160,.55), rgba(27,79,160,0) 70%), linear-gradient(160deg, #0F1B2D, #0B2546 70%); color: #fff; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 72px); }
.ph p { color: #C9D6EA; font-size: 18px; margin: 0; max-width: 56ch; }
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 40px; align-items: start; padding: 48px 0 24px; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.calc legend { font: 650 20px var(--display); letter-spacing: -.015em; margin-bottom: 14px; padding: 0; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 2px 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.opt:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); }
.opt:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.opt input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; grid-row: span 2; }
.opt b { font: 600 16px var(--display); }
.opt small { grid-column: 2; color: var(--muted); font-size: 13.5px; }
.opt .pr { grid-row: 1 / span 2; grid-column: 3; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt.core, .opt.core:hover { cursor: default; border-color: var(--line); box-shadow: none; background: color-mix(in srgb, var(--surface) 70%, var(--chip)); }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.num { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.num label { display: block; font-weight: 600; margin-bottom: 2px; }
.num small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 12px; min-height: 2.6em; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { all: unset; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); font-size: 22px; line-height: 1; }
.stepper button:focus-visible { outline: 2px solid var(--sky); }
.stepper input { width: 100%; min-width: 0; height: 44px; text-align: center; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 650 18px var(--text); font-variant-numeric: tabular-nums; }
.sum { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 20px 50px rgba(15,27,45,.08); }
.sum h2 { font: 650 18px var(--display); margin: 0 0 16px; }
.sum dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14.5px; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; font-weight: 600; }
.total { margin: 18px 0 4px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.total strong { font: 760 40px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.total span { color: var(--muted); }
.sum .card-note { color: var(--muted); font-size: 13.5px; margin: 6px 0 20px; min-height: 1.4em; }
.sum .btn { width: 100%; }
.sum noscript .btn { margin-top: 10px; }
.rules { padding: 8px 0 72px; }
.rules h2 { font: 650 22px var(--display); margin: 0 0 14px; }
.rules ul { margin: 0; padding-inline-start: 20px; color: var(--muted); display: grid; gap: 6px; max-width: 70ch; }

@media (max-width: 960px) {
  .ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-template-columns: 1fr; }
  .sum { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-inline-start: 2px solid var(--blue); }
  .steps li { padding: 0 0 26px 22px; padding-inline: 22px 0; }
  .steps li::before { top: 6px; inset-inline-start: -7px; }
  .ind, .trust, .mods { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero *, .hero *::before, .hero *::after { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .scene { transition-duration: .01s; }
  .scene.on .kb { animation: none !important; }
}
@media print {
  .top, .hero .media, .chapters, .lang-hint, .cta-cord { display: none !important; }
  .hero { height: auto; min-height: 0; background: #fff; color: #000; }
  .copy { position: static; }
}

/* Newsletter u podnožju */
.foot-news { display: grid; gap: 8px; margin-top: 14px; }
.foot-news > label:first-child { color: #fff; font-weight: 600; font-size: 14px; }
.foot-news-row { display: flex; gap: 6px; }
.foot-news-row input { flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.foot-news-row input::placeholder { color: #8094b3; }
.foot-news-row button { min-height: 42px; padding: 0 14px; border: 0; border-radius: 10px; background: #2f8bff; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.foot-news-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; }
.foot-news-ok input { margin-top: 2px; accent-color: #2f8bff; }
.foot-news-ok a, .foot-news-ok span { color: #A9BAD3; }
.foot-news-msg { color: #7ee2a8; margin: 0; font-size: 13px; }
.foot-news-err { color: #ff9a8f; margin: 0; font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
