:root {
  --bg: #030814;
  --bg-soft: #0b1323;
  --panel: rgba(17, 22, 34, 0.8);
  --panel-2: rgba(20, 26, 40, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.56);
  --blue: #2f5bff;
  --blue-2: #5f7cff;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(80, 97, 128, 0.35), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(255, 175, 120, 0.12), transparent 18%),
    linear-gradient(180deg, #4e5562 0%, #08111f 22%, #020712 44%, #030814 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

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

.page-shell {
  position: relative;
  overflow: clip;
}

.section-pad {
  padding: 48px 0 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(4, 10, 20, 0.85), rgba(4, 10, 20, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand img { width: 96px; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 13px;
  color: var(--muted);
}
.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover { color: white; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 16px;
  background: rgba(5, 10, 20, 0.97);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-nav.is-open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: white;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: 0 16px 40px rgba(47, 91, 255, 0.28);
}
.btn-outline {
  color: white;
  border: 1px solid rgba(255,255,255,.38);
  padding-inline: 20px;
}
.btn-small { padding: 13px 18px; }

.hero {
  position: relative;
  min-height: 760px;
  padding: 26px 0 40px;
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(2,7,18,.88) 72%), center top / cover no-repeat;
  opacity: .95;
}
.hero-overlay {
  background:
    radial-gradient(circle at center 16%, rgba(255,255,255,0.08), transparent 18%),
    linear-gradient(180deg, transparent, rgba(3,8,20,.55) 30%, rgba(3,8,20,.96) 88%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-drone {
  width: min(700px, 92vw);
  mix-blend-mode: screen;
  margin-top: 10px;
}
.hero-copy {
  max-width: 840px;
  margin-top: -8px;
}
.hero h1,
.services h2,
.framework h2,
.contact h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.65rem);
  margin-bottom: 20px;
}
.hero p,
.framework p,
.contact .section-subtitle {
  color: var(--muted);
  line-height: 1.75;
}
.hero-copy > p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}
.hero-stats {
  margin-top: 24px;
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats div {
  display: grid;
  gap: 7px;
  text-align: left;
}
.hero-stats strong {
  font-size: 1.6rem;
  font-weight: 700;
}
.hero-stats span {
  color: var(--muted-2);
  font-size: .95rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(111, 132, 255, .45);
  background: rgba(48, 77, 255, .12);
  color: #9ab0ff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 auto 18px;
}
.section-tag-left { margin-inline: 0 auto; }
.services,
.contact,
.framework {
  position: relative;
}
.services h2,
.contact h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.framework h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.network {
  position: absolute;
  pointer-events: none;
  opacity: .55;
  filter: saturate(1.2);
}
.network-left {
  left: -24px;
  bottom: 60px;
  width: min(280px, 35vw);
}
.network-right {
  right: -30px;
  top: 55px;
  width: min(330px, 36vw);
}

.service-rail {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(235px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.service-rail::-webkit-scrollbar { display: none; }
.service-card {
  position: relative;
  min-height: 440px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(104, 119, 158, .32);
  background: #0a1020;
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(5, 10, 20, .85) 100%), var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.service-card--featured { border-color: rgba(73, 100, 255, .7); }
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(8,15,28,.92) 100%);
}
.service-content {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 1;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(77, 109, 255, .14), rgba(31, 40, 58, .66));
  backdrop-filter: blur(4px);
}
.service-card:not(.service-card--featured) .service-content {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(24, 29, 42, .62));
}
.service-content h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}
.service-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .98rem;
}
.rail-accent {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(82, 103, 160, 0.22);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}
.rail-accent::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f76ff, #2d57ff);
}

.framework-card,
.contact-card {
  border-radius: 28px;
  border: 1px solid rgba(112, 124, 154, 0.18);
  background: linear-gradient(180deg, rgba(16, 21, 34, 0.84), rgba(9, 13, 23, 0.94));
  box-shadow: var(--shadow);
}
.framework-card {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 36px;
  padding: 46px;
}
.framework-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.framework-intro p { margin: 20px 0 28px; max-width: 490px; }
.steps {
  display: grid;
}
.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(78, 103, 255, .18);
  color: #93a7ff;
  font-size: 1.6rem;
  border: 1px solid rgba(110, 126, 255, .22);
}
.step h3 { margin: 0 0 10px; font-size: 1.5rem; }
.step p { margin: 0; color: var(--muted); line-height: 1.7; }

.contact h2 { margin-bottom: 12px; }
.contact .section-subtitle {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}
.contact-card { padding: 28px 28px 18px; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-form label { display: grid; gap: 10px; }
.contact-form span { color: white; font-size: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.035));
  color: white;
  padding: 16px 18px;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.42); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(84, 110, 255, .8);
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.12);
}
.full-width { grid-column: 1 / -1; }
.contact-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 4px;
}
.contact-note { margin: 0 0 8px; font-size: 1rem; color: white; }
.contact-link {
  color: #6b88ff;
  font-size: 1.12rem;
  font-weight: 700;
}

.site-footer {
  margin-top: 52px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(10,15,27,.84), rgba(8,12,21,.96));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 32px;
}
.footer-logo { width: 108px; margin-bottom: 18px; }
.site-footer p,
.site-footer li,
.site-footer a { color: var(--muted); }
.site-footer h4 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-weight: 700;
}
.contact-list span { color: white; font-weight: 600; margin-right: 6px; }
.footer-bottom {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .hero { min-height: 690px; }
  .framework-card,
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-bottom { flex-direction: column; align-items: stretch; }
  .contact-bottom .btn { width: 100%; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand img { width: 88px; }
  .hero { min-height: 620px; padding-top: 12px; }
  .hero-drone { width: 100%; margin-top: 12px; }
  .hero-copy { margin-top: 0; }
  .hero h1 { font-size: 2.55rem; }
  .hero-copy > p { font-size: .98rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
  }
  .hero-stats div {
    text-align: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    padding: 14px;
    border-radius: 16px;
  }
  .services h2,
  .framework h2,
  .contact h2 { font-size: 2.25rem; }
  .service-rail {
    grid-template-columns: repeat(4, 82vw);
  }
  .service-card { min-height: 340px; }
  .service-content h3 { font-size: 1.35rem; }
  .framework-card,
  .contact-card { padding: 24px; }
  .step { grid-template-columns: 56px 1fr; }
  .step-icon { width: 48px; height: 48px; border-radius: 14px; }
  .network-left { bottom: auto; top: 360px; width: 190px; }
  .network-right { width: 180px; top: 14px; }
}
