:root {
  --bg: #05070d;
  --bg-soft: #09111d;
  --panel: rgba(12, 22, 35, 0.72);
  --panel-strong: rgba(15, 29, 45, 0.9);
  --line: rgba(112, 227, 255, 0.22);
  --text: #f4f8fb;
  --muted: #9fb0c1;
  --cyan: #43e5ff;
  --blue: #2f6bff;
  --green: #6dffb8;
  --violet: #8d7bff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-soft: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, Arial, sans-serif;
  background:
    linear-gradient(rgba(67, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 229, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(47, 107, 255, 0.26), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(109, 255, 184, 0.12), transparent 28%),
    var(--bg);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  color: var(--text);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  overflow: hidden;
}

.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(18px, 5vw, 72px);
  background: rgba(5, 7, 13, 0.68);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: 0.25s ease;
}

.header.scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 13, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 180px;
  height: 42px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, rgba(67, 229, 255, 0.18), rgba(47, 107, 255, 0.24));
  color: var(--cyan);
  border-radius: var(--radius);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a {
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 36px;
  padding-top: 132px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 14% -18% auto auto;
  width: 46vw;
  height: 46vw;
  max-width: 680px;
  max-height: 680px;
  border: 1px solid rgba(67, 229, 255, 0.18);
  transform: rotate(18deg);
  pointer-events: none;
}

.eyebrow,
.category {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: Sora, Manrope, Arial, sans-serif;
  font-size: clamp(2.45rem, 5.7vw, 5.55rem);
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  font-family: Sora, Manrope, Arial, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 12px;
  font-family: Sora, Manrope, Arial, sans-serif;
  font-size: 1.28rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.7;
}

.lead,
.hero-content p {
  font-size: 1.12rem;
}

.hero-actions,
.card-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(67, 229, 255, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #021018;
  font-weight: 800;
  box-shadow: 0 0 30px rgba(67, 229, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 42px rgba(67, 229, 255, 0.32);
}

.btn-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.88rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics span,
.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-metrics span {
  padding: 14px;
  color: var(--muted);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
}

.drone-stage {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  border: 1px solid rgba(67, 229, 255, 0.18);
  background: linear-gradient(145deg, rgba(67, 229, 255, 0.12), rgba(141, 123, 255, 0.08));
  border-radius: 44px;
  overflow: hidden;
}

.drone-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 32px 60px rgba(67, 229, 255, 0.28));
  animation: floatDrone 5s ease-in-out infinite;
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(67, 229, 255, 0.18), transparent);
  animation: scan 3.5s linear infinite;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.product-grid,
.blog-grid,
.application-grid,
.spec-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.product-card,
.post-card,
.app-card,
.contact-form,
.contact-aside,
.spec-grid .glass-card,
.ops-panel {
  padding: 20px;
}

.product-card,
.post-card {
  border-radius: var(--radius-soft);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.product-card:hover,
.post-card:hover,
.app-card:hover {
  transform: translateY(-5px);
  border-color: rgba(67, 229, 255, 0.56);
}

.product-media,
.post-media,
.main-image,
.article-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 26px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-media img,
.post-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 18px;
  background: radial-gradient(circle at 50% 25%, rgba(67, 229, 255, 0.16), transparent 48%), #edf3f7;
}

.post-media img {
  object-fit: cover;
  padding: 0;
}

.product-media span {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.75);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-body {
  padding-top: 18px;
}

.price {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 800;
}

.app-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(67, 229, 255, 0.45);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(67, 229, 255, 0.14), rgba(141, 123, 255, 0.12));
  box-shadow: inset 0 0 24px rgba(67, 229, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.22);
}

.app-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(67, 229, 255, 0.48));
}

.split-section,
.contact-layout,
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.ops-panel ul,
.spec-grid ul {
  padding-left: 20px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.26), rgba(67, 229, 255, 0.1));
}

.page-hero {
  padding-top: 150px;
  padding-bottom: 34px;
}

.detail-gallery,
.detail-content {
  min-width: 0;
}

.main-image img {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: contain;
  padding: 24px;
  background: radial-gradient(circle at 50% 22%, rgba(67, 229, 255, 0.18), transparent 52%), #eef4f7;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb-row button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.note {
  color: var(--green);
  font-size: 0.9rem;
}

.article-detail {
  max-width: 900px;
  padding-top: 150px;
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin: 30px 0;
}

.article-body {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.8;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 8, 15, 0.84);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
}

label {
  display: block;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 700;
}

.form-message {
  margin-bottom: 18px;
  padding: 12px;
  border-radius: var(--radius);
}

.success {
  background: rgba(109, 255, 184, 0.12);
  color: var(--green);
}

.error {
  background: rgba(255, 93, 93, 0.12);
  color: #ffaaaa;
}

.social-space {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(3, 6, 12, 0.86);
}

.footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatDrone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 7, 13, 0.96);
  }

  .nav.open {
    display: flex;
  }

  .hero,
  .split-section,
  .contact-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .application-grid,
  .blog-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-band,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, 1180px);
    padding: 68px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .drone-stage {
    min-height: 300px;
    border-radius: 28px;
  }

  .brand span:last-child {
    max-width: 190px;
  }

  .card-actions,
  .detail-actions,
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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