/* ==========================================================================
   Hero Section — full-bleed background banner with a forest-green scrim
   and a schematic "targeting" motif (corner brackets + scanline) that
   nods to the surveillance/security subject matter.
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-ink-950);
  margin-bottom: 68px;
}

.hero__banner {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(0.9);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 20, 16, 0.94) 0%,
    rgba(9, 26, 19, 0.86) 32%,
    rgba(10, 30, 21, 0.5) 58%,
    rgba(10, 30, 21, 0.14) 78%,
    rgba(10, 30, 21, 0) 100%
  );
}

/* Faint scanline / grid overlay — technical, not decorative gloss */
.hero__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 184, 102, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 184, 102, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(100deg, black 0%, black 45%, transparent 82%);
}

.hero__content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 24px;
  padding-left: max(24px, calc((100vw - var(--container-width)) / 2 + 24px));
}

.hero__content {
  max-width: 600px;
  transition: opacity 0.18s ease;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(34, 184, 102, 0.1);
  border: 1px solid rgba(34, 184, 102, 0.3);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: 26px;
}

.hero__stars {
  color: var(--color-amber-500);
  font-size: 13px;
  letter-spacing: 1px;
}

.hero__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.hero__subtitle {
  margin-top: 20px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.hero__checklist {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  font-weight: 500;
}

.hero__checklist svg {
  width: 19px;
  height: 19px;
  color: var(--color-green-500);
  flex-shrink: 0;
}

.btn-cta {
  margin-top: 34px;
  background: var(--gradient-accent);
  color: var(--color-ink-950);
  box-shadow: 0 14px 30px rgba(242, 169, 60, 0.3);
}
.btn-cta:hover { box-shadow: 0 18px 36px rgba(242, 169, 60, 0.4); }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-green-800);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.15s ease, color 0.15s ease;
}
.hero__arrow:hover { background: var(--color-white); color: var(--color-green-600); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* Tab carousel — floating spec-sheet card overlapping the banner's
   bottom edge, each tab numbered like a system readout. */
.hero__tabs {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: min(calc(100% - 48px), var(--container-width));
  z-index: 3;
}

.hero__tabs-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-line-200);
}

.hero__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 10px 18px;
  background: var(--color-white);
  color: var(--color-ink-500);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  border-right: 1px solid var(--color-line-200);
  transition: background 0.2s ease, color 0.2s ease;
}

.hero__tab:last-child { border-right: none; }

.hero__tab::before {
  content: counter(tab-index, decimal-leading-zero);
  counter-increment: tab-index;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-ink-300);
  letter-spacing: 0.05em;
}

.hero__tabs-inner { counter-reset: tab-index; }

.hero__tab svg {
  width: 22px;
  height: 22px;
}

.hero__tab:hover {
  background: var(--color-paper-50);
  color: var(--color-green-700);
}

.hero__tab.is-active {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: inset 0 -3px 0 var(--color-amber-500);
}
.hero__tab.is-active::before { color: rgba(255, 255, 255, 0.6); }

@media (max-width: 992px) {
  .hero { margin-bottom: 0; }
  .hero__banner { min-height: 560px; padding-bottom: 40px; }
  .hero__content-wrap { padding: 70px 20px; }
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(8, 20, 16, 0.55) 0%,
      rgba(8, 20, 16, 0.86) 55%,
      rgba(8, 20, 16, 0.96) 100%
    );
  }
  .hero__tabs {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 24px;
  }
  .hero__tabs-inner {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 0;
    box-shadow: none;
  }
  .hero__tab { border-bottom: 1px solid var(--color-line-200); }
}

@media (max-width: 560px) {
  .hero__banner { min-height: 620px; }
  .hero__arrow { display: none; }
  .hero__tabs-inner { grid-template-columns: repeat(2, 1fr); }
}
