:root {
  --bg-start: #fff0f5;
  --bg-end: #ffe4e1;
  --primary: #7209b7;
  --primary-strong: #4d057d;
  --accent: #4cc9f0;
  --accent-deep: #168aad;
  --ink: #4a4e69;
  --ink-strong: #25243d;
  --paper: #fffafc;
  --paper-soft: #fff5f8;
  --line: rgba(114, 9, 183, 0.16);
  --shadow: 0 18px 55px rgba(74, 78, 105, 0.16);
  --shadow-soft: 0 10px 28px rgba(74, 78, 105, 0.1);
  --shadow-hover: 0 22px 52px rgba(74, 78, 105, 0.18);
  --glass: rgba(255, 255, 255, 0.72);
  --radius: 8px;
  --container: min(1140px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  background:
    linear-gradient(90deg, rgba(76, 201, 240, 0.06) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(180deg, var(--bg-start), var(--bg-end));
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 252, 0.88);
  border-bottom: 1px solid rgba(114, 9, 183, 0.12);
  backdrop-filter: blur(18px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 252, 0.95);
  box-shadow: 0 10px 30px rgba(74, 78, 105, 0.1);
}

.nav-shell {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: auto;
  max-height: 42px;
  border: 2px solid rgba(76, 201, 240, 0.65);
  border-radius: var(--radius);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-strong);
  font-size: 15px;
}

.site-menu a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: var(--radius);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-menu a .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.site-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a.is-active {
  color: var(--primary-strong);
  background: rgba(114, 9, 183, 0.08);
}

.site-menu a:hover .icon,
.site-menu a:focus-visible .icon,
.site-menu a.is-active .icon {
  transform: translateY(-1px);
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after,
.site-menu a.is-active::after {
  transform: scaleX(1);
}

.site-menu .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(114, 9, 183, 0.22);
}

.site-menu .nav-cta:hover,
.site-menu .nav-cta:focus-visible {
  color: #fff;
  background: var(--primary-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.nav-toggle[aria-expanded="true"] span:not(.visually-hidden):nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.visually-hidden):nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:not(.visually-hidden):nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(610px, 82vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #2b2630;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 25, 42, 0.88) 0%, rgba(42, 31, 46, 0.62) 44%, rgba(42, 31, 46, 0.18) 100%),
    linear-gradient(180deg, rgba(19, 17, 25, 0.22) 0%, rgba(19, 17, 25, 0.78) 100%);
}

.hero-inner {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 130px 0 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #8ee7ff;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

h1,
h2,
h3 {
  color: var(--ink-strong);
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
}

h1,
h2 {
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  max-width: 720px;
  color: #fff;
  background: linear-gradient(90deg, #fff, #f7e9ff 52%, #8ee7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 44px rgba(114, 9, 183, 0.22);
  font-size: clamp(40px, 6.5vw, 72px);
}

.hero-copy {
  max-width: 670px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.4vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.button:hover .icon,
.button:focus-visible .icon {
  transform: translateX(2px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 32px rgba(114, 9, 183, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-strong);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.button.compact {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.hero-facts {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 38px;
}

.hero-facts div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.hero-facts dd {
  color: #fff;
  font-weight: 800;
}

.band {
  position: relative;
  padding: 88px 0;
}

.band-light {
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.78), rgba(255, 245, 248, 0.72)),
    rgba(255, 250, 252, 0.66);
}

.band-accent {
  background:
    linear-gradient(180deg, rgba(76, 201, 240, 0.12), rgba(255, 250, 252, 0.6)),
    rgba(255, 255, 255, 0.32);
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
}

.section-heading.narrow {
  max-width: 860px;
}

.section-heading h2,
.section-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.section-copy h2 {
  position: relative;
  padding-bottom: 14px;
}

.section-copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}

.section-heading p,
.section-copy p {
  font-size: 17px;
}

.section-copy p + p {
  margin-top: 16px;
}

.feature-grid,
.guide-grid,
.feature-list {
  display: grid;
  gap: 16px;
}

.feature-grid article,
.guide-step,
.feature-list article,
.faq-list details {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.feature-grid article:hover,
.guide-step:hover,
.feature-list article:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(114, 9, 183, 0.26);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-hover);
}

.feature-grid h3,
.guide-step h3,
.feature-list h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 44px;
}

.split-grid.reversed {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.media-panel,
.wide-figure,
.visual-row figure {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.media-panel:hover,
.wide-figure:hover,
.visual-row figure:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 201, 240, 0.42);
  box-shadow: var(--shadow-hover);
}

.media-panel img,
.wide-figure img,
.visual-row img {
  width: 100%;
  height: auto;
}

.content-layout {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 3px solid rgba(22, 138, 173, 0.22);
  border-radius: 50%;
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-step {
  position: relative;
  min-height: 214px;
  padding: 24px;
}

.guide-step span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 900;
  background: linear-gradient(135deg, rgba(114, 9, 183, 0.12), rgba(76, 201, 240, 0.18));
  border-radius: var(--radius);
}

.guide-figure {
  margin-top: 24px;
}

.feature-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 26px;
}

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

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-width: 0;
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow-wrap: anywhere;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 42px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 0 999px 999px 0;
}

