/* ============================================================
   Moja Zajednica - javni web (mojazajednica.hr)
   Izvor dizajna: Claude Design "Moja Zajednica Web.dc.html"
   Struktura: tokeni > baza > komponente > sekcije > media upiti
   ============================================================ */

/* ---------- Tokeni ---------- */
:root {
  --ink: #141412;        /* najtamnija pozadina */
  --ink-forest: #171D16; /* tamna kartica / admin chrome */
  --ink-frame: #1B1B18;  /* okvir telefona */
  --black: #0E0E0C;      /* tekst na mint gumbima */
  --paper: #FAFAF9;      /* svijetla pozadina sekcija */
  --sand: #ECEAE4;       /* pozadina ture */
  --cream: #F7F6F2;      /* svijetli tekst na tamnom */
  --teal: #175E54;
  --teal-deep: #0F4A42;
  --teal-bright: #2E8C7E;
  --mint: #7FC4B8;
  --mint-soft: #A7CDC3;
  --leaf: #F1F4EF;       /* blijedozelena podloga chipova */
  --leaf-line: #D5DCD2;
  --line: #E0DDD6;       /* rub kartica na svijetlom */
  --line-soft: #E8E6E1;
  --stone: #D8D5CC;
  --gray: #8A887F;
  --gray-warm: #A09D92;
  --muted: #57544A;
  --muted-deep: #3E3B33;
  --gold: #B8860B;
  --gold-deep: #8A6508;
  --gold-bg: #FDF6E7;
  --gold-line: #EADFC4;
  --terra: #C25E3A;
  --red: #B04A3C;
  --font-display: 'Schibsted Grotesk', sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', sans-serif;
}

/* ---------- Baza ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; cursor: pointer; }
input, button { font-family: inherit; }
img { max-width: 100%; }

/* Material Symbols */
.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.msf { font-variation-settings: 'FILL' 1; }

/* ---------- Animacije ---------- */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 110%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fade { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes marq-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes marq-b { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes blink { 0%, 45% { opacity: 1; } 50%, 95% { opacity: .15; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 70% { transform: scale(1.8); opacity: 0; } 100% { opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -26px, 0) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Zajednicke komponente ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.container--narrow { max-width: 900px; }
.container--cta { max-width: 1000px; }

.kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
}
.kicker--mint { color: var(--mint); }
.kicker--mint-soft { color: var(--mint-soft); }

.headline {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.04em;
}
.headline--m { font-size: clamp(30px, 4.4vw, 62px); }
.headline--s { font-size: clamp(28px, 4vw, 54px); line-height: 1.04; }
.headline .dim { color: #8A887F; }
.headline .dim-dark { color: rgba(247, 246, 242, .42); }
.headline .dim-teal { color: rgba(247, 246, 242, .55); }

.lede {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.6;
  color: var(--muted);
}

/* Reveal na scroll (samo s JS-om; bez njega je sve odmah vidljivo) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1), border-color .25s;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* CTA pilula */
.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mint);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.1px;
  padding: 16px 28px;
  border-radius: 999px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-demo:hover {
  background: var(--mint-soft);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(127, 196, 184, .45);
}
.btn-demo--l { font-size: 17px; padding: 18px 32px; }
.btn-demo .ms { font-size: 19px; }
.btn-demo--l .ms { font-size: 20px; }

.checkrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(247, 246, 242, .55);
}
.checkrow span { display: inline-flex; align-items: center; gap: 6px; }
.checkrow .ms { font-size: 15px; color: var(--mint); }

/* Okvir telefona */
.phone { position: relative; background: var(--ink-frame); }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; }
.phone__notch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-frame);
  z-index: 6;
}
.phone__status {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  z-index: 5;
}
.phone__battery { width: 16px; height: 9px; border-radius: 2px; border: 1px solid currentColor; display: block; }
.phone__cell { width: 3px; height: 9px; background: currentColor; border-radius: 1px; display: block; }

/* Mala kartica unutar mockupa aplikacije */
.app-card { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }

/* Prekidac (toggle) */
.knob { border-radius: 999px; background: var(--teal); position: relative; flex: none; transition: background .2s; }
.knob::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  border-radius: 50%;
  background: #fff;
  transition: right .2s;
}

/* ============================================================
   Header / navigacija
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 4vw, 40px);
  transition: background .4s, backdrop-filter .4s, border-color .4s, color .4s;
  border-bottom: 1px solid transparent;
  color: var(--cream);
}
.site-header.is-solid { backdrop-filter: blur(16px); }
.site-header.is-solid:not(.is-light) { background: rgba(20, 20, 18, .75); border-bottom-color: rgba(247, 246, 242, .08); }
.site-header.is-light { color: #171717; }
.site-header.is-solid.is-light { background: rgba(250, 250, 249, .85); border-bottom-color: rgba(23, 23, 23, .08); }

.brand { display: flex; align-items: center; gap: 9px; color: inherit; }
.brand:hover { opacity: .75; color: inherit; }
.brand__word { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.brand__word .mark { color: var(--mint); transition: color .4s; }
.site-header.is-light .brand__word .mark { color: var(--teal); }

.site-nav { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 22px); }
.site-nav__link {
  font-size: 13.5px;
  font-weight: 600;
  color: currentColor;
  opacity: .62;
  letter-spacing: -.1px;
  transition: opacity .2s;
}
.site-nav__link:hover { opacity: 1; color: currentColor; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(128, 128, 128, .15);
  border: 1px solid rgba(128, 128, 128, .2);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: .6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-on { background: var(--teal-bright); color: var(--black); opacity: 1; }

.btn-nav-demo {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  background: var(--mint);
  padding: 9px 15px;
  border-radius: 999px;
  letter-spacing: -.1px;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn-nav-demo:hover { background: var(--mint-soft); color: var(--black); transform: translateY(-1px); }

/* ============================================================
   Hero (scroll scena, JS postavlja --p, --p1, --p2, --p3)
   ============================================================ */
