@charset "UTF-8";

:root {
  --brand: #ed1680;
  --brand-deep: #bd0b60;
  --ink: #18233b;
  --panel: #222d45;
  --muted: #66718a;
  --line: #e2e6ee;
  --surface: #f7f8fc;
  --surface-soft: #fcf5fa;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(24, 35, 59, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: 76px;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  min-height: 76px;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  width: min(1200px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 5px;
}

.brand span,
.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand b,
.footer-brand b {
  font-size: 19px;
  font-weight: 800;
}

.brand small,
.footer-brand small {
  margin-top: 3px;
  color: #c6cedc;
  font-size: 12px;
  font-weight: 500;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  display: inline-block;
  padding: 8px 0;
  color: #f2f4f8;
  font-size: 15px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ff9bcb;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.desktop-download,
.mobile-download,
.primary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--brand);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.desktop-download:hover,
.mobile-download:hover,
.primary-button:hover,
.download-button:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
}

.mobile-download,
.menu-toggle {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #26324d;
  border: 1px solid #44516b;
  border-radius: 5px;
  cursor: pointer;
}

.menu-toggle img {
  width: 100%;
  height: 100%;
}

.hero {
  overflow: hidden;
  background: linear-gradient(115deg, #f9f1f7 0%, #ffffff 50%, #f8e9f1 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(270px, 29vw, 340px);
  align-items: center;
  gap: clamp(45px, 9vw, 145px);
  width: min(1200px, calc(100% - 40px));
  min-height: 690px;
  padding: 80px 0;
  margin: 0 auto;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow,
.section-heading > span,
.download-inner > div > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.eyebrow {
  padding: 5px 10px;
  background: #ffe5f1;
  border-radius: 5px;
}

.hero h1 {
  margin-bottom: 12px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-slogan {
  margin-bottom: 13px;
  color: var(--brand-deep);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
}

.hero-description {
  max-width: 590px;
  margin-bottom: 26px;
  color: #526078;
}

.hero-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.age-label {
  color: var(--muted);
  font-size: 12px;
}

.hero-carousel {
  justify-self: end;
  width: clamp(270px, 29vw, 340px);
  height: clamp(480px, 51.62vw, 605px);
  padding: 4px;
  background: var(--ink);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.app-swiper,
.app-swiper .swiper-wrapper,
.app-swiper .swiper-slide,
.app-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
}

.app-swiper {
  overflow: hidden;
  background: var(--panel);
  border-radius: 5px;
}

.app-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-swiper .swiper-slide img {
  object-fit: contain;
}

.app-swiper .swiper-pagination {
  bottom: 10px;
}

.app-swiper .swiper-pagination-bullet {
  width: 22px;
  height: 5px;
  margin: 0 4px;
  background: #9fa9bb;
  border-radius: 5px;
  opacity: 1;
}

.app-swiper .swiper-pagination-bullet-active {
  background: var(--brand);
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.features-section {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.feature-card-main {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 190px;
  background: #fff7fb;
}

.feature-card > img {
  width: 48px;
  height: 48px;
  padding: 10px;
  margin-bottom: 24px;
  background: #ffe8f3;
  border-radius: 5px;
}

.feature-card-main > img {
  width: 72px;
  height: 72px;
  padding: 15px;
  margin: 0;
}

.feature-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.25;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-card strong {
  padding: 9px 12px;
  color: var(--brand-deep);
  background: var(--white);
  border: 1px solid #ffd0e4;
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
}

.faq-section {
  background: var(--surface-soft);
}

.faq-list {
  width: min(100%, 920px);
  margin: 0 auto;
}

.faq-list details {
  margin-bottom: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 22px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  display: grid;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--brand);
  background: #ffeef6;
  border-radius: 5px;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details[open] {
  border-color: #f69fc8;
  box-shadow: inset 4px 0 0 var(--brand);
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 850px;
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list details a {
  color: var(--brand-deep);
  text-decoration: underline;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(24, 35, 59, 0.06);
}

.review-card header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.review-card header img {
  width: 42px;
  height: 42px;
  padding: 8px;
  background: #ffeef6;
  border-radius: 5px;
}

.review-card header div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.review-card header b {
  font-size: 15px;
}

.review-card header span {
  margin-top: 4px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.review-card > p {
  margin: 18px 0 14px;
  color: #566178;
  font-size: 14px;
}

.review-card time {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(120deg, #202b45, #3b2141);
}

.download-section::before,
.download-section::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: repeating-linear-gradient(90deg, var(--brand) 0 5px, transparent 5px 11px);
}

.download-section::before {
  top: 0;
}

.download-section::after {
  bottom: 0;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.download-inner > div {
  max-width: 700px;
}

.download-inner > div > span {
  color: #ffb5d8;
}

.download-inner h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.05em;
}

.download-inner p {
  margin-bottom: 0;
  color: #d5d9e6;
}

.download-button {
  flex: none;
  color: var(--ink);
  background: var(--white);
}

.download-button:hover {
  color: var(--white);
  background: var(--brand);
}

.site-footer {
  padding: 38px 0 26px;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
}

.footer-nav ul {
  justify-content: center;
  gap: 0;
}

.footer-nav a {
  display: block;
  padding: 0 12px;
  color: #d6dce8;
  border-right: 1px solid #44516b;
  font-size: 13px;
}

.footer-nav li:last-child a {
  border-right: 0;
}

.footer-inner > p {
  margin: 0;
  color: #aeb9cc;
  font-size: 12px;
  text-align: right;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: var(--brand);
  border-radius: 5px;
  box-shadow: 0 12px 25px rgba(237, 22, 128, 0.3);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #8f9ebd;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .header-inner {
    gap: 18px;
  }

  .main-nav ul {
    gap: 18px;
  }

  .hero-inner {
    gap: 42px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-inner > p {
    text-align: center;
  }
}

@media (max-width: 700px) {
  body {
    padding-top: 68px;
  }

  html {
    scroll-padding-top: 86px;
  }

  .site-header,
  .header-inner {
    min-height: 68px;
  }

  .header-inner {
    width: min(calc(100% - 28px), 680px);
    gap: 8px;
  }

  .header-actions {
    flex: none;
    margin-left: auto;
  }

  .brand {
    min-width: 0;
    gap: 7px;
  }

  .brand img {
    width: 37px;
    height: 37px;
  }

  .brand b {
    font-size: 16px;
  }

  .brand small {
    font-size: 12px;
  }

  .desktop-download {
    display: none;
  }

  .mobile-download,
  .menu-toggle {
    display: inline-flex;
  }

  .mobile-download {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .menu-toggle {
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    margin: 0;
    background: var(--ink);
    border: 1px solid #44516b;
    border-radius: 5px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
    gap: 0;
  }

  .main-nav li + li {
    border-top: 1px solid #44516b;
  }

  .main-nav a {
    display: block;
    padding: 13px 11px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
    width: min(calc(100% - 28px), 680px);
    min-height: 0;
    padding: 54px 0 72px;
  }

  .hero-copy {
    display: block;
    max-width: none;
    text-align: center;
    visibility: visible;
    opacity: 1;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-carousel {
    display: block;
    align-self: center;
    width: min(calc(100vw - 28px), 330px);
    height: auto;
    aspect-ratio: 300 / 534;
    visibility: visible;
    opacity: 1;
  }

  .section {
    padding: 72px 0;
  }

  .section-inner,
  .download-inner,
  .footer-inner {
    width: min(calc(100% - 28px), 680px);
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-main {
    grid-column: auto;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
  }

  .feature-card-main > img {
    width: 58px;
    height: 58px;
    padding: 12px;
  }

  .feature-card-main strong {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .faq-list summary {
    min-height: 66px;
    padding: 16px;
    font-size: 14px;
  }

  .faq-list details p {
    padding: 0 16px 17px;
    font-size: 14px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .review-card {
    min-height: 0;
  }

  .download-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
    row-gap: 12px;
  }

  .footer-nav a {
    padding: 0 9px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }

  .desktop-download,
  .mobile-download,
  .primary-button,
  .download-button,
  .back-top,
  .faq-list summary i {
    transition: none;
  }
}

@media (max-width: 390px) {
  .header-actions {
    gap: 6px;
  }

  .mobile-download {
    padding: 8px 9px;
  }

  .feature-card,
  .review-card {
    padding: 20px;
  }

  .hero h1 {
    font-size: 46px;
  }
}
