/* shetko.com — sajt za preuzimanje aplikacije (Boris, 30.10.). Boje iste kao u aplikaciji (src/styles.css). */
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(fonts/nunito-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(fonts/nunito-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(fonts/nunito-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(fonts/nunito-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #63c1b5; --green-dark: #3f9e92; --green-deep: #2d8276; --mint: #e8f6f3;
  --purple: #5b5683; --purple-dark: #3d3963; --text: #2e2a47; --muted: #6f6b8a;
  --bg: #f6faf9; --card: #fff; --border: #e3ecea; --radius: 22px;
  --shadow: 0 6px 24px rgba(61, 57, 99, 0.09);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-deep); }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 800; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--green-dark); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 6px 18px rgba(63, 158, 146, 0.35);
  transition: transform .15s, background .15s; }
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn:focus-visible, .lang:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.btn-ghost { background: rgba(255, 255, 255, 0.92); color: var(--purple-dark); box-shadow: var(--shadow); }
.btn-ghost:hover { background: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* zaglavlje */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: rgba(246, 250, 249, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple-dark); font-weight: 800; font-size: 22px; }
/* zaglavlje (Boris, 31.10.): i na desktopu providno preko slike, logo u istoj vertikali sa naslovom (5vw);
   kad se skroluje dobije belu pozadinu (landing.js .scrolled) */
.top { position: fixed; left: 0; right: 0; padding: 12px 5vw; background: transparent; border-bottom-color: transparent; backdrop-filter: none;
  transition: background .25s, border-color .25s; }
