.hero-section {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(0, 35, 102, 0.9) 0%, rgba(0, 82, 155, 0.9) 100%), 
              url(https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80) no-repeat center / cover;
  display: flex;
  align-items: center;
  padding: 40px 5%;
  /* box-sizing: border-box; */
  overflow: visible;
}
/* 内容区域 */
.hero-content {
  flex: 1;
  max-width: 600px;
  color: white;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}

/* 表单区域 */
.floating-form {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin-left: 40px; /* 电脑端的间距 */
}

.floating-form h3 {
  color: var(--primary);
  margin-top: 0;
}


.gdpr-notice {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}
 
/* 核心价值区 */
.value-section {
  padding: 80px 5%;
  text-align: center;
  background: var(--light);
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: auto;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
}

.value-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.value-card h3 {
  color: var(--primary);
  margin-top: 0;
}

/* 动态数据看板 */
.stats-bar {
  background: var(--primary);
  color: white;
  padding: 20px 0;
  text-align: center;
}

.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  font-family: "Arial", sans-serif;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}
/* 电脑端布局 (≥992px) */
@media (min-width: 992px) {
 

  .hero-content {
    flex: 1; /* 占据剩余全部空间 */
    max-width: 65%; /* 控制内容区最大宽度 */
    padding-right: 40px; /* 与表单间距 */
  }

  .floating-form {
    width: 320px; /* 固定表单宽度 */
    margin-left: 0; /* 移除左边距 */
    align-self: center; /* 垂直居中 */
  }
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    padding: 60px 5%;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }
  .floating-form {
    margin-left: 0;
    width: calc(100%-40px);
    max-width: 400px;
    margin: 0 auto;
    box-sizing:border-box;
    padding:25px 20px;
  }
/* 优化原有元素间距 */
.hero-content h1 {
  font-size: 2rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

  nav ul {
    display: none;
  }
}

/* 财税工具区 */
.tools-section {
  padding: 80px 5%;
  background: white;
  text-align: center;
}

.tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tool-card {
  background: var(--light);
  border-radius: 10px;
  padding: 30px;
  width: 280px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tool-card h3 {
  color: var(--primary);
  margin-top: 0;
}

.tool-form {
  margin-top: 20px;
}

.tool-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* 跨境业务入口 */
.cross-border-banner {
  background: linear-gradient(135deg,
      rgba(0, 35, 102, 0.9) 0%,
      rgba(0, 82, 155, 0.9) 100%);
  color: white;
  padding: 60px 5%;
  text-align: center;
  margin: 40px 0;
}

.cross-border-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* 企业关系介绍 */
.companies-section {
  padding: 40px 5%;
  background: var(--light);
}

.companies-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  font-size: 1.17em;
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;

}

.tab-btn.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.tab-content {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tab-content.active {
  display: block;
}

.company-logo {
  height: 60px;
  margin-bottom: 20px;
}


/* 跨境业务按钮样式 */
.cross-border-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cross-border-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {

  .cross-border-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cross-border-btn {
    margin-right: 0 !important;
    width: 100%;
    text-align: center;
  }
}

/* 业务标签样式 - 保持不变 */
.business-tabs {
  display: flex;
  margin: 25px 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 5px;
  max-width: 500px;
  flex-wrap: wrap;
}

.tab {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  margin: 2px;
  color: white;
}

.tab.active {
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
}

.tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.2);
}



.tab {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  margin: 2px;
}

.tab.active {
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
}

.tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 新增移动端专用样式 */
@media (max-width: 992px) {


  /* 确保业务入口按钮组适应移动端 */
  .business-tabs {
    justify-content: center;
    margin: 20px auto;
  }

  .tab {
    min-width: 100px;
    margin: 5px;
    padding: 8px 12px;
  }
    .hero-content {
      width: 90%;
      margin: 0 auto;
      padding: 20px 0 40px;
      /* 增加底部间距 */
    }


   

}

/* 企业卡片容器 */
.company-cards-container {
  position: relative;
  /* 确保有足够高度 */
}

/* 企业卡片样式 */
.company-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  text-align: center;
}

.company-card.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  /* 确保active卡片在文档流中 */
}
.home-btn{
  background: var(--secondary);
       color: white;
       padding: 10px 25px;
       border-radius: 30px;
       font-weight: bold;
       text-decoration: none;
       box-shadow: 0 4px 15px rgba(255, 111, 97, 0.4);
       animation: pulse 2s infinite;
} 