/* ══════════════════════════════════════════════════════════
   Huntress landing page
   Palette sampled directly from huntress.com's shipped CSS
   (#d40f5d brand magenta, #29d3d8 glow cyan, #050707 near-black,
   #056af9 secondary blue, #3a3a3a line colour) — verified, not guessed.

   Deliberately built with a different anatomy from every other vendor
   page on this site. Where Sectigo used a dashboard-tile hero, marquee
   bands, a divided stat strip, a workflow rail, a staggered ladder and
   scroll-snap testimonials, this page leans into Huntress's own
   "hackers wrecked" / threat-hunting tone instead:
   a live threat-feed hero panel, a bento-box stat wall, alternating
   dossier rows, a docket-style product roster, ticket/case-file threat
   cards, and an asymmetric featured-quote + row testimonial layout.
   ══════════════════════════════════════════════════════════ */

:root {
  --hu-black: #050707;        /* verified brand near-black */
  --hu-black-2: #0d1011;      /* slightly lifted, for layering on black */
  --hu-pink: #d40f5d;         /* verified brand magenta */
  --hu-pink-dk: #a50b48;      /* computed: pink scaled x0.78 */
  --hu-pink-tint: #fdeaf1;
  --hu-cyan: #29d3d8;         /* verified glow accent */
  --hu-cyan-dk: #1d979b;      /* computed: cyan scaled x0.72 */
  --hu-cyan-tint: #e8fafb;
  --hu-blue: #056af9;         /* verified secondary accent */
  --hu-line: #3a3a3a;         /* verified line/border colour on dark */
  --hu-gray-1: #f2f7f7;       /* verified light bg */
  --hu-gray-2: #e2e8e8;
  --hu-gray-3: #b7c0c0;
  --hu-muted: #5c6666;
  --hu-text: #10161a;
  --hu-white: #ffffff;

  /* Cancels the Bootstrap 5 .container gutter this page is rendered inside,
     so full-bleed bands run edge to edge. Falls back to 1.5rem if absent. */
  --hu-bleed: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
}

/* ── IMAGE FRAME (single supporting screenshot on this page) ── */
.hu-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--hu-gray-1);
}

@supports not (aspect-ratio: 16 / 9) {
  .hu-img-frame {
    height: 0;
    padding-bottom: 56.25%;
  }
}

.hu-img-frame > img,
.hu-img-frame > .hu-img-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hu-img-cover {
  object-fit: cover;
  object-position: center;
}

.hu-img-contain {
  object-fit: contain;
  object-position: center;
  padding: 24px;
}

.hu-img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(212, 15, 93, 0.05) 0px,
      rgba(212, 15, 93, 0.05) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--hu-gray-1);
  border: 2px dashed var(--hu-gray-3);
  border-radius: 14px;
  color: var(--hu-muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.hu-img-ph i {
  font-size: 26px;
  opacity: 0.55;
}

.hu-frame-console {
  max-width: 900px;
  margin: 56px auto 0;
}

/* ── SHARED SECTION FURNITURE ── */
.hu-section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.hu-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hu-muted);
  margin-bottom: 14px;
  position: relative;
  padding-left: 26px;
}

.hu-kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 3px;
  background: var(--hu-pink);
  transform: translateY(-50%);
}

.hu-h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--hu-text);
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.hu-sub {
  font-size: clamp(14px, 1rem, 1.05rem);
  color: var(--hu-muted);
  line-height: 1.7;
  margin: 0;
}

.hu-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  color: var(--hu-white);
  background: rgba(255, 255, 255, 0.14);
}

/* ── BUTTONS ── */
.hu-btn-primary {
  background: var(--hu-pink);
  color: var(--hu-white) !important;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--hu-pink);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.hu-btn-primary:hover {
  background: var(--hu-pink-dk);
  border-color: var(--hu-pink-dk);
  color: var(--hu-white) !important;
  text-decoration: none;
  transform: translateY(-2px);
}

.hu-btn-ghost {
  background: transparent;
  color: var(--hu-white) !important;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, background 0.2s;
}

.hu-btn-ghost:hover {
  border-color: var(--hu-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--hu-white) !important;
  text-decoration: none;
}

.hu-btn-ghost-dark {
  border-color: rgba(255, 255, 255, 0.35);
}

/* ══════════ HERO ══════════ */
.hu-hero {
  background: var(--hu-black);
  margin: 0 var(--hu-bleed);
  padding: 76px 30px 84px;
  position: relative;
  overflow: hidden;
}

