:root {
  --ink: #0c1726;
  --navy: #071321;
  --navy-2: #0c2037;
  --blue: #0a57d0;
  --blue-2: #2c8cff;
  --cyan: #43c5ff;
  --green: #6bb33f;
  --text: #162236;
  --muted: #66758b;
  --line: #dbe5f1;
  --soft: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 42, 78, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--soft);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 26px;
  background: rgba(5, 14, 25, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}
.brand-mark { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(44, 140, 255, .35)); }
.brand-logo {
  width: 262px;
  height: 50px;
  object-fit: contain;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 16px rgba(44, 140, 255, .28));
}
.brand small { display: block; font-size: 10px; letter-spacing: .22em; color: #9bb4d3; margin-top: -3px; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: #dbe9fb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 26px 0 22px;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--white); border-color: var(--blue-2); }

.langs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
}
.langs button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #bed0e8;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 10px;
  cursor: pointer;
}
.langs button.active { color: #fff; background: var(--blue); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 630px;
  display: flex;
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 12, 22, .97) 0%, rgba(5, 19, 34, .82) 48%, rgba(4, 14, 26, .58) 100%),
    radial-gradient(circle at 72% 38%, rgba(28, 122, 240, .55), transparent 32%),
    linear-gradient(135deg, #04101d 0%, #0a3056 58%, #06111f 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .55;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 1px;
  right: 9%;
  top: 30%;
  background: linear-gradient(90deg, transparent, rgba(67, 197, 255, .7), transparent);
  transform: rotate(-18deg);
}
.hero-art::after { top: 54%; right: 2%; transform: rotate(9deg); opacity: .65; }
.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}
.n1 { right: 34%; top: 22%; }
.n2 { right: 19%; top: 39%; }
.n3 { right: 42%; top: 57%; }
.n4 { right: 11%; top: 63%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
  gap: 44px;
  align-items: center;
  padding: 78px 0;
}
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #4fa4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 22px;
  max-width: 740px;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}
.lead {
  max-width: 700px;
  margin: 0;
  color: #e1edfb;
  font-size: 21px;
  font-weight: 500;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}
.status-line span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #cae0f8;
  background: rgba(255,255,255,.07);
  font-size: 13px;
  font-weight: 700;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 18px 34px rgba(10,87,208,.32); }
.btn.secondary { color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.04); }
.btn:hover { transform: translateY(-1px); }

