
/* ===== Shared Base ===== */
.az-cerapp-section,
.az-cerstr-section,
.az-certool-section {
  width: 100%;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-cerapp-container,
.az-cerstr-container,
.az-certool-container {
  max-width: 1180px;
  margin: 0 auto;
}

.az-cerapp-head,
.az-cerstr-head,
.az-certool-head {
  max-width: 900px;
  margin-bottom: 46px;
}

.az-cerapp-eyebrow,
.az-cerstr-eyebrow,
.az-certool-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-cerapp-head h2,
.az-cerstr-head h2,
.az-certool-head h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  color: #101820;
}

.az-cerapp-head p,
.az-cerstr-head p,
.az-certool-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5f6b76;
}


/* ===== Applications ===== */
.az-cerapp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.az-cerapp-card {
  position: relative;
  min-height: 310px;
  padding: 32px 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-cerapp-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(207,31,46,0.30);
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(16,24,32,0.16);
  z-index: 5;
}

.az-cerapp-featured {
  background:
    linear-gradient(145deg, rgba(16,24,32,0.97), rgba(31,43,54,0.97)),
    radial-gradient(circle at top right, rgba(207,31,46,0.30), transparent 42%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(16,24,32,0.22);
}

.az-cerapp-featured:hover {
  transform: translateY(-5px) scale(1.015);
  background:
    linear-gradient(145deg, rgba(16,24,32,0.97), rgba(31,43,54,0.97)),
    radial-gradient(circle at top right, rgba(207,31,46,0.34), transparent 42%);
}

.az-cerapp-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #cf1f2e;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 800;
}

.az-cerapp-featured .az-cerapp-label,
.az-cerapp-featured:hover .az-cerapp-label {
  color: rgba(255,255,255,0.72);
}

.az-cerapp-card h3 {
  margin: 0 0 16px;
  color: #101820;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 850;
}

.az-cerapp-featured h3,
.az-cerapp-featured:hover h3 {
  color: #ffffff;
}

.az-cerapp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.az-cerapp-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(16,24,32,0.08);
  color: #5f6b76;
  font-size: 15px;
  line-height: 1.45;
}

.az-cerapp-list li:last-child {
  border-bottom: none;
}

.az-cerapp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  background: #cf1f2e;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(207,31,46,0.10);
}

.az-cerapp-featured .az-cerapp-list li,
.az-cerapp-featured:hover .az-cerapp-list li {
  color: rgba(255,255,255,0.82);
  border-bottom-color: rgba(255,255,255,0.12);
}


/* ===== Construction ===== */
.az-cerstr-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 24px;
  align-items: stretch;
}

.az-cerstr-main-card,
.az-certool-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(207,31,46,0.30), transparent 42%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(16,24,32,0.22);
  box-sizing: border-box;
}

.az-cerstr-badge,
.az-certool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #cf1f2e, #8f111d);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(207,31,46,0.35);
}

.az-cerstr-main-card h3,
.az-certool-main-card h3 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 850;
}

.az-cerstr-main-card > p,
.az-certool-main-card > p {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255,255,255,0.82);
}

.az-cerstr-step-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.az-cerstr-step-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 15px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
}

.az-cerstr-step-item span {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, #cf1f2e, #8f111d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.az-cerstr-step-item p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 750;
}

.az-cerstr-note,
.az-certool-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-cerstr-note strong,
.az-certool-note strong {
  color: #ffffff;
}

.az-cerstr-table-card {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(16,24,32,0.08);
  box-shadow: 0 18px 45px rgba(16,24,32,0.08);
  box-sizing: border-box;
}

.az-cerstr-table {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e2e6ea;
}

.az-cerstr-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  min-height: 78px;
  background: #ffffff;
  border-bottom: 1px solid #e2e6ea;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.az-cerstr-row:last-child {
  border-bottom: none;
}

.az-cerstr-header-row {
  min-height: 58px;
  background: #101820;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 800;
}

.az-cerstr-row:not(.az-cerstr-header-row):hover {
  transform: translateX(6px);
  background: #f8fafc;
  box-shadow: inset 4px 0 0 #cf1f2e;
}

.az-cerstr-row > div {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  box-sizing: border-box;
}

.az-cerstr-cell-title {
  color: #101820;
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 850;
}

.az-cerstr-material {
  color: #cf1f2e;
  font-size: 15.8px;
  line-height: 1.45;
  font-weight: 850;
}

.az-cerstr-desc {
  color: #5f6b76;
  font-size: 15.5px;
  line-height: 1.65;
}


/* ===== Compatible Tools ===== */
.az-certool-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 24px;
  align-items: stretch;
}

