
/* ===== Aozhong Purple Sandpaper Grit Guide Section ===== */
.az-purple-grit-section {
  width: 100%;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-purple-grit-container {
  max-width: 1180px;
  margin: 0 auto;
}

.az-purple-grit-head {
  max-width: 900px;
  margin-bottom: 46px;
}

.az-purple-grit-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #7a3cc8;
}

.az-purple-grit-head h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  color: #101820;
}

.az-purple-grit-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5f6b76;
}

/* Layout */
.az-purple-grit-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 24px;
  align-items: stretch;
}

/* Left Main Card */
.az-purple-grit-main-card {
  position: relative;
  overflow: hidden;
  padding: 38px 32px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(16,24,32,0.97), rgba(31,43,54,0.97)),
    radial-gradient(circle at top right, rgba(122,60,200,0.36), transparent 42%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(16,24,32,0.22);
  box-sizing: border-box;
}

.az-purple-grit-badge {
  width: 98px;
  height: 98px;
  margin-bottom: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, #8f55dc, #5b239f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(122,60,200,0.35);
}

.az-purple-grit-main-card h3 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 850;
}

.az-purple-grit-main-card > p {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255,255,255,0.82);
}

.az-purple-grit-focus-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.az-purple-grit-focus-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

.az-purple-grit-note {
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  font-size: 15.5px;
  line-height: 1.7;
}

.az-purple-grit-note strong {
  color: #ffffff;
}

/* Right Cards */
.az-purple-grit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.az-purple-grit-card {
  position: relative;
  min-height: 235px;
  padding: 30px 28px 28px;
  background: rgba(255,255,255,0.96);
  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,
    background 0.35s ease;
}

.az-purple-grit-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(122,60,200,0.30);
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(16,24,32,0.16);
  z-index: 5;
}

/* Featured P80 Card */
.az-purple-grit-featured {
  background:
    linear-gradient(145deg, rgba(16,24,32,0.97), rgba(31,43,54,0.97)),
    radial-gradient(circle at top right, rgba(122,60,200,0.36), transparent 42%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(16,24,32,0.22);
}

.az-purple-grit-featured:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(122,60,200,0.30);
  background:
    linear-gradient(145deg, rgba(16,24,32,0.97), rgba(31,43,54,0.97)),
    radial-gradient(circle at top right, rgba(122,60,200,0.42), transparent 42%);
  box-shadow: 0 26px 58px rgba(16,24,32,0.22);
}

.az-purple-grit-card-wide {
  grid-column: span 2;
  min-height: 230px;
}

.az-purple-grit-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #7a3cc8;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 800;
}

.az-purple-grit-featured .az-purple-grit-label,
.az-purple-grit-featured:hover .az-purple-grit-label {
  color: rgba(255,255,255,0.72);
}

.az-purple-grit-card h3 {
  margin: 0 0 14px;
  color: #101820;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.az-purple-grit-featured h3,
.az-purple-grit-featured:hover h3 {
  color: #ffffff;
}

.az-purple-grit-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(122,60,200,0.10);
  color: #7a3cc8;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
}

.az-purple-grit-featured .az-purple-grit-chip,
.az-purple-grit-featured:hover .az-purple-grit-chip {
  background: #7a3cc8;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(122,60,200,0.28);
}

.az-purple-grit-card p {
  margin: 0;
  color: #5f6b76;
  font-size: 15.5px;
  line-height: 1.72;
}

.az-purple-grit-featured p,
.az-purple-grit-featured:hover p {
  color: rgba(255,255,255,0.82);
}

/* Sequence */
.az-purple-grit-sequence {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.az-purple-grit-sequence span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #5f6b76;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.az-purple-grit-sequence span.active {
  background: #7a3cc8;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(122,60,200,0.24);
}

.az-purple-grit-sequence i {
  flex: 1;
  min-width: 16px;
  height: 1px;
  background: rgba(16,24,32,0.14);
}

/* Entrance Animation */
.az-purple-grit-main-card,
.az-purple-grit-card {
  opacity: 0;
  transform: translateY(24px);
  animation: azPurpleGritFadeUp 0.75s ease forwards;
}

.az-purple-grit-main-card { animation-delay: 0.05s; }
.az-purple-grit-card:nth-child(1) { animation-delay: 0.12s; }
.az-purple-grit-card:nth-child(2) { animation-delay: 0.20s; }
.az-purple-grit-card:nth-child(3) { animation-delay: 0.28s; }
.az-purple-grit-card:nth-child(4) { animation-delay: 0.36s; }
.az-purple-grit-card:nth-child(5) { animation-delay: 0.44s; }

@keyframes azPurpleGritFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .az-purple-grit-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .az-purple-grit-section {
    padding: 40px 16px;
  }

  .az-purple-grit-head {
    margin-bottom: 32px;
  }

  .az-purple-grit-head p {
    font-size: 15.5px;
  }

  .az-purple-grit-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .az-purple-grit-card-wide {
    grid-column: span 1;
  }

  .az-purple-grit-main-card,
  .az-purple-grit-card {
    border-radius: 20px;
    padding: 28px 22px;
    min-height: auto;
  }

  .az-purple-grit-main-card h3 {
    font-size: 26px;
  }

  .az-purple-grit-card h3 {
    font-size: 24px;
  }

  .az-purple-grit-badge {
    width: 88px;
    height: 88px;
    font-size: 21px;
    border-radius: 22px;
  }

  .az-purple-grit-card:hover {
    transform: translateY(-5px) scale(1.015);
  }

  .az-purple-grit-featured:hover {
    transform: translateY(-4px) scale(1.01);
  }
}