.hero { position: relative; height: 320vh; }
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #1B211E 0%, #141412 58%);
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 34% at 50% 62%, rgba(46, 140, 126, .28), transparent 70%);
  opacity: calc(.25 + var(--p2, 0) * .75);
  transform: scale(calc(.6 + var(--p2, 0) * .9));
}
.hero__gridlines {
  position: absolute;
  inset: -10%;
  opacity: .4;
  background-image:
    linear-gradient(rgba(247, 246, 242, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 242, .045) 1px, transparent 1px);
  background-size: 92px 92px;
  transform: translate3d(0, calc(var(--p, 0) * -70px), 0);
}
.hero__copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1180px;
  padding: 0 clamp(20px, 5vw, 56px);
  text-align: center;
  transform: translate3d(0, calc(var(--p1, 0) * -24vh), 0) scale(calc(1 - var(--p1, 0) * .16));
  opacity: calc(1 - var(--p1, 0) * 1.35);
  pointer-events: none;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 8.4vw, 138px);
  line-height: .94;
  font-weight: 800;
  letter-spacing: -.045em;
}
.hero__title > span { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title > span:last-child { padding-bottom: .06em; }
.hero__title > span > span { display: block; animation: rise 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.hero__title > span:nth-child(1) > span { animation-delay: .1s; }
.hero__title > span:nth-child(2) > span { animation-delay: .22s; color: var(--mint); }
.hero__title > span:nth-child(3) > span { animation-delay: .34s; }
.hero__sub {
  margin: clamp(18px, 2.2vw, 28px) auto 0;
  max-width: 680px;
  font-size: clamp(15px, 1.3vw, 18.5px);
  line-height: 1.55;
  color: rgba(247, 246, 242, .64);
  text-wrap: pretty;
  animation: fade 1s .55s both;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(22px, 2.6vw, 34px);
  animation: fade 1s .7s both;
  pointer-events: auto;
}
.hero__hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  opacity: calc(1 - var(--p1, 0) * 2);
}
.hero__hint span:first-child {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, .4);
}
.hero__hint span:last-child { width: 1px; height: 36px; background: linear-gradient(var(--mint), transparent); }

/* Hero telefon */
.hero-phone {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, calc(-50% + (1 - var(--p2, 0)) * 48vh), 0) scale(calc((.64 + var(--p2, 0) * .36) * var(--ps, 1)));
  opacity: var(--p2, 1);
}
.hero-phone__frame {
  width: 302px;
  height: 620px;
  border-radius: 46px;
  padding: 9px;
  box-shadow:
    0 60px 120px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(247, 246, 242, .09),
    0 0 90px rgba(46, 140, 126, calc(var(--p3, 0) * .3));
}
.hero-phone .phone__screen { border-radius: 38px; background: var(--paper); color: #171717; }
.hero-phone .phone__status { height: 44px; padding: 0 22px; font-size: 12px; }
.hero-phone .phone__notch { top: 14px; width: 96px; height: 26px; border-radius: 16px; }
.hero-phone__body { position: absolute; inset: 44px 0 0; padding: 12px 16px 0; overflow: hidden; }

/* Elementi u hero telefonu koji ulaze s --p3 */
.hp-reveal { opacity: var(--p3, 0); transform: translateY(calc((1 - var(--p3, 0)) * var(--dy, 12px))); }

.hp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.hp-head__id { display: flex; align-items: center; gap: 9px; }
.hp-head__logo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf); }
.hp-head__tenant { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.2px; font-family: var(--font-display); }
.hp-head__hello { display: block; font-size: 10.5px; color: #6D6B62; }
.hp-head__bell {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
}
.hp-head__bell .ms { font-size: 17px; color: #171717; }
.hp-head__badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.hp-news { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.hp-news__img { height: 88px; overflow: hidden; }
.hp-news__img img { width: 100%; height: 88px; object-fit: cover; display: block; }
.hp-news__body { padding: 11px 13px 12px; }
.hp-news__tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--leaf);
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 7px;
}
.hp-news__title { font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: -.1px; }
.hp-news__sub { font-size: 10.5px; color: #6D6B62; margin-top: 4px; }

.hp-waste {
  border-radius: 14px;
  padding: 11px 12px;
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-line);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hp-waste > .ms { font-size: 19px; color: var(--gold-deep); }
.hp-waste__title { display: block; font-size: 11.5px; font-weight: 700; color: #171717; }
.hp-waste__sub { display: block; font-size: 9.5px; color: var(--gold-deep); }
.hp-waste .knob { width: 30px; height: 18px; }
.hp-waste .knob::after { width: 14px; height: 14px; }

.hp-quick { display: flex; gap: 9px; }
.hp-quick__item { flex: 1; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 11px 12px; }
.hp-quick__icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--leaf);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.hp-quick__icon .ms { font-size: 16px; color: var(--teal); }
.hp-quick__label { font-size: 11.5px; font-weight: 700; display: block; line-height: 1.25; }

.hp-tabbar {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  height: 56px;
  border-radius: 26px;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: 0 12px 28px rgba(23, 23, 23, .14);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
}
.hp-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--gray); }
.hp-tabbar span.is-on { color: var(--teal); }
.hp-tabbar .ms { font-size: 20px; }
.hp-tabbar small { font-size: 8.5px; font-weight: 600; }
.hp-tabbar span.is-on small { font-weight: 700; }

