/* Vendio: hibrid treh trgovin (Prokraft jantar, Vitapur kost, Sensilab zelena) v shadcn maniri.
   Ena svetla tema, mehki radiji, 1px robovi, sence z odmikom, veliko zraka. */
:root {
  color-scheme: light;
  --bg: #faf9f6;
  --bone: #f3efe6;
  --card: #ffffff;
  --ink: #1b211e;
  --muted: #646c68;
  --line: #e6e2d9;
  --line-strong: #d3cec3;
  --forest: #1f4d3a;
  --forest-deep: #16392b;
  --forest-tint: #e8f0eb;
  --amber: #e6a23c;
  --amber-deep: #c9871f;
  --amber-tint: #fbf1de;
  --ring: rgb(31 77 58 / .25);
  --shadow-sm: 0 1px 2px rgb(27 33 30 / .06), 0 1px 1px rgb(27 33 30 / .03);
  --shadow-md: 0 6px 20px -8px rgb(27 33 30 / .18), 0 2px 6px -2px rgb(27 33 30 / .06);
  --shadow-lg: 0 24px 48px -20px rgb(31 77 58 / .28), 0 8px 20px -10px rgb(27 33 30 / .12);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --display: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
  --text: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--amber-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: var(--r-sm); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .5em; }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }
.prose { max-width: 60ch; }
q { quotes: "„" "“"; font-style: italic; }
section { padding: clamp(72px, 9vw, 128px) 0; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.2em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Gumbi */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.25em; border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.2;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s, box-shadow .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #2a1d06; box-shadow: var(--shadow-sm); }
.btn-amber:hover { background: var(--amber-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--bone); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bone); }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(.2em); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Glava */
header.top { position: sticky; top: 0; z-index: 10; height: 68px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { height: 100%; display: flex; align-items: center; gap: 30px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.logo .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--forest); position: relative; }
.logo .mark::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); right: -3px; bottom: -3px; }
header.top nav { display: flex; gap: 4px; }
header.top nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; padding: .45em .8em; border-radius: var(--r-sm); transition: background-color .2s, color .2s; }
header.top nav a:hover { color: var(--ink); background: var(--bone); }
header.top .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
header.top .btn { padding: .6em 1em; font-size: .95rem; }
@media (max-width: 900px) { header.top nav, header.top .btn-ghost { display: none; } }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(1200px 600px at 85% -10%, var(--forest-tint), transparent 60%), radial-gradient(800px 500px at -10% 110%, var(--amber-tint), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--forest); }
.hero .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 36ch; margin: 22px 0 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .facts { display: flex; gap: 22px; flex-wrap: wrap; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero .facts li { display: inline-flex; align-items: center; gap: .45em; }
.hero .facts .ic { color: var(--forest); }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* Okno z živim botom */
.device { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.device .bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bone); font-size: .9rem; color: var(--muted); }
.device .bar .live { display: inline-flex; align-items: center; gap: .4em; color: var(--forest); font-weight: 600; }
.device .bar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 3px var(--forest-tint); }
.device .bar .host { margin-left: auto; font-family: var(--text); }
.demo-frame { position: relative; min-height: 520px; background: #fff; padding: 10px; }
.demo-frame .demo-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px; font-size: .95rem; }
.demo-frame:has(.pk-widget) .demo-fallback { display: none; }
.demo-caption { font-size: .92rem; color: var(--muted); margin: 14px 4px 0; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Trgovine: tri identitete kot dokaz */
.proof { padding: 28px 0 0; }
.proof .wrap { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.proof .brands { display: flex; gap: 10px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .55em; padding: .5em .9em .5em .55em; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.brand:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.brand .sw { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: .8rem; }
.sw-prokraft { background: #ff6b35; }
.sw-sensilab { background: #95c11f; }
.sw-vitapur { background: #c9b177; }

/* Problem: bento, 1 velika + 2 majhni */
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 36px; }
.cell { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); background: var(--card); box-shadow: var(--shadow-sm); }
.cell.big { grid-row: 1 / 3; background: var(--forest); color: #fff; border-color: var(--forest); display: grid; align-content: end; gap: 12px; }
.cell.big h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; }
.cell.big p { color: #cfe0d6; margin: 0; }
.cell.bone { background: var(--bone); border-color: var(--line); }
.cell h3 { margin-bottom: 8px; }
.cell p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .cell.big { grid-row: auto; min-height: 220px; } }

/* Kako deluje: navpična časovnica */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 0 0 36px; position: relative; }
.steps li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--line-strong); }
.steps li:last-child::before { display: none; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--forest); box-shadow: var(--shadow-sm); }
.steps h3 { margin: 8px 0 6px; }
.steps p { color: var(--muted); margin: 0; max-width: 58ch; }
.steps + p { margin-top: 8px; }

