:root {
  --bg: #071014;
  --panel: #0d1a20;
  --panel-2: #10252b;
  --text: #edf8fb;
  --muted: #91aeb7;
  --line: rgba(123, 220, 235, 0.2);
  --cyan: #20d6f2;
  --blue: #2f7cf6;
  --green: #49e6a8;
  --red: #ff5b6e;
  --yellow: #ffd166;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(32, 214, 242, 0.18), transparent 36rem),
    radial-gradient(circle at 80% 18%, rgba(73, 230, 168, 0.09), transparent 34rem),
    linear-gradient(180deg, #071014 0%, #081316 46%, #0a1114 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 20, 0.82);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 8px;
  color: #051014;
  display: grid;
  height: 34px;
  place-items: center;
  width: 34px;
}

.site-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.header-cta,
.btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.header-cta,
.btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #031117;
}

.btn.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.nav-toggle { display: none; }

.section-shell {
  margin: 0 auto;
  max-width: 1200px;
  padding: 82px clamp(18px, 4vw, 32px);
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  min-height: calc(100vh - 64px);
  padding-top: 56px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
}

p { color: var(--muted); }

.hero-text {
  font-size: 18px;
  max-width: 720px;
}

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

.hero-proof span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c7e7ee;
  font-size: 13px;
  padding: 8px 12px;
}

.control-room,
.dashboard-card {
  background: linear-gradient(145deg, rgba(16, 37, 43, 0.94), rgba(6, 18, 22, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  padding: 14px;
}

.control-room {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 190px;
}

.camera-wall,
.dash-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.feed,
.dash-feed {
  background:
    linear-gradient(90deg, rgba(32, 214, 242, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(32, 214, 242, 0.05) 1px, transparent 1px),
    #08171c;
  background-size: 24px 24px;
  border: 1px solid rgba(123, 220, 235, 0.16);
  border-radius: 8px;
  min-height: 150px;
  overflow: hidden;
  position: relative;
}

.feed-large {
  grid-row: span 2;
  min-height: 310px;
}

.feed::after,
.dash-feed::after {
  background: linear-gradient(transparent, rgba(32, 214, 242, 0.18), transparent);
  content: "";
  height: 90px;
  left: 0;
  position: absolute;
  right: 0;
  top: 20%;
}

.feed-top,
.dash-top,
.status-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.feed-top {
  color: #bdeaf1;
  font-size: 12px;
  padding: 10px;
  position: relative;
  z-index: 2;
}

.feed-top b,
.dash-top b {
  color: var(--green);
}

.detect-box {
  border: 2px solid var(--cyan);
  color: #e9fdff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
  position: absolute;
  z-index: 3;
}

.person-one { height: 120px; left: 28%; top: 34%; width: 84px; }
.line-zone { border-color: var(--yellow); bottom: 26%; left: 12%; right: 12%; text-align: center; }
.worker { height: 72px; left: 36%; top: 38%; width: 92px; }
.vehicle { bottom: 28px; height: 54px; left: 18%; width: 132px; }
.missing { border-color: var(--red); bottom: 30px; left: 28%; width: 120px; }
.helmet-dot { background: var(--red); border-radius: 50%; height: 18px; left: 46%; position: absolute; top: 32%; width: 18px; z-index: 4; }

.alert-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert-card,
.timeline div,
.feature-grid article,
.step-row article,
.price-grid article,
.case-grid article,
.faq-list details {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.alert-card {
  padding: 14px;
}

.alert-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.alert-card strong,
.alert-card small {
  display: block;
}

.alert-card small {
  color: var(--muted);
  margin-top: 8px;
}

.mini-chart {
  align-items: end;
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(5, 1fr);
  height: 140px;
  padding: 12px;
}

.mini-chart span {
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  border-radius: 4px 4px 0 0;
}

.mini-chart span:nth-child(1) { height: 42%; }
.mini-chart span:nth-child(2) { height: 64%; }
.mini-chart span:nth-child(3) { height: 50%; }
.mini-chart span:nth-child(4) { height: 82%; }
.mini-chart span:nth-child(5) { height: 70%; }

.status-row {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding-top: 12px;
}

.status-row b { color: var(--green); }

.problem,
.dashboard,
.privacy,
.demo {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.8fr 1.2fr;
}

.comparison,
.privacy-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.comparison > div,
.comparison-head {
  display: grid;
  gap: 16px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 15px;
}

.comparison > div + div {
  border-top: 1px solid var(--line);
}

.comparison span { color: var(--muted); }
.comparison strong { color: var(--text); }
.comparison-head { background: rgba(32, 214, 242, 0.08); font-weight: 800; }

.section-title {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.feature-grid,
.price-grid,
.case-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article,
.step-row article,
.price-grid article,
.case-grid article {
  padding: 22px;
}

.feature-grid article span {
  color: var(--cyan);
  font-weight: 800;
}

.step-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, 1fr);
}

.step-row b {
  background: rgba(32, 214, 242, 0.12);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan);
  display: grid;
  height: 36px;
  margin-bottom: 16px;
  place-items: center;
  width: 36px;
}

.industry-grid,
.privacy-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, 1fr);
}

.industry-grid span,
.privacy-grid span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #d9f5fa;
  font-weight: 700;
  min-height: 84px;
  padding: 18px;
}

.privacy-grid span {
  border: 0;
  border-radius: 0;
}

.dashboard-copy ul {
  color: #d9f5fa;
  margin: 22px 0 0;
  padding-left: 20px;
}

.dashboard-card .detect-box {
  bottom: 22px;
  left: 18px;
}

.dash-top {
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.dash-feed {
  min-height: 118px;
}

.timeline {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.timeline div {
  display: grid;
  gap: 8px;
  grid-template-columns: 92px 1fr;
  padding: 12px;
}

.timeline b { color: var(--yellow); }
.timeline span { color: var(--muted); }

.price-grid article {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.price-grid strong {
  color: var(--text);
  margin: auto 0 22px;
}

.price-grid .featured {
  background: linear-gradient(180deg, rgba(32, 214, 242, 0.14), rgba(255, 255, 255, 0.035));
  border-color: rgba(32, 214, 242, 0.54);
}

.lead-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.lead-form label {
  color: #cceaf0;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: #071217;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.wide { grid-column: 1 / -1; }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 32px clamp(18px, 4vw, 32px);
}

.site-footer p { margin: 6px 0 0; }
.site-footer nav { display: flex; gap: 18px; color: var(--muted); }

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.nav-open .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    height: 42px;
    justify-self: end;
    padding: 10px;
    width: 42px;
  }

  .nav-toggle span {
    background: var(--text);
    display: block;
    height: 2px;
  }

  .hero,
  .problem,
  .dashboard,
  .privacy,
  .demo {
    grid-template-columns: 1fr;
  }

  .control-room {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .price-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-row,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  .section-shell {
    padding: 58px 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 42px;
  }

  .camera-wall,
  .feature-grid,
  .step-row,
  .industry-grid,
  .price-grid,
  .case-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .feed-large {
    min-height: 240px;
  }

  .comparison > div,
  .comparison-head,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
