
/* ===== Aozhong Compatible Tools Section ===== */
.az-compatible-section {
  width: 100%;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-compatible-container {
  max-width: 1180px;
  margin: 0 auto;
}

.az-compatible-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.az-compatible-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #cf1f2e;
}

.az-compatible-head h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  color: #101820;
}

.az-compatible-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5f6b76;
}

.az-compatible-layout {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 24px;
}

/* Left Main Card */
.az-compatible-main-card {
  position: relative;
  overflow: hidden;
  padding: 38px 32px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.96), rgba(31, 43, 54, 0.96)),
    radial-gradient(circle at top right, rgba(207, 31, 46, 0.32), transparent 38%);
  box-shadow: 0 24px 60px rgba(16, 24, 32, 0.22);
  color: #ffffff;
  box-sizing: border-box;
}

.az-compatible-badge {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, #cf1f2e, #8f111d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: 0 18px 38px rgba(207, 31, 46, 0.35);
  position: relative;
  z-index: 3;
}

.az-compatible-main-card h3 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 850;
  position: relative;
  z-index: 3;
}

.az-compatible-main-card p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 3;
}

.az-orbit-box {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  position: relative;
  z-index: 3;
}

.az-orbit-title {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 800;
}

.az-orbit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.az-orbit-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: 999px;
  background: #cf1f2e;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(207, 31, 46, 0.32);
}

/* Right Cards */
.az-compatible-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.az-tool-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 30px 28px 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  box-sizing: border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.az-wide-tool-card {
  grid-column: span 2;
  min-height: 210px;
}

.az-compatible-main-card::before,
.az-tool-card::before {
  content: "";
  position: absolute;
  top: -45%;
  left: -90%;
  width: 65%;
  height: 190%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 28%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.12) 72%,
    transparent 100%
  );
  transform: rotate(10deg);
  transition: left 0.78s ease;
  pointer-events: none;
  z-index: 2;
}

.az-compatible-main-card:hover::before,
.az-tool-card:hover::before {
  left: 125%;
}

.az-tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 31, 46, 0.28);
  box-shadow: 0 28px 65px rgba(16, 24, 32, 0.16);
}

.az-tool-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #cf1f2e, #8f111d);
  box-shadow: 0 14px 30px rgba(207, 31, 46, 0.24);
  position: relative;
  z-index: 3;
}

.az-tool-card h3 {
  margin: 0 0 12px;
  color: #101820;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 850;
  position: relative;
  z-index: 3;
}

.az-tool-card p {
  margin: 0;
  color: #5f6b76;
  font-size: 15.5px;
  line-height: 1.68;
  position: relative;
  z-index: 3;
}

/* Simple CSS Icons */
.az-icon-pneumatic::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 24px;
  width: 34px;
  height: 17px;
  border: 3px solid #ffffff;
  border-radius: 12px 12px 6px 6px;
  box-sizing: border-box;
}

.az-icon-pneumatic::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 39px;
  width: 22px;
  height: 6px;
  background: #ffffff;
  border-radius: 10px;
}

.az-icon-electric::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 13px;
  width: 17px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 6px;
  box-sizing: border-box;
  transform: rotate(12deg);
}

.az-icon-electric::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 40px;
  width: 27px;
  height: 7px;
  background: #ffffff;
  border-radius: 999px;
}

.az-icon-vacuum::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
}

.az-icon-vacuum::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 27px;
  width: 34px;
  height: 6px;
  background: #ffffff;
  border-radius: 999px;
  transform: rotate(-22deg);
}

.az-icon-hand::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 34px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
}

.az-icon-hand::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 26px;
  width: 24px;
  height: 3px;
  background: #ffffff;
  box-shadow: 0 8px 0 #ffffff;
  border-radius: 3px;
}

.az-icon-robot::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 16px;
  width: 28px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
}

.az-icon-robot::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 25px;
  width: 22px;
  height: 8px;
  background:
    radial-gradient(circle at 4px 4px, #ffffff 0 3px, transparent 4px),
    radial-gradient(circle at 18px 4px, #ffffff 0 3px, transparent 4px);
}

/* Entrance Animation */
.az-compatible-main-card,
.az-tool-card {
  opacity: 0;
  transform: translateY(24px);
  animation: azCompatibleFadeUp 0.75s ease forwards;
}

.az-compatible-main-card {
  animation-delay: 0.05s;
}

.az-tool-card:nth-child(1) {
  animation-delay: 0.12s;
}

.az-tool-card:nth-child(2) {
  animation-delay: 0.20s;
}

.az-tool-card:nth-child(3) {
  animation-delay: 0.28s;
}

.az-tool-card:nth-child(4) {
  animation-delay: 0.36s;
}

.az-tool-card:nth-child(5) {
  animation-delay: 0.44s;
}

@keyframes azCompatibleFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .az-compatible-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .az-compatible-section {
    padding: 64px 16px;
  }

  .az-compatible-head {
    margin-bottom: 32px;
  }

  .az-compatible-head p {
    font-size: 15.5px;
  }

  .az-compatible-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .az-wide-tool-card {
    grid-column: span 1;
  }

  .az-compatible-main-card,
  .az-tool-card {
    border-radius: 20px;
    padding: 28px 22px;
    min-height: auto;
  }

  .az-compatible-main-card h3 {
    font-size: 26px;
  }

  .az-tool-card h3 {
    font-size: 20px;
  }

  .az-orbit-box {
    padding: 20px;
  }

  .az-orbit-list span {
    padding: 10px 13px;
    font-size: 13px;
  }
}
