:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f8ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #141722;
  --muted: #687084;
  --faint: #9097aa;
  --border: rgba(31, 35, 51, 0.09);
  --border-strong: rgba(31, 35, 51, 0.14);
  --primary: #ff4f8a;
  --primary-dark: #d72f72;
  --violet: #7c4dff;
  --blue: #4f8cff;
  --shadow: 0 28px 80px rgba(52, 58, 96, 0.14);
  --shadow-soft: 0 18px 50px rgba(70, 76, 108, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.ambient {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(10px);
}

.ambient-one {
  top: -260px;
  right: -210px;
  width: 620px;
  height: 620px;
  background:
    radial-gradient(circle at 38% 38%, rgba(255, 101, 159, 0.24), transparent 48%),
    radial-gradient(circle at 65% 60%, rgba(124, 77, 255, 0.18), transparent 58%);
}

.ambient-two {
  left: -220px;
  top: 420px;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(circle at 48% 42%, rgba(79, 140, 255, 0.18), transparent 52%),
    radial-gradient(circle at 58% 70%, rgba(255, 79, 138, 0.1), transparent 60%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(calc(100% - 48px), var(--container));
  height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(124, 77, 255, 0.13);
}

.brand-mark img {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-text {
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.02em;
  color: #171a24;
}

main {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 76px);
  padding: 58px 0 86px;
}

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

.hero h1 {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 0;
  color: #10131c;
  font-size: clamp(46px, 4.8vw, 66px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 420;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 720;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff5f87 0%, #ff4fa8 48%, #7c4dff 100%);
  box-shadow: 0 18px 40px rgba(255, 79, 138, 0.22);
}

.button-primary:hover {
  box-shadow: 0 22px 54px rgba(255, 79, 138, 0.27);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual::before {
  position: absolute;
  inset: 22px 0 0 20px;
  content: "";
  border-radius: 44px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 79, 138, 0.16), transparent 34%),
    radial-gradient(circle at 70% 42%, rgba(79, 140, 255, 0.15), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(247, 248, 255, 0.92));
  box-shadow: var(--shadow);
}

.window-shell {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 18px 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 44px 100px rgba(61, 66, 101, 0.16),
    inset 0 0 0 1px rgba(31, 35, 51, 0.04);
  backdrop-filter: blur(26px);
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 50px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(31, 35, 51, 0.07);
  background: rgba(255, 255, 255, 0.68);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e3e6ee;
}

.window-bar span:nth-child(1) {
  background: #ff6d7a;
}

.window-bar span:nth-child(2) {
  background: #ffcf61;
}

.window-bar span:nth-child(3) {
  background: #71d98f;
}

.window-body {
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 390px;
}

.window-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 20px;
  border-right: 1px solid rgba(31, 35, 51, 0.07);
  background: rgba(250, 251, 255, 0.68);
}

.sidebar-pill {
  width: 38px;
  height: 9px;
  border-radius: 999px;
  background: #dfe3ed;
}

.sidebar-pill.active {
  width: 46px;
  background: linear-gradient(135deg, #ff5f87, #7c4dff);
}

.sidebar-pill.short {
  width: 26px;
}

.window-content {
  padding: 28px;
}

.content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.content-head strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.content-head small {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-size: 12px;
}

.content-head span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 79, 138, 0.16);
  border-radius: 999px;
  color: #d72f72;
  background: rgba(255, 79, 138, 0.08);
  font-size: 12px;
  font-weight: 780;
}

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

.workflow-card {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(31, 35, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(31, 35, 51, 0.06);
}

.workflow-card span {
  display: block;
  margin-bottom: 14px;
  color: #a8afbf;
  font-size: 12px;
  font-weight: 780;
}

.workflow-card strong {
  display: block;
  color: #202536;
  font-size: 14px;
  line-height: 1.35;
}

.workflow-card small {
  display: block;
  margin-top: 8px;
  color: #8b92a3;
  font-size: 12px;
}

.main-workflow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 136px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(255, 79, 138, 0.28), rgba(124, 77, 255, 0.24)) border-box;
  border-color: transparent;
}

.download-section {
  padding: 92px 0;
  border-top: 1px solid rgba(31, 35, 51, 0.06);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: #131722;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

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

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.download-card:hover {
  border-color: rgba(255, 79, 138, 0.2);
  box-shadow: 0 26px 68px rgba(61, 66, 101, 0.14);
  transform: translateY(-3px);
}

.download-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 253, 0.86));
}

.platform-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(31, 35, 51, 0.06);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff5f87, #7c4dff);
  box-shadow: 0 14px 34px rgba(255, 79, 138, 0.2);
}

.platform-icon svg {
  width: 25px;
  height: 25px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.platform-icon svg path,
.platform-icon svg rect {
  vector-effect: non-scaling-stroke;
}

.platform-icon-apple svg {
  fill: currentColor;
  stroke: none;
  transform: translate(-1px, -4px);
}

.platform-icon[aria-label="Windows 客户端"] svg {
  fill: currentColor;
  stroke: none;
}

.download-card h3 {
  margin: 0;
  color: #151925;
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.download-card p {
  min-height: 52px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.download-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.download-card dl div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(247, 248, 255, 0.9);
}

.download-card dt {
  margin: 0 0 4px;
  color: #9aa1b1;
  font-size: 12px;
  font-weight: 650;
}

.download-card dd {
  margin: 0;
  color: #252a3a;
  font-size: 14px;
  font-weight: 760;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff5f87, #ff4fa8 52%, #7c4dff);
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 16px 36px rgba(255, 79, 138, 0.19);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.download-button:hover {
  box-shadow: 0 20px 46px rgba(255, 79, 138, 0.25);
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 48px), var(--container));
  min-height: 92px;
  margin: 0 auto;
  color: #8b92a3;
  border-top: 1px solid rgba(31, 35, 51, 0.06);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a {
  color: #697084;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: #d72f72;
}

.legal-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 79, 138, 0.08), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(124, 77, 255, 0.08), transparent 38%),
    #ffffff;
}

.legal-main {
  width: min(calc(100% - 48px), 920px);
  margin: 0 auto;
  padding: 52px 0 86px;
}

.legal-card {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(31, 35, 51, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: #d72f72;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.legal-card h1 {
  margin: 0;
  color: #121620;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.legal-updated {
  margin: 16px 0 34px;
  color: #8b92a3;
  font-size: 14px;
}

.legal-card section {
  padding-top: 28px;
  border-top: 1px solid rgba(31, 35, 51, 0.06);
}

.legal-card section + section {
  margin-top: 28px;
}

.legal-card h2 {
  margin: 0 0 12px;
  color: #171a24;
  font-size: 20px;
  line-height: 1.35;
}

.legal-card p,
.legal-card li {
  color: #566074;
  font-size: 15px;
  line-height: 1.9;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card a:not(.legal-back) {
  color: #d72f72;
  font-weight: 650;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff5f87, #ff4fa8 52%, #7c4dff);
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 14px 32px rgba(255, 79, 138, 0.18);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .window-shell {
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    height: 68px;
  }

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

  .hero {
    padding: 46px 0 72px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .window-sidebar {
    display: none;
  }

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

  .download-section {
    padding: 68px 0;
  }

  .download-card {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .legal-main {
    width: min(calc(100% - 32px), 920px);
    padding: 34px 0 68px;
  }
}
