/* GrabScanGo featured use case — scoped to #magtek-home only.
   Matches the homepage's classic centered header + card tokens. */

#magtek-home .hp-grabscango {
  padding-top: 60px;
  padding-bottom: 60px;
  background: var(--hp-surface-alt, #f4f6f8);
  border-top: 1px solid rgb(38 60 80 / 0.08);
  border-bottom: 1px solid rgb(38 60 80 / 0.08);
}

#magtek-home .hp-grabscango__header {
  margin-bottom: 40px;
  text-align: center;
}

/* Same centered heading treatment as .solutions-overview / .industries-section */
#magtek-home .hp-grabscango .section-title {
  margin: 0 auto 16px;
  padding: 0 0 24px;
  max-width: 920px;
  position: relative;
}

#magtek-home .hp-grabscango .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(135deg, #b01035 0%, #d21242 100%);
}

#magtek-home .hp-grabscango .section-subtitle {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#magtek-home .hp-grabscango__showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px 36px;
  align-items: center;
}

#magtek-home .hp-grabscango__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgb(15 23 42 / 0.16);
}

#magtek-home .hp-grabscango__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1224 / 1028;
  object-fit: cover;
  object-position: center;
}

#magtek-home .hp-grabscango__badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 48px 24px 20px;
  background: linear-gradient(transparent, rgb(15 23 42 / 0.88));
  color: #fff;
}

#magtek-home .hp-grabscango__badge-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

#magtek-home .hp-grabscango__badge-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.82);
}

#magtek-home .hp-grabscango__features {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#magtek-home .hp-grabscango__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 6px 18px rgb(15 23 42 / 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

#magtek-home .hp-grabscango__feature:hover {
  transform: translateY(-3px);
  border-color: rgb(210 18 66 / 0.35);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.12);
}

#magtek-home .hp-grabscango__feature--highlight {
  border-color: rgb(210 18 66 / 0.28);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 22px rgb(210 18 66 / 0.12);
}

#magtek-home .hp-grabscango__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d21242 0%, #b01035 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 20px rgb(210 18 66 / 0.25);
}

#magtek-home .hp-grabscango__feature h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hp-ink, #263c50);
}

#magtek-home .hp-grabscango__feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hp-ink-muted, #4a5568);
}

#magtek-home .hp-grabscango__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  text-align: center;
}

#magtek-home .hp-grabscango__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--hp-ink-muted, #4a5568);
}

@media (max-width: 991px) {
  #magtek-home .hp-grabscango__showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #magtek-home .hp-grabscango__media {
    order: -1;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  #magtek-home .hp-grabscango__feature {
    padding: 16px;
    gap: 14px;
  }

  #magtek-home .hp-grabscango__icon {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  #magtek-home .hp-grabscango__feature h3 {
    font-size: 18px;
  }
}
