/* ==========================================================================
   Super Productivity 中文官网样式表
   super-productivity.cn | 扁平 · 现代 · 专业
   品牌色取自官方 Logo：#0877d2（蓝）+ #ffffff（对勾白）
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --blue: #0877d2;
  --blue-hover: #0668bd;
  --blue-deep: #075a9e;
  --blue-tint: #e9f2fb;
  --blue-tint-2: #f2f8fd;
  --blue-border: #c8ddf3;
  --ink: #10233c;
  --body-c: #3d5166;
  --muted: #64788d;
  --bg: #ffffff;
  --bg-soft: #f5f9fd;
  --border: #dfe9f3;
  --navy: #0c2340;
  --navy-2: #123258;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 60, 0.05);
  --shadow-md: 0 4px 14px rgba(16, 35, 60, 0.07);
  --shadow-blue: 0 12px 30px rgba(8, 119, 210, 0.14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-c);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--blue-hover);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(8, 119, 210, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 300;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 布局工具 ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 78px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-tint {
  background: var(--blue-tint-2);
}

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

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.section-head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.15rem);
  margin-bottom: 14px;
}

.section-head .sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn .ic {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-border);
}

.btn-ghost:hover {
  border-color: var(--blue);
  background: var(--blue-tint-2);
  color: var(--blue-hover);
}

.btn-white {
  background: #fff;
  color: var(--blue-deep);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(4, 20, 40, 0.25);
  color: var(--blue-deep);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(16, 35, 60, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.brand-name {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--blue);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 13px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body-c);
  border-radius: 8px;
}

.main-nav a:hover {
  color: var(--blue);
  background: var(--blue-tint-2);
}

.main-nav a.active {
  color: var(--blue);
  font-weight: 700;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 1px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.main-nav .nav-cta {
  margin-left: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle .ic {
  width: 21px;
  height: 21px;
}

.nav-toggle .icon-close {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-tint-2) 0%, #ffffff 100%);
  padding: 84px 0 92px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(8, 119, 210, 0.1) 0%, rgba(8, 119, 210, 0) 68%);
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(8, 119, 210, 0.08) 0%, rgba(8, 119, 210, 0) 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--blue-border);
  color: var(--blue-deep);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.hero h1 {
  font-size: clamp(1.95rem, 1.25rem + 2.9vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--body-c);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-trust .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust .ic {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.hero-trust b {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Hero 界面模型 ---------- */
.hero-visual {
  position: relative;
}

.mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(12, 35, 64, 0.14);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.mockup-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-bar .dot:nth-child(1) {
  background: #f4a3a3;
}

.mockup-bar .dot:nth-child(2) {
  background: #f5cf8a;
}

.mockup-bar .dot:nth-child(3) {
  background: #a8dcbb;
}

.mockup-title {
  margin-left: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.mockup-body {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 340px;
}

.mockup-side {
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  background: #fbfdff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ms-item {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 8px;
}

.ms-item.active {
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-weight: 700;
}

.ms-dim {
  opacity: 0.7;
}

.mockup-main {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-task {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.mock-task.add {
  border-style: dashed;
  color: var(--muted);
  font-size: 0.85rem;
}

.mock-task.active {
  border-color: var(--blue);
  background: var(--blue-tint-2);
}

.mock-task.is-done {
  opacity: 0.62;
}

.mt-check {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  border: 2px solid #c3d5ea;
}

.mt-check.done {
  border-color: var(--blue);
  background: var(--blue);
  position: relative;
}

.mt-check.done::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

.mt-body {
  flex: 1;
  min-width: 0;
}

.mt-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.is-done .mt-title {
  text-decoration: line-through;
  font-weight: 500;
}

.mt-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
}

.mt-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-tint);
  border-radius: 5px;
  padding: 1px 7px;
}

.mt-est {
  font-size: 0.7rem;
  color: var(--muted);
}

.mt-timer {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  position: relative;
}

.mt-timer svg {
  width: 46px;
  height: 46px;
  transform: rotate(-90deg);
}

.mt-timer .ring-bg {
  fill: none;
  stroke: #d7e6f7;
  stroke-width: 4;
}

.mt-timer .ring-fg {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
}

