/* ════════════════════════════════════════════════════════════════
   Bench Tester — hero slider extras (mini visuals + nav)
   ════════════════════════════════════════════════════════════════ */

/* Carousel navigation */
.bt-hero__nav {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 0 36px;
  max-width: var(--container, 1340px);
  margin: 0 auto;
  width: calc(100% - 3rem);
}
@media (max-width: 1100px) {
  .bt-hero__nav { width: calc(100% - 2rem); }
}
@media (max-width: 600px) {
  .bt-hero__nav { width: calc(100% - 1.25rem); padding-bottom: 22px; }
}
.bt-hero__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 22px; line-height: 1;
  font-family: var(--bt-cond);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  padding: 0;
}
.bt-hero__arrow:hover {
  background: var(--bt-red);
  border-color: var(--bt-red);
  transform: translateY(-1px);
}
.bt-hero__dots {
  display: flex;
  gap: 12px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}
.bt-hero__dot {
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px 4px;
  cursor: pointer;
  font-family: var(--bt-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.32);
  position: relative;
  transition: color .25s ease;
  min-width: 44px;
  text-align: left;
}
.bt-hero__dot::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 2px;
  background: rgba(255,255,255,.14);
  transition: background .3s ease, transform .3s ease;
  transform-origin: left;
}
.bt-hero__dot.is-active {
  color: #fff;
}
.bt-hero__dot.is-active::after {
  background: var(--bt-red);
  transform: scaleX(1.15);
}
.bt-hero__dot:hover::after { background: rgba(255,255,255,.4); }
.bt-hero__dot-num { display: inline-block; }

@media (max-width: 640px) {
  .bt-hero__nav { gap: 10px; padding-bottom: 24px; }
  .bt-hero__arrow { width: 38px; height: 38px; font-size: 18px; }
  .bt-hero__dot { font-size: 9px; min-width: 32px; letter-spacing: 1.5px; }
}

