:root {
  --brand: #2f6be0;
  --brand-2: #4a9eff;
  --brand-soft: #e8f0ff;
  --ink: #0f172a;
  --muted: #5b6b84;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e4eaf4;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(20, 45, 90, 0.35);
  --shadow-soft: 0 8px 24px -18px rgba(20, 45, 90, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand strong {
  color: var(--brand);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
}

.nav .nav-home {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background:
    radial-gradient(620px 320px at 88% 8%, rgba(74, 158, 255, 0.16), transparent 60%),
    radial-gradient(480px 260px at 6% 92%, rgba(47, 107, 224, 0.1), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-shot {
  order: -1;
}

.hero-copy {
  order: 0;
}

.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.accent {
  color: var(--brand);
}

.lead {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16.5px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
}

.badge {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 18px 0 0;
  color: #8190a8;
  font-size: 13px;
}

.hero-shot {
  position: relative;
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.28), rgba(47, 107, 224, 0.05));
  filter: blur(6px);
  z-index: 0;
}

.hero-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 60px -30px rgba(17, 40, 80, 0.45);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 26px -16px rgba(47, 107, 224, 0.9);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px -16px rgba(47, 107, 224, 0.95);
}

.btn-ghost {
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand-2);
}

/* 信息条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.stat {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.stat-value {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
}

/* 区块 */
.section {
  padding: 64px 0 0;
}

section[id] {
  scroll-margin-top: 84px;
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* 下载卡片 */
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 107, 224, 0.06), rgba(74, 158, 255, 0.02)),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-title h3 {
  margin: 0;
  font-size: 21px;
}

.pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.download-desc {
  margin: 8px 0 14px;
  color: var(--muted);
}

.req-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  color: #33415c;
  font-size: 14.5px;
}

.req-list li::before {
  content: "·";
  color: var(--brand);
  font-weight: 800;
  margin-right: 8px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

/* 特性 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  padding: 22px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin: 14px 0 6px;
  font-size: 16.5px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* 视频 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.video-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  text-decoration: none;
  border-color: var(--brand-2);
  transform: translateY(-2px);
}

.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  flex: none;
}

/* 内置软件 */
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.software-col {
  padding: 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.software-col h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.software-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.software-col li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}

.software-col li:last-child {
  border-bottom: 0;
}

.software-col li span {
  color: #8a97ad;
  font-size: 13px;
}

/* 时间线 */
.timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 8px;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 26px 26px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.timeline-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.timeline-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.timeline-body li {
  padding: 2px 0;
}

/* 页脚 */
.site-footer {
  margin-top: 72px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: #8a97ad;
  font-size: 13.5px;
}

.footer-inner p {
  margin: 0;
}

/* 响应式 */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-shot {
    order: 0;
  }

  .hero-copy {
    order: -1;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .video-grid,
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .download-actions .btn {
    flex: 1 1 180px;
  }
}

/* 汉堡菜单（仅手机显示） */
.hamburger {
  display: none;
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    position: relative;
    height: 56px;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .hamburger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }

  .hamburger span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    padding: 6px 16px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 28px -26px rgba(15, 30, 60, 0.55);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 4px;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav .nav-home {
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    padding: 16px 0 18px;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-shot {
    order: -1;
  }

  .hero-copy {
    order: 0;
  }

  .eyebrow {
    padding: 4px 10px;
    font-size: 12.5px;
  }

  .hero h1 {
    margin: 8px 0;
    font-size: 1.7rem;
  }

  .lead {
    font-size: 14.5px;
  }

  .badges {
    display: none;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 4px;
  }

  .hero-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero-note {
    margin-top: 10px;
    font-size: 12.5px;
  }

  .section {
    padding-top: 40px;
  }

  .feature-grid,
  .video-grid,
  .software-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
  }

  .stat {
    padding: 12px 14px;
  }

  .stat-value {
    font-size: 15px;
  }

  .download-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
