/* landing.css — platformski marketing landing (internal/http/landing.go).
   Dizajn: docs/design/landing.html (Open Design prototip, commit 9e772a1),
   ODOBREN. Trust strip "Arges ERP & fiskalizacija" VRAĆEN 11.7.2026. (Kristijan,
   vlasnik Korpe i Arges ERP-a): Arges ERP fiskalizira F1 i F2 račune, vidi
   internal/http/landing.go za punu napomenu.

   Font: Inter self-host (latin + latin-ext) — CSP korpe je self-only
   (security.go: default-src 'self', style-src 'self' 'unsafe-inline'), bez
   Google Fonts <link>. woff2 dohvaćen istim obrascem kao scripts/gen-teme-css.py
   (Chrome UA → CSS2 → woff2). Brand tokeni: Product subset (#1677ff baza,
   accent #3b8eff po docs/design/ODLUKE.md — isto kao cms.html).

   VARIABLE FONT (ISPRAVAK 28.7.2026.): dohvat je vratio VARIABLE woff2, pa su
   inter-400/500/600/700-{latin,latin-ext}.woff2 bili OSAM BAJT-IDENTIČNIH
   KOPIJA DVA fajla (md5 260c81a4… za sva 4 latin, 1ad231aa… za sva 4 latin-ext)
   — preglednik ih je vukao svih 8 (533,3 kB) za 133,3 kB stvarnog sadržaja.
   Sada 2 @font-face s rasponom `font-weight: 400 700`.

   DOKAZANO fontToolsom 4.63.0, NE pretpostavljeno (ponovljivo naredbama u
   internal/http/static_test.go TestLandingFontsAreVariable):
     fvar: DA, gvar: DA, STAT: DA; os wght min=100 default=400 max=900
     instanciranje na wght 400/500/600/700 daje RAZLIČITE obrise —
     debljina haste 'H': 190 / 228,5 / 267,0 / 305,6 jedinica,
     advance: 1522 / 1525 / 1527 / 1530, usWeightClass prati instancu.
   Dakle 500/600/700 su PRAVI rezovi s osi, ne sintetički bold. (Kontrola:
   bebas-neue-400-latin.woff2 nema fvar — provjera stvarno razlikuje.)

   RENDER JE NEPROMIJENJEN: 400/500/600/700 su unutar raspona pa se instanciraju
   iz iste osi kao i prije (nikad nema sinteze — face uvijek matcha), a 800
   (h1, h2, .amt, .step-num, .cta-band h2) se i dosad matchao na 700 face jer
   težeg face-a nije bilo — sada ga raspon clampa na isti 700. Raspon je
   NAMJERNO `400 700`, a NE `400 900`: os ide do 900, pa bi `400 900` dao pravi
   800 i time POTAMNIO naslove — a dizajn je odobren pixel po pixel. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/inter-latin.woff2?v=3100e775e861") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/inter-latin-ext.woff2?v=34b9c504cab7") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface-elevated: #ffffff;
  --fg: #111111;
  --muted: #6b7280;
  --accent: #3b8eff;          /* interaktivni accent (ODLUKE.md) */
  --accent-strong: #1677ff;   /* Product baza */
  --border: #d9dee7;
  --hero-bg: #0c1222;         /* tamni hero kontrast (kao cms.html login) */
  --hero-fg: #ffffff;
  --positive: #22c997;
  --accent-soft: color-mix(in srgb, #3b8eff 10%, #ffffff);
  --accent-softer: color-mix(in srgb, #3b8eff 5%, #f7f8fa);
  --shadow-sm: 0 1px 2px color-mix(in srgb, #111111 6%, transparent);
  --shadow: 0 4px 16px color-mix(in srgb, #111111 8%, transparent);
  --shadow-lg: 0 24px 60px color-mix(in srgb, #0c1222 22%, transparent);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --maxw: 1120px;
  --font: Inter, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* picture uz img: <picture> je inline element pa bi kao omotač oko <img> uveo
   line-box (baseline descender) i pomaknuo snimke u .browser-shot/.phone-shot;
   display:block ga svodi na isto ponašanje kakvo je <img> imao sam. */
img, picture { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface-elevated); color: var(--fg);
  font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s, transform .12s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, #111111);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 38%, transparent);
}
.btn-hero-primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 6px 22px color-mix(in srgb, var(--accent) 45%, transparent);
}
.btn-hero-ghost {
  background: color-mix(in srgb, #ffffff 10%, transparent);
  border-color: color-mix(in srgb, #ffffff 24%, transparent);
  color: #fff; backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover { background: color-mix(in srgb, #ffffff 18%, transparent); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, #ffffff 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand-logo { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--hero-fg);
  background:
    radial-gradient(ellipse 70% 60% at 12% 88%, color-mix(in srgb, var(--accent) 26%, transparent), transparent),
    radial-gradient(ellipse 58% 55% at 88% 8%, color-mix(in srgb, var(--accent-strong) 22%, transparent), transparent),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, var(--hero-bg)), var(--hero-bg));
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 78px 0 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: color-mix(in srgb, #ffffff 92%, var(--accent)); margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--positive);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--positive) 25%, transparent);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, #ffffff, color-mix(in srgb, var(--accent) 60%, #ffffff));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; max-width: 34rem;
  color: color-mix(in srgb, #ffffff 74%, var(--muted)); margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-note { font-size: 13.5px; color: color-mix(in srgb, #ffffff 62%, var(--muted)); }
.hero-note strong { color: color-mix(in srgb, #ffffff 90%, var(--accent)); font-weight: 700; }

/* Hero visual — browser + phone */
.hero-visual { position: relative; }
.browser {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  border: 1px solid color-mix(in srgb, #ffffff 16%, transparent);
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: #f1f3f6; border-bottom: 1px solid #e4e7ec;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.browser-url {
  margin-left: 10px; flex: 1; height: 24px; border-radius: 6px; background: #fff;
  border: 1px solid #e4e7ec; display: flex; align-items: center; gap: 7px;
  padding: 0 10px; font-size: 12px; color: var(--muted); font-family: var(--mono);
}
.browser-url svg { width: 12px; height: 12px; stroke: var(--positive); }
.browser-shot { height: 384px; overflow: hidden; background: #fff; }
.browser-shot img { width: 100%; height: auto; object-fit: cover; object-position: top; }
.phone {
  position: absolute; right: -18px; bottom: -40px; width: 176px;
  border-radius: 26px; padding: 7px; background: #0c1222;
  border: 1px solid color-mix(in srgb, #ffffff 18%, transparent);
  box-shadow: 0 26px 60px color-mix(in srgb, #000000 45%, transparent);
}
.phone::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 5px; border-radius: 3px; background: color-mix(in srgb, #ffffff 24%, transparent); z-index: 2;
}
.phone-shot { border-radius: 20px; overflow: hidden; height: 300px; background: #fff; }
.phone-shot img { width: 100%; height: auto; object-position: top; }

/* ── Trust strip ─────────────────────────────────────── */
.trust {
  position: relative; z-index: 1;
  border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  background: color-mix(in srgb, #000000 14%, transparent);
}
.trust-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px;
  padding: 20px 0; color: color-mix(in srgb, #ffffff 68%, var(--muted));
  font-size: 14px; font-weight: 500;
}
.trust-inner .lead { color: color-mix(in srgb, #ffffff 88%, var(--accent)); font-weight: 600; }
.trust-inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust-inner span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: .8;
}
.trust-inner .lead::before { display: none; }

/* ── Sections ────────────────────────────────────────── */
section { scroll-margin-top: 80px; }
.section-pad { padding: 84px 0; }
.section-head { max-width: 40rem; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* ── Features ────────────────────────────────────────── */
.features { background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }
.feature-ic {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
}
.feature-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.feature .tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
}

/* ── Showcase ────────────────────────────────────────── */
.showcase-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.showcase-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 16px; }
.showcase-copy p { font-size: 16.5px; color: var(--muted); margin-bottom: 22px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; font-weight: 500; }
.checklist .ck {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: color-mix(in srgb, var(--positive) 16%, #ffffff); color: var(--positive);
  display: flex; align-items: center; justify-content: center;
}
.checklist .ck svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.showcase-figure {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.showcase-cap { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ── Pricing ─────────────────────────────────────────── */
.pricing { background: var(--surface); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 30px 26px; position: relative; display: flex; flex-direction: column;
}
.plan-featured {
  border-color: var(--accent); box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .01em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent);
}
.plan-name { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.plan-price .amt { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .per { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan-tagline { font-size: 14px; color: var(--muted); min-height: 40px; margin-bottom: 20px; }
.plan .btn { margin-bottom: 22px; }
.plan-feats { list-style: none; display: grid; gap: 11px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.plan-feats .ck {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.plan-feats .ck svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan-feats li.em { font-weight: 700; }
.plan-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* ── Steps ───────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step {
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px; position: relative;
}
.step-num {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent-strong) 70%, #111111));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 34%, transparent);
}
.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── CTA band ────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  border-radius: var(--radius-xl); padding: 60px 32px; margin: 0 auto;
  background:
    radial-gradient(ellipse 60% 80% at 20% 90%, color-mix(in srgb, var(--accent) 28%, transparent), transparent),
    radial-gradient(ellipse 50% 60% at 85% 10%, color-mix(in srgb, var(--accent-strong) 24%, transparent), transparent),
    linear-gradient(155deg, color-mix(in srgb, var(--accent) 10%, var(--hero-bg)), var(--hero-bg));
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; position: relative; }
.cta-band p { font-size: 17px; color: color-mix(in srgb, #ffffff 76%, var(--muted)); margin-bottom: 28px; position: relative; }
.cta-band .hero-cta { justify-content: center; }

/* ── Footer ──────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-meta { font-size: 13.5px; color: var(--muted); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 60px 0 72px; }
  .hero-visual { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-featured { transform: none; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section-pad { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-band .btn { flex: 1 1 auto; }
  .phone { width: 132px; right: -6px; bottom: -30px; }
  .phone-shot { height: 224px; }
  .browser-shot { height: 300px; }
  .trust-inner { font-size: 13px; gap: 10px 18px; }
}
@media (max-width: 400px) {
  .phone { display: none; }
  .plan-price .amt { font-size: 40px; }
}
