/* ============================================================
   Pro ASIC Miner Repair LLC — hero.css
   ============================================================ */

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 88px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(21,101,192,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(33,150,243,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-wash-2);
  background: rgba(33,150,243,0.12);
  border: 1px solid rgba(33,150,243,0.25);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero visual */
.hero-img-wrap {
  position: relative;
}
.hero-img-placeholder {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 10px, transparent 10px, transparent 20px),
    var(--navy-3);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.hip-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 1rem;
  line-height: 1.6;
}
.hero-img-badge {
  position: absolute;
  bottom: -18px; right: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-blue);
  line-height: 1.3;
}
.hero-img-badge strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--white); }
.hero-img-badge span { font-size: 0.75rem; opacity: 0.85; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
}
@media (max-width: 580px) {
  .hero { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 56px; }
}


/* ============================================================
   51. HERO DENSITY — INFORMATION-FIRST LAYOUT
   ============================================================ */

/* Section container — reduce padding, remove excess height */
.hero {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 48px;
}

/* Grid — tighter gap, image column narrower, align top */
.hero-inner {
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  align-items: start;
}

/* H1 — controlled range, tighter line-height */
.hero h1 {
  font-size: clamp(3.25rem, 5vw, 4rem); /* 52px–64px */
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

/* Subtitle — smaller, denser */
.hero-sub {
  font-size: 0.975rem;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 1rem;
}

/* Bullet facts — compact cards */
.hero-facts {
  gap: 0.4rem;
  margin: 0.85rem 0 1rem;
  max-width: 500px;
}
.hero-facts li {
  padding: 0.48rem 0.85rem 0.48rem 2rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  line-height: 1.45;
}
.hero-facts li::before {
  top: 0.46rem;
  left: 0.75rem;
  font-size: 0.8rem;
}

/* CTA row */
.hero-ctas {
  gap: 0.75rem;
  margin-top: 0.1rem;
}

/* Response note — tighter */
.hero-response-note {
  margin-top: 0.55rem;
  font-size: 0.78rem;
}

/* Stats HUD — compact */
.hero-stats {
  margin-top: 1.1rem;
}
.hstat {
  padding: 0.65rem 0.5rem;
}
.hstat-val {
  font-size: 1rem;
}
.hstat-label {
  font-size: 0.56rem;
}

/* Image — aspect ratio less tall, capped height */
.hero-img-placeholder {
  aspect-ratio: 16/10;
  max-height: 280px;
  border-radius: var(--radius-lg);
}
.hero-img-badge {
  bottom: -14px;
  right: 16px;
  padding: 0.6rem 1rem;
}
.hero-img-badge strong { font-size: 0.92rem; }
.hero-img-badge span { font-size: 0.68rem; }

/* Desktop breakpoint — keep image column from disappearing too early */
@media (max-width: 1060px) and (min-width: 901px) {
  .hero-inner { grid-template-columns: 1fr 300px; gap: 2.5rem; }
}

/* Tablet — single column, reduce padding further */
@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--nav-height) + 28px);
    padding-bottom: 40px;
  }
  .hero h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); }
}

/* Mobile */
@media (max-width: 580px) {
  .hero {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 36px;
  }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); line-height: 1.15; }
  .hero-sub { font-size: 0.92rem; }
  .hero-facts li { font-size: 0.82rem; }
}

/* ============================================================
   52. HERO PRECISION OVERRIDE — INFORMATION-FIRST
   ============================================================ */

.hero {
  min-height: auto !important;
  padding-top: calc(var(--nav-height) + 76px + 8px) !important;
  padding-bottom: 24px !important;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) 400px !important;
  gap: 2.25rem !important;
  align-items: center !important;
}

.hero h1 {
  font-size: clamp(2rem, 2.6vw, 2.8rem) !important;
  font-weight: 800 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.035em !important;
  max-width: 680px !important;
  margin-bottom: 0.45rem !important;
}

.hero-tag {
  margin-bottom: 0.75rem !important;
}

.h1-break {
  display: block;
  height: 0.14em;
}

.hero-sub {
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  max-width: 520px !important;
  margin-bottom: 0.5rem !important;
  color: rgba(255,255,255,0.68) !important;
}

.hero-badges {
  margin: 0.45rem 0 0 !important;
  gap: 0.4rem !important;
}

.hero-platforms {
  gap: 0.28rem !important;
  margin-top: 0.28rem !important;
  margin-bottom: 0 !important;
}

.hero-facts {
  gap: 0.45rem !important;
  margin: 0.75rem 0 0.9rem !important;
  max-width: 620px !important;
}

.hero-facts li {
  padding: 0.55rem 0.85rem 0.55rem 2.15rem !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
}

.hero-ctas {
  gap: 0.7rem !important;
  margin-top: 0.4rem !important;
}

.hero-ctas .btn-lg {
  padding: 0.65rem 1.25rem !important;
  font-size: 0.875rem !important;
}

.hero-ops-note {
  margin-top: 0.4rem !important;
}

.hero-response-note {
  margin-top: 0.6rem !important;
  font-size: 0.78rem !important;
}

.hero-img-placeholder {
  max-height: 285px !important;
  aspect-ratio: 16 / 10 !important;
}

.hero-stats {
  margin-top: 1rem !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
}

.hstat {
  padding: 0.55rem 0.6rem !important;
}

.hstat-val {
  font-size: 0.92rem !important;
}

