/* 7.9.54 — početna (mreža, kosi split, Dispo AI), skrol marketinga, subnav */

/* —— Dokument se skrola. Shell ne smije biti 100dvh kavez. —— */
html:has(body.bu-landing-page),
html:has(body.bu-public-inner) {
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
html body.bu-landing-page,
html body.bu-public-inner {
  height: auto !important;
  max-height: none !important;
  min-height: 100dvh !important;
  overflow: visible !important;
}
html body.bu-landing-page .landing-shell,
html body.bu-public-inner .landing-shell,
html body.bu-landing-page .landing-shell-full {
  height: auto !important;
  max-height: none !important;
  min-height: 100dvh !important;
  overflow: visible !important;
  contain: none !important;
}
html body.bu-landing-page .landing-shell-main,
html body.bu-public-inner .landing-shell-main,
html body.bu-landing-page main,
html body.bu-public-inner main.bu-mkt,
html body.bu-public-inner main.bu-guide,
html body.bu-public-inner main.bu-cmp,
html body.bu-public-inner main.bu-blog,
html body.bu-public-inner main.bu-page {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  contain: none !important;
}

/* —— Zastavice —— */
.bu-flag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
html body.bu-landing-page .bu-neon-flags .bu-flag-disc,
.bu-flag-disc {
  position: relative;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: #0b1a2e !important;
  font-size: 0;
}
.bu-flag-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bu-flag-disc-fallback {
  display: none;
  font-size: 18px;
  line-height: 1;
}
.bu-flag-disc img[src=""],
.bu-flag-disc img:not([src]) {
  display: none;
}
.bu-neon-flags .bu-flag-row {
  justify-content: flex-start;
}
.bu-neon-flags span:not(.bu-flag-disc):not(.bu-flag-row):not(.bu-flag-disc-fallback) {
  display: none;
}

/* —— Hero → sekcija 2: preklapanje, bez linije —— */
html body.bu-landing-page .bu-neon-hero {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
html body.bu-landing-page .bu-neon-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 140px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 8, 20, 0.55) 48%, #050c18 100%);
}

