/* ==========================================================================
   ODOO ATLAS — stilovi
   Paleta izvedena iz originalnih A3 umnih mapa (e-sustavi / Odoo).
   ========================================================================== */

:root {
  /* baza */
  --ink:        #150A10;
  --ink-2:      #1E0F18;
  --ink-3:      #2A1A24;
  --paper:      #F6F2F4;
  --paper-2:    #FFFFFF;
  --plum:       #523648;

  /* tekst na tamnoj podlozi */
  --on-ink:     #F4EDF0;
  --on-ink-dim: #A8949E;
  --on-ink-faint:#6E5B66;

  /* tekst na svijetloj podlozi */
  --on-pap:     #24121B;
  --on-pap-dim: #6A5460;
  --on-pap-faint:#9C8792;

  /* naglasak — postavlja se po području */
  --a:          #E0533A;
  --a-soft:     rgba(224, 83, 58, .12);
  --a-line:     rgba(224, 83, 58, .28);

  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --r-xl: 34px;

  --shell: min(1200px, 88vw);
  --topbar-h: 62px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --f-head: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

::selection { background: var(--a); color: #fff; }

:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; border-radius: 4px; }

.ico { width: 1em; height: 1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 clamp(14px, 4vw, 30px);
  background: rgba(21, 10, 16, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .4s var(--ease);
}

.tb-brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; letter-spacing: -.01em; }
.tb-brand b { font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.tb-brand span { font-size: 11.5px; color: var(--on-ink-faint); letter-spacing: .04em; }

.tb-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--on-ink-dim);
  padding: 7px 13px 7px 9px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
}
.tb-back .ico { font-size: 15px; transition: transform .25s var(--ease); }
.tb-back:hover { color: var(--on-ink); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.tb-back:hover .ico { transform: translateX(-3px); }

.tb-title {
  font-family: var(--f-head); font-weight: 700; font-size: 14px;
  letter-spacing: -.01em; color: var(--on-ink);
  display: flex; align-items: center; gap: 9px;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tb-title::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--a); flex: none; box-shadow: 0 0 12px var(--a);
}

.tb-spacer { flex: 1 1 auto; }

.tb-actions { display: flex; align-items: center; gap: 8px; }

.lang {
  display: flex; align-items: center; padding: 3px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}
.lang button {
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  padding: 5px 11px; border-radius: 999px; color: var(--on-ink-faint);
  transition: color .25s, background .25s;
}
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--on-ink); }

.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12);
  color: var(--on-ink-dim); font-size: 16px;
  transition: color .25s, border-color .25s, background .25s;
}
.icon-btn:hover { color: var(--on-ink); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }

/* ==========================================================================
   VIEW SWITCH
   ========================================================================== */
.view { display: none; }
.view.is-active { display: block; animation: viewIn .55s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   HUB
   ========================================================================== */
#view-hub { min-height: 100vh; padding-top: var(--topbar-h); position: relative; }

.hub-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% 44%, rgba(82, 54, 72, .55), transparent 70%),
    radial-gradient(40% 36% at 12% 84%, rgba(224, 83, 58, .14), transparent 70%),
    radial-gradient(40% 36% at 88% 16%, rgba(23, 162, 162, .12), transparent 70%);
}

.hub-wrap {
  position: relative; z-index: 1;
  width: var(--shell); margin: 0 auto;
  min-height: calc(100vh - var(--topbar-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 4vh, 46px) 0;
}

.hub-grid {
  display: grid; grid-template-columns: minmax(300px, 1fr) auto;
  gap: clamp(28px, 5vw, 78px); align-items: center;
}

.hub-head { max-width: min(470px, 100%); }

.kicker {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-ink-dim); margin-bottom: 20px;
}
.kicker::after { display: none; }
@media (max-width: 1080px) { .kicker::after { display: block; } }
.kicker::before, .kicker::after {
  content: ''; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35));
}
.kicker::after { background: linear-gradient(270deg, transparent, rgba(255, 255, 255, .35)); }