.mt-timer .mt-time {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.float-chip .ic {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.float-chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.chip-focus {
  right: -14px;
  top: -22px;
}

.chip-done {
  left: -20px;
  bottom: -24px;
}

/* ---------- 数据统计带 ---------- */
.stats-band {
  background: var(--navy);
  color: #fff;
  padding: 54px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  text-align: center;
}

.stat-num {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.stat-num small {
  font-size: 0.55em;
  font-weight: 600;
  color: #9cc4ee;
}

.stat-label {
  font-size: 0.88rem;
  color: #a8c4de;
  margin-top: 6px;
}

.stats-band .stats-note {
  text-align: center;
  font-size: 0.78rem;
  color: #7f9dbd;
  margin: 26px 0 0;
}

/* ---------- 通用卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-border);
}

.card h3 {
  font-size: 1.12rem;
  margin: 18px 0 10px;
}

.card p {
  font-size: 0.93rem;
  color: var(--body-c);
  margin: 0;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon .ic {
  width: 26px;
  height: 26px;
}

.card-icon.solid {
  background: var(--blue);
  color: #fff;
}

/* 场景卡片 */
.scenario-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-border);
}

.scenario-card .card-icon {
  margin-bottom: 4px;
}

.scenario-card h3 {
  font-size: 1.18rem;
  margin: 16px 0 6px;
}

.scenario-role {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.scenario-card p {
  font-size: 0.93rem;
  margin-bottom: 14px;
}

.scenario-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-card li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--body-c);
  margin-bottom: 7px;
  text-align: left;
}

.scenario-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-tint);
  border: 3px solid var(--blue);
  box-sizing: border-box;
}

/* 迷你功能卡 */
.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-blue);
}

.mini-card .ic {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--blue);
  margin-top: 3px;
}

.mini-card h3 {
  font-size: 0.99rem;
  margin: 0 0 4px;
}

.mini-card p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--muted);
}

/* ---------- 真实截图 ---------- */
.shot-wrap {
  position: relative;
}

.shot-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(12, 35, 64, 0.16);
  padding: 12px;
}

.shot-frame img {
  border-radius: 12px;
  width: 100%;
}

.shot-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

.shot-caption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shot-caption .ic {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 74px 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-band::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(24deg);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.2rem);
  margin-bottom: 14px;
}

.cta-inner p {
  color: #d9ecfc;
  font-size: 1.04rem;
  margin-bottom: 30px;
}

.cta-inner .btn + .btn {
  margin-left: 4px;
}

.cta-note {
  font-size: 0.82rem;
  color: #bcdcf7;
  margin-top: 18px;
}

/* ---------- 下载弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 35, 64, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 36px 36px 32px;
  box-shadow: 0 30px 80px rgba(7, 30, 60, 0.35);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.24s ease;
}

.modal-overlay.open .modal {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.modal-close:hover {
  color: var(--ink);
  border-color: #b9cde3;
}

.modal-close .ic {
  width: 18px;
  height: 18px;
}

.modal-head {
  text-align: center;
  margin-bottom: 26px;
  padding: 0 30px;
}

.modal-head h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.modal-head p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}

.qr-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  background: var(--blue-tint-2);
}

.qr-card img {
  width: 172px;
  height: 172px;
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 5px solid #fff;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.qr-card h3 {
  font-size: 1.02rem;
  margin: 0 0 4px;
}

.qr-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.qr-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

.qr-link:hover {
  color: var(--blue-hover);
}

.qr-link .ic {
  width: 15px;
  height: 15px;
}

.modal-platforms {
  border-top: 1px dashed var(--blue-border);
  padding-top: 22px;
  text-align: center;
}

.modal-platforms-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.platform-chip:hover {
  border-color: var(--blue);
  background: var(--blue-tint-2);
  color: var(--blue-deep);
}

.platform-chip .ic,
.platform-chip svg {
  width: 17px;
  height: 17px;
}

.modal-more {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.modal-more a {
  font-weight: 700;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy);
  color: #b7cbe1;
  padding: 64px 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  color: #8fadc9;
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.footer-meta {
  font-size: 0.8rem;
  color: #6f92b4;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 4px 0 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
  text-align: left;
}

.site-footer a {
  color: #b7cbe1;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .ext .ic {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-left: 4px;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  font-size: 0.8rem;
  color: #7f9dbd;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #9cc0e4;
}

/* ---------- 回到顶部 ---------- */
.backtop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease,
    background 0.22s ease;
  box-shadow: var(--shadow-blue);
  z-index: 80;
}

