/* 7.9.55 — logo, split hover, svijetle sekcije, jezik, blog, dubina */

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;
  scroll-behavior: smooth;
}
html body.bu-landing-page,
html body.bu-public-inner {
  height: auto !important;
  max-height: none !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-main,
html body.bu-public-inner .landing-shell-main,
html body.bu-public-inner main,
html body.bu-landing-page main {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  contain: none !important;
}

/* —— Veći logo u baru —— */
html body.bu-landing-page .bu-neon-logo,
html body.bu-public-inner .bu-neon-logo {
  display: flex !important;
  align-items: center;
  min-width: 168px;
  max-width: 280px;
  flex: 0 0 auto;
}
html body.bu-landing-page .bu-neon-logo-img,
html body.bu-landing-page .bu-neon-logo-img-wrap img,
html body.bu-landing-page .bu-brand-file img,
html body.bu-public-inner .bu-neon-logo-img,
html body.bu-public-inner .bu-brand-file img,
html body.bu-landing-page .bu-neon-head .bu-brand-file img {
  max-height: 72px !important;
  height: 72px !important;
  width: auto !important;
  object-fit: contain !important;
}
html body.bu-landing-page .bu-neon-side-logo,
html body.bu-public-inner .bu-neon-side-logo {
  padding: 12px 10px 8px;
}
html body.bu-landing-page .bu-neon-side-logo-img,
html body.bu-landing-page .bu-neon-side-logo img,
html body.bu-public-inner .bu-neon-side-logo img {
  max-height: 58px !important;
  height: 58px !important;
  width: auto !important;
}

html body.bu-landing-page .bu-neon-head,
html body.bu-public-inner .bu-neon-head,
html body.bu-landing-page .bu-neon-head-inner,
html body.bu-public-inner .bu-neon-actions {
  overflow: visible !important;
}

/* —— Jezik: ime + zastavica, meni iznad svega —— */
html body .bu-lang-pick {
  position: relative;
  z-index: 80;
}
html body .bu-lang-pick.is-open {
  z-index: 60000;
}
html body .bu-lang-btn,
html body .bu-lang-btn-compact {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px 0 6px !important;
  border-radius: 999px !important;
  background: rgba(7, 16, 32, 0.72) !important;
  border: 1px solid rgba(122, 240, 255, 0.35) !important;
  color: #f4fbff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
html body .bu-lang-btn .bu-flag-disc {
  width: 26px;
  height: 26px;
  min-width: 26px;
}
html body .bu-lang-btn-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f4fbff !important;
  max-width: 12ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html body .bu-lang-btn-code { display: none !important; }
html body .bu-lang-menu {
  min-width: 280px;
  max-width: 340px;
  max-height: min(72vh, 520px);
  overflow: auto;
  padding: 10px;
  border-radius: 18px;
  background: #07111f !important;
  border: 1px solid rgba(122, 240, 255, 0.4) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  z-index: 60000 !important;
}
html body .bu-lang-q {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(122, 240, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 12px;
  margin-bottom: 8px;
}
html body .bu-lang-opt {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #eaf6ff !important;
  cursor: pointer;
}
html body .bu-lang-opt .bu-flag-disc {
  width: 22px;
  height: 22px;
  min-width: 22px;
}
html body .bu-lang-opt-code {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: #7af0ff;
  opacity: 0.8;
}
html body .bu-lang-opt.is-on,
html body .bu-lang-opt:hover {
  background: rgba(0, 170, 255, 0.18) !important;
}
html body .bu-lang-group-lab {
  color: #7af0ff !important;
}

/* —— Centar mreže: samo logo —— */
.bu-home-join {
  width: 108px !important;
  height: 108px !important;
  border-radius: 28px !important;
  display: grid !important;
  place-items: center !important;
  padding: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(122, 240, 255, 0.28), transparent 55%),
    rgba(6, 14, 28, 0.9) !important;
}
.bu-home-join b,
.bu-home-join span { display: none !important; }
.bu-home-join-logo,
.bu-home-join .bu-home-join-logo,
.bu-home-join img {
  max-width: 86px !important;
  max-height: 64px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.bu-home-win.is-here {
  border-color: rgba(122, 240, 255, 0.72) !important;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), 0 0 48px rgba(0, 180, 255, 0.28);
}

/* —— Split hover: širi trenutnu stranu —— */
.bu-home-split {
  transition: min-height 0.45s ease;
}
.bu-home-split-pane {
  flex: 1 1 50%;
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease, transform 0.55s ease;
}
.bu-home-split.is-left .is-dispo,
.bu-home-split-pane.is-dispo:hover {
  flex: 1.7 1 62%;
  z-index: 4;
}
.bu-home-split.is-left .is-driver,
.bu-home-split-pane.is-dispo:hover ~ .is-driver {
  flex: 0.72 1 38%;
  filter: brightness(0.72);
}
.bu-home-split.is-right .is-driver,
.bu-home-split-pane.is-driver:hover {
  flex: 1.7 1 62%;
  z-index: 4;
}
.bu-home-split.is-right .is-dispo {
  flex: 0.72 1 38%;
  filter: brightness(0.72);
}
.bu-home-split-pane img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.bu-home-split-pane:hover img {
  transform: scale(1.08);
}

/* —— Svijetle sekcije Dispo AI + geo —— */
html body.bu-landing-page .bu-home-ai-light,
html body.bu-public-inner .bu-mkt-ai {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(0, 163, 255, 0.12), transparent 46%),
    linear-gradient(180deg, #f5f8fc 0%, #e7f0f8 100%) !important;
  color: #0b1220 !important;
  padding: 96px 0 !important;
}
html body.bu-landing-page .bu-home-ai-light h2,
html body.bu-landing-page .bu-home-ai-light p,
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: #0b1220 !important;
  text-shadow: none;
}
html body.bu-landing-page .bu-home-ai-light .bu-neon-kicker,
html body.bu-public-inner .bu-mkt-ai .landing-sec-kicker {
  color: #0369a1 !important;
}
.bu-home-ai-light .bu-home-ai-ex,
html body.bu-public-inner .bu-mkt-ai .bu-home-ai-ex {
  background: #fff !important;
  border: 1px solid #d5e4f0 !important;
  color: #0b1220;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bu-home-ai-light .bu-home-ai-ex:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14);
}
.bu-home-ai-light .bu-home-ai-say,
html body.bu-public-inner .bu-mkt-ai .bu-home-ai-say {
  color: #07111f !important;
}
.bu-home-ai-light .bu-home-ai-ex li {
  background: #eef6fc;
  color: #0f172a;
}
.bu-home-ai-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}
.bu-home-ai-feats li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfe3f3;
  font-weight: 800;
  font-size: 13px;
  color: #0b1220;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.bu-neon-enter.is-dark {
  background: linear-gradient(90deg, #00a8ff, #0066ff);
  color: #fff !important;
}
.bu-neon-btn.ghost-dark {
  color: #0b1220 !important;
  border: 1px solid #94a3b8;
  background: #fff;
}

