:root {
  --primary-color: #10b981;
  --secondary-color: #006D77;
  --accent-color: #34d399;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --footer-gray: #f8f9fa;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --border-radius: 10px;
  --green-light: #d1fae5;
  --green-dark: #065f46;
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* 导航栏 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  height: 100px;
}

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

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  position: relative;
  padding: 5px 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray-color);
  z-index: 1000;
}

/* 首页英雄区域 */
.hero {
  width: 100%;
  aspect-ratio: 16 / 2.85;
  background-image: url('../img/bg.jpg');
  background-size: 100% auto;
  position: relative;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
}

.hero-text {
  max-width: 1200px;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--primary-color);
}

.hero-text p {
  width: 50%;
  font-size: 1.2rem;
  color: #000;
}

/* 产品介绍 */
.product {
  padding: 100px 0;
}

.product-iphone {
  width: 300px;
  height: 600px;
  background-image: url('../img/iphone6s.png');
  background-size: 100% 100%;
  padding: 10px;
  margin: 0 auto;
}

.product-iphone img {
  border-radius: 30px;
  height: 580px;
}

.product-card ul {
  list-style: disc;
  font-weight: 600;
  line-height: 3.5;
}

.product-card img {
  width: 580px;
  border-radius: 10px;
}

/* 服务内容 */
.services {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.15);
}

.service-content {
  padding: 25px;
  position: relative;
}

.service-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--secondary-color);
}

.service-content p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.service-card .iconfont {
  font-size: 66px;
}

/* 核心优势 */
.features {
  padding: 100px 0;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

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

.about-content,
.product-container {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  color: var(--gray-color);
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-text {
  font-weight: 600;
  color: var(--dark-color);
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  margin-top: 30px;
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* 加入我们 */
.join {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
}

.join-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.join-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 5px solid var(--primary-color);
}

.join-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.15);
}

.join-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.join-card p {
  color: var(--gray-color);
  margin-bottom: 25px;
  line-height: 1.7;
}

.join-card ul {
  margin-top: 10px;
  text-align: left;
}

.join-card li {
  color: var(--gray-color);
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.join-card li:before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.join-card img {
  width: 170px;
  height: 170px;
}

.join-gap {
  gap: 30px;
}

/* 页脚 */
footer {
  background: #1b5482;
  padding: 35px 0 35px 0;
  width: 100%;
  min-height: 160px;
  margin: 0 auto;
  color: #eee;
  border-top: 1px solid #ddd;
}

.container {
  overflow: hidden;
  zoom: 1;
}

.container:after {
  content: " ";
  clear: both;
  display: table;
}

.foot-t {
  margin: 0px 0 25px 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed #999;
}

.foot-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.f-right {
  display: flex;
}

.f-right dt h5 {
  font-size: 13px;
  font-weight: 300;
}

.f-right dt h3 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 10px 0;
}

.f-right dt h3 img {
  width: 28px;
  height: auto;
  margin-right: 10px;
}

.f-right dt h4 {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin: 10px 0;
}

.f-right img {
  width: 110px;
  height: 110px;
  margin-right: 10px;
}

.f-left {
  display: block;
  overflow: hidden;
  font-size: 12px;
}

.f-left dt a {
  font-size: 13px;
  color: #eee;
  padding: 0 10px 0px 0;
  line-height: 1.4rem;
}

.f-left dd {
  margin: 10px 0 20px 0;
}

.f-left dt p {
  padding: 10px 0;
}

.f-left dd span {
  display: block;
  line-height: 1.5;
  padding: 10px 0;
}

.f-left dd a {
  color: #aaa;
}

/* 响应式设计 */
@media (max-width: 1280px) {
  .hero {
    aspect-ratio: 16 / 4;
    background-image: url('../img/bg1.jpg');
  }

  .hero-text {
    width: 60%;
  }

  .hero-text p {
    width: 100%;
    font-size: 1rem;
    color: #000;
  }

  .nav-links {
    gap: 20px;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

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


  .join-types,
  .about-content,
  .product-container,
  .foot-bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .join-gap {
    gap: 15px;
  }
}

@media (max-width: 768px) {

  .hero-text {
    width: 80%;
  }

  .hero-text p {
    width: 100%;
    font-size: 1rem;
    color: #000;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-toggle {
    display: block;
  }

  .join-gap {
    gap: 10px;
  }

  .features,
  .product,
  .services,
  .about,
  .join {
    padding: 70px 0;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-container {
    gap: 30px;
  }

  .modal-content {
    padding: 30px 20px;
    width: 95%;
  }

  .qrcode-img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 520px) {
  .hero {
    aspect-ratio: 16 / 10;
    background-image: url('../img/bg2.jpg');
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .feature-card,
  .service-card,
  .join-card {
    padding: 20px;
  }

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

  .join-gap {
    gap: 0;
  }

  .product-card ul {
    line-height: 2.5;
    font-size: 1rem;
  }

  .qrcode-img {
    width: 160px;
    height: 160px;
  }

  .join-card li {
    padding-left: 10px;
    font-size: 0.9rem;
  }

  .join-card img {
    width: 150px;
    height: 150px;
  }

  .f-right img {
    width: 80px;
    height: 80px;
    margin-right: 5px;
  }

  .f-right dt h3 img {
    width: 18px;
  }

  .f-right dt h3 {
    margin: 0;
    font-size: 20px;
  }

  .f-right dt h4 {
    font-size: 10px;
  }

  .container:after {
    display: none;
  }
}