@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&display=swap");

/* ===== 1. COLOURS (change here only) ===== */
:root {
  --bg: #f4f8fd; /* soft sky white */
  --white: #ffffff;
  --ink: #10243e;
  --muted: #51637c;
  --line: #dce6f2;
  --navy: #0b2545; /* headings, buttons */
  --blue: #1d6fe0; /* main accent */
  --blue-soft: #e4effe;
  --sky: #d6e8ff;
  --amber: #ffb703; /* key points */
  --amber-soft: #fff4d1;
  --green: #12b886;
  --red: #e5484d;
  --red-soft: #fdebec;
  --shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
}
/* ===== 2. BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px/1.75 "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
h1,
h2,
h3 {
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.65rem, 3.3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
}
.sub {
  margin-top: 48px;
  color: var(--blue);
}
p {
  margin: 0 0 1em;
  max-width: 72ch;
}
a {
  color: var(--blue);
}
mark {
  background: var(--amber-soft);
  color: #7a5200;
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 600;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.hl {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.code-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
/* ===== 3. NAV ===== */
nav.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  background: var(--white);
  padding: 14px max(24px, calc((100% - 1060px) / 2));
}
.brand {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand b {
  color: var(--blue);
}
.led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 184, 134, 0.2);
  animation: pulse 2s infinite;
}
nav.top ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
nav.top a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 999px;
}
nav.top a:hover {
  background: var(--blue-soft);
  color: var(--navy);
}
/* ===== 4. HERO (centered) + SKY AND DRONE ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px max(24px, calc((100% - 1060px) / 2)) 90px;
  text-align: center;
  background: linear-gradient(180deg, #bbd9ff 0%, #dcebff 45%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70%;
  pointer-events: none;
  background:
    radial-gradient(
      60px 22px at 10% 30%,
      rgba(255, 255, 255, 0.9),
      transparent 70%
    ),
    radial-gradient(
      90px 30px at 32% 18%,
      rgba(255, 255, 255, 0.85),
      transparent 70%
    ),
    radial-gradient(
      70px 24px at 62% 36%,
      rgba(255, 255, 255, 0.9),
      transparent 70%
    ),
    radial-gradient(
      100px 32px at 86% 20%,
      rgba(255, 255, 255, 0.85),
      transparent 70%
    );
  background-size: 1200px 100%;
  animation: clouds 60s linear infinite;
}
.hero > * {
  position: relative;
}
.hero p {
  margin-left: auto;
  margin-right: auto;
}
.lead {
  font-size: 1.18rem;
  color: var(--muted);
}
.dview {
  position: relative;
  width: min(440px, 94%);
  margin: 0 auto 26px;
}
.dsvg {
  display: block;
  width: 100%;
  overflow: visible;
}
.dsvg .gshadow {
  fill: #0b2545;
  opacity: 0.18;
  transform-box: fill-box;
  transform-origin: center;
  animation: shadow 3.2s ease-in-out infinite;
}
.dsvg .fly {
  animation: hover 3.2s ease-in-out infinite;
}
.dsvg .arms line {
  stroke: var(--navy);
  stroke-width: 9;
  stroke-linecap: round;
}
.dsvg .motor circle {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 4;
}
.dsvg .prop {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 0.35s linear infinite;
}
.dsvg .prop.rev {
  animation-direction: reverse;
}
.dsvg .prop rect {
  fill: var(--navy);
  opacity: 0.8;
}
.dsvg .blur {
  fill: rgba(29, 111, 224, 0.1);
  stroke: rgba(29, 111, 224, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
}
.dsvg .body {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 4;
}
.dsvg .cam {
  fill: var(--navy);
  stroke: var(--blue);
  stroke-width: 3;
}
.dsvg .lf {
  fill: var(--red);
  animation: blink 1.2s infinite;
}
.dsvg .lg {
  fill: var(--green);
  animation: blink 1.2s infinite 0.6s;
}
.dsvg .bt {
  fill: var(--blue);
  font:
    800 9px "Manrope",
    sans-serif;
  letter-spacing: 0.1em;
}
.chip {
  position: absolute;
  font:
    700 0.78rem "Inter",
    sans-serif;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  padding: 4px 14px;
  box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite;
  white-space: nowrap;
}
.chip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 7px;
}
.h1 {
  top: 6px;
  left: -16px;
}
.h2 {
  top: 18px;
  right: -18px;
  animation-delay: -1.3s;
}
.h2::before {
  background: var(--green);
}
.h3 {
  bottom: 34px;
  right: -8px;
  animation-delay: -2.6s;
}
.h3::before {
  background: var(--amber);
}
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn:hover {
  background: var(--blue);
}
.btn.ghost {
  background: var(--white);
  color: var(--navy);
  margin-left: 10px;
  box-shadow: none;
}
.btn.ghost:hover {
  background: var(--blue-soft);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 46px auto 0;
  max-width: 920px;
  text-align: left;
}
.stat {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 0.93rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}
.stat:nth-child(2) {
  border-top-color: var(--green);
}
.stat:nth-child(3) {
  border-top-color: var(--amber);
}
.stat:nth-child(4) {
  border-top-color: var(--navy);
}
.stat b {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
}
/* ===== 5. SECTIONS ===== */
section {
  padding: 76px max(24px, calc((100% - 1060px) / 2));
}
section:nth-of-type(even) {
  background: var(--white);
}
/* ===== 6. CARDS ===== */
.grid,
.two {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.two {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
section:nth-of-type(even) .card {
  background: var(--bg);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}
.card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}
.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.card li {
  margin-bottom: 0.5em;
}
.card li::marker {
  color: var(--blue);
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.grid .card:nth-child(3n + 2) .tag {
  color: #0b7a5a;
  background: #ddf6ee;
}
.grid .card:nth-child(3n + 3) .tag {
  color: #8a5a00;
  background: var(--amber-soft);
}
.key {
  background: var(--amber-soft);
  border: 1px solid #f6d774;
  border-left: 8px solid var(--amber);
  border-radius: 12px;
  padding: 18px 24px;
  margin: 28px 0;
}
.key b {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: #3a2700;
  background: var(--amber);
  padding: 2px 10px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.key p {
  margin: 0;
  color: var(--ink);
}
.key.warn {
  background: var(--red-soft);
  border-color: #f3b4b6;
  border-left-color: var(--red);
}
.key.warn b {
  background: var(--red);
  color: #fff;
}
.formula {
  background: var(--blue-soft);
  border: 1px solid #bcd6fa;
  border-left: 8px solid var(--blue);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 18px 0;
}
.formula b {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--blue);
  padding: 2px 10px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.formula p {
  margin: 0;
  max-width: none;
}
.essay {
  background: var(--white);
  border-radius: 16px;
  padding: 30px 34px;
  margin-top: 20px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--blue);
}
.essay p {
  max-width: none;
  color: var(--muted);
  text-align: justify;
}
.essay p:last-child {
  margin-bottom: 0;
}
/* ===== 7. TIMELINE, PIPELINE, STEPS ===== */
ol.tl {
  list-style: none;
  margin: 30px 0 0;
  padding: 0 0 0 38px;
  position: relative;
}
ol.tl::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
ol.tl li {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
section:nth-of-type(even) ol.tl li {
  background: var(--bg);
}
ol.tl li::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--blue);
}
ol.tl li:nth-child(even)::before {
  border-color: var(--green);
}
ol.tl b {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--blue);
}
ol.tl h3 {
  margin: 2px 0 6px;
}
ol.tl p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}
ol.pipe {
  list-style: none;
  counter-reset: p;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 26px 0;
}
ol.pipe li {
  counter-increment: p;
  background: var(--white);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
section:nth-of-type(even) ol.pipe li {
  background: var(--bg);
}
ol.pipe li::before {
  content: counter(p);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
ol.pipe li:nth-child(even)::before {
  background: var(--green);
}
ol.pipe b {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--navy);
}
ol.pipe span {
  font-size: 0.93rem;
  color: var(--muted);
}
ol.steps {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
ol.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
section:nth-of-type(even) ol.steps li {
  background: var(--bg);
}
ol.steps li::before {
  content: counter(s);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}
ol.steps p {
  margin: 0;
  color: var(--muted);
}
ol.steps h3 {
  margin-bottom: 0.3em;
}
/* ===== 8. TABLE, CODE, FAQ ===== */
.scroll {
  overflow-x: auto;
  margin-top: 22px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
td:first-child {
  color: var(--navy);
  font-weight: 700;
}
td {
  color: var(--muted);
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:nth-child(even) td {
  background: var(--bg);
}
tbody tr:hover td {
  background: var(--blue-soft);
}
pre.code {
  background: var(--navy);
  border-radius: 14px;
  border-top: 5px solid var(--blue);
  padding: 22px;
  overflow-x: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  color: #d6e8ff;
  margin: 22px 0;
}
details {
  background: var(--white);
  border-radius: 14px;
  padding: 15px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--blue);
}
section:nth-of-type(even) details {
  background: var(--bg);
}
details[open] {
  border-left-color: var(--green);
}
summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
details p {
  margin: 12px 0 0;
  color: var(--muted);
}
/* ===== 9. FOOTER ===== */
footer {
  background: var(--navy);
  color: #b9cbe3;
  text-align: center;
  padding: 32px 20px 46px;
  font-size: 0.9rem;
}
/* ===== 10. ANIMATION + RESPONSIVE ===== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hover {
  50% {
    transform: translateY(-12px);
  }
}
@keyframes shadow {
  50% {
    transform: scale(0.8);
    opacity: 0.1;
  }
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@keyframes floaty {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes clouds {
  to {
    background-position: -1200px 0;
  }
}
@media (max-width: 600px) {
  .btn.ghost {
    margin: 12px 0 0;
  }
  .essay {
    padding: 22px;
  }
  .essay p {
    text-align: left;
  }
  ol.steps li {
    grid-template-columns: 1fr;
  }
  ol.tl {
    padding-left: 32px;
  }
  ol.tl li::before {
    left: -32px;
  }
  .h1 {
    left: -4px;
  }
  .h2 {
    right: -4px;
  }
  .h3 {
    right: -2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