.az-certool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.az-certool-card {
  position: relative;
  min-height: 220px;
  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-certool-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(207,31,46,0.30);
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(16,24,32,0.16);
  z-index: 5;
}

.az-certool-featured {
  background:
    linear-gradient(145deg, rgba(16,24,32,0.97), rgba(31,43,54,0.97)),
    radial-gradient(circle at top right, rgba(207,31,46,0.30), transparent 42%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(16,24,32,0.22);
}

.az-certool-featured:hover {
  transform: translateY(-5px) scale(1.015);
  background:
    linear-gradient(145deg, rgba(16,24,32,0.97), rgba(31,43,54,0.97)),
    radial-gradient(circle at top right, rgba(207,31,46,0.34), transparent 42%);
}

.az-certool-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(207,31,46,0.10);
  color: #cf1f2e;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.az-certool-featured span {
  background: #cf1f2e;
  color: #ffffff;
}

.az-certool-card h3 {
  margin: 0 0 14px;
  color: #101820;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 850;
}

.az-certool-featured h3,
.az-certool-featured:hover h3 {
  color: #ffffff;
}

.az-certool-card p {
  margin: 0;
  color: #5f6b76;
  font-size: 15.5px;
  line-height: 1.72;
}

.az-certool-featured p,
.az-certool-featured:hover p {
  color: rgba(255,255,255,0.82);
}


/* ===== Animation ===== */
.az-cerapp-card,
.az-cerstr-main-card,
.az-cerstr-table-card,
.az-certool-main-card,
.az-certool-card {
  opacity: 0;
  transform: translateY(24px);
  animation: azCeramicFadeUp 0.75s ease forwards;
}

.az-cerapp-card:nth-child(1),
.az-cerstr-main-card,
.az-certool-main-card,
.az-certool-card:nth-child(1) {
  animation-delay: 0.05s;
}

.az-cerapp-card:nth-child(2),
.az-cerstr-table-card,
.az-certool-card:nth-child(2) {
  animation-delay: 0.12s;
}

.az-cerapp-card:nth-child(3),
.az-certool-card:nth-child(3) {
  animation-delay: 0.20s;
}

.az-cerapp-card:nth-child(4),
.az-certool-card:nth-child(4) {
  animation-delay: 0.28s;
}

@keyframes azCeramicFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .az-cerapp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .az-cerstr-layout,
  .az-certool-layout {
    grid-template-columns: 1fr;
  }
}


/* ===== Mobile ===== */
@media (max-width: 680px) {
  .az-cerapp-section,
  .az-cerstr-section,
  .az-certool-section {
    padding: 40px 16px;
  }

  .az-cerapp-head,
  .az-cerstr-head,
  .az-certool-head {
    margin-bottom: 32px;
  }

  .az-cerapp-head p,
  .az-cerstr-head p,
  .az-certool-head p {
    font-size: 15.5px;
  }

  .az-cerapp-grid,
  .az-certool-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .az-cerapp-card,
  .az-cerstr-main-card,
  .az-cerstr-table-card,
  .az-certool-main-card,
  .az-certool-card {
    border-radius: 20px;
    padding: 28px 22px;
    min-height: auto;
  }

  .az-cerstr-main-card h3,
  .az-certool-main-card h3 {
    font-size: 26px;
  }

  .az-cerapp-card h3,
  .az-certool-card h3 {
    font-size: 20px;
  }

  .az-cerapp-card:hover,
  .az-certool-card:hover {
    transform: translateY(-5px) scale(1.015);
  }

  .az-cerapp-featured:hover,
  .az-certool-featured:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .az-cerstr-table {
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .az-cerstr-header-row {
    display: none;
  }

  .az-cerstr-row {
    display: block;
    min-height: auto;
    margin-bottom: 16px;
    border: 1px solid #e2e6ea;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(16,24,32,0.06);
  }

  .az-cerstr-row:last-child {
    margin-bottom: 0;
  }

  .az-cerstr-row:not(.az-cerstr-header-row):hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(16,24,32,0.12);
  }

  .az-cerstr-row > div {
    display: block;
    padding: 16px 18px;
  }

  .az-cerstr-row > div:nth-child(1)::before {
    content: "Layer";
    display: block;
    margin-bottom: 7px;
    color: #8b97a3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
  }

  .az-cerstr-row > div:nth-child(2)::before {
    content: "Material";
    display: block;
    margin-bottom: 7px;
    color: #8b97a3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
  }

  .az-cerstr-row > div:nth-child(3)::before {
    content: "Description";
    display: block;
    margin-bottom: 7px;
    color: #8b97a3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
  }
}
