/* KLIK WMS – javni sajt */
:root { --navy: #0b1f45; --navy-2: #071430; --blue: #1d6ff2; --blue-2: #3b8bff; --sky: #4da3ff; --ink: #0f1b33; --muted: #5d6b86; --line: #e3e9f4; --soft: #f3f7fe; --ok: #16a34a; --radius: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 10px; font-weight: 600; border: 1.5px solid transparent; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(29,111,242,.35); }
.btn-primary:hover { background: #1560d8; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; width: 100%; justify-content: center; }
.btn-lg { padding: 15px 26px; font-size: 18px; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 46px; height: 46px; }
.brand b { font-size: 30px; letter-spacing: -.01em; line-height: 1; }
.brand b span { color: var(--sky); }
.brand small { display: block; font-size: 13px; opacity: .85; font-weight: 500; }
.menu { display: flex; gap: 30px; margin-left: auto; color: #e3ebff; font-weight: 500; }
.menu a { padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.on { color: var(--sky); border-color: var(--sky); }
.top .actions { display: flex; gap: 12px; }
.top .actions .btn { padding: 10px 18px; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 28px; }

/* Hero */
.hero { position: relative; color: #fff; padding: 130px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 30%, rgba(59,139,255,.35), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(29,111,242,.25), transparent 60%),
    linear-gradient(160deg, #0d2a5e 0%, var(--navy) 45%, var(--navy-2) 100%); }
.hero::before { /* nagoveštaj regala u pozadini */
  content: ""; position: absolute; inset: 0; opacity: .07;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 120px), repeating-linear-gradient(0deg, #fff 0 2px, transparent 2px 90px); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 58px; line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--sky); display: block; }
.hero .lead { font-size: 21px; color: #dbe6ff; margin: 0 0 22px; max-width: 560px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; }
.checks li { position: relative; padding: 5px 0 5px 36px; font-size: 18px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 18px; height: 10px; border-left: 3px solid var(--sky); border-bottom: 3px solid var(--sky); transform: rotate(-45deg); }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Uređaji */
.devices { position: relative; height: 470px; }
.laptop { position: absolute; right: 0; top: 10px; width: 92%; }
.laptop .screen { background: #0e1322; border-radius: 16px 16px 6px 6px; padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.laptop .base { height: 16px; margin: 0 -6%; background: linear-gradient(#cfd6e2, #9aa4b5); border-radius: 0 0 18px 18px; }
.app { display: grid; grid-template-columns: 26% 1fr; background: #f4f6fa; border-radius: 6px; overflow: hidden; height: 330px; color: var(--ink); font-size: 9px; }
.app .side { background: var(--navy); color: #d6e2fb; padding: 10px 8px; }
.app .side .lg { display: flex; align-items: center; gap: 5px; color: #fff; font-weight: 800; font-size: 12px; margin-bottom: 10px; }
.app .side .lg img { width: 16px; }
.app .side .lg span { color: var(--sky); }
.app .side div.it { padding: 5px 7px; border-radius: 5px; margin-bottom: 2px; }
.app .side div.it.on { background: var(--blue); color: #fff; }
.app .main { padding: 10px 12px; }
.app h4 { margin: 0 0 8px; font-size: 13px; }
.k4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.k4 div { background: #fff; border-radius: 6px; padding: 6px 7px; border: 1px solid #e6ebf3; }
.k4 b { display: block; font-size: 15px; }
.k4 .w { color: #d97706; }
.two { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6px; margin-bottom: 8px; }
.two > div { background: #fff; border-radius: 6px; padding: 6px 8px; border: 1px solid #e6ebf3; }
.acts { background: #fff; border-radius: 6px; padding: 6px 8px; border: 1px solid #e6ebf3; }
.acts table { width: 100%; border-collapse: collapse; }
.acts td { padding: 3px 0; border-bottom: 1px solid #eef1f6; }
.pill { border-radius: 4px; padding: 0 5px; font-size: 8px; }
.pill.g { background: #dcfce7; color: #166534; } .pill.b { background: #dbeafe; color: #1d4ed8; } .pill.s { background: #e5e7eb; color: #374151; }
.phone { position: absolute; left: -10px; bottom: -10px; width: 200px; background: #1b1f27; border-radius: 30px; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.55); border: 2px solid #3a404c; }
.phone .scr { background: var(--navy); border-radius: 22px; padding: 12px 10px 16px; }
.phone .bar { color: #fff; font-size: 9px; display: flex; justify-content: space-between; margin-bottom: 8px; }
.phone .lg { display: flex; align-items: center; justify-content: center; gap: 5px; color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.phone .lg img { width: 16px; } .phone .lg span { color: var(--sky); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tiles div { background: #fff; color: var(--navy); border-radius: 10px; padding: 10px 4px; text-align: center; font-size: 9px; font-weight: 600; }
.tiles div svg.i { width: 20px; height: 20px; color: var(--blue); display: block; margin: 0 auto 4px; }
.tiles div.hl { background: var(--blue); color: #fff; }
.tiles div.hl svg.i { color: #fff; }

/* Traka funkcija */
.strip { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15,27,51,.06); position: relative; z-index: 2; }
.strip .wrap { display: grid; grid-template-columns: repeat(9, 1fr); }
.strip .f { text-align: center; padding: 22px 6px; border-right: 1px solid var(--line); font-weight: 500; font-size: 15px; line-height: 1.25; }
.strip .f:last-child { border-right: 0; }
.strip .f svg.i { width: 34px; height: 34px; color: var(--navy); display: block; margin: 0 auto 8px; stroke-width: 1.5; }

/* Sekcije */
section { padding: 86px 0; }
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
h2 { font-size: 40px; line-height: 1.12; margin: 8px 0 14px; letter-spacing: -.02em; }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feat .c { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: box-shadow .2s, transform .2s; }
.feat .c:hover { box-shadow: 0 16px 40px rgba(15,27,51,.08); transform: translateY(-2px); }
.feat .c .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.feat .c .ic svg.i { width: 24px; height: 24px; }
.feat .c h3 { margin: 0 0 6px; font-size: 19px; }
.feat .c p { margin: 0; color: var(--muted); }

/* Cenovnik */
.pricing { background: linear-gradient(180deg, #f7faff, #fff); }
.pricing .wrap { display: grid; grid-template-columns: 1fr 3fr; gap: 30px; align-items: start; }
.allin { display: inline-flex; gap: 10px; align-items: center; background: #e3efff; border-radius: 999px; padding: 8px 18px; font-weight: 700; margin: 18px 0 10px; }
.allin::before { content: ""; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg) translateY(-2px); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 6px 20px rgba(15,27,51,.05); display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--blue); box-shadow: 0 16px 40px rgba(29,111,242,.18); background: linear-gradient(180deg, #f2f7ff, #fff 45%); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 14px; border-radius: 6px; white-space: nowrap; }
.plan .nm { color: var(--blue); font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.plan .pr { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 0; }
.plan .pr small { font-size: 17px; font-weight: 500; color: var(--muted); }
.plan .per { color: var(--muted); min-height: 24px; }
.plan ul { list-style: none; padding: 14px 0 0; margin: 12px 0 18px; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: center; padding: 5px 0; }
.plan li svg.i { color: var(--navy); }
.plan .btn-primary { width: 100%; justify-content: center; }

/* Forma */
.contact { background: var(--navy); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact .sub { color: #c9d6f2; }
.contact .line { display: flex; gap: 12px; align-items: center; margin: 14px 0; color: #dbe6ff; }
form.lead { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
form.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form.lead label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
form.lead input, form.lead select, form.lead textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfd8e8; border-radius: 9px; }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: 2px solid rgba(29,111,242,.35); border-color: var(--blue); }
form.lead .btn { width: 100%; justify-content: center; margin-top: 16px; }
.ok { background: #dcfce7; color: #166534; padding: 12px 14px; border-radius: 10px; margin-bottom: 10px; font-weight: 600; }
.err { background: #fee2e2; color: #991b1b; padding: 12px 14px; border-radius: 10px; margin-bottom: 10px; }
.hp { position: absolute; left: -9999px; }

footer { background: var(--navy-2); color: #9fb0d3; padding: 30px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .hero .wrap, .pricing .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .devices { height: 420px; max-width: 640px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: repeat(3, 1fr); }
  .strip .f:nth-child(3n) { border-right: 0; }
  .feat { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu, .top .actions .btn-ghost-sm { display: none; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 16px; right: 16px; background: var(--navy); padding: 16px; border-radius: 12px; gap: 6px; }
  .burger { display: block; margin-left: auto; }
  .top .actions { display: none; }
  .hero { padding-top: 110px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 18px; }
  .devices { height: 330px; }
  .phone { width: 150px; }
  .app { height: 240px; }
  .plans, .feat, form.lead .row { grid-template-columns: 1fr; }
  h2 { font-size: 30px; }
}

/* Cenovnik – širi raspored da cene i dugmad stanu u jedan red */
.pricing .wrap { max-width: 1380px; grid-template-columns: minmax(260px, .9fr) 3.4fr; }
.plan .pr { font-size: 34px; white-space: nowrap; }
.plan .pr small { font-size: 15px; }
.plan .btn { white-space: nowrap; padding: 11px 14px; }
.allin { white-space: nowrap; font-size: 15px; }
@media (max-width: 1080px) { .allin { white-space: normal; } }
form.lead select { background: #fff; }
.menu .m-only { display: none; }
@media (max-width: 760px) { .menu.open .m-only { display: block; color: var(--sky); } }

/* Registracija i prijava na glavnom sajtu */
.auth-page { min-height: 100vh; color: #fff; padding: 110px 0 60px;
  background: radial-gradient(900px 500px at 85% 20%, rgba(59,139,255,.3), transparent 60%), linear-gradient(160deg, #0d2a5e 0%, var(--navy) 50%, var(--navy-2) 100%); }
.auth-page .wrap { display: grid; grid-template-columns: .9fr 1.3fr; gap: 50px; align-items: start; }
.auth-page h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; }
.auth-page .sub { color: #c9d6f2; }
.auth-page .checks { list-style: none; padding: 0; margin: 22px 0; }
.auth-page .checks li { padding: 7px 0 7px 30px; position: relative; color: #dbe6ff; }
.auth-page .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--sky); font-weight: 700; }
form.lead h3 { margin: 18px 0 2px; font-size: 15px; color: var(--navy); border-top: 1px solid var(--line); padding-top: 14px; }
form.lead h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
.slug { display: flex; align-items: stretch; border: 1px solid #cfd8e8; border-radius: 9px; overflow: hidden; }
.slug input { border: 0 !important; border-radius: 0 !important; outline: 0 !important; }
.slug span { background: var(--soft); color: var(--muted); padding: 11px 12px; white-space: nowrap; border-left: 1px solid #cfd8e8; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; min-height: 18px; }
.hint.good { color: var(--ok); } .hint.bad { color: #b91c1c; }
.terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 14px; }
.terms input { width: auto !important; margin-top: 3px; }
.plan-pick { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 16px; margin-top: 18px; color: #dbe6ff; }
.narrow { max-width: 460px; }
@media (max-width: 900px) { .auth-page .wrap { grid-template-columns: 1fr; } .auth-page h1 { font-size: 30px; } }
