.pnp-soft-section {
  background: #fff;
  padding: 34px 16px 44px;
}

.pnp-soft-inner {
  width: min(1216px, 100%);
  margin: 0 auto;
}

.pnp-soft-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.pnp-soft-title h2 {
  margin: 0 0 8px;
  color: #1e3a5f;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.pnp-soft-title p {
  margin: 0;
  color: #8c8c8c;
  font-size: 15px;
}

.pnp-soft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pnp-soft-card {
  display: flex;
  min-height: 380px;
  padding: 18px 18px 28px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(39, 43, 45, 0.04);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.pnp-soft-card:hover {
  border-color: rgba(50, 197, 255, .55);
  box-shadow: 0 14px 34px rgba(50, 197, 255, 0.12);
  transform: translateY(-2px);
}

.pnp-soft-icon {
  width: min(100%, 250px);
  height: 138px;
  border-radius: 8px;
  background: #f5f7f8;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pnp-soft-icon img {
  width: 92%;
  height: 116px;
  object-fit: contain;
}

.pnp-soft-name {
  width: 100%;
  min-width: 0;
  margin-top: 4px;
  color: #111827;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pnp-soft-desc {
  width: 100%;
  min-height: 24px;
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pnp-soft-download,
.pnp-soft-modal-link {
  border: 1px solid #91d5ff;
  border-radius: 999px;
  background: #fff;
  color: #1890ff;
  min-width: 118px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 22px;
  text-decoration: none;
}

.pnp-soft-download-count {
  margin-top: -8px;
  color: #8c8c8c;
  font-size: 14px;
  line-height: 1;
}

.pnp-soft-empty {
  grid-column: 1 / -1;
  color: #8c8c8c;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
}

.pnp-soft-modal {
  display: none;
}

.pnp-soft-modal.is-open {
  display: block;
}

.pnp-soft-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, .42);
}

.pnp-soft-modal-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4001;
  width: min(680px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.pnp-soft-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #8c8c8c;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.pnp-soft-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 28px;
}

.pnp-soft-modal-head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f7f8;
}

.pnp-soft-modal-head h3 {
  margin: 0 0 5px;
  color: #272b2d;
  font-size: 20px;
}

.pnp-soft-modal-head p {
  margin: 0;
  color: #8c8c8c;
  font-size: 14px;
}

.pnp-soft-modal-preview {
  display: grid;
  place-items: center;
  width: 100%;
  height: 260px;
  margin-top: 18px;
  border-radius: 8px;
  background: #f5f7f8;
  overflow: hidden;
}

.pnp-soft-modal-preview img {
  width: 94%;
  height: 230px;
  object-fit: contain;
}

.pnp-soft-modal-intro {
  margin-top: 16px;
  max-height: 240px;
  overflow: auto;
  color: #595959;
  font-size: 15px;
  line-height: 1.8;
}

.pnp-soft-modal-intro-title {
  margin-bottom: 4px;
  color: #272b2d;
  font-weight: 700;
}

.pnp-soft-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 1024px) {
  .pnp-soft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pnp-soft-grid {
    grid-template-columns: 1fr;
  }

  .pnp-soft-card {
    min-height: 350px;
    padding: 16px 16px 24px;
  }

  .pnp-soft-icon {
    width: min(100%, 220px);
    height: 126px;
  }

  .pnp-soft-icon img {
    width: 92%;
    height: 106px;
  }

  .pnp-soft-name {
    font-size: 24px;
  }

  .pnp-soft-modal-preview {
    height: 210px;
  }

  .pnp-soft-modal-preview img {
    height: 184px;
  }
}