.hub-head h1 {
  font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; letter-spacing: -.035em;
  background: linear-gradient(180deg, #fff 30%, #C9B6C1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hub-lead {
  margin-top: 16px; font-size: clamp(14.5px, 1.4vw, 16.5px);
  color: var(--on-ink-dim); max-width: 48ch;
}

/* --- konstelacija (desktop) --- */
.constel {
  position: relative; margin: 0 auto;
  width: min(580px, 44vw, 74vh); aspect-ratio: 1;
}
.constel svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wires .ring { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: .14; }
.wires .wire {
  fill: none; stroke-width: .22; stroke-linecap: round;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  animation: draw 1.1s var(--ease) forwards;
  animation-delay: calc(.25s + var(--i) * .07s);
  opacity: .38; transition: opacity .35s, stroke-width .35s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.constel.is-hot .wire { opacity: .12; }
.constel .wire.is-hot { opacity: 1; stroke-width: .4; }

.core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(108px, 17%, 150px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 1px;
  background: radial-gradient(circle at 34% 28%, #6B4A5E, var(--plum) 62%, #3A2433);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .55), 0 0 70px rgba(82, 54, 72, .7);
  z-index: 3;
}
.core b { font-family: var(--f-head); font-weight: 800; font-size: clamp(17px, 2.4vw, 25px); letter-spacing: -.03em; }
.core span { font-size: clamp(10px, 1.2vw, 12.5px); color: rgba(255, 255, 255, .62); letter-spacing: .04em; }
.core::after {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12); animation: pulse 3.6s var(--ease-io) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.09); opacity: 0; }
}

.node {
  position: absolute; z-index: 2;
  transform: translate(-50%, -50%) scale(.4);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  width: 132px; text-align: center;
  opacity: 0;
  animation: nodeIn .7s var(--ease) forwards;
  animation-delay: calc(.35s + var(--i) * .07s);
}
@keyframes nodeIn { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.node-dot {
  width: clamp(58px, 8.6vw, 78px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-size: clamp(22px, 3.2vw, 29px); color: var(--c);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--c-line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, border-color .4s;
}
.node-label {
  font-family: var(--f-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: -.005em; color: var(--on-ink-dim);
  transition: color .3s;
}
.node-num {
  position: absolute; top: -4px; right: 20px;
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  color: var(--c); opacity: .7;
}
.node:hover .node-dot, .node:focus-visible .node-dot {
  transform: scale(1.14) translateY(-3px);
  background: linear-gradient(180deg, var(--c-soft), rgba(255, 255, 255, .04));
  border-color: var(--c);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 42px var(--c-soft), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.node:hover .node-label, .node:focus-visible .node-label { color: #fff; }

.hub-lead-wrap { position: relative; min-height: 5.4em; }
.hub-lead { transition: opacity .3s; }
.hub-lead-wrap.is-hot .hub-lead { opacity: 0; }

.constel-cap { position: absolute; inset: 0; pointer-events: none; }
.constel-cap b {
  display: block; font-family: var(--f-head); font-weight: 700;
  font-size: clamp(17px, 1.9vw, 22px); letter-spacing: -.025em; color: #fff;
  padding-left: 14px; border-left: 3px solid var(--a); line-height: 1.2;
  opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease);
}
.constel-cap p {
  margin-top: 8px; padding-left: 17px;
  font-size: clamp(13.5px, 1.35vw, 15.5px); line-height: 1.5; color: var(--on-ink-dim);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s .05s, transform .3s .05s var(--ease);
}
.constel-cap.is-on b, .constel-cap.is-on p { opacity: 1; transform: none; }

.hub-hint {
  display: inline-flex; align-items: center; gap: 9px; margin-top: clamp(20px, 3.4vh, 34px);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-faint);
}
.hub-hint .ico { font-size: 15px; color: var(--on-ink-dim); animation: nudge 2.4s var(--ease-io) infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }

/* --- hub lista (mobile) --- */
.hub-list { display: none; flex-direction: column; gap: 10px; margin-top: 8px; }
.hub-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 15px 16px; border-radius: var(--r-m);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  border-left: 3px solid var(--c);
  transition: background .25s, transform .25s var(--ease);
}
.hub-item:active { transform: scale(.985); }
.hub-item .hi-ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-size: 21px;
  color: var(--c); background: var(--c-soft); border: 1px solid var(--c-line);
}
.hub-item .hi-txt { min-width: 0; flex: 1; }
.hub-item b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; letter-spacing: -.015em; }
.hub-item p { font-size: 12.5px; color: var(--on-ink-dim); margin-top: 2px; }
.hub-item .hi-arrow { font-size: 17px; color: var(--on-ink-faint); flex: none; }
.hub-item .hi-num { font-size: 10.5px; font-weight: 600; color: var(--c); letter-spacing: .08em; }