html body.bu-landing-page .bu-home-bh-light {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0, 140, 255, 0.1), transparent 50%),
    linear-gradient(180deg, #eef4fa 0%, #f7fafc 100%) !important;
  color: #0b1220 !important;
}
html body.bu-landing-page .bu-home-bh-light h2,
html body.bu-landing-page .bu-home-bh-light p,
html body.bu-landing-page .bu-home-bh-light li {
  color: #0b1220 !important;
}
html body.bu-landing-page .bu-home-bh-light .bu-neon-kicker {
  color: #0369a1 !important;
}
html body.bu-landing-page .bu-home-bh-light .bu-home-bh-card {
  background: #07111f;
  color: #eaf6ff;
  transform: perspective(900px) rotateY(-6deg);
  transition: transform 0.35s ease;
}
html body.bu-landing-page .bu-home-bh-light .bu-home-bh-card:hover {
  transform: perspective(900px) rotateY(0deg) translateY(-6px);
}
html body.bu-landing-page .bu-home-bh-light .bu-home-bh-card p,
html body.bu-landing-page .bu-home-bh-light .bu-home-bh-card strong {
  color: #eaf6ff !important;
}

/* —— Divideri između sekcija —— */
.bu-sec-cut {
  position: relative;
  height: 72px;
  margin-top: -2px;
  z-index: 4;
  pointer-events: none;
  color: #f5f8fc;
}
.bu-sec-cut svg {
  display: block;
  width: 100%;
  height: 72px;
  fill: currentColor;
}
.bu-sec-cut-net { color: #040910; }
.bu-sec-cut-light { color: #f5f8fc; }
.bu-sec-cut-geo { color: #eef4fa; }
.bu-sec-cut-dark { color: #050c18; }

canvas.bu-fx-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

.bu-home-cta-ids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 8px;
  max-width: 560px;
}
.bu-home-cta-id {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff !important;
  background: rgba(6, 16, 32, 0.62);
  border: 1px solid rgba(122, 240, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transform: perspective(800px) rotateX(4deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bu-home-cta-id:hover {
  transform: perspective(800px) rotateX(0) translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 170, 255, 0.22);
}
.bu-home-cta-id b {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #7af0ff;
}

/* —— Blog / članak —— */
.bu-blog-hero-full,
.bu-article-hero-full {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
  display: grid;
  place-items: end stretch;
  color: #fff;
}
.bu-blog-hero-bg,
.bu-article-hero-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bu-blog-hero-veil,
.bu-article-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0.25), rgba(5, 12, 24, 0.82));
}
.bu-blog-hero-inner,
.bu-article-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 40px;
  width: 100%;
}
.bu-blog-hero-inner h1,
.bu-article-hero-inner h1 {
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.bu-blog-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  margin: 28px auto;
  max-width: 1120px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe4ef;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
}
.bu-blog-feature-media img,
.bu-blog-feature-media span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: #0b1a2e;
}
.bu-blog-feature-body {
  padding: 28px 28px 24px;
}
.bu-blog-feature-body h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}
.bu-blog-grid-pro {
  max-width: 1120px;
  margin: 0 auto 48px;
  padding: 0 20px 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.bu-blog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bu-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}
.bu-article-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  background: #fff;
}

html.bu-fx-ready .bu-neon-hero-copy,
html.bu-fx-ready .bu-home-net-head,
html.bu-fx-ready .bu-home-ai-light .bu-neon-headtxt {
  animation: buRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes buRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1099px) {
  .bu-blog-feature,
  .bu-blog-grid-pro,
  .bu-home-cta-ids {
    grid-template-columns: 1fr;
  }
  html body.bu-landing-page .bu-neon-logo-img,
  html body.bu-landing-page .bu-brand-file img {
    max-height: 52px !important;
    height: 52px !important;
  }
  .bu-home-split.is-left .is-dispo,
  .bu-home-split.is-right .is-driver,
  .bu-home-split-pane:hover {
    flex: none;
  }
}