.top.scrolled { background: rgba(246, 250, 249, 0.94); backdrop-filter: blur(10px); border-bottom-color: var(--border); }
.top:not(.scrolled) .brand { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.top:not(.scrolled) .lang:not(.on) { opacity: .8; }
.top-right { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 4px; }
.lang { border: 2px solid transparent; background: none; padding: 4px; border-radius: 8px; cursor: pointer; line-height: 0; opacity: .55; }
.lang svg { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lang.on { opacity: 1; border-color: var(--green); }
.lang-cur { display: none; }
.t-sm { display: none; }

/* početni deo: Borisova slika preko cele širine, nikad sečena (container = širina slike, veličine u cqw) */
.hero { position: relative; container-type: inline-size; overflow: hidden; }
.hero-img { width: 100%; height: auto; }
/* slajdovi: prvi daje visinu, ostali leže preko njega; meko pretapanje + lagano približavanje */
.slides { position: relative; }
.slide { display: block; opacity: 0; transition: opacity .9s ease; }
.slide:not(:first-child) { position: absolute; inset: 0; }
.slide.on { opacity: 1; }
.slide img { transform: scale(1.001); transition: transform 4.5s ease-out; }
/* dok se slika slajda još učitava, browser ispiše njen alt tekst gore levo (Boris, 31.10.: „ljubičasta slova u headeru“) — sakriven */
.slide img { color: transparent; font-size: 0; }
.slide.on img { transform: scale(1.05); }
.hero-copy > * { transition: opacity .6s ease, transform .6s ease; }
.hero-copy > .lead { transition-delay: .15s; }
.hero-copy > .hero-btns { transition-delay: .3s; }
.hero.swap .hero-copy > * { opacity: 0; transform: translateY(14px); transition-duration: .35s; transition-delay: 0s; }
.dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 2.2cqw; display: flex; justify-content: center; gap: 10px; }
.dot { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 2px solid #fff; background: rgba(255, 255, 255, .45);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .2); cursor: pointer; transition: width .3s, background .3s; }
.dot.on { width: 30px; background: #fff; }
.dot:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(24, 20, 44, 0.62) 0%, rgba(24, 20, 44, 0.42) 32%, rgba(24, 20, 44, 0.12) 58%, rgba(24, 20, 44, 0.06) 100%); }
.hero-copy { position: absolute; z-index: 2; left: 5cqw; top: 16%; width: 40cqw; }
.hero h1 { font-size: 4cqw; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero .lead { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.lead { font-size: max(15px, 1.45cqw); margin: 1.2cqw 0 2cqw; max-width: 36cqw; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { min-height: max(46px, 3.5cqw); font-size: max(15px, 1.25cqw); padding: 0 max(20px, 1.9cqw); }

/* video uputstvo */
.howto { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 64px 16px 8px; text-align: center; }
.howto h2 { font-size: clamp(26px, 4vw, 38px); color: var(--purple-dark); }
.howto-lead { color: var(--muted); font-size: 17px; margin: 8px 0 22px; }
.video-frame { position: relative; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 34px rgba(61, 57, 99, .18);
  background: linear-gradient(135deg, #a8e8d6, #c8c2f8); aspect-ratio: 16 / 9; max-width: 880px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
/* sličica: Šetko i Mica drže tablet (assets/sajt/video-thumbnail.png); dugme stoji na ekranu tableta */
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-ico { position: absolute; left: 51%; top: 60%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--green-dark);
  box-shadow: 0 8px 24px rgba(63, 158, 146, .5), 0 0 0 6px rgba(255, 255, 255, .7); transition: transform .2s; }
.play-ico::after { content: ''; position: absolute; left: 33px; top: 25px; border-left: 26px solid #fff; border-top: 17px solid transparent; border-bottom: 17px solid transparent; }
.video-play:hover .play-ico { transform: scale(1.08); }
.demo-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px 24px; flex-wrap: wrap; max-width: 880px;
  margin: 18px auto 0; padding: 18px 22px; border-radius: var(--radius); background: #fff; border: 1px dashed var(--green); box-shadow: var(--shadow); }
.demo-box p { margin: 0; color: var(--muted); text-wrap: balance; }
.demo-box strong { color: var(--purple-dark); font-size: 18px; }
.demo-box .btn { border: 2px solid var(--green); }
.demo-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; border: 0; border-radius: var(--radius); padding: 26px 24px 22px;
  color: var(--text); box-shadow: 0 20px 60px rgba(61, 57, 99, .35); }
.demo-dlg::backdrop { background: rgba(46, 42, 71, .55); backdrop-filter: blur(3px); }
.demo-dlg h3 { font-size: 24px; color: var(--purple-dark); margin: 0 30px 12px 0; }
.dlg-x { position: absolute; right: 12px; top: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--mint); color: var(--purple-dark);
  font-size: 24px; line-height: 1; cursor: pointer; }
.dd-steps { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 10px; }
.dd-steps li::marker { color: var(--green-dark); font-weight: 800; }
.dd-steps b { color: var(--purple-dark); }
.dd-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--mint); font-size: 15px; }
.dd-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.dd-btns .btn-ghost { border: 2px solid var(--green); }
@media (max-width: 639px) {
  .demo-dlg { padding: 18px 16px 0; font-size: 14px; line-height: 1.45; max-height: calc(100dvh - 24px); }
  .demo-dlg h3 { font-size: 20px; margin-bottom: 8px; }
  .dd-steps { gap: 6px; margin-bottom: 10px; padding-left: 20px; }
  .dd-note { font-size: 13px; padding: 10px 12px; margin-bottom: 0; }
  /* dugmad se ne skroluju: uvek dole u prozorčiću, jedno pored drugog */
  .dd-btns { position: sticky; bottom: 0; flex-wrap: nowrap; gap: 8px; margin: 0 -16px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, #fff 75%, rgba(255, 255, 255, 0)); }
  .dd-btns .btn { flex: 1 1 0; min-height: 44px; font-size: 14px; padding: 0 8px; white-space: nowrap; }
}

/* trag šapica (landing.js): vijuga kroz sve ispod početne slike, iza kartica */
.walk { position: relative; overflow: hidden; }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.trail use { fill: var(--green); }
.trail .p2 { fill: var(--purple-soft, #7a6fb0); }
.download, .features { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 64px 16px 8px; text-align: center; }
.download h2, .features h2 { font-size: clamp(26px, 4vw, 38px); color: var(--purple-dark); margin-bottom: 28px; }

/* preuzimanje */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dl-card { display: flex; gap: 14px; align-items: center; background: #f5f7f4; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 22px 18px 10px; text-align: left; }
.dl-art { width: 230px; height: 230px; flex: none; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 71%); mask-image: radial-gradient(circle, #000 58%, transparent 71%); }
.dl-body { min-width: 0; flex: 1; }
/* računar (Boris, 31.10.): naslovi i donji delovi (kod / prodavnice) obe kartice u istoj ravni */
@media (min-width: 640px) {
  .dl-body { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .dl-body .qr-wrap, .dl-body .stores { margin-top: auto; }
  .dl-body .stores { align-self: stretch; }
}
.dl-body h3 { font-size: 21px; color: var(--purple-dark); }
.dl-body p { color: var(--muted); margin: 6px 0 14px; }
.qr-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border-radius: 16px; background: #fff; border: 2px solid var(--green); }
.qr { width: 150px; height: 150px; }
.qr-url { font-weight: 800; color: var(--green-deep); font-size: 14px; }
.only-phone { display: none; }
.stores { display: grid; gap: 10px; }
.store { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: var(--purple-dark); color: #fff; opacity: .8; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #c9c4ef; font-weight: 700; }
.store strong { font-size: 19px; }

/* usluge */
.features { padding-bottom: 72px; }
.f-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.f-grid li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; box-shadow: var(--shadow); }
.f-grid img { width: 120px; height: 120px; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--green); }
.f-grid h3 { font-size: 18px; color: var(--purple-dark); }
.f-grid p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* postani šetač: slika preko cele širine, tekst u praznom delu levo */
.walker { position: relative; container-type: inline-size; overflow: hidden; }
.walker-img { width: 100%; height: auto; }
.walker::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(61, 57, 99, 0.62) 0%, rgba(61, 57, 99, 0.35) 34%, rgba(61, 57, 99, 0) 55%); }
.walker-copy { position: absolute; left: 6cqw; top: 50%; transform: translateY(-50%); width: 38cqw; color: #fff; }
.walker-copy h2 { font-size: 3.4cqw; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); text-wrap: balance; }
.walker-copy p { font-size: max(15px, 1.4cqw); margin: 1cqw 0 2cqw; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); text-wrap: balance; }
.walker .btn { background: #fff; color: var(--purple-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.walker .btn:hover { background: var(--mint); }

.foot { background: var(--purple-dark); color: #d9d6f0; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 10px; }
.foot a { color: #fff; text-decoration: none; font-weight: 700; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; font-size: 14px; }

@media (max-width: 1099px) {
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
/* telefon i manji tablet: uspravna slika, tekst gore u nebu; šetač: tekst ispod slike */
@media (max-width: 899px) {
  .hero::before { background: linear-gradient(180deg, rgba(24, 20, 44, 0.42) 0%, rgba(24, 20, 44, 0.5) 25%, rgba(24, 20, 44, 0.38) 48%, rgba(24, 20, 44, 0.12) 66%, rgba(24, 20, 44, 0.3) 100%); }
  .hero-copy { left: 6cqw; right: 6cqw; top: 6cqw; width: auto; text-align: center; }
  .hero h1 { font-size: 8.6cqw; }
  .lead { font-size: 4.2cqw; max-width: none; margin: 3cqw 0 4.5cqw; }
  .hero-btns { justify-content: center; gap: 2.5cqw; }
  .hero .btn { min-height: 11.5cqw; font-size: 4cqw; padding: 0 5cqw; }
  /* telefon (Boris, 30.10.): tekst i dugme levo PREKO slike dečaka sa 3 kuce, bez posebnog bloka ispod */
  .walker-img { aspect-ratio: 5 / 6; object-fit: cover; object-position: 100% 50%; display: block; }
  .walker::before { background: linear-gradient(180deg, rgba(24, 20, 44, 0.55) 0%, rgba(24, 20, 44, 0.3) 45%, rgba(24, 20, 44, 0) 62%),
    linear-gradient(90deg, rgba(24, 20, 44, 0.35) 0%, rgba(24, 20, 44, 0) 60%); }
  .walker-copy { top: 5cqw; left: 5cqw; transform: none; width: 47cqw; text-align: left; }
  .walker-copy h2 { font-size: 6cqw; line-height: 1.15; }
  .walker-copy p { font-size: 3.6cqw; line-height: 1.4; margin: 2cqw 0 3.5cqw; }
  .walker .btn { min-height: 10.5cqw; font-size: 3.6cqw; padding: 0 4cqw; white-space: nowrap; }
  /* telefon (Boris, 31.10.): logo + „Shetko“, malo niže od vrha */
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .top { padding: 18px 6vw 10px; }
  .brand img { filter: drop-shadow(0 2px 6px rgba(61, 57, 99, .25)); }
  .lang-cur { display: inline-flex; align-items: center; gap: 4px; border: 0; background: rgba(255, 255, 255, .85); border-radius: 10px;
    padding: 6px 8px; cursor: pointer; line-height: 0; box-shadow: 0 2px 8px rgba(61, 57, 99, .15); }
  .lang-cur::after { content: ''; border-top: 5px solid var(--purple-dark); border-left: 4px solid transparent; border-right: 4px solid transparent; }
  .lang-cur svg { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
  /* telefon (Boris, 31.10.): samo logo levo i jezik desno; dugmad su u slici odmah ispod opisa */
  .top-right { position: relative; gap: 8px; }
  .top-right .app-link { display: none; }
  .langs { display: none; position: absolute; top: calc(100% + 6px); right: 0; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px;
    background: #fff; box-shadow: 0 8px 24px rgba(61, 57, 99, .2); z-index: 5; }
  .langs.open { display: flex; }
  .lang { opacity: 1; }
  .hero-copy { top: 44cqw; display: flex; flex-direction: column; }
  /* telefon (Boris, 31.10.): kraći tekst na dugmadima */
  .t-lg { display: none; }
  .t-sm { display: inline; }
  .hero h1 { font-size: 7cqw; text-wrap: balance; }
  .lead { font-size: 3.7cqw; margin: 2.2cqw 0 0; text-wrap: balance; }
  .hero-btns { margin-top: 5cqw; flex-wrap: nowrap; gap: 2.4cqw; justify-content: center; }
  .hero .btn { flex: 1 1 0; min-height: 10.5cqw; font-size: 3.5cqw; padding: 0 2.5cqw; white-space: nowrap; max-width: 46cqw; }
}
@media (max-width: 639px) {
  .dl-card { flex-direction: column; text-align: center; padding: 18px; }
  .dl-art { width: 240px; height: 240px; }
  /* telefon (Boris, 31.10.): i QR kod (da ga pokaže drugome) i dugme ispod njega */
  .no-phone { display: none; }
  .qr-wrap { margin-bottom: 14px; }
  .qr { width: 130px; height: 130px; }
  .only-phone { display: inline-flex; }
  span.only-phone { display: inline; }
  /* manje dugme za video na telefonu (Boris, 31.10.) */
  .play-ico { width: 52px; height: 52px; margin: -26px 0 0 -26px; box-shadow: 0 6px 16px rgba(63, 158, 146, .5), 0 0 0 4px rgba(255, 255, 255, .7); }
  .play-ico::after { left: 20px; top: 15px; border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; }
  /* App Store i Google Play jedno pored drugog */
  .stores { grid-template-columns: 1fr 1fr; }
  .store { padding: 10px 12px; gap: 8px; text-align: left; }
  .store strong { font-size: 16px; }
  .store small { font-size: 11px; }
}
@media (max-width: 480px) {
  .f-grid { gap: 10px; }
  .f-grid li { padding: 16px 10px; }
  .f-grid img { width: 84px; height: 84px; }
  .f-grid h3 { font-size: 15px; }
  .f-grid p { font-size: 13px; }
  .btn-small { padding: 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .slide, .slide img { transition: none; } .hero-copy > * { transform: none !important; } .slide.on img { transform: none; } }