/* —— Sekcija 2: mreža, 3D prozori —— */
html body.bu-landing-page .bu-home-net.bu-neon-stage {
  position: relative;
  margin-top: -88px;
  padding-top: 120px !important;
  padding-bottom: 96px !important;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
  background: #050c18;
}
html body.bu-landing-page .bu-home-net .bu-neon-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05);
}
html body.bu-landing-page .bu-home-net .bu-neon-stage-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 12, 24, 0.28) 0%, rgba(5, 12, 24, 0.72) 42%, rgba(5, 12, 24, 0.88) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(0, 160, 255, 0.18), transparent 55%);
}
html body.bu-landing-page .bu-home-net .bu-neon-stage-inner {
  position: relative;
  z-index: 2;
}
html body.bu-landing-page .bu-home-net-head {
  max-width: 760px;
}
html body.bu-landing-page .bu-home-net-head h2 {
  color: #fff !important;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  letter-spacing: -0.04em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}
html body.bu-landing-page .bu-home-net-head p {
  color: #d7ebff !important;
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
html body.bu-landing-page .bu-home-gates.bu-neon-gates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 36px;
  perspective: 1400px;
}
.bu-home-win {
  position: relative;
  background: linear-gradient(165deg, rgba(8, 18, 36, 0.86), rgba(4, 10, 22, 0.78));
  border: 1px solid rgba(122, 240, 255, 0.38);
  border-radius: 22px;
  padding: 22px 22px 20px;
  color: #eaf6ff;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 42px rgba(0, 170, 255, 0.14);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transform: perspective(1200px) rotateY(7deg) translateZ(0);
  transform-origin: left center;
}
.bu-home-win.is-de {
  transform: perspective(1200px) rotateY(-7deg) translateZ(0);
  transform-origin: right center;
}
.bu-home-win-chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.bu-home-win-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  background: #ff5f57;
  box-shadow: 0 0 8px rgba(255, 95, 87, 0.45);
}
.bu-home-win-chrome i:nth-child(2) { background: #febc2e; box-shadow: 0 0 8px rgba(254, 188, 46, 0.4); }
.bu-home-win-chrome i:nth-child(3) { background: #28c840; box-shadow: 0 0 8px rgba(40, 200, 64, 0.4); }
.bu-home-win h3 {
  margin: 6px 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.bu-home-domain {
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(122, 240, 255, 0.85);
}
.bu-home-domain:hover {
  color: #7af0ff !important;
}
.bu-home-win-note {
  margin: 12px 0 0;
  color: #b9d6f0 !important;
  font-size: 0.92rem;
}
.bu-home-win-go {
  display: inline-flex;
  margin-top: 16px;
  color: #7af0ff !important;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.bu-home-join {
  align-self: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: radial-gradient(circle at 40% 30%, #12385a, #06111f);
  border: 1px solid rgba(122, 240, 255, 0.55);
  box-shadow: 0 0 28px rgba(0, 190, 255, 0.35);
  color: #fff;
  z-index: 3;
}
.bu-home-join b {
  font-size: 1.35rem;
  line-height: 1;
}
.bu-home-join span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7af0ff;
  font-weight: 800;
}
html body.bu-landing-page .bu-home-net .bu-neon-facts {
  margin-top: 28px;
  color: #eaf6ff;
}

/* —— Sekcija 3: kosi half-screen —— */
.bu-home-split {
  position: relative;
  display: flex;
  min-height: min(92vh, 860px);
  margin-top: -48px;
  z-index: 3;
  background: #040910;
}
.bu-home-split-pane {
  position: relative;
  flex: 1 1 58%;
  min-height: min(92vh, 860px);
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  isolation: isolate;
}
.bu-home-split-pane.is-dispo {
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  z-index: 2;
  margin-right: -10%;
}
.bu-home-split-pane.is-driver {
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -10%;
  z-index: 1;
}
.bu-home-split-pane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.bu-home-split-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.18) 0%, rgba(4, 10, 22, 0.22) 38%, rgba(4, 10, 22, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 40%);
}
.bu-home-split-pane.is-driver .bu-home-split-veil {
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.12) 0%, rgba(4, 10, 22, 0.2) 36%, rgba(4, 10, 22, 0.84) 100%),
    linear-gradient(270deg, rgba(0, 0, 0, 0.22), transparent 42%);
}
.bu-home-ico {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(6, 16, 32, 0.55);
  border: 1px solid rgba(122, 240, 255, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 180, 255, 0.2);
  backdrop-filter: blur(10px);
}
.bu-home-split-pane.is-driver .bu-home-ico {
  left: auto;
  right: 28px;
}
.bu-home-split-copy {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 18%;
  bottom: 36px;
  display: grid;
  gap: 10px;
  max-width: 28rem;
}
.bu-home-split-pane.is-driver .bu-home-split-copy {
  left: 18%;
  right: 28px;
  margin-left: auto;
  text-align: right;
}
.bu-home-split-copy strong {
  display: block;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}
