/* Qind 官网样式 — 纯静态，无第三方依赖 */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --text: #1d1d1f;
  --text-2: #515154;
  --text-3: #86868b;
  --accent: #0a84ff;
  --accent-2: #5e5ce6;
  --accent-3: #30d158;
  --border: #d8d8de;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
  --max-w: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.nav-brand:hover {
  text-decoration: none;
}
.nav-brand img {
  width: 22px;
  height: 22px;
}
.nav-links {
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  padding: 5px 13px;
  border-radius: 980px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.nav-links a[aria-current='page'] {
  color: var(--accent);
  font-weight: 600;
  background: rgba(10, 132, 255, 0.1);
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 5px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #0070e0;
  text-decoration: none;
}
.nav-cta[aria-current='page'] {
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.28);
}
.nav-github,
.nav-gitee {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border-radius: 980px;
  color: var(--text-2);
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.nav-github:hover,
.nav-gitee:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.nav-toggle {
  display: none;
}
/* 宽屏但导航文案偏长时（i18n.js 加类）先收紧间距，仍装不下才折叠为汉堡菜单 */
.nav-tight .nav-inner {
  gap: 10px;
}
.nav-tight .nav-links {
  gap: 2px;
}
.nav-tight .nav-links a {
  padding: 5px 9px;
  font-size: 13px;
}
.nav-tight .nav-cta {
  padding: 5px 12px;
  font-size: 12px;
}
.nav-tight .lang-button {
  padding: 5px 7px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 88px 24px 64px;
  background:
    radial-gradient(1200px 480px at 50% -180px, rgba(10, 132, 255, 0.14), transparent 70%),
    radial-gradient(900px 400px at 80% -120px, rgba(94, 92, 230, 0.1), transparent 70%);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(10, 132, 255, 0.1);
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 18px;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.3);
}
.btn-primary:hover {
  background: #0070e0;
}
.btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}
.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.09);
}
.hero-meta {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- 首屏截图轮播 ---------- */
.hero-carousel {
  max-width: 960px;
  margin: 56px auto 0;
}
.carousel-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s ease;
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  overflow: hidden;
}
/* 桌面截图为 3:2、设置窗口为 16:9，比例不一致时用同图模糊铺底填补留白 */
.carousel-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--slide-bg) center / cover no-repeat;
  filter: blur(28px) saturate(1.2);
  transform: scale(1.06);
}
.carousel-slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-slide figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 30px 56px 12px;
  font-size: 13.5px;
  color: #fff;
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  opacity: 0.85;
  transition:
    opacity 0.18s ease,
    background 0.18s ease;
}
.carousel-arrow:hover {
  opacity: 1;
  background: #fff;
}
.carousel-prev {
  inset-inline-start: 14px;
}
.carousel-next {
  inset-inline-end: 14px;
}
.carousel-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.carousel-dot:hover {
  background: rgba(0, 0, 0, 0.32);
}
.carousel-dot.is-active {
  width: 22px;
  background: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 72px 0;
}
.section.tight {
  padding: 48px 0;
}
.section.alt {
  background: var(--surface);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-2);
  font-size: 17px;
}