.hero-visual { align-self: stretch; min-width: 0; display: flex; align-items: center; }
.reference-hero-card {
  position: relative;
  width: 100%;
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 30%, rgba(68, 190, 255, .25), transparent 26%),
    linear-gradient(180deg, rgba(11, 45, 80, .2), rgba(3, 11, 20, .84) 72%),
    linear-gradient(135deg, rgba(13, 63, 110, .52), rgba(3, 10, 19, .92));
  box-shadow: 0 26px 78px rgba(0,0,0,.28);
}
.reference-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(85, 180, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 180, 255, .11) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: .55;
}
.reference-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, transparent 0 26%, rgba(76, 183, 255, .55) 26.1% 26.4%, transparent 26.5%),
    linear-gradient(20deg, transparent 0 52%, rgba(118, 190, 72, .48) 52.1% 52.35%, transparent 52.5%);
  opacity: .8;
}
.reference-hero-card img {
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 42px;
  width: min(94%, 590px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(0,0,0,.34);
}

.section { padding: 82px 0; }
.intro { background: #fff; }
.split {
  display: grid;
  grid-template-columns: 1.3fr .75fr;
  gap: 54px;
  align-items: center;
}
h2 {
  margin: 0 0 18px;
  color: #0b2e64;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.16;
  letter-spacing: 0;
}
p { font-size: 16px; }
.development-note {
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: var(--shadow);
  padding: 28px;
}
.development-note strong { display: block; color: var(--blue); font-size: 22px; margin-bottom: 8px; }
.development-note p { margin: 0; color: #44556d; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 46px;
  margin-bottom: 34px;
}
.section-head > p { max-width: 520px; margin: 31px 0 0; color: var(--muted); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pillar {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}
.pillar.accent-green::before { background: linear-gradient(90deg, #4b922d, var(--green)); }
.number { color: #9ab0c8; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.pillar h3 { margin: 10px 0 4px; color: var(--blue); font-size: 28px; }
.pillar.accent-green h3 { color: #4e972f; }
.pillar p { margin: 0 0 18px; color: #4f5e72; font-weight: 600; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: #24344a;
  font-size: 14px;
  font-weight: 600;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}
.accent-green li::before { border-color: var(--green); }
.app-preview {
  position: relative;
  height: 138px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #d4e1ef;
  border-radius: 8px;
  background: #071321;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 16px 32px rgba(15,42,78,.1);
}
.app-preview:not(.image-preview)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 34px;
  background: #0b2037;
}
.image-preview {
  height: 132px;
  border-color: #c9d8e8;
  background: #edf4fb;
}
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 22px 14px 14px 48px;
}
.preview-table span {
  height: 8px;
  border-radius: 99px;
  background: #dce8f5;
}
.preview-table span:nth-child(3n) { background: #9eb2c8; }
.preview-charts,
.preview-control { padding: 16px 16px 16px 48px; }
.preview-charts span {
  display: inline-block;
  width: 17%;
  margin-right: 5%;
  vertical-align: bottom;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #69bf45, #0a57d0);
}
.preview-charts span:nth-child(1) { height: 44px; }
.preview-charts span:nth-child(2) { height: 72px; }
.preview-charts span:nth-child(3) { height: 56px; }
.preview-charts span:nth-child(4) { height: 84px; }
.preview-charts i,
.preview-control i {
  display: block;
  height: 6px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(83, 160, 255, .48);
}
.preview-charts i:nth-of-type(2) { width: 76%; background: rgba(105, 191, 69, .54); }
.preview-charts i:nth-of-type(3) { width: 52%; }
.preview-control span {
  display: block;
  height: 9px;
  margin-bottom: 8px;
  border-radius: 99px;
  background: rgba(83, 160, 255, .55);
}
.preview-control span:nth-child(2),
.preview-control span:nth-child(4) { width: 68%; background: rgba(105, 191, 69, .55); }
.preview-control i {
  display: inline-block;
  width: 28%;
  height: 24px;
  margin: 8px 4% 0 0;
  border-radius: 5px;
  background: rgba(83, 160, 255, .28);
}

.systems { background: linear-gradient(180deg, #fff, #f4f8fc); }
.system-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px 14px;
}
.system-item {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 12px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.system-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.system-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.system-item strong { display: block; color: #17315a; font-size: 13px; line-height: 1.18; font-weight: 800; }

.sectors {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(6, 17, 31, .98), rgba(7, 35, 64, .94)),
    radial-gradient(circle at 86% 40%, rgba(44, 140, 255, .5), transparent 32%);
}
.sectors h2 { color: #fff; }
.sectors p { color: #c6d7ea; }
.sectors-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: center;
}
.sector-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sector-tag {
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  color: #eef6ff;
  font-weight: 700;
}

.security {
  background: #071321;
  color: #d9e8f8;
}
.security h2 { color: #fff; }
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.security-panel {
  min-height: 350px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 30px;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    rgba(255,255,255,.04);
  background-size: 34px 34px;
}
.security-reference {
  width: min(100%, 330px);
  margin: 0 auto 24px;
  border-radius: 8px;
  opacity: .92;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 30px rgba(83,160,255,.36));
}
.security-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.security-item {
  padding: 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(3, 12, 23, .42);
}
.security-item strong { display: block; color: #fff; font-size: 17px; }
.security-item small { color: #a9bdd5; }

.academy { background: #fff; }
.academy-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.academy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.academy-card {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.academy-card span {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.academy-card h3 { margin: 0 0 8px; color: #0b2e64; font-size: 19px; }
.academy-card p { margin: 0; color: var(--muted); font-size: 14px; }

.footer {
  padding: 46px 0 20px;
  color: #dce9f8;
  background: #06111f;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  gap: 28px;
}
.footer-logo {
  width: 270px;
  height: auto;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  filter: drop-shadow(0 0 16px rgba(44, 140, 255, .24));
}
.footer-brand strong { display: block; color: #fff; font-size: 20px; }
.footer h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
}
.footer p,
.footer a {
  color: #b8c9dd;
  font-size: 14px;
  text-decoration: none;
}
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #8ea4bd;
  font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 18px; }

.legal-main {
  padding: 58px 0;
  background: #fff;
}
.legal-article {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.legal-article h1 { margin-top: 0; color: #0b2e64; font-size: 42px; }
.legal-article h2 { margin-top: 34px; font-size: 24px; }
.legal-article p,
.legal-article li { color: #33455d; }

@media (max-width: 1040px) {
  .nav { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .system-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .site-header { padding: 0 18px; min-height: 68px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: #06111f;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; }
  .langs { margin-left: 0; }
  .container { width: min(100% - 32px, 1180px); }
  .hero { min-height: auto; }
  .hero-grid { padding: 54px 0; gap: 34px; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 18px; }
  .split,
  .section-head,
  .sectors-grid,
  .security-grid,
  .academy-grid { display: block; }
  .section { padding: 58px 0; }
  .section-head > p { margin-top: 0; }
  .development-note { margin-top: 28px; }
  .pillar-grid,
  .sector-list,
  .security-items,
  .academy-list,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom nav { margin-top: 12px; }
  .legal-article { padding: 26px; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .site-header { gap: 8px; padding: 0 12px; }
  .brand { flex: 0 0 auto; }
  .brand-logo { width: 150px; height: 42px; padding: 0; }
  .langs { gap: 3px; padding: 3px; }
  .langs button { padding: 6px 7px; font-size: 11px; }
  .menu-toggle { width: 38px; height: 38px; flex: 0 0 auto; }
  .hero h1 { font-size: 36px; }
  .cta-row .btn { width: 100%; }
  .dashboard { padding: 12px; }
  .dash-grid { grid-template-columns: 1fr; }
  .hero-visual > img { margin-bottom: 14px; }
}
