:root {
  --bg: #fff0f5;
  --surface: #fff9fb;
  --primary: #ffb6c1;
  --primary-strong: #ff69b4;
  --cream: #fffdd0;
  --lavender: #e6e6fa;
  --ink: #3c2730;
  --muted: #755f68;
  --line: rgba(255, 105, 180, .24);
  --shadow: 0 18px 50px rgba(204, 83, 137, .14);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 240, 245, .95), rgba(255, 253, 208, .22)),
    var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: #fff; z-index: 20; }
.skip-link:focus { left: 8px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 249, 251, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #a23a70; }
.brand img { width: 34px; height: 52px; object-fit: cover; object-position: top; border-radius: 8px; background: #fff; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 700; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: #5f3d4b;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary-strong);
  border-color: rgba(255, 105, 180, .58);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 0 0 3px rgba(255, 105, 180, .12);
  transform: translateY(-1px);
  outline: none;
}
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #a23a70;
  background: rgba(255, 182, 193, .25);
  border: 1px solid rgba(255, 105, 180, .16);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.nav-cta, .btn.primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary-strong), #ff8fc7);
  border-color: rgba(255, 105, 180, .35);
  box-shadow: 0 10px 22px rgba(255, 105, 180, .28);
}
.nav-cta .icon, .btn.primary .icon {
  color: var(--primary-strong);
  background: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn.secondary { color: #8d3864; background: #fff; border: 1px solid var(--line); }
.nav-cta:hover,
.nav-cta:focus-visible,
.btn:hover,
.btn:focus-visible {
  border-color: rgba(255, 105, 180, .82);
  box-shadow: 0 0 0 4px rgba(255, 105, 180, .15), 0 14px 28px rgba(255, 105, 180, .28);
  transform: translateY(-1px);
  outline: none;
}
.nav-cta:hover,
.nav-cta:focus-visible {
  color: #a23a70 !important;
  background: rgba(255, 255, 255, .86);
}
.btn.primary:hover,
.btn.primary:focus-visible {
  color: #fff;
}
.btn.secondary:hover,
.btn.secondary:focus-visible {
  color: var(--primary-strong);
  border-color: rgba(255, 105, 180, .72);
  background: rgba(255, 255, 255, .88);
}
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #a23a70;
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease, margin .18s ease;
}
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 44px;
}
.hero-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .82);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hero-media:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 105, 180, .45);
  box-shadow: 0 24px 68px rgba(204, 83, 137, .22);
}
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .36s ease, filter .24s ease; }
.hero-media:hover img { transform: scale(1.035); filter: saturate(1.06) brightness(1.02); }
.eyebrow, .section-kicker {
  margin: 0 0 12px;
  color: #a23a70;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: 0; }
h1 { font-size: clamp(34px, 5vw, 62px); max-width: 760px; }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: 19px; }
p { margin: 14px 0 0; }
.hero-lead { color: var(--muted); font-size: 18px; max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; }
.hero-stats div { padding: 16px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 8px; }
.hero-stats dt { color: var(--muted); font-size: 13px; }
.hero-stats dd { margin: 2px 0 0; font-weight: 900; color: #8d3864; }

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 96px auto 0;
  scroll-margin-top: 96px;
}
.hero, .friend-links, .footer { scroll-margin-top: 96px; }
.intro-grid, .guide, .split, .cta-block {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 36px;
  align-items: center;
}
.section-copy p { font-size: 17px; color: var(--muted); }
.image-panel, .wide-shot {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.image-panel:hover, .wide-shot:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 105, 180, .45);
  box-shadow: 0 22px 62px rgba(204, 83, 137, .18);
}
.image-panel img { width: 100%; max-height: 560px; object-fit: contain; background: #fff; transition: transform .36s ease, filter .24s ease; }
.image-panel.landscape img, .wide-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.image-panel:hover img, .wide-shot:hover img { transform: scale(1.025); filter: saturate(1.05); }
figcaption { padding: 12px 14px; color: var(--muted); font-size: 14px; background: rgba(255,255,255,.76); }

.content-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 26px; align-items: start; }
.feature-list, .cards, .update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feature-list article, .cards article, .update-grid article, .faq details {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(204, 83, 137, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.feature-list article::before, .cards article::before, .update-grid article::before, .faq details::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-strong), var(--primary));
  opacity: 0;
  transition: opacity .2s ease;
}
.feature-list article:hover, .cards article:hover, .update-grid article:hover, .faq details:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 105, 180, .48);
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 42px rgba(204, 83, 137, .14);
}
.feature-list article:hover::before, .cards article:hover::before, .update-grid article:hover::before, .faq details:hover::before {
  opacity: 1;
}
.feature-list p, .cards p, .update-grid p { color: var(--muted); }
.timeline {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.timeline li {
  position: relative;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(230,230,250,.48));
  border-left: 4px solid var(--primary-strong);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(204, 83, 137, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.timeline li:hover {
  transform: translateX(4px);
  border-left-color: #ff3f9e;
  box-shadow: 0 14px 32px rgba(204, 83, 137, .13);
}

.updates { background: rgba(255,253,208,.32); padding: 38px; border-radius: 8px; border: 1px solid rgba(255, 182, 193, .35); }
.update-grid { margin-top: 24px; }
.update-grid span { display: inline-block; color: #fff; background: var(--primary-strong); padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
summary { cursor: pointer; font-weight: 900; color: #8d3864; }
.cta-block { padding: 32px; background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(230,230,250,.62)); border: 1px solid var(--line); border-radius: 8px; }
.cta-block {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cta-block:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 105, 180, .42);
  box-shadow: 0 22px 54px rgba(204, 83, 137, .15);
}
.cta-block .btn { justify-self: end; }

.friend-links {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 42px 28px 48px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(111, 128, 156, .30), rgba(255, 240, 245, .88) 48%, rgba(255, 182, 193, .34)),
    linear-gradient(180deg, rgba(255, 240, 245, .96), rgba(255, 253, 208, .48));
  border: 1px solid rgba(255, 182, 193, .35);
  box-shadow: 0 18px 46px rgba(82, 57, 76, .12);
  text-align: center;
}
.friend-links h2 {
  color: #f0b95e;
  text-shadow: 0 1px 0 rgba(255,255,255,.62);
}
.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #7f3b61;
  background: rgba(255, 255, 255, .34);
  border: 1px solid rgba(255, 255, 255, .52);
  box-shadow: 0 10px 22px rgba(204, 83, 137, .10);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}
