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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  background: linear-gradient(180deg, #CFFF70 0%, #FFF0C5 100%);
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* 顶部导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1000;
  background: transparent;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
}

.header-logo {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.logo-icon {
  height: 80px;
  width: auto;
}

.header-nav {
  display: flex;
  list-style: none;
  gap: 0;
}

.header-nav li {
  cursor: pointer;
  position: relative;
}

.nav-link {
  color: #333;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  transition: all 0.3s;
}

.header-nav li:hover .nav-link {
  background: rgba(255, 255, 255, 0.5);
}

.header-nav li.active .nav-link {
  background: #fff;
}

/* Swiper 容器 */
.swiper-container {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #CFFF70 0%, #FFF0C5 100%);
}

/* 首页样式 */
.home {
  position: relative;
  overflow: hidden;
}

.section-content {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 140px 60px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.home-left {
  flex: 1;
  max-width: 500px;
}

.home-title {
  font-size: 64px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.home-subtitle {
  font-size: 36px;
  color: #000;
  margin-bottom: 40px;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  width: 40px;
  height: 40px;
}

.home-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone-mockup {
  width: 745px;
  height: 940px;
  max-width: 745px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: floatUp 3s ease-in-out infinite;
}

/* 功能简介页面样式 */
.func {
  background: linear-gradient(180deg, #CFFF70 0%, #FFF0C5 100%);
}

.func-content {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 140px 60px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.func-content.reverse {
  flex-direction: row-reverse;
}

.func-left {
  flex: 1;
  max-width: 500px;
}

.func-right {
  flex: 1;
  max-width: 500px;
}

.func-phone {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  animation: floatUp 3s ease-in-out infinite;
}

.func-phone-nearby {
  width: 740px;
  max-width: 740px;
  height: 852px;
}

.func-phone-message {
  width: 415px;
  max-width: 415px;
  height: 852px;
}

.func-phone-dynamic {
  width: 415px;
  max-width: 415px;
  height: 852px;
}

.func-phone-mine {
  width: 415px;
  max-width: 415px;
  height: 852px;
}

.func-title {
  font-size: 64px;
  font-weight: bold;
  color: #000;
  margin-bottom: 24px;
  line-height: 1.2;
}

.func-desc {
  font-size: 36px;
  color: #000;
  line-height: 1.8;
}

/* 联系我们页面 */
.contact {
  background: linear-gradient(180deg, #CFFF70 0%, #FFF0C5 100%);
}

.contact-wrapper {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 140px 60px 20px;
  display: flex;
  flex-direction: column;
}

.contact-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.contact-left {
  flex: 1;
}

.contact-map {
  width: 720px;
  height: 720px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.contact-right {
  flex: 1;
  max-width: 600px;
}

.contact-info {
  margin-bottom: 50px;
}

.contact-info h2 {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 24px;
  color: #666;
  line-height: 2;
  margin-bottom: 24px;
}

.social-media h2 {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  margin-bottom: 24px;
  margin-top: 80px;
}

.social-icons {
  display: flex;
  gap: 30px;
}

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

.social-item img {
  width: 200px;
  height: 200px;
}

.social-item p {
  font-size: 14px;
  color: #666;
}

.contact-footer {
  width: 100%;
  text-align: center;
  padding: 30px 0 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-info p {
  color: #999;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.beian-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.beian-icon {
  width: 20px;
  height: 20px;
}

.beian-info a,
.beian-info span {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.beian-info a:hover {
  color: #666;
}

/* 右侧导航点 */
.aside {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.aside-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-list li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.aside-list li:hover {
  opacity: 0.8;
}

.aside-list li.active {
  width: 8px;
  height: 16px;
  border-radius: 4px;
  background: #BBF24E;
}

/* 浮动动画 */
@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .header-content {
    padding: 0 40px;
  }

  .section-content,
  .func-content {
    padding: 140px 40px 40px;
    gap: 60px;
  }
  
  .contact-wrapper {
    padding: 140px 40px 20px;
  }
  
  .contact-content {
    gap: 60px;
  }

  .home-title {
    font-size: 48px;
  }

  .func-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 20px;
  }

  .header-nav {
    /* gap: 20px; */
  }

  .nav-link {
    font-size: 14px;
    width: 68px;
    height: 68px;
  }
  
  .header {
    height: 80px;
  }
  
  .logo-icon {
    height: 50px;
  }
  
  .header-logo {
    margin-top: 10px;
  }

  .section-content {
    flex-direction: column;
    padding: 100px 20px 40px;
    gap: 40px;
  }

  .home-left,
  .home-right {
    max-width: 100%;
  }

  .home-title {
    font-size: 36px;
  }

  .home-subtitle {
    font-size: 16px;
  }

  .download-buttons {
    flex-direction: column;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
  }

  .func-content {
    flex-direction: column !important;
    padding: 100px 20px 40px;
    gap: 40px;
  }

  .func-left,
  .func-right {
    max-width: 100%;
  }

  .func-title {
    font-size: 32px;
  }

  .func-desc {
    font-size: 16px;
  }
  
  .phone-mockup {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  
  .func-phone-nearby {
    width: 100% !important;
    height: auto !important;
    max-width: 400px !important;
  }
  
  .func-phone-message,
  .func-phone-dynamic,
  .func-phone-mine {
    width: 100% !important;
    height: auto !important;
    max-width: 220px !important;
  }

  .contact-wrapper {
    padding: 100px 20px 20px;
  }
  
  .contact-content {
    flex-direction: column;
    gap: 30px;
  }

  .contact-left,
  .contact-right {
    max-width: 100%;
  }

  .contact-map {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 280px;
  }
  
  .contact-info h2,
  .social-media h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .social-media h2 {
    margin-top: 30px;
  }
  
  .contact-info {
    margin-bottom: 20px;
  }
  
  .contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
  }
  
  .social-icons {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  
  .social-item img {
    width: 70px;
    height: 70px;
  }
  
  .social-item p {
    font-size: 12px;
  }

  .aside {
    right: 20px;
  }

  .aside-list {
    gap: 6px;
  }

  .aside-list li {
    width: 6px;
    height: 6px;
  }
  
  .aside-list li.active {
    width: 6px;
    height: 12px;
    border-radius: 3px;
  }
}
