:root {
  --primary: #0256FF;
  --primary-hover: #1d4ed8;
  --bg: #f6f9fc;
  --text: #222;
  --gray: #666;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
* {
  font-family: HarmonyOS Sans SC;
}
ul,
li {
  list-style: none;
  padding: 0px;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}
.title {
  color: rgb(29, 33, 48);
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0px;
  text-align: left;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(32, 33, 36);
  font-family: 旁门正道标题体;
  font-size: 24px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0px;
  text-align: left;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--gray);
  font-size: 1rem;
  line-height: 60px;
  position: relative;
  transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--primary);
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -2px;
  border-radius: 2px;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  position: relative;
}

#hero {
  width: 100%;
  height: 720px;
  position: relative;
  background-image: url('../static/hero-image.png');
  /* 设置背景图片 */
  background-size: cover;
  /* 让图片覆盖整个容器 */
  background-position: center;
  /* 图片居中显示 */
  background-repeat: no-repeat;
  /* 禁止重复 */
}

.hero-content h1 {
  color: rgb(29, 33, 48);
  font-size: 56px;
  font-weight: 700;
  line-height: 76px;
  letter-spacing: 0px;
  margin-bottom: 25px;
  text-align: left;
}

.hero-content p {
  color: rgb(114, 119, 129);
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0px;
  text-align: left;
  margin-bottom: 78px;
}

.hero-btns{
  position: relative;
}
@keyframes popupAnimation {
  from {
    transform: scale(0.3);
    opacity: 0.3;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.hero-btns .qrcode{
  width: 346px;
  height: 404px;
  position: absolute;
  right: -366px;
  top: -202px;
  padding: 20px;
  box-sizing: border-box;
  background-image: url('../static/wxbg.png');
  /* 设置背景图片 */
  background-size: cover;
  /* 让图片覆盖整个容器 */
  background-position: center;
  /* 图片居中显示 */
  background-repeat: no-repeat;
  text-align: center;
  display: none;
}
.hero-btns .qrcode p{
  margin: 20px 0;
  text-align: center;
  width: 100%;
}
.hero-btns:hover > .qrcode{
  display: block;
  animation: popupAnimation 0.3s ease forwards;
}
.hero-btns .qrcode p:first-child{
  color: rgb(2, 86, 255);
  font-family: HarmonyOS Sans SC;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0px;
}
.hero-btns .qrcode p:last-child{
  color: rgb(122, 135, 154);
  font-family: HarmonyOS Sans SC;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 12px;
}
.hero-btns .qrcode img{
  width: 240px;
  height: 240px;
}
.btn {
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.company {
  width: 100%;
}
.company-intro{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
}
.company-intro img {
  width: 532px;
  height: 300px;
}
.company-intro h2 {
  color: rgb(29, 33, 48);
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0px;
  text-align: left;
}
.company-intro p {
  width: 590px;
  color: rgb(96, 101, 108);

  font-size: 26px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0px;
  text-align: left;
}
.corporate {
  width: 100%;
  height: 610px;
  background-image: url('../static/corporate.png');
  /* 设置背景图片 */
  background-size: cover;
  /* 让图片覆盖整个容器 */
  background-position: center;
  /* 图片居中显示 */
  background-repeat: no-repeat;
  overflow: hidden;
}
.corporate h2 {
  margin-top: 62px;
}
.corporate li {
  margin-top: 40px;
  display: flex;

}
.corporate li i{
  position: relative;
  margin-right: 10px;
  width: 24px;
  height: 24px;
  display: inline-block;
  background: #fff;
  border: 2px solid #0256FF;
  border-radius: 50%;
}
.corporate li i::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #0256FF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.corporate li span{
  display: block;
  margin-bottom: 20px;
  color: rgb(29, 33, 48);
  font-size: 26px;
  font-weight: 700;
  line-height: 26px;
}
.corporate li p{
  color: rgb(145, 149, 153);
  font-size: 18px;
  font-weight: 400;
  margin-top: 0;
  line-height: 20px;
}
.vision-mission {
  width: 100%;
  padding: 40px 0;
}
.vision-mission-card{
  display: flex;
  justify-content: space-between;
}
.card {
  box-sizing: border-box;
  background-image: url("../static/mission-bg.png");
  /* 设置背景图片 */
  background-size: cover;
  /* 让图片覆盖整个容器 */
  background-position: center;
  /* 图片居中显示 */
  background-repeat: no-repeat;
  width: 590px;
  height: 260px;
  padding: 65px 40px;
  border-radius: 5px;
  box-shadow: 0px 0px 38px 0px rgba(52, 171, 255, 0.2);
}
.card h3{
  margin: 0;
  color: rgb(29, 33, 48);
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
}
.card p{
  color: rgb(114, 119, 129);
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

/* 底部 */

.footer {
  width: 100%;
  background: #232733;
  color: #fff;
  padding: 40px 0 30px 0;
  font-size: 16px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex: 2;
  min-width: 220px;
}

.footer-links h4 {
  margin-bottom: 20px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  letter-spacing: 0px;
  text-align: left;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 20px;
}

.footer-links a {
  color: #bfc6d1;
  text-decoration: none;
  color: rgb(153, 153, 153);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1cb5fc;
  text-decoration: underline;
}

.footer-contact {
  flex: 2;
  min-width: 220px;
  color: #fff;
}

.contact-label {
  color: rgb(153, 153, 153);
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0px;
  text-align: left;
  margin-bottom: 12px;
}

.contact-phone {
  color: rgb(255, 255, 255);
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0px;
  text-align: left;
  margin-bottom: 20px;
}

.contact-link {
  margin-bottom: 20px;
}

.contact-link span {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0px;
  text-align: left;
}

.contact-address {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0px;
  text-align: left;
}

.footer-qrcodes {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex: 1.5;
  min-width: 180px;
  justify-content: center;
}

.qrcode-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qrcode-img {
  width: 130px;
  height: 130px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.qrcode-img:hover {
  box-shadow: 0 4px 16px #1cb5fc88;
  transform: scale(1.05);
}

.qrcode-label {
  color: #bfc6d1;
  font-size: 15px;
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  min-width: 260px;
}

.close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
}

/* @media (max-width: 900px) {
    .banner-content, .service-content, .footer-content {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }
    .banner-img, .service-img {
      align-self: center;
    }
    .footer-links {
      flex-direction: column;
      gap: 18px;
    }
    .footer-qrcodes {
      gap: 18px;
    }
  }
  
  @media (max-width: 600px) {
    .container {
      padding: 0 8px;
    }
    .banner-content h1 {
      font-size: 1.5rem;
    }
    .section-title {
      font-size: 1.2rem;
    }
    .card-grid {
      grid-template-columns: 1fr;
    }
    .service-grid {
      flex-direction: column;
      gap: 16px;
    }
    .modal-content {
      padding: 18px 8px;
    }
  } */