/* ==========================================================================
   AREA — bands
   ========================================================================== */
#view-area { padding-top: var(--topbar-h); }

.band { position: relative; padding: clamp(56px, 9vh, 104px) 0; }
.band--ink   { background: var(--ink); color: var(--on-ink); }
.band--ink2  { background: var(--ink-2); color: var(--on-ink); }
.band--paper { background: var(--paper); color: var(--on-pap); }
.band--paper + .band--paper { padding-top: clamp(30px, 5vh, 58px); }
.band--paper + .band--paper::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  top: 0; width: var(--shell); height: 1px; background: rgba(36, 18, 27, .1);
}

.shell { width: var(--shell); margin: 0 auto; }

.sec-head { margin-bottom: clamp(26px, 4vh, 46px); max-width: 66ch; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--a); margin-bottom: 14px;
}
.sec-tag em {
  font-style: normal; font-family: var(--f-body); font-weight: 600;
  letter-spacing: .12em; color: var(--on-pap-faint);
}
.band--ink .sec-tag em, .band--ink2 .sec-tag em { color: var(--on-ink-faint); }
.sec-tag::after { content: ''; order: -1; width: 20px; height: 2px; background: var(--a); border-radius: 2px; }
.sec-head h2 { font-size: clamp(23px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.band--paper .sec-head h2 { color: var(--on-pap); }
.sec-head .sub { margin-top: 12px; font-size: clamp(14px, 1.4vw, 16.5px); color: var(--on-pap-dim); }
.band--ink .sec-head .sub, .band--ink2 .sec-head .sub { color: var(--on-ink-dim); }

/* ==========================================================================
   AREA HERO
   ========================================================================== */
.a-hero {
  position: relative; overflow: hidden;
  min-height: clamp(430px, 68vh, 620px);
  display: flex; align-items: center;
  padding: clamp(50px, 8vh, 90px) 0 clamp(76px, 11vh, 116px);
}
.a-hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background: radial-gradient(46% 52% at 22% 34%, var(--a-soft), transparent 68%);
  pointer-events: none;
}
.a-hero-num {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(88px, 20vw, 230px); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.4px var(--a-line);
  position: absolute; right: -.09em; bottom: -.3em; z-index: 0; pointer-events: none;
  opacity: .8;
}
.a-hero .shell { position: relative; z-index: 1; }
.a-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: 20px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--a);
}
.a-hero-eyebrow .ico { font-size: 17px; }
.a-hero h1 {
  font-size: clamp(33px, 6.6vw, 76px); font-weight: 800; letter-spacing: -.04em;
  max-width: 17ch;
  background: linear-gradient(178deg, #fff 34%, #BEA9B5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.a-hero .lead {
  margin-top: 20px; font-size: clamp(15px, 1.7vw, 19px); line-height: 1.5;
  color: var(--on-ink-dim); max-width: 56ch;
}
.a-hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-meta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  color: var(--on-ink-dim); border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .04);
}
.chip-meta .ico { font-size: 14px; color: var(--a); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-faint);
}
.scroll-hint i {
  display: block; width: 1px; height: 26px;
  background: linear-gradient(180deg, var(--a), transparent);
  animation: hintDrop 1.9s var(--ease-io) infinite;
}
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56%, 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================================
   RAIL
   ========================================================================== */
