/* ADRIQUO public landing polish — intentionally scoped to #top so /admin is untouched. */

#top {
  background: #fff;
}

/* ===== HEADER ===== */
#top > header {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 1px 18px rgba(8, 62, 110, 0.07);
}

#top > header > div {
  min-height: 80px;
}

/* ===== HERO ===== */
#top > section:first-of-type {
  min-height: 620px;
}

#top > section:first-of-type > div:not(.absolute) {
  position: relative;
  z-index: 3;
}

#top > section:first-of-type h1 {
  color: #0f3e6c !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

#top > section:first-of-type .text-sky-600 {
  color: #1288bd !important;
}

/* Dashboard screen stays bright and legible inside the silver laptop. */
#top > section:first-of-type img[alt="Adriquo nadzorna ploča"] {
  filter: brightness(1.05) saturate(0.96) contrast(0.99) !important;
}

/* Hero typography rhythm closer to the presentation. */
#top > section:first-of-type h1 {
  letter-spacing: -0.03em;
}

/* ===== QUICK MODULE STRIP ===== */
#rjesenja > div > div > span:first-child {
  border-radius: 999px !important;
  background: #eef8fd !important;
  color: #087eb2 !important;
}

#rjesenja > div > div:nth-child(3) > span:first-child,
#rjesenja > div > div:nth-child(6) > span:first-child {
  background: #fff7df !important;
  color: #ee9a16 !important;
}

/* ===== MODULE GRID ===== */
#moduli article {
  align-items: center !important;
  min-height: 104px !important;
  border-radius: 14px !important;
  border-color: #dbeaf5 !important;
  padding: 14px !important;
  gap: 14px !important;
}

#moduli .module-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  border-radius: 999px !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 6px 14px rgba(10, 70, 110, 0.14) !important;
}

#moduli .module-icon-blue { background: #118dcc !important; }
#moduli .module-icon-sky { background: #15a6c8 !important; }
#moduli .module-icon-navy { background: #12466f !important; }
#moduli .module-icon-sun { background: #f7a928 !important; }

#moduli .module-icon svg {
  width: 24px !important;
  height: 24px !important;
}

#moduli article h3 {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

#moduli article p {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}

/* ===== CTA STRIP ===== */
#top > section:nth-last-of-type(2) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  #top > section:first-of-type {
    min-height: auto;
    background: linear-gradient(180deg, #fff 0%, #f2fbff 100%);
  }
}

@media (max-width: 639px) {
  #top > header > div { min-height: 68px; }
}
