:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-tint: #eef3ff;
  --text: #1f212b;
  --text-2: #555a6a;
  --text-3: #8a91a3;
  --line: #e6eaf2;
  --accent: #3e63dd;
  --accent-hover: #3354c4;
  --accent-soft: #e8eefc;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(62, 99, 221, 0.08);
  --shadow-lg: 0 18px 50px rgba(62, 99, 221, 0.12);
  --container: 1280px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 64px, var(--container));
  margin-inline: auto;
}

@media (min-width: 1400px) {
  .container {
    width: min(100% - 96px, var(--container));
  }
}

/* Header — 参照码上行动：更宽留白、更大导航字 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 18, 16, 0.06);
  box-shadow: 0 2px 10px rgba(180, 189, 221, 0.18);
  transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(180, 189, 221, 0.28);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 5px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__text small {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
}

.nav a {
  position: relative;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-2);
  padding: 10px 18px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--accent);
  background: transparent;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(62, 99, 221, 0.28);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 26px rgba(62, 99, 221, 0.36);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--lg {
  height: 54px;
  padding: 0 30px;
  font-size: 16px;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 16px;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  color: var(--text-2);
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav.is-open {
  display: block;
}

/* Hero */
.hero {
  padding: 88px 0 48px;
  background:
    radial-gradient(ellipse 55% 55% at 82% 18%, rgba(62, 99, 221, 0.10), transparent 62%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(62, 99, 221, 0.04), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 72%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 16px;
  color: var(--text-3);
  margin: 0 0 16px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__desc {
  margin: 20px 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 36em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}

/* Product mock — ToDesk 式产品示意，浅色版 */
.hero-visual {
  position: relative;
  min-height: 360px;
}

.hero-visual__frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-visual:hover .hero-visual__frame {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(62, 99, 221, 0.16);
}

.hero-visual__chrome {
  height: 40px;
  background: #eaeef6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.hero-visual__chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9d0de;
}

.hero-visual__body {
  display: grid;
  grid-template-columns: 56px 140px 1fr;
  min-height: 280px;
}

.hero-visual__rail {
  background: #eaeef6;
  border-right: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-visual__rail span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #d7deed;
}

.hero-visual__rail span.is-on {
  background: var(--accent);
}

.hero-visual__list {
  background: #f5f7fc;
  border-right: 1px solid var(--line);
  padding: 12px;
}

.hero-visual__list .row {
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.hero-visual__list .row.is-on {
  border-color: #c7d4f8;
  background: var(--accent-soft);
}

.hero-visual__chat {
  padding: 16px;
  background: #fff;
}

.hero-visual__bubble {
  max-width: 70%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--text-2);
}

.hero-visual__bubble--in {
  background: #f3f5fa;
}

.hero-visual__bubble--out {
  background: #dde2ff;
  margin-left: auto;
}

.hero-visual__badge {
  position: absolute;
  right: -8px;
  bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  min-width: 148px;
}

.hero-visual__badge strong {
  display: block;
  font-size: 22px;
  color: var(--accent);
  line-height: 1.1;
}

.hero-visual__badge span {
  font-size: 12px;
  color: var(--text-3);
}

/* Feature strip */
.features {
  margin-top: -20px;
  padding: 0 0 24px;
  position: relative;
  z-index: 2;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
}

.feature-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: 12px;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
}

.section__head p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step__no {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.module {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}

.module:hover {
  border-color: #c7d4f8;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.module__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.module__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #3e63dd, #5b7cfa);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.module h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.module > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

.module__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.module__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

.module__list li + li {
  margin-top: 6px;
}

.module__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

.product-shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.product-shot figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-3);
  border-top: 1px solid var(--line);
  background: #fafbfe;
}

/* Download cards — ToDesk 式清晰下载入口 */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.download-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.download-card p {
  margin: 0 0 20px;
  color: var(--text-2);
  font-size: 14px;
}

.download-card__meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-3);
}

/* Guide page */
.guide-hero {
  padding: 64px 0 28px;
  background: linear-gradient(180deg, #f7f9ff 0%, #fff 100%);
}

.guide-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.5vw, 40px);
}

.guide-hero p {
  margin: 0;
  color: var(--text-2);
  max-width: 42em;
  font-size: 16px;
}

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.guide-toc a {
  font-size: 14px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.guide-toc a:hover {
  background: #fff;
  border-color: #c7d4f8;
  transform: translateY(-1px);
}

.guide-list {
  display: grid;
  gap: 28px;
}

.guide-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 8px 24px rgba(180, 189, 221, 0.12);
}

.guide-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-item h3 span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-item > p,
.guide-item li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

.guide-item ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.guide-item li + li {
  margin-top: 6px;
}

.guide-item a {
  color: var(--accent);
}

.guide-item a:hover {
  text-decoration: underline;
}

.guide-figure {
  margin: 18px auto 8px;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.guide-figure--sm {
  max-width: 480px;
}

.guide-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.guide-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-3);
  background: #fff;
  border-top: 1px solid var(--line);
}

.guide-tip {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--text-2);
  font-size: 14px;
}

/* CTA + 微信咨询（二维码直接做在蓝色行动区上） */
.cta {
  padding: 56px 0;
}

.cta__box {
  background:
    radial-gradient(circle at 78% 55%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #3e63dd 0%, #5b7cfa 55%, #3e63dd 100%);
  color: #fff;
  border-radius: 18px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 28px 40px;
  position: relative;
  overflow: hidden;
}

.cta__box::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 180%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.12), transparent 42%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.cta__main {
  position: relative;
  z-index: 1;
}

.cta__box h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.cta__box p {
  margin: 0 0 18px;
  opacity: 0.92;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta__box .btn--ghost {
  background: #fff;
  color: var(--accent);
  border: 0;
}

.cta__box .btn--ghost:hover {
  background: #eef2ff;
}

.cta__box .btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta__box .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.cta__wechat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 14px 18px 14px 14px;
  backdrop-filter: blur(6px);
}

.cta__wechat img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.cta__wechat strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.cta__wechat span {
  display: block;
  font-size: 13px;
  opacity: 0.88;
  line-height: 1.5;
  max-width: 11em;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  background: #fafbfe;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__contact img {
  width: 88px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.site-footer__contact p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.site-footer__contact strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text-2);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__copy {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-3);
}

.page-main {
  min-height: 60vh;
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero__grid,
  .features__grid,
  .steps,
  .modules,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-visual__badge {
    position: static;
    margin-top: 14px;
  }

  .cta__box {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .cta__wechat {
    width: 100%;
    justify-content: flex-start;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}