.rail {
  position: fixed; z-index: 55;
  left: max(14px, calc((100vw - var(--shell)) / 2 - 70px));
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 3px; padding: 10px 9px;
  border-radius: 999px;
  background: rgba(21, 10, 16, .74);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .09);
  opacity: 0; pointer-events: none; transition: opacity .45s;
}
.rail.is-on { opacity: 1; pointer-events: auto; }
.rail button {
  position: relative; display: flex; align-items: center; gap: 0;
  padding: 7px; border-radius: 999px;
}
.rail button i {
  display: block; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, .22); transition: background .3s, transform .3s var(--ease);
}
.rail button[aria-current="true"] i { background: var(--a); transform: scale(1.35); box-shadow: 0 0 12px var(--a); }
.rail button span {
  position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%) translateX(-6px);
  white-space: nowrap; font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(21, 10, 16, .92); border: 1px solid rgba(255, 255, 255, .1);
  color: var(--on-ink); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.rail button:hover span, .rail button:focus-visible span { opacity: 1; transform: translateY(-50%); }

/* ==========================================================================
   KARTICE
   ========================================================================== */
.grid { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }

.card {
  position: relative; padding: clamp(19px, 2.2vw, 26px);
  border-radius: var(--r-m); background: var(--paper-2);
  border: 1px solid rgba(36, 18, 27, .09);
  box-shadow: 0 1px 2px rgba(36, 18, 27, .04), 0 12px 26px -18px rgba(36, 18, 27, .3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--a-line);
  box-shadow: 0 2px 4px rgba(36, 18, 27, .05), 0 22px 44px -22px rgba(36, 18, 27, .4);
}
.card .c-ico {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 15px;
  display: grid; place-items: center; font-size: 21px;
  color: var(--a); background: var(--a-soft);
}
.card h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; color: var(--on-pap); }
.card p { margin-top: 7px; font-size: 13.8px; line-height: 1.5; color: var(--on-pap-dim); }

.band--ink .card, .band--ink2 .card {
  background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .09);
  box-shadow: none;
}
.band--ink .card:hover, .band--ink2 .card:hover { background: rgba(255, 255, 255, .07); border-color: var(--a-line); }
.band--ink .card h3, .band--ink2 .card h3 { color: var(--on-ink); }
.band--ink .card p, .band--ink2 .card p { color: var(--on-ink-dim); }

/* traka s formulom / benefitom */
.band-note {
  margin-top: clamp(18px, 2.4vw, 26px); padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-m); border: 1.5px dashed var(--a-line);
  background: var(--a-soft);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); flex-wrap: wrap;
}
.band-note .bn-tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--a); white-space: nowrap;
}
.band-note .bn-txt {
  font-family: var(--f-head); font-weight: 700; letter-spacing: -.015em;
  font-size: clamp(14px, 1.8vw, 19px); line-height: 1.35; color: var(--on-pap); flex: 1; min-width: 220px;
}
.band--ink .band-note .bn-txt, .band--ink2 .band-note .bn-txt { color: var(--on-ink); }

/* ==========================================================================
   FLOW
   ========================================================================== */
.flow {
  position: relative; display: grid; gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.flow::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--a-line) 12%, var(--a-line) 88%, transparent);
}
.flow-step { position: relative; text-align: center; }
.flow-dot {
  position: relative; width: 60px; height: 60px; margin: 0 auto 15px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; color: var(--a);
  background: var(--ink-2); border: 1px solid var(--a-line);
  box-shadow: 0 0 0 6px var(--ink);
  transition: transform .4s var(--ease), background .4s, box-shadow .4s;
}
.flow-step:hover .flow-dot { transform: translateY(-4px) scale(1.06); background: var(--a); color: #fff; }
.flow-n {
  position: absolute; top: -3px; right: -3px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  background: var(--a); color: #fff;
}
.flow-step h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.flow-step p { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--on-ink-dim); }

