:root{
  --navy:#0B1220;
  --blue:#1E88FF;
  --bg:#F5F7FB;
  --text:#111827;
  --border:#E5E7EB;
  --white:#FFFFFF;

  --radius:16px;
  --shadow:0 10px 30px rgba(17,24,39,.10);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

.container{width:min(1100px, 92%); margin:0 auto;}
.section{padding:72px 0;}
.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:12px 18px; border-radius:14px;
  border:1px solid transparent; text-decoration:none; font-weight:600;
}
.btn-primary{background:var(--blue); color:var(--white);}
.btn-primary:hover{filter:brightness(.95);}
.btn-outline{background:transparent; border-color:rgba(229,231,235,.6); color:var(--text);}
.btn-outline:hover{background:rgba(255,255,255,.6);}

.badge{
  display:inline-block; padding:6px 10px; border-radius:999px;
  background:rgba(30,136,255,.12); color:var(--blue); font-weight:600;
  border:1px solid rgba(30,136,255,.22);
}

/* Header / Hero quick start */
.header{
  background:var(--navy);
  color:var(--white);
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:16px 0;} /* bilo 14px */

.brand{display:flex; align-items:center; gap:12px; text-decoration:none;}
.brand-mark{width:50px; height:50px; object-fit:contain;} /* VEĆE, ali u liniji */
.brand-name{font-weight:700; color:rgba(255,255,255,.95);}

.nav a{color:rgba(255,255,255,.9); text-decoration:none; font-weight:600;}
.nav-links{display:flex; gap:18px; align-items:center;}


.hero{
  background:linear-gradient(135deg, #1E88FF 0%, #0B1220 70%);
  color:var(--white);
  padding:84px 0;
}
.hero h1{font-size:44px; line-height:1.1; margin:0 0 14px;}
.hero p{font-size:18px; color:rgba(255,255,255,.88); margin:0 0 22px;}
@charset "utf-8";
/* CSS Document */
/* ===== Brand in header ===== */
.brand{display:flex; align-items:center; gap:10px;}
.brand-name{font-weight:700; color:rgba(255,255,255,.95);}
.brand-mark{width:28px; height:28px; object-fit:contain;} /* malo veća od teksta */

/* Language switch */
.lang{display:flex; gap:10px; align-items:center;}
.lang a{opacity:.85}
.lang a.active{opacity:1; text-decoration:underline;}

/* ===== Footer unified ===== */
.footer{background:var(--navy); color:rgba(255,255,255,.9); padding:32px 0; margin-top:40px;}
.footer-row{display:flex; justify-content:space-between; gap:24px; align-items:flex-start;}
.footer-title{font-weight:800; margin-bottom:6px;}
.footer-sub{opacity:.85; font-size:14px; margin-bottom:12px;}

.footer-social{display:flex; gap:10px;}
.social-btn{
  width:40px; height:40px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff; text-decoration:none;
}
.social-btn:hover{background: rgba(255,255,255,.10);}
.social-ico{width:18px; height:18px;}

.footer-right a{display:block; color:rgba(255,255,255,.9); text-decoration:none; margin:6px 0;}
.footer-right a:hover{color:#fff;}

.footer-links{margin-bottom:10px;}
.footer-bottom{
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:14px;
  opacity:.9;
}

@media (max-width:900px){
  .footer-row{flex-direction:column;}
}
.footer-bottom{
  width:100%;
  text-align:center;
}
.footer-bottom.center{
  text-align:center;
}
.msg-btn img{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
}
.fixed-messengers{
  position: fixed !important;
  right: 18px !important;
  left: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;

  display: flex;
  flex-direction: column;
  gap: 10px;

  z-index: 9999;
}

.msg-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(30,136,255,.12);
  border: 1px solid rgba(30,136,255,.30);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);

  text-decoration: none;
}

.msg-btn img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.header .brand-mark{
  width:40px !important;
  height:40px !important;
  object-fit:contain !important;
}

.lang-btn{
  width:40px;
  height:20px;
  overflow:hidden;
}

