:root {
  --header-h: 66px;

  --bg: #253141;
  --menu-bg: #253141;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --border: rgba(255,255,255,0.14);
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --accent: #9aa6b2; /* derived from logo (cool gray) */
  --accent-2: #d9e2ea;
  --ring: rgba(217,226,234,0.35);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;

  --h1: clamp(2.1rem, 4.5vw, 3.2rem);
  --h2: clamp(1.6rem, 3.2vw, 2.2rem);
  --h3: 1.25rem;
  --p: 1rem;
}

html[data-theme='light'] {
  --bg: #f6f8fb;
  --surface: rgba(10,20,30,0.05);
  --surface-2: rgba(10,20,30,0.08);
  --text: #253141;
  --muted: rgba(10,20,30,0.70);
  --border: rgba(10,20,30,0.14);
  --shadow: 0 20px 60px rgba(10,20,30,0.14);
  --accent: #2f3a44; /* close to logo text */
  --accent-2: #253141;
  --ring: rgba(47,58,68,0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 9999;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .brand-text strong { letter-spacing: 0.04em; }
.brand .brand-text span { color: var(--muted); font-size: 0.85rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 6px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav a[aria-current='page'] {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}
.nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn:hover { background: var(--surface-2); }
.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
.btn.primary {
  background: var(--text);
  color: color-mix(in srgb, var(--bg) 88%, black);
  border-color: transparent;
}
.btn.primary:hover { filter: brightness(1.05); }

.icon-btn .icon-moon {
  display: block;
  transform: translateX(-2.5px) translateY(3px);
}

.icon-btn .icon-sun {
  display: block;
  width: 30px;
  height: 30px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn .icon-sun,
.icon-btn .icon-moon {
  display: none;
}

html[data-theme='light'] .icon-btn .icon-moon { display: block; }
html:not([data-theme='light']) .icon-btn .icon-sun { display: block; }

.burger {
  display: none;
}

.mobile-panel {
  display: none;
  inset: 0;
  padding: 30px 0 22px;
  /*background: var(--menu-bg);*/
  border-top: 1px solid var(--border);
  /*border: 0;*/
  z-index: 1500;
  overflow: auto;
  overscroll-behavior: contain;
  height: 100vh;
}
.mobile-panel .mobile-panel-inner {
  height: calc(100vh - 84px - 50px);
  display: flex;
  flex-direction: column;
}
.mobile-links {
  display: grid;
  gap: 10px;
}
.mobile-panel a {
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}
.mobile-panel a small {
  display: block;
  color: var(--muted);
  font-weight: 650;
  margin-top: 2px;
}
.mobile-bottom {
  /*margin-top: auto;*/
  padding-top: 18px;
  display: grid;
  gap: 12px;
}
.mobile-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}
.mobile-lang {
  justify-content: center;
}

main {
  padding-top: calc(34px + var(--header-h));
  padding-bottom: 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--surface) 86%, transparent),
    color-mix(in srgb, var(--surface-2) 86%, transparent)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
/*.hero:before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  inset: -120px -120px auto auto;*/
/*  width: 320px;*/
/*  height: 320px;*/
/*  border-radius: 50%;*/
/*  background: radial-gradient(circle at 30% 30%, rgba(217,226,234,0.25), transparent 60%);*/
/*  filter: blur(4px);*/
/*  transform: rotate(10deg);*/
/*}*/

.hero h1 {
  margin: 0 0 10px;
  font-size: var(--h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 58ch;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  padding: 18px;
}
.hero-card .logo-lockup {
  width: 100%;
  border-radius: 14px;
  /*border: 1px solid var(--border);*/
  /*background: color-mix(in srgb, var(--bg) 75%, transparent);*/
  /*padding: 14px;*/
}

aside .badges {
  justify-content: center;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.section {
  width: min(var(--container), calc(100% - 2rem));
  margin: 42px auto;
}
.section h2 {
  margin: 0 0 10px;
  font-size: var(--h2);
  letter-spacing: -0.02em;
}
.section p.lead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 120ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}
.card h3 {
  margin: 0 0 8px;
  font-size: var(--h3);
}
.card p { margin: 0; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.step strong { display: block; margin-bottom: 8px; }
.step span { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li { margin: 8px 0; }

.cta {
  margin-top: 42px;
  padding: 22px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), color-mix(in srgb, var(--accent-2) 18%, var(--surface)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta h3 { margin: 0; }
.cta p { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }

.cta-row {
  margin-top: 10px;
  text-align: center;
}

.page-title {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.page-title h1 { margin: 0; font-size: var(--h2); }
.page-title p { margin: 0; color: var(--muted); max-width: 86ch; }

.form {
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 8px;
}
label { font-weight: 800; }
input, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  color: var(--text);
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--ring); outline-offset: 2px; }

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  padding: 26px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.footer-brand {
  display: grid;
  gap: 10px;
  margin-right: 40px;
}
/*.footer-brand img { width: 44px; height: 44px; border-radius: 14px; }*/
.footer-brand p { margin: 0; color: var(--muted); }
.footer-col h4 { margin: 0 0 10px; }
.footer-col a { display: inline-flex; padding: 6px 0; color: var(--muted); }
.footer-col a:hover { color: var(--text); }

.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social a:hover { background: var(--surface-2); }
.social svg { width: 20px; height: 20px; fill: currentColor; color: var(--text); opacity: 0.9; }

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.kbd {
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand { min-width: auto; }
  /*.hero-card { display: none;}*/

  .split {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
    gap: 0;
    background: var(--surface);
    padding: 8px 0;
  }

  .split .card {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: none;
    p { margin-bottom: 5px; }
  }
  .card {
    h4 { margin: 3px; }
  }
  .btn-contact {
    margin-bottom: 20px;
  }
}

@media (max-width: 760px) {
  .desktop-only { display: none !important; }
  /*.hero-card { display: none;}*/

  .nav { display: none; }
  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    color: var(--text) !important;
  }

  .hero-actions {
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .badges {
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
  }


  .burger__icon {
    overflow: visible;
  }

  .line {
    fill: none;                /* ← ovo je ključno */
    stroke: currentColor;
    stroke-width: 2.4;         /* malo deblje, lepše se vidi */
    stroke-linecap: round;
    transform-origin: 12px 12px;
    transition: transform 220ms ease, opacity 160ms ease;
  }

  /* default */
  .burger .line--top { transform: translateY(0) rotate(0deg); }
  .burger .line--mid { opacity: 1; }
  .burger .line--bot { transform: translateY(0) rotate(0deg); }

  /* open -> X */
  .burger[aria-expanded='true'] .line--top {
    transform: translateY(5px) rotate(45deg);
  }

  .burger[aria-expanded='true'] .line--mid {
    opacity: 0;
  }

  .burger[aria-expanded='true'] .line--bot {
    transform: translateY(-2px) rotate(-45deg);
  }
  /* optional: focus */
  .burger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 10px;
  }

  .cta { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }

  .pricing-sections .plans-overview {
    display: none;
  }

  .split {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
    gap: 0;
    background: var(--surface);
    padding: 8px 0;
  }

  .split .card {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: none;
    p { margin-bottom: 5px; }
  }
  .card {
    h4 { margin: 3px; }
  }
  .container section {
    width: 100%;
    h2, .lead {margin-left: 5px}
  }
  .btn-contact {
    margin-bottom: 20px;
  }
}

.hidden { display: none !important; }


/* Language switch */
.lang-switch {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
}

.btn.pill {
  padding: 11px 10px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  min-width: 44px;
  justify-content: center;
  cursor: pointer;
}

.btn.pill.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/*@media (max-width: 520px) {*/
/*  .lang-switch {*/
/*    display: none;*/
/*  }*/
/*}*/

/* SEO copy + FAQ */
.seo-copy p { max-width: 120ch; }
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  padding: 12px 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.faq summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* Kad je otvoreno – strelica ide gore */
.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.mobile-theme {
  gap: 10px;
}

.mobile-theme .icon-sun,
.mobile-theme .icon-moon {
  width: 30px;
  height: 30px;
  display: none;
  flex: 0 0 auto;
}

html[data-theme='light'] .mobile-theme .icon-moon {
  display: block;
}

html:not([data-theme='light']) .mobile-theme .icon-sun {
  display: block;
}

body > header > div.container.header-inner > div > a {
  padding: 6px 14px;
}

/* Pricing */
.hero--simple {
  grid-template-columns: 1.1fr 0.9fr;
}
.hero-cta .card {
  box-shadow: none;
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.pricing-table th,
.pricing-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.pricing-table th {
  font-size: 0.92rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 65%, transparent);
}
.pricing-table tbody tr:hover {
  background: color-mix(in srgb, var(--surface-2) 40%, transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.plan-card {
  display: grid;
  gap: 12px;
}
.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.plan-head h3 {
  margin: 8px 0 0;
}
.plan-fee {
  text-align: right;
  display: grid;
  gap: 2px;
}
.plan-fee .fee {
  font-size: 1.35rem;
  font-weight: 800;
}
.plan-card .muted {
  color: var(--muted);
}
.note {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.list-compact {
  margin-top: 8px;
}
.plan-featured {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

@media (max-width: 900px) {
  .hero--simple {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.toast__card {
  width: 100%;
  max-width: 520px;
  pointer-events: auto;
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}

.toast__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.toast__close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
}

.toast__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

input,
textarea,
select {
  font-size: 16px;
}
/* Legal pages */
.page-head {
  padding: 24px 0 8px;
}

.legal .prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 22px;
}

.prose ul {
  padding-left: 18px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 6px;
}

/* Footer */
.footer-meta {
  font-size: 13px;
  opacity: 0.85;
}

.link-btn {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}

.link-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 8px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
}

.cookie-banner__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;

  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 14px;

  background: var(--text);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}

.cookie-banner__text {
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.35;
  max-width: 760px;
}

.cookie-banner__text strong {
  font-size: 14px;
}

.cookie-banner__more {
  color: inherit;
  text-decoration: underline;
  opacity: 0.95;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-banner__actions .btn.primary {
  background: var(--bg);
  color: var(--text);
}

.cookie-banner__actions .btn {
  background: transparent;
  border: 1px solid var(--bg);
  color: var(--bg);
}

@media (min-width: 760px) {
  .cookie-banner {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
}

@media (max-width: 520px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

.video-lockup {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* ako ti je bio kvadrat */
  border-radius: 16px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}