/* Plutajuce kartice oko hero telefona */
.float-card {
  position: absolute;
  padding: 18px;
  border-radius: 20px;
  background: rgba(24, 26, 24, .88);
  border: 1px solid rgba(247, 246, 242, .12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: var(--p3, 0);
  backdrop-filter: blur(12px);
}
.float-card--a {
  left: -306px; top: 96px; width: 288px;
  transform: translate3d(calc((1 - var(--p3, 0)) * 60px), 0, 0) rotate(-4deg);
}
.float-card--b {
  right: -318px; top: 220px; width: 300px;
  transform: translate3d(calc((1 - var(--p3, 0)) * -60px), 0, 0) rotate(3.5deg);
}
.float-card--c {
  left: -268px; bottom: 110px; width: 250px;
  padding: 16px 19px;
  background: rgba(46, 140, 126, .14);
  border-color: rgba(46, 140, 126, .36);
  box-shadow: none;
  transform: translate3d(calc((1 - var(--p3, 0)) * 40px), 0, 0) rotate(2deg);
}
.float-card__head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.float-card__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-bright); display: grid; place-items: center; }
.float-card__icon .ms { font-size: 18px; color: #fff; }
.float-card__title { font-size: 14.5px; font-weight: 700; letter-spacing: -.2px; }
.float-card__text { font-size: 13px; line-height: 1.5; color: rgba(247, 246, 242, .58); }
.float-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
}
.float-card__row { display: flex; align-items: center; gap: 11px; }
.float-card__thumb { width: 42px; height: 42px; border-radius: 12px; background: var(--leaf); display: grid; place-items: center; }
.float-card__thumb .ms { font-size: 21px; color: var(--teal); }
.float-card__row-title { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.2px; }
.float-card__row-sub { display: block; font-size: 12px; color: rgba(247, 246, 242, .52); margin-top: 2px; }
.float-card__stat-label { font-size: 12.5px; font-weight: 700; color: var(--mint-soft); margin-bottom: 6px; }
.float-card__stat {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  font-family: var(--font-display);
}

/* ============================================================
   Marquee modula
   ============================================================ */
.marquee { position: relative; z-index: 5; background: var(--ink); padding: clamp(26px, 3.5vw, 48px) 0; overflow: hidden; }
.marquee__row { display: flex; width: max-content; animation: marq-a 46s linear infinite; }
.marquee__row--rev { animation: marq-b 54s linear infinite; margin-top: 13px; }
.marquee__group { display: flex; align-items: center; gap: 13px; padding-right: 13px; }
.chip {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(247, 246, 242, .14);
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: rgba(247, 246, 242, .8);
  white-space: nowrap;
}
.chip--teal { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--black); }
.chip--gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.chip--terra { background: var(--terra); border-color: var(--terra); color: var(--black); }

/* ============================================================
   Bol i kalkulator (#zasto)
   ============================================================ */
