/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: #333;
  background-color: #f5f5f5;
  overflow-x: auto;
}

/* 主容器 - 固定宽度1920px */
.main-container {
  display: flex;
  flex-direction: column;
  /* width: 1920px; */
  min-height: 100vh;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
}

/* 导航栏样式 */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  line-height: 70px;
}

.navbar-content {
  width: 100%;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1c1b22;
}

.logo a {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: #adadad;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  letter-spacing: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* 技术愿景部分 */
.vision-section {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -70px;
}

.vision-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mobile-bg {
  display: none;
}

.vision-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  max-width: 800px;
  position: relative;
  padding-bottom: 150px;
}

.vision-content h1 {
  font-size: 54px;
  margin-bottom: 24px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 15px;

  background: linear-gradient(175deg, #903593 30%, #fff 70%);
  -webkit-background-clip: text;
  /* 兼容 WebKit 浏览器 */
  background-clip: text;
  color: transparent;
}

.vision-content p {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}


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

.section-header h2 {
  font-size: 45px;
  color: #222221;
  margin-bottom: 8px;
  font-weight: bold;
  position: relative;
  letter-spacing: 4px;
}



.section-header h3 {
  font-size: 28px;
  color: #831e86;
  font-weight: 400;
  letter-spacing: 6px;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.scenario-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 图片容器优化 */
.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.scenario-image {
  width: 100%;
  /* height: 300px; */

  display: block;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

/* 标题叠加效果 */
.scenario-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;

}

.scenario-title h4 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

/* 悬停效果优化 */
.scenario-card:hover .scenario-image {
  transform: scale(1.05);
}

.application-section {
  padding: 60px 30px;
  background-color: #fff;
  position: relative;
  flex: 1;
}

/* 调整网格间距以适应1920px宽度 */
.scenarios-grid {
  gap: 30px;
  width: 100%;
}

/* 前沿技术标题部分样式 */
.frontier-header-section {
  position: relative;
  height: 590px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frontier-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.frontier-bg-mobile {
  display: none;
}

.frontier-header-content {
  position: relative;
  text-align: center;
}

.frontier-header-content h1 {
  color: #fff;
  font-size: 64px;
  font-weight: 500;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  padding-bottom: 200px;
  letter-spacing: 20px;
}

/* 前沿技术内容部分样式 */
.frontier-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  flex: 1;
}

.frontier-tech-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.tech-card {
  display: flex;
  border-radius: 0;
  overflow: hidden;
  padding-bottom: 70px;
  position: relative;
  width: 100%;
}

.tech-image-container {
  flex: 0 0 317px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 317px;
}

.tech-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 8px 6px 13px 1px #c5c5c5;
}

.tech-details {
  flex: 1;
  padding: 10px 30px 20px 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* 允许内容收缩 */
}

.tech-details span {
  display: inline-block;
  color: #333;
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 15px 0;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 2px;
}

.tech-details span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #9c27b0;
}

.tech-details p {
  color: #666;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex: 1;
  text-align: justify;
  letter-spacing: 0.5px;

  /* 两行省略号 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tech-button {
  background-color: transparent;
  color: #9c27b0;
  border: 1px solid #9c27b0;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  font-weight: 600;
  letter-spacing: 1px;
}

.tech-button:hover {
  background-color: #9c27b0;
  color: #fff;
}

/* 前沿技术详情 */
.frontier-detail-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
  position: relative;
  flex: 1;
}

.frontier-detail-section .navigation {
  position: absolute;
  top: 30px;
}

.navigation a {
  text-decoration: none;
}

.navigation span {
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;

  &:hover {
    color: #9c27b0;
  }
}

.frontier-intro {
  text-align: center;
  margin-bottom: 80px;
}

.frontier-intro h2 {
  font-size: 42px;
  font-weight: 600;
  color: #333;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  letter-spacing: 4px;
}

.frontier-intro h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background-color: #9c27b0;
}

.frontier-intro p {
  font-size: 24px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 2px;
}

