/* zLogg site stylesheet — palette and type taken from the original Wix site */
:root {
  --bg: #00060F;          /* page background (Wix: rgb(0,6,15)) */
  --panel: #242834;       /* footer / dark panels (Wix: rgb(36,40,52)) */
  --accent: #3A6AFD;      /* buttons & active links (Wix: rgb(58,106,253)) */
  --text: #ffffff;
  --muted: #c9cedb;
  --line: rgba(255, 255, 255, 0.16);
  --heading-font: "Montserrat", sans-serif;
  --body-font: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --container: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #4a4d52 url("/assets/img/header-banner.jpg") center/cover no-repeat;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.header-inner {
  position: relative;
  padding-top: 6px;
  padding-bottom: 10px;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-row + .header-row { margin-top: 2px; }
.brand { display: block; line-height: 0; }
.brand img { width: 190px; height: auto; }
.tagline {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 6px 10px;
  background: rgba(3, 6, 12, 0.92);
  border-radius: 10px;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 6px 12px;
  color: #fff;
  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }
.main-nav a.active { color: var(--accent); }
.lang-box select {
  background: rgba(3, 6, 12, 0.92);
  color: #fff;
  border: 1px solid #888;
  padding: 3px 10px;
  font-size: 13px;
  font-family: var(--body-font);
  border-radius: 3px;
  cursor: pointer;
}
.nav-toggle {
  display: none;
  background: rgba(3, 6, 12, 0.92);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(0, 0, 0, 0.65) 1px, transparent 1.6px),
    linear-gradient(rgba(0, 6, 15, 0.45), rgba(0, 6, 15, 0.55));
  background-size: 4px 4px, cover;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 48px;
  max-width: 760px;
  margin-left: max(calc((100% - 980px) / 2), 0px);
}
.hero-content p { margin: 10px 0; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); }
.strong { font-weight: 700; }
.normal { font-weight: 400; }
.drives { margin: 8px 0 18px; padding-left: 24px; }
.drives li { margin: 4px 0; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); }
.accent-note { font-style: italic; }
.talk { color: #fff; text-decoration: underline; }
.talk:hover { color: var(--accent); }

/* white label boxes (Wix style titles) */
.label-box {
  display: inline-block;
  background: #fff;
  color: #10131c;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  margin: 0 0 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------- home products */
.products-intro { padding: 56px 0 72px; }
.products-intro p { margin: 14px 0 8px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.card-img {
  background: #fff;
  border-radius: 6px;
  padding: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  transition: transform 0.15s ease;
}
.card-img:hover { transform: translateY(-3px); }
.card-img img { max-height: 220px; width: auto; object-fit: contain; }
.card-label {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover { text-decoration: none; filter: brightness(1.15); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-dark { background: #10131c; color: #fff; border: 1px solid #10131c; }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }

/* ------------------------------------------------------------ page head */
.page-head { padding: 56px 0 8px; }
.page-head h1 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.subtitle { color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.free-line { color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------- product grid */
.product-grid { padding: 32px 0 72px; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.product {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-img {
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 14px;
}
.product-img img { max-height: 260px; width: auto; object-fit: contain; }
.product-body h2 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}
.product-body p { margin: 6px 0; }
.product-body .range { font-weight: 700; color: var(--accent); }
.product-body .extra { color: var(--muted); }
.product-body .pitch { color: var(--muted); font-style: italic; }

/* -------------------------------------------------------------- software */
.software { padding: 24px 0 72px; }
.callout {
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 22px;
  border-radius: 0 8px 8px 0;
  margin: 22px 0;
}
.callout p { margin: 6px 0; }
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 34px;
}
.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 36px;
}
.screens img { border-radius: 6px; background: #fff; }
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.features li {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------- contact */
.contact-head h1 { font-size: 34px; font-weight: 500; }
.contact { padding: 24px 0 80px; }
.contact-card {
  background: #fff;
  color: #1c1f27;
  border-radius: 8px;
  padding: 40px 44px;
  max-width: 860px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 26px;
}
.contact-card label {
  display: block;
  font-size: 14px;
  color: #4c4f58;
}
.contact-card input,
.contact-card textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: none;
  border-bottom: 1px solid #8a8d96;
  padding: 6px 2px;
  font-size: 15px;
  font-family: var(--body-font);
  background: transparent;
  color: #1c1f27;
  border-radius: 0;
}
.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.msg-label { margin-bottom: 26px; }
.contact-card textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.form-status { margin: 14px 0 0; font-size: 14px; min-height: 1.2em; }
.form-status.ok { color: #157347; }
.form-status.err { color: #b02a37; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--panel);
  margin-top: 0;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-col h3 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
}
.footer-col address { font-style: normal; margin-bottom: 12px; }
.footer-col address span { display: block; font-size: 14px; color: var(--muted); }
.footer-col address .gap { height: 12px; }
.footer-col .email { display: inline-block; margin-bottom: 16px; color: #fff; text-decoration: underline; }
.footer-col .email:hover { color: var(--accent); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 6px 0; }
.footer-menu a { color: var(--muted); font-size: 14px; }
.footer-menu a:hover { color: #fff; }
.linkedin img { border-radius: 4px; }
.footer-legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  font-size: 13px;
}
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: #fff; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    background: rgba(3, 6, 12, 0.97);
    border-radius: 10px;
    padding: 8px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; background: none; padding: 0; }
  .nav-toggle { display: block; }
  .cards, .grid-2, .screens { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .page-head h1 { font-size: 30px; }
}
