/* Šapica — stranica „Uskoro”. Fontovi su lokalni (Montserrat, SIL OFL 1.1); nema spoljnih zahtjeva osim prijave u Brevo. */
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ground: #ffffff;
  --tone: #f2f2f0;              /* polje za pitanja i formu (neutralni kamen) */
  --tone-2: #f7f7f6;
  --ink: #1c1d21;               /* tamni okvir logotipa */
  --night: #17181c;             /* tamna polja */
  --night-2: #23252b;
  --muted: #55575e;
  --accent: #f28630;            /* narandžasta iz logotipa */
  --accent-press: #e0741f;
  --accent-deep: #b04c08;       /* narandžasti tekst na svijetlom (5:1 i više) */
  --accent-soft: #ffb070;       /* narandžasti tekst na tamnom */
  --tint: #fff1e4;
  --on-dark: #ffffff;
  --on-dark-muted: #c9cacd;
  --line: #e4dfd8;              /* samo ivice polja u formi */

  --m: clamp(16px, 2.6vw, 40px);
  --gap-section: clamp(88px, 10vw, 160px);
  --r-xl: clamp(24px, 2.6vw, 40px);
  --r-lg: 24px;
  --r-md: 16px;

  --t-small: 15px;
  --t-body: 17px;
  --t-lead: clamp(18px, 1.5vw, 23px);
  --t-h3: clamp(20px, 1.7vw, 26px);
  --t-h2: clamp(34px, 4.6vw, 68px);
  --t-soon: clamp(78px, 11.4vw, 190px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-float: 0 40px 80px -30px rgba(10, 10, 14, .55), 0 18px 36px -18px rgba(10, 10, 14, .35);
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ground);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-size: var(--t-body); line-height: 1.55; font-weight: 400; background: var(--ground); overflow-x: hidden; }
html.dlg-open, html.dlg-open body { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; }
h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }
.skip { position: absolute; left: var(--m); top: 12px; background: var(--accent); color: var(--ink); padding: 10px 14px; z-index: 20; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; } /* taste-skill-ignore */
.skip:focus { clip-path: none; width: auto; height: auto; }

.wrap { padding-inline: var(--m); }
.section { padding-block: var(--gap-section) 0; }
.lead { font-size: var(--t-lead); line-height: 1.45; font-weight: 600; }
.fine { font-size: var(--t-small); color: var(--muted); margin-top: 20px; max-width: 70ch; }

/* ---------- Dugmad: puna boja, potpuno zaobljena ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 16px/1.2 "Montserrat", sans-serif; text-decoration: none; text-align: center;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-press); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint); }
.btn--big { min-height: 60px; font-size: 18px; padding-inline: 32px; }
.btn svg { flex: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ======================= TAMNI VRH ======================= */
.dark { background: var(--night); color: var(--on-dark); }
.top { display: flex; align-items: center; gap: 28px; padding: 18px var(--m); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.brand img { width: 56px; height: 56px; border-radius: 14px; }
.brand, .brand img, .top__social, .soc { flex: none; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: 16px; }
.nav a { text-decoration: none; padding: 6px 0; color: var(--on-dark-muted); transition: color .18s; }
.nav a:hover { color: #fff; }

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 4vw, 72px); align-items: center; padding: clamp(16px, 2.4vw, 40px) var(--m) clamp(56px, 6vw, 96px); }
.hero__h1 { display: grid; gap: 4px; }
.hero__name { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px); font-size: clamp(44px, 5.4vw, 88px); letter-spacing: -0.035em; }
.hero__logo { width: clamp(72px, 7.4vw, 124px); height: auto; border-radius: 24%; }
.hero__soon { font-size: var(--t-soon); line-height: .88; letter-spacing: -0.045em; text-transform: uppercase; color: var(--accent); margin-left: -0.04em; }
.hero__lead { font-size: var(--t-lead); line-height: 1.45; font-weight: 600; color: var(--on-dark); max-width: 34ch; margin-top: clamp(22px, 2.4vw, 36px); }