/* ==========================================================================
   DVIJE LISTE (automatizacije / analitika)
   ========================================================================== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 30px); }
.panel {
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-l);
  background: var(--paper-2); border: 1px solid rgba(36, 18, 27, .09);
}
.band--ink .panel, .band--ink2 .panel { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.panel-tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--a); margin-bottom: 18px; display: block;
}
.tick { display: flex; flex-direction: column; gap: 3px; }
.tick li { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; border-top: 1px solid rgba(36, 18, 27, .07); }
.tick li:first-child { border-top: 0; padding-top: 0; }
.band--ink .tick li, .band--ink2 .tick li { border-color: rgba(255, 255, 255, .07); }
.tick .t-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none; margin-top: -2px;
  display: grid; place-items: center; font-size: 16px;
  color: var(--a); background: var(--a-soft);
}
.tick b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.tick small { display: block; font-size: 12.5px; line-height: 1.45; color: var(--on-pap-dim); margin-top: 2px; }
.band--ink .tick small, .band--ink2 .tick small { color: var(--on-ink-dim); }

/* ==========================================================================
   MODULI
   ========================================================================== */
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mod {
  display: flex; gap: 14px; align-items: flex-start; padding: 17px 18px;
  border-radius: var(--r-m); background: var(--paper-2);
  border: 1px solid rgba(36, 18, 27, .09);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.mod:hover { border-color: var(--a-line); transform: translateY(-2px); box-shadow: 0 18px 34px -24px rgba(36, 18, 27, .45); }
.mod .m-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 19px;
  color: #fff; background: var(--a);
}
.mod b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.mod span { display: block; font-size: 12.4px; line-height: 1.45; color: var(--on-pap-dim); margin-top: 3px; }

/* ==========================================================================
   CONNECTED HUB
   ========================================================================== */
.conn { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.conn-viz { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; margin: 0 auto; }
.conn-viz > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.conn-viz .cw {
  fill: none; stroke: var(--a); stroke-width: .5; stroke-linecap: round; opacity: .55;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
}
.conn-viz.is-in .cw { animation: draw 1.05s var(--ease) forwards; animation-delay: calc(var(--i) * .11s); }
.conn-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center;
  text-align: center; background: radial-gradient(circle at 35% 28%, #6B4A5E, var(--plum) 64%, #3A2433);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 46px rgba(0, 0, 0, .5);
  z-index: 2;
}
.conn-core b { font-family: var(--f-head); font-weight: 800; font-size: clamp(14px, 2vw, 20px); letter-spacing: -.03em; color: #fff; }
.conn-core span { font-size: clamp(9.5px, 1.2vw, 12px); color: rgba(255, 255, 255, .62); }
.conn-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 21%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-size: clamp(20px, 2.8vw, 29px); color: var(--a);
  background: var(--ink-2); border: 1px solid var(--a-line);
  z-index: 2; opacity: 0;
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.conn-viz.is-in .conn-node { animation: cnIn .6s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * .11s); }
@keyframes cnIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.55); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.conn-node:hover, .conn-node.is-hot { background: var(--a); color: #fff; transform: translate(-50%, -50%) scale(1.1); }

.conn-list { display: flex; flex-direction: column; gap: 2px; }
.conn-list li {
  display: flex; gap: 15px; align-items: flex-start; padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .08); cursor: default;
  transition: padding-left .3s var(--ease);
}
.conn-list li:hover { padding-left: 6px; }
.conn-list li:first-child { border-top: 0; }
.conn-list .cl-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-size: 17px; color: var(--a); background: var(--a-soft);
}
.conn-list b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.conn-list p { font-size: 13.2px; line-height: 1.5; color: var(--on-ink-dim); margin-top: 3px; }

/* ==========================================================================
   METODA
   ========================================================================== */
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: rgba(36, 18, 27, .12); border-radius: 2px;
}
.step::after {
  content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--a); border-radius: 2px; transition: width .8s var(--ease);
  transition-delay: calc(var(--i) * .1s);
}
.method.is-in .step::after { width: 100%; }
.step-n { font-family: var(--f-head); font-weight: 800; font-size: 12px; color: var(--a); letter-spacing: .1em; }
.step .s-ico { font-size: 24px; color: var(--a); margin: 12px 0 12px; display: block; }
.step h4 { font-size: 13px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; line-height: 1.25; min-height: 2.5em; }
.step p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--on-pap-dim); }

/* ==========================================================================
   POSTER
   ========================================================================== */