.hu-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 15, 93, 0.18), rgba(212, 15, 93, 0) 65%);
  pointer-events: none;
}

.hu-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hu-hero-visual {
  min-width: 0;
}

.hu-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hu-cyan);
  margin-bottom: 18px;
}

.hu-hero-text h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: var(--hu-white);
  line-height: 1.1;
  letter-spacing: -1.1px;
  margin-bottom: 18px;
}

.hu-hero-text h1 .hu-accent {
  color: var(--hu-pink);
}

.hu-hero-text > p {
  font-size: clamp(15px, 1.05rem, 1.1rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 30px;
}

.hu-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hu-hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.hu-stars {
  color: #ffb54a;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Hero photo frame — locked close to the source image's own ratio (1000x667,
   ~3:2) so cover-fit crops as little as possible. */
.hu-frame-hero {
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

@supports not (aspect-ratio: 3 / 2) {
  .hu-frame-hero {
    height: 0;
    padding-bottom: 66.67%;
  }
}

@media (max-width: 900px) {
  .hu-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hu-hero-text > p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hu-hero {
    padding: 56px 22px 62px;
  }
}

/* ══════════ RECOGNITION PILLS ══════════ */
.hu-recognition {
  background: var(--hu-black-2);
  margin: 0 var(--hu-bleed);
  padding: 26px 30px;
}

.hu-recognition-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hu-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hu-line);
  border-radius: 50px;
  padding: 8px 16px;
}

.hu-pill i {
  color: var(--hu-cyan);
  font-size: 14px;
}

@media (max-width: 640px) {
  .hu-recognition {
    padding: 22px 20px;
  }
}

/* ══════════ STAT BENTO ══════════ */
.hu-stats {
  background: var(--hu-white);
  padding: 60px 30px;
}

.hu-stat-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 128px;
  gap: 14px;
}

.hu-stat-tile {
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hu-gray-1);
  border: 1px solid var(--hu-gray-2);
}

/* The "hero" tile — biggest number, spans two columns and two rows */
.hu-stat-hero {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--hu-black);
  border-color: var(--hu-black);
  justify-content: flex-end;
}

.hu-stat-hero .hu-stat-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--hu-pink);
}

.hu-stat-hero .hu-stat-label {
  color: rgba(255, 255, 255, 0.65);
}

.hu-stat-accent {
  background: var(--hu-cyan-tint);
  border-color: rgba(41, 211, 216, 0.35);
}

.hu-stat-accent .hu-stat-num {
  color: var(--hu-cyan-dk);
}

.hu-stat-num {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--hu-text);
  letter-spacing: -0.8px;
  line-height: 1.05;
}

.hu-plus {
  color: var(--hu-pink);
}

.hu-stat-hero .hu-plus {
  color: var(--hu-cyan);
}

.hu-stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hu-muted);
  margin-top: 8px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hu-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .hu-stat-hero {
    grid-column: span 2;
    grid-row: span 1;
    padding: 30px 22px;
  }
  .hu-stat-tile {
    min-height: 110px;
  }
}

@media (max-width: 560px) {
  .hu-stat-grid {
    grid-template-columns: 1fr;
  }
  .hu-stat-hero {
    grid-column: span 1;
  }
  .hu-stats {
    padding: 44px 20px;
  }
}

/* ══════════ DOSSIER ROWS ══════════ */
.hu-pillars {
  background: var(--hu-white);
}

.hu-pillar {
  padding: 56px 30px;
  border-bottom: 1px solid var(--hu-gray-2);
}

.hu-pillar-alt {
  background: var(--hu-gray-1);
}

.hu-pillar {
  display: flex;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
}

.hu-pillar-num {
  flex-shrink: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--hu-gray-3);
  letter-spacing: -1px;
  line-height: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hu-pillar-body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--hu-text);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.hu-pillar-body p {
  font-size: 14.5px;
  color: var(--hu-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.hu-pillar-proof {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hu-pink-dk);
  background: var(--hu-pink-tint);
  border-radius: 6px;
  padding: 7px 13px;
}

@media (max-width: 640px) {
  .hu-pillar {
    padding: 40px 20px;
    gap: 18px;
  }
  .hu-pillar-num {
    font-size: 1.6rem;
  }
}

/* ══════════ PRODUCT ROSTER ══════════ */
.hu-products {
  background: var(--hu-gray-1);
  padding: 84px 30px;
}

.hu-roster {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.hu-roster-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hu-gray-2);
}