.pain { position: relative; z-index: 5; background: var(--ink); padding: clamp(70px, 9vw, 130px) 0 clamp(80px, 10vw, 150px); }
.pain__head { max-width: 860px; }
.pain__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(36px, 4.5vw, 60px);
  align-items: start;
}
.pain__col { display: flex; flex-direction: column; gap: 12px; }
.pain-q {
  text-align: left;
  border: 1px solid rgba(247, 246, 242, .14);
  background: rgba(247, 246, 242, .04);
  border-radius: 18px;
  padding: 20px 22px;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: border-color .25s, background .25s;
}
.pain-q:hover { border-color: rgba(127, 196, 184, .5); background: rgba(46, 140, 126, .08); }
.pain-q__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.pain-q__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.pain-q__icon { font-size: 20px; color: var(--mint); transition: transform .3s; flex: none; }
.pain-q.is-open .pain-q__icon { transform: rotate(180deg); }
.pain-q__answer { display: block; max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.pain-q__answer > span { display: block; padding-top: 12px; font-size: 14.5px; line-height: 1.6; color: rgba(247, 246, 242, .62); }
.pain__disclaimer { margin: 10px 2px 0; font-size: 13.5px; line-height: 1.6; color: rgba(247, 246, 242, .42); }

.calc {
  border: 1px solid rgba(247, 246, 242, .14);
  border-radius: 24px;
  background: rgba(247, 246, 242, .03);
  padding: clamp(22px, 2.6vw, 34px);
}
.calc__title { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 25px); font-weight: 800; letter-spacing: -.02em; }
.calc__readout { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 8px; }
.calc__label { font-size: 13px; font-weight: 600; color: rgba(247, 246, 242, .6); }
.calc__n { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--mint); }
.calc input[type="range"] { width: 100%; accent-color: var(--teal-bright); cursor: pointer; height: 26px; }
.calc__rows { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.calc__row-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.calc__row-head span:first-child { color: rgba(247, 246, 242, .6); }
.calc__row-head span:last-child { font-weight: 700; }
.calc__row--push .calc__row-head span:first-child { color: var(--mint-soft); font-weight: 600; }
.calc__row--push .calc__row-head span:last-child { font-weight: 800; color: var(--mint); }
.calc__track { height: 8px; border-radius: 4px; background: rgba(247, 246, 242, .08); overflow: hidden; }
.calc__bar { height: 100%; background: rgba(247, 246, 242, .3); border-radius: 4px; transition: width .4s; }
.calc__bar--push { background: linear-gradient(90deg, var(--teal), var(--mint)); }
.calc__note { margin: 20px 0 0; font-size: 12px; line-height: 1.55; color: rgba(247, 246, 242, .4); }

/* ============================================================
   Kako radi (#kako)
   ============================================================ */
.how {
  position: relative;
  z-index: 6;
  background: var(--paper);
  color: #171717;
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  padding: clamp(70px, 9vw, 130px) 0 clamp(50px, 6vw, 90px);
}
.how__head { max-width: 900px; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(36px, 4.5vw, 60px);
}
.step-card {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 24px;
  background: #fff;
  border: 1.5px solid var(--line);
}
.step-card:hover { border-color: var(--teal); }
.step-card--dark { background: var(--ink-forest); color: var(--cream); border-color: var(--ink-forest); }
.step-card--dark:hover { border-color: var(--ink-forest); }
.step-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 10px; }
.step-card__num { font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--teal); }
.step-card--dark .step-card__num { color: var(--mint); }
.step-card__time {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--teal);
}
.step-card--dark .step-card__time { background: rgba(127, 196, 184, .16); color: var(--mint-soft); }
.step-card h3 {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.025em;
}
.step-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.step-card--dark p { margin-bottom: 16px; color: rgba(247, 246, 242, .66); }
.step-card__stores { display: flex; gap: 8px; align-items: center; }
.step-card__store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid rgba(247, 246, 242, .25);
  font-size: 11.5px;
  font-weight: 600;
}
.step-card__stores .ms { font-size: 20px; color: var(--mint); margin-left: auto; }

/* ============================================================
   Push kompozer (#kompozer)
   ============================================================ */
.composer { position: relative; z-index: 6; background: var(--paper); color: #171717; padding: clamp(50px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.composer__head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 54px); }
.composer__head h2 { margin-bottom: 16px; }
.composer__head .lede { max-width: 54ch; }
.composer__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 3.5vw, 60px); align-items: center; }

.admin-panel {
  border-radius: 22px;
  border: 1.5px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(23, 29, 22, .25);
}
.admin-panel__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--ink-forest); color: var(--cream); }
.admin-panel__dots { display: flex; gap: 5px; }
.admin-panel__dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(247, 246, 242, .25); }
.admin-panel__url { margin-left: 8px; font-size: 12px; font-weight: 600; opacity: .75; display: inline-flex; align-items: center; gap: 7px; }
.admin-panel__url .ms { font-size: 15px; color: var(--gold); }
.admin-panel__body { padding: clamp(18px, 2vw, 26px); }
.admin-panel__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.admin-panel__form-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.admin-panel__role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--gold-bg);
  color: var(--gold-deep);
}
.field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pick-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.pick-btn:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.pick-btn.is-on { border-color: var(--teal); background: var(--leaf); color: var(--teal); font-weight: 700; }
.pick-btn > span { pointer-events: none; }
.pick-row--ns { margin-bottom: 18px; }
.pick-row--ns .pick-btn { font-size: 12px; padding: 7px 12px; }
.pick-row--ns .pick-btn.is-on { background: var(--teal); color: #fff; }
.draft-box { border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; margin-bottom: 14px; background: var(--paper); }
.draft-box__title { font-size: 14.5px; font-weight: 700; letter-spacing: -.1px; }
.draft-box__body { font-size: 12.5px; color: #6D6B62; margin-top: 5px; line-height: 1.5; }
.send-btn {
  width: 100%;
  border: 0;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border-radius: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background .2s, transform .15s;
}
.send-btn:hover { background: var(--teal-deep); transform: translateY(-1px); }
.send-btn.is-sent, .send-btn.is-sent:hover { background: var(--teal-bright); }
.send-btn .ms { font-size: 18px; pointer-events: none; }
.send-btn span { pointer-events: none; }
.composer__benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray);
}
.composer__benefits span { display: inline-flex; align-items: center; gap: 5px; }
.composer__benefits .ms { font-size: 14px; color: var(--teal); }
.composer__note, .mods__note { margin: 16px 4px 0; font-size: 13px; line-height: 1.55; color: var(--gray); }

