/* =======================================================
   RESET & NORMALIZE - Mobile first & box-sizing border-box
   ======================================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #161E29;
  color: #F6F7F9;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #161E29;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #00ffe7;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #6DFDFE;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}
:focus {
  outline: 2px solid #2981B8;
  outline-offset: 2px;
}

/* =====================
   VARIABLES & BRANDS
   ===================== */
:root {
  --primary: #213247;
  --secondary: #2981B8;
  --accent: #F6F7F9;
  --neon: #00ffe7;
  --neon-tint: #6DFDFE;
  --background: #161E29;
  --background-secondary: #222D3D;
  --card-bg: #232F44;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 4px 40px 0 rgba(0,255,231,.08), 0 2px 8px 0 rgba(0,0,0,0.14);
  --transition: .3s cubic-bezier(.7,.17,.54,1.04);
  --button-size: 52px;
  --z-menu: 1000;
  --z-cookie: 4000;
  --z-menu-toggle: 3000;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #161E29;
    color: var(--accent);
  }
}

/* ================================
   TYPOGRAPHY & HEADINGS
   ================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 0 10px var(--neon), 0 0 22px #28b8bb33;
}
h2 {
  font-size: 2rem;
  color: var(--neon);
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 0 6px var(--neon-tint);
}
h3 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--accent);
}
.text-section p,
.text-section li {
  color: var(--accent);
}
.text-section ul {
  padding-left: 0;
}
.text-section li {
  margin-bottom: 12px;
}

/* =========================
   CONTAINER & WRAPPER
   ========================= */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 992px) {
  .content-wrapper {
    gap: 28px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (min-width: 992px) {
  .section {
    padding: 60px 40px;
    margin-bottom: 80px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1.5px solid #232f441a;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 50px 0 var(--neon-tint), 0 2px 8px 0 rgba(0,0,0,0.13);
  transform: translateY(-3px) scale(1.027);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.testimonial-card {
  background: var(--accent);
  color: #232F44;
  border-radius: var(--radius);
  box-shadow: 0 0 24px 0 #28b8bb11;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  font-size: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 0 44px 0 var(--secondary),0 0 12px 0 #23324722;
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card p{
  color: #232F44;
}
.testimonial-card strong {
  color: var(--secondary);
}
.testimonial-card img[alt="Ocena"] {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-right: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 2px 36px 0 #2981B844;
  z-index: var(--z-menu);
  position: relative;
}
header .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .03em;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  font-size: 1rem;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: #fff;
}
header nav a.cta-primary {
  background: linear-gradient(90deg, var(--neon), var(--secondary));
  color: #232F44;
  box-shadow: 0 0 20px 0 var(--neon-tint), 0 1px 4px 0 #00000044;
  font-weight: 700;
  border-radius: 12px;
  font-size: 1.04rem;
  padding: 10px 20px;
  margin-left: 12px;
  letter-spacing: .04em;
  transition: box-shadow var(--transition), color var(--transition);
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  box-shadow: 0 0 36px 0 var(--neon), 0 2px 8px 0 #00000033;
  color: var(--primary);
  background: var(--neon);
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--neon);
  background: transparent;
  border: none;
  cursor: pointer;
  height: 52px;
  width: 52px;
  border-radius: 10px;
  z-index: var(--z-menu-toggle);
  margin-left: 6px;
  transition: background .19s, color .19s;
}
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU --------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #181F2Cfa;
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.58,0,.26,1);
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.opened {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--neon);
  align-self: flex-end;
  margin: 18px 18px 6px 0;
  cursor: pointer;
  transition: color .19s;
  z-index: var(--z-menu-toggle);
}
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  margin-top: 32px;
  margin-left: 20px;
}
.mobile-menu .mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--neon);
  padding: 12px 0 12px 8px;
  border-left: 3px solid transparent;
  transition: color .2s, border-color .19s, background .17s;
  width: 100%;
  border-radius: 5px 0 0 5px;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  color: var(--secondary);
  border-left: 3px solid var(--secondary);
  background: #222e3c88;
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}
@media (max-width: 991px) {
  header nav {
    display: none;
  }
}

