/**
 * MISTER FAST — Hero Baseline Component V1 (Pixel-Match)
 * Strictly matching approved design baseline reference (media_1789837469752.png).
 */

.mf-hero-baseline {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-color: #001848;
  box-shadow: 0 12px 36px rgba(0, 30, 80, 0.16);
  box-sizing: border-box;
}

.mf-hero-baseline-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 1;
}

.mf-hero-baseline-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #001848 0%, #001848 38%, rgba(0, 24, 72, 0.95) 48%, rgba(0, 24, 72, 0.55) 58%, rgba(0, 24, 72, 0.15) 68%, transparent 78%);
  pointer-events: none;
  z-index: 2;
}

.mf-hero-baseline-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px 16px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.mf-hero-baseline-left {
  max-width: 700px;
  display: flex;
  flex-direction: column;
}

.mf-hero-baseline-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #FFC400;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.mf-hero-baseline-headline {
  margin: 0 0 12px 0;
  line-height: 1.22;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mf-hero-baseline-headline .mf-headline-w {
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.mf-hero-baseline-headline .mf-headline-y {
  font-size: 38px;
  font-weight: 900;
  color: #FFC400;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.mf-hero-baseline-sub {
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  opacity: 0.92;
  line-height: 1.5;
  margin: 0 0 24px 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* 4 Feature Badges in 1 Row */
.mf-hero-baseline-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: nowrap;
}

.mf-hero-badge-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.mf-hero-badge-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFC400;
  transform: translateY(-2px);
}

.mf-badge-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mf-badge-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.mf-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.18;
}

.mf-badge-text b {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.mf-badge-text small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

/* Tracking Search Bar inside Hero */
.mf-hero-baseline-search {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 4px 5px 4px 20px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  height: 48px;
  box-sizing: border-box;
}

.mf-hero-baseline-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13.5px;
  color: #0F172A;
  background: transparent;
  font-family: inherit;
  min-width: 0;
  padding: 0 8px 0 0;
}

.mf-hero-baseline-search input::placeholder {
  color: #94A3B8;
}

.mf-hero-baseline-search button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFC400;
  color: #002B75;
  border: none;
  border-radius: 999px;
  height: 40px;
  padding: 0 20px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mf-hero-baseline-search button:hover {
  background: #FFD100;
  transform: scale(1.02);
}

.mf-hero-baseline-search button svg {
  width: 15px;
  height: 15px;
}

/* Arrow Navigation */
.mf-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.mf-hero-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: #FFC400;
  color: #FFC400;
}

.mf-hero-arrow-prev {
  left: 18px;
}

.mf-hero-arrow-next {
  right: 18px;
}

/* Pagination Dots */
.mf-hero-baseline-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.mf-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mf-hero-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #FFC400;
}

/* Responsive adjustments */
@media (max-width: 1366px) {
  .mf-hero-badge-pill {
    padding: 6px 10px;
    gap: 6px;
  }
  .mf-badge-text b { font-size: 11.5px; }
  .mf-badge-text small { font-size: 9px; }
  .mf-hero-baseline-inner { padding: 40px 48px; }
}

@media (max-width: 1120px) {
  .mf-hero-baseline-badges {
    flex-wrap: wrap;
    gap: 8px;
  }
  .mf-hero-badge-pill {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 768px) {
  .mf-hero-baseline {
    min-height: auto;
    border-radius: 16px;
    margin: 12px auto;
  }
  .mf-hero-baseline-inner {
    padding: 32px 24px 44px 24px;
  }
  .mf-hero-baseline-headline .mf-headline-w,
  .mf-hero-baseline-headline .mf-headline-y {
    font-size: 26px;
  }
  .mf-hero-baseline-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .mf-hero-baseline-badges {
    flex-direction: column;
    width: 100%;
  }
  .mf-hero-badge-pill {
    width: 100%;
  }
  .mf-hero-arrow {
    display: none;
  }
}
