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

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto auto;
  padding: 0 20px;
}

/* 导航栏样式修改 */
header {
  background: rgba(255, 255, 255, 0.1); /* 半透明背景 */
  backdrop-filter: blur(10px); /* 高斯模糊效果 */
  -webkit-backdrop-filter: blur(10px); /* Safari 兼容 */
  padding: 15px 0;
  position: fixed; /* 固定定位 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* 确保在轮播图上方 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 微妙的边框 */
  transition: background 0.3s ease; /* 平滑过渡效果 */
}

/* 当页面滚动时，可以增加背景不透明度 */
header.scrolled {
  background: rgba(255, 255, 255, 0.2);
}

/* 为不支持backdrop-filter的浏览器提供备选方案 */
@supports not (backdrop-filter: blur(10px)) {
  header {
    background: rgba(255, 255, 255, 0.8); /* 更不透明的背景 */
  }

  header.scrolled {
    background: rgba(255, 255, 255, 0.9);
  }
}

/* 导航栏内容样式调整 */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin-right: 40px;
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: #fff; /* 白色文字 */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

/* 导航链接悬停效果 */
nav ul li a:hover {
  opacity: 0.8;
}

nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #f4a6b7;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

/* 当前活动页面链接样式 */
nav ul li a.active {
  color: #f4a6b7;
}

nav ul li a.active:after {
  width: 100%;
}

/* 调整轮播容器，避免被导航栏遮挡 */
.swiper-container {
  padding-top: 0; /* 移除之前的padding-top */
  margin-top: 0; /* 确保没有额外的边距 */
}

/* 确保轮播图从页面顶部开始 */
.swiper-slide {
  padding-top: 70px; /* 根据导航栏高度调整 */
}

/* Bootstrap 轮播样式调整 */
.carousel-item {
  height: 100vh;
  width: 100%;
}

/* 主视觉区样式 */
.hero-section {
  background: linear-gradient(to bottom, #f8c4c4, #f4a6b7);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 500px; /* 确保有足够的高度 */
}

.hero-content {
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  height: 100%; /* 让内容区域占满高度 */
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 15px;
  text-align: center;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.app-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.app-buttons img {
  height: 50px;
  transition: transform 0.3s ease;
}

.app-buttons img:hover {
  transform: scale(1.05);
}

.hero-image {
  position: relative;
  margin-left: 100px;
  padding-right: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us-info {
  width: 565px;
  background: linear-gradient(
    180deg,
    rgba(0, 177, 122, 0.74) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 0px 0px 0px 0px;
}
.about-us-info .detail {
  font-family: PingFang SC, PingFang SC;
  font-weight: bold;
  font-size: 18px;
  color: #ffffff;
  line-height: 25px;
  text-shadow: 0px 6px 6px rgba(0, 0, 0, 0.16);
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.hero-image .phone-main {
  position: relative;
  z-index: 2;
  height: 560px;
  object-fit: contain;
}

.hero-image .phone-second {
  position: absolute;
  right: 0;
  height: 80%;
  object-fit: contain;
  bottom: 0;
  z-index: 1;
  transform: translateX(-20%);
}

/* 三重认证区域样式 */
.verification-section {
  background-color: #1a1a2e;
  color: #fff;
  padding: 80px 0;
}

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

.icon img {
  width: 80px;
  margin-bottom: 20px;
}

.verify-list {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  align-items: center;
  position: absolute;
  bottom: 0;
}

.step {
  /* text-align: center; */
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  column-gap: 30px;
  height: 700px !important;
  position: relative;
  /* background-color: #333; */
  background: url(static/img/home/verify-bg.png) no-repeat center top/35%;
}
.step .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  gap: 26px;
}
.step .big-logo {
  width: 400px !important;
  max-width: none;
}
.step .title-text {
  height: 20px;
}

.step img {
  width: 100%;
  max-width: 250px;
  /* margin-bottom: 20px; */
  border-radius: 10px;
}
.step .pic {
  width: 431px;
  margin-bottom: 150px;
}

.step .pic-btn {
  height: 38px;
}

/* AI匹配区域样式 */
.ai-section {
  background: linear-gradient(to bottom, #f8c4c4, #f4a6b7);
  padding: 80px 0;
}

.ai-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-content {
  flex: 1;
  color: #fff;
  transform: translateX(-50px);
  /* background-color: #333; */
}

.ai-title {
  width: 800px !important;
  margin: 0 150px;
  margin-left: 250px;
}

.user-images {
  display: flex;
  margin-top: 40px;
  gap: 15px;
}

.user-images > img {
  width: 240px;
  z-index: 5;
}
.small-user-images {
  transform: translate(-50px, 40px);
  /* margin-bottom: 20px; */
}
.user2 {
  width: 150px;
  z-index: 4;
  position: relative;
  /* transform: translateX(-100px); */
}
.user3 {
  width: 130px;
  position: relative;
  transform: translateX(-50px);
  z-index: 3;
}
.user4 {
  width: 110px;
  position: relative;
  transform: translateX(-100px);
  z-index: 2;
}
.user5 {
  width: 90px;
  position: relative;
  transform: translateX(-150px);
  z-index: 1;
}

.ai-image {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: end;
  transform: translate(-380px, 120px);
}

.ai-image .phone-small {
  width: 200px;
  position: relative;
  z-index: 1;
}
.ai-image .phone-big {
  width: 280px;
  position: relative;
  z-index: 2;
  left: -60px;
}

/* 地理位置匹配区域样式 */
.map-info {
  position: fixed;
  top: 170px;
  left: 50%;
  height: 100px;
  transform: translateX(-50%);
}
.location-section {
  background-color: #b8e6ff;
  padding: 80px 0;
  text-align: center;
}

.location-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.map-container {
  position: relative;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.map {
  width: 100%;
}

.map-avatars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 页脚样式 */
footer {
  background-color: #1a1a2e;
  color: #fff;
  padding: 50px 0 20px;
  width: 100%;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-info {
  display: flex;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 150px;
}
.about-us-text {
  margin-top: 20px;
  font-family: Microsoft YaHei UI, Microsoft YaHei UI;
  font-weight: 400;
  font-size: 15px;
  color: #bdbdc9;
  line-height: 21px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.about-us,
.contact-us {
  max-width: 400px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

/* 轮播导航点样式调整 */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
}

.carousel-indicators .active {
  background-color: #f4a6b7;
}

/* 添加 Swiper 相关样式 */
.swiper-container {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 自定义分页器样式 */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #f4a6b7;
  transform: scale(1.2);
}

.app-store {
  position: relative;
}

.qr-code {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: 150px;
  height: 150px;
}
.qr-code img{
  width: 100%;
  height: 100%;
}

#btn1:hover #code1 {
  display: block;
}
#btn2:hover #code2 {
  display: block;
}
