
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
  width: 100%;
  padding: 0 16px;
}

/* 头部 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
}

.logo-blue {
  color: #27b964;
}

.logo-orange {
  color: #6366f1;
}

.btn-login {
  background: linear-gradient(135deg, #27b964, #6366f1);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
}

/* Banner：恢复原来的浅蓝白网格背景 */
.banner {
  background-color: #f4f8fc;
  background-image:
    linear-gradient(#e0ebf7 1px, transparent 1px),
    linear-gradient(90deg, #e0ebf7 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 20px;
  padding: 30px 20px;
  margin-bottom: 30px;
}

.banner h1 {
  font-size: 32px;
  margin-bottom: 6px;
  color: #1a2b48;
}

.banner h2 {
  font-size: 26px;
  color: #27b964;
  margin-bottom: 14px;
}

.banner-desc {
  font-size: 15px;
  color: #444e5c;
  line-height: 1.6;
  margin-bottom: 22px;
}

.banner-buttons {
  display: flex;
  gap: 12px;
}

.btn-main {
  flex: 1;
  background: linear-gradient(90deg, #27b964, #38c172);
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 17px 0;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn-other {
  flex: 0 0 112px;
  background: #ffffff;
  color: #6366f1;
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 通用区块 */
.section {
  margin-bottom: 28px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a2b48;
}

.more-link {
  font-size: 15px;
  color: #27b964;
  text-decoration: none;
}

/* 热门产品 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.product-card {
  background: #fff;
  border: 1px solid #e2f4eb;
  border-radius: 16px;
  padding: 18px 14px;
  text-decoration: none;
  color: #1a2b48;
  display: block;
}

.prod-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  margin-bottom: 8px;
}

.icon-blue {
  background: linear-gradient(135deg, #27b964, #38c172);
}

.icon-purple {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.prod-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.prod-tip {
  font-size: 13px;
  color: #606b7e;
  margin-bottom: 6px;
}

.prod-price {
  font-size: 16px;
  font-weight: 700;
  color: #27b964;
}

/* 更多服务 */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.act-card-blue {
  background-color: #e6f7ee;
  border: 1px solid #c2eed8;
  border-radius: 16px;
  padding: 18px 14px;
}

.act-card-purple {
  background-color: #f0f4ff;
  border: 1px solid #d8e1ff;
  border-radius: 16px;
  padding: 18px 14px;
}

.act-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.act-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.act-desc {
  font-size: 13px;
  color: #525f73;
  margin-bottom: 12px;
}

.act-btn-blue {
  width: 100%;
  background: linear-gradient(90deg, #27b964, #38c172);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: block;
}

.act-btn-purple {
  width: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: block;
}

/* 检测流程 */
.flow-wrap {
  background: #f4fbf7;
  border-radius: 16px;
  padding: 24px 14px;
}

.flow-scroll {
  overflow-x: visible;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.flow-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid #e2f4eb;
}

.flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27b964, #38c172);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: bold;
}

.flow-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.flow-desc {
  font-size: 12px;
  color: #556072;
}

@media (min-width: 768px) {
  .flow-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

/* 核心优势 */
.advantage-wrap {
  background-color: #f4fbf7;
  border-radius: 16px;
  padding: 24px 10px;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 4px;
  text-align: center;
}

.adv-icon {
  font-size: 28px;
  color: #27b964;
  margin-bottom: 6px;
}

.adv-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.adv-sub {
  font-size: 12px;
  color: #525f73;
}

/* 底部导航：页面末尾，下滑到底部才显示 */
.bottom-tab {
  position: static;
  width: 100%;
  background-color: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 0 14px;
  margin-top: 60px;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.07);
}

.tab-item {
  min-width: 0;
  font-size: 11px;
  line-height: 1.2;
  color: #606b7e;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-item.active {
  color: #27b964;
}

.tab-icon {
  font-size: 22px;
  margin-bottom: 3px;
}