.frontier-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* 导航栏active状态样式 */
.nav-links a.active {
  color: #fff;
  font-weight: 600;
  position: relative;
}



/* 页脚样式 */
.footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
  margin-top: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-direction: column
}

.copyright {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 2px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  display: block;
  margin-top: 20px;
}

.footer-text {
  font-size: 18px;
  line-height: 2;
}

/* 关于我们页面特定样式 */
.about-header-section {
  position: relative;
  height: 590px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.about-bg-mobile {
  display: none;
}

.about-header-content {
  position: relative;
  text-align: center;
}

.about-header-content h1 {
  font-size: 64px;
  font-weight: 400;
  margin-bottom: 220px;
  letter-spacing: 8px;

  background: linear-gradient(175deg, #903593 30%, #c9c9c9 70%);
  -webkit-background-clip: text;
  /* 兼容 WebKit 浏览器 */
  background-clip: text;
  color: transparent;
}

.about-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
  position: relative;
  flex: 1;
}

.about-intro {
  text-align: center;
  margin-bottom: 80px;
}

.about-intro h2 {
  font-size: 42px;
  font-weight: 600;
  color: #333;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  letter-spacing: 4px;
}

.about-intro h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background-color: #9c27b0;
}

.about-intro p {
  font-size: 24px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 2px;

}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

/* 响应式设计 - 确保在较小屏幕上也能正常显示 */
@media (max-width: 1920px) {
  .main-container {
    width: 100%;
    max-width: 1920px;
  }
}

