/* DroneScan — rebuilt static site
   Sister design system to ScanMan. Same structural DNA (dark ink shell,
   mono data type, card grids), and now the same brand green accent
   sampled from the ScanMan logo, in place of the earlier sky-cyan. */

:root {
  --ink:        #0d1117;
  --steel:      #161c26;
  --steel-2:    #1e2632;
  --line:       #2c3644;
  --paper:      #f5f7fa;
  --paper-2:    #e6ebf2;
  --mute:       #64748b;
  --mute-2:     #94a3b8;
  --sky:        #8cc63f;   /* brand green — shared with ScanMan */
  --sky-deep:   #279141;   /* deeper brand green — text/hover emphasis */
  --live:       #34d399;   /* status green */
  --alert:      #fb923c;   /* bin error amber */
  --white:      #ffffff;
  --shadow:     0 1px 2px rgba(13,17,23,.06), 0 8px 30px rgba(13,17,23,.08);
  --radius:     14px;
  --maxw:       1120px;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky-deep);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sky-deep); display: inline-block; }
.panel-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--sky); }
.panel-dark .eyebrow::before, .hero .eyebrow::before, .page-hero .eyebrow::before { background: var(--sky); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .logo {
  height: 46px; width: auto; display: block;
  background: var(--white); border-radius: 8px;
  padding: 6px 11px;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--mute-2);
  padding: 9px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--ink); background: var(--sky); }

.nav-links a.nav-hot {
  color: var(--ink); background: var(--sky); font-weight: 700;
  animation: hot-pulse 2.4s ease-in-out infinite;
}
.nav-links a.nav-hot:hover { color: var(--ink); background: var(--sky); filter: brightness(1.08); }
@keyframes hot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(140,198,63,.45); }
  50% { box-shadow: 0 0 0 6px rgba(140,198,63,0); }
}
@media (prefers-reduced-motion: reduce) { .nav-links a.nav-hot { animation: none; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em; color: var(--ink); background: var(--sky);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
  animation: hot-pulse 2.4s ease-in-out infinite;
}
.hero-badge:hover { filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sky { background: var(--sky); color: var(--ink); box-shadow: 0 6px 20px rgba(39,145,65,.3); }
.btn-sky:hover { box-shadow: 0 10px 28px rgba(39,145,65,.42); }
.btn-ghost { border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--steel); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 96px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(44,54,68,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,54,68,.4) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .hl { color: var(--sky); }
.hero-lede { font-size: 1.2rem; color: var(--mute-2); max-width: 36ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; color: var(--sky); }
.hero-stats .lbl { font-size: 12.5px; color: var(--mute-2); }

/* on-drone display mock */
.scan-card { background: var(--steel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.scan-card .bar {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--mute-2);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.scan-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(52,211,153,.18); display:inline-block; }
.scan-window { position: relative; background: #070a0e; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.scan-beam { position: absolute; left: 0; right: 0; height: 2px; background: var(--sky); box-shadow: 0 0 14px 2px var(--sky); animation: sweep 2.6s ease-in-out infinite; }
@keyframes sweep { 0%,100% { top: 12%; } 50% { top: 86%; } }
.scan-rows { padding: 16px; font-family: var(--font-mono); font-size: 12.5px; }
.scan-rows .r { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--mute-2); }
.scan-rows .r:last-child { border-bottom: 0; }
.scan-rows .r b { color: var(--sky); font-weight: 500; }
.scan-rows .r .ok { color: var(--live); }
.scan-rows .r .err { color: var(--alert); }
@media (prefers-reduced-motion: reduce) { .scan-beam { animation: none; top: 50%; } }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--mute); }
.panel-dark { background: var(--ink); color: var(--white); }
.panel-dark h2, .panel-dark h3 { color: var(--white); }
.panel-dark .lead, .panel-dark p { color: var(--mute-2); }
.panel-steel { background: var(--paper-2); }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }

.card { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(13,17,23,.12); }
.card .ic { width: 46px; height: 46px; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--mute); font-size: 15px; margin: 0; }
.panel-dark .card { background: var(--steel); border-color: var(--line); }
.panel-dark .card p { color: var(--mute-2); }