.poster-box {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 54px); align-items: center;
}
.poster-thumb {
  position: relative; border-radius: var(--r-l); overflow: hidden; cursor: zoom-in;
  isolation: isolate; transform: translateZ(0);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  background: #fff;
}
.poster-thumb img { width: 100%; transition: transform .8s var(--ease); }
.poster-thumb:hover img { transform: scale(1.035); }
.poster-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 10, 16, .55));
  opacity: 0; transition: opacity .4s;
}
.poster-thumb:hover::after { opacity: 1; }
.poster-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(21, 10, 16, .82); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.poster-thumb:hover .poster-badge { opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-size: 14px; font-weight: 600;
  letter-spacing: -.005em; transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
}
.btn .ico { font-size: 17px; }
.btn:active { transform: scale(.97); }
.btn--pri { background: var(--a); color: #fff; box-shadow: 0 12px 30px -12px var(--a); }
.btn--pri:hover { box-shadow: 0 18px 40px -14px var(--a); transform: translateY(-2px); }
.btn--gho { border: 1px solid rgba(255, 255, 255, .2); color: var(--on-ink); }
.btn--gho:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .05); }
.band--paper .btn--gho { border-color: rgba(36, 18, 27, .18); color: var(--on-pap); }
.band--paper .btn--gho:hover { border-color: rgba(36, 18, 27, .4); background: rgba(36, 18, 27, .04); }
.btn-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.note-sm { font-size: 12px; color: var(--on-ink-faint); margin-top: 14px; }

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(34px, 5vw, 62px);
  background: linear-gradient(135deg, var(--plum), #35202E);
  border: 1px solid rgba(255, 255, 255, .1);
}
.cta::before {
  content: ''; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--a-soft), transparent 66%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(22px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; color: #fff; }
.cta p { margin-top: 14px; font-size: clamp(14px, 1.5vw, 16.5px); color: rgba(255, 255, 255, .74); max-width: 52ch; }

.area-nav { display: flex; gap: 12px; margin-top: clamp(30px, 5vh, 56px); }
.nav-card {
  flex: 1; display: flex; align-items: center; gap: 13px; padding: 18px 20px;
  border-radius: var(--r-m); border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03); text-align: left;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.nav-card:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .24); }
.nav-card--next { flex-direction: row-reverse; text-align: right; }
.nav-card .nc-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 20px; color: var(--nc); background: color-mix(in srgb, var(--nc) 14%, transparent); }
.nav-card small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-faint); }
.nav-card b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; letter-spacing: -.015em; margin-top: 3px; }

