/* components.css - 特定组件样式 */

/* 服务介绍样式 */
.service-intro {
  line-height: 1.7;
  margin-bottom: 1.5em;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

/* 服务常见问题样式 */
.service-faq {
  margin-bottom: 1.8em;
  line-height: 1.6;
  background-color: rgba(0, 0, 0, 0.02);
  padding: 12px 15px;
  border-radius: 4px;
}

.service-faq .zh em {
  color: #444;
}

.service-faq .en em {
  color: #666;
}

/* 优势网格与项目 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.advantage-item {
  border-left: 3px solid var(--primary-color);
  padding: 12px 18px;
  background-color: rgba(240, 248, 255, 0.2);
  border-radius: 0 4px 4px 0;
}

.service-advantage {
  line-height: 1.7;
}

.service-advantage .zh strong,
.service-advantage .en strong {
  font-weight: 600;
}

.service-advantage .zh strong {
  color: #222;
}

.service-advantage .en strong {
  color: #555;
}

/* 服务步骤 */
.service-steps {
  counter-reset: step;
  margin: 20px 0;
}

.service-step {
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
}

.service-step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.service-step h5.dual-lang .zh {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.service-step h5.dual-lang .en {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  font-style: italic;
}

/* 浮动广告样式 */
.floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 150px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.floating-ad:hover {
  transform: scale(1.05);
}

.floating-ad img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-ad-title {
  padding: 8px 5px;
  background: #00296B;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 1px;
}

.floating-ad-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

/* 微信浮动按钮 */
.wechat-floating {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  cursor: pointer;
}

.wechat-floating svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.wechat-qr-popup {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
  text-align: center;
}

.wechat-qr-popup img {
  width: 150px;
  height: 150px;
}

.wechat-qr-popup p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #333;
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-ad {
    width: 120px;
    bottom: 10px;
    right: 10px;
  }
  
  .wechat-floating {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
  }
  
  .wechat-floating svg {
    width: 28px;
    height: 28px;
  }
  
  .wechat-qr-popup {
    bottom: 75px;
    left: 15px;
  }
}
.cta-container {
  text-align: center;
  margin: 30px 0;
}

.cta-button-narrow {
  width: 500px;
  display: inline-block;
}
.footer-disclaimer {
  font-size: 11px;
  margin-top: 10px;
  opacity: 0.7; /* 可选，使文字稍微透明一些 */
  color: rgba(255, 255, 255, 0.7);
}

/* 可以单独控制中英文的大小 */
.footer-disclaimer .zh {
  font-size: 10px;
}

.footer-disclaimer .en {
  font-size: 9px; /* 英文可以比中文略小 */
}