/* Mini CAN Analyzer visual */
.bt-mini-az {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  color: #333;
  font-family: var(--bt-sans);
  box-shadow: 0 0 0 1px rgba(200,0,28,.08), 0 48px 120px rgba(0,0,0,.55), 0 0 60px rgba(21,101,192,.18);
  border: 1px solid rgba(21,101,192,.35);
}
.bt-mini-az__bar {
  background: linear-gradient(90deg, #1565C0, #1976D2);
  color: #fff;
  padding: 9px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
}
.bt-mini-az__brand { font-weight: 700; letter-spacing: .3px; }
.bt-mini-az__badge {
  font-family: var(--bt-mono); font-size: 9px;
  padding: 2px 7px;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
}
.bt-mini-az__live {
  margin-left: auto;
  font-family: var(--bt-mono); font-size: 9px;
  color: #c8e6c9;
  display: inline-flex; align-items: center; gap: 5px;
}
.bt-mini-az__live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #69f0ae; box-shadow: 0 0 6px #69f0ae;
  animation: btPip 2s infinite;
}
.bt-mini-az__toolbar {
  background: #e8e8ec;
  border-bottom: 1px solid #d0d0d8;
  padding: 7px 10px;
  display: flex; gap: 6px;
  flex-wrap: wrap;
}
.bt-mini-az__tool {
  font-family: var(--bt-cond); font-weight: 700;
  font-size: 10px; letter-spacing: .4px;
  padding: 4px 10px; border-radius: 4px;
  color: #fff; text-transform: uppercase;
  white-space: nowrap;
}
.bt-mini-az__tool--red    { background: #d32f2f; }
.bt-mini-az__tool--grey   { background: #455a64; }
.bt-mini-az__tool--purple { background: #6a1b9a; }
.bt-mini-az__tool--orange { background: #e65100; }
.bt-mini-az__tool--blue   { background: #1565c0; }

.bt-mini-az__rows {
  background: #fff;
  max-height: 260px;
  overflow: hidden;
}
.bt-mini-az__row {
  display: grid;
  grid-template-columns: 72px 60px 1fr 52px;
  gap: 6px;
  padding: 6px 12px;
  border-bottom: 1px solid #f0f0f5;
  font-family: var(--bt-mono);
  font-size: 9.5px;
  align-items: center;
}
.bt-mini-az__row em { color: #888; font-style: normal; }
.bt-mini-az__row strong { color: #006064; font-weight: 700; }
.bt-mini-az__row span {
  color: #555;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.bt-mini-az__row span i {
  display: inline-block;
  padding: 1px 4px;
  background: #f5f5f5;
  border: 1px solid #e0e0e8;
  border-radius: 2px;
  font-style: normal;
}
.bt-mini-az__row span i + i { }
.bt-mini-az__row span i:nth-child(3n) { background: #d32f2f; color: #fff; border-color: #d32f2f; }
.bt-mini-az__row b { color: #1565c0; font-weight: 700; text-align: right; }
.bt-mini-az__row--active { background: #e3f2fd; }

.bt-mini-az__foot {
  background: #f5f5f8;
  border-top: 1px solid #e8e8ee;
  padding: 8px 12px;
  display: flex; gap: 12px;
  font-family: var(--bt-mono); font-size: 9px;
  color: #888;
  flex-wrap: wrap;
}
.bt-mini-az__foot i { color: #2e7d32; font-style: normal; }

/* Mini modules grid visual */
.bt-mini-mod, .bt-mini-br {
  background: linear-gradient(150deg, #222030, #2A2740 50%, #1E1C2C);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 48px 120px rgba(0,0,0,.6), 0 0 60px rgba(200,0,28,.08);
  font-family: var(--bt-sans);
}
.bt-mini-mod__head,
.bt-mini-br__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bt-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 18px;
}
.bt-mini-mod__dot,
.bt-mini-br__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bt-red);
  box-shadow: 0 0 8px var(--bt-red);
  animation: btPip 2s infinite;
  flex-shrink: 0;
}
.bt-mini-mod__count,
.bt-mini-br__count {
  margin-left: auto;
  color: var(--bt-red);
  font-weight: 700;
  font-size: 13px;
}
.bt-mini-mod__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bt-mini-mod__tile {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 14px 10px;
  text-align: center;
  transition: all .3s ease;
}
.bt-mini-mod__tile:hover {
  background: rgba(200,0,28,.08);
  border-color: rgba(200,0,28,.3);
}
.bt-mini-mod__tile strong {
  display: block;
  font-family: var(--bt-cond);
  font-weight: 800;
  font-size: 22px;
  color: var(--bt-red);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.bt-mini-mod__tile span {
  display: block;
  font-family: var(--bt-mono);
  font-size: 8px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
}
.bt-mini-mod__foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.bt-mini-mod__tag {
  font-family: var(--bt-mono);
  font-size: 8px;
  letter-spacing: 1px;
  padding: 4px 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
}

/* Mini brand marquee visual */
.bt-mini-br__marquee {
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.bt-mini-br__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: btBrandScroll 28s linear infinite;
  width: max-content;
}
.bt-mini-br__track span {
  font-family: var(--bt-cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  flex-shrink: 0;
}
@keyframes btBrandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.bt-mini-br__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.bt-mini-br__tags span {
  font-family: var(--bt-mono);
  font-size: 8px;
  letter-spacing: 1px;
  padding: 4px 10px;
  background: rgba(200,0,28,.1);
  border: 1px solid rgba(200,0,28,.3);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}

/* Ensure any visual fits its grid slot */
.bt-slide__visual > .bt-dev,
.bt-slide__visual > .bt-mini-az,
.bt-slide__visual > .bt-mini-mod,
.bt-slide__visual > .bt-mini-br {
  width: 100%;
  min-width: 0;
}

/* Tweak stat when the numeric head is empty (only em kicks in) */
.bt-hero__num-n:empty,
.bt-hero__num-n > em:only-child {
  font-size: inherit;
}

/* Responsive polish */
@media (max-width: 900px) {
  .bt-hero__title { font-size: clamp(44px, 10vw, 72px); }
  .bt-hero__desc { font-size: 15.5px; }
}
@media (max-width: 600px) {
  .bt-hero__title {
    font-size: clamp(40px, 12vw, 60px);
    letter-spacing: -0.8px;
  }
  .bt-hero__w3 { letter-spacing: 4px; }
  .bt-hero__eye {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 14px;
  }
  .bt-btn { padding: 12px 18px; font-size: 12px; }
  .bt-hero__nums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }
  .bt-hero__scroll { display: none; }
}
