* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  font-size: 16px;
}

body { 
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Alibaba PuHuiTi 2.0', sans-serif;
}

/* 容器采用相对单位 */
.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

/* 背景图片区域 */
.hero-section {
  width: 100%;
  position: relative;
  background-image: url(../image/a23c1e40c25851aea9faacd03b0675fd65e168f2.png);
  background-size: cover;
  background-position: center;
  /* 使用padding-top实现16:9的比例 (9/16 = 0.5625 = 56.25%) */
  padding-top: 56.25%;
  overflow: hidden;
}

/* 英雄区域内容容器 */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

/* 导航栏 */
.navbar {
  width: 100%;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(5px);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
}

.logo {
  width: 171px;
  height: 43px;
  background-image: url(../image/3a2364c24ab295449c794e503c60a433a68a456f.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-item {
  font-size: 1.125rem;
  color: #242424;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* 主标语 */
.main-slogan {
  font-size: 2.25rem;
  font-family: 'Alimama ShuHeiTi', sans-serif;
  font-weight: 700;
  color: #242424;
  position: absolute;
  left: 5%;
  bottom: 25%;
  transform: rotate(-24deg);
  white-space: nowrap;
  z-index: 10;
}

/* 公司介绍区域 */
.company-intro {
  width: 100%;
  position: relative;
  background-image: url(../image/cc7aa2fb825a949b2c67291706cb3b67d74e7094.png);
  background-size: cover;
  background-position: center;
  /* 使用padding-top实现16:9的比例，与英雄区域相同 */
  padding-top: 56.25%;
  overflow: hidden;
}

.intro-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.7); /* 半透明背景，提高文字可读性 */
}

.intro-text {
  width: 60%;
  max-width: 420px;
  margin-left: 10%;
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 2px;
  color: #242424;
}

/* 底部区域 */
.footer {
  width: 100%;
  padding: 2rem 0;
  background-color: rgba(36, 36, 36, 1);
  color: rgba(242, 242, 242, 1);
}

.footer-container {
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo {
  width: 214px;
  height: 54px;
  background-image: url(../image/097d369f38dd201338c014da8f2c3f205e5ecb32.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
}

.footer-info {
  margin-bottom: 3rem;
}

.footer-text {
  font-size: 0.95rem;
  margin: 0.75rem 0;
  display: block;
}

.footer-link {
  color: rgba(242, 242, 242, 1);
  text-decoration: none;
}

.footer-links {
  margin-top: 1rem;
}

.large-logo-container {
  width: 200px;
  height: 200px;
  position: relative;
}

.vector-3 {
  width: 100%;
  height: 100%;
  background-image: url(../image/763fd65308107082188d0595e79a9b0f57a47a4b.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
}

/* 媒体查询 - 平板设备 */
@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .intro-text {
    max-width: 80%;
  }
  
  .main-slogan {
    font-size: 2rem;
  }
}

/* 媒体查询 - 手机设备 */
@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
  
  .navbar-container {
    width: 95%;
  }
  
  .hero-section {
    padding-top: 150%;
  }
  
  .company-intro {
    padding-top: 150%;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-item {
    padding: 1rem 0;
    font-size: 1.5rem;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .main-slogan {
    font-size: 1.75rem;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-24deg);
  }
  
  .intro-text {
    width: 90%;
    margin: 0 auto;
    font-size: 1.9rem;
  }
  
  .intro-content {
    justify-content: center;
    padding-top: 0;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-text {
    font-size: 1.4rem;
    margin: 1rem 0;
  }
  
  .large-logo-container {
    margin: 2rem auto 0;
  }
}

/* 业务介绍区域 */
.services-section {
  width: 100%;
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.services-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.service-card {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.bridge-icon {
  background-image: url('../image/bridge-system-architecture.svg');
}

.launcher-icon {
  background-image: url('../image/bridge-system-architecture.svg');
  transform: rotate(45deg);
}

.service-title {
  font-size: 1.6rem;
  font-family: 'Alimama ShuHeiTi', sans-serif;
  font-weight: 600;
  color: #242424;
  margin-bottom: 1.2rem;
  padding-top: 1rem;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.service-link:hover {
  background-color: #555;
}

/* 媒体查询 - 服务卡片响应式 */
@media screen and (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-title {
    font-size: 1.8rem;
  }
  
  .service-desc {
    font-size: 1.2rem;
  }
  
  .service-link {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }
}