:root {
  --bg: #020b12;
  --bg2: #061722;
  --panel: rgba(8, 24, 36, 0.78);
  --line: rgba(92, 173, 234, 0.22);
  --line2: rgba(117, 203, 255, 0.42);
  --text: #eef8ff;
  --muted: #8fa9b9;
  --blue: #2d8cff;
  --cyan: #82dcff;
  --content-max: 1520px;
  --content-pad: clamp(24px, 4vw, 80px);
  --hero-edge: max(var(--content-pad), calc((100vw - var(--content-max)) / 2 + var(--content-pad)));
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 22% 0%, rgba(29, 129, 255, 0.18), transparent 32rem),
    linear-gradient(180deg, #03101a, #020b12 32rem, #03111a);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--hero-edge);
  border-bottom: 1px solid rgba(133, 202, 255, 0.13);
  background: rgba(1, 8, 14, 0.64);
  backdrop-filter: blur(18px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.logo strong {
  color: #f2fbff;
  font-size: 22px;
  letter-spacing: 0;
}
.topbar nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  color: #d7e9f5;
}
.topbar nav span {
  margin-left: 6px;
  color: #a4b8c6;
  font-size: 11px;
}
.lang {
  display: inline-flex;
  align-items: center;
}
.lang select {
  min-width: 124px;
  border: 1px solid rgba(56, 151, 214, .56);
  border-radius: 4px;
  padding: 7px 30px 7px 10px;
  color: #d5e7f2;
  background: rgba(4, 15, 24, .72);
  cursor: pointer;
  font: 600 12px/1.1 inherit;
  outline: 0;
}
.lang select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(45, 160, 255, .18);
}

.hero-map {
  position: relative;
  min-height: 760px;
  padding: 72px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.74) contrast(1.1);
  transform: scale(1.03);
  transition: opacity 850ms ease, transform 1200ms ease;
}
.hero-bg.is-active { opacity: 0.72; transform: scale(1); }
.map-shade {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(2, 11, 18, 0.96), rgba(3, 12, 19, 0.64) 54%, rgba(2, 11, 18, 0.86)),
    linear-gradient(180deg, rgba(2, 11, 18, 0.5), rgba(2, 11, 18, 0.04) 44%, #020b12 100%);
}
.map-grid,
.terrain-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-grid {
  z-index: -3;
  background-image:
    linear-gradient(rgba(125, 211, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}
.terrain-lines {
  z-index: -2;
  opacity: 0.5;
  background:
    radial-gradient(ellipse at 58% 42%, transparent 0 7rem, rgba(106, 201, 255, 0.18) 7.1rem 7.18rem, transparent 7.28rem),
    radial-gradient(ellipse at 58% 42%, transparent 0 13rem, rgba(106, 201, 255, 0.12) 13.1rem 13.18rem, transparent 13.28rem),
    linear-gradient(110deg, transparent 52%, rgba(78, 185, 255, 0.28) 52.1%, transparent 52.35%),
    linear-gradient(24deg, transparent 44%, rgba(78, 185, 255, 0.22) 44.1%, transparent 44.35%);
}

.status-box,
.sensor-feed,
.signal-box {
  position: absolute;
  border: 1px solid var(--line2);
  background: rgba(3, 14, 22, 0.58);
  backdrop-filter: blur(12px);
}
.status-box {
  top: 136px;
  left: var(--hero-edge);
  width: 140px;
  padding: 13px 15px;
}
.status-box span,
.sensor-feed header span,
.signal-box span {
  color: #9edbff;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.status-box strong {
  display: block;
  margin-top: 7px;
  color: #58ffb6;
  font-size: 13px;
}
.radar-widget {
  position: absolute;
  top: 86px;
  left: clamp(620px, 52vw, calc(50vw + 240px));
  width: 174px;
  height: 130px;
}
.radar-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(112, 199, 255, 0.34);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 20px, rgba(93, 184, 255, 0.17) 21px 22px),
    conic-gradient(from 30deg, rgba(45, 140, 255, 0.36), transparent 34%, rgba(45, 140, 255, 0.18));
}
.radar-widget span {
  position: absolute;
  top: 54px;
  left: 74px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}
