
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

.hz-qc-page,
.hz-qc-page * {
  box-sizing: border-box;
}

.hz-qc-page {
  --hz-orange: #f26a21;
  --hz-orange-dark: #d95416;
  --hz-navy: #071d33;
  --hz-dark: #111827;
  --hz-text: #4b5563;
  --hz-light-text: #6b7280;
  --hz-border: #e5e7eb;
  --hz-soft-bg: #f6f8fb;
  --hz-card-bg: #ffffff;

  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(242, 106, 33, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  color: var(--hz-dark);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hz-qc-page h1,
.hz-qc-page h2,
.hz-qc-page h3,
.hz-qc-page p {
  margin: 0;
}

.hz-qc-page a {
  color: inherit;
  text-decoration: none !important;
}

.hz-qc-page img {
  display: block;
  width: 100%;
  height: auto;
}

.hz-qc-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hz-qc-section {
  padding: 84px 0;
}

.hz-qc-section--hero {
  padding: 96px 0 78px;
  position: relative;
}

.hz-qc-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 29, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 29, 51, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.hz-qc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--hz-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.hz-qc-badge::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 2px;
  background: var(--hz-orange);
}

.hz-qc-title {
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 56px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -1.8px;
}

.hz-qc-title span {
  color: var(--hz-orange);
}

.hz-qc-desc {
  margin-top: 24px;
  color: var(--hz-text);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
}

.hz-qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--hz-orange);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 14px 28px rgba(242, 106, 33, 0.22);
}

.hz-qc-btn:hover {
  background: var(--hz-orange-dark);
  transform: translateY(-2px);
}

/* Hero */
.hz-qc-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hz-qc-hero-visual {
  overflow: hidden;
  border-radius: 24px;
  background: #eef2f6;
  box-shadow: 0 28px 80px rgba(7, 29, 51, 0.16);
}

.hz-qc-hero-visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
  transition: transform 0.6s ease;
}

.hz-qc-hero-visual:hover img {
  transform: scale(1.04);
}

/* Section Head */
.hz-qc-section-head {
  max-width: 920px;
  margin: 0 auto 46px;
  text-align: center;
}

.hz-qc-section-title {
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -1.2px;
}

.hz-qc-section-desc {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--hz-light-text);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
}

/* Hardware */
.hz-qc-hardware {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: center;
}

.hz-qc-box-column {
  display: grid;
  gap: 20px;
}

.hz-qc-box {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--hz-border);
  box-shadow: 0 14px 34px rgba(7, 29, 51, 0.05);
}

.hz-qc-box img {
  transition: transform 0.4s ease;
}

.hz-qc-box:hover img {
  transform: scale(1.03);
}

.hz-qc-hotspot {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--hz-orange);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(242, 106, 33, 0.18);
  animation: hz-qc-pulse 2s infinite;
  z-index: 2;
}

.hz-qc-hotspot::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--hz-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hz-qc-hotspot:hover::after {
  opacity: 1;
}

@keyframes hz-qc-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 106, 33, 0.42);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(242, 106, 33, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 106, 33, 0);
  }
}

.hz-qc-sensor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.hz-qc-sensor-card {
  min-height: 180px;
  padding: 24px 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--hz-border);
  box-shadow: 0 14px 34px rgba(7, 29, 51, 0.045);
  text-align: center;
  transition: all 0.3s ease;
}

.hz-qc-sensor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 106, 33, 0.35);
  box-shadow: 0 22px 52px rgba(7, 29, 51, 0.1);
}

.hz-qc-sensor-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid var(--hz-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hz-qc-sensor-icon img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.hz-qc-sensor-card h3 {
  margin-bottom: 6px;
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.hz-qc-sensor-card p {
  color: var(--hz-light-text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
}

/* Workflow */
.hz-qc-workflow {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 54px;
}

.hz-qc-workflow-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

.hz-qc-workflow-active {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hz-orange), transparent);
  background-size: 50% 100%;
  animation: hz-qc-flow 3s linear infinite;
  z-index: 1;
}

@keyframes hz-qc-flow {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}

.hz-qc-step {
  position: relative;
  z-index: 2;
  width: 30%;
  text-align: center;
}

.hz-qc-step-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--hz-orange);
  color: var(--hz-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hz-qc-step:hover .hz-qc-step-icon {
  transform: scale(1.08);
  background: var(--hz-orange);
  color: #ffffff;
}

.hz-qc-step-num {
  display: block;
  margin-bottom: 6px;
  color: var(--hz-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hz-qc-step h3 {
  margin-bottom: 10px;
  color: var(--hz-navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
}

.hz-qc-step p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--hz-light-text);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
}

/* Case */
.hz-qc-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.hz-qc-case-card {
  position: relative;
  overflow: hidden;
  height: 420px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--hz-border);
  box-shadow: 0 18px 45px rgba(7, 29, 51, 0.08);
}

.hz-qc-case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(95%);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.hz-qc-case-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(100%);
}

.hz-qc-case-label {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--hz-navy);
  border-left: 4px solid var(--hz-orange);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(7, 29, 51, 0.12);
}

.hz-qc-case-label--right {
  left: auto;
  right: 24px;
  border-left: 0;
  border-right: 4px solid var(--hz-orange);
}

/* Responsive */
@media (max-width: 1180px) {
  .hz-qc-hero,
  .hz-qc-hardware {
    grid-template-columns: 1fr;
  }

  .hz-qc-title {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .hz-qc-container {
    padding: 0 22px;
  }

  .hz-qc-section {
    padding: 62px 0;
  }

  .hz-qc-section--hero {
    padding: 72px 0 56px;
  }

  .hz-qc-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hz-qc-desc {
    font-size: 16px;
  }

  .hz-qc-section-title {
    font-size: 32px;
    letter-spacing: -0.8px;
  }

  .hz-qc-section-desc {
    font-size: 16px;
  }

  .hz-qc-sensor-grid,
  .hz-qc-case-grid {
    grid-template-columns: 1fr;
  }

  .hz-qc-workflow {
    flex-direction: column;
    gap: 34px;
  }

  .hz-qc-workflow-line,
  .hz-qc-workflow-active {
    display: none;
  }

  .hz-qc-step {
    width: 100%;
  }

  .hz-qc-case-card {
    height: 320px;
  }
}