.timeline time {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-weight: 800;
  background: rgba(76, 201, 240, 0.12);
  border-radius: 999px;
}

.timeline h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.faq-heading {
  max-width: 780px;
}

.faq-heading .button {
  margin-top: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
}

.faq-list details[open] {
  border-color: rgba(114, 9, 183, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  color: var(--ink-strong);
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  margin-right: -28px;
  color: var(--primary);
  font-weight: 900;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-list p {
  padding: 0 20px 20px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #eef8fb;
  background:
    linear-gradient(120deg, #111326 0%, #11394b 33%, var(--primary-strong) 68%, #3d0930 100%);
}

.friend-links {
  width: var(--container);
  margin: 0 auto;
  padding: 38px 0 30px;
  text-align: center;
}

.friend-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.friend-title {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--accent), #ffffff 52%, #ff4fb8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 16px 34px rgba(76, 201, 240, 0.18);
}

.friend-title::after {
  content: "";
  display: block;
  width: 118px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff4fb8);
}

.friend-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.friend-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: 100%;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(10, 10, 28, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.friend-link:hover,
.friend-link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(76, 201, 240, 0.72);
  background:
    linear-gradient(180deg, rgba(76, 201, 240, 0.28), rgba(255, 79, 184, 0.16)),
    rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  max-width: 640px;
  color: rgba(238, 248, 251, 0.78);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: rgba(238, 248, 251, 0.86);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(76, 201, 240, 0.78);
  outline-offset: 3px;
}

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

  .site-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(255, 250, 252, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(74, 78, 105, 0.14);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.24s ease, visibility 0.24s ease;
  }

  .site-menu.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-menu a {
    justify-content: flex-start;
    min-height: 48px;
  }

  .site-menu .nav-cta {
    justify-content: center;
    margin: 10px 0 0;
  }

  .feature-grid,
  .guide-grid,
  .feature-list,
  .timeline,
  .visual-row,
  .footer-grid,
  .split-grid,
  .split-grid.reversed {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1140px);
  }

  .nav-shell {
    min-height: 64px;
  }

  .site-menu {
    inset: 64px 0 auto 0;
  }

  .hero {
    min-height: 700px;
  }

  .hero-media {
    object-position: 42% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(32, 25, 42, 0.42) 0%, rgba(32, 25, 42, 0.9) 58%, rgba(32, 25, 42, 0.96) 100%);
  }

  .hero-inner {
    padding: 116px 0 38px;
  }

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

  .hero-copy,
  .section-heading p,
  .section-copy p {
    font-size: 16px;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .band {
    padding: 62px 0;
  }

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

  .feature-grid article,
  .guide-step,
  .feature-list article,
  .timeline li {
    padding: 18px;
  }

  .site-footer {
    padding-bottom: 46px;
  }

  .friend-links {
    padding: 32px 0 28px;
  }

  .friend-title {
    font-size: 28px;
  }

  .friend-list {
    gap: 8px;
  }

  .friend-link {
    width: 100%;
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }
}

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