.sensor-feed {
  top: 116px;
  right: var(--hero-edge);
  width: 300px;
  padding: 12px;
}
.sensor-feed header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sensor-feed b {
  color: #ff4c61;
  font-size: 11px;
}
.sensor-image {
  position: relative;
  height: 128px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.sensor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2);
}
.sensor-image i {
  position: absolute;
  inset: 39% 42%;
  border: 1px solid #fff;
}
.sensor-feed dl {
  display: grid;
  gap: 2px;
  margin: 10px 0 0;
  color: #c8d8e2;
  font-size: 11px;
}
.sensor-feed dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
}
.sensor-feed dt { color: #7e9aaa; }
.sensor-feed dd { margin: 0; }
.signal-box {
  right: calc(var(--hero-edge) + 26px);
  top: 438px;
  width: 220px;
  padding: 14px;
}
.signal-box p {
  margin: 12px 0 10px;
  color: #c8dae5;
  font-size: 11px;
  line-height: 1.55;
}
.signal-box b { color: #ffcf65; }
.wave {
  height: 28px;
  background: linear-gradient(135deg, transparent 45%, rgba(76, 183, 255, 0.85) 46% 50%, transparent 51%) 0 0 / 24px 24px;
  opacity: 0.8;
}

.hero-copy {
  position: relative;
  width: min(720px, 92vw);
  padding-top: 218px;
  margin-left: var(--hero-edge);
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 4.5vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}
.hero-copy p {
  margin: 10px 0 34px;
  color: #e7f5ff;
  font-size: clamp(18px, 1.45vw, 24px);
}
.hero-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 20px;
  margin: 0 0 70px;
  padding: 0;
  color: #cddde8;
  font-size: 14px;
  list-style: none;
}
.hero-copy li:not(:last-child)::after {
  content: " ·";
  color: #6d889b;
}
.hero-copy a {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.hero-copy a span {
  margin-left: 18px;
  color: #b7d8ef;
  font-size: 13px;
}
.hero-copy a::after {
  content: "  →";
  margin-left: 22px;
  color: #fff;
}

html[data-lang="ar"] .hero-copy,
html[data-lang="ar"] .section-title,
html[data-lang="ar"] .section-headline,
html[data-lang="ar"] .detail-copy,
html[data-lang="ar"] .about-section,
html[data-lang="ar"] .contact-panel {
  direction: rtl;
  text-align: right;
}
html[data-lang="ar"] .hero-copy {
  margin-left: var(--hero-edge);
  margin-right: 0;
}
html[data-lang="ar"] .hero-copy ul {
  justify-content: flex-end;
}
html[data-lang="ar"] .hero-copy li:not(:last-child)::after {
  content: "";
}
html[data-lang="ar"] .hero-copy li:not(:last-child)::before {
  content: "· ";
  color: #6d889b;
}
html[data-lang="ar"] .hero-copy a::after {
  content: "  ←";
  margin-left: 0;
  margin-right: 22px;
}
html[data-lang="ar"] .section-title h2,
html[data-lang="ar"] .section-headline h2 {
  padding-left: 0;
  padding-right: 18px;
  border-left: 0;
  border-right: 1px solid var(--cyan);
}

.capability-strip {
  position: absolute;
  left: var(--hero-edge);
  right: var(--hero-edge);
  bottom: 44px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.capability-strip div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px 12px;
  align-items: center;
}
.capability-strip i {
  color: #fff;
  font-size: 26px;
  font-style: normal;
}
.capability-strip strong {
  font-size: 13px;
}
.capability-strip span {
  color: var(--muted);
  font-size: 11px;
}

main > section:not(.hero-map),
footer {
  width: 100%;
  max-width: calc(var(--content-max) + (var(--content-pad) * 2));
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}
.workflow-section,
.product-grid-section,
.product-detail-section,
.solutions-section,
.compliance-section,
.about-section {
  padding: 74px 0 0;
}
.section-title,
.section-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.section-title {
  justify-content: flex-start;
}
.section-title h2,
.section-headline h2 {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--cyan);
  font-size: clamp(26px, 2.4vw, 42px);
}
.section-title p,
.section-headline p {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.section-headline a {
  color: var(--blue);
  font-size: 14px;
}
.section-headline a span {
  color: inherit;
  font-size: inherit;
}

.workflow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-left: min(230px, 15vw);
}
.workflow-row article {
  position: relative;
  min-height: 326px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(14, 39, 57, 0.86), rgba(5, 17, 27, 0.9));
}
.workflow-row article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 43%;
  z-index: 2;
  border-width: 18px 0 18px 24px;
  border-style: solid;
  border-color: transparent transparent transparent var(--blue);
}
.workflow-row b {
  color: var(--blue);
  font-size: 16px;
}
.workflow-row h3 {
  margin: 8px 0 0;
  font-size: clamp(21px, 1.5vw, 24px);
}
.workflow-row span {
  color: #d0e1eb;
  font-size: 14px;
}
.workflow-row img {
  width: calc(100% + 46px);
  height: 128px;
  margin: 18px -23px;
  object-fit: cover;
  filter: grayscale(.28) brightness(.74);
}
.workflow-row p {
  margin: 0;
  color: #d1dde6;
  font-size: 13px;
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.product-grid article {
  position: relative;
  min-height: clamp(240px, 18vw, 320px);
  overflow: hidden;
  cursor: pointer;
  background: #071521;
}
.product-grid img,
.solution-row img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) brightness(.78);
  transition: transform 350ms ease, filter 350ms ease;
}
.product-grid article[data-open-product="night"] img,
.product-grid article[data-open-product="nav"] img,
.product-grid article[data-open-product="secure"] img,
.workflow-row article:nth-child(2) img {
  object-fit: contain;
  background: #071521;
}
.product-grid article:hover img,
.solution-row article:hover img {
  transform: scale(1.04);
  filter: saturate(.9) brightness(.9);
}
.product-grid article::after,
.solution-row article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,13,21,.24), rgba(3,11,18,.82));
}
.product-grid div,
.solution-row article > *:not(img) {
  position: relative;
  z-index: 1;
}
.product-grid div {
  padding: 24px;
}
.product-grid h3,
.solution-row h3 {
  margin: 0;
  font-size: clamp(20px, 1.45vw, 24px);
}
.product-grid p,
.solution-row p {
  margin: 3px 0 80px;
  color: #d5e5ef;
  font-size: 13px;
}
.product-grid span,
.solution-row span {
  display: block;
  color: #d5e5ef;
  font-size: 12px;
  line-height: 1.55;
}

