:root {
  /*--primary-color: #333333; !* 黑色 *!*/
  /*--secondary-color: #555555; !* 深灰色 *!*/
  /*--dark-color: #333333;*/
  /*--light-color: #ffffff; !* 白色 *!*/
  /*--accent-color: #666666; !* 灰色 *!*/
  --border-color: #e0e0e0;
  --primary-color: #d81b60;
  --secondary-color: #8e24aa;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --accent-color: #666666;
}
body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  margin: 0;
  padding: 0;
  background-color: var(--light-color);
}

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

header {
  background: linear-gradient(135deg, var(--primary-color), #ad1457);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path fill="white" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1"/><path fill="white" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".1"/><path fill="white" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" opacity=".1"/></svg>');
  background-size: cover;
  transform: rotate(180deg);
  z-index: 1;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.tagline {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light-color);
}

section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

h2 {
  color: var(--dark-color);
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

h3 {
  color: var(--dark-color);
  margin-top: 30px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  flex: 1;
  min-width: 300px;
  background: var(--light-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 30px;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.services {
  background-color: var(--light-color);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: var(--light-color);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid var(--border-color);
}

.testimonials {
  background-color: var(--light-color);
}
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 40px;
  gap: 1rem;
  text-align: center;
}
.testimonial {
  font-style: italic;
  margin-bottom: 30px;
  padding: 20px;
  background-color: rgba(0,0,0,0.02);
  border-radius: 5px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-height: 270px;
}
.testimonial:hover {
  background-color: var(--primary-color); /* 背景色变为蓝色 */
  color: white;           /* 字体颜色变为白色 */
  text-decoration: none;  /* 移除下划线 */
  /*border-radius: 5px;*/
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
  text-align: center;
}
.service-img {
  display: block;
  width: 100%;
  height: auto; /* 保持图片宽高比 */
}

.testimonial-author {
  font-weight: bold;
  text-align: right;
  font-style: normal;
  color: var(--primary-color);
}

.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.contact {
  text-align: center;
  background-color: var(--light-color);
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer {
  background-color: var(--light-color);
  color: var(--dark-color);
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 430px) {
  .container {
    width: 95%; /* 调整容器宽度使其更适合小屏幕 */
    padding: 0 10px; /* 减少左右内边距 */
  }

  header {
    padding: 40px 0 20px; /* 减少顶部和底部填充 */
  }

  h1 {
    font-size: 2rem; /* 减小标题字体大小 */
  }

  .tagline {
    font-size: 1rem; /* 减小副标题字体大小 */
  }

  h2 {
    font-size: 1.5rem; /* 减小二级标题字体大小 */
    margin-bottom: 20px;
  }

  .features {
    flex-direction: column; /* 在小屏幕上垂直堆叠特征卡片 */
  }

  .feature-card {
    min-width: auto; /* 自动调整卡片最小宽度 */
    margin-bottom: 20px; /* 增加卡片间的间距 */
  }

  .solution-item,
  .testimonial {
    background: #fff;
    /*padding: 1rem;*/
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 270px;
  }
  .solution-item,
  .testimonial:hover {
    background-color: #6c757d; /* 背景色变为蓝色 */
    color: white;           /* 字体颜色变为白色 */
    text-decoration: none;  /* 移除下划线 */
    /*border-radius: 5px;*/
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    text-align: center;
  }

  .contact-methods {
    gap: 20px; /* 减少联系方式图标之间的间距 */
  }
}
/* 移除所有超链接的下划线，并设置默认颜色 */
a {
  text-decoration: none;
  color: #000; /* 设置为你希望的颜色 */
}

/* 保持鼠标悬停时的样式 */
a:hover {
  text-decoration: none;
  color: #000; /* 设置为你希望的颜色 */
}