.hstat-label {
  font-size: 0.68rem !important;
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--nav-height) + 62px + 18px) !important;
    padding-bottom: 44px !important;
  }

  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 5vw, 3rem) !important;
    font-weight: 800 !important;
    line-height: 0.95 !important;
    letter-spacing: -0.03em !important;
    max-width: 100% !important;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--nav-height) + 62px + 4px) !important;
    padding-bottom: 20px !important;
  }

  /* prevent text clipping against manufacturer bar */
  .hero-inner {
    padding-top: 0.75rem !important;
  }

  .hero-text {
    overflow: visible !important;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.35rem) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    max-width: 100% !important;
    margin-top: 0.5rem !important;
    overflow: visible !important;
  }

  .h1-break { height: 0.1em; }

  .hero-sub {
    font-size: 0.82rem !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-badges {
    gap: 0.35rem !important;
    margin: 0.35rem 0 0 !important;
  }

  .hb-item {
    font-size: 0.68rem !important;
    padding: 0.28rem 0.55rem !important;
    line-height: 1.1 !important;
  }

  .hero-ctas {
    margin-top: 0.45rem !important;
    gap: 0.55rem !important;
  }

  .hero-ctas .btn-lg {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }
}

/* ============================================================
   65. HERO MANUFACTURER COMPATIBILITY BAR
   ============================================================ */
.hero-mfr-bar {
  position: absolute;
  top: var(--nav-height);
  left: 0; right: 0;
  z-index: 3;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(7,18,38,0.68);
  border-top: 1px solid rgba(33,150,243,0.09);
  border-bottom: 1px solid rgba(33,150,243,0.13);
  backdrop-filter: blur(8px);
}
.hero-mfr-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}
.hero-mfr-eyebrow {
  font-family: 'Courier New', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(144, 202, 249, 0.92);
  font-weight: 800;
  text-shadow: 0 0 12px rgba(33, 150, 243, 0.18);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-mfr-brands {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.hero-mfr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.8rem;
  gap: 0.2rem;
}
.hero-mfr-item:hover .hero-mfr-name {
  color: rgba(255,255,255,0.80);
  text-shadow: 0 0 20px rgba(33,150,243,0.3);
}
.hero-mfr-name {
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  transition: color 0.25s, text-shadow 0.25s;
  line-height: 1;
}
.hero-mfr-sub {
  font-size: 0.59rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.20);
  line-height: 1;
}
.hero-mfr-div {
  width: 1px;
  height: 26px;
  background: rgba(33,150,243,0.15);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-mfr-eyebrow { display: none; }
  .hero-mfr-brands { justify-content: space-evenly; }
  .hero-mfr-item { padding: 0 1rem; }
}
@media (max-width: 420px) {
  .hero-mfr-bar { height: 62px; }
  .hero-mfr-name { font-size: 0.76rem; letter-spacing: 0.1em; }
  .hero-mfr-sub { display: none; }
  .hero-mfr-item { padding: 0 0.6rem; }
}


/* ============================================================
   58. HERO BADGES + MIN REQUIREMENTS
   ============================================================ */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.hb-item {
  font-size: 0.76rem;
  font-weight: 600;
  color: #a8d8f8;
  background: rgba(33,150,243,0.1);
  border: 1px solid rgba(33,150,243,0.22);
  border-radius: 3px;
  padding: 0.28rem 0.65rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.hp-item {
  font-size: 0.67rem;
  font-weight: 500;
  color: rgba(144,202,249,0.55);
  background: rgba(33,150,243,0.05);
  border: 1px solid rgba(33,150,243,0.13);
  border-radius: 3px;
  padding: 0.18rem 0.52rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-ops-note {
  margin-top: 1rem;
  max-width: 520px;
}

.hon-primary {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.64);
  line-height: 1.55;
  margin-bottom: 0.28rem;
}

.hon-secondary {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.64);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .hb-item { font-size: 0.7rem; }
  .hp-item { font-size: 0.62rem; padding: 0.15rem 0.44rem; }
  .hero-ops-note { max-width: 100%; }
  .hon-primary { font-size: 0.78rem; }
  .hon-secondary { font-size: 0.68rem; }
}


/* ============================================================
   59. HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(7,18,36,0.8);
  border: 1px solid rgba(33,150,243,0.2);
  aspect-ratio: 16 / 10;
  max-height: 300px;
  box-shadow: 0 0 28px rgba(33,150,243,0.1);
}

.hc-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hc-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hc-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hc-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 8px, transparent 8px, transparent 16px),
    #07101d;
}
.hc-ph-icon { font-size: 2.5rem; opacity: 0.35; line-height: 1; }

.hc-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: linear-gradient(transparent, rgba(7,18,36,0.85));
  letter-spacing: 0.03em;
}

.hc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7,18,36,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 2;
}
.hc-btn:hover { background: rgba(21,101,192,0.6); color: #fff; }
.hc-prev { left: 8px; }
.hc-next { right: 8px; }

.hc-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.hc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.hc-dot--active {
  background: rgba(33,150,243,0.9);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .hero-carousel { display: none; }
}


/* ============================================================
   66. HERO BOTTOM FADE — cinematic section transition
   ============================================================ */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(5,15,35,0) 0%, rgba(5,15,35,0.85) 100%);
  pointer-events: none;
  top: auto;
  right: auto;
  border-radius: 0;
  z-index: 2;
}