.flag{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.lang{margin-left:10px;}
.lang-btn.active{
  border:1px solid rgba(30,136,255,.65);
  box-shadow: 0 0 0 2px rgba(30,136,255,.18) inset;
}
.nav-links a:hover{color:#fff; opacity:1;}
.footer-contact a{opacity:.92;}
.footer-contact a:hover{opacity:1;}
.footer-bottom{opacity:.85;}
/* ===== HEADER LOCK (da bude isti na svim stranicama) ===== */
.header{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
}

.header .brand-name{
  font-size: 16px !important;
  line-height: 1 !important;
}

.header .nav-links a{
  font-size: 15px !important;
  line-height: 1 !important;
}

.header .brand-mark{
  width: 30px !important;   /* po potrebi 28/30/32 */
  height: 30px !important;
  object-fit: contain !important;
}

.header .lang-btn{
  width: 36px !important;
  height: 24px !important;
}
.card-ico{
  width:54px;
  height:54px;
  margin-bottom:10px;
  display:block;
}

@media (max-width:900px){
  .card-ico{
    width:50px;
    height:50px;
  }
}
.card-ico{
  width:54px;
  height:54px;
  margin-bottom:10px;
  display:block;
  padding:10px;
  border-radius:14px;
  background:rgba(30,136,255,.10);
  border:1px solid rgba(30,136,255,.18);
}
.card{
  display:flex;
  flex-direction:column;
}

.card .btn{
  margin-top:auto;
  width:fit-content;
}
/* Smooth hover for all buttons */
.btn{
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  will-change: transform;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17,24,39,.12);
}

/* Primary button: slightly darker on hover */
.btn-primary:hover{
  filter: brightness(.92);
}

/* Outline button: subtle darken + border emphasis */
.btn-outline:hover{
  background: rgba(11,18,32,.06); /* navy tint */
  border-color: rgba(11,18,32,.18);
}

/* Click (active) feedback */
.btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(17,24,39,.10);
}

/* Keyboard focus (accessibility) */
.btn:focus-visible{
  outline: 3px solid rgba(30,136,255,.35);
  outline-offset: 3px;
}
.hero .btn-outline{
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.35);
  background: transparent;
}

.hero .btn-outline:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.55);
}
/* Quick contact list with icons */
.quick-list{list-style:none; padding:0; margin:0}
.quick-list li{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px 0;
  border-bottom:1px solid var(--border);
}
.quick-list li:last-child{border-bottom:none}

.q-ico{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius:12px;
  background:rgba(30,136,255,.10);
  border:1px solid rgba(30,136,255,.18);
  flex:0 0 40px;
  font-size:18px;
}
.q-label{font-weight:700; margin-bottom:2px}
.q-value{color:rgba(0,0,0,.78)}
.q-link{
  color:#000;               /* <-- crna boja */
  text-decoration:none;
  font-weight:600;
}
.q-link:hover{
  text-decoration:underline;
  opacity:.9;
}





/* 2026 sales polish */
.hero, .hero-mini { position: relative; overflow: hidden; }
.hero::after, .hero-mini::after{content:"";position:absolute;inset:auto -120px -140px auto;width:320px;height:320px;border-radius:999px;background:radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 68%);pointer-events:none;}
.card:hover, .value-box:hover, .demo-preview:hover{transform: translateY(-2px);transition: transform .18s ease, box-shadow .18s ease;box-shadow: 0 16px 36px rgba(17,24,39,.12);}
.hero .badge, .hero-mini .badge{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.24)}


/* ===== MOBILE NAV + FIXED MESSENGERS FIX ===== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body.mobile-menu-open {
  overflow: hidden;
}

.header, .hero, .section, .container, .card, .nav {
  max-width: 100%;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-nav-panel {
  display: none;
}

@media (max-width: 900px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .nav {
    position: relative;
    min-height: 72px;
    gap: 12px;
    padding: 14px 0;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
    margin-right: 8px;
  }

  .brand-mark,
  .header .brand-mark {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px;
  }

  .brand-name,
  .header .brand-name {
    min-width: 0;
    display: block;
    font-size: 14px !important;
    line-height: 1.05 !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-toggle .bar {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
  }

  .mobile-nav-toggle .bar + .bar {
    margin-top: 4px;
  }

  .mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 60;
    background: #0B1220;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(0,0,0,.22);
    padding: 12px;
  }

  .mobile-nav-panel.is-open {
    display: block;
  }

  .mobile-nav-panel a {
    display: block;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: 12px;
  }

  .mobile-nav-panel a:hover,
  .mobile-nav-panel a:focus {
    background: rgba(255,255,255,.08);
    color: #fff;
  }

  .mobile-nav-panel .mobile-nav-links {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
  }

  .mobile-nav-panel .mobile-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .mobile-nav-panel .mobile-lang .lang-btn {
    display: inline-flex;
    width: 44px !important;
    height: 28px !important;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.03);
  }

  .mobile-nav-panel .mobile-lang .lang-btn.active {
    border-color: rgba(30,136,255,.65);
    box-shadow: 0 0 0 2px rgba(30,136,255,.18) inset;
  }

  .mobile-nav-panel .mobile-lang .flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .fixed-messengers {
    top: auto !important;
    bottom: 16px !important;
    right: 16px !important;
    left: auto !important;
    transform: none !important;
    z-index: 70 !important;
  }

  .msg-btn {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .msg-btn img {
    width: 24px;
    height: 24px;
  }
}
