:root {
  --ink: #152033;
  --muted: #617085;
  --line: #dbe3ee;
  --soft: #f4f7fb;
  --blue: #1769e0;
  --green: #188461;
  --amber: #b77805;
  --red: #b83a3a;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
}

.navbar {
  box-shadow: 0 1px 0 rgba(21, 32, 51, .02);
}

.navbar-brand span {
  color: var(--blue);
}

.nav-link {
  color: #42526a;
  font-weight: 500;
}

.btn {
  border-radius: 6px;
  font-weight: 650;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-outline-secondary {
  border-color: #b8c4d4;
  color: #26364c;
}

.hero {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 72%);
  padding: 80px 0 56px;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 4.55rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  color: #4b5d73;
}

.eyebrow {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.trust-row {
  align-items: center;
  color: #596a80;
  display: flex;
  flex-wrap: wrap;
  font-size: .9rem;
  gap: 10px;
}

.trust-row span,
.use-case-row span {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
}

.product-shot {
  background: #ffffff;
  border: 1px solid #cdd8e7;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(21, 32, 51, .14);
  overflow: hidden;
}

.shot-topbar {
  align-items: center;
  background: #152033;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.shot-topbar span {
  color: #b9c6d8;
  font-size: .9rem;
}

.shot-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  background: #ffffff;
  padding: 18px 16px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: .82rem;
  margin-bottom: 8px;
}

.metric strong {
  color: var(--ink);
  font-size: 1.55rem;
}

.metric.warn strong {
  color: var(--amber);
}

.shot-section {
  padding: 16px;
}

.shot-section + .shot-section {
  border-top: 1px solid var(--line);
}

.section-head {
  align-items: center;
  color: #334155;
  display: flex;
  font-size: .9rem;
  justify-content: space-between;
  margin-bottom: 12px;
}

.status-pill {
  background: #e8f7f0;
  border: 1px solid #bce6d4;
  border-radius: 999px;
  color: var(--green);
  font-size: .75rem;
  padding: 3px 8px;
}

.device-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  font-size: .9rem;
  gap: 8px;
  grid-template-columns: minmax(0, 1.4fr) .7fr .75fr;
  margin-bottom: 8px;
  padding: 10px 12px;
}

.device-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.device-row span:nth-child(2),
.device-row span:nth-child(3) {
  color: var(--muted);
  text-align: right;
}

.device-row.ok span:nth-child(3) {
  color: var(--green);
  font-weight: 700;
}

.device-row.issue {
  border-color: #f0c7c7;
  background: #fff7f7;
}

.device-row.issue span:nth-child(3) {
  color: var(--red);
  font-weight: 700;
}

.summary-bars {
  display: grid;
  gap: 9px;
}

.summary-bars span {
  background: linear-gradient(90deg, var(--blue), #58a6ff);
  border-radius: 999px;
  display: block;
  height: 10px;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.soft {
  background: var(--soft);
}

.insight-card,
.feature-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 100%;
  padding: 24px;
}

.icon {
  align-items: center;
  background: #eaf2ff;
  border-radius: 6px;
  color: var(--blue);
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 16px;
  width: 46px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.stack-list {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stack-list div {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 18px;
}

.stack-list div + div {
  border-top: 1px solid var(--line);
}

.stack-list span {
  color: var(--muted);
}

.stack-list strong {
  text-align: right;
}

.use-case-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta {
  align-items: center;
  background: #152033;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 36px;
}

.cta .lead {
  color: #c3cedc;
}

[data-lang="en"] {
  display: none;
}

body.lang-en [data-lang="hr"] {
  display: none;
}

body.lang-en [data-lang="en"] {
  display: inline;
}

body.lang-en div[data-lang="en"],
body.lang-en section[data-lang="en"],
body.lang-en p[data-lang="en"],
body.lang-en h1[data-lang="en"],
body.lang-en h2[data-lang="en"],
body.lang-en h3[data-lang="en"],
body.lang-en ul[data-lang="en"],
body.lang-en li[data-lang="en"] {
  display: block;
}

.lang-switch .btn {
  min-width: 48px;
}

@media (max-width: 991.98px) {
  .hero {
    padding: 56px 0 40px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 52px 0;
  }

  .shot-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .device-row {
    grid-template-columns: 1fr;
  }

  .device-row span:nth-child(2),
  .device-row span:nth-child(3) {
    text-align: left;
  }

  .stack-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .stack-list strong {
    text-align: left;
  }

  .cta {
    padding: 26px;
  }
}
