:root {
  --ink: #202020;
  --navy: #17365f;
  --steel: #54657a;
  --line: #d8e4ef;
  --soft: #f4f9fc;
  --blue: #0787cf;
  --cyan: #55b8d5;
  --violet: #4b3f98;
  --orange: #4b3f98;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

.brand-mark {
  background:
    linear-gradient(135deg, rgba(0, 184, 217, .22), transparent 45%),
    linear-gradient(135deg, #07111f, #102f52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
}

.brand-logo {
  display: block;
  width: clamp(150px, 17vw, 210px);
  height: auto;
}

.industrial-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.circuit-bg {
  background:
    radial-gradient(circle at 13% 16%, rgba(7, 135, 207, .28), transparent 25%),
    radial-gradient(circle at 86% 10%, rgba(85, 184, 213, .18), transparent 24%),
    radial-gradient(circle at 70% 78%, rgba(75, 63, 152, .22), transparent 22%),
    linear-gradient(135deg, #101319 0%, #17365f 55%, #213a72 100%);
}

.surface-grid {
  background:
    linear-gradient(90deg, rgba(7, 135, 207, .06) 1px, transparent 1px),
    linear-gradient(rgba(75, 63, 152, .05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.glass {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.site-header {
  box-shadow: 0 10px 30px rgba(15, 39, 66, .06);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: #263748;
  font-weight: 700;
  transition: color .18s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--blue);
}

.mega-trigger {
  position: relative;
}

.mega-trigger::after {
  content: "";
  position: absolute;
  left: -1rem;
  right: -1rem;
  top: 100%;
  height: 1.1rem;
}

.product-panel {
  left: 0;
  top: calc(100% + .55rem);
  width: min(760px, calc(100vw - 2rem));
  opacity: 0;
  pointer-events: none;
  transform: translate(-16%, 12px);
  transition: opacity .18s ease, transform .18s ease;
}

.product-trigger:hover .product-panel,
.product-trigger:focus-within .product-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-16%, 0);
}

.product-menu-column {
  min-width: 0;
  border-radius: .8rem;
  padding: .75rem;
}

.product-menu-column:hover {
  background: #f7fbff;
}

.product-menu-title {
  display: block;
  min-height: 2.5rem;
  color: #0b1220;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.25;
}

.product-menu-column p {
  margin: .75rem 0 .35rem;
  color: #7a8da3;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-menu-column a:not(.product-menu-title) {
  display: block;
  border-radius: .55rem;
  padding: .42rem .5rem;
  color: #4b6076;
  font-size: .875rem;
  font-weight: 750;
}

.product-menu-column a:hover,
.product-menu-column a:focus {
  color: var(--blue);
  background: #eef7ff;
}

.app-trigger {
  position: relative;
}

.app-panel {
  left: 50%;
  top: calc(100% + .55rem);
  width: min(320px, calc(100vw - 2rem));
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .18s ease, transform .18s ease;
}

.app-trigger:hover .app-panel,
.app-trigger:focus-within .app-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.app-panel a {
  display: block;
  border-radius: .65rem;
  padding: .7rem .85rem;
  color: #22364d;
  font-size: .92rem;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}

.app-panel a:hover,
.app-panel a:focus {
  color: var(--blue);
  background: #eef7ff;
}

.mega-list a {
  display: block;
  border-radius: .45rem;
  padding: .35rem .45rem;
  color: #4b6076;
  font-size: .875rem;
  font-weight: 700;
}

.mega-list a:hover,
.mega-list a:focus {
  color: var(--blue);
  background: #eef7ff;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.mobile-menu.open {
  max-height: 860px;
}

.mobile-menu a {
  border-radius: .55rem;
  padding: .65rem .75rem;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  background: #eef7ff;
  color: var(--blue);
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.75rem;
  border-radius: .5rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 28px rgba(7, 135, 207, .24);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .10);
}

.btn-ghost {
  color: var(--navy);
  border: 1px solid var(--line);
  background: #fff;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.card-hover {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 124, 255, .38);
  box-shadow: 0 18px 42px rgba(15, 39, 66, .13);
}

.section-kicker {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  border: 1px solid #c9d8e6;
  background: #f7fbff;
  color: #28445f;
  font-size: .75rem;
  font-weight: 800;
  padding: .28rem .58rem;
  white-space: nowrap;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid #e6edf4;
  padding: 1rem;
  vertical-align: top;
}

.connection-line {
  stroke-dasharray: 10;
  animation: dash 4s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -120;
  }
}

.logo-track {
  animation: marquee 26s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.product-card[hidden] {
  display: none;
}

.filter-active {
  color: #fff;
  border-color: transparent;
  background: #0284c7;
}

.field {
  width: 100%;
  border: 1px solid #d8e2ec;
  border-radius: .5rem;
  background: #fff;
  padding: .82rem .95rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 124, 255, .12);
}

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .65rem;
  color: #25428d;
  background: linear-gradient(135deg, #e9f8ff, #f0edff);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
