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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Roboto, Arial, "PingFang SC", 思源黑体, "思源黑体 CN", "Source Han Sans CN", "Source Han Sans SC", "Hiragino Sans GB", "Microsoft Yahei", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ========== 容器 ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}

.container:before,
.container:after {
  content: " ";
  display: table;
}

.container:after {
  clear: both;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 32px;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #0059aa;
  letter-spacing: 1px;
}

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

.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #0059aa;
  background: rgba(0, 89, 170, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0059aa;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 60%;
}

/* ========== 关于我们 ========== */
.about {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%), url(about_bg.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.about-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-logo {
  height: 60px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease;
}

.about-slogan {
  margin: 30px 0;
  padding: 0;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.about-intro {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 50px;
  max-width: 800px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 35px 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.6s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.7s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.8s;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-card i {
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff;
  display: block;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ========== 标题样式 ========== */
.title {
  margin-bottom: 15px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  position: relative;
  color: #2c3e50;
}

.title:after {
  position: absolute;
  width: 60px;
  height: 4px;
  margin-left: -30px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  left: 50%;
  bottom: -15px;
  content: '';
  border-radius: 2px;
}

.subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
}

/* ========== 服务 ========== */
.service {
  padding: 80px 0;
  background: #f8f9fa;
}

.service-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  list-style: none;
}

.service-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.service-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-name {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
}

.service-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* ========== 合作伙伴 ========== */
.partner {
  padding: 80px 0;
  background: #fff;
}

.partner-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  list-style: none;
}

.partner-item {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item.fade-in {
  opacity: 1;
  transform: scale(1);
}

.partner-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  width: 100%;
  height: auto;
  max-width: 120px;
  filter: grayscale(0%);
  opacity: 1;
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ========== 联系我们 ========== */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-30px);
}

.contact-item.fade-in {
  opacity: 1;
  transform: translateX(0);
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.contact-item i {
  font-size: 28px;
  color: #667eea;
  min-width: 28px;
  margin-top: 5px;
}

.contact-info h4 {
  font-size: 16px;
  color: #666;
  margin: 0 0 8px;
  font-weight: 500;
}

.contact-info p {
  font-size: 18px;
  color: #2c3e50;
  margin: 0;
  font-weight: 600;
}

.contact-map {
  background: #e0e0e0;
  border-radius: 12px;
  min-height: 350px;
  height: 350px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.contact-map .BMap_mask {
  background: transparent !important;
}

/* 百度地图容器样式 */
#bdmap {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ========== 页脚 ========== */
.footer {
  padding: 40px 0;
  background: #2c3e50;
  color: #ecf0f1;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.footer a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #667eea;
}

.footer .icp {
  padding: 0 15px;
  border-left: 1px solid rgba(236, 240, 241, 0.3);
  border-right: 1px solid rgba(236, 240, 241, 0.3);
}

.footer .gawb {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer .gawb-icon {
  height: 16px;
  vertical-align: middle;
}

/* ========== 回到顶部按钮 ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.back-to-top:active {
  transform: translateY(-2px);
}

/* ========== 动画 ========== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 响应式设计 ========== */
@media screen and (max-width: 1024px) {
  .about-slogan {
    font-size: 36px;
  }

  .service-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .partner-list {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {

  /* 导航栏 */
  .navbar .container {
    padding: 12px 15px;
  }

  .nav-logo {
    height: 28px;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-link {
    font-size: 14px;
    padding: 6px 12px;
  }

  /* 关于我们 */
  .about {
    padding: 100px 0 60px;
  }

  .about-logo {
    height: 45px;
  }

  .about-slogan {
    font-size: 28px;
    margin: 20px 0;
  }

  .about-intro {
    font-size: 16px;
    line-height: 1.7;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  /* 标题 */
  .title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  /* 服务 */
  .service {
    padding: 60px 0;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 合作伙伴 */
  .partner {
    padding: 60px 0;
  }

  .partner-list {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
  }

  /* 联系我们 */
  .contact {
    padding: 60px 0;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-map {
    min-height: 300px;
  }

  /* 页脚 */
  .footer-content {
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }

  .footer .icp {
    border: none;
    padding: 0;
  }

  /* 回到顶部 */
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}

@media screen and (max-width: 480px) {

  /* 导航栏 */
  .nav-menu {
    display: none;
  }

  .brand-name {
    font-size: 18px;
  }

  /* 关于我们 */
  .about {
    padding: 90px 0 50px;
  }

  .about-logo {
    height: 35px;
  }

  .about-slogan {
    font-size: 24px;
    line-height: 1.4;
  }

  .about-intro {
    font-size: 15px;
  }

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

  .feature-card i {
    font-size: 40px;
  }

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

  /* 标题 */
  .title {
    font-size: 24px;
  }

  .subtitle {
    font-size: 15px;
  }

  /* 服务 */
  .service {
    padding: 50px 0;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-name {
    font-size: 20px;
  }

  .service-desc {
    font-size: 14px;
  }

  /* 合作伙伴 */
  .partner {
    padding: 50px 0;
  }

  .partner-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* 联系我们 */
  .contact {
    padding: 50px 0;
  }

  .contact-item {
    padding: 20px;
  }

  .contact-item i {
    font-size: 24px;
  }

  .contact-info h4 {
    font-size: 14px;
  }

  .contact-info p {
    font-size: 16px;
  }

  .contact-map {
    min-height: 250px;
  }

  /* 页脚 */
  .footer {
    padding: 30px 0;
  }

  .footer-content {
    font-size: 12px;
  }

  .footer .gawb {
    flex-direction: column;
    gap: 5px;
  }

  /* 回到顶部 */
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 15px;
    right: 15px;
  }
}