.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255, 105, 180, .62);
  background: rgba(255, 105, 180, .52);
  box-shadow: 0 16px 30px rgba(204, 83, 137, .18);
  outline: none;
}
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 76px auto 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.footer p { margin: 0; }
.footer a { color: #a23a70; font-weight: 800; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .hero, .intro-grid, .guide, .split, .cta-block, .content-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; margin-top: 22px; gap: 24px; }
  .feature-list, .cards, .update-grid { grid-template-columns: 1fr; }
  .section { margin-top: 68px; }
  .updates, .cta-block { padding: 22px; }
  .cta-block .btn { justify-self: start; }
  .friend-links { padding: 30px 18px 36px; }
  .friend-link-list a { width: min(100%, 260px); }
  .footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .nav { width: min(100% - 22px, 1180px); }
  .hero, .section, .footer { width: min(100% - 22px, 1180px); }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .hero-stats { grid-template-columns: 1fr; }
  .btn, .nav-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero-media:hover,
  .image-panel:hover,
  .wide-shot:hover,
  .feature-list article:hover,
  .cards article:hover,
  .update-grid article:hover,
  .faq details:hover,
  .timeline li:hover,
  .cta-block:hover,
  .nav-links a:hover,
  .btn:hover {
    transform: none;
  }
}