.hu-roster-row:last-child {
  border-bottom: none;
}

.hu-roster-badge {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 10px;
  background: var(--hu-black);
  color: var(--hu-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.hu-roster-body {
  flex: 1;
  min-width: 0;
}

.hu-roster-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.hu-roster-top h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--hu-text);
  letter-spacing: -0.2px;
  margin: 0;
}

.hu-roster-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hu-pink-dk);
  background: var(--hu-pink-tint);
  border-radius: 50px;
  padding: 3px 11px;
}

.hu-roster-body p {
  font-size: 13.5px;
  color: var(--hu-muted);
  line-height: 1.62;
  margin: 0;
}

@media (max-width: 640px) {
  .hu-products {
    padding: 52px 20px;
  }
  .hu-roster-badge {
    width: 52px;
    height: 52px;
    font-size: 10.5px;
  }
}

/* ══════════ THREAT CASE FILES ══════════ */
.hu-threats {
  background: var(--hu-white);
  padding: 84px 30px;
}

.hu-case-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hu-case {
  border: 1px solid var(--hu-gray-2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--hu-white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.hu-case:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.hu-case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--hu-black);
}

.hu-case-id {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hu-case-sev {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 4px;
}

.hu-sev-critical {
  color: var(--hu-white);
  background: var(--hu-pink);
}

.hu-sev-high {
  color: var(--hu-pink);
  background: rgba(212, 15, 93, 0.18);
}

.hu-sev-medium {
  color: #ffb54a;
  background: rgba(255, 181, 74, 0.16);
}

.hu-sev-low {
  color: var(--hu-cyan);
  background: rgba(41, 211, 216, 0.14);
}

/* Dashed divider simulates a torn ticket stub between header and body */
.hu-case-body {
  padding: 22px 18px 20px;
  border-top: 2px dashed var(--hu-gray-2);
}

.hu-case-figure {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--hu-pink-dk);
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hu-case-body h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--hu-text);
  margin-bottom: 8px;
}

.hu-case-body p {
  font-size: 13px;
  color: var(--hu-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .hu-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hu-threats {
    padding: 52px 20px;
  }
  .hu-case-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════ TESTIMONIALS ══════════ */
.hu-testimonials {
  background: var(--hu-gray-1);
  padding: 84px 30px;
}

.hu-testimonial-featured {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.hu-testimonial-featured i {
  font-size: 34px;
  color: var(--hu-pink);
  opacity: 0.4;
}

.hu-testimonial-featured blockquote {
  font-size: clamp(18px, 2.2vw, 1.55rem);
  font-weight: 600;
  color: var(--hu-text);
  line-height: 1.5;
  letter-spacing: -0.3px;
  margin: 14px 0 20px;
}

.hu-testimonial-featured figcaption strong {
  display: block;
  font-size: 14.5px;
  color: var(--hu-text);
}

.hu-testimonial-featured figcaption span {
  font-size: 13px;
  color: var(--hu-muted);
}

.hu-testimonial-row {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hu-testimonial-card {
  background: var(--hu-white);
  border: 1px solid var(--hu-gray-2);
  border-radius: 12px;
  padding: 22px 20px;
  margin: 0;
}

.hu-testimonial-card blockquote {
  font-size: 13.5px;
  color: var(--hu-text);
  line-height: 1.6;
  margin: 0 0 14px;
}

.hu-testimonial-card figcaption strong {
  display: block;
  font-size: 13px;
  color: var(--hu-text);
}

.hu-testimonial-card figcaption span {
  font-size: 12px;
  color: var(--hu-muted);
}

@media (max-width: 820px) {
  .hu-testimonial-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hu-testimonials {
    padding: 52px 20px;
  }
}

/* ══════════ CTA ══════════ */
.hu-cta {
  background: linear-gradient(120deg, var(--hu-black) 0%, var(--hu-black-2) 55%, var(--hu-pink-dk) 150%);
  margin: 0 var(--hu-bleed);
  padding: 84px 30px;
  text-align: center;
}

.hu-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hu-cta h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--hu-white);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.hu-cta p {
  font-size: clamp(14px, 1rem, 1.05rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin: 0 auto 30px;
}

.hu-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hu-cta {
    padding: 52px 20px;
  }
}
