/* Paleta "Šljiva + čili" iz dizajna aplikacije */
:root {
  --acc: #E94B35;      /* čili — dugmad, akcenti */
  --accFg: #FFF3D6;
  --plum: #3A163B;     /* šljiva — brend */
  --hi: #FF9F43;       /* narandžasta — istaknute cijene */
  --bg: #FFF3D6;
  --card: #FFFAEC;
  --fill: #F8E7C7;
  --fill2: #F3DEB5;
  --ink: #171313;
  --muted: #6B5A55;
  --line: #EAD7B0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Archivo', system-ui, sans-serif; letter-spacing: -0.03em; margin: 0; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }

/* Logo: torba s ručkom */
/* Veličina se skalira preko --s (širina torbe u px) */
.logo { --s: 38px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.mark { position: relative; flex: 0 0 var(--s); width: var(--s); height: calc(var(--s) * 1.18); display: flex; align-items: flex-end; }
.mark::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: calc(var(--s) * 0.5); height: calc(var(--s) * 0.3); box-sizing: border-box;
  border: calc(var(--s) * 0.09) solid var(--plum); border-bottom: none;
  border-radius: 999px 999px 0 0;
}
.mark span {
  width: var(--s); height: var(--s); border-radius: calc(var(--s) * 0.33);
  background: var(--plum); color: var(--accFg);
  display: flex; align-items: center; justify-content: center; padding-bottom: calc(var(--s) * 0.07);
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: calc(var(--s) * 0.59); line-height: 1;
}
.word { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: calc(var(--s) * 0.72); letter-spacing: -0.04em; }

/* Header */
header { padding-block: 22px; }
header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px;
  background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; text-decoration: none;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hi); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Hero */
.hero { padding-block: 40px 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 10px; margin-bottom: 22px;
  background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc);
  font-size: 14px; font-weight: 700;
}
.hero h1 { font-weight: 800; font-size: clamp(44px, 7vw, 78px); line-height: 0.98; }
.hero h1 em { font-style: normal; color: var(--acc); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 520px; margin: 22px 0 32px; text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 600; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 16px;
  background: var(--ink); color: var(--bg); min-width: 190px; position: relative;
}
.store svg { width: 26px; height: 26px; flex: 0 0 26px; fill: currentColor; }
.store small { display: block; font-size: 12px; opacity: .7; line-height: 1.2; }
.store b { display: block; font-family: 'Archivo', sans-serif; font-size: 19px; line-height: 1.15; letter-spacing: -0.01em; }
.store .soon {
  position: absolute; top: -9px; right: -8px; padding: 3px 8px; border-radius: 8px;
  background: var(--hi); color: var(--ink); font-size: 11px; font-weight: 700;
}
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Telefon */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: var(--plum); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.phone {
  position: relative; width: 300px; max-width: 100%; border-radius: 44px; background: #1c1717; padding: 9px;
  box-shadow: 0 40px 80px -30px rgba(58, 22, 59, .6); transform: rotate(3deg);
}
.screen { border-radius: 36px; overflow: hidden; background: var(--bg); padding: 18px 14px 20px; }
.scr-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 12px; }
.scr-top small { font-size: 11px; color: var(--muted); display: block; }
.scr-top .display { font-weight: 700; font-size: 18px; }
.chip { padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 600; }
.search { background: var(--fill2); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.sec { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 8px; }
.sec .display { font-weight: 700; font-size: 15px; }
.sec span { font-size: 11px; font-weight: 600; color: var(--plum); }
.card { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; }
.card:last-child { margin-bottom: 0; }
.photo { height: 92px; position: relative; background: var(--fill); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { position: absolute; top: 9px; left: 9px; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 8px; }
.tag.hi { background: var(--hi); color: var(--ink); }
.tag.pl { background: var(--plum); color: var(--accFg); }
.card-body { padding: 10px 12px 12px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-body .display { font-weight: 700; font-size: 14px; }
.card-body small { font-size: 10.5px; color: var(--muted); }
.price { display: flex; gap: 6px; align-items: baseline; }
.price s { font-size: 10px; color: #9b8a80; }
.price b { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; }
.card-body .row + small, .card-body small.sub { display: block; margin-top: 2px; }
.card-body .row.bottom { margin-top: 8px; align-items: flex-end; }

/* Kako radi */
.how { background: var(--card); border-block: 1px solid var(--line); padding-block: 88px; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-weight: 800; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; }
.section-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.num {
  width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px; margin-bottom: 18px;
}
.step:nth-child(1) .num { background: var(--acc); color: var(--accFg); }
.step:nth-child(2) .num { background: var(--hi); color: var(--ink); }
.step:nth-child(3) .num { background: var(--plum); color: var(--accFg); }
.step h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Brojke */
.stats { padding-block: 72px; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { border-top: 3px solid var(--ink); padding-top: 16px; }
.stat b { display: block; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; color: var(--muted); margin-top: 8px; font-size: 16px; }

/* Partneri */
.partners { padding-block: 0 88px; }
.partner-box {
  background: var(--plum); color: var(--accFg); border-radius: 32px; padding: clamp(32px, 6vw, 64px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.partner-box h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.05; }
.partner-box p { opacity: .8; font-size: 18px; margin: 14px 0 0; max-width: 520px; }
.partner-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.partner-box li {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 243, 214, .08); font-weight: 500;
}
.partner-box li::before {
  content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 9px; background: var(--acc); color: var(--accFg);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.btn {
  display: inline-block; margin-top: 28px; padding: 15px 24px; border-radius: 16px; text-decoration: none;
  background: var(--acc); color: var(--accFg); font-weight: 700; font-size: 17px;
}
.btn:hover { filter: brightness(1.06); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 32px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .logo { --s: 30px; }
footer p { margin: 0; font-size: 14px; color: var(--muted); }
footer a { color: var(--plum); font-weight: 600; text-decoration: none; }

@media (max-width: 900px) {
  .hero .wrap, .partner-box { grid-template-columns: 1fr; }
  .hero { padding-block: 16px 64px; }
  .phone-stage { margin-top: 12px; }
  .steps, .stats .wrap { grid-template-columns: 1fr; }
  .how { padding-block: 64px; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }
  .pill .long { display: none; }
  .store { flex: 1 1 100%; }
  .phone { width: 270px; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } html { scroll-behavior: auto; } }