/* ---------- 功能卡片网格 ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  display: block;
  color: inherit;
}
a.card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(94, 92, 230, 0.12));
}
.card .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}
.card h3 {
  font-size: 19px;
  font-weight: 650;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 14.5px;
  color: var(--text-2);
}
.card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 详情列表（特性页） ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}
.feature-row + .feature-row {
  border-top: 1px solid var(--border);
}
.feature-row h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-row p {
  color: var(--text-2);
  margin-bottom: 12px;
}
.feature-row ul {
  list-style: none;
}
.feature-row li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 15px;
}
.feature-row li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.feature-visual {
  background: linear-gradient(160deg, #fff, #f2f4f8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  box-shadow: var(--shadow);
}

/* 模拟 UI 小元件 */
.mock-menu {
  font-size: 13.5px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 6px;
  border: 1px solid #eee;
  width: 100%;
  max-width: 300px;
}
.mock-menu .m-item {
  padding: 6px 12px;
  border-radius: 7px;
  color: #333;
  display: flex;
  gap: 8px;
  align-items: center;
}
.mock-menu .m-item:nth-child(odd) {
  background: #f5f7fa;
}
.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 980px;
  background: #eef4ff;
  color: #0a5fce;
  font-weight: 500;
}
.mock-kbd {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  background: #1d1d1f;
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
}
.mock-card-mini {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.mock-card-mini b {
  color: #111;
}

/* ---------- 统计数字 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat .num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 4px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-3);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--text-2);
  padding: 0 0 18px;
  font-size: 15px;
}

/* ---------- 面包屑 ---------- */
.crumb {
  font-size: 13px;
  color: var(--text-3);
  padding: 22px 0 0;
}
.crumb a {
  color: var(--text-3);
}
.crumb span {
  margin: 0 6px;
}

/* ---------- 页面头部（特性页） ---------- */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 660px;
  margin: 0 auto;
}
.page-hero .icon-lg {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.14), rgba(94, 92, 230, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero .icon-lg svg {
  width: 34px;
  height: 34px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
}

/* ---------- 其他功能导航 ---------- */
.other-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.other-features a {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  color: var(--text);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.other-features a:hover {
  text-decoration: none;
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.other-features span.sub {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  padding: 64px 32px;
  margin: 24px 0;
}
.cta-band h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 10px;
}
.cta-band p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 16px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}
.cta-band .btn-primary:hover {
  background: #f0f0f2;
}
.cta-band .hero-meta {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer h4 {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer ul {
  list-style: none;
}
.footer li {
  margin-bottom: 8px;
}
.footer a {
  color: var(--text-2);
  font-size: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-brand img {
  width: 20px;
  height: 20px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 产品截图展示 ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.shot {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.shot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.shot-wide {
  grid-column: 1 / -1;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot figcaption {
  font-size: 13.5px;
  color: var(--text-2);
  text-align: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.qr {
  width: 260px;
  margin: 0 auto;
}
.community-mail {
  text-align: center;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------- 语言切换器 ---------- */
.lang-switch {
  position: relative;
}
.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font: inherit;
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 9px;
  border-radius: 980px;
  cursor: pointer;
  white-space: nowrap;
}
.lang-button:hover {
  background: rgba(0, 0, 0, 0.05);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 150px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  padding: 6px;
  display: none;
  z-index: 100;
}
.lang-menu.open {
  display: block;
}
.lang-menu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font: inherit;
  font-size: 13.5px;
  color: var(--text);
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: start;
}
.lang-menu button:hover {
  background: rgba(10, 132, 255, 0.1);
}
.lang-menu button .tick {
  color: var(--accent);
  font-weight: 700;
}
[dir='rtl'] .lang-menu {
  right: auto;
  left: 0;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow);
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  color: var(--accent);
  box-shadow: var(--shadow-hover);
}

/* ---------- 价格页 ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 6px 14px;
}
.chip svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 行间距由卡片内各元素自身的 margin 提供：卡片用 subgrid 共享父网格的行轨道，
     父级 row-gap 会被 subgrid 继承，这里必须为 0，否则卡片内部会被撑开额外间距 */
  column-gap: 24px;
  row-gap: 0;
  align-items: stretch;
  max-width: 880px;
  margin: 0 auto;
}
/* 两张卡片各有 6 个流内子元素（标题 / 描述 / 价格 / 功能列表 / 按钮 / 备注，
   Pro 的角标是绝对定位不占行），跨行 subgrid 后描述与价格逐行等高对齐。
   子元素增减时必须同步改 span 数 */
.plan {
  position: relative;
  grid-row: span 6;
  display: grid;
  grid-template-rows: subgrid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(10, 132, 255, 0.16);
}
.plan-badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 980px;
  white-space: nowrap;
}
[dir='rtl'] .plan-badge {
  transform: translateX(50%);
}
.plan h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.plan-desc {
  font-size: 14.5px;
  color: var(--text-2);
  margin: 6px 0 20px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price .amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-price .amount-old {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
}
.plan-price .unit {
  font-size: 14px;
  color: var(--text-3);
}
.plan-list {
  list-style: none;
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.plan-list li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.plan-list li strong {
  color: var(--text);
}
.plan-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .btn {
  margin-top: auto;
  text-align: center;
}
.plan-meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
}

/* 版本对比表 */
.cmp-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
table.cmp {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}
table.cmp th,
table.cmp td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
table.cmp th:first-child,
table.cmp td:first-child {
  text-align: start;
  font-weight: 500;
  color: var(--text);
}
table.cmp thead th {
  background: var(--surface-2);
  font-size: 15px;
  font-weight: 700;
}
table.cmp tbody tr:last-child td {
  border-bottom: none;
}
table.cmp td.pro-col {
  background: rgba(10, 132, 255, 0.05);
  font-weight: 600;
}
table.cmp .yes {
  color: var(--accent-3);
  font-weight: 700;
}
table.cmp .no {
  color: var(--text-3);
}

/* 支付与保障 */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-item {
  text-align: center;
  padding: 24px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-item .icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(94, 92, 230, 0.12));
}
.trust-item .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-item h3 {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 6px;
}
.trust-item p {
  font-size: 13.5px;
  color: var(--text-2);
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .plan-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  /* 单列堆叠时不需要跨卡片对齐：取消 subgrid 与跨行，回到普通纵向流布局 */
  .plan {
    grid-row: auto;
    display: flex;
    flex-direction: column;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .carousel-prev {
    inset-inline-start: 8px;
  }
  .carousel-next {
    inset-inline-end: 8px;
  }
  .carousel-slide figcaption {
    padding: 22px 40px 8px;
    font-size: 12px;
  }
  .shots {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .other-features {
    grid-template-columns: 1fr;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    margin-inline: 0;
    background: rgba(245, 245, 247, 0.96);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
    border-bottom: none;
  }
  .nav-toggle {
    display: block;
    margin-inline-start: auto;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
    line-height: 1;
  }
  .nav-inner {
    gap: 8px;
  }
  .lang-switch {
    margin-inline-start: 4px;
  }
  .back-to-top {
    inset-block-end: 16px;
    inset-inline-end: 16px;
    width: 40px;
    height: 40px;
  }
}

/* 宽屏但导航文案过长装不下时（i18n.js 加类）折叠为汉堡菜单 */
.nav-compact .nav-inner {
  gap: 8px;
}
.nav-compact .nav-links {
  display: none;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  margin-inline: 0;
  background: rgba(245, 245, 247, 0.96);
  flex-direction: column;
  gap: 0;
  padding: 8px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.nav-compact .nav-links.open {
  display: flex;
}
.nav-compact .nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}
.nav-compact .lang-switch {
  margin-inline-start: auto;
}
.nav-compact .nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}

/* ---------- 购买授权页 ---------- */
.auth-wrap {
  max-width: 720px;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.auth-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.auth-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card-head h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.auth-card-head p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-3);
}

.auth-machine {
  display: flex;
  gap: 10px;
}
.auth-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 1px;
}
.auth-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}
.auth-machine .btn {
  flex-shrink: 0;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}
.auth-machine .btn:hover {
  background: rgba(0, 0, 0, 0.08);
}
.auth-error {
  margin-top: 10px;
  font-size: 13px;
  color: #d70015;
}
.auth-license {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.auth-license[hidden] {
  display: none;
}
.auth-license-msg {
  color: var(--text-2);
}
.auth-license-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-2);
}
.auth-license-tip {
  color: var(--text-3);
  font-size: 12.5px;
}
.auth-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 980px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid transparent;
}
.auth-tag--active,
.auth-tag--lifetime {
  background: rgba(48, 209, 88, 0.14);
  color: #1a7f37;
  border-color: rgba(48, 209, 88, 0.4);
}
.auth-tag--expiring {
  background: rgba(255, 159, 10, 0.16);
  color: #9a6700;
  border-color: rgba(255, 159, 10, 0.45);
}
.auth-tag--expired {
  background: rgba(215, 0, 21, 0.12);
  color: #d70015;
  border-color: rgba(215, 0, 21, 0.35);
}
.auth-tag--none {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-2);
  border-color: var(--border);
}

