* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background-color: #fff;
  /* background-color: #333; */
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  /* width: 1400px; */
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: blur(7px);
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  z-index: 1000;
  padding: 15px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #ddd;
  font-size: 16px;
  transition: all 0.3s;
  padding: 10px 15px;
  border-radius: 4px;
}

.nav-menu a:hover {
  background: #ff7a33;
  color: white;
}

.nav-menu a.active {
  background: #ff7a33;
  color: white;
}

.language-switcher {
  display: flex;
  gap: 10px;
}

.lang-select {
  padding: 10px 15px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  color: #ddd;
  transition: all 0.3s;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 首屏大图 */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* iOS Safari 修复: 禁用 fixed 背景 */
@supports (-webkit-touch-callout: none) {
  .hero {
    background-attachment: scroll;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)); */
  animation: fadeIn 1s ease-out;
}

.hero-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 200px;
  /* width: 100vw; */
  /* min-height: calc(100vh - 80px); */
}

/* 左侧内容区 */
.hero-left {
  flex: 1;
  max-width: 850px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  font-size: 46px;
  font-weight: bold;
  margin-bottom: 30px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  letter-spacing: 1px;
  font-family: Abhaya Libre ExtraBold;
  font-weight: 800;
  font-style: Regular;
  font-size: 64px;
  line-height: 100%;
  letter-spacing: 0px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title .highlight {
  color: #ff7a33 !important;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 45px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 160%;
  letter-spacing: 0px;
  background-color: #ffffff1a;
  padding: 12px 20px;
  border-radius: 12px;
  /* border: 2px solid rgba(255, 255, 255, 0.4); */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-subtitle:hover {
  background-color: #ffffff25;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* 五大核心业务 */
.hero-services {
  margin-top: 60px;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.services-heading {
  font-size: 26px;
  color: white;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: PingFang SC;
  font-weight: 500;
  font-style: Medium;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0px;
}

.services-tags {
  display: flex;
  /* flex-direction: column; */
  gap: 12px;
  flex-wrap: wrap;
  max-width: 600px;
}

.service-tag {
  background: #ff7a33;
  padding: 14px 28px;
  border-radius: 5px;
  display: inline-flex;
  /* flex-direction: column; */
  /* align-items: flex-start; */
  /* backdrop-filter: blur(8px); */
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
  /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); */
  /* max-width: fit-content; */
  position: relative;
  overflow: hidden;
  /* 平行四边形效果 */
  transform: skew(-18deg);
  animation: scaleIn 0.5s ease-out both;
}

.service-tag:nth-child(1) { animation-delay: 1.1s; }
.service-tag:nth-child(2) { animation-delay: 1.2s; }
.service-tag:nth-child(3) { animation-delay: 1.3s; }
.service-tag:nth-child(4) { animation-delay: 1.4s; }
.service-tag:nth-child(5) { animation-delay: 1.5s; }
.service-tag > * {
  /* 让内容不倾斜 */
  transform: skew(18deg);
}

.service-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.service-tag:hover::before {
  left: 100%;
}

.service-tag:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 1),
    rgba(255, 87, 34, 1)
  );
  /* 保持平行四边形效果 */
  transform: skew(-18deg) translateX(10px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 122, 51, 0.5);
}

.tag-label {
  font-size: 17px;
  font-weight: bold;
  color: white;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.tag-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 3px;
}

/* 右侧三卡片 */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 90px;
  min-width: 300px;
  /* padding-top: 20px; */
  justify-content: space-between;
  animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(15px); */
  padding: 40px 35px;
  border-radius: 12px;
  /* border: 2px solid rgba(255, 255, 255, 0.4); */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: breathe 3s ease-in-out infinite;
}

.hero-card:nth-child(1) { animation-delay: 0s; }
.hero-card:nth-child(2) { animation-delay: 1s; }
.hero-card:nth-child(3) { animation-delay: 2s; }

.hero-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.hero-card:hover::before {
  opacity: 1;
}

