/* =========================================================
   KRAANG — industrijska paleta (grafit + bakar/amber + čelik)
   Korporativno / krupno / moderno. Namerno NE koristi BZR app boje.
   ========================================================= */

:root {
  /* baza — grafit / antracit / čelik */
  --bg:        #0b0d10;
  --bg-2:      #101318;
  --surface:   #14181e;
  --surface-2: #1b2029;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.15);

  /* tekst — cink / beton */
  --ink:    #f1f4f7;
  --ink-2:  #c6cdd5;
  --muted:  #8b96a1;

  /* brend akcent — istopljeni bakar / amber (industrija + bezbednost) */
  --brand-1: #f6b042;
  --brand-2: #e2622c;
  --brand:   #ef8a33;
  --brand-grad: linear-gradient(100deg, var(--brand-1), var(--brand-2));

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1280px;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* suptilna industrijska atmosfera preko pozadine */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(239,138,51,.13), transparent 60%),
    radial-gradient(900px 700px at -5% 0%, rgba(84,131,174,.10), transparent 55%),
    var(--bg);
}

h1,h2,h3,h4 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.06; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 15px/1 "Inter", sans-serif;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand-grad); color: #1a1206; border: none; font-weight: 700;
  box-shadow: 0 14px 34px -12px rgba(239,138,51,.65);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -12px rgba(239,138,51,.8); }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.07); border-color: var(--brand); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 17px; border-radius: 14px; }
.btn--block { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(11,13,16,.7);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(11,13,16,.92); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 36px; height: 36px; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 24px;
  letter-spacing: .005em; color: #fff;
}
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; gap: 10px; margin-left: 10px; }

