:root {
  --mw: #1677ff;
  --mw-dark: #0958d9;
  --text: #111827;
  --muted: #4e5969;
  --line: #e5e6eb;
  --soft: #f7f8fa;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1200px;
  color: var(--text);
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #69b1ff, #1677ff 48%, #4096ff);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(22, 119, 255, 0.28);
}
.pill:hover { filter: brightness(1.05); }

/* —— 顶栏 —— */
.hd {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 62px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.hd__bar {
  display: flex;
  align-items: center;
  height: 62px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  gap: 4px;
}
.hd__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  flex-shrink: 0;
}
.hd__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--mw);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hd__brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hd__nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 0;
}
.hd__nav > a,
.mega > button,
.mega > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 62px;
  padding: 0 11px;
  border: 0;
  background: none;
  color: #1d2129;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.hd__nav > a:hover,
.mega > button:hover,
.mega > a:hover,
.hd__nav > a.is-on,
.mega > a.is-on { color: var(--mw); }
.mega > button i,
.mega > a i {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}
.hd__hot { color: #f53f3f !important; font-weight: 700; }

.mega { position: static; }
.mega__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  z-index: 70;
}
.mega:hover .mega__panel,
.mega:focus-within .mega__panel { display: block; }
.mega__inner {
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 12px 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px 36px;
}
.mega__inner--s {
  grid-template-columns: 1fr;
  max-width: 280px;
  margin: 0;
  padding: 16px 24px 20px 40px;
}
.mega__panel--s { left: auto; right: auto; width: max-content; border: 1px solid var(--line); border-radius: 12px; margin-left: 200px; }
.mega__intro h3 { margin: 0 0 8px; font-size: 20px; }
.mega__intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.mega__inner h4 {
  margin: 0 0 12px;
  color: #86909c;
  font-size: 12px;
  font-weight: 600;
}
.mega__inner a {
  display: block;
  padding: 6px 0;
  color: #1d2129;
  font-size: 14px;
}
.mega__inner a:hover { color: var(--mw); }

.hd__right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: #4e5969;
  font-size: 14px;
}
.hd__icon { display: inline-flex; align-items: center; gap: 4px; }
.hd__right a:hover { color: var(--mw); }
.hd__login { color: #1d2129; }
.hd__reg { color: var(--mw); font-weight: 600; }
.hd__right a[hidden] { display: none !important; }
.hd__menu {
  display: none;
  border: 0;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

/* —— 首屏 —— */
.hero {
  position: relative;
  padding: 64px 24px 0;
  overflow: hidden;
  background:
    radial-gradient(920px 380px at 50% -60px, rgba(22, 119, 255, 0.1), transparent 72%),
    #fff;
}
.hero__slides { max-width: 1280px; margin: 0 auto; }
.hero__slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__slide.is-on { display: flex; }
.hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 70px;
  letter-spacing: 0.01em;
}
.hero h1 em { font-style: normal; color: var(--mw); }
.hero__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fff1f0;
  color: #f53f3f;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  vertical-align: super;
}
.hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}
.hero__link {
  color: var(--mw);
  font-size: 16px;
  font-weight: 600;
}
.hero__shot {
  width: min(1100px, 100%);
  margin-top: 36px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(22, 119, 255, 0.12);
  min-height: 420px;
  background: #f2f3f5;
}
.hero__shot img {
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  object-position: top;
}
.hero__shot--ai { background: #0b1220; }
.hero__arrow {
  position: absolute;
  top: 42%;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-size: 28px;
  color: #86909c;
  cursor: pointer;
}
.hero__arrow.is-prev { left: 20px; }
.hero__arrow.is-next { right: 20px; }
.hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 8px;
}
.hero__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9cdd4;
  cursor: pointer;
}
.hero__dots button.is-on { width: 22px; border-radius: 8px; background: var(--mw); }

.pg-hero {
  padding: 64px 24px 40px;
  text-align: center;
  background:
    radial-gradient(820px 320px at 50% -40px, rgba(22, 119, 255, 0.1), transparent 70%),
    #fff;
}
.pg-hero h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
}
.pg-hero h1 em { font-style: normal; color: var(--mw); }
.pg-hero p {
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}
.pg-hero .pill { margin-top: 24px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }
.sec-title {
  margin: 48px 0 20px;
  font-size: 28px;
  text-align: center;
}
.muted { color: var(--muted); }
.grid-3, .grid-4 {
  display: grid;
  gap: 16px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p, .card li { margin: 0; color: var(--muted); font-size: 14px; }
.card ul { margin: 8px 0 0; padding-left: 18px; }
.card.is-on { border-color: var(--mw); box-shadow: 0 8px 24px rgba(22, 119, 255, 0.12); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 8px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: #f2f3f5;
  font-size: 13px;
}
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { background: var(--soft); }
.price-num { color: var(--mw); font-size: 32px; font-weight: 700; margin: 8px 0 16px; }
.price-num small { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.dl-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  margin-bottom: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: #1d2129;
}
.dl-nav button.is-on { background: #e8f3ff; color: var(--mw); font-weight: 600; }
.distro { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.distro button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.distro button.is-on { border-color: var(--mw); color: var(--mw); background: #e8f3ff; }
.cmd-box {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 16px 16px 18px;
  border-radius: 12px;
  background: #1d2129;
  color: #e5e6eb;
}
.cmd-box code {
  flex: 1;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: auto;
  white-space: nowrap;
}
.cmd-box .pill { min-width: 120px; height: 40px; font-size: 14px; box-shadow: none; }
.shot {
  margin: 24px auto 0;
  max-width: 960px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(22, 119, 255, 0.12);
}
.act-card {
  min-height: 180px;
  padding: 24px;
  border-radius: 16px;
  background: #e8f3ff center / cover no-repeat;
}
.center { text-align: center; }

.ft {
  padding: 56px 24px 24px;
  background: #f7f8fa;
  border-top: 1px solid var(--line);
}
.ft__grid {
  display: grid;
  grid-template-columns: 160px repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.ft .hd__logo { white-space: nowrap; }
.ft h3 { margin: 0 0 12px; font-size: 14px; text-align: left; }
.ft a, .ft span, .ft p { display: block; margin: 6px 0; color: var(--muted); font-size: 13px; }
.ft a:hover { color: var(--mw); }
.ft__copy {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #86909c;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1199px) {
  body { min-width: 0; }
  .hd__nav { display: none; }
  .hd__nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    align-items: stretch;
  }
  .hd__nav.is-open > a,
  .hd__nav.is-open .mega > button,
  .hd__nav.is-open .mega > a { height: 40px; }
  .mega__panel { position: static; box-shadow: none; border: 0; }
  .mega__inner, .mega__inner--s { padding: 0 0 8px 12px; grid-template-columns: 1fr; }
  .hd__menu { display: inline-flex; }
  .hero h1, .pg-hero h1 { font-size: 32px; line-height: 1.3; }
  .hero__arrow { display: none; }
  .ft__grid, .grid-3, .grid-4, .dl { grid-template-columns: 1fr; }
  .hero__shot { min-height: 200px; }
}
