:root {
  --bg: #050912;
  --bg-alt: #0b0f17;
  --bg-panel: rgba(255, 255, 255, 0.03);
  --text: #eaf2ff;
  --muted: #9fb9de;
  --accent: #4db1ff;
  --accent-strong: #91f2ff;
  --gold: #ec9a17;
  --card-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 80px rgba(5, 9, 20, 0.55);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-family: inherit;
}

body.page-light { background: #f4f6fb; color: #0b1f3a; }

img { max-width: 100%; display: block; }

a { color: inherit; }

.topbar {
  background: #06101d;
  color: #bbd7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  padding: 0.5rem 5%;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 5%;
  background: rgba(12, 16, 25, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(1.2) blur(14px);
}

.brand-logo { height: 80px; width: auto; }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active { opacity: 1; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.section {
  padding: 72px 0;
  background: var(--bg);
}

section[id] { scroll-margin-top: 110px; }

.section.alt { background: var(--bg-alt); color: var(--text); }

.section.light { background: linear-gradient(180deg, #f7f9ff, #eef3ff); color: #0b1f3a; }

.section.dark { background: radial-gradient(1200px 600px at 20% -10%, rgba(0, 180, 255, 0.18), transparent 60%), var(--bg); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 600; margin: 0 0 0.65em; line-height: 1.2; }

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero.image { background-size: cover; background-position: center; }

.hero.video { background-size: cover; background-position: center; }

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 16, 0.65), rgba(5, 9, 16, 0.35) 40%, rgba(5, 9, 16, 0.92));
  pointer-events: none;
}

.hero.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero .content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 24px 32px;
  border-radius: 24px;
  background: rgba(5, 9, 16, 0.1);
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.28);
  animation: fadeUp 0.9s ease-out both;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3rem); }

.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77, 177, 255, 0.4);
  color: var(--accent-strong);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section.light .eyebrow {
  border-color: rgba(12, 18, 32, 0.18);
  color: #0b1f3a;
}

.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.5rem; }

.grid2, .grid3 {
  display: grid;
  gap: 24px;
}

.grid2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.grid3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(145, 242, 255, 0.8);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.section.light .card {
  background: #ffffff;
  color: #0b1f3a;
  border: 1px solid rgba(12, 18, 32, 0.08);
  box-shadow: 0 20px 60px rgba(10, 15, 40, 0.08);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.9rem;
}

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }

.stat-card { padding: 18px; border-radius: 14px; background: linear-gradient(145deg, rgba(77, 177, 255, 0.12), rgba(5, 9, 16, 0.65)); border: 1px solid var(--card-border); text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }

.section.light .stat-card { background: #f0f4ff; border-color: rgba(12, 18, 32, 0.12); }

.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); }

.section.light .table-wrap { border-color: rgba(12, 18, 32, 0.08); }

table { width: 100%; border-collapse: collapse; min-width: 480px; }

th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.section.light th, .section.light td { border-color: rgba(12, 18, 32, 0.08); }

th { font-weight: 600; }

.compare .highlight { background: rgba(0, 160, 255, 0.12); font-weight: 600; }

.section.light .compare .highlight { background: rgba(13, 104, 255, 0.08); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  border: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #050912;
  font-weight: 600;
}

.btn.ghost { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); color: var(--text); }

.btn.light { border-color: rgba(12, 18, 32, 0.2); color: #0b1f3a; }

.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }

.section.light .btn:hover { box-shadow: 0 12px 30px rgba(5, 15, 35, 0.12); }

blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 24px;
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.section.light .contact-form { background: #fff; border-color: rgba(12, 18, 32, 0.08); box-shadow: 0 20px 70px rgba(10, 15, 45, 0.12); }

.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 9, 16, 0.45);
  color: var(--text);
  font-size: 1rem;
}

.section.light .contact-form input,
.section.light .contact-form textarea {
  background: #f7f8fd;
  border-color: rgba(12, 18, 32, 0.12);
  color: #0b1f3a;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

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

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 15, 0.75);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-dialog {
  width: min(420px, 92%);
  background: #0f1424;
  color: var(--text);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.section.light .modal-dialog { background: #fff; color: #0b1f3a; }

.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.success-page {
  text-align: center;
  max-width: 680px;
  margin: 5rem auto;
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

body.page-light .success-page { background: #fff; border-color: rgba(12, 18, 32, 0.08); color: #0b1f3a; }

.badge-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }

.badge-list li { border: 1px solid rgba(255, 255, 255, 0.2); padding: 6px 16px; border-radius: 999px; font-size: 0.9rem; }

.section.light .badge-list li { border-color: rgba(12, 18, 32, 0.18); }

.timeline { border-left: 2px solid rgba(255, 255, 255, 0.2); margin: 0; padding-left: 24px; list-style: none; }

.timeline li { margin-bottom: 24px; position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; justify-items: center; }

.logo-wall .logo-tile {
  width: 100%;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.section.light .logo-wall .logo-tile {
  border-color: rgba(12, 18, 32, 0.08);
  background: #fff;
  color: #42506b;
}

.footer {
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050a13;
}

.footer a { color: inherit; text-decoration: underline; opacity: 0.85; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .nav-menu { position: absolute; top: 72px; right: 5%; flex-direction: column; padding: 18px; border-radius: 14px; background: rgba(5, 9, 16, 0.95); border: 1px solid rgba(255, 255, 255, 0.08); display: none; min-width: 220px; }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .navbar { flex-wrap: wrap; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


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

.cookie-banner__inner {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 9, 16, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

/* AI / enterprise accent border */
.cookie-banner__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(77, 177, 255, 0.55), rgba(145, 242, 255, 0.18), rgba(236, 154, 23, 0.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.cookie-banner__inner::after {
  content: "";
  position: absolute;
  left: -30%;
  top: -60%;
  width: 160%;
  height: 220%;
  background: radial-gradient(circle at 30% 40%, rgba(77, 177, 255, 0.14), transparent 55%),
              radial-gradient(circle at 70% 60%, rgba(145, 242, 255, 0.10), transparent 50%);
  pointer-events: none;
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 820px;
}

.cookie-banner__text a { color: #fff; text-decoration: underline; opacity: 0.9; }

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner__close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cookie-form { display: grid; gap: 14px; margin-top: 14px; }
.cookie-toggle {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

/* Toggle-style checkboxes */
.cookie-toggle input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 46px;
  height: 26px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.cookie-toggle input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: left 0.18s ease, background 0.18s ease;
}

.cookie-toggle input[type="checkbox"]:checked {
  background: linear-gradient(90deg, rgba(77, 177, 255, 0.65), rgba(145, 242, 255, 0.35));
  border-color: rgba(77, 177, 255, 0.45);
}

.cookie-toggle input[type="checkbox"]:checked::after {
  left: 22px;
  background: #ffffff;
}

.cookie-toggle input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(77, 177, 255, 0.22);
}

.cookie-toggle input[type="checkbox"][disabled] {
  cursor: not-allowed;
  opacity: 0.75;
}

/* Cookie modal: slightly more "enterprise" */
#cookie-modal .modal-dialog {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(8, 12, 20, 0.92);
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.60);
  overflow: hidden;
}

#cookie-modal .modal-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(77, 177, 255, 0.60), rgba(145, 242, 255, 0.16), rgba(236, 154, 23, 0.12));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
}

#cookie-modal .modal-dialog h3 {
  margin-top: 0;
  letter-spacing: 0.01em;
}

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

@media (max-width: 900px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: flex-start; }
}