.detail-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--line);
  background: rgba(5, 17, 27, .72);
}
.detail-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
}
.detail-tabs button {
  min-height: 66px;
  padding: 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #a9bdca;
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.detail-tabs button.is-active,
.detail-tabs button:hover {
  color: #fff;
  background: rgba(45, 140, 255, .16);
}
.detail-content {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(520px, 1fr);
  min-height: 520px;
}
.detail-copy {
  padding: 38px;
}
.detail-copy span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.detail-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 3vw, 42px);
  line-height: 1;
}
.detail-copy p {
  color: #c2d5e1;
  line-height: 1.7;
}
.detail-specs {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}
.detail-specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(138, 205, 255, .16);
  color: #d8e9f2;
  font-size: 13px;
}
.detail-specs b {
  color: #7edcff;
  font-weight: 700;
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
  padding: 28px;
  border-left: 1px solid var(--line);
  max-height: 720px;
  overflow: auto;
}
.detail-gallery figure {
  margin: 0;
  border: 1px solid rgba(125, 205, 255, .18);
  background: #071521;
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #071521;
  cursor: zoom-in;
}
.detail-gallery figcaption {
  padding: 9px 10px;
  color: #0b1720;
  font-size: 12px;
  font-weight: 800;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 72px);
  background: rgba(1, 8, 14, 0.9);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.image-preview.is-open {
  opacity: 1;
  pointer-events: auto;
  cursor: zoom-out;
}
.image-preview img {
  max-width: min(96vw, 1440px);
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid var(--line2);
  background: #071521;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
}

.solution-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.solution-row article {
  position: relative;
  min-height: clamp(220px, 16vw, 280px);
  overflow: hidden;
  padding: 114px 22px 22px;
  background: #071521;
}
.solution-row p { margin-bottom: 22px; }

.compliance-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.compliance-row div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.compliance-row b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line2);
  border-radius: 50%;
  color: #e7f6ff;
  font-size: 15px;
}
.compliance-row span {
  color: #afc2cf;
  font-size: 12px;
  line-height: 1.5;
}

