/* 软件产品页面主体样式 */
.main {
  padding-top: 72px;
}

.page-content {
  padding: 40px 0 80px;
  min-height: calc(100vh - 72px);
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  text-align: center;
}

.date-note {
  font-size: 22px;
  color: #86868b;
  font-weight: 400;
}

/* 软件产品表格样式 */
.software-table-container {
  margin-top: 40px;
  overflow-x: auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8fdf9 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(52, 199, 89, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 40px;
  border: 1px solid rgba(52, 199, 89, 0.1);
}

.software-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

.software-table thead {
  background: linear-gradient(135deg, #2d8659 0%, #34c759 50%, #2d8659 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(52, 199, 89, 0.2);
}

.software-table thead th {
  padding: 18px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.software-table thead th:first-child {
  border-top-left-radius: 12px;
  width: 100px;
}

.software-table thead th:nth-child(2) {
  width: auto;
}

.software-table thead th:last-child {
  border-top-right-radius: 12px;
  width: 220px;
}

.software-table tbody tr {
  background: white;
  transition: all 0.3s ease;
}

.software-table tbody tr:hover {
  background: linear-gradient(
    90deg,
    rgba(52, 199, 89, 0.08) 0%,
    rgba(52, 199, 89, 0.12) 50%,
    rgba(52, 199, 89, 0.08) 100%
  );
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 199, 89, 0.15);
}

.software-table tbody tr:nth-child(even) {
  background: rgba(248, 253, 249, 0.5);
}

.software-table tbody tr:nth-child(even):hover {
  background: linear-gradient(
    90deg,
    rgba(52, 199, 89, 0.08) 0%,
    rgba(52, 199, 89, 0.12) 50%,
    rgba(52, 199, 89, 0.08) 100%
  );
}

.software-table tbody td {
  padding: 18px 20px;
  color: #1d1d1f;
  line-height: 1.8;
  border-bottom: 1px solid rgba(52, 199, 89, 0.08);
  text-align: center;
}

.software-table tbody tr:last-child td {
  border-bottom: none;
}

.software-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.software-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.software-table tbody td:first-child {
  font-weight: 700;
  color: #2d8659;
  font-size: 16px;
  background: linear-gradient(
    135deg,
    rgba(52, 199, 89, 0.05) 0%,
    transparent 100%
  );
}

.software-table tbody td:nth-child(2) {
  font-weight: 500;
  color: #1d1d1f;
}

.software-table tbody td:last-child {
  color: #5e5e63;
  font-family: "SF Mono", "Monaco", "Menlo", "Courier New", monospace;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.3px;
  background: rgba(245, 250, 246, 0.6);
}

/* 响应式设计 */
@media (max-width: 968px) {
  .page-title {
    font-size: 30px;
  }

  .date-note {
    font-size: 18px;
  }

  .software-table-container {
    padding: 28px 20px;
    margin-top: 30px;
    border-radius: 16px;
  }

  .software-table {
    font-size: 14px;
  }

  .software-table thead th {
    padding: 14px 12px;
    font-size: 15px;
  }

  .software-table tbody td {
    padding: 14px 12px;
  }

  .software-table thead th:first-child,
  .software-table tbody td:first-child {
    width: 70px;
  }

  .software-table thead th:last-child {
    width: 160px;
  }

  .software-table tbody td:last-child {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .main {
    padding-top: 120px;
  }

  .page-content {
    padding: 30px 0 60px;
  }

  .page-title {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .date-note {
    font-size: 16px;
  }

  .software-table-container {
    padding: 24px 16px;
    border-radius: 16px;
    margin-top: 24px;
  }

  .software-table {
    font-size: 13px;
  }

  .software-table thead th {
    padding: 12px 8px;
    font-size: 14px;
    letter-spacing: 0.3px;
  }

  .software-table tbody td {
    padding: 12px 8px;
  }

  .software-table tbody td:first-child {
    font-size: 14px;
  }

  .software-table tbody td:last-child {
    font-size: 13px;
  }

  .software-table thead th:first-child {
    width: 60px;
  }

  .software-table thead th:last-child {
    width: 140px;
  }
}

/* 软件截图展示区域 */
.software-gallery {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 轮播图容器 */
.carousel-container {
  margin-top: 0;
  padding: 0;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  box-shadow: 0 8px 32px rgba(52, 199, 89, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(52, 199, 89, 0.1);
}

.carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8fdf9 0%, #ffffff 100%);
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

/* 切换按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #2d8659;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(52, 199, 89, 0.3);
  color: #34c759;
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

/* 指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: #34c759;
  width: 24px;
  border-radius: 5px;
}

/* 响应式设计 - 轮播图 */
@media (max-width: 968px) {
  .software-gallery {
    margin-top: 32px;
    max-width: 100%;
    padding: 0 20px;
  }

  .carousel-wrapper {
    border-radius: 16px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 12px;
  }

  .carousel-btn-next {
    right: 12px;
  }

  .carousel-slide img {
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .software-gallery {
    margin-top: 24px;
    padding: 0 16px;
  }

  .carousel-wrapper {
    border-radius: 12px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .carousel-btn-prev {
    left: 8px;
  }

  .carousel-btn-next {
    right: 8px;
  }

  .carousel-indicators {
    bottom: 12px;
    gap: 8px;
  }

  .carousel-indicator {
    width: 8px;
    height: 8px;
  }

  .carousel-indicator.active {
    width: 20px;
  }

  .carousel-slide img {
    padding: 5px;
  }
}

