/* ============================================================
   AeroTech UAV — Service Page Stylesheet
   Matches the live aerotechuav.com liquid-glass design system
   (Inter, real logo, #27AE60/#2ECC71 green, ambient glow, frosted glass).
   ============================================================ */

:root {
  --green: #27AE60;
  --green-bright: #2ECC71;
  --blue: #2DA8FF;
  --ink: #0d1117;
  --text: #e8edf4;
  --muted: #93a1b3;
  --line: rgba(255,255,255,0.08);
  --radius: 16px;
  --grad: linear-gradient(135deg, var(--green), var(--blue));
  --shadow: 0 14px 40px rgba(0,0,0,0.34);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #070b11;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* Ambient liquid-glass color field — identical to the home page */
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(420px 420px at 14% 18%, rgba(39,174,96,0.28), transparent 62%),
    radial-gradient(520px 520px at 86% 12%, rgba(45,168,255,0.26), transparent 62%),
    radial-gradient(560px 560px at 78% 72%, rgba(39,174,96,0.20), transparent 62%),
    radial-gradient(500px 500px at 18% 82%, rgba(45,168,255,0.20), transparent 62%),
    radial-gradient(600px 600px at 50% 50%, rgba(45,168,255,0.10), transparent 70%);
  filter: blur(20px);
  animation: drift 24s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(7,11,17,0.55) 100%);
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

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

/* ---------- Navigation (dark glass, real logo) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 96px; padding: 0 40px;
  background: rgba(9,13,19,0.72);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 72px; width: auto; transition: transform .2s ease; }
.nav-logo:hover img { transform: scale(1.03); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { color: rgba(255,255,255,0.82); font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--green-bright); }
.nav-cta {
  background: var(--grad); color: #fff !important;
  padding: 12px 22px; border-radius: 12px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(39,174,96,0.28); transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(45,168,255,0.4); }

/* ---------- Layout shell ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- Breadcrumb ---------- */
.crumb {
  font-size: 13px; color: var(--muted); padding: 30px 0 0; letter-spacing: 0.3px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--green-bright); }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 52px; border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--green-bright); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 56px); font-weight: 900; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 18px; max-width: 18ch;
}
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 62ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px;
  border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(39,174,96,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(45,168,255,0.4); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: var(--line); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ---------- Spectral legend bar (signature element) ---------- */
.spectral { margin: 34px 0 4px; }
.spectral-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 8px;
}
.spectral-bar {
  height: 14px; border-radius: 7px; margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.spectral-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

/* ---------- Content sections ---------- */
.section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: none; }
.section h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section h2 .accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section p { color: var(--muted); max-width: 66ch; margin-bottom: 14px; font-size: 16px; }

/* ---------- Detect / deliverables grid (frosted glass) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 24px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-5px); border-color: rgba(46,204,113,0.6);
  box-shadow: 0 18px 46px rgba(0,0,0,0.4), 0 0 0 1px rgba(46,204,113,0.25), inset 0 1px 0 rgba(255,255,255,0.25);
}
.card-icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 24px;
  margin-bottom: 14px; background: rgba(39,174,96,0.12); border: 1px solid rgba(39,174,96,0.25);
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-top: 20px; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); font-size: 16px; }
.checklist li::before {
  content: '✓'; color: var(--green-bright); font-weight: 800; flex-shrink: 0;
  background: rgba(39,174,96,0.15); width: 24px; height: 24px; border-radius: 7px;
  display: inline-grid; place-items: center; font-size: 13px; margin-top: 2px;
}
.checklist strong { color: var(--text); font-weight: 700; }

/* ---------- Tag row ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 20px;
  background: rgba(39,174,96,0.1); color: var(--green-bright); border: 1px solid rgba(39,174,96,0.2);
}

/* ---------- CTA band (frosted glass) ---------- */
.cta-band {
  text-align: center; padding: 56px 24px; margin: 52px 0; border-radius: 20px;
  background: linear-gradient(160deg, rgba(45,168,255,0.16), rgba(39,174,96,0.10));
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.cta-band h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; font-size: 17px; }

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line); padding: 36px 40px; text-align: center;
  color: var(--muted); font-size: 13px;
}
.foot a { color: var(--text); opacity: .85; }
.foot a:hover { color: var(--green-bright); opacity: 1; }
.foot-links { margin-bottom: 12px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { padding: 0 20px; height: 80px; }
  .nav-logo img { height: 56px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .crumb { padding-top: 22px; }
}
