/*-------------------------------------------------------------------------锚点定位*/
* {
  font-family: 'Noto Sans Hans'
}

.scroll-position {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 500;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


.support-linkm {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
  padding: 20px 0;

}

.linkm-item {
  text-align: center;
  background: #F6F6F6;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.linkm-item a {
  display: block;
  padding: 12px 8px;
  text-decoration: none;
  color: #333;
}

.linkm-item a p {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
}

.linkm-item:hover {
  background: #0A97FF;
}

.linkm-item:hover a {
  color: #fff;
}

/* 活动状态 */
.linkm-item.active {
  background: #0A97FF;
}

.linkm-item.active a {
  color: #fff;
}

/* 为页面内容添加顶部间距，避免被固定导航遮挡 */
/* 70px(主导航) + 锚点导航高度(约80px) = 150px */
body {
  padding-top: 150px;
}

/* 大屏幕优化 */
@media (min-width: 1441px) {
  .support-linkm {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .support-linkm {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px 0;
  }

  .linkm-item a p {
    font-size: 11px;
  }

  body {
    padding-top: 130px;
  }
}

@media (max-width: 480px) {
  .support-link {
    padding: 0 15px;
  }

  .support-linkm {
    gap: 10px;
  }

  .linkm-item a {
    padding: 10px 5px;
  }

  .linkm-item a p {
    font-size: 11px;
  }
}


/*-------------------------------------------------------------------------软件模块*/

.soft-down-container {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --border-color: #dee2e6;
  --hover-bg: #f8f9fa;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  color: var(--text-primary);
  /* 为固定导航留出空间 */
  margin-top: 80px;
  scroll-margin-top: 80px;
}

* {
  box-sizing: border-box;
}

.soft-down-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 80px;
}

/* 侧边栏样式 */
.soft-down-sidebar {
  width: 280px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
  /* 调整为固定导航高度 + 20px */
  transition: var(--transition);
  overflow: hidden;
}

.soft-down-sidebar-wrapper {
  padding: 20px;
}

/* 选择器样式 */
.soft-down-scanner-selector {
  margin-bottom: 20px;
}

.soft-down-selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  cursor: pointer;
  padding: 12px;
  background-color: var(--light-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.soft-down-selector-header:hover {
  background-color: #e9ecef;
}

.soft-down-selector-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.soft-down-selector-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 450px;
  overflow-y: auto;
  padding-right: 4px;
  transition: max-height 0.3s ease;
}

.soft-down-selector-content::-webkit-scrollbar {
  width: 6px;
}

.soft-down-selector-content::-webkit-scrollbar-track {
  background: var(--light-color);
  border-radius: 3px;
}

.soft-down-selector-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.soft-down-selector-content::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

[data-toggle-status="closed"] .soft-down-selector-content {
  max-height: 0;
  overflow: hidden;
}

/* 切换按钮样式 */
.soft-down-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.soft-down-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.soft-down-icon-plus,
.soft-down-icon-minus {
  transition: var(--transition);
}

[data-toggle-status="open"] .soft-down-icon-plus {
  display: none;
}

[data-toggle-status="closed"] .soft-down-icon-minus {
  display: none;
}

/* 自定义复选框样式 */
.soft-down-checkbox-item {
  display: flex;
  align-items: center;
  /*padding: 12px 16px;*/
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.soft-down-checkbox-item:hover {
  background-color: var(--hover-bg);
}

.soft-down-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.soft-down-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  transition: var(--transition);
  background-color: white;
  flex-shrink: 0;
}

.soft-down-checkbox:checked~.soft-down-checkbox-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.soft-down-checkbox-custom:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.soft-down-checkbox:checked~.soft-down-checkbox-custom:after {
  display: block;
}

.soft-down-checkbox-label {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
  user-select: none;
}

.soft-down-checkbox:checked~.soft-down-checkbox-label {
  color: var(--primary-color);
  font-weight: 500;
}

/* 主内容区样式 */
.soft-down-main {
  flex: 1;
  min-width: 0;
}

.soft-down-section {
  margin-bottom: 60px;
}

.soft-down-section:last-child {
  margin-bottom: 0;
}

.soft-down-section-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

/* 软件卡片网格 */
.soft-down-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  position: relative;
}

.soft-down-empty-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px 20px;
  color: var(--text-secondary);
  font-size: 16px;
  background-color: var(--light-color);
  border-radius: var(--radius-md);
  display: none;
}

.soft-down-grid:not(:has(.soft-down-card.active)) .soft-down-empty-message {
  display: block;
}

/* 软件卡片样式 */
.soft-down-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: none;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.soft-down-card.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.soft-down-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.soft-down-card-inner {
  padding: 24px;
  cursor: pointer;
}

.soft-down-card-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-color);
  border-radius: var(--radius-md);
  padding: 12px;
}

.soft-down-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.soft-down-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.soft-down-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.soft-down-card-desc p {
  margin: 0 0 8px 0;
}

.soft-down-card-desc p:last-child {
  margin-bottom: 0;
}

.soft-down-card-compatible {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
}

