
/* =========================================
   Aozhong Common Applications
========================================= */

.az-ca4-section {
  width: 100%;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-ca4-section *,
.az-ca4-section *::before,
.az-ca4-section *::after {
  box-sizing: border-box;
}

.az-ca4-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Heading */
.az-ca4-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.az-ca4-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #1f8fb8;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.az-ca4-heading h2 {
  margin: 0 0 16px;
  color: #101820;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
}

.az-ca4-heading p {
  margin: 0;
  color: #5f6b76;
  font-size: 17px;
  line-height: 1.75;
}

/* Grid */
.az-ca4-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* Card */
.az-ca4-card {
  position: relative;
  min-height: 300px;
  padding: 30px 28px 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.az-ca4-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(31, 143, 184, 0.11) 0%,
    rgba(31, 143, 184, 0) 70%
  );
  pointer-events: none;
}

.az-ca4-card:hover {
  z-index: 2;
  transform: translateY(-6px) scale(1.018);
  border-color: rgba(31, 143, 184, 0.3);
  box-shadow: 0 28px 62px rgba(16, 24, 32, 0.14);
}

/* Featured Card */
.az-ca4-featured {
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.25),
      transparent 42%
    ),
    linear-gradient(145deg, #101820, #22313f);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(16, 24, 32, 0.22);
}

.az-ca4-featured:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background:
    radial-gradient(
      circle at top right,
      rgba(56, 189, 248, 0.3),
      transparent 42%
    ),
    linear-gradient(145deg, #101820, #22313f);
}

/* Card Top */
.az-ca4-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.az-ca4-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(31, 143, 184, 0.1);
  color: #1f8fb8;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.az-ca4-category {
  color: #1f8fb8;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.az-ca4-featured .az-ca4-number {
  background: linear-gradient(135deg, #38bdf8, #1f8fb8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 143, 184, 0.3);
}

.az-ca4-featured .az-ca4-category {
  color: rgba(255, 255, 255, 0.7);
}

/* Card Typography */
.az-ca4-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #101820;
  font-size: 23px;
  line-height: 1.28;
  font-weight: 800;
}

.az-ca4-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5f6b76;
  font-size: 15.5px;
  line-height: 1.72;
}

.az-ca4-featured h3 {
  color: #ffffff;
}

.az-ca4-featured > p {
  color: rgba(255, 255, 255, 0.8);
}

/* Tags */
.az-ca4-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.az-ca4-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(31, 143, 184, 0.16);
  border-radius: 999px;
  background: rgba(31, 143, 184, 0.07);
  color: #315366;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.az-ca4-card:hover .az-ca4-tags span {
  transform: translateY(-2px);
  border-color: rgba(31, 143, 184, 0.27);
  background: rgba(31, 143, 184, 0.11);
}

.az-ca4-featured .az-ca4-tags span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
}

.az-ca4-featured:hover .az-ca4-tags span {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

/* Summary */
.az-ca4-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(380px, 1.2fr);
  gap: 42px;
  align-items: end;
  margin-top: 24px;
  padding: 30px 32px;
  border: 1px solid rgba(31, 143, 184, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, #f3fbff, #ffffff);
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.06);
}

.az-ca4-summary-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #1f8fb8;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.az-ca4-summary h3 {
  margin: 0;
  color: #101820;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 800;
}

.az-ca4-summary p {
  margin: 0;
  color: #5f6b76;
  font-size: 15.5px;
  line-height: 1.75;
}

/* Entrance Animation */
.az-ca4-card,
.az-ca4-summary {
  opacity: 0;
  transform: translateY(22px);
  animation: azCa4FadeUp 0.7s ease forwards;
}

.az-ca4-card:nth-child(1) {
  animation-delay: 0.05s;
}

.az-ca4-card:nth-child(2) {
  animation-delay: 0.13s;
}

.az-ca4-card:nth-child(3) {
  animation-delay: 0.21s;
}

.az-ca4-card:nth-child(4) {
  animation-delay: 0.29s;
}

.az-ca4-summary {
  animation-delay: 0.38s;
}

@keyframes azCa4FadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .az-ca4-summary {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .az-ca4-section {
    padding: 40px 16px;
  }

  .az-ca4-heading {
    margin-bottom: 30px;
  }

  .az-ca4-heading p {
    font-size: 15.5px;
  }

  .az-ca4-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .az-ca4-card {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 20px;
  }

  .az-ca4-card h3 {
    font-size: 20px;
  }

  .az-ca4-card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .az-ca4-summary {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .az-ca4-summary h3 {
    font-size: 21px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .az-ca4-card,
  .az-ca4-summary,
  .az-ca4-tags span {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