.about-section > div {
  max-width: 900px;
  padding: 46px 0 10px;
  border-top: 1px solid var(--line);
}
.about-section span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}
.about-section h2 {
  margin: 12px 0 18px;
  font-size: clamp(30px, 2.6vw, 42px);
}
.about-section p {
  color: #c0d1dd;
  line-height: 1.8;
}

.contact-panel {
  display: grid;
  grid-template-columns: 236px minmax(320px, 1fr) 320px 260px;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: calc(var(--content-max) + (var(--content-pad) * 2));
  margin: 68px auto 32px;
  padding: 32px var(--content-pad);
  border: 1px solid var(--line2);
  background: linear-gradient(90deg, rgba(23, 97, 154, .18), rgba(5, 17, 27, .82));
}
.contact-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.contact-logo img {
  width: 236px;
  height: 236px;
  object-fit: contain;
}
.contact-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 2.2vw, 42px);
}
.contact-panel p,
.email-block span,
.whatsapp-block span {
  color: var(--muted);
  font-size: 13px;
}
.email-block a {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.whatsapp-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.whatsapp-block img {
  width: 116px;
  height: 116px;
  padding: 8px;
  background: #fff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 32px;
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 1600px) {
  :root {
    --content-max: 1520px;
    --content-pad: clamp(56px, 4vw, 96px);
  }

  .hero-map {
    min-height: min(860px, 72vh);
  }

  .hero-copy {
    width: 760px;
    padding-top: clamp(210px, 16vh, 260px);
  }

  .sensor-feed {
    width: 320px;
  }

  .signal-box {
    width: 240px;
  }

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

  .detail-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .detail-content {
    grid-template-columns: minmax(360px, 0.68fr) minmax(620px, 1fr);
  }

  .detail-gallery {
    max-height: 760px;
  }

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

@media (min-width: 2200px) {
  :root {
    --content-max: 1560px;
  }

  .hero-map {
    min-height: 880px;
  }

  .map-grid {
    background-size: 48px 48px;
  }
}
footer img {
  width: 264px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}
footer nav {
  display: flex;
  gap: 28px;
}

@media (max-width: 1050px) {
  .topbar { padding: 0 22px; }
  .topbar nav { gap: 16px; }
  .sensor-feed,
  .signal-box,
  .radar-widget { display: none; }
  .hero-copy { margin-left: 0; }
  .capability-strip,
  .workflow-row,
  .product-grid,
  .detail-shell,
  .detail-content,
  .solution-row,
  .compliance-row,
  .contact-panel {
    grid-template-columns: 192px 1fr;
  }
  .email-block,
  .whatsapp-block {
    grid-column: span 2;
  }
  .workflow-row { margin-left: 0; }
  .detail-tabs { grid-template-columns: repeat(2, 1fr); border-right: 0; }
  .detail-gallery { border-left: 0; }
}

@media (max-width: 720px) {
  .topbar {
    position: absolute;
    height: auto;
    padding: 14px 16px;
    align-items: flex-start;
  }
  .logo img { width: 56px; height: 56px; }
  .logo strong { font-size: 17px; }
  .topbar nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 11px;
  }
  .topbar nav span,
  .lang { display: none; }
  .hero-map { min-height: 690px; padding: 72px 18px 0; }
  .status-box { left: 18px; top: 98px; }
  .hero-copy { padding-top: 190px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-copy p { font-size: 16px; }
  .hero-copy ul { margin-bottom: 38px; }
  .capability-strip {
    left: 18px;
    right: 18px;
    bottom: 24px;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  main > section:not(.hero-map),
  footer,
  .contact-panel {
    width: min(100% - 32px, 1320px);
  }
  .workflow-section,
  .product-grid-section,
  .product-detail-section,
  .solutions-section,
  .compliance-section,
  .about-section {
    padding-top: 54px;
  }
  .section-title,
  .section-headline {
    display: block;
  }
  .workflow-row,
  .product-grid,
  .detail-shell,
  .detail-content,
  .detail-gallery,
  .solution-row,
  .compliance-row,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .contact-logo,
  .email-block,
  .whatsapp-block {
    grid-column: auto;
  }
  .contact-logo {
    justify-content: flex-start;
  }
  .contact-logo img {
    width: 192px;
    height: 192px;
  }
  .workflow-row article:not(:last-child)::after { display: none; }
  .product-grid article,
  .solution-row article { min-height: 230px; }
  .contact-panel { padding: 22px; }
  .whatsapp-block { justify-content: flex-start; }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