@media (max-width: 1000px) {
  .navbar {
    height: auto;
    line-height: 40px;
  }

  .vision-section {
    height: auto;
    margin: 0;
  }

  .navbar-content {
    padding: 0 0.2rem;
  }

  .logo a {
    display: block;
    font-size: 15px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .vision-bg {
    display: none;
  }

  .mobile-bg {
    display: block;
    position: relative;
    width: 100%;
  }

  .vision-content {
    position: absolute;
    padding: 0;
    max-width: 70%;
    top: 0.3rem;
  }

  .vision-content h1 {
    font-size: 0.2rem;
    letter-spacing: 0.05rem;
    margin-bottom: 0.1rem;
  }

  .vision-content p {
    font-size: 0.12rem;
    line-height: 1.5;
    margin: 0;
  }

  .application-section {
    padding: 0.2rem;
  }

  .section-header h2 {
    font-size: 0.21rem;
  }

  .section-header h3 {
    font-size: 0.12rem;
  }

  .section-header {
    margin-bottom: 0.3rem;
  }

  .scenario-title {
    padding: 0.05rem;
  }

  .scenario-title h4 {
    font-size: 0.12rem;
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.1rem;
  }

  .footer {
    padding: 0.1rem;
    margin-top: 0.2rem;
  }

  .footer-content {}

  .footer-logos {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;

    display: none;
  }

  .footer-logo {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 0.04rem;
    display: block;
    margin-top: 0.2rem;
  }

  .footer-text {
    font-size: 0.12rem;
    line-height: 2;
  }

  .scenario-image {
    height: auto;
  }

  /* 前沿技术 */
  .frontier-bg {
    display: none;
  }

  .frontier-bg-mobile {
    width: 100%;
    display: block;
  }

  .frontier-header-content {
    position: absolute;
    top: 0.55rem;
  }

  .frontier-header-section {
    height: auto;
  }

  .frontier-header-content h1 {
    font-size: 0.25rem;
    padding: 0;
    letter-spacing: 0.07rem;
  }

  .frontier-content-section {
    padding: 0.2rem;
  }

  .tech-card {
    padding-bottom: 0.3rem;
  }

  .tech-card:last-child {
    padding-bottom: 0;
  }

  .tech-image-container {
    flex: none;
    width: 45%;
    margin-bottom: 0;
    min-width: 0;
  }

  .tech-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    box-shadow: 0.04rem 0.03rem 6px 1px #c5c5c5;
  }


  .tech-details {
    padding: 0rem 0 0 0.1rem;
    border-left: none;
    min-width: 0;
    width: 50%;
  }

  .tech-details h3 {
    display: flex;
  }

  .tech-details a {
    display: flex;
    text-decoration: none;
  }

  .tech-details span {
    font-size: 0.16rem;
    padding-bottom: 0.05rem;
    margin: 0 0 0.05rem 0;
    letter-spacing: 0.01rem;
  }

  .tech-details span::after {
    height: 1px;
  }

  .tech-details p {
    font-size: 0.11rem;
    line-height: 1.6;
    margin-bottom: 0.08rem;
    letter-spacing: 0;
    height: 0.352rem;
    /* 0.11rem * 1.6 * 2 */
    /* 两行省略号 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
  }

  .tech-button {
    font-size: 0.1rem;
    padding: 0.03rem 0.1rem;
  }

  /* 关于我们手机端样式 */
  .about-header-section {
    height: auto;
  }

  .about-bg {
    display: none;
  }

  .about-bg-mobile {
    display: block;
    width: 100%;
  }

  .about-header-content {
    position: absolute;
    top: 0.4rem;
  }

  .about-header-content h1 {
    font-size: 0.3rem;
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 0.04rem;

    background: linear-gradient(175deg, #903593 30%, #c9c9c9 70%);
    -webkit-background-clip: text;
    /* 兼容 WebKit 浏览器 */
    background-clip: text;
    color: transparent;
  }

  .about-content-section {
    padding: 0.2rem;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    flex: 1;
  }

  .about-intro {
    text-align: center;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .about-intro h2 {
    font-size: 0.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.04rem;
  }

  .about-intro h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.8rem;
    height: 0.02rem;
    background-color: #9c27b0;
  }

  .about-intro p {
    font-size: 0.12rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 0.1rem;
    width: 100%;
    letter-spacing: 0.02rem;
  }

  .about-image {
    width: 100%;
    height: auto;
    border-radius: 0.04rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0.2rem;
  }

  /* 前沿技术详情手机端样式 */
  .frontier-detail-section {
    padding: 0.2rem;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    flex: 1;
  }

  .frontier-detail-section .navigation {
    position: absolute;
    top: 0.1rem;
  }

  .navigation a {
    text-decoration: none;
  }

  .navigation span {
    display: block;
    cursor: pointer;
    font-size: 0.14rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;

    &:hover {
      color: #9c27b0;
    }
  }

  .frontier-intro {
    text-align: center;
    margin-bottom: 0.2rem;
    display: flex;
    flex-direction: column;
  }

  .frontier-intro h2 {
    font-size: 0.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
    letter-spacing: 0.02rem;
    margin-top: 0.1rem;
  }

  .frontier-intro h2::after {
    content: '';
    position: absolute;
    bottom: -0.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.8rem;
    height: 0.02rem;
    background-color: #9c27b0;
  }

  .frontier-intro p {
    font-size: 0.13rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 0.4rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02rem;
  }

  .frontier-image {
    width: 100%;
    height: auto;
    border-radius: 0.04rem;
    box-shadow: 0 0.04rem 0.3rem rgba(0, 0, 0, 0.1);
  }
}

@media (min-width: 1922px) {
  .navbar {
    height: 6rem;
    line-height: 6rem;
  }

  .logo a {
    display: block;
    font-size: 2.5rem;
  }

  .nav-links a {
    font-size: 1.6rem;
  }

  .vision-section {
    position: relative;
    height: 880px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -70px;
  }

  .vision-content {
    max-width: 80rem;
  }

  .vision-content h1 {
    font-size: 5rem;
    letter-spacing: 1rem;
  }

  .vision-content p {
    font-size: 2rem;
    line-height: 1.5;
  }

  .scenario-title {}

  .scenario-title h4 {
    font-size: 1.5rem;
    letter-spacing: 0.7rem;
  }
}