.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 28px 22px; border-bottom: 1px solid var(--line); background: rgba(11,13,16,.97); }
.nav__mobile a { padding: 14px 4px; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 14px; }
.nav__mobile.is-open { display: flex; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 130px 0 110px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; will-change: transform; }
.orb--1 { width: 660px; height: 660px; top: -200px; right: -120px; background: radial-gradient(circle, #e2622c, transparent 65%); animation: float1 16s var(--ease) infinite; }
.orb--2 { width: 580px; height: 580px; bottom: -240px; left: -160px; background: radial-gradient(circle, #5483ae, transparent 65%); opacity: .42; animation: float2 19s var(--ease) infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(130% 85% at 50% 0%, #000 35%, transparent 80%);
}
@keyframes float1 { 50% { transform: translate(-40px, 50px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(50px, -40px) scale(1.1); } }

.hero__inner { position: relative; max-width: 1000px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-1);
  padding: 9px 18px; border: 1px solid rgba(246,176,66,.3); border-radius: 100px;
  background: rgba(246,176,66,.07); margin-bottom: 28px;
}
.hero__title { font-size: clamp(46px, 8.2vw, 96px); font-weight: 700; line-height: 1.0; letter-spacing: -.035em; }
.grad {
  background: linear-gradient(100deg, var(--brand-1), var(--brand-2), var(--brand-1));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero__lead { margin-top: 30px; font-size: clamp(17px, 2.4vw, 23px); color: var(--ink-2); max-width: 760px; line-height: 1.55; }
.hero__moto {
  margin-top: 22px; font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: clamp(19px, 2.8vw, 27px); color: #fff;
}
.hero__moto span { color: var(--brand-1); }
.hero__actions { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  list-style: none; margin: 72px 0 0; padding: 34px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hero__stats strong { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(38px, 5vw, 56px); color: #fff; line-height: 1; }
.hero__stats span { font-size: 14px; color: var(--muted); }

/* ---------- TRUST ---------- */
.trust { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust__label { text-align: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 42px; margin-top: 20px; }
.trust__row span { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 19px; color: var(--ink-2); opacity: .85; }
.trust__note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ---------- SECTION ---------- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 760px; margin: 0 auto 68px; text-align: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-1); margin-bottom: 16px; }
.section__title { font-size: clamp(32px, 5.2vw, 54px); font-weight: 700; letter-spacing: -.025em; }
.section__sub { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); }
.section__foot { text-align: center; margin-top: 48px; color: var(--muted); font-size: 15.5px; }

/* "Ne vidite svoju sferu?" panel */
.custom {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  margin-top: 44px; padding: 44px 48px;
  background: linear-gradient(120deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line-2); border-radius: 22px;
  box-shadow: 0 24px 60px -34px rgba(0,0,0,.7);
}
.custom__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 220px at 10% -10%, rgba(239,138,51,.18), transparent 62%);
}
.custom__body { position: relative; max-width: 780px; }
.custom__kicker { font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-1); margin-bottom: 12px; }
.custom__title { font-size: clamp(23px, 3.2vw, 32px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.custom__text { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); }
.custom .btn { position: relative; flex: none; }
@media (max-width: 760px) {
  .custom { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
}

/* ---------- CARDS (sfere) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px 30px; overflow: hidden;
  transition: transform .24s var(--ease), border-color .25s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); opacity: .92;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 220px at 50% -20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  transition: opacity .35s;
}
.card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 34px 64px -30px color-mix(in srgb, var(--accent) 75%, black);
}
.card:hover::after { opacity: 1; }
.card__icon {
  position: relative; display: inline-flex; width: 58px; height: 58px; border-radius: 14px;
  align-items: center; justify-content: center; margin-bottom: 22px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 23px; font-weight: 600; }
.card p { margin-top: 11px; font-size: 15.5px; color: var(--ink-2); }
.card__tags { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags li {
  font-size: 12px; color: var(--muted); padding: 5px 11px; border-radius: 7px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.card__more {
  position: relative; display: inline-flex; align-items: center; gap: 7px; margin-top: 22px;
  font-size: 14.5px; font-weight: 600; color: var(--accent);
}
.card__more span { transition: transform .2s var(--ease); }
.card:hover .card__more span { transform: translateX(5px); }

.card--flag { padding-top: 36px; }
.card__flag {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
  padding: 5px 11px; border-radius: 100px; color: #1a1206;
  background: var(--brand-grad);
  box-shadow: 0 8px 20px -6px rgba(239,138,51,.6);
}

/* ---------- KAKO / CORE ---------- */
.kako { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: start; }
.kako__intro { position: sticky; top: 116px; text-align: left; }
.kako__intro .section__title { margin-top: 16px; }
.kako__intro .section__sub { margin-bottom: 32px; }
.core { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.core li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 16px; row-gap: 3px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  transition: border-color .25s, transform .2s var(--ease);
}
.core li:hover { border-color: var(--line-2); transform: translateY(-4px); }
.core__i {
  grid-row: span 2; width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-1); background: rgba(246,176,66,.12); border: 1px solid rgba(246,176,66,.22);
}
.core__i svg { width: 22px; height: 22px; }
.core b { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 16.5px; color: #fff; }
.core i { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* ---------- ZASTO ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; transition: border-color .25s, transform .2s var(--ease);
}
.why__card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.why__card h3 { font-size: 23px; font-weight: 600; color: #fff; position: relative; padding-left: 20px; }
.why__card h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 5px; background: var(--brand-grad); }
.why__card p { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 940px; margin: 0 auto; }
.chips span {
  font-size: 16px; color: var(--ink-2); padding: 12px 22px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line); transition: .22s var(--ease);
}
.chips span:hover { border-color: var(--brand); color: #fff; transform: translateY(-3px); }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; position: relative; }
.cta__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background:
    radial-gradient(800px 360px at 100% 0%, rgba(239,138,51,.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-2); border-radius: 28px; padding: 64px;
  box-shadow: var(--shadow);
}
.cta__copy h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.025em; }
.cta__copy > p { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.cta__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.cta__points li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink); }
.cta__points li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-grad); color: #1a1206;
}
.cta__form { display: grid; gap: 14px; }
.cta__form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.cta__form input, .cta__form textarea {
  font: 400 15.5px "Inter", sans-serif; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; resize: vertical; transition: border-color .2s;
}
.cta__form input:focus, .cta__form textarea:focus { outline: none; border-color: var(--brand); }
.cta__form input::placeholder, .cta__form textarea::placeholder { color: #5e6873; }
.cta__alt { text-align: center; font-size: 13.5px; color: var(--muted); }
.cta__alt a { color: var(--brand-1); font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 68px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; }
.footer__brand .brand__name { font-size: 26px; }
.footer__brand p { margin-top: 14px; font-size: 15px; color: var(--muted); max-width: 340px; }
.footer__moto { color: var(--brand-1) !important; font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.footer__col h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 15px; color: var(--muted); padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- REVEAL (progressive enhancement) ---------- */
html.js .reveal, html.js [data-reveal] { opacity: 0; transform: translateY(22px); }
html.js .reveal.is-visible, html.js [data-reveal].is-visible {
  opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.cards .card.is-visible:nth-child(2) { transition-delay: .06s; }
.cards .card.is-visible:nth-child(3) { transition-delay: .12s; }
.cards .card.is-visible:nth-child(5) { transition-delay: .06s; }
.cards .card.is-visible:nth-child(6) { transition-delay: .12s; }
.cards .card.is-visible:nth-child(8) { transition-delay: .06s; }
.cards .card.is-visible:nth-child(9) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js [data-reveal] { opacity: 1; transform: none; }
  .orb, .grad { animation: none !important; }
  * { transition: none !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .cards { grid-template-columns: 1fr 1fr; }
  .kako { grid-template-columns: 1fr; gap: 40px; }
  .kako__intro { position: static; }
  .cta__inner { grid-template-columns: 1fr; padding: 44px 32px; }
}
@media (max-width: 640px) {
  .hero { padding: 88px 0 72px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .cards { grid-template-columns: 1fr; }
  .core { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 80px 0; }
  .cta { padding: 80px 0; }
}

/* =========================================================
   IOP DIJAGRAM — jezgro (CORE) + moduli oko njega
   Veze crta main.js u <svg class="iop__wires"> iz izmerenih pozicija.
   ========================================================= */
.iop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0 clamp(70px, 8vw, 130px);
}

.iop__wires {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.iop__wire {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.2;
  transition: stroke .25s var(--ease), stroke-width .25s var(--ease), opacity .25s var(--ease);
}
.iop__wire.is-on { stroke: var(--accent); stroke-width: 2; }
.iop__dot { fill: var(--line-2); transition: fill .25s var(--ease), r .25s var(--ease); }
.iop__dot.is-on { fill: var(--accent); }
.iop.is-focus .iop__wire:not(.is-on) { opacity: .35; }

/* ---------- kolone sa modulima ---------- */
.iop__col { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.iop__node {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              background .25s var(--ease), opacity .25s var(--ease);
}
.iop__col--right .iop__node { flex-direction: row-reverse; text-align: right; }

.iop__node:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: var(--surface-2);
  transform: translateX(6px);
}
.iop__col--right .iop__node:hover { transform: translateX(-6px); }
.iop.is-focus .iop__node:not(.is-on) { opacity: .45; }

.iop__node--soon { border-style: dashed; }

.iop__icon {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.iop__icon svg { width: 21px; height: 21px; }

.iop__text { display: grid; gap: 2px; min-width: 0; }
.iop__text b {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 9px;
}
.iop__col--right .iop__text b { flex-direction: row-reverse; }
.iop__text b em {
  font: 600 10px/1 "Inter", sans-serif; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  padding: 4px 7px; border-radius: 999px; border: 1px solid var(--line-2);
}
.iop__text i { font-style: normal; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ---------- jezgro ---------- */
.iop__hub {
  position: relative; z-index: 2;
  width: clamp(230px, 24vw, 290px);
  text-align: center;
  padding: 32px 26px 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.iop__hub::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px; pointer-events: none;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; opacity: .55;
}
/* topli sjaj iza jezgra — na kontejneru, da ne prelazi preko sadržaja kartice */
.iop::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(720px, 92%); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(239,138,51,.13), transparent 72%);
}
.iop__hubmark { display: block; width: 52px; height: 52px; margin: 0 auto 14px; }
.iop__hubmark svg { width: 100%; height: 100%; }
.iop__hubname {
  display: block;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 27px; font-weight: 700; letter-spacing: .06em;
}
.iop__hubdesc {
  display: block; margin-top: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-1);
}
.iop__hubcore {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2);
}
.iop__chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.iop__chips li {
  font-size: 11.5px; color: var(--muted);
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}

/* ---------- responsive: bez linija, moduli u mrežu ---------- */
@media (max-width: 960px) {
  .iop { grid-template-columns: 1fr 1fr; gap: 12px; }
  .iop__wires { display: none; }
  .iop__hub { grid-column: 1 / -1; order: -1; width: 100%; max-width: 460px; margin: 0 auto 26px; }
  .iop__col { gap: 12px; align-content: start; }
  .iop__col--right .iop__node { flex-direction: row; text-align: left; }
  .iop__col--right .iop__text b { flex-direction: row; }
  .iop__node:hover, .iop__col--right .iop__node:hover { transform: none; }
}
@media (max-width: 640px) {
  .iop { grid-template-columns: 1fr; }
  .iop__hub { margin-bottom: 18px; }
}

/* =========================================================
   PREKIDAČ JEZIKA (SR | EN)
   ========================================================= */
.lang {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.lang__btn {
  font: 600 12px/1 "Inter", sans-serif; letter-spacing: .06em;
  color: var(--muted); background: none; border: 0;
  padding: 8px 11px; border-radius: 999px; cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-on { color: #14181e; background: var(--brand-grad); }
.lang--mobile { width: fit-content; margin-top: 18px; }

/* =========================================================
   DOKAZ IZ PRAKSE (trust traka)
   ========================================================= */
.trust { padding: 58px 0 46px; }
.proof {
  display: grid; justify-items: center; gap: 18px;
  text-align: center;
  padding-bottom: 36px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.proof__badge {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-1);
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid rgba(246,176,66,.32); background: rgba(246,176,66,.07);
}
.proof__stats {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px clamp(40px, 7vw, 90px);
}
.proof__stats li { display: grid; gap: 4px; }
.proof__stats strong {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(38px, 5.4vw, 58px); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof__stats span { font-size: 14.5px; color: var(--ink-2); }
.proof__note { max-width: 640px; font-size: 14.5px; color: var(--muted); }

/* =========================================================
   KINESKI (zh-Hans)
   CJK fontovi se dodaju kao rezerva u osnovni stek — latinica i dalje ide u Inter/
   Space Grotesk, a kineski znakovi padaju na sistemski font (nema webfonta, nema
   dodatnog zahteva). Ispod su samo tipografske korekcije koje CJK traži.
   ========================================================= */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}

/* negativan razmak slova i VELIKA SLOVA nemaju smisla za znakovno pismo */
html[lang^="zh"] body { line-height: 1.85; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3, html[lang^="zh"] h4 {
  letter-spacing: 0; line-height: 1.32;
}
html[lang^="zh"] .hero__title { font-size: clamp(38px, 6.6vw, 78px); line-height: 1.26; }
html[lang^="zh"] .section__title { font-size: clamp(30px, 4.6vw, 48px); }
html[lang^="zh"] .kicker,
html[lang^="zh"] .trust__label,
html[lang^="zh"] .proof__badge,
html[lang^="zh"] .footer__col h4,
html[lang^="zh"] .iop__text b em {
  text-transform: none; letter-spacing: .05em;
}
html[lang^="zh"] .card p,
html[lang^="zh"] .iop__text i,
html[lang^="zh"] .core i,
html[lang^="zh"] .why__card p { line-height: 1.75; }
html[lang^="zh"] .hero__stats span,
html[lang^="zh"] .proof__stats span { letter-spacing: .02em; }
html[lang^="zh"] .lang__btn { letter-spacing: 0; }