/* Demo: tri kartice, vsaka s svojo identiteto */
.shops { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shops li { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 24px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.shops li:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.shops li:nth-child(2) { background: linear-gradient(180deg, #f6fae9, var(--card) 60%); }
.shops li:nth-child(3) { background: linear-gradient(180deg, #f7f4ec, var(--card) 60%); }
.shops li:nth-child(1) { background: linear-gradient(180deg, #fff1ea, var(--card) 60%); }
.shops .head { display: flex; align-items: center; gap: 12px; }
.shops .sw { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }
.shops .what { color: var(--muted); font-size: .92rem; }
.shops .ask { padding: 12px 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); font-size: .95rem; }
.shops .ask q { color: var(--ink); }
.shops .btn { justify-self: start; }
@media (max-width: 860px) { .shops { grid-template-columns: 1fr; } }

/* Cenik */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: clamp(24px, 3vw, 36px); display: grid; align-content: start; gap: 6px; box-shadow: var(--shadow-sm); }
.plan.pro { border-color: var(--forest); box-shadow: var(--shadow-lg); position: relative; }
.plan.pro::before { content: "Priporočeno"; position: absolute; top: -12px; left: 24px; background: var(--amber); color: #2a1d06; font-size: .8rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; }
.plan .price { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 3.6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; margin: 12px 0 2px; }
.plan .price small { font-family: var(--text); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--muted); margin-left: .35em; }
.plan .yearly { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.plan ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 1.25em 1fr; gap: 10px; align-items: start; }
.plan li .ic { color: var(--forest); margin-top: .2em; }
.plan .btn { justify-self: start; }
.enterprise { margin-top: 20px; padding: 20px 26px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notes { margin-top: 28px; max-width: 70ch; color: var(--muted); font-size: .93rem; }
.notes p { margin-bottom: .5em; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* EU */
.eu { background: var(--forest); color: #fff; }
.eu .wrap { max-width: 820px; text-align: center; }
.eu h2 { color: #fff; }
.eu p { color: #cfe0d6; max-width: 60ch; margin-left: auto; margin-right: auto; }
.eu .fine { font-size: .9rem; color: #a9c4b6; }
.eu .fine a { color: #fff; }

/* FAQ */
.faq { max-width: 760px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 6px 24px; margin-top: 32px; box-shadow: var(--shadow-sm); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 66ch; }
.faq a { color: var(--forest); }

/* Zaključek */
.cta { background: var(--bone); border-top: 1px solid var(--line); }
.cta .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
form.lead { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
form.lead label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
form.lead input { width: 100%; font: inherit; padding: .7em .85em; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--card); color: var(--ink); margin-bottom: 16px; caret-color: var(--forest); transition: border-color .2s, box-shadow .2s; }
form.lead input::placeholder { color: #8a918d; }
form.lead input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px var(--ring); }
form.lead .hp { position: absolute; left: -9999px; }
form.lead .btn { width: 100%; }
form.lead .msg { margin: 12px 0 0; font-size: .93rem; color: var(--muted); }
form.lead .msg.err { color: #a83a2b; }
form.lead .msg.ok { color: var(--forest); font-weight: 600; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Noga */
footer { padding: 34px 0; color: var(--muted); font-size: .93rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer .spacer { flex: 1; }
footer a { color: inherit; }

/* Pravne strani */
article.legal { max-width: 76ch; margin: clamp(32px, 5vw, 64px) auto clamp(48px, 7vw, 96px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow-sm); }
article.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
article.legal h2 { font-size: 1.35rem; margin: 2em 0 .5em; }
article.legal a { color: var(--forest); }
article.legal .placeholder { background: var(--amber-tint); padding: 0 .25em; border-radius: 4px; }
article.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
article.legal th, article.legal td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
