* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #111827;
  background:
    radial-gradient(circle at 15% 10%, #edf4ff 0%, transparent 28%),
    radial-gradient(circle at 85% 15%, #eefcf6 0%, transparent 32%),
    #ffffff;
}

.page {
  min-height: 100vh;
  padding: 70px 20px 42px;
  text-align: center;
}

.top-text {
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.main-title {
  margin: 0;
  font-size: 56px;
  font-weight: 900;
  color: #111827;
}

.main-desc {
  margin: 18px 0 0;
  color: #6b7280;
  font-size: 17px;
}

.service-wrapper {
  width: min(920px, 92%);
  margin: 42px auto 0;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e5e7eb;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
}

.service-section {
  padding: 24px;
  border-radius: 24px;
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
}

.male-section {
  background: linear-gradient(135deg, #f8fbff 0%, #edf5ff 100%);
}

.female-section {
  background: linear-gradient(135deg, #fff8fb 0%, #fff0f6 100%);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
  text-align: left;
}

.section-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #2563eb;
}

.female-section .section-tag {
  color: #db2777;
}

.section-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #111827;
}

.section-header p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 92px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.12);
}

.female-section .service-card:hover {
  border-color: #f9a8d4;
  box-shadow: 0 18px 38px rgba(219, 39, 119, 0.12);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 900;
  color: #111827;
}

.service-card h3 span {
  font-size: 18px;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
  font-weight: 600;
}

.arrow {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover .arrow {
  background: #2563eb;
  color: #ffffff;
}

.female-section .service-card:hover .arrow {
  background: #db2777;
  color: #ffffff;
}

.recommend-card {
  margin-top: 6px;
  min-height: 100px;
  background: linear-gradient(135deg, #f8fbff 0%, #f8fff8 100%);
  border: 1px solid #bfdbfe;
}

.recommend-card:hover {
  border-color: #60a5fa;
}
 /* =========================
   手机端适配
   放在 style.css 最底部
========================= */

@media (max-width: 768px) {

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    min-height: 100vh;
    padding: 28px 16px;
  }

  .top-text {
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
  }

  .main-title {
    font-size: 28px;
    line-height: 1.25;
    text-align: center;
    margin-top: 12px;
  }

  .main-desc {
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    max-width: 100%;
    margin: 14px auto 28px;
    padding: 0 6px;
  }

  .service-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .service-section {
    width: 100%;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 13px;
    line-height: 1.6;
  }

  .service-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
  }

  .service-card {
    width: 100%;
    padding: 16px 14px;
    border-radius: 16px;
  }

  .service-name {
    font-size: 17px;
  }

  .service-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .service-card a,
  .service-link,
  a {
    word-break: break-all;
  }

  .btn,
  .service-btn,
  .contact-btn {
    width: 100%;
    min-height: 44px;
    font-size: 15px;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


/* 更小的手机，例如 iPhone SE */
@media (max-width: 480px) {

  .page {
    padding: 24px 12px;
  }

  .main-title {
    font-size: 24px;
  }

  .main-desc {
    font-size: 13px;
  }

  .service-section {
    padding: 18px 14px;
  }

  .section-title {
    font-size: 18px;
  }

  .service-card {
    padding: 14px 12px;
  }

  .service-name {
    font-size: 16px;
  }
}
