:root {
  --ink: #102025;
  --muted: #5b6b70;
  --line: rgba(16, 32, 37, 0.14);
  --paper: #f7f8f5;
  --panel: #ffffff;
  --green: #214d9f;
  --green-deep: #163169;
  --amber: #d59f29;
  --sky: #66a7b8;
  --shadow: 0 24px 70px rgba(16, 32, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 248, 245, 0.94);
  box-shadow: 0 10px 40px rgba(16, 32, 37, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}

.site-nav a {
  opacity: 0.9;
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 86px) 76px;
  color: #fff;
  background: #12306d;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 57, 0.96) 0%, rgba(13, 41, 94, 0.82) 48%, rgba(13, 41, 94, 0.2) 100%),
    linear-gradient(180deg, rgba(12, 35, 82, 0.24), rgba(12, 35, 82, 0.76)),
    url("assets/scene-command.jpg") center / cover no-repeat;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, transparent 95%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(590px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 28px;
  left: clamp(20px, 6vw, 86px);
  display: grid;
  width: min(520px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.drone {
  position: absolute;
  top: 22%;
  right: 5%;
  width: min(500px, 38vw);
  aspect-ratio: 1;
  filter: drop-shadow(0 38px 34px rgba(0, 0, 0, 0.34));
  animation: float 5s ease-in-out infinite;
}

.drone::before {
  position: absolute;
  inset: -8% -5%;
  content: "";
  border: 10px solid rgba(255, 255, 255, 0.92);
  background: #fff url("assets/hero-drone.jpg") center / contain no-repeat;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.35));
  transform: rotate(-3deg);
}

.core,
.arm,
.rotor {
  position: absolute;
  display: none;
}

.core {
  top: 42%;
  left: 35%;
  width: 30%;
  height: 16%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: linear-gradient(135deg, #dfe8e5, #6f8d91);
}

.arm {
  top: 48%;
  left: 14%;
  width: 72%;
  height: 3px;
  background: rgba(224, 235, 232, 0.82);
}

.arm-a {
  transform: rotate(28deg);
}

.arm-b {
  transform: rotate(-28deg);
}

.rotor {
  width: 23%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
}

.rotor::after {
  position: absolute;
  top: 48%;
  left: 8%;
  width: 84%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  content: "";
  animation: spin 0.3s linear infinite;
}

.r1 {
  top: 12%;
  left: 7%;
}

.r2 {
  top: 12%;
  right: 7%;
}

.r3 {
  bottom: 13%;
  left: 7%;
}

.r4 {
  right: 7%;
  bottom: 13%;
}

.scan-line {
  position: absolute;
  right: 18%;
  bottom: 19%;
  width: 32vw;
  height: 16vw;
  border: 1px solid rgba(213, 159, 41, 0.46);
  border-radius: 50%;
  transform: perspective(500px) rotateX(64deg);
}

.terrain {
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 72%;
  height: 34%;
  background:
    linear-gradient(150deg, transparent 18%, rgba(213, 159, 41, 0.22) 19%, transparent 20%),
    linear-gradient(35deg, transparent 30%, rgba(102, 167, 184, 0.2) 31%, transparent 32%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.2), transparent 42%);
  clip-path: polygon(0 74%, 13% 44%, 27% 62%, 43% 28%, 62% 57%, 76% 34%, 100% 71%, 100% 100%, 0 100%);
}

.section {
  padding: 96px clamp(20px, 6vw, 86px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
}

.intro p:last-child,
.platform-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.product-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(16, 32, 37, 0.06);
}

.product-visual {
  display: block;
  width: 100%;
  height: 220px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 6px;
  background: #eef2f8;
  object-fit: contain;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.product-card p {
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--green-deep);
  font-weight: 700;
}

.solutions {
  color: #fff;
  background: var(--green-deep);
}

.solutions .section-kicker {
  color: #f0c85e;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-list a {
  position: relative;
  isolation: isolate;
  min-height: 270px;
  padding: 24px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease;
}

.solution-list a::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--scene) center / cover no-repeat;
  content: "";
  opacity: 0.28;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.solution-list a::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 49, 105, 0.48), rgba(10, 25, 58, 0.92));
  content: "";
}

.solution-list a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.solution-list a:hover::before {
  opacity: 0.42;
  transform: scale(1.04);
}

.solution-list span {
  display: block;
  margin-bottom: 72px;
  color: #f0c85e;
}

.solution-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.solution-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.platform {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green-deep);
  font-weight: 700;
}

.dashboard {
  display: grid;
  grid-template-columns: 1fr 160px;
  grid-template-rows: 54px 360px;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.dash-top,
.dash-map,
.dash-side {
  border-radius: 6px;
  background: #edf2ef;
}

.dash-top {
  grid-column: 1 / -1;
}

.dash-map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, transparent 38%, rgba(11, 107, 84, 0.18) 39%, transparent 40%),
    linear-gradient(35deg, transparent 45%, rgba(213, 159, 41, 0.26) 46%, transparent 47%),
    #dfe8e3;
}

.route {
  position: absolute;
  top: 86px;
  left: 58px;
  width: 62%;
  height: 42%;
  border: 3px dashed var(--green);
  border-right: 0;
  border-bottom: 0;
  border-radius: 80px 0 0 0;
}

.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(213, 159, 41, 0.22);
}

.p1 {
  top: 78px;
  left: 54px;
}

.p2 {
  top: 164px;
  left: 46%;
}

.p3 {
  right: 88px;
  bottom: 82px;
}

.dash-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
}

.dash-side span {
  height: 64px;
  border-radius: 6px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid div {
  padding: 26px;
  border-top: 3px solid var(--green);
  background: #fff;
}

.service-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  padding: 96px clamp(20px, 6vw, 86px);
  color: #fff;
  background: #10234f;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.72);
  background: #081416;
}

.site-footer strong {
  color: #fff;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(180deg);
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 248, 245, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    color: var(--ink);
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 850px;
    align-items: start;
  }

  .hero-content {
    margin-top: 72px;
  }

  .drone {
    top: 42%;
    right: 4%;
    width: min(520px, 84vw);
  }

  .hero-panel {
    right: 20px;
    bottom: 28px;
    left: 20px;
    width: auto;
  }

  .intro,
  .platform,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding: 102px 20px 52px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .section,
  .contact {
    padding: 68px 20px;
  }

  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-list a {
    min-height: 210px;
  }

  .solution-list span {
    margin-bottom: 34px;
  }

  .dashboard {
    grid-template-columns: 1fr;
    grid-template-rows: 46px 300px auto;
  }

  .dash-top {
    grid-column: auto;
  }
}