.backtop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.backtop:hover {
  background: var(--blue-hover);
}

.backtop .ic {
  width: 20px;
  height: 20px;
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.08s;
}

.reveal-d2 {
  transition-delay: 0.16s;
}

.reveal-d3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .scenario-card,
  .mini-card {
    transition: none;
  }
}

/* ---------- 图标 ---------- */
.ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.ic-lg {
  width: 30px;
  height: 30px;
}

/* ---------- 子页面页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-tint-2) 0%, #ffffff 100%);
  padding: 64px 0 66px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem);
  margin-bottom: 14px;
}

.page-hero .sub {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--body-c);
}

.page-hero .btn-row {
  justify-content: center;
  margin-top: 28px;
}

.crumbs {
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 20px;
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.crumbs li+li::before {
  content: "/";
  margin-right: 6px;
  color: #b6c8da;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--blue);
}

.crumbs [aria-current] {
  color: var(--blue-deep);
  font-weight: 600;
}

/* ---------- 对勾列表 ---------- */
.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  text-align: left;
  line-height: 1.65;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-tint);
}

.tick-list li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 7.5px;
  width: 5px;
  height: 9px;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

.tick-list li b {
  color: var(--ink);
}

/* ---------- 功能页：交替布局 ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 84px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row .fr-copy h2 {
  font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.85rem);
  margin-bottom: 14px;
}

.feature-row .fr-copy>p {
  font-size: 0.98rem;
}

.feature-row .fr-copy .tick-list {
  margin-top: 22px;
}

.feature-row.flip .fr-copy {
  order: 2;
}

.fr-visual {
  position: relative;
}

.fr-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 34px 32px;
}

.fr-panel-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fbfdff;
}

.fr-panel-inner:last-child {
  margin-bottom: 0;
}

.fr-panel-inner .fi-chip {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fr-panel-inner .fi-chip .ic {
  width: 22px;
  height: 22px;
}

.fr-panel-inner .fi-t {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.fr-panel-inner .fi-d {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.fr-deco {
  position: absolute;
  border-radius: 16px;
  background: var(--blue-tint);
  opacity: 0.75;
  z-index: -1;
}

.fr-deco.a {
  width: 150px;
  height: 150px;
  left: -26px;
  top: -28px;
}

.fr-deco.b {
  width: 120px;
  height: 120px;
  right: -20px;
  bottom: -24px;
  background: #d8eafc;
}

/* 集成图标网格 */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.integration-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-blue);
}

.integration-item svg {
  width: 26px;
  height: 26px;
  color: var(--ink);
}

.integration-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 步骤（快速上手） ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--body-c);
  margin: 0;
}

/* ---------- FAQ 手风琴 ---------- */
.accordion {
  max-width: 860px;
  margin: 0 auto;
}

.acc-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acc-item.open {
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  padding: 20px 24px;
  cursor: pointer;
}

.acc-head:hover {
  color: var(--blue-deep);
}

.acc-head .ic {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.25s ease;
}

.acc-item.open .acc-head .ic {
  transform: rotate(180deg);
}

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.acc-item.open .acc-body {
  grid-template-rows: 1fr;
}

.acc-body>div {
  overflow: hidden;
}

.acc-body p {
  font-size: 0.93rem;
  padding: 0 24px 22px;
  margin: 0;
}

.acc-body p:last-child {
  margin-bottom: 0;
}

.acc-body a {
  font-weight: 600;
}

/* ---------- 时间线（关于页） ---------- */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: var(--blue-border);
}

.tl-item {
  position: relative;
  padding: 0 0 34px 26px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--blue);
}

.tl-item .tl-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.tl-item h3 {
  font-size: 1.1rem;
  margin: 4px 0 6px;
}

.tl-item p {
  font-size: 0.93rem;
  margin: 0;
}