.soft-down-card-compatible strong {
  color: var(--text-primary);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .soft-down-container {
    margin-top: 70px;
  }

  .soft-down-wrapper {
    flex-direction: column;
  }

  .soft-down-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 30px;
  }

  .support-linkm {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .soft-down-container {
    padding: 15px;
    margin-top: 60px;
  }

  .soft-down-section-title {
    font-size: 24px;
  }

  .soft-down-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .linkm-item a p {
    font-size: 11px;
  }

  .support-linkm {
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .soft-down-card-inner {
    padding: 16px;
  }

  .soft-down-selector-header {
    padding: 10px;
  }

  .soft-down-selector-title {
    font-size: 16px;
  }

  .linkm-item a {
    padding: 6px 12px;
  }
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 锚点定位偏移 */
#softwareDownload,
#soft,
#tk-sf,
#revo-metro {
  scroll-margin-top: 80px;
}


/*-------------------------------------------------------------------------文档模块*/
.pd-name:nth-child(1) {
  border-top: inherit;
}

.bd {
  display: flex;
}

.dc-left {
  width: 30%;
  background-color: #f4f4f4;
}

.dc-left ul {
  list-style-type: none;
  padding: 0;
}

.pd-name {
  border-top: 1px solid #707070;
}

.dc-left li {
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 4rem;
  display: block;
  padding-left: 4rem;
}

.dc-left li:hover {
  background-color: #e0e0e0;
}

.dc-right {
  width: 70%;
  padding-left: 20px;
  background-color: #ffffff;
}

.manual {
  display: none;
}

.manual-item {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  box-shadow: rgb(17 12 46 / 15%) 0px 8px 10px 0px;
  background-color: #fff;
}

.manual-item .name {
  line-height: 50px;
  font-size: 1.25rem;
}

.manual.active {
  display: block;
}

@media screen and (max-width: 768px) {
  .bd {
    flex-direction: column;

  }

  .pd-name:nth-child(1) {
    border-top: block;
  }


  .dc-left {
    width: 100%;
    margin-bottom: 1rem;
  }

  .dc-left ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 0.5rem;
  }

  .dc-right {
    width: 100%;
    padding-left: 0;
  }

  .manual-item {
    display: grid;
    border-bottom: 1px solid #ddd;
    padding: .75rem 1rem .75rem 1rem;
  }

  .manual-item .name {
    line-height: 35px;
    font-size: 1.25rem;
  }

}


/*----------------------------------------------PC更新*/
.revo-update {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 30px;
  max-height: 400px;
  overflow-y: scroll;
  color: #494949;
  border-radius: 4px;
}

.revo-update-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.revo-update-details {
  margin-bottom: 20px;
  line-height: 30px;
  font-size: 14px;
}


.revo-update::-webkit-scrollbar {
  width: 12px;
  height: 12px;

}

.revo-update::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.revo-update::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

.revo-update::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media screen and (max-width: 768px) {
  .revo-update {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
}



/*-----------------------------------------------文字标题*/
.section-title-h2 {
  margin-bottom: 60px;
  margin-top: 60px;
}

.section-title-h2 p {
  background-color: #f6f6f6;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font: normal normal 900 40px / normal Noto Sans Hans;
  letter-spacing: 0px;
  color: #494949;
}

.sf-dc {
  max-width: 1200px;
  margin: 150px auto 100px auto;
}

@media screen and (max-width: 768px) {
  .section-title-h2 p {
    height: auto !important;
    font: 700 32px / normal Poppins !important;
  }

  .sf-dc {
    margin: 30px 10px;
  }
}


/*-------------------------------------------------------------------产品支持*/

/* 基础样式 */
.product-support-section {
  padding: 40px 20px;
}

.down-product-support-page-layout-content {
  max-width: 1280px;
  margin: 0 auto;
}

.down-product-support-onetitle {
  text-align: left;
  margin-bottom: 40px;
}

.down-product-support-onetitle h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.down-product-support-onetitle p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.down-product-support-productitem {
  display: grid;
  gap: 60px 24px;
  margin-bottom: 40px;
  grid-template-columns: repeat(4, 1fr);
}

/* 产品项目样式 */
.product-item {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  transform: translateY(0);
}


/* 图片容器 */
.down-product-support-zoomimg {
  width: 100%;
  height: 80%;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.down-product-support-flex-x-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.down-product-support-zoomimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  padding: 5px;
}

.product-item:hover .down-product-support-zoomimg img {
  transform: scale(1.05);
}

.down-product-support-producttitle {
  padding: 20px 40px 20px 10px;
  text-align: center;
}

.down-product-support-producttitle p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* 查看更多按钮 */
.down-product-support-prodducts-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding: 16px 32px;
  color: #333;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}



.down-product-support-prodducts-footer-btn:active {
  transform: translateY(0);
}

/* 箭头图标 */
.down-product-support-menu-item-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.down-product-support-prodducts-footer-btn.expanded .down-product-support-menu-item-arrow {
  transform: rotate(180deg);
}

/* 隐藏的产品项目 */
.product-item.hidden {
  display: none;
}


@media (max-width: 768px) {
  .product-support-section {
    padding: 30px 15px;
  }

  .down-product-support-onetitle {
    margin-bottom: 30px;
  }

  .down-product-support-onetitle h2 {
    font-size: 2rem;
  }

  .down-product-support-onetitle p {
    font-size: 1rem;
  }

  /* 移动端：2列布局 */
  .down-product-support-productitem {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
  }

  .down-product-support-zoomimg {
    height: 80%;
  }

  .down-product-support-producttitle {
    padding: 15px;
  }

  .down-product-support-producttitle p {
    font-size: 1rem;
  }

  .down-product-support-prodducts-footer-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
  .product-support-section {
    padding: 20px 10px;
  }

  .down-product-support-productitem {
    gap: 12px;
  }

  .down-product-support-zoomimg {
    height: 80%;
  }

  .down-product-support-producttitle {
    padding: 12px;
  }

  .down-product-support-producttitle p {
    font-size: 0.9rem;
  }
}

/* 加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-item.show {
  animation: fadeInUp 0.5s ease forwards;
}












/*-------------------------------------------------------------------模态框容器*/

.softdown-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.softdown-modal.show {
  display: block;
}

.softdown-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.softdown-modal-content {
  position: relative;
  max-width: 1280px;
  max-height: 90vh;
  margin: 5vh auto;
  background: white;
  border-radius: 12px;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}