/* ── JOST (Futura alternative) — lokalni fontovi ── */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jost-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jost-latin-ext.woff2') 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;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jost-latin.woff2') 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;
}

/* ── RESET & BASE ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Bazna veličina 16.5px — zlatna sredina između default 16 i prethodnog 18. */
html { scroll-behavior: smooth; font-size: 16.5px; }
@media (max-width: 540px) { html { font-size: 16px; } }

:root {
  /* LIGHT THEME (Veriswitch-style) — bela glavna pozadina, dark hero i footer kontrast.
     Prijatnije za oči nego puna dark theme. */
  --bg-main:    #FFFFFF;     /* glavna pozadina */
  --bg-soft:    #F5F7FA;     /* off-white alt sekcije */
  --bg-soft2:   #ECF0F4;     /* malo dublja off-white */
  --dark:       #1F2937;     /* slate-800 — samo hero i footer */
  --dark2:      #2C3848;
  --navy:       #364156;
  --accent:     #0078B8;     /* malo tamniji blue za bolji kontrast na beloj */
  --accent2:    #005F90;
  --text-main:  #0F172A;     /* slate-950 — tekst na light */
  --text-muted: #475569;     /* slate-600 — sekundarni tekst */
  --border:     rgba(15,23,42,.10);
  --white:      #FFFFFF;
  --off-white:  #F5F7FA;
  --muted:      rgba(255,255,255,.78);  /* za tekst NA dark sekcijama (hero/footer) */
  --font:    'Jost', 'Segoe UI', Arial, sans-serif;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  transition: background .35s, box-shadow .35s;
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(15,23,42,.05);
}
.site-nav.scrolled .nav-brand,
.site-nav.scrolled .nav-link { color: var(--text-main); }
.site-nav.scrolled .nav-link:hover { color: var(--accent); background: rgba(0,120,184,.06); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand .dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: rgba(255,255,255,.82);
  font-size: .94rem;
  font-weight: 500;
  letter-spacing: .3px;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .5px;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Veriswitch-style mesh gradient bg — mekše, manje agresivno na svetlijoj slate pozadini */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(0,150,214,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 80%, rgba(0,180,230,.09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(120,140,180,.10) 0%, transparent 60%);
  pointer-events: none;
}
/* Dot grid overlay — finiji */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  padding: 6px 13px;
  border: 1px solid rgba(0,120,184,.45);
  border-radius: 4px;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.8px;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 strong {
  font-weight: 700;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  max-width: 510px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .4px;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent2); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  color: rgba(255,255,255,.9);
  font-family: var(--font);
  font-weight: 500;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.3);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.05); }

/* Hero right: feature panel */
.hero-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero-panel ul { list-style: none; }
.hero-panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.5;
}
.hero-panel li:last-child { border: none; }
.hero-panel li svg { flex-shrink: 0; margin-top: 1px; }

/* ── TRUST BAR ────────────────────────────────── */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: .3px;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ── SEKCIJE ──────────────────────────────────── */
.section {
  padding: 100px 0;
}
/* PROMENJENO v8.0: section-dark/mid sad su LIGHT (nije više crno-crno).
   Imena klasa zadržana zbog HTML-a koji već koristi te klase. */