.foot {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 34px 0 44px; margin-top: clamp(40px, 7vh, 76px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.foot-logo { display: flex; align-items: center; gap: 12px; }
.foot-logo .fl-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--on-ink); color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 15px;
}
.foot-logo b { font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.foot-logo span { display: block; font-size: 11px; color: var(--on-ink-faint); letter-spacing: .04em; }
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.foot-links a { color: var(--on-ink-dim); text-decoration: none; transition: color .25s; }
.foot-links a:hover { color: var(--on-ink); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .06s; } .rv-d2 { transition-delay: .12s; }
.rv-d3 { transition-delay: .18s; } .rv-d4 { transition-delay: .24s; }
.rv-d5 { transition-delay: .3s; }  .rv-d6 { transition-delay: .36s; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lb {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  background: rgba(10, 5, 8, .96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .3s var(--ease) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px clamp(12px, 3vw, 22px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); flex: none;
}
.lb-bar b { font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: -.015em; }
.lb-stage {
  flex: 1; overflow: hidden; position: relative; cursor: grab;
  touch-action: none; display: grid; place-items: center;
}
.lb-stage.is-drag { cursor: grabbing; }
.lb-stage img {
  max-width: none; transform-origin: 0 0; will-change: transform;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6); background: #fff; border-radius: 4px;
  user-select: none; -webkit-user-drag: none;
}
.lb-tools {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 5px;
  border-radius: 999px; background: rgba(21, 10, 16, .88);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lb-tools button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; color: var(--on-ink-dim); transition: color .25s, background .25s; }
.lb-tools button:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.lb-tools .lb-pct { min-width: 52px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--on-ink-dim); }

/* ==========================================================================
   SHARE / QR
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center;
  padding: 20px; background: rgba(10, 5, 8, .8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fadeIn .3s var(--ease) both;
}
.modal-card {
  width: min(400px, 100%); padding: 30px; border-radius: var(--r-l); text-align: center;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  animation: popIn .4s var(--ease) both;
}
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.modal-card > p { margin-top: 8px; font-size: 13.5px; color: var(--on-ink-dim); }
.qr-box {
  width: 214px; height: 214px; margin: 22px auto; padding: 12px; border-radius: 16px;
  background: #fff; display: grid; place-items: center;
}
.qr-box svg { width: 100%; height: 100%; display: block; }
.url-row {
  display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
}
.url-row input {
  flex: 1; min-width: 0; background: none; border: 0; color: var(--on-ink-dim);
  font-size: 12.5px; font-family: inherit; padding: 6px 0; text-overflow: ellipsis;
}
.url-row input:focus { outline: none; color: var(--on-ink); }
.url-row button { padding: 9px 16px; border-radius: 999px; background: var(--a); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.modal-close { margin-top: 18px; font-size: 12.5px; color: var(--on-ink-faint); }
.modal-close:hover { color: var(--on-ink); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .rail { left: auto; right: 14px; }
}

@media (max-width: 1080px) {
  .hub-lead-wrap { min-height: 0; }
  .constel-cap { display: none; }
  .hub-lead-wrap.is-hot .hub-lead { opacity: 1; }
  .hub-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hub-head { max-width: 640px; }
  .hub-lead { margin-inline: auto; }
  .constel { width: min(520px, 78vw, 52vh); }
}

@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 22px 14px; }
  .flow::before { display: none; }
  .method { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .conn { grid-template-columns: 1fr; gap: 34px; }
  .conn-viz { max-width: 360px; }
  .poster-box { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --topbar-h: 56px; --shell: 90vw; }
  .constel, .hub-hint { display: none; }
  .hub-list { display: flex; }
  .hub-head { text-align: left; margin-bottom: 26px; }
  .hub-head h1 { font-size: clamp(28px, 8vw, 40px); }
  .kicker::before, .kicker::after { display: none; }

  /* na mobitelu top bar mora stati u jedan red */
  .topbar { gap: 9px; padding: 0 12px; }
  .tb-brand span { display: none; }
  .tb-brand b { font-size: 14px; white-space: nowrap; }
  body.in-area .tb-brand { display: none; }
  .tb-back { padding: 0; width: 34px; height: 34px; justify-content: center; flex: none; }
  .tb-back span { display: none; }
  .tb-title { font-size: 13px; gap: 7px; }
  .tb-title::before { width: 7px; height: 7px; }
  .lang button { padding: 5px 9px; font-size: 11px; }
  .icon-btn { width: 34px; height: 34px; font-size: 15px; }

  .duo { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .mods { grid-template-columns: 1fr; }
  .area-nav { flex-direction: column; }

  /* rail → donja traka */
  .rail {
    left: 50%; right: auto; top: auto; bottom: 14px;
    transform: translateX(-50%);
    flex-direction: row; gap: 2px; max-width: calc(100vw - 24px);
    overflow-x: auto; scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail button { padding: 8px 12px; gap: 7px; }
  .rail button span {
    position: static; transform: none; opacity: 1; background: none; border: 0;
    padding: 0; font-size: 11.5px; color: var(--on-ink-faint); white-space: nowrap;
  }
  .rail button[aria-current="true"] span { color: var(--on-ink); }

  .a-hero { min-height: auto; padding-top: 44px; padding-bottom: 60px; }
  .a-hero-num { font-size: 128px; opacity: .5; }
  .scroll-hint { display: none; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-step { display: grid; grid-template-columns: 60px 1fr; gap: 16px; text-align: left; padding-bottom: 22px; position: relative; }
  .flow-step::before {
    content: ''; position: absolute; left: 29px; top: 60px; bottom: 0; width: 1px; background: var(--a-line);
  }
  .flow-step:last-child::before { display: none; }
  .flow-dot { margin: 0; box-shadow: none; }
  .method { grid-template-columns: 1fr; }
  .step { padding-top: 20px; }
  .step h4 { min-height: 0; }
  .lb-tools { bottom: 14px; }
}

@media (max-width: 420px) {
  .qr-box { width: 186px; height: 186px; }
  .modal-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
  .wire, .cw { stroke-dashoffset: 0 !important; }
  .node, .conn-node { opacity: 1 !important; }
}

@media print {
  .topbar, .rail, .scroll-hint, .area-nav { display: none !important; }
  body { background: #fff; color: #000; }
}