/* product cards */
.product-card { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(13,17,23,.14); }
.product-card .media { background: var(--ink); padding: 20px; }
.product-card .media.light { background: var(--paper-2); }
.product-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.product-card .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 8px; }
.product-card p { color: var(--mute); font-size: 15px; flex: 1; }
.product-card .more { font-family: var(--font-mono); font-size: 13px; color: var(--sky-deep); margin-top: 14px; }
.product-card:hover .more { text-decoration: underline; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { background: var(--paper-2); border-radius: var(--radius); border: 1px solid var(--paper-2); padding: 30px; box-shadow: var(--shadow); }
.panel-dark .split-media { background: var(--steel); border-color: var(--line); }

.feature-list { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 15px; color: var(--mute); }
.panel-dark .feature-list li { color: var(--mute-2); }
.feature-list li::before { content: ""; flex: 0 0 auto; margin-top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--sky); }
.feature-list li b { color: var(--ink); }
.panel-dark .feature-list li b { color: var(--white); }

.checks { list-style: none; margin: 20px 0 0; padding: 0; columns: 2; column-gap: 30px; }
.checks li { break-inside: avoid; padding: 7px 0 7px 28px; position: relative; font-size: 15px; color: var(--mute); }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 9px; border-left: 2.5px solid var(--live); border-bottom: 2.5px solid var(--live); transform: rotate(-45deg); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step .n { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink); background: var(--sky); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 12px; }
.step p { color: var(--mute); font-size: 14.5px; margin: 0; }

/* quote */
.quote-band { background: var(--steel); color: var(--white); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.quote-item { border-left: 3px solid var(--sky); padding-left: 22px; }
.quote-item blockquote { font-size: 1.15rem; font-weight: 500; margin: 0 0 14px; letter-spacing: -.01em; }
.quote-item cite { font-family: var(--font-mono); font-size: 12.5px; color: var(--mute-2); font-style: normal; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--paper-2); border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; color: var(--sky-deep); flex: 0 0 auto; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--mute); font-size: 15px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* spec list */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--paper-2); }
.spec-row dt { font-weight: 600; font-size: 14.5px; }
.spec-row dd { margin: 0; font-family: var(--font-mono); font-size: 13.5px; color: var(--mute); text-align: right; }
.panel-dark .spec-row { border-color: var(--line); }
.panel-dark .spec-row dd { color: var(--mute-2); }

/* cycling image gallery (tall product shots / renders) */
.img-cycle {
  position: relative; width: 100%; max-width: 260px; aspect-ratio: 1 / 3;
  margin: 0 auto; background: var(--white); border: 1px solid var(--paper-2);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.img-cycle img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 10px; opacity: 0;
  animation: img-fade 15s ease-in-out infinite;
}
.img-cycle img:nth-child(2) { animation-delay: 3s; }
.img-cycle img:nth-child(3) { animation-delay: 6s; }
.img-cycle img:nth-child(4) { animation-delay: 9s; }
.img-cycle img:nth-child(5) { animation-delay: 12s; }
@keyframes img-fade {
  0%, 100% { opacity: 0; }
  1.5%, 18.5% { opacity: 1; }
  20% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .img-cycle img { animation: none; opacity: 0; }
  .img-cycle img:first-child { opacity: 1; }
}

/* press logos */
.press { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.press a {
  font-family: var(--font-mono); font-size: 13px; color: var(--mute);
  border: 1px solid var(--paper-2); background: var(--white);
  padding: 10px 18px; border-radius: 999px; transition: all .15s;
}
.press a:hover { color: var(--sky-deep); border-color: var(--sky); transform: translateY(-2px); }

/* CTA */
.cta-band { background: var(--sky); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); max-width: 22ch; margin: 0; }
.cta-band p { color: #06384d; margin: 8px 0 0; font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--paper-2); border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(140,198,63,.25); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 32px; }
.contact-card h3 { color: var(--white); }
.contact-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: 5px; }
.contact-item .v { color: var(--mute-2); font-size: 15px; }
.contact-item a.v:hover { color: var(--white); }
.form-note { font-size: 13px; color: var(--mute); margin-top: 10px; }

/* page hero */
.page-hero { background: var(--ink); color: var(--white); padding: 84px 0 72px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(44,54,68,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(44,54,68,.35) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 70%); opacity: .55;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .lead { color: var(--mute-2); max-width: 56ch; }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.crumbs a:hover { color: var(--sky); }

/* footer */
.site-footer { background: var(--ink); color: var(--mute-2); padding: 56px 0 30px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--mute-2); }
.footer-links a:hover { color: var(--sky); }
.social { display: flex; gap: 12px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; }
.social a:hover { border-color: var(--sky); background: rgba(140,198,63,.08); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; font-size: 12.5px; font-family: var(--font-mono); }
.footer-bottom a:hover { color: var(--sky); }

/* responsive */
@media (max-width: 980px) { .g-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .g-3, .steps, .specs, .g-2 { grid-template-columns: 1fr; }
  .checks { columns: 1; }
}
@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  section, .hero { padding: 64px 0; }
  .g-5 { grid-template-columns: 1fr; }
}