.bu-home-split-copy span:not(.bu-neon-kicker) {
  color: #d7ebff !important;
  font-size: 1.02rem;
  line-height: 1.45;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.bu-home-split-copy em {
  font-style: normal;
  font-weight: 800;
  color: #7af0ff !important;
  letter-spacing: 0.02em;
}

/* —— Dispo AI + BiH —— */
.bu-home-ai,
.bu-home-bh {
  position: relative;
  background: #07111f;
  color: #eaf6ff;
  padding: 88px 0 !important;
}
.bu-home-ai {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 170, 255, 0.16), transparent 50%),
    #07111f;
}
.bu-home-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.bu-home-ai-ex {
  background: rgba(8, 18, 36, 0.72);
  border: 1px solid rgba(122, 240, 255, 0.28);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.bu-home-ai-say {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff !important;
  line-height: 1.35;
}
.bu-home-ai-ex ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bu-home-ai-ex li {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: #d7ebff;
}
.bu-home-ai-ex b { color: #7af0ff; margin-right: 4px; }
.bu-home-ai-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: #9ec8e8;
}
.bu-home-bh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}
.bu-home-bh h2,
.bu-home-ai h2 {
  color: #fff !important;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}
.bu-home-bh-ticks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.bu-home-bh-ticks li {
  padding-left: 18px;
  position: relative;
  color: #d7ebff;
}
.bu-home-bh-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7af0ff;
  box-shadow: 0 0 10px #7af0ff;
}
.bu-home-bh-card {
  background: rgba(8, 18, 36, 0.78);
  border: 1px solid rgba(122, 240, 255, 0.32);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
.bu-home-bh-card strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
  margin: 6px 0 10px;
}
.bu-neon-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* —— Subnav: vidljiv, staklo, aktivan tab —— */
html body.bu-public-inner .bu-mkt-subnav,
html body.bu-public-inner .bu-pub-subnav,
html body.bu-landing-page .bu-mkt-subnav {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 8px;
  padding: 12px 20px;
  min-height: 58px;
  align-items: center;
  background: rgba(5, 12, 26, 0.94) !important;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(122, 240, 255, 0.38) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  scrollbar-width: thin;
}
html body.bu-public-inner .bu-mkt-subnav a,
html body.bu-public-inner .bu-pub-subnav a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  color: #eaf6ff !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(122, 240, 255, 0.22);
}
html body.bu-public-inner .bu-mkt-subnav a.is-on,
html body.bu-public-inner .bu-pub-subnav a.is-on,
html body.bu-public-inner .bu-mkt-subnav a:hover {
  background: linear-gradient(90deg, #00c2ff, #0068ff) !important;
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 0 22px rgba(0, 170, 255, 0.45);
}

/* —— Marketing ritam i čitljivost —— */
html body.bu-public-inner .bu-mkt-hero {
  min-height: min(52vh, 520px);
  max-height: none !important;
  overflow: hidden;
}
html body.bu-public-inner .bu-mkt-section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
  overflow: visible !important;
}
html body.bu-public-inner .bu-mkt-sec-head h2,
html body.bu-public-inner .bu-mkt-section h2 {
  color: #0b1220 !important;
}
html body.bu-public-inner .bu-mkt-ai {
  background: #07111f !important;
  color: #eaf6ff;
}
html body.bu-public-inner .bu-mkt-ai h2,
html body.bu-public-inner .bu-mkt-ai p,
html body.bu-public-inner .bu-mkt-ai .bu-mkt-sec-lead {
  color: #eaf6ff !important;
}
html body.bu-public-inner .bu-mkt-ai .landing-sec-kicker,
html body.bu-public-inner .bu-mkt-ai .bu-neon-kicker {
  color: #7af0ff !important;
}
.bu-mkt-faq {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.bu-mkt-faq details {
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 16px 18px;
}
.bu-mkt-faq summary {
  font-weight: 800;
  cursor: pointer;
  color: #0b1220;
}
.bu-mkt-faq p {
  margin: 10px 0 0;
  color: #334155;
}
.bu-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.bu-vs-col {
  border-radius: 20px;
  padding: 22px;
  border: 1px solid #dbe4ef;
  background: #fff;
}
.bu-vs-col.is-us {
  background: #07111f;
  border-color: rgba(122, 240, 255, 0.35);
  color: #eaf6ff;
}
.bu-vs-col h3 { margin: 0 0 12px; }
.bu-vs-col.is-us h3 { color: #fff; }
.bu-vs-col li { margin: 8px 0; }

@media (max-width: 1099px) {
  html body.bu-landing-page .bu-home-gates.bu-neon-gates {
    grid-template-columns: 1fr;
  }
  .bu-home-win,
  .bu-home-win.is-de {
    transform: none;
  }
  .bu-home-join { margin: 0 auto; }
  .bu-home-bh-grid,
  .bu-home-ai-grid,
  .bu-vs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  html body.bu-landing-page .bu-home-net.bu-neon-stage {
    margin-top: -48px;
    padding-top: 72px !important;
  }
  .bu-home-split {
    flex-direction: column;
    min-height: 0;
    margin-top: -24px;
  }
  .bu-home-split-pane,
  .bu-home-split-pane.is-dispo,
  .bu-home-split-pane.is-driver {
    flex: none;
    width: 100%;
    min-height: 72vh;
    margin: 0;
    clip-path: none;
  }
  .bu-home-split-pane.is-dispo {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
  .bu-home-split-pane.is-driver {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    margin-top: -8vh;
  }
  .bu-home-split-copy,
  .bu-home-split-pane.is-driver .bu-home-split-copy {
    left: 20px;
    right: 20px;
    text-align: left;
    max-width: none;
  }
  .bu-home-split-pane.is-driver .bu-home-ico {
    left: 20px;
    right: auto;
  }
}
