/* Popravi Grad: iste boje kao aplikacija (Brand.swift, AccentColor). */
:root {
  --midnight: #0d1221;
  --navy: #1c2b52;
  --navy-2: #24366a;
  --line: rgba(204, 219, 255, 0.12);
  --text: #f4f6fb;
  --muted: #a9b4cf;
  --orange: #f56b2e;
  --orange-2: #ff9a4d;
  --green: #34c759;
  --radius: 24px;
  --display: "Inter Tight", -apple-system, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--body);
  background: var(--midnight);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.orange { color: var(--orange); }
.grad {
  background: linear-gradient(100deg, var(--orange-2), var(--orange) 60%, #e2501a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad { padding-bottom: .14em; }
h1 .grad { margin-bottom: -.14em; }

/* Navigacija */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; }
.navbar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 62px; padding: 0 8px 0 14px; border-radius: 20px;
  background: rgba(20, 28, 52, .55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled .navbar { background: rgba(13, 18, 33, .86); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Nunito", var(--body); font-weight: 900; font-size: 22px; letter-spacing: -.01em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.nav-links { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; }
.nav-links a { padding: 10px 16px; border-radius: 13px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-links a.active { color: var(--text); background: rgba(255, 255, 255, .09); }
.nav-links a.accent { margin-left: 8px; color: #fff; background: var(--orange); box-shadow: 0 8px 24px -8px rgba(245, 107, 46, .8); }
.nav-links a.accent:hover { background: #ff7a3d; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .x, .nav.open .menu-btn .burger { display: none; }
.nav.open .menu-btn .x { display: block; }
.home-link { padding: 10px 16px; border-radius: 13px; color: var(--muted); font-weight: 600; font-size: 15px; }
.home-link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; color: var(--orange-2); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; border-radius: 16px;
  background: #fff; color: #0d1221; font-weight: 800; font-size: 19px; letter-spacing: -.01em;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .8);
}
.store svg { width: 28px; height: 28px; }
.store small { display: block; font-size: 11px; font-weight: 600; color: #5a6480; letter-spacing: 0; line-height: 1.2; }
.store span { line-height: 1.1; white-space: nowrap; }

/* Naslovni deo */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::before { /* mreža ulica */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 99px;
  border: 1px solid rgba(245, 107, 46, .35); background: rgba(245, 107, 46, .1);
  color: var(--orange-2); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(245, 107, 46, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(245, 107, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 107, 46, 0); } }
h1 {
  font-family: var(--display); font-weight: 900; font-size: clamp(46px, 7.4vw, 96px);
  line-height: .96; letter-spacing: -.035em; margin: 22px 0 26px;
}
h1 span { display: block; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 540px; }
.lead b { color: var(--text); font-weight: 600; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.ticks span { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 16px; height: 16px; color: var(--green); stroke-width: 3; }

/* Telefoni */
.phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 290px; aspect-ratio: 1206 / 2622; padding: 9px; border-radius: 50px;
  background: linear-gradient(145deg, #3a4560, #0a0d16 40%, #2a3247);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 100px -20px rgba(0, 0, 0, .8), 0 30px 60px -30px rgba(245, 107, 46, .35);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; }
.phone.main { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.phone.left { left: 0; top: 70px; transform: rotate(-9deg) scale(.86); z-index: 1; opacity: .9; }
.phone.right { right: 0; top: 70px; transform: rotate(9deg) scale(.86); z-index: 2; opacity: .9; }
.chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px 11px 11px; border-radius: 16px; font-size: 14px; font-weight: 700; white-space: nowrap;
  background: rgba(28, 43, 82, .82); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.chip .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: #fff; }
.chip .ic svg { width: 18px; height: 18px; }
.chip .ic.ok { background: var(--green); }
.chip.c1 { left: -30px; top: 120px; }
.chip.c2 { right: -20px; top: 330px; animation-delay: -2s; }
.chip.c3 { left: 10px; bottom: 40px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Traka kategorija */
.marquee { background: var(--orange); color: #fff; overflow: hidden; margin: 30px 0; box-shadow: 0 20px 50px -20px rgba(245, 107, 46, .6); }
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: 0; padding: 20px 0; white-space: nowrap; display: flex; align-items: center; }
.marquee span::after { content: "✕"; font-size: .6em; margin: 0 28px; opacity: .55; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sekcije */
section { padding: 120px 0; position: relative; }
.kicker { color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 14px 0 18px; }
.sub { color: var(--muted); font-size: 18px; max-width: 600px; }
.head { margin-bottom: 60px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; padding: 34px 30px 36px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(36, 54, 106, .55), rgba(28, 43, 82, .25)); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(245, 107, 46, .5); }
.step .num { font-family: var(--display); font-weight: 800; font-size: 96px; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 107, 46, .55); position: absolute; right: 20px; top: 10px; }
.step .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--orange); color: #fff; margin-bottom: 70px; box-shadow: 0 12px 30px -10px rgba(245, 107, 46, .8); }
.step .ic svg { width: 26px; height: 26px; }
.step h3 { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* Status */
.status { background: linear-gradient(180deg, transparent, rgba(28, 43, 82, .45) 30%, rgba(28, 43, 82, .45) 70%, transparent); }
.status .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.panel { padding: 30px; border-radius: 28px; background: var(--midnight); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.panel h4 { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 26px; }
.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; }
.node { display: grid; justify-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.node b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--navy); transition: background .5s, border-color .5s, box-shadow .5s; }
.node b svg { width: 20px; height: 20px; opacity: .5; transition: opacity .5s; }
.bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 26px; }
.bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .7s ease; }
.flow.on .node b { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 24px rgba(245, 107, 46, .6); }
.flow.on .node b svg { opacity: 1; }
.flow.on .node { color: var(--text); }
.flow.on .bar i { width: 100%; }
.flow.on .node:nth-child(3) b { transition-delay: .7s; }
.flow.on .bar:nth-child(4) i { transition-delay: .9s; }
.flow.on .node:nth-child(5) b { transition-delay: 1.6s; background: var(--green); border-color: var(--green); box-shadow: 0 0 24px rgba(52, 199, 89, .6); }
.vote { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.vote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.vote .row div { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 14px; background: var(--navy); font-weight: 700; }
.vote .row div:first-child { background: rgba(52, 199, 89, .16); color: #6ee08c; }
.meter { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--green); transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .4s; }
.flow.on ~ .vote .meter i { width: 90%; }
.vote p { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Funkcije */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  padding: 28px; border-radius: var(--radius); background: rgba(28, 43, 82, .38); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s, background .3s;
}
.card:hover { border-color: rgba(245, 107, 46, .45); background: rgba(28, 43, 82, .6); transform: translateY(-4px); }
.card .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(245, 107, 46, .14); color: var(--orange-2); margin-bottom: 22px; }
.card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; background: linear-gradient(160deg, rgba(245, 107, 46, .2), rgba(28, 43, 82, .4) 45%); }
.card.big h3 { font-family: var(--display); font-size: 30px; letter-spacing: -.03em; }
.card.big .shot { margin-top: auto; padding-top: 30px; height: 430px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; }
.card.big .shot img { width: 72%; max-width: 330px; border-radius: 30px 30px 0 0; border: 8px solid #0a0d16; border-bottom: 0; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .7); }
.card.wide { grid-column: span 2; }

/* Pitanja */
.faq { display: grid; gap: 12px; max-width: 860px; }
details { border-radius: 18px; background: rgba(28, 43, 82, .38); border: 1px solid var(--line); transition: border-color .3s; }
details[open] { border-color: rgba(245, 107, 46, .45); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-weight: 700; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 28px; font-weight: 400; color: var(--orange); transition: transform .3s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 26px 24px; color: var(--muted); max-width: 720px; }

/* Završni poziv */
.final { text-align: center; padding: 140px 0; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 10% 10%; z-index: -1; background: radial-gradient(ellipse at center, rgba(245, 107, 46, .25), transparent 65%); }
.final h2 { font-size: clamp(40px, 7vw, 96px); max-width: 1000px; margin: 18px auto 24px; }
.final .sub { margin: 0 auto 40px; }
.mail { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3vw, 34px); letter-spacing: -.01em; border-bottom: 3px solid var(--orange); padding-bottom: 4px; transition: color .2s; }
.mail:hover { color: var(--orange-2); }

footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
footer a:hover { color: var(--text); }
footer .logo { font-size: 18px; color: var(--text); }
footer .logo img { width: 28px; height: 28px; border-radius: 8px; }

/* Pravni tekstovi */
.doc { padding: 140px 0 100px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(38px, 6vw, 64px); margin: 14px 0 12px; }
.doc .updated { color: var(--muted); margin-bottom: 50px; }
.doc h2 { font-family: var(--body); font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 38px 0 10px; }
.doc p, .doc li { color: #c9d2e6; font-size: 17px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc a { color: var(--orange-2); border-bottom: 1px solid currentColor; }

/* Pojavljivanje pri skrolovanju */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

@media (max-width: 1000px) {
  .hero .wrap, .status .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .phones { height: 600px; max-width: 520px; width: 100%; margin: 20px auto 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .status .wrap { gap: 40px; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border-radius: 20px; background: rgba(13, 18, 33, .97); border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .nav-links a.accent { margin: 6px 0 0; text-align: center; }
}
@media (max-width: 680px) {
  section { padding: 84px 0; }
  .head { margin-bottom: 40px; }
  .steps, .bento { grid-template-columns: 1fr; }
  .card.big, .card.wide { grid-column: auto; grid-row: auto; }
  .step .ic { margin-bottom: 40px; }
  .phones { height: 520px; }
  .phone { width: 236px; border-radius: 42px; padding: 7px; }
  .phone img { border-radius: 36px; }
  .phone.left { left: -40px; top: 60px; transform: rotate(-9deg) scale(.78); }
  .phone.right { right: -40px; top: 60px; transform: rotate(9deg) scale(.78); }
  .chip { font-size: 13px; padding: 9px 13px 9px 9px; }
  .chip .ic { width: 30px; height: 30px; }
  .chip.c1 { left: 0; top: 70px; }
  .chip.c2 { right: 0; top: 300px; }
  .chip.c3 { left: 4px; bottom: 30px; }
  .store { flex: 1 1 140px; justify-content: center; gap: 10px; padding: 12px 14px; font-size: 16px; }
  .store svg { width: 24px; height: 24px; }
  .flow { gap: 4px; }
  .node b { width: 40px; height: 40px; }
  .node { font-size: 12px; }
  .panel { padding: 22px; }
  summary { font-size: 16px; padding: 18px 20px; }
  details p { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.doc ul + p { margin-top: 14px; }
