:root {
  --navy: #0f172a;
  --blue: #0ea5e9;
  --teal: #14b8a6;
  --ink: #0b1c30;
  --muted: #45464d;
  --bg: #f8f9ff;
  --surface: #eff4ff;
  --surface-high: #dce9ff;
  --line: rgba(15, 23, 42, 0.1);
  --white: #fff;
  --error: #ba1a1a;
  --secondary: #006591;
  --slate: #3f465c;
  --header: 5rem;
  --wrap: 1280px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body { margin: 0; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { font: inherit; }
button {
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

html[lang="hr"] .en,
html[lang="en"] .hr { display: none !important; }

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right));
}
h1, h2, h3, h4 {
  font-family: "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
.muted { color: var(--muted); line-height: 1.6; }
.lede { font-size: 1.125rem; line-height: 1.6; }

.icon {
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.85rem;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { opacity: 0.92; }
  .btn-ghost:hover { background: rgba(15, 23, 42, 0.05); }
  .card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
  .nav-links a:hover { color: var(--blue); }
  .step:hover { background: var(--white); }
  footer a:hover { color: var(--white); }
}
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.25);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--navy);
}
.btn-light {
  background: var(--white);
  color: var(--blue);
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.btn-lg { padding: 1rem 1.75rem; font-size: 1.15rem; }

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: calc(var(--header) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(248, 249, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}
.brand img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}
footer .brand { color: #fff; }
.nav-links, .cta-pair {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.cta-pair { gap: 0.75rem; }
.lang { margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; }
.lang {
  display: flex;
  padding: 0.2rem;
  border-radius: 0.6rem;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--line);
}
.lang button {
  padding: 0.25rem 0.45rem;
  border-radius: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.55);
}
html[lang="hr"] .lang [data-lang="hr"],
html[lang="en"] .lang [data-lang="en"] {
  background: var(--blue);
  color: var(--white);
}
.menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
}
.menu-btn .icon { font-size: 1.6rem; }

main { padding-top: calc(var(--header) + env(safe-area-inset-top)); }
section[id] { scroll-margin-top: calc(var(--header) + 0.75rem); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}
.hero-media, .hero-shade {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: blur(2px);
  opacity: 0.4;
}
.hero-shade {
  background: linear-gradient(90deg, var(--bg) 0%, rgba(248, 249, 255, 0.85) 48%, transparent 100%);
}
.hero-copy { position: relative; max-width: 42rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
}
.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}
.hero h1 {
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--navy);
}
.hero h1 .accent { color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.section { padding: 5.5rem 0; }
.section-soft { background: var(--surface); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-head h2, .split h2, .panel h2, .band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.grid-3, .grid-2, .steps {
  display: grid;
  gap: 1.5rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
.steps { grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }

.card, .step, .price {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.card { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.glyph {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.glyph .icon { font-size: 1.7rem; }
.blue { background: rgba(14, 165, 233, 0.12); color: var(--blue); }
.teal { background: rgba(20, 184, 166, 0.12); color: var(--teal); }
.secondary { background: rgba(0, 101, 145, 0.12); color: var(--secondary); }
.danger { background: rgba(186, 26, 26, 0.1); color: var(--error); }
.navy { background: rgba(15, 23, 42, 0.08); color: var(--navy); }
.slate { background: rgba(63, 70, 92, 0.1); color: var(--slate); }
.card h3, .price h3 { font-size: 1.35rem; margin-bottom: 0.4rem; color: var(--navy); }

.role { display: flex; gap: 1rem; margin-top: 1.5rem; }
.avatar {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}
.avatar.blue { background: var(--blue); }
.avatar.teal { background: var(--teal); }
.role h3 { font-size: 1.25rem; margin-bottom: 0.35rem; color: var(--navy); }
.photo {
  border-radius: 2rem;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.band { background: var(--navy); color: var(--white); }
.band .section-head p { color: #d3e4fe; }
.device {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg);
  border: 12px solid rgba(203, 219, 245, 0.25);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.callout {
  position: absolute;
  max-width: 16rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  text-align: left;
  box-shadow: var(--shadow);
}
.callout strong { display: block; margin-top: 0.25rem; }
.callout.top { top: 12%; left: 4%; }
.callout.bottom { right: 4%; bottom: 16%; }
.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kicker.blue { background: none; color: var(--blue); }
.kicker.teal { background: none; color: var(--teal); }

.panel {
  background: var(--surface-high);
  border-radius: 2rem;
  padding: 2.5rem;
}
.step {
  text-align: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.55);
}
.step small {
  display: block;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.shot {
  border-radius: 2rem;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.prices { align-items: stretch; }
.price { display: flex; flex-direction: column; gap: 0.75rem; }
.price .btn { margin-top: auto; align-self: flex-start; }

.cta {
  position: relative;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 45%);
}
.cta .wrap { position: relative; }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 36rem; margin: 0 auto 1.75rem; }

footer {
  background: var(--navy);
  color: #d3e4fe;
  padding: 3rem 0 calc(1.5rem + env(safe-area-inset-bottom));
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
footer h2 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
footer h3 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li + li { margin-top: 0.35rem; }
footer a { display: inline-block; padding-block: 0.35rem; }
.contact-lines { margin-top: 0.75rem; }
.legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}
.social { display: flex; gap: 1rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.active { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .grid-2, .foot, .steps { grid-template-columns: 1fr; }
  .callout { display: none; }
  .menu-btn { display: grid; place-items: center; order: 3; }
  .menu-btn, .lang button { min-width: 2.75rem; min-height: 2.75rem; }
  .brand { order: 1; }
  .lang { order: 2; margin-left: auto; }
  .nav-links { order: 4; }
  .cta-pair { order: 5; }
  .nav-links, .cta-pair { display: none; }
  header.open {
    height: auto;
    max-height: 100dvh;
    overflow: auto;
    background: var(--bg);
  }
  header.open .nav {
    height: auto;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0.75rem 0 1rem;
  }
  header.open .nav-links,
  header.open .cta-pair {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
  }
  header.open .nav-links a,
  header.open .cta-pair .btn {
    min-height: 2.75rem;
    padding-block: 0.75rem;
  }
  header.open .cta-pair .btn { width: 100%; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section-head { margin-bottom: 1.75rem; }
  .hero {
    min-height: calc(100svh - var(--header));
    align-items: flex-end;
    padding: 2rem 0 2.5rem;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(248, 249, 255, 0.9) 0%, rgba(248, 249, 255, 0.72) 58%, rgba(248, 249, 255, 0.4) 100%);
  }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  .hero h1 .accent { display: block; }
  .badge { max-width: 100%; }
  .lede { font-size: 1rem; }
  .actions { flex-direction: column; }
  .btn-lg, .btn-light, .price .btn { width: 100%; align-self: stretch; }
  .panel { padding: 1.5rem; }
  .card, .step, .price { padding: 1.25rem; }
  .device { border-width: 6px; border-radius: 1.25rem; }
  .photo, .shot { min-height: 14rem; border-radius: 1.25rem; }
  .legal { flex-direction: column; align-items: flex-start; }
  .nav { gap: 0.5rem; }
  .brand { gap: 0.35rem; font-size: 1.05rem; }
  .brand img { width: 1.65rem; height: 1.65rem; }
  .menu-btn, .lang button { min-width: 2.75rem; min-height: 2.75rem; }
}
