:root {
  --bg: #f5f7fa;
  --bg-soft: #ffffff;
  --ink: #1e293b;
  --muted: #64748b;
  --line: rgba(30, 41, 59, 0.12);
  --accent: #ff4d8d;
  --accent-strong: #ff3366;
  --accent-soft: rgba(255, 77, 141, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.13);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 77, 141, 0.13), transparent 28rem),
    radial-gradient(circle at 80% 6%, rgba(125, 211, 252, 0.18), transparent 26rem),
    linear-gradient(180deg, #f5f7fa 0%, #ffffff 46%, #f5f7fa 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.72;
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(30, 41, 59, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 77, 141, 0.16);
  box-shadow: 0 14px 42px rgba(30, 41, 59, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(255, 77, 141, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
  border-color: rgba(255, 77, 141, 0.72);
  background: rgba(255, 77, 141, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.08), 0 10px 26px rgba(255, 77, 141, 0.14);
  outline: none;
}

.site-nav a:hover .icon,
.site-nav a:focus-visible .icon,
.btn:hover .icon,
.btn:focus-visible .icon {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 0 8px rgba(255, 77, 141, 0.45));
}

.site-nav .nav-cta {
  color: #fff;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 28px rgba(255, 51, 102, 0.28);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #ff6aa1, var(--accent-strong));
  box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.14), 0 16px 38px rgba(255, 51, 102, 0.34);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease, background 0.22s ease;
}

body.nav-open .nav-toggle span {
  background: var(--accent-strong);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 247, 250, 0.96) 0%, rgba(255, 255, 255, 0.74) 52%, rgba(255, 77, 141, 0.08) 100%),
    url("img/cover-seo.webp") center/cover no-repeat;
  opacity: 0.28;
  transform: scale(1.04);
  animation: lightFlow 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 46px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin-top: 12px;
  max-width: 760px;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--accent-strong);
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 44%, #1e293b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 14px 38px rgba(255, 77, 141, 0.16);
}

.hero-lead {
  margin-top: 22px;
  max-width: 720px;
  color: #475569;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -80%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: rotate(18deg);
  transition: left 0.55s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 130%;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 42px rgba(255, 51, 102, 0.32), 0 0 28px rgba(255, 77, 141, 0.2);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(30, 41, 59, 0.14);
}

.btn.large {
  min-width: 152px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-meta div {
  padding: 16px;
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-meta dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.hero-media {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 77, 141, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-media img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 0.45s ease, filter 0.45s ease;
}

figcaption {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
}

.section-copy h2,
.section-heading h2,
.cta-panel h2 {
  margin-top: 10px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--accent-strong);
  background: linear-gradient(135deg, var(--accent-strong), var(--accent), #1e293b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 28px rgba(255, 77, 141, 0.12);
}

.section-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.cta-panel p {
  margin-top: 16px;
  color: #475569;
}

.image-panel,
.wide-figure,
.feature-image {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(30, 41, 59, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.image-panel img,
.wide-figure img,
.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.48s ease, filter 0.48s ease;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-inline: auto;
  text-align: center;
}

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

.content-card,
.update-grid article,
.feature-list article,
.timeline article,
.faq-list details {
  border: 1px solid rgba(30, 41, 59, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(30, 41, 59, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.content-card {
  min-height: 222px;
  padding: 24px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  color: var(--accent-strong);
  border: 1px solid rgba(255, 77, 141, 0.25);
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 900;
  transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.content-card h3,
.update-grid h3,
.feature-list h3,
.timeline h3 {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.3;
}

.content-card p,
.update-grid p,
.feature-list p,
.timeline p {
  margin-top: 10px;
  color: #536173;
}

.wide-figure {
  margin-top: 30px;
}

.guide-section {
  background:
    linear-gradient(180deg, rgba(255, 77, 141, 0.06), rgba(255, 255, 255, 0.4)),
    linear-gradient(90deg, rgba(245, 247, 250, 0.6), rgba(255, 255, 255, 0.9));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.timeline article {
  position: relative;
  padding: 24px;
}

.timeline article::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 22px;
}

.updates-section {
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.18), rgba(255, 77, 141, 0.05));
}

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

.update-grid article {
  padding: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 34px auto 0;
}

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--ink);
  font-weight: 900;
  transition: color 0.2s ease;
}

.faq-list summary::marker {
  color: var(--accent);
}

.faq-list p {
  padding-bottom: 20px;
  color: #536173;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-section {
  padding: 40px 0 92px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(255, 77, 141, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 77, 141, 0.2), transparent 22rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.partner-section {
  position: relative;
  overflow: hidden;
  padding: 74px 0 68px;
  color: #fff;
  background:
    radial-gradient(circle at 48% 0%, rgba(255, 77, 141, 0.36), transparent 34rem),
    radial-gradient(circle at 78% 58%, rgba(255, 51, 102, 0.26), transparent 28rem),
    linear-gradient(135deg, #1e293b 0%, #2b1f36 50%, #ff4d8d 135%);
}

.partner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  opacity: 0.45;
  pointer-events: none;
}

.partner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.partner-kicker {
  color: #ffb3cf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-section h2 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 0 26px rgba(255, 77, 141, 0.36);
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.partner-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 179, 207, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px rgba(30, 41, 59, 0.24);
  backdrop-filter: blur(14px);
  font-weight: 800;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.link-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 77, 141, 0.9);
}

.partner-links a:hover,
.partner-links a:focus-visible {
  color: #fff;
  border-color: rgba(255, 77, 141, 0.78);
  background: rgba(255, 77, 141, 0.18);
  box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.11), 0 22px 52px rgba(255, 77, 141, 0.28);
  transform: translateY(-3px);
  outline: none;
}

.site-footer {
  padding: 34px 0;
  color: #64748b;
  border-top: 1px solid rgba(30, 41, 59, 0.09);
  background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-grid strong {
  color: var(--ink);
}

.footer-grid p {
  margin-top: 4px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

@media (hover: hover) {
  .hero-media:hover,
  .image-panel:hover,
  .wide-figure:hover,
  .feature-image:hover,
  .cta-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 141, 0.28);
    box-shadow: 0 28px 80px rgba(30, 41, 59, 0.14);
  }

  .hero-media:hover img,
  .image-panel:hover img,
  .wide-figure:hover img,
  .feature-image:hover img {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.02);
  }

  .content-card:hover,
  .update-grid article:hover,
  .feature-list article:hover,
  .timeline article:hover,
  .faq-list details:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 77, 141, 0.24);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 54px rgba(30, 41, 59, 0.11);
  }

  .content-card:hover .card-index {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  }

  .faq-list details:hover summary {
    color: var(--accent-strong);
  }
}

@keyframes lightFlow {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
    filter: saturate(1);
  }
  to {
    transform: scale(1.08) translate3d(-14px, 8px, 0);
    filter: saturate(1.12);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(30, 41, 59, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .hero-grid,
  .two-column,
  .two-column.reverse,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    font-size: 15px;
  }

  .hero {
    padding: 42px 0 48px;
  }

  .hero-meta,
  .content-grid,
  .timeline,
  .update-grid,
  .section {
    padding: 58px 0;
  }

  .content-card {
    min-height: auto;
  }

  .cta-panel,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
