/* 基础样式 */
:root {
  font-size: 16px;
  --page-base-pd: 18%;
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

body {

  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #fff;
  position: relative;
}

.section {
  text-align: center;
}

.slogan {
  font-weight: 500;
  font-size: 2.5rem;
  margin-top: 1rem;
  color: #9c9c9c;
  line-height: 1.5;
}

.main-title {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 6.25rem;
  /* 100px / 16px = 6.25rem */
  line-height: 1.2;
  /* 对应 120% */
  letter-spacing: 0;
  margin: 0;
  color: #333;

}

/* 头部导航栏 */
.header {
  height: 60px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
}

.navbar {
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(30px);
  position: relative;
}

.logo {
  width: auto;
  height: 2rem;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 5rem;
}

.logo-box h2 {
  font-family: PingFang SC;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
  background: linear-gradient(90deg, #FF295B 0%, #FF7088 48.56%, #ED0028 100%);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  flex-grow: 1;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-family: "PingFang SC", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  word-break: break-all;
  line-height: 1.5;
  color: #333;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
}

.nav-links a:hover {
  color: #FF295B;
  transform: scale(1.05);
}



/* 移动端适配 */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    gap: 2rem;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

}

section {
  box-sizing: border-box;
  background-color: #fff;
  padding: 10rem var(--page-base-pd);
}

/* 联系我们部分样式 */
.contact-section {
  box-sizing: border-box;
  background-color: #FF295B;
  padding: 5rem 0 10rem var(--page-base-pd);
}

.section-title {
  font-family: PingFang SC;
  font-weight: 500;
  font-size: 3rem;
  line-height: 130%;
  letter-spacing: 0%;
  color: #000;
}

.contact-section-title {
  font-family: PingFang SC;
  font-weight: 500;
  font-size: 3rem;
  line-height: 130%;
  letter-spacing: 0%;
  color: #fff;
}

.contact-section-item {
  margin-top: 1.5rem;
  font-family: PingFang SC;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 150%;
  letter-spacing: 0%;
  color: #fff;
}

.top-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
  align-items: end;
  /* 垂直方向底部对齐 */

}

.left-column {
  min-height: 100%;
  background-color: #FFE9EE;
  /* 粉色背景 */
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.left-column h2 {
  font-weight: 500;
  font-size: .8rem;
  line-height: 150%;
  color: #000;
}

.left-column p {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  color: #333;
}

.idea-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  padding: 10px;
}

.idea-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.idea-card p {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.grid-container {
  margin-top: 30px;
  display: grid;
  gap: 30px;
  /* 卡片之间的间距 */
  /* 外边距 */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  /* 自适应列数 */
}

.grid-item {
  overflow: hidden;
  text-align: center;
}

.grid-item img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: 12px;
}

.grid-item p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

.section-title-desc {
  margin-top: .5rem;
  font-weight: 500;
  font-size: .75rem;
  line-height: 150%;
  letter-spacing: 0%;
  color: #7A7A7A;
  text-align: left;

}

.more-container {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 30px;
}

.more-card {
  max-width: 100%;
}

.more-card img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.more-card h3 {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  color: #333;
  margin-top: .75rem;

}

.qr-container {
  margin-top: 5rem;
  display: flex;
  color: white;
  gap: 5rem;
  /* 文字颜色为白色 */
}

.qr-item {
  text-align: center;
  margin: 10px;
}

.qr-item img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.qr-item p {
  margin: 0;
  font-size: 16px;
}

.qr-item p:last-child {
  font-size: 14px;
}

.policy-ref {
  color: white;
  font-size: 14px
}