/* About Page Styles */
.about-section {
  padding: 120px 0 80px;
  min-height: calc(100vh - 72px);
}

.about-header {
  text-align: center;
  padding: 108px 20px 0 20px;
  border-radius: 24px;
}

.about-title {
  font-size: 50px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 40%, #3182ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-subtitle {
  font-size: 20px;
  color: #515154;
  font-weight: 500;
  opacity: 0.8;
}

.feature-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 24px;
  border-radius: 20px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 253, 249, 0.95)
  );
  border: 1px solid rgba(52, 199, 89, 0.2);
  border-radius: 24px;
  font-size: 20px;
  font-weight: 600;
  color: #2d8659;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 199, 89, 0.08);
}

.feature-tag:hover {
  background: linear-gradient(135deg, #34c759, #4ecdc4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 199, 89, 0.25);
  border-color: transparent;
}

.feature-tag:nth-child(1) {
  border-color: rgba(52, 199, 89, 0.3);
  color: #2d8659;
}

.feature-tag:nth-child(2) {
  border-color: rgba(78, 205, 196, 0.3);
  color: #2a9d8f;
}

.feature-tag:nth-child(3) {
  border-color: rgba(45, 134, 89, 0.3);
  color: #2d8659;
}

.feature-tag:nth-child(4) {
  border-color: rgba(52, 199, 89, 0.3);
  color: #1d7324;
}

/* SMST Section Styles */
.smst-section {
  padding: 20px 0;
}

.smst-content {
  max-width: 800px;
  margin: 0 auto;
}

.smst-title {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #2d8659 0%, #34c759 50%, #4ecdc4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.smst-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #34c759, #4ecdc4);
  border-radius: 2px;
}

.smst-layout {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 253, 249, 0.95) 100%
  );
  border: 1px solid rgba(52, 199, 89, 0.15);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(52, 199, 89, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  font-size: 17px;
  line-height: 1.6;
  color: #2d2d2d;
  text-align: justify;
  position: relative;
  overflow: hidden;
  text-indent: 2em;
}

.smst-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #34c759, #4ecdc4, #2d8659);
  border-radius: 20px 20px 0 0;
}

.smst-layout::after {
  content: "";
  display: table;
  clear: both;
}

.smst-layout p {
  margin: 0 0 4px 0;
  text-indent: 2em;
}

.smst-logo {
  float: right;
  margin: 20px 30px 0px 20px;
  text-align: center;
  text-indent: 0;
}

.smst-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(52, 199, 89, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid rgba(52, 199, 89, 0.2);
}

.smst-logo img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(52, 199, 89, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.smst-diagram {
  float: right;
  clear: right;
  width: 440px;
  margin: 6px 0 0 6px;
  text-align: center;
  padding: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(248, 253, 249, 0.8)
  );
  border-radius: 16px;
  border: 1px solid rgba(52, 199, 89, 0.1);
  text-indent: 0;
}

.smst-diagram img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 12px;
}

.smst-diagram img:last-of-type {
  margin-bottom: 0;
}

.smst-diagram img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(52, 199, 89, 0.15);
}

/* .diagram-caption {
  font-size: 14px;
  color: #2d8659;
  margin-top: 12px;
  font-weight: 600;
  padding: 8px 16px;
  background: linear-gradient(
    135deg,
    rgba(52, 199, 89, 0.1),
    rgba(78, 205, 196, 0.1)
  );
  border-radius: 20px;
  display: inline-block;
} */

.smst-diagram-second {
  float: right;
  width: 340px;
  margin: 12px 0 12px 18px;
  text-align: center;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(248, 253, 249, 0.8)
  );
  border-radius: 16px;
  border: 1px solid rgba(52, 199, 89, 0.1);
  text-indent: 0;
}

.smst-diagram-second img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 轮播图样式 */
.carousel-container {
  margin-top: 48px;
  padding: 0;
  text-indent: 0;
}

.carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(248, 253, 249, 0.95),
    rgba(240, 247, 242, 0.95)
  );
  box-shadow: 0 10px 40px rgba(52, 199, 89, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(52, 199, 89, 0.12);
}

.carousel-slides {
  position: relative;
  width: 100%;
  min-height: 400px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(248, 253, 249, 0.5),
    rgba(240, 247, 242, 0.5)
  );
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* 左右切换按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(52, 199, 89, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #34c759, #4ecdc4);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(52, 199, 89, 0.3);
}

.carousel-btn:hover svg path {
  stroke: white;
}

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

.carousel-btn svg path {
  stroke: #2d8659;
  transition: stroke 0.3s ease;
}

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

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

/* 指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px 20px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(52, 199, 89, 0.4);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.carousel-indicator:hover {
  border-color: #34c759;
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: linear-gradient(135deg, #34c759, #4ecdc4);
  border-color: #34c759;
  width: 32px;
  border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .carousel-wrapper {
    border-radius: 16px;
  }

  .carousel-slides {
    min-height: 250px;
    max-height: 400px;
  }

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

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

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

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

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

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

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

/* SMST Section Responsive */
@media (max-width: 968px) {
  .smst-logo {
    float: none;
    margin: 0 auto 24px;
  }

  .smst-logo img {
    width: 120px;
    height: 120px;
  }

  .smst-diagram {
    float: none;
    width: 100%;
    max-width: 400px;
    margin: 24px auto;
  }
}

@media (max-width: 768px) {
  .smst-section {
    margin-bottom: 48px;
    padding: 32px 0;
  }

  .smst-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .smst-layout {
    padding: 24px;
    font-size: 20px;
  }

  .smst-logo img {
    width: 120px;
    height: 120px;
  }
}

/* Download Page Styles */
.download-content {
  padding: 0;
}

.main > .download-section {
  padding: 120px 0 80px;
  min-height: calc(100vh - 72px);
}

.download-header {
  text-align: center;
  margin-bottom: 60px;
}

.download-title {
  font-size: 48px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.download-description {
  font-size: 20px;
  color: #515154;
  font-weight: 400;
}

.download-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.software-list {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  height: fit-content;
}

.software-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.software-item:last-child {
  margin-bottom: 0;
}

.software-item:hover {
  background: rgba(0, 122, 255, 0.05);
  transform: translateX(2px);
}

.software-item.active {
  background: linear-gradient(
    135deg,
    rgba(0, 122, 255, 0.1),
    rgba(0, 91, 181, 0.15)
  );
  border: 1px solid rgba(0, 122, 255, 0.2);
}
