/* 网易UU远程 — 独立设计 */
:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --ink: #16141f;
  --ink-2: #3a3548;
  --muted: #6b6580;
  --line: #e4e0f0;
  --brand: #6c5ce7;
  --brand-2: #5649c0;
  --brand-soft: #eeebff;
  --accent: #ff6b6b;
  --nav-h: 66px;
  --max: 1100px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
.btn {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.shell {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

/* 顶栏 */
.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(246, 248, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: 0.25s;
}

.hd.stuck {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
}

.hd-inner {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  z-index: 2;
}

.logo em {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #8b7cff, var(--brand-2));
  color: #fff;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.nav {
  display: flex;
  gap: 2px;
}

.nav a {
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
}

.nav a:hover,
.nav a.cur {
  color: var(--brand-2);
  background: var(--brand-soft);
}

.hd-dl {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.hd-dl:hover {
  background: var(--brand-2);
}

.ham {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  z-index: 2;
}

.ham b {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: 0.25s;
}

.ham.on b:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.ham.on b:nth-child(2) {
  opacity: 0;
}

.ham.on b:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-fill {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(108, 92, 231, 0.28);
}

.btn-fill:hover {
  background: var(--brand-2);
}

.btn-soft {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 72px)) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(108, 92, 231, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 35% at 5% 80%, rgba(245, 158, 11, 0.08), transparent 50%),
    linear-gradient(180deg, #eeebff 0%, var(--bg) 70%);
}

.hero-box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-2);
  background: var(--brand-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-box h1 {
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-box h1 span {
  color: var(--brand);
}

.hero-box .sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34ch;
  margin-bottom: 26px;
  line-height: 1.75;
}

.preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(15, 31, 26, 0.08);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: grid;
  grid-template-rows: 38px 1fr;
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: #f5f3fc;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.preview-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5d1;
  font-style: normal;
}

.preview-top i:first-child {
  background: #f87171;
}

.preview-top i:nth-child(2) {
  background: #fbbf24;
}

.preview-top i:nth-child(3) {
  background: #34d399;
}

.preview-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(155deg, #f3f0ff, #ebe7ff);
}

.win {
  border-radius: 10px;
  border: 1px solid #d5cff0;
  background: #fff;
  min-height: 100px;
}

.win.a {
  background: linear-gradient(150deg, rgba(108, 92, 231, 0.14), #fff 60%);
  position: relative;
}

.win.a::after {
  content: "UU远程会话";
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-2);
}

.win.b {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.win.b strong {
  font-size: 0.8rem;
}

.win.b span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* 数据 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
  margin-bottom: clamp(8px, 2vw, 16px);
}

.stats li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* 区块 */
.sec {
  padding: clamp(52px, 7vw, 88px) 0;
}

.sec.alt {
  background: #f0eef8;
}

.sec-h {
  max-width: 520px;
  margin-bottom: 32px;
}

.sec-h.mid {
  margin-inline: auto;
  text-align: center;
}

.sec-h h2 {
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.sec-h p {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}

.card .n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.os-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.os-row span {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: s;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
}

.steps li::before {
  counter-increment: s;
  content: "步骤 " counter(s);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.steps p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* 内页头 */
.ph {
  padding: calc(var(--nav-h) + 44px) 0 36px;
  background: linear-gradient(180deg, #eeebff, var(--bg));
}

.ph .kicker {
  margin-bottom: 10px;
}

.ph h1 {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.ph p {
  color: var(--muted);
  max-width: 46ch;
  font-size: 1.05rem;
}

/* 下载 */
.dl {
  display: grid;
  gap: 12px;
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}

.dl-row h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.dl-row p {
  font-size: 0.875rem;
  color: var(--muted);
}

.chip {
  display: inline-block;
  margin-top: 8px;
  margin-right: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-2);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 6px;
}

/* 价格 */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.plan.focus {
  border-color: var(--brand);
  box-shadow: 0 14px 36px rgba(108, 92, 231, 0.12);
}

.plan .lab {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.plan h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.plan .price {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.plan .desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.plan ul {
  flex: 1;
  margin-bottom: 20px;
  display: grid;
  gap: 8px;
}

.plan li {
  font-size: 0.9rem;
  padding-left: 16px;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand);
}

/* 场景 */
.scene {
  display: grid;
  gap: 12px;
}

.scene article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.scene .tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
}

.scene h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.scene p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: start;
}

.faq-nav {
  position: sticky;
  top: calc(var(--nav-h) + 14px);
  display: grid;
  gap: 4px;
}

.faq-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.faq-nav a:hover,
.faq-nav a.on {
  background: var(--brand-soft);
  color: var(--brand-2);
}

.faq-block {
  margin-bottom: 32px;
  scroll-margin-top: calc(var(--nav-h) + 14px);
}

.faq-block h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 28px 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.15rem;
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  padding: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 60ch;
}

.faq-item.open .faq-a {
  display: block;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
}

.duo h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.duo p {
  color: var(--muted);
  font-size: 0.925rem;
  margin-bottom: 10px;
}

.ticks li {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--ink-2);
}

.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--brand);
}

/* CTA 居中 */
.cta {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.cta-in {
  background: linear-gradient(135deg, #6c5ce7, #5649c0);
  border-radius: 18px;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  color: #fff;
}

.cta-in h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-in p {
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-in .btn-fill {
  background: #fff;
  color: var(--brand-2);
  box-shadow: none;
}

.cta-in .btn-soft {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* 页脚 */
.ft {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 36px 0 24px;
}

.ft-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.ft-brand p {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 26ch;
}

.ft-cols {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.ft-cols h4 {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.ft-cols a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 7px;
}

.ft-cols a:hover {
  color: var(--brand);
}

.ft-bot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

@media (max-width: 960px) {
  .ham {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-size: 1.15rem;
    padding: 12px 18px;
  }

  .hd-dl {
    display: none;
  }

  .hero-box,
  .grid-2,
  .steps,
  .plans,
  .duo,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .faq-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }

  .scene article {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .dl-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