/* HERO SECTION -------- */
.hero {
  padding: 48px 0 32px 0;
  background: linear-gradient(99deg, #213247 37%, #2981B8 90%);
  box-shadow: 0 2px 40px 0 #00ffe74d;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-height: 320px;
}
.hero h1 {
  color: var(--neon);
  text-shadow: 0 0 16px var(--neon-tint), 0 2px 8px #23324777;
}
.hero p {
  font-size: 1.18rem;
  color: var(--white);
  max-width: 580px;
}
.hero .cta-primary {
  margin-top: 14px;
}

/* FEATURES ------------- */
.features ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 0 0 10px;
  font-size: 1.07rem;
  color: var(--accent);
  border-left: 3px solid var(--neon);
  border-radius: 6px;
  background: #23324744;
  min-height: 48px;
  transition: background .19s;
}
.features ul li img {
  width: 28px;
  height: 28px;
  display: inline-block;
  filter: drop-shadow(0 0 6px var(--neon-tint));
}
.features ul li:hover {
  background: #25e0ea1a;
}

/* SERVICES OVERVIEW ---- */
.services-overview ul {
  padding-left: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services-overview ul li {
  background: #232F44ee;
  color: var(--neon);
  padding: 10px 20px;
  border-radius: 8px;
  border-left: 3px solid var(--secondary);
  font-size: 1.08rem;
  transition: background .18s, color .18s;
}
.services-overview ul li:hover {
  background: #2981b8cc;
  color: #fff;
}
.services-overview .cta-secondary {
  margin-top: 10px;
}

/* CARD CLASSES --------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* =========================
   BUTTONS & CTAs  (Shared)
   ========================= */
.cta-primary {
  display: inline-block;
  background: linear-gradient(95deg, var(--neon), var(--secondary));
  color: #232F44;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 12px;
  padding: 12px 34px;
  margin-top: 12px;
  box-shadow: 0 2px 24px 0 var(--neon-tint);
  border: none;
  transition: background var(--transition), color .19s, box-shadow var(--transition), transform .2s;
  letter-spacing: .04em;
  cursor: pointer;
  line-height: 1.1;
  text-shadow: 0 1px 2px #c0fa;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--neon);
  color: #134853;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 32px 0 var(--neon),0 2px 8px 0 #23324755;
}
.cta-secondary {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  padding: 10px 28px;
  margin-top: 8px;
  box-shadow: 0 2px 16px 0 #2981b880;
  border: none;
  transition: background var(--transition), color .17s, box-shadow var(--transition), transform .18s;
  letter-spacing: .03em;
  cursor: pointer;
  line-height: 1.1;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #00ffe7;
  color: var(--primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 1px 18px 0 #00ffe7;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform .18s;
}

/* =========================
   CONTACT & TEXT SECTIONS
   ========================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section ul {
  gap: 12px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-size: 1.01rem;
}
.text-section li img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 4px var(--neon-tint));
}

/* ==================
   FOOTER
   ================== */
footer {
  width: 100%;
  background: #1b2230;
  color: #eee;
  margin-top: 44px;
  padding-top: 36px;
  padding-bottom: 34px;
  box-shadow: 0 -2px 36px 0 #2981B822;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
footer nav a {
  color: var(--neon);
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 9px;
  border-radius: 8px;
  transition: color .18s, background .17s;
}
footer nav a:hover {
  background: var(--secondary);
  color: #fff;
}
.text-section {
  text-align: center;
  color: #ddd;
  font-size: 0.95rem;
}
footer img {
  height: 32px;
  width: auto;
}

/* =============================
   RESPONSIVE (Mobile-First)
   ============================= */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .testimonial-card {
    padding: 15px 9px;
    font-size: 0.98rem;
  }
  .section {
    padding: 28px 6px;
  }
  .card {
    padding: 14px 10px;
  }
  .content-wrapper {
    gap: 10px;
  }
  footer .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .faq-item {
    padding: 14px 10px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.2rem;
  }
  .cta-primary, .cta-secondary {
    width: 100%;
    font-size: .98rem;
    padding: 10px 0;
  }
}

/* =====================
   FORM ELEMENTS, INPUTS
   ===================== */
input[type="search"] {
  width: 100%;
  max-width: 340px;
  padding: 12px 12px 12px 38px;
  font-size: 1rem;
  background: #202E40;
  color: var(--neon);
  border: 1.5px solid var(--secondary);
  border-radius: 10px;
  outline: none;
  transition: border var(--transition), background .22s;
  box-shadow: 0 2px 16px 0 #23324733;
  margin-top: 12px;
}
input[type="search"]:focus {
  border-color: var(--neon);
  background: #262f45;
}
/* =====================
   OL/UL/ARTICLE STYLES
   ===================== */
ul, ol {
  margin-bottom: 24px;
}
ol {
  padding-left: 22px;
  color: var(--accent);
}
ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
article h2 {
  margin-bottom: 5px;
}

/* =====================
   CASES & FAQ
   ===================== */
.faq-list {
  margin-top: 12px;
}
.faq-item h3 {
  margin-bottom: 8px;
  color: var(--neon);
  font-size: 1.12rem;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--background-secondary);
  color: #fff;
  z-index: var(--z-cookie);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 20px 16px;
  box-shadow: 0 -6px 28px 0 #21324755;
  gap: 10px;
  animation: cookie-slide-in .44s cubic-bezier(.65,0,.4,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(130px); opacity:0 }
  to   { transform: translateY(0); opacity:1 }
}
.cookie-banner-text {
  font-size: 1.03rem;
  margin-bottom: 12px;
  text-align: center;
  color: var(--accent);
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 2px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);} 
.cookie-btn.cookie-accept {
   background: linear-gradient(90deg, var(--neon), var(--secondary));
   color: #232F44;
   box-shadow: 0 2px 12px 0 var(--neon-tint);
}
.cookie-btn.cookie-accept:hover { 
  color: var(--primary);
  background: var(--neon);
}
.cookie-btn.cookie-reject {
  background: #232f44;
  color: var(--neon);
  border: 1.5px solid var(--neon);
}
.cookie-btn.cookie-reject:hover {
  background: #222e3c;
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.cookie-settings:hover {
  background: var(--neon-tint);
  color: #232F44;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #161E2999;
  z-index: var(--z-cookie) + 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .22s cubic-bezier(.8,0,.25,1);
}
@keyframes modal-fade-in {
  from { opacity:0 }
  to { opacity:1 }
}
.cookie-modal {
  background: var(--background-secondary);
  color: #fff;
  box-shadow: 0 2px 28px 0 #212f3688;
  padding: 36px 24px 28px 24px;
  border-radius: 16px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookie-slide-anim .34s cubic-bezier(.81,.03,.35,.93);
}
@keyframes cookie-slide-anim {
  from { transform: translateY(80px); opacity:0 }
  to   { transform: translateY(0); opacity:1 }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--neon);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 7px;
}
.cookie-category .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #213247ee;
  border-radius: 13px;
  border: 1px solid var(--secondary);
  position: relative;
  outline: none;
  margin-right: 8px;
  cursor: pointer;
  transition: background .17s;
}
.cookie-category .cookie-toggle:checked {
  background: var(--neon);
  border-color: var(--neon-tint);
}
.cookie-category .cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px 0 #29B8B8aa;
  transition: left .17s;
}
.cookie-category .cookie-toggle:checked::after {
  left: 18px;
  background: var(--secondary);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 16px;
  font-size: 1.7rem;
  background: transparent;
  color: var(--neon);
  border: none;
  cursor: pointer;
  opacity: .77;
  transition: opacity .19s;
}
.cookie-modal-close:hover {
  opacity: 1;
}

/* =============================
   ANIMATION, SHADOW, NEON LINE
   ============================= */
.neon-line {
  height: 2.5px;
  width: 96px;
  background: linear-gradient(90deg,var(--neon),var(--secondary));
  margin: 18px 0 12px 0;
  border-radius: 6px;
  box-shadow: 0 0 14px 0 var(--neon-tint);
}

/* ==================
   UTILITY CLASSES
   ================== */
.section-title {
  font-size: 2rem;
  color: var(--neon);
  margin-bottom: 16px;
  text-shadow: 0 0 4px var(--neon);
}
.mt-4 { margin-top: 24px; }
.mt-2 { margin-top: 12px; }
.mb-3 { margin-bottom: 20px; }
.mb-2 { margin-bottom: 10px; }
/* Spacing helpers */
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ==================
   PRINT/LINKS (for pdf etc)
   ================== */
@media print {
  body, * { background: #fff; color: #232F44 !important; box-shadow: none !important; }
  nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