.section-dark {
  background: var(--bg-main);  /* bela */
  color: var(--text-main);
}
.section-mid {
  background: var(--bg-soft);  /* off-white #F5F7FA */
  color: var(--text-main);
}
.section-light {
  background: var(--bg-soft2);  /* malo dublja off-white */
  color: var(--text-main);
}
.section-white {
  background: var(--bg-main);
  color: var(--text-main);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.section-dark .section-label,
.section-mid .section-label { color: var(--accent); }

.section-h2 {
  font-family: var(--font);
  font-size: clamp(2.05rem, 3.8vw, 2.95rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: inherit;
}
.section-h2 strong { font-weight: 700; }
.section-dark .section-h2,
.section-mid .section-h2 { color: var(--text-main); }

.section-sub {
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
}
.section-dark .section-sub,
.section-mid .section-sub { color: var(--text-muted); }

/* ── LIFECYCLE ────────────────────────────────── */
.lifecycle {
  background: var(--accent);
  padding: 18px 0;
  overflow: hidden;
}
.lifecycle-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: rgba(0,0,0,.82);
}
.lifecycle-step {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 18px;
  white-space: nowrap;
}
.lifecycle-step svg { flex-shrink: 0; }
.lifecycle-arrow { color: rgba(0,0,0,.3); font-size: 1.1rem; line-height: 1; }
@media (max-width: 680px) {
  .lifecycle-inner { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .lifecycle-inner::-webkit-scrollbar { display: none; }
}

/* ── FEATURES GRID ────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 56px;
}
.feature-card {
  background: var(--bg-main);
  padding: 36px 28px;
  transition: background .25s;
}
.feature-card:hover { background: var(--bg-soft); }
.feat-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(0,120,184,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.feat-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -.15px;
}
.feat-desc {
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }

/* ── INDUSTRY SELECTOR ────────────────────────── */
.industry-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 32px;
}
.industry-btn {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
  min-width: 140px;
  color: var(--text-main);
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 500;
}
.industry-btn:hover { border-color: var(--accent); background: rgba(0,120,184,.04); }
.industry-btn.active { border-color: var(--accent); background: rgba(0,120,184,.08); color: var(--accent); }
.ind-icon { font-size: 1.6rem; display: block; margin-bottom: 7px; }
.ind-name { font-size: .9rem; font-weight: 600; letter-spacing: .2px; }

.mod-preview {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}
.mod-preview p { color: var(--text-main); font-size: 1rem; font-weight: 400; line-height: 1.65; margin-bottom: 20px; }
.mod-label { font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.mod-badge {
  display: inline-block;
  margin: 3px;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: .87rem;
  font-weight: 500;
  letter-spacing: .2px;
}
.mod-badge.hl { background: var(--accent); color: #fff; }
.mod-badge.sec { background: var(--bg-soft); color: var(--text-main); border: 1px solid var(--border); }

/* ── PRICING ──────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 56px;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-main);
}
.pricing-head {
  background: rgba(0,120,184,.06);
  border-bottom: 1px solid rgba(0,120,184,.18);
  padding: 36px 36px 28px;
}
.pricing-label-tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pricing-num {
  font-family: var(--font);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -1px;
}
.pricing-num sup { font-size: 1.2rem; vertical-align: super; letter-spacing: 0; }
.pricing-num sub { font-size: .92rem; opacity: .55; letter-spacing: 0; }
.pricing-pdv { font-size: .9rem; color: var(--accent); margin-top: 6px; font-weight: 600; }
.pricing-note { font-size: .92rem; color: var(--text-muted); margin-top: 6px; }
.pricing-body { padding: 28px 36px; }
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .96rem;
  color: var(--text-muted);
}
.calc-row:last-of-type { border: none; }
.calc-row .val { color: var(--text-main); font-weight: 500; }
.calc-row .val small { font-size: .8rem; color: var(--text-muted); font-weight: 400; }
.calc-slider-wrap { margin-top: 20px; }
.calc-slider-label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-muted); margin-bottom: 10px; }
.calc-slider { width: 100%; accent-color: var(--accent); cursor: pointer; }
.calc-total {
  margin-top: 18px;
  background: rgba(0,120,184,.06);
  border: 1px solid rgba(0,120,184,.18);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-total-label { font-size: .92rem; color: var(--text-muted); font-weight: 500; }
.calc-total-label small { display: block; font-size: .78rem; color: var(--text-muted); opacity: .7; }
.calc-total-val { font-size: 1.42rem; font-weight: 700; color: var(--text-main); }

.examples-col { display: flex; flex-direction: column; gap: 14px; }
.example-box {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
}
.example-label { font-size: .76rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.example-price { font-size: 1.18rem; font-weight: 600; color: var(--text-main); }
.example-price small { font-size: .82rem; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.example-calc { font-size: .87rem; color: var(--text-muted); margin-top: 3px; }
.incl-box {
  background: rgba(0,120,184,.04);
  border: 1px solid rgba(0,120,184,.16);
  border-radius: 10px;
  padding: 22px 24px;
}
.incl-list { list-style: none; }
.incl-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-main);
}
.incl-list li svg { color: var(--accent); flex-shrink: 0; }

/* ── CONTACT FORM ─────────────────────────────── */
.form-wrap {
  max-width: 660px;
  margin: 56px auto 0;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(15,23,42,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 400;
  color: var(--text-main);
  transition: border-color .2s, background .2s;
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); opacity: .6; }
.form-control:focus { border-color: var(--accent); background: var(--bg-main); }
.form-control option { background: var(--bg-main); color: var(--text-main); }
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: .5px;
  padding: 15px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--accent2); transform: translateY(-1px); }
.form-note { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: 14px; }

/* ── TY SCREEN ────────────────────────────────── */
.ty-wrap { text-align: center; padding: 20px 0; }
.ty-icon {
  width: 64px; height: 64px;
  background: rgba(0,120,184,.12);
  border: 1px solid rgba(0,120,184,.30);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
}

/* ── FOOTER ────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 44px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.footer-brand {
  font-size: 1.42rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
  margin-bottom: 10px;
}
.footer-brand .dot { color: var(--accent); }
.footer-sub { font-size: .94rem; font-weight: 400; color: rgba(255,255,255,.65); max-width: 510px; margin: 0 auto 16px; line-height: 1.65; }
.footer-links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; font-size: .9rem; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { margin-top: 24px; font-size: .82rem; color: rgba(255,255,255,.4); }

/* ── INDUSTRIES SHOWCASE ────────────────────────── */
.ind-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 44px;
}
.ind-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-main);
  transition: border-color .2s, color .2s, background .2s;
  cursor: default;
  line-height: 1;
}
.ind-tile-emoji { font-size: 1.15rem; }
.ind-tile:hover { border-color: var(--accent); background: rgba(0,120,184,.04); }
.ind-tile-hl {
  border-color: var(--accent);
  background: rgba(0,120,184,.08);
  color: var(--accent);
  font-weight: 600;
}

/* ── FADE-IN ────────────────────────────────────── */
.fi { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fi.visible { opacity: 1; transform: none; }
.fi.d1 { transition-delay: .1s; }
.fi.d2 { transition-delay: .2s; }
.fi.d3 { transition-delay: .3s; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { display: none; }
  .section { padding: 72px 0; }
  .form-wrap { padding: 32px 24px; }
}
@media (max-width: 580px) {
  .nav-link { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .section-h2 { font-size: 2rem; }
  .pricing-head, .pricing-body { padding-left: 24px; padding-right: 24px; }
  .container { padding: 0 20px; }
}