.hero-card:hover {
  transform: translateY(-15px) scale(1.05);
  background: rgba(26, 84, 144, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 40px rgba(26, 84, 144, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
  animation: none;
}

.hero-card h3 {
  font-size: 22px;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* 通用章节样式 */
section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 36px;
  color: #1a5490;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* 历史沿革 */
.history-section {
  background: linear-gradient(180deg, #f5f8fa 0%, #e8f0f5 100%);
  padding: 80px 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  /* width: 3px; */
  border: 3px solid;
  border-image-source: linear-gradient(
    360deg,
    #c5e7ff 0%,
    #0d8aee 48.08%,
    #c5e7ff 98.56%
  );
  border-image-slice: 1;
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  align-items: center;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: radial-gradient(
    circle,
    #1a5490 0%,
    #4a9fd8 50%,
    rgba(26, 84, 144, 0.3) 100%
  );
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(26, 84, 144, 0.2), 0 0 20px rgba(26, 84, 144, 0.4);
  z-index: 2;
  position: relative;
}

.timeline-year {
  padding: 0;
  margin-bottom: 10px;
}

.timeline-year span {
  display: inline-block;
  color: #1a5490;
  font-size: 24px;
  font-weight: bold;
}

.timeline-content-left,
.timeline-content-right {
  position: relative;
}

.timeline-content-left {
  text-align: right;
  padding-right: 20px;
}

.timeline-content-right {
  text-align: left;
  padding-left: 20px;
}

.timeline-content-left p,
.timeline-content-right p {
  color: #333;
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}

/* 核心定位 */
.positioning-section {
  background: white;
}

.positioning-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pos-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.pos-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pos-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.pos-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.pos-card:hover .pos-card-image img {
  transform: scale(1.1);
}

.pos-card-content {
  padding: 30px;
}

.pos-card-content h3 {
  font-size: 22px;
  color: #1a5490;
  margin-bottom: 15px;
}

.pos-card-content p {
  color: #666;
  line-height: 1.8;
}

/* 五大核心业务 */
.services-section {
  background: #f8f9fa;
  padding-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.service-card {
  background: white;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.service-content {
  text-align: center;
  font-family: PingFang SC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}

.service-content h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
  font-family: PingFang SC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}

.service-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}

.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 384 / 846;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 31, 59, 0.6) 0%,
    rgba(0, 84, 161, 0.6) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #ff7a3366;
  padding: 20px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 统计数据 */
.stats-section {
  background: linear-gradient(135deg, #1a5490 0%, #2a7ac0 100%);
  color: white;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 30px;
  font-family: Hiragino Kaku Gothic Std;
  font-weight: 800;
  font-style: W8;
  font-size: 76px;
  line-height: 100%;
  letter-spacing: 0px;
}

.stat-label {
  font-size: 18px;
  opacity: 0.9;
  font-family: PingFang SC;
  font-weight: 400;
  font-style: Regular;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0px;
}

/* 能力优势 */
.capabilities-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.capabilities-section .container {
  position: relative;
  z-index: 1;
}

.cap-header-img {
  max-width: 300px;
  margin: 0 auto 20px;
  display: block;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 0px;
}

.cap-card {
  background: url("../images/能力优势背景.png") no-repeat center center;
  background-size: 100% 100%;
  padding: 80px 60px;
  padding-bottom: 30%;
  border-radius: 10px;
  box-sizing: border-box;
  /* box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1); */
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.cap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cap-icon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 78px;
  /* object-fit: cover; */
}

.cap-card h3 {
  font-size: 20px;
  color: #1a5490;
  margin-bottom: 15px;
}

.cap-card p {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
}

/* 联系我们 */
.contact-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a5490 0%, #2a7ac0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-text h4 {
  color: #1a5490;
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-text p {
  color: #666;
  font-size: 16px;
}

.contact-map {
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
.footer {
  color: white;
  padding: 80px 0 30px;
  background: linear-gradient(180deg, #005696 0%, #003d6b 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 25px;
  color: #fff;
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  display: block;
}

.footer-col ul li a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-block;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #777;
  font-size: 14px;
}

/* 加载完成类 */
.hero.loaded .hero-title {
  animation: none;
}

.hero.loaded .hero-subtitle {
  animation: none;
}

/* 平滑过渡优化 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  margin-left: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* 菜单打开时的按钮动画 */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 响应式设计 */
@media (max-width: 968px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* 移动端菜单遮罩层 */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* 移动端独立菜单（脱离navbar，直接在body下） */
  .mobile-nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 999;
    list-style: none;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
    border-bottom: 3px solid transparent;
  }

  .mobile-nav-menu.show {
    max-height: 600px;
    padding: 25px 20px;
    opacity: 1;
    border-bottom-color: #ff7a33;
  }

  .mobile-nav-menu li {
    width: 100%;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
  }

  .mobile-nav-menu.show li {
    transform: translateX(0);
    opacity: 1;
  }

  /* 为每个菜单项添加延迟动画 */
  .mobile-nav-menu.show li:nth-child(1) { transition-delay: 0.05s; }
  .mobile-nav-menu.show li:nth-child(2) { transition-delay: 0.1s; }
  .mobile-nav-menu.show li:nth-child(3) { transition-delay: 0.15s; }
  .mobile-nav-menu.show li:nth-child(4) { transition-delay: 0.2s; }
  .mobile-nav-menu.show li:nth-child(5) { transition-delay: 0.25s; }
  .mobile-nav-menu.show li:nth-child(6) { transition-delay: 0.3s; }

  .mobile-nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 122, 51, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
  }

  .mobile-nav-menu a:active::before {
    width: 300px;
    height: 300px;
  }

  .mobile-nav-menu a.active {
    background: linear-gradient(135deg, #ff7a33 0%, #ff6b3d 100%);
    border-color: #ff7a33;
    box-shadow: 0 4px 15px rgba(255, 122, 51, 0.4);
  }

  /* 触摸设备优化 */
  @media (hover: hover) {
    .mobile-nav-menu a:hover {
      background: linear-gradient(135deg, #ff7a33 0%, #ff6b3d 100%);
      border-color: #ff7a33;
      transform: translateX(5px);
      box-shadow: 0 4px 15px rgba(255, 122, 51, 0.4);
    }
  }

  @media (hover: none) {
    .mobile-nav-menu a:active {
      background: linear-gradient(135deg, #ff7a33 0%, #ff6b3d 100%);
      border-color: #ff7a33;
    }
  }

  /* 首屏优化 */
  .hero {
    /* min-height: auto; */
    padding: 100px 0 60px;
    background-attachment: scroll;
  }

  .hero-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 20px;
    animation-delay: 0.2s;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    padding: 16px 18px;
    animation-delay: 0.4s;
  }

  .hero-services {
    margin-top: 40px;
    animation-delay: 0.6s;
  }

  .services-heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .services-tags {
    max-width: 100%;
    gap: 10px;
  }

  .service-tag {
    padding: 12px 20px;
    font-size: 14px;
  }

  .tag-label {
    font-size: 15px;
  }

  .tag-desc {
    font-size: 12px;
  }

  .hero-right {
    width: 100%;
    min-width: auto;
    gap: 20px;
    animation-delay: 0.3s;
  }

  .hero-card {
    padding: 30px 25px;
  }

  .hero-card h3 {
    font-size: 20px;
  }

  .positioning-cards,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    padding: 0 20px;
  }

  .stat-item {
    padding: 20px 10px;
  }

  .stat-number {
    font-size: 48px;
    margin-bottom: 15px;
  }

  .stat-label {
    font-size: 16px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .language-switcher {
    margin-left: auto;
  }

  .lang-select {
    padding: 8px 12px;
    font-size: 14px;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
  }

  .timeline-content-left {
    text-align: center;
    padding-right: 10px;
  }

  .timeline-content-right {
    text-align: center;
    padding-left: 10px;
  }

  .timeline-year {
    text-align: center;
  }

  .timeline-year span {
    font-size: 20px;
  }

  .timeline-content-left p,
  .timeline-content-right p {
    font-size: 13px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px 40px;
  }

  .service-card {
    border-radius: 12px;
  }

  .service-image {
    aspect-ratio: 16 / 9;
    min-height: 300px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    padding: 15px;
    margin-bottom: 15px;
  }

  .service-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .service-content p {
    font-size: 16px;
  }
}

/* 平板设备优化 */
@media (max-width: 768px) and (min-width: 577px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 40px 40px;
  }

  .service-image {
    aspect-ratio: 16 / 9;
    min-height: 350px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    padding: 18px;
  }

  .service-content h3 {
    font-size: 28px;
  }

  .service-content p {
    font-size: 18px;
  }

  .mobile-nav-menu a {
    padding: 15px 22px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 80px 0 50px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 14px 16px;
  }

  .hero-services {
    margin-top: 30px;
  }

  .services-heading {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .services-tags {
    gap: 8px;
  }

  .service-tag {
    padding: 10px 16px;
  }

  .tag-label {
    font-size: 14px;
  }

  .tag-desc {
    font-size: 11px;
  }

  .hero-card {
    padding: 25px 20px;
  }

  .hero-card h3 {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .services-grid {
    padding: 0 15px 30px;
    gap: 15px;
  }

  .service-image {
    min-height: 250px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
    margin-bottom: 12px;
  }

  .service-content h3 {
    font-size: 20px;
  }

  .service-content p {
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 30px;
    max-width: 400px;
    margin: 0 auto;
  }

  .stat-item {
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
  }

  .stat-number {
    font-size: 42px;
    margin-bottom: 12px;
  }

  .stat-label {
    font-size: 18px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .mobile-nav-menu {
    top: 70px;
  }

  .mobile-nav-menu.show {
    max-height: 500px;
  }

  .mobile-nav-menu a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .mobile-menu-toggle {
    width: 28px;
    height: 24px;
  }

  .mobile-menu-toggle span {
    height: 2.5px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

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

/* GPU 硬件加速优化 */
.hero-wrapper,
.hero-card,
.service-tag,
.hero-title,
.hero-subtitle {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 页面加载后移除 will-change */
.hero.loaded .hero-wrapper,
.hero.loaded .hero-card,
.hero.loaded .service-tag {
  will-change: auto;
}

/* 背景图片类 */
.bg1 {
  background-image: url("../images/bg1.png");
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
}

/* iOS Safari 修复: 禁用 fixed 背景 */
@supports (-webkit-touch-callout: none) {
  .bg1 {
    background-attachment: scroll;
    background-position: center;
  }
}

.bg2 {
    background-image: url("../images/bg2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: skew(-18deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: skew(-18deg) scale(1);
  }
}

@keyframes breathe {
  0%, 100% {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 8px 30px rgba(26, 84, 144, 0.4);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.section-header {
  animation: fadeInUp 0.8s ease-out;
}