/* ---------- 下载平台卡片 ---------- */
.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-border);
}

.pc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.pc-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-icon svg {
  width: 27px;
  height: 27px;
}

.pc-head h3 {
  margin: 0;
  font-size: 1.16rem;
}

.pc-ver {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.pc-desc {
  font-size: 0.88rem;
  color: var(--body-c);
  margin: 6px 0 18px;
}

.platform-card .btn {
  margin-bottom: 18px;
}

.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--border);
}

.channel-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
}

.channel-list li:last-child {
  border-bottom: none;
}

.channel-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.87rem;
  font-weight: 600;
}
.channel-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.87rem;
  font-weight: 600;
}
.channel-list .ch-note {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 1px;
}

.channel-list .ic {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* 命令行代码 */
.code-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #cfe6fb;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 9px;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.code-pill .copy-btn {
  flex-shrink: 0;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #cfe6fb;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.code-pill .copy-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- 大二维码区（下载页） ---------- */
.qr-section {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
}

.qr-section .section-head h2,
.qr-section h2 {
  color: #fff;
}

.qr-section .section-head .sub {
  color: #a8c4de;
}

.qr-lg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 28px;
  justify-content: center;
}

.qr-lg-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 30px 28px;
  text-align: center;
}

.qr-lg-card img {
  width: 218px;
  height: 218px;
  margin: 0 auto 18px;
}

.qr-lg-card h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.qr-lg-card p {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.qr-lg-card .btn {
  width: 100%;
}

.qr-tip {
  text-align: center;
  color: #7f9dbd;
  font-size: 0.8rem;
  margin: 26px 0 0;
}

/* ---------- 提示框 ---------- */
.callout {
  display: flex;
  gap: 14px;
  background: var(--blue-tint-2);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 0.9rem;
}

.callout .ic {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--blue);
  margin-top: 2px;
}

.callout p {
  margin: 0;
}

.callout b {
  color: var(--ink);
}

/* ---------- 简单表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

table.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

.sp-table th,
.sp-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.sp-table th {
  background: var(--blue-tint-2);
  color: var(--ink);
  font-size: 0.85rem;
  white-space: nowrap;
}

.sp-table tr:last-child td {
  border-bottom: none;
}

.sp-table td:first-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- 社区/链接卡片 ---------- */
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-blue);
}

.link-card .lc-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-card .lc-icon svg {
  width: 23px;
  height: 23px;
}

.link-card h3 {
  font-size: 0.99rem;
  margin: 0 0 2px;
}

.link-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.link-card .ic-arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: #b6c8da;
  transition: color 0.2s ease, transform 0.2s ease;
}

.link-card:hover .ic-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* ---------- 版本徽章 ---------- */
.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--blue-border);
  color: var(--blue-deep);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 16px;
}

.version-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22b573;
}

/* ---------- 引用块 ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
}

.quote-card p {
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 10px;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }

  .qr-lg-grid {
    grid-template-columns: minmax(0, 420px);
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 68px;
  }

  .feature-row.flip .fr-copy {
    order: 0;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(16, 35, 60, 0.12);
    padding: 14px 24px 22px;
    gap: 2px;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .main-nav a.active::after {
    display: none;
  }

  .main-nav a.active {
    background: var(--blue-tint);
  }

  .main-nav .nav-cta {
    margin: 12px 0 0;
    justify-content: center;
  }

  .site-header.nav-open .nav-toggle .icon-menu {
    display: none;
  }

  .site-header.nav-open .nav-toggle .icon-close {
    display: block;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero .lead {
    margin-bottom: 26px;
  }

  .float-chip {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 60px 0;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 26px;
  }

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

  .modal {
    padding: 30px 22px 26px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner .btn-row .btn {
    width: 100%;
  }

  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crumbs {
    display: none;
  }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }

  .mockup-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mockup-side {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
  }

  .ms-item {
    white-space: nowrap;
  }

  .btn-lg {
    padding: 15px 28px;
    font-size: 1rem;
  }

  .hero .btn-row .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .backtop,
  .modal-overlay,
  .cta-band,
  .float-chip {
    display: none !important;
  }

  body {
    color: #000;
  }
}