.auth-plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  min-height: 48px;
}
.auth-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
  padding: 18px 0;
}
.auth-plan {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.auth-plan:hover {
  border-color: rgba(10, 132, 255, 0.5);
}
.auth-plan:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.18);
}
.auth-plan--active {
  border-color: var(--accent);
  background: rgba(10, 132, 255, 0.06);
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.12);
}
.auth-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auth-plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.auth-plan-badge {
  font-size: 11px;
  font-weight: 600;
  color: #d70015;
  border: 1px solid rgba(215, 0, 21, 0.4);
  border-radius: 980px;
  padding: 1px 8px;
}
.auth-plan-price {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}
.auth-plan-price-old {
  margin-right: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: line-through;
}
.auth-plan-dur {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-3);
}
.auth-plan-desc {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.auth-pays {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-pay {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.auth-pay--active {
  border-color: var(--accent);
  background: rgba(10, 132, 255, 0.06);
}
.auth-pay input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.auth-pay-text {
  display: flex;
  flex-direction: column;
}
.auth-pay-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.auth-pay-desc {
  font-size: 12.5px;
  color: var(--text-3);
}

.auth-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.auth-summary-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-summary-label {
  font-size: 13px;
  color: var(--text-3);
}
.auth-summary-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.auth-summary-old {
  font-size: 15px;
  color: var(--text-3);
  text-decoration: line-through;
}
.auth-summary-plan {
  font-size: 12.5px;
  color: var(--text-3);
}
.auth-buy {
  min-width: 168px;
  height: 46px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.auth-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.auth-foot {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 4px;
}

/* 支付结果 / 提示条 */
.auth-result {
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.auth-result--ok {
  border-color: rgba(48, 209, 88, 0.5);
  background: rgba(48, 209, 88, 0.08);
}
.auth-result--err {
  border-color: rgba(215, 0, 21, 0.4);
  background: rgba(215, 0, 21, 0.06);
}
.auth-result--warn,
.auth-result--info {
  border-color: rgba(255, 159, 10, 0.5);
  background: rgba(255, 159, 10, 0.08);
}
.auth-result-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.auth-result-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-2);
}
.auth-result-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--text-2);
}
.auth-result-license {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.auth-result-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-result-actions .btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  padding: 9px 20px;
  cursor: pointer;
}
.auth-result-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.auth-result-actions .btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.auth-result-body {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.auth-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}
.auth-link:hover {
  text-decoration: underline;
}

/* 轻提示 */
.auth-toast {
  position: fixed;
  left: 50%;
  top: 68px; /* 贴在 52px 高的 sticky 导航下方 */
  transform: translate(-50%, -20px);
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 980px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.auth-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .auth-card {
    padding: 18px 16px;
  }
  .auth-machine {
    flex-direction: column;
  }
  .auth-summary {
    flex-direction: column;
    align-items: stretch;
  }
  .auth-buy {
    width: 100%;
  }
}