.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(26px, 2.6vw, 40px); max-width: 720px; }
.cta {
  position: relative; display: grid; gap: 4px; align-content: center; min-height: 92px;
  padding: 18px 64px 18px 24px; border-radius: var(--r-lg); text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.cta:hover { transform: translateY(-3px); }
.cta:active { transform: translateY(0) scale(.99); }
.cta--accent { grid-column: 1 / -1; background: var(--accent); color: var(--ink); min-height: 104px; }
.cta--accent:hover { background: var(--accent-press); }
.cta--light { background: #fff; color: var(--ink); }
.cta--light:hover { background: var(--tint); }
.cta--glass { background: var(--night-2); color: #fff; }
.cta--glass:hover { background: #2e3138; }
.cta__main { font-size: clamp(19px, 1.6vw, 24px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.cta--accent .cta__main { font-size: clamp(24px, 2.2vw, 34px); }
.cta__sub { font-size: 14.5px; font-weight: 600; line-height: 1.35; opacity: .82; }
.cta__go { position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 19px; background: rgba(0, 0, 0, .08); transition: transform .2s var(--ease); }
.cta--glass .cta__go { background: rgba(255, 255, 255, .1); }
.cta:hover .cta__go { transform: translateX(4px); }

/* „Zaprati nas na:” pa dvije ikonice (odluka osnivača 9. 11. 2026); natpis je običan tekst, ikonice imaju svoje ime za čitače ekrana */
.top__social { display: flex; align-items: center; gap: 8px; }
.top__label { margin-right: 4px; font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--on-dark-muted); white-space: nowrap; }
.soc { display: inline-flex; align-items: center; justify-content: center; width: 48px; min-height: 48px; padding: 0; border-radius: 999px; background: var(--night-2); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.soc svg { color: var(--accent); flex: none; transition: color .18s var(--ease); }
.soc:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.soc:hover svg { color: var(--ink); }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; translate: -50% 0; margin: 0; padding: 14px 20px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); } /* taste-skill-ignore: kratka poruka koja lebdi */
/* gdje u redu nema mjesta (uz meni 1101–1239 px, i do 800 px): natpis u malom redu iznad ikonica */
@media (min-width: 1101px) and (max-width: 1239px), (max-width: 800px) {
  .top__social { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 3px 8px; }
  .top__label { grid-column: 1 / -1; justify-self: center; margin: 0; font-size: 12px; }
}
.hero__app { display: flex; align-items: center; gap: 12px; line-height: 1.35; margin-top: 22px; font-size: 16px; font-weight: 600; color: var(--on-dark-muted); }
.hero__app strong { color: #fff; font-weight: 800; }
.os { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--night-2); color: var(--accent); }

.hero__art { position: relative; padding: 0 0 40px 13%; }
.tile { margin: 0; overflow: hidden; border-radius: var(--r-xl); background: var(--night-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--hero { aspect-ratio: 4 / 5; }
.tile--hero img { animation: drift 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, 1%); } }

/* Okvir telefona: pravi ekran iz demo verzije u tamnom okviru */
.phone { position: relative; border-radius: 15% / 7%; background: #0d0e11; padding: 3.4%; box-shadow: var(--shadow-float); }
.phone img { width: 100%; border-radius: 11.5% / 5.3%; background: #fff; aspect-ratio: 720 / 1560; object-fit: cover; object-position: top; }
.phone--hero { position: absolute; left: 0; bottom: 0; width: 44%; rotate: -5deg; }
.sticker { position: absolute; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: #fff; color: var(--ink); }
.sticker strong { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.sticker span { font-size: 14px; font-weight: 700; color: var(--accent-deep); }
.sticker--hero { right: -10px; top: 7%; rotate: 3deg; }

/* Traka sa ulogama */
.ticker { overflow: hidden; background: var(--accent); color: var(--ink); padding: 18px 0; }
.ticker__run { display: flex; width: max-content; align-items: center; gap: 28px; animation: run 42s linear infinite; font-size: clamp(20px, 2vw, 28px); font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
.ticker__run i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
@keyframes run { to { transform: translateX(-50%); } }

/* ======================= ZA KOGA ======================= */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: var(--t-h2); }
.statement { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.38; font-weight: 600; max-width: 36ch; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(300px, 26vw, 380px)); grid-auto-rows: auto; gap: 14px; }
.who { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--night); color: #fff; grid-column: span 4; isolation: isolate; }
.who > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.who::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 14, 18, 0) 30%, rgba(14, 14, 18, .82) 100%); } /* taste-skill-ignore: neutralna podloga ispod teksta na fotografiji */
.who:hover > img { transform: scale(1.05); }
.who__card { position: absolute; inset: auto 0 0 0; display: grid; gap: 8px; padding: clamp(18px, 1.8vw, 28px); }
.who h3 { font-size: var(--t-h3); }
.who__card > p { font-size: 15.5px; line-height: 1.45; font-weight: 600; color: #f1f1f1; max-width: 42ch; }
.who__tag { position: absolute; left: 16px; top: 16px; padding: 7px 13px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 800; }
.who__tag--free { background: var(--accent); }
.who__link { justify-self: start; margin-top: 4px; font-weight: 800; font-size: 15.5px; color: var(--accent-soft); text-decoration: none; }
.who__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.who__link span { display: inline-block; transition: transform .2s var(--ease); }
.who__link:hover span { transform: translateX(4px); }
.who--owner { grid-column: 1 / span 5; grid-row: span 2; }
.who--owner h3 { font-size: clamp(30px, 3vw, 46px); }
.who--owner .who__card > p { font-size: 18px; }
.bento > .who:nth-child(2) { grid-column: 6 / span 4; }
.bento > .who:nth-child(3) { grid-column: 10 / span 3; }
.bento > .who:nth-child(4) { grid-column: 6 / span 3; }
.bento > .who:nth-child(5) { grid-column: 9 / span 4; }
.who--more, .bento > .who--more { grid-column: 1 / -1 !important; grid-row: auto; min-height: 0 !important; background: var(--tone); color: var(--ink); }
.who--more::after { display: none; }
.who--more .who__card { position: static; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; padding: 26px clamp(20px, 2.4vw, 36px); }
.who--more h3 { font-size: clamp(26px, 2.6vw, 38px); }
.who--more .who__card > p { color: var(--ink); font-size: 17px; max-width: 60ch; }

/* ======================= KAKO IZGLEDA ======================= */
.showcase { background: var(--night); color: #fff; margin-top: var(--gap-section); padding-bottom: clamp(56px, 6vw, 96px); }
.showcase__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.showcase h2 { font-size: var(--t-h2); }
.showcase .lead { margin-top: 20px; color: var(--on-dark); max-width: 36ch; }
.roles { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; }
.roles a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; border-radius: 20px; background: var(--night-2); text-decoration: none; font-weight: 800; font-size: clamp(17px, 1.3vw, 20px); transition: background-color .18s var(--ease), color .18s var(--ease); }
.roles a:hover { background: var(--accent); color: var(--ink); }
.roles img { width: 56px; height: 56px; object-fit: cover; border-radius: 14px; }
.roles b { font-size: 20px; transition: transform .2s var(--ease); }
.roles a:hover b { transform: translateX(4px); }
.devices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.fan { position: relative; min-height: clamp(420px, 44vw, 660px); }
.laptop { position: absolute; left: 8%; right: 5%; top: 4%; }
.laptop__screen { background: #0d0e11; padding: 1.4% 1.4% 2.2%; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-float); }
.laptop__screen img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; border-radius: 6px; background: #fff; }
.laptop__base { height: 16px; margin: 0 -5%; border-radius: 0 0 16px 16px; background: #c9cbd1; position: relative; }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0; width: 16%; height: 6px; border-radius: 0 0 8px 8px; background: #a9acb3; }
.phone--fan { position: absolute; width: 27%; bottom: 0; }
.phone--l { left: 0; rotate: -6deg; }
.phone--r { right: 4%; rotate: 5deg; bottom: -4%; }

.ask p { max-width: 62ch; }
.ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: clamp(48px, 5vw, 80px) var(--m) 0; padding: 26px clamp(20px, 2.4vw, 36px); border-radius: var(--r-xl); background: var(--night-2); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; }
.ask strong { font-weight: 900; color: var(--accent-soft); }
.showcase .fine { color: var(--on-dark-muted); }

/* ======================= PITANJA ======================= */
.qa-sec { background: var(--tone); padding-bottom: clamp(56px, 6vw, 96px); }
.qa { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.qa__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.qa__tabs button { display: grid; gap: 10px; padding: 8px 8px 14px; border: 0; border-radius: 22px; background: #fff; font-weight: 900; font-size: clamp(16px, 1.3vw, 19px); text-align: left; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.qa__tabs button:hover { transform: translateY(-3px); }
.qa__tabs img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 15px; }
.qa__tabs [aria-selected="true"] { background: var(--ink); color: #fff; }
.qa__panel { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 56px); }
.qa__title { font-size: clamp(30px, 3vw, 46px); font-weight: 900; margin-bottom: clamp(18px, 2vw, 30px); }
.qa__groups { display: grid; gap: clamp(22px, 2.6vw, 40px); }
.qa__group { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 0 clamp(20px, 2.6vw, 40px); align-items: start; }
.qa__group h4 { margin: 0; padding-top: 18px; font-size: clamp(21px, 1.8vw, 27px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; color: var(--accent-deep); }
.qa__list { margin: 0; display: grid; gap: 6px; }
.qa__list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 28px; align-items: center; padding: 18px 22px; border-radius: 18px; }
.qa__list > div:nth-child(odd) { background: var(--tone-2); }
.qa__list dt { font-size: clamp(18px, 1.4vw, 21px); font-weight: 700; line-height: 1.3; }
.qa__list dd { margin: 0; display: grid; gap: 3px; }
.qa__list b { display: flex; align-items: center; gap: 10px; font-size: clamp(19px, 1.55vw, 23px); font-weight: 900; text-transform: uppercase; line-height: 1.2; color: var(--accent-deep); letter-spacing: -0.01em; }
.qa__list b::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231c1d21' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat; }
.qa__group--solo { grid-template-columns: 1fr; }
.qa__chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qa__chips li { padding: 10px 16px; border-radius: 99px; background: var(--tone); font-weight: 800; font-size: 16px; }
.qa__chips li:last-child { background: var(--accent); }
.qa__list dd span { font-size: 16px; color: var(--muted); font-weight: 600; padding-left: 36px; }
.qa__ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 24px; padding: 22px 24px; border-radius: 20px; background: var(--tint); font-weight: 600; font-size: 17px; }
.qa__ask strong { font-weight: 900; }
.qa-sec .fine { margin-top: 24px; }

/* ======================= APLIKACIJA USKORO (narandžasto polje) ======================= */
.apps { background: var(--accent); color: var(--ink); padding-bottom: 0; overflow: hidden; }
.apps__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.apps__text { padding-bottom: clamp(56px, 6vw, 96px); }
.apps__logo { width: clamp(96px, 8vw, 124px); border-radius: 26%; padding: 6px; background: #fff; margin-bottom: 28px; }
.apps h2 { font-size: var(--t-h2); max-width: 14ch; }
.apps .lead { margin-top: 20px; max-width: 40ch; }
.apps__art { position: relative; min-height: clamp(420px, 40vw, 600px); }
.phone--app { position: absolute; width: 46%; bottom: -12%; }
.phone--back { left: 6%; rotate: -8deg; bottom: -18%; }
.phone--front { right: 4%; rotate: 4deg; }
.sticker--os { left: 34%; top: 6%; display: flex; align-items: center; gap: 10px; rotate: -3deg; }
.sticker--os span { font-size: 18px; font-weight: 900; color: var(--ink); }
.sticker--os em { font-style: normal; font-size: 14px; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: var(--ink); color: #fff; }

/* ======================= FORME ======================= */
.form { display: grid; gap: 16px; margin-top: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label, .chips legend { font-size: 15px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: 600 17px/1.3 "Montserrat", sans-serif; transition: border-color .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #c0261b; }
.apps .field input, .apps .field select { border-color: #fff; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 9px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 11px 16px; border-radius: 99px; background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 15.5px; transition: background-color .15s, color .15s, border-color .15s; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.45; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore */
.form .btn--big { justify-self: start; }
.form__alt { font-size: 15px; font-weight: 600; }
.kopiraj { font-weight: 800; user-select: all; -webkit-user-select: all; }
.hvala { padding: 22px; border-radius: 18px; background: var(--tint); font-weight: 600; }
.hvala__h { font-size: 22px; font-weight: 900; }
.status { font-weight: 700; font-size: 15px; }
.status:empty { display: none; }

/* ======================= SARADNJA ======================= */
.coop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.coop__h { font-size: var(--t-h2); max-width: 22ch; margin-bottom: clamp(28px, 3vw, 48px); }
.coop .lead { max-width: 38ch; }
.contact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact li { display: grid; gap: 2px; }
.contact a { font-size: clamp(26px, 2.8vw, 42px); font-weight: 900; letter-spacing: -0.03em; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { color: var(--accent-deep); }
.tile--coop { margin-top: 36px; aspect-ratio: 720 / 470; }
.form--partner { margin-top: 0; padding: clamp(22px, 3vw, 44px); border-radius: var(--r-xl); background: var(--tone); }
.form__h { font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -0.02em; }

/* ======================= PODNOŽJE ======================= */
.foot { margin-top: var(--gap-section); background: var(--night); color: var(--on-dark); padding: clamp(40px, 5vw, 72px) var(--m) 36px; }
.foot__mark svg { display: block; width: 100%; height: auto; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(36px, 4vw, 64px); }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; font-weight: 600; color: var(--on-dark-muted); }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { color: #fff; }
.foot__h { color: #fff; font-weight: 900; font-size: 18px; }
.foot__legal { display: grid; gap: 6px; margin-top: 40px; font-size: 14px; color: var(--on-dark-muted); max-width: 90ch; }

/* ======================= DIJALOZI ======================= */
.dlg { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: min(94vh, 980px); padding: 0; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6); }
.dlg[open] { display: flex; flex-direction: column; animation: dlg-in .28s var(--ease); }
.dlg::backdrop { background: rgba(10, 10, 14, .76); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.dlg--form { width: min(620px, calc(100vw - 32px)); }
.dlg__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; background: var(--night); color: #fff; flex: none; }
.dlg__h { font-weight: 900; font-size: 18px; }
.dlg__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--night-2); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.dlg__x:hover { background: var(--accent); color: var(--ink); }
.dlg__body { padding: clamp(20px, 3vw, 36px); overflow: auto; flex: 1 1 auto; }
.dlg__q { font-size: clamp(28px, 3vw, 44px); font-weight: 900; letter-spacing: -0.03em; }
.dlg__sub { margin-top: 10px; font-weight: 600; color: var(--muted); }
.dlg__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px clamp(20px, 3vw, 36px); background: var(--tint); font-weight: 600; flex: none; }
.dlg__cta strong { font-weight: 900; }

.pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.pick button { position: relative; overflow: hidden; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: var(--r-lg); cursor: pointer; background: var(--night); color: #fff; isolation: isolate; text-align: left; }
.pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.pick button::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 14, 18, 0) 40%, rgba(14, 14, 18, .85) 100%); } /* taste-skill-ignore: podloga ispod teksta */
.pick span { position: absolute; left: 16px; right: 16px; bottom: 16px; font-weight: 900; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.15; }
.pick button:hover img { transform: scale(1.06); }

.dlg--demo { height: min(94vh, 980px); }
.dlg__body--shots { padding: 18px 0 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-height: 0; }
.dlg__side { display: contents; }   /* telefon: uloge, uređaj i napomena ostaju redovi iznad ekrana */
.seg, .device { display: flex; gap: 8px; overflow-x: auto; padding: 0 clamp(20px, 3vw, 36px); scrollbar-width: none; }
.seg button, .device button { flex: none; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 99px; background: var(--tone); font-weight: 800; font-size: 15.5px; cursor: pointer; }
.seg [aria-selected="true"] { background: var(--ink); color: #fff; }
.device button { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.device [aria-pressed="true"] { background: var(--accent); box-shadow: none; }
.shots { flex: 1 1 auto; min-height: 0; container-type: size; display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 16px clamp(20px, 3vw, 36px); scroll-padding-inline: clamp(20px, 3vw, 36px); background: var(--tone); overscroll-behavior-x: contain; }
.shots:focus-visible { outline-offset: -3px; }
.shot { flex: none; scroll-snap-align: start; margin: 0; display: grid; gap: 12px; align-content: start; }
/* Ekran uvijek staje cijeli u visinu prozora (okvir telefona je oko 2,09 puta viši nego širi); 78px ostaje za natpis do 4 reda (cqh je već bez paddinga) */
.shot--telefon { width: 240px; width: min(74cqw, calc((100cqh - 78px) * .479)); }
.shot--racunar { width: 760px; width: min(100cqw - 56px, calc((100cqh - 32px - 34px - 40px) * 1.6)); }
.shot .phone { box-shadow: 0 24px 40px -24px rgba(10, 10, 14, .5); }
.browser { border-radius: 14px; overflow: hidden; background: #0d0e11; box-shadow: 0 24px 40px -24px rgba(10, 10, 14, .5); }
.browser__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #c9cacd; font-size: 13px; font-weight: 700; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d45; }
.browser__bar span { margin-left: 10px; padding: 4px 14px; border-radius: 99px; background: #23252b; }
.browser img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; background: #fff; }
.shot figcaption { font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.shots__nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.round { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; font-weight: 900; cursor: pointer; transition: transform .15s var(--ease), background-color .15s; }
.round:hover { background: var(--accent); color: var(--ink); }
.round:disabled { opacity: .3; cursor: default; }
.shots__n { font-weight: 800; min-width: 7ch; text-align: center; }
.shots__empty { padding: 40px 0; font-weight: 700; }

/* Računar: lijeva kolona ima svoj red i svoj skrol, pa ekrani i strelice uvijek staju iznad trake „Želiš da probaš demo” */
@media (min-width: 900px) {
  .dlg__body--shots { display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 12px 0; padding: 22px 0 14px; }
  .dlg__side { grid-column: 1; grid-row: 1 / -1; display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding: 6px 6px 6px 0; margin: -6px -6px -6px 0; }   /* mjesto za okvir fokusa, bez pomjeranja */
  .seg, .device { flex-direction: column; overflow: visible; padding: 0 0 0 28px; }
  .device { padding-top: 10px; }
  .seg button, .device button { width: 100%; text-align: left; }
  .shots { grid-column: 2; grid-row: 1; margin-left: 24px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .shots__nav { grid-column: 2; grid-row: 2; }
}

.trust { display: flex; gap: 10px; align-items: flex-start; margin: 0 clamp(20px, 3vw, 36px); padding: 10px 14px; border-radius: 14px; background: var(--tint); font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.trust i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 13px; }
.dlg__body > .trust, .dlg__side > .trust { margin: 14px 0 0; }
.showcase .trust { margin: 22px 0 0; background: var(--night-2); color: #fff; font-size: 16px; padding: 14px 16px; }
@media (min-width: 900px) {
  .dlg__side > .trust { margin: 6px 0 0 28px; }
}

/* ---------- Ulazak sadržaja pri skrolu (samo uz JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero__h1, .js .hero__lead, .js .hero__cta, .js .hero__app, .js .hero__art { animation: rise .8s var(--ease) both; }
.js .hero__lead { animation-delay: .08s; } .js .hero__cta { animation-delay: .16s; } .js .hero__app { animation-delay: .24s; } .js .hero__art { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero__h1, .js .hero__lead, .js .hero__cta, .js .hero__app, .js .hero__art { animation: none; }
  .tile--hero img, .ticker__run { animation: none; }
  .dlg[open] { animation: none; }
}

/* ======================= TELEFON I TABLET ======================= */
@media (max-width: 1100px) {
  .top__social { margin-left: auto; }
  .top__social:not([hidden]) + .btn--top { margin-left: 0; }
  .nav { display: none; }
  .btn--top { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; width: 100%; justify-self: center; }
  .hero__lead { max-width: 40ch; }
  .sec-head, .showcase__in, .coop, .apps__in { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .who, .bento > .who:nth-child(n) { grid-column: span 1; grid-row: auto; min-height: 340px; }
  .who--owner, .bento > .who--owner { grid-column: 1 / -1; min-height: 460px; }
  .qa__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qa__group { grid-template-columns: 1fr; }
  .qa__group h4 { padding: 0 0 10px; }
  .apps__art { min-height: 460px; max-width: 520px; width: 100%; justify-self: center; }
  .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top { gap: 8px; }
  .top__social { column-gap: 6px; }
  .soc { min-height: 44px; width: 44px; justify-content: center; padding: 0; }
  .brand span { display: none; }
  .hero__soon { font-size: min(78px, 20.5vw); }
  .hero__name { font-size: min(44px, 12.5vw); }
  .hero__logo { width: min(72px, 20vw); }
  .top { gap: 12px; padding-block: 12px; }
  .brand { font-size: 22px; gap: 10px; }
  .brand img { width: 44px; height: 44px; border-radius: 11px; }
  .btn--top { min-height: 44px; padding: 8px 14px; font-size: 14px; }
  .hero__cta { grid-template-columns: 1fr; }
  .cta { min-height: 80px; padding: 14px 58px 14px 18px; }
  .cta--accent { min-height: 92px; }
  .hero__art { padding-left: 18%; padding-bottom: 24px; }
  .phone--hero { width: 46%; }
  .sticker--hero { right: -4px; }
  .sticker strong { font-size: 18px; }
  .bento { grid-template-columns: 1fr; gap: 10px; }
  .who, .bento > .who:nth-child(n) { min-height: 330px; }
  .who--owner, .bento > .who--owner { min-height: 440px; }
  .who__card { padding: 18px; gap: 6px; }
  .who h3 { font-size: 23px; }
  .who__card > p { font-size: 15.5px; }
  .who--owner h3 { font-size: 30px; }
  .who--owner .who__card > p { font-size: 16.5px; }
  .hero__art { max-width: 380px; }
  .tile--hero { aspect-ratio: 1 / 1; }
  .who--more .who__card { grid-template-columns: 1fr; padding: 22px; }
  .who--more .btn { justify-self: start; }
  .roles a { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; }
  .roles img { width: 48px; height: 48px; }
  .devices .btn { width: 100%; }
  .fan { min-height: 0; aspect-ratio: 1 / 1.02; }
  .laptop { left: 5%; right: 5%; top: 0; }
  .phone--fan { width: 34%; }
  .qa__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .qa__tabs button { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; font-size: 16px; }
  .qa__tabs img { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 12px; flex: none; }
  .qa__list > div { grid-template-columns: 1fr; padding: 14px 14px; }
  .qa__list dt { font-size: 18px; }
  .qa__list b { font-size: 19px; }
  .qa__ask .btn, .ask .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn--big { justify-self: stretch; }
  .apps__art { min-height: 380px; }
  .phone--app { width: 48%; }
  .sticker--os { left: 50%; translate: -50% 0; white-space: nowrap; }
  .foot__cols { grid-template-columns: 1fr; }
  .dlg { width: 100vw; max-height: none; height: 100%; border-radius: 0; margin: 0; }
  .dlg--form { width: 100vw; }
  .pick { grid-template-columns: 1fr 1fr; }
  .pick button:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .dlg__bar { padding: 10px 12px 10px 18px; }
  .dlg__body--shots { padding-top: 12px; gap: 10px; }
  .seg button { min-height: 40px; padding: 6px 15px; font-size: 15px; }
  .device button { min-height: 38px; padding: 6px 14px; font-size: 14px; }
  .shots { padding: 12px 16px; scroll-padding-inline: 16px; }
  .round { width: 44px; height: 44px; }
  .shot figcaption { font-size: 14px; line-height: 1.25; }
  .shot--telefon { width: min(74cqw, calc((100cqh - 24px - 40px) * .479)); }
  .dlg__cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.35; }
  .dlg__cta .btn { width: auto; min-height: 46px; padding: 10px 16px; font-size: 15px; }
}

@media (max-width: 360px) {
  .btn--top { padding: 6px 12px; font-size: 13.5px; line-height: 1.15; flex: 1 1 auto; }
  .soc { width: 42px; min-height: 42px; }
}

/* DEMO pregled, niska traka sa ekranima (mali laptop, telefon): ekrani su uži, pa sitniji natpis da ne bude odsječen. Na kraju fajla da važi i na telefonu. */
@container (max-height: 360px) { .shot figcaption { font-size: 13px; line-height: 1.2; } }
