/* 技术特色页面样式 */
.technology-main {
  padding: 60px 0;
  background-color: #fff;
}

.technology-main .container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.technology-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 左侧边栏 */
.technology-sidebar {
  width: 240px;
  flex-shrink: 0;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: sticky;
  top: 100px;
  border: 1px solid #f0f0f0;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  background-color: var(--color-orange);
  padding: 18px 20px;
  margin: 0;
  text-align: center;
  letter-spacing: 1px;
}

.technology-categories {
  list-style: none;
  padding: 10px 0;
  margin: 0;
  background-color: #fff;
}

.technology-categories .category-item {
  padding: 14px 20px 14px 25px;
  font-size: 16px;
  color: #444;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.03);
  margin: 0 10px 5px;
  border-radius: 6px;
  background-color: #fafafa;
}

.technology-categories .category-item:last-child {
  margin-bottom: 0;
}

.technology-categories .category-item:hover {
  background-color: #f0f7ff;
  color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.06);
}

.technology-categories .category-item.active {
  color: var(--color-blue);
  background-color: #f0f7ff;
  font-weight: 500;
  box-shadow: 3px 4px 10px rgba(40, 76, 159, 0.1);
  border-left: 4px solid var(--color-blue);
  border-radius: 6px 4px 4px 6px;
}

/* 右侧内容区 */
.technology-content {
  flex: 1;
  min-width: 0;
}

.technology-detail {
  display: none;
}

.technology-detail.active {
  display: block;
}

/* 通用标题样式 */
.technology-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.technology-subtitle {
  font-size: 16px;
  color: var(--color-orange);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== 技术成果 ===== */
.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.achievement-item:hover {
  background-color: #f0f7ff;
  border-left-color: var(--color-blue);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.achievement-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.achievement-item:hover .achievement-icon {
  transform: scale(1.05);
}

.achievement-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.achievement-content h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-main);
  margin: 0;
  transition: color 0.3s;
}

.achievement-item:hover .achievement-content h3 {
  color: var(--color-blue);
}

/* ===== 技术问答 ===== */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.qa-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.qa-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--color-blue);
}

.qa-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-blue);
  color: white;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qa-content {
  flex: 1;
}

.qa-question {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 12px;
  line-height: 1.5;
}

.qa-answer {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding-left: 15px;
  border-left: 3px solid var(--color-orange);
}

.qa-answer p {
  margin-bottom: 8px;
}

.qa-answer p:last-child {
  margin-bottom: 0;
}

/* ===== 团体标准 ===== */
.standard-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #eaeaea;
}

.standard-header {
  background: linear-gradient(145deg, var(--color-blue), #1a3a7a);
  color: white;
  padding: 30px;
  position: relative;
}

.standard-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50% 0 0 0;
}

.standard-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.standard-org {
  font-size: 18px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 30px;
}

.standard-content {
  padding: 30px;
}

.standard-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
  text-align: justify;
}

.standard-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background-color: #f5f9ff;
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 25px;
  border-left: 4px solid var(--color-orange);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-label {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 5px;
}

.highlight-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-blue);
}

.standard-feature h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
}

.standard-feature h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background-color: var(--color-orange);
  border-radius: 2px;
}

.standard-feature .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.standard-feature .feature-list li {
  font-size: 15px;
  color: var(--color-text-secondary);
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.standard-feature .feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: bold;
}

.standard-note {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 18px 25px;
  border-left: 4px solid var(--color-blue);
}

.standard-note p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== 下载中心 ===== */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  min-height: 400px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.download-item:hover {
  background-color: #f0f7ff;
  border-color: var(--color-blue);
  transform: translateX(5px);
}

.download-info {
  flex: 1;
}

.download-info h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.download-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.file-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--color-text-light);
}

.file-type {
  background-color: #e0e0e0;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background-color: var(--color-blue);
  color: white;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.download-btn:hover {
  background-color: var(--color-orange);
  transform: translateY(-2px);
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.page-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--color-text-secondary);
  background-color: #f5f5f5;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.page-link:hover {
  background-color: var(--color-blue);
  color: white;
}

.page-link.active {
  background-color: var(--color-blue);
  color: white;
  font-weight: 500;
}

.page-info {
  font-size: 14px;
  color: var(--color-text-light);
  margin-left: 10px;
}

.page-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
}

.page-input {
  width: 50px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.page-btn {
  padding: 6px 15px;
  background-color: var(--color-blue);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.page-btn:hover {
  background-color: var(--color-orange);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-light);
  font-size: 16px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
  opacity: 0.5;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
}

.lightbox-close:hover {
  color: var(--color-orange);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 16px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .technology-wrapper {
    flex-direction: column;
  }

  .technology-sidebar {
    width: 100%;
    position: static;
  }

  .technology-categories {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
  }

  .technology-categories .category-item {
    flex: 1 1 auto;
    text-align: center;
    margin: 0 5px;
  }
}

@media (max-width: 768px) {
  .technology-title {
    font-size: 26px;
  }

  .achievement-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .qa-item {
    flex-direction: column;
    gap: 10px;
  }

  .qa-icon {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .standard-title {
    font-size: 22px;
  }

  .standard-highlight {
    flex-direction: column;
    gap: 15px;
  }

  .standard-feature .feature-list {
    grid-template-columns: 1fr;
  }

  .download-item {
    flex-wrap: wrap;
  }

  .download-btn {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }

  .pagination {
    justify-content: center;
  }
}