/* Pametni ulaz — jedan stylesheet za cijeli sajt.
   Tokeni prate InSync 365 (Inter, brand blue #007BFF, radius skala), uz vlastiti tamni navy akcent. */

:root {
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --navy-900: #0B1B33;
  --navy-800: #12284A;
  --navy-700: #1C3A66;
  --blue: #007BFF;
  --blue-600: #006FE6;
  --blue-100: #E6F2FF;
  --green: #12B76A;
  --green-100: #E3F8EE;
  --amber: #F59E2C;
  --amber-100: #FEF0DC;
  --red: #E5484D;

  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --line: #E5E5EA;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F9;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08);
  --shadow-lg: 0 24px 60px rgba(11,27,51,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 20px;
  font: 600 15px/1.2 var(--font);
  color: #fff; background: var(--blue);
  border: 1px solid var(--blue); border-radius: var(--r-md);
  text-decoration: none; white-space: nowrap; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-600); box-shadow: 0 6px 18px rgba(0,123,255,.3); transform: translateY(-1px); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: #C9D2DE; }
.btn--ghost:hover { background: #fff; box-shadow: var(--shadow); }
.btn--light { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--light:hover { background: var(--blue-100); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.eyebrow--c { text-align: center; }
.eyebrow--light { color: #7DB8FF; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); min-width: 0; }
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.brand__by {
  font-size: 11px; font-weight: 600; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--navy-900); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0,123,255,.12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(18,183,106,.08), transparent 60%),
    var(--bg);
  padding: 72px 0 88px;
}
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hl { color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 15px; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

.hero__art { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.device {
  position: relative; width: 240px; height: 480px;
}
/* mekani sjaj iza uređaja */
.device::before {
  content: ""; position: absolute; inset: 12% -30%; z-index: 0;
  background: radial-gradient(closest-side, rgba(0,123,255,.22), transparent);
  filter: blur(8px);
}
/* fotografija je 500×500 na bijeloj podlozi: izrez na uređaj + multiply stapa bijelu sa pozadinom hero-a */
.device img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  mix-blend-mode: multiply;
}

.float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.float--a { left: 0; top: 18%; }
.float--b { right: 0; bottom: 16%; }
.float--c { right: -6px; top: 34%; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--green { background: var(--green); box-shadow: 0 0 0 4px var(--green-100); }
.dot--blue { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec--alt { background: var(--bg-alt); }
.sec__title { text-align: center; max-width: 22em; margin: 0 auto 48px; }

/* problem -> rješenje */
.pr { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.pr__col { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.pr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pr__col li { padding-left: 30px; position: relative; color: var(--ink-2); }
.pr__col--bad { background: #FFF8F7; border-color: #F9D7D5; }
.pr__col--bad h3 { color: #B42318; }
.pr__col--bad li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.pr__col--good { background: #F3FBF7; border-color: #BFEBD3; }
.pr__col--good h3 { color: #067647; }
.pr__col--good li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pr__arrow { display: grid; place-items: center; font-size: 34px; color: var(--ink-3); }

/* 3 kartice */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin: 0; }
.card__ic { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--blue-100); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card__ic svg { width: 32px; }

/* koraci */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none; }
.step { position: relative; padding: 30px; border-radius: var(--r-lg); background: var(--bg-alt); }
.step p { color: var(--ink-2); margin: 0; }
.step__n {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800;
}

/* web pregled */
.sec--dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #E7EEF8; }
.sec--dark h2 { color: #fff; }
.dash { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.feat { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.feat li { padding-left: 28px; position: relative; color: #C9D6EA; }
.feat li b { color: #fff; }
.feat li::before { content: "✓"; position: absolute; left: 0; color: #34D399; font-weight: 800; }
.powered { font-size: 15px; color: #9FB3CE; border-left: 3px solid var(--blue); padding-left: 14px; margin: 0; }
.powered a { color: #fff; }

.mock { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #F2F4F7; border-bottom: 1px solid var(--line); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #D0D5DD; }
.mock__bar em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-3); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; }
.kpi small { display: block; font-size: 12px; color: var(--ink-3); }
.kpi b { font-size: 24px; font-weight: 800; }
.kpi b.warn { color: var(--amber); }
.mock__tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.mock__tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 8px 16px; border-bottom: 1px solid var(--line); }
.mock__tbl td { padding: 10px 16px; border-bottom: 1px solid #F2F4F7; white-space: nowrap; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #F2F4F7; color: var(--ink-2); }
.pill--in { background: var(--green-100); color: #067647; }
.pill--late { background: var(--amber-100); color: #B54708; }
.mock__foot { padding: 10px 16px; font-size: 12px; color: var(--ink-3); text-align: right; background: #FAFAFB; }

/* za koga */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who__i { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 4px; }
.who__i b { font-size: 17px; }
.who__i span { color: var(--ink-3); font-size: 15px; }

/* rast */
.grow { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.grow p { color: var(--ink-2); }
.grow__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.grow__list li { background: #fff; border: 1px dashed #C9D2DE; border-radius: var(--r-md); padding: 14px 18px; font-weight: 600; color: var(--ink-2); }
.grow__list li::before { content: "+"; color: var(--blue); font-weight: 800; margin-right: 10px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--blue); font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); padding-bottom: 12px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--blue), #0050C8); color: #fff; text-align: center; }
.cta__in { max-width: 760px; }
.cta h2 { color: #fff; }
.cta p { color: #DCEBFF; font-size: 1.1rem; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 10px 0 22px; }
.btn--wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn--wa:hover { background: #1EBE5A; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn--viber { background: #7360F2; border-color: #7360F2; color: #fff; }
.btn--viber:hover { background: #6250E0; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cta__mail { font-size: 15px !important; }
.cta__mail a { color: #fff; font-weight: 600; }

/* footer */
.foot { background: var(--navy-900); color: #C9D6EA; padding: 40px 0 26px; }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__brand { display: grid; gap: 4px; }
.foot__brand .brand__name { color: #fff; }
.foot__muted { color: #8DA2C0; font-size: 14px; }
.foot__link { color: #C9D6EA; text-decoration: none; }
.foot__link:hover { color: #fff; text-decoration: underline; }
.foot__powered {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff;
  border: 1px solid #2B4470; border-radius: 999px; padding: 8px 16px; font-size: 15px;
}
.foot__powered:hover { border-color: var(--blue); }
.foot__legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid #1C3A66; font-size: 13px; color: #6F84A3; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__in, .dash, .grow { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .cards3, .steps { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .pr { grid-template-columns: 1fr; }
  .pr__arrow { transform: rotate(90deg); }
  .sec { padding: 64px 0; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .brand__by { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .who { grid-template-columns: 1fr; }
  .float { font-size: 12px; padding: 8px 10px; }
  .float--a { left: -4px; top: 6%; }
  .float--b { right: -4px; bottom: 6%; }
  .float--c { right: -4px; top: 30%; }
  .device { width: 200px; height: 400px; }
  .hero__cta .btn, .cta__btns .btn { flex: 1 1 100%; }
  .mock__tbl th:nth-child(3), .mock__tbl td:nth-child(3) { display: none; }
  .mock__tbl td, .mock__tbl th { padding: 9px 10px; }
  .pr__col, .card, .step { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