/* Telefon koji prima push */
.push-phone-col { display: flex; justify-content: center; }
.push-phone { width: 288px; height: 590px; border-radius: 44px; padding: 9px; box-shadow: 0 44px 90px -34px rgba(23, 29, 22, .55); }
.push-phone__ping {
  position: absolute;
  top: -8px; right: -8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-bright);
  opacity: 0;
  pointer-events: none;
}
.push-phone__ping.is-ping { animation: ping 1s ease-out both; }
.push-phone .phone__screen { border-radius: 36px; background: linear-gradient(160deg, #232A24, #171D16 70%); color: var(--cream); }
.push-phone .phone__notch { top: 12px; width: 90px; height: 24px; border-radius: 14px; background: var(--black); }
.push-phone .phone__status { height: 42px; padding: 0 20px; font-size: 11.5px; color: rgba(247, 246, 242, .9); }
.push-phone__clock { position: absolute; top: 84px; left: 0; right: 0; text-align: center; }
.push-phone__time { font-size: 46px; font-weight: 400; letter-spacing: -.02em; font-family: var(--font-display); }
.push-phone__date { font-size: 12.5px; color: rgba(247, 246, 242, .55); margin-top: 2px; }
.push-note {
  position: absolute;
  top: 176px; left: 12px; right: 12px;
  border-radius: 18px;
  background: rgba(250, 250, 249, .97);
  color: #171717;
  padding: 12px 13px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  opacity: 0;
}
.push-note.is-in { opacity: 1; animation: drop .7s cubic-bezier(.16, 1, .3, 1) both; }
.push-note__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.push-note__app-icon { width: 20px; height: 20px; border-radius: 6px; background: var(--teal); display: grid; place-items: center; }
.push-note__app-icon .ms { font-size: 12px; color: #fff; }
.push-note__app { font-size: 11px; font-weight: 700; letter-spacing: .02em; flex: 1; }
.push-note__when { font-size: 10.5px; color: var(--gray); }
.push-note__title { font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: -.1px; }
.push-note__body { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.push-note__ns {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--leaf);
  color: var(--teal);
}
.push-note__ns .ms { font-size: 12px; }
.push-phone__hint {
  position: absolute;
  left: 0; right: 0; top: 300px;
  text-align: center;
  font-size: 12px;
  color: rgba(247, 246, 242, .4);
  padding: 0 30px;
  line-height: 1.6;
  transition: opacity .3s;
}
.push-phone__home { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; }
.push-phone__home span { width: 110px; height: 4px; border-radius: 2px; background: rgba(247, 246, 242, .3); }

/* ============================================================
   Tura aplikacije (#aplikacija)
   ============================================================ */
.tour {
  position: relative;
  z-index: 6;
  background: var(--sand);
  color: #171717;
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.tour__head-wrap { padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 56px) 0; }
.tour__head { max-width: 860px; }
.tour__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tour__text { padding: clamp(40px, 6vw, 80px) 0; }
.tour-step {
  padding: clamp(22px, 3vw, 34px) 0 clamp(22px, 3vw, 34px) clamp(20px, 2.4vw, 32px);
  border-left: 2px solid var(--stone);
  transition: border-color .5s, opacity .5s;
  opacity: .32;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tour-step.is-on { opacity: 1; border-left-color: var(--teal); }
.tour-step__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tour-step__num { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--teal); }
.tour-step__tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.tour-step h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
}
.tour-step p { margin: 0; font-size: clamp(14.5px, 1.15vw, 17px); line-height: 1.6; color: var(--muted); max-width: 46ch; }

.tour__phone-col { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; }
.tour-phone {
  width: 296px;
  height: 604px;
  border-radius: 44px;
  padding: 9px;
  box-shadow: 0 50px 90px -34px rgba(23, 29, 22, .5), 0 0 0 1px rgba(23, 29, 22, .08);
}
.tour-phone .phone__screen { border-radius: 36px; background: var(--paper); color: #171717; }
.tour-phone .phone__status { height: 42px; padding: 0 22px; font-size: 12px; z-index: 9; }
.tour-phone .phone__notch { top: 13px; width: 92px; height: 25px; border-radius: 15px; z-index: 10; }
.tour-pane {
  position: absolute;
  inset: 42px 0 0;
  padding: 12px 16px;
  transition: opacity .5s, transform .6s cubic-bezier(.16, 1, .3, 1);
}
.js .tour-pane { opacity: 0; pointer-events: none; }
.js .tour-pane.is-on { opacity: 1; pointer-events: auto; }
.tour-pane__title { font-size: 17px; font-weight: 800; letter-spacing: -.3px; font-family: var(--font-display); margin-bottom: 11px; }

/* Pane 1: vijesti */
.tp-pinned { border: 1.5px solid var(--teal); border-radius: 14px; background: var(--leaf); padding: 11px 13px; margin-bottom: 10px; }
.tp-pinned__head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.tp-pinned__head .ms { font-size: 14px; color: var(--teal); }
.tp-pinned__label { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: var(--teal); }
.tp-pinned__title { font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.tp-pinned__sub { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.tp-news { overflow: hidden; margin-bottom: 10px; }
.tp-news__img { height: 74px; overflow: hidden; }
.tp-news__img img { width: 100%; height: 74px; object-fit: cover; display: block; }
.tp-news__body { padding: 10px 12px; }
.tp-news__title { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.tp-news__sub { font-size: 10px; color: var(--gray); margin-top: 3px; }
.tp-row { padding: 10px 12px; margin-bottom: 10px; }
.tp-row:last-child { margin-bottom: 0; }
.tp-row__inner { display: flex; align-items: center; gap: 8px; }
.tp-row__icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--leaf); }
.tp-row__icon--gold { background: var(--gold-bg); }
.tp-row__icon .ms { font-size: 15px; color: var(--teal); }
.tp-row__icon--gold .ms { color: var(--gold-deep); }
.tp-row__text { flex: 1; }
.tp-row__title { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; }
.tp-row__sub { display: block; font-size: 10px; color: var(--gray); margin-top: 2px; }
.tp-row__chev { font-size: 15px; color: var(--gray-warm); }

/* Pane 2: prijava */
.tp-report__media { display: flex; gap: 8px; margin-bottom: 10px; }
.tp-report__photo { flex: 1; height: 76px; border-radius: 12px; border: 1.5px solid var(--line); overflow: hidden; }
.tp-report__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-map { flex: 1; height: 76px; border-radius: 12px; background: #E8EAED; border: 1.5px solid var(--line); position: relative; overflow: hidden; }
.tp-map__road-a { position: absolute; left: -10%; top: 24px; width: 120%; height: 9px; background: #fff; transform: rotate(-8deg); }
.tp-map__road-b { position: absolute; left: -10%; top: 47px; width: 120%; height: 6px; background: #fff; transform: rotate(13deg); }
.tp-map__road-c { position: absolute; left: 36px; top: -12%; width: 7px; height: 124%; background: #FDE293; transform: rotate(18deg); }
.tp-map__park { position: absolute; right: -14px; bottom: -14px; width: 54px; height: 44px; border-radius: 10px; background: #CDE6C4; }
.tp-map__water { position: absolute; left: -12px; top: -12px; width: 40px; height: 34px; border-radius: 9px; background: #AADAFF; opacity: .7; }
.tp-map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -74%); font-size: 24px; color: #EA4335; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .28)); }
.tp-map__brand { position: absolute; left: 6px; bottom: 4px; font-size: 8px; font-weight: 600; color: #5F6368; font-family: Arial, sans-serif; letter-spacing: .2px; }
.tp-map__gps {
  position: absolute;
  right: 5px; bottom: 4px;
  font-family: ui-monospace, monospace;
  font-size: 7.5px;
  color: var(--muted-deep);
  background: rgba(255, 255, 255, .88);
  padding: 2px 5px;
  border-radius: 5px;
}
.tp-report__cats { display: flex; gap: 6px; margin-bottom: 12px; }
.tp-cat { padding: 5px 10px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--gray); font-size: 10.5px; font-weight: 600; }
.tp-cat.is-on { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 700; }
.tp-status { padding: 13px 14px; }
.tp-status__label { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: var(--gray); margin-bottom: 12px; }
.tp-status__row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 11px; }
.tp-status__row:last-child { margin-bottom: 0; }
.tp-status__row--todo { opacity: .4; }
.tp-status__dot-done { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.tp-status__dot-done .ms { font-size: 12px; color: #fff; }
.tp-status__dot-now { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; flex: none; animation: blink 2s infinite; }
.tp-status__dot-now span { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: block; }
.tp-status__dot-todo { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #C4C1B8; flex: none; }
.tp-status__t { display: block; font-size: 11.5px; font-weight: 700; }
.tp-status__s { display: block; font-size: 9.5px; color: var(--gray); }
.tp-status__row--todo .tp-status__t { padding-top: 2px; }

/* Pane 3: kalendar */
.tp-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.tp-cal__title { font-size: 17px; font-weight: 800; letter-spacing: -.3px; font-family: var(--font-display); }
.tp-cal__month { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--muted); }
.tp-cal__waste { border-radius: 14px; padding: 12px 13px; background: var(--gold-bg); border: 1.5px solid var(--gold-line); display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tp-cal__waste-icon { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; flex: none; }
.tp-cal__waste-icon .ms { font-size: 19px; color: var(--gold-deep); }
.tp-cal__waste-t { display: block; font-size: 12.5px; font-weight: 700; }
.tp-cal__waste-s { display: block; font-size: 10px; color: var(--gold-deep); margin-top: 2px; }
.tp-cal__rem { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tp-cal__rem .knob { width: 30px; height: 18px; }
.tp-cal__rem .knob::after { width: 14px; height: 14px; }
.tp-cal__rem small { font-size: 8px; font-weight: 700; color: var(--gold-deep); }
.tp-cal__over { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin: 14px 0 8px; }
.tp-event { padding: 11px 12px; margin-bottom: 9px; display: flex; gap: 10px; align-items: center; }
.tp-event:last-child { margin-bottom: 0; }
.tp-event__date { width: 38px; border-radius: 10px; background: var(--leaf); padding: 5px 0; text-align: center; flex: none; }
.tp-event__day { display: block; font-size: 14px; font-weight: 800; color: var(--teal); line-height: 1; }
.tp-event__mon { display: block; font-size: 8px; font-weight: 700; color: var(--teal); }
.tp-event__t { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; }
.tp-event__s { display: block; font-size: 10px; color: var(--gray); margin-top: 2px; }
.tp-event__text { flex: 1; }

/* ============================================================
   AI asistent (#ai)
   ============================================================ */
.ai { position: relative; z-index: 6; background: var(--sand); color: #171717; padding: clamp(60px, 8vw, 120px) 0; }
.ai__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.ai__copy h2 { margin-bottom: 16px; }
.ai__copy .lede { margin-bottom: 22px; max-width: 46ch; }
.ai__points { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.ai__point { display: flex; align-items: flex-start; gap: 10px; }
.ai__point .ms { font-size: 18px; color: var(--teal); margin-top: 1px; }
.ai__point span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--muted-deep); }

.chat {
  border-radius: 24px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(23, 29, 22, .22);
}
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border-bottom: 1.5px solid var(--line-soft); }
.chat__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  display: grid;
  place-items: center;
}
.chat__avatar .ms { font-size: 18px; color: #fff; }
.chat__name { display: block; font-size: 14px; font-weight: 800; font-family: var(--font-display); }
.chat__status { display: block; font-size: 11px; color: var(--teal); }
.chat__log { height: 300px; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { display: flex; gap: 8px; }
.chat__msg--user { justify-content: flex-end; }
.chat__msg--in { animation: fade .5s both; }
.chat__ava { width: 26px; height: 26px; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; flex: none; }
.chat__ava .ms { font-size: 14px; color: var(--teal); }
.chat__bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  border: 1.5px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.5;
}
.chat__bubble--user { max-width: 80%; border-radius: 16px 16px 4px 16px; background: var(--teal); border: 0; color: #fff; }
.chat__bubble--wide { max-width: 84%; }
.chat__src {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--leaf);
  color: var(--teal);
  font-size: 10.5px;
  font-weight: 700;
}
.chat__src .ms { font-size: 12px; }
.chat__typing { padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1.5px solid var(--line-soft); display: flex; gap: 4px; align-items: center; }
.chat__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-warm); animation: blink 1.2s infinite; }
.chat__typing span:nth-child(2) { animation-delay: .2s; }
.chat__typing span:nth-child(3) { animation-delay: .4s; }
.chat__foot { padding: 12px 16px 16px; border-top: 1.5px solid var(--line-soft); background: #fff; }
.chat__try { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.chat__qs { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__q {
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--muted-deep);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.chat__q:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.chat__q span { pointer-events: none; }

/* ============================================================
   Moduli (#moduli)
   ============================================================ */
.mods { position: relative; z-index: 6; background: var(--paper); color: #171717; padding: clamp(70px, 9vw, 130px) 0; }
.mods__head { max-width: 860px; margin-bottom: clamp(32px, 4vw, 54px); }
.mods__head h2 { margin-bottom: 16px; }
.mods__head .lede { max-width: 56ch; }
.mods__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 3.5vw, 60px); align-items: start; }
.mods__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mod-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--teal);
  background: var(--leaf);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: all .2s;
}
.mod-btn:hover { transform: translateY(-1px); }
.mod-btn > * { pointer-events: none; }
.mod-btn > .ms { font-size: 18px; color: var(--teal); }
.mod-btn__text { flex: 1; min-width: 0; }
.mod-btn__label { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; }
.mod-btn .knob { width: 34px; height: 20px; }
.mod-btn .knob::after { width: 16px; height: 16px; }
.mod-btn.is-off { border-color: var(--line); background: #fff; }
.mod-btn.is-off:hover { border-color: var(--teal); }
.mod-btn.is-off > .ms { color: var(--gray); }
.mod-btn.is-off .ms--terra { color: var(--gray); }
.mod-btn .ms--terra { color: var(--terra); }
.mod-btn.is-off .mod-btn__label { color: var(--gray); }
.mod-btn.is-off .knob { background: var(--stone); }
.mod-btn.is-off .knob::after { right: 16px; }
.mod-locked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  opacity: .75;
}
.mod-locked > .ms:first-child { font-size: 18px; color: var(--teal); }
.mod-locked__text { flex: 1; min-width: 0; }
.mod-locked__core { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; color: var(--gray); }
.mod-locked > .ms:last-child { font-size: 15px; color: var(--gray); }

.mods__phone-col { display: flex; flex-direction: column; align-items: center; gap: 14px; position: sticky; top: 90px; }
.mods-phone { width: 280px; height: 566px; border-radius: 42px; padding: 8px; box-shadow: 0 44px 90px -34px rgba(23, 29, 22, .5); }
.mods-phone .phone__screen { border-radius: 35px; background: var(--paper); color: #171717; }
.mods-phone .phone__status { height: 40px; padding: 0 20px; font-size: 11px; }
.mods-phone .phone__notch { top: 12px; width: 88px; height: 23px; border-radius: 13px; }
.mods-phone .phone__battery { width: 15px; height: 8px; }
.mods-phone__body { position: absolute; inset: 40px 0 0; padding: 10px 14px; overflow: hidden; }
.mods-phone__title { font-size: 16px; font-weight: 800; letter-spacing: -.3px; font-family: var(--font-display); margin-bottom: 3px; }
.mods-phone__id { display: flex; align-items: center; gap: 6px; margin-bottom: 11px; }
.mods-phone__logo { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf); }
.mods-phone__tenant { font-size: 11px; font-weight: 700; color: var(--muted); }
.mods-phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mod-tile { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 10px; }
.mod-tile.is-hidden { display: none; }
.mod-tile .ms { font-size: 16px; color: var(--teal); }
.mod-tile .ms--gold { color: var(--gold); }
.mod-tile .ms--terra { color: var(--terra); }
.mod-tile span:last-child { display: block; font-size: 10.5px; font-weight: 700; margin-top: 6px; line-height: 1.25; }
.mods__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--leaf);
  border: 1.5px solid var(--leaf-line);
}
.mods__count .ms { font-size: 16px; color: var(--teal); }
.mods__count b { font-size: 13px; font-weight: 700; color: var(--teal); }

/* ============================================================
   Povjerenje (#povjerenje)
   ============================================================ */
.trust { position: relative; z-index: 6; background: var(--paper); color: #171717; padding: 0 0 clamp(70px, 9vw, 130px); }
.trust__head { max-width: 860px; margin-bottom: clamp(30px, 3.5vw, 48px); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(12px, 1.5vw, 20px); }
.trust-card { padding: clamp(18px, 2vw, 26px); border-radius: 20px; background: #fff; border: 1.5px solid var(--line); }
.trust-card:hover { border-color: var(--teal); }
.trust-card--leaf { background: var(--leaf); border-color: var(--leaf-line); }
.trust-card > .ms { font-size: 22px; color: var(--teal); }
.trust-card h3 { margin: 12px 0 7px; font-family: var(--font-display); font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; }
.trust-card p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   Za mjestane (#mjestani)
   ============================================================ */
.residents { position: relative; z-index: 6; background: var(--teal); color: var(--cream); padding: clamp(70px, 9vw, 130px) 0; }
.residents__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.residents h2 { margin-bottom: 16px; }
.residents__sub { margin: 0 0 24px; font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.6; color: rgba(247, 246, 242, .72); max-width: 50ch; }
.residents__stores { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.residents__store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(247, 246, 242, .3);
  font-size: 13px;
  font-weight: 600;
  opacity: .85;
}
.residents__one-app {
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint-soft);
}
.residents__note { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(247, 246, 242, .5); }
.invite {
  border-radius: 24px;
  background: rgba(14, 14, 12, .25);
  border: 1px solid rgba(247, 246, 242, .18);
  padding: clamp(22px, 2.6vw, 34px);
  backdrop-filter: blur(4px);
}
.invite__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.invite p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: rgba(247, 246, 242, .72); }
.invite__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--teal-deep);
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
}
.invite__cta:hover { color: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5); }
.invite__cta .ms { font-size: 17px; }
.invite__hint { margin-top: 14px; font-size: 12px; color: rgba(247, 246, 242, .5); }

/* ============================================================
   FAQ (#faq)
   ============================================================ */
.faq { position: relative; z-index: 6; background: var(--paper); color: #171717; padding: clamp(70px, 9vw, 130px) 0; }
.faq__head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; }
.faq__item summary:hover { background: #F6F5F1; }
.faq__q { font-family: var(--font-display); font-size: clamp(15.5px, 1.4vw, 18px); font-weight: 700; letter-spacing: -.01em; }
.faq__icon { font-size: 20px; color: var(--teal); transition: transform .3s; flex: none; }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__a { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ============================================================
   Zavrsni CTA + footer (#cta)
   ============================================================ */
.cta {
  position: relative;
  z-index: 6;
  background: var(--ink);
  color: var(--cream);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 5vw, 70px);
}
.cta__inner { text-align: center; }
.cta__logo { display: inline-flex; margin-bottom: 22px; }
.cta h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 84px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.045em;
}
.cta h2 .dim-mint { color: var(--mint); }
.cta__sub {
  margin: 0 auto clamp(26px, 3vw, 38px);
  max-width: 560px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(247, 246, 242, .62);
}
.cta .checkrow { margin-top: 16px; }
.cta__direct { margin-top: 26px; font-size: 14px; color: rgba(247, 246, 242, .5); }
.cta__direct a { color: var(--mint); font-weight: 700; }
.cta__direct a:hover { color: var(--mint-soft); }

.site-footer {
  max-width: 1240px;
  margin: clamp(60px, 8vw, 110px) auto 0;
  padding: 26px clamp(20px, 5vw, 56px) 34px;
  border-top: 1px solid rgba(247, 246, 242, .1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer__brand { display: flex; align-items: center; gap: 8px; }
.site-footer__word { font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.site-footer__word .mark { color: var(--mint); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; font-weight: 600; }
.site-footer__links a { color: rgba(247, 246, 242, .55); transition: color .2s; }
.site-footer__links a:hover { color: var(--cream); }
.site-footer__c { font-size: 12px; color: rgba(247, 246, 242, .4); }

/* ============================================================
   Bez JS-a: hero se srusi na jedan ekran i sve je vidljivo
   ============================================================ */
html:not(.js) .hero { height: auto; --p: 0; --p1: 0; --p2: 1; --p3: 1; }
html:not(.js) .hero__sticky { position: relative; height: auto; min-height: 100svh; padding: 120px 0 60px; }
html:not(.js) .hero-phone { display: none; }
html:not(.js) .hero__hint { display: none; }
html:not(.js) .tour-step { min-height: 0; }
html:not(.js) .tour__phone-col { display: none; }

/* ============================================================
   Media upiti
   ============================================================ */
@media (max-width: 1179px) {
  .float-card { display: none; }
}
@media (max-height: 639px) {
  .hero__hint { display: none; }
}
@media (max-width: 879px) {
  .site-nav__link { display: none; }
  .hero { height: 220vh; }
  .pain__grid,
  .composer__grid,
  .ai__grid,
  .mods__grid,
  .residents__grid,
  .mods__list { grid-template-columns: 1fr; }
  .tour__grid { grid-template-columns: 1fr; }
  .tour__phone-col { order: -1; height: 62svh; }
  .tour-step { min-height: 62svh; }
  .mods__phone-col { position: static; }
}
