/* Floating particles are retired in favour of the global circuit surface.
   The dark hero keeps its own neural canvas (.hero-network), so hiding this
   only removes the dots that used to sit on white pages. */
.particle-canvas {
  display: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  padding-top: 108px;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 18px 0 0;
  transition: padding 220ms var(--ease);
  animation: headerIn 500ms var(--ease) both;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 70px;
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(180, 205, 255, 0.45);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 20px 60px rgba(15, 40, 90, 0.1),
    0 0 0 1px rgba(220, 235, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: min-height 220ms var(--ease), padding 220ms var(--ease), border-radius 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}

.site-header.is-scrolled {
  padding-top: 10px;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 54px rgba(17, 37, 77, 0.12),
    0 0 24px rgba(96, 150, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  min-height: 62px;
  padding-top: 7px;
  padding-bottom: 7px;
  border-radius: 24px;
  transform: scale(0.995);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 4px 8px 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 850;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.brand-name {
  color: var(--navy);
  letter-spacing: -0.04em;
  font-weight: 900;
}

.brand-accent {
  color: var(--blue);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lang-btn {
  min-width: 34px;
  padding: 8px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--blue);
}

.lang-btn.is-active {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.08);
}

.mobile-language-switcher {
  margin-top: 8px;
  justify-self: start;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 2.1vw, 30px);
  color: #324157;
  font-size: 14px;
  font-weight: 750;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: 180ms var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-panel {
  display: none;
}

.section {
  padding: clamp(76px, 8.5vw, 116px) 0;
}

.section.compact {
  padding: clamp(48px, 7vw, 82px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  margin-bottom: 0;
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 58px 0 34px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.08), transparent 22rem),
    rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.6fr));
  gap: 36px;
}

.footer-grid h4,
.footer-grid h5 {
  margin: 0 0 14px;
  color: var(--navy);
}

.footer-grid ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 650;
}

.copyright {
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid a {
  transition: color 180ms var(--ease);
}

.footer-grid a:hover {
  color: var(--blue);
}
