/* ============================================================
   VideosDown 官网样式
   设计语言：参考 arczip.app —— Apple 风格，大留白、圆角卡片、
   单一品牌强调色、滚动渐入动画、明暗双主题
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --brand: #5bc372;
  --brand-strong: #2fa455;
  --brand-grad: linear-gradient(135deg, #34d399 0%, #16a34a 100%);

  --bg: #ffffff;
  --bg-soft: #f6faf7;
  --bg-card: #ffffff;
  --text: #17251d;
  --text-muted: #5f6f66;
  --text-faint: #8a998f;
  --border: rgba(23, 37, 29, 0.09);
  --border-strong: rgba(23, 37, 29, 0.16);

  --shadow-sm: 0 1px 2px rgba(23, 37, 29, 0.05), 0 4px 12px rgba(23, 37, 29, 0.05);
  --shadow-md: 0 2px 6px rgba(23, 37, 29, 0.06), 0 16px 40px rgba(23, 37, 29, 0.1);
  --shadow-lg: 0 4px 12px rgba(23, 37, 29, 0.08), 0 32px 80px rgba(23, 37, 29, 0.14);

  --nav-bg: rgba(255, 255, 255, 0.72);
  --glow-opacity: 0.55;
  --grid-line: rgba(23, 37, 29, 0.045);
}

[data-theme="dark"] {
  --bg: #0c110e;
  --bg-soft: #101612;
  --bg-card: #151c17;
  --text: #e9f1eb;
  --text-muted: #9aa9a0;
  --text-faint: #6d7c73;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.45), 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.5), 0 32px 80px rgba(0, 0, 0, 0.6);

  --nav-bg: rgba(12, 17, 14, 0.72);
  --glow-opacity: 0.28;
  --grid-line: rgba(255, 255, 255, 0.045);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text",
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

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

a { color: var(--brand-strong); text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 760px; }

.section { padding: 96px 0; }

.center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  color: var(--brand-strong);
  box-shadow: var(--shadow-sm);
}

.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(23, 37, 29, 0.04);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
}
.brand-logo { width: 30px; height: 30px; border-radius: 8px; }
.brand-name { font-size: 17px; letter-spacing: -0.01em; }

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(91, 195, 114, 0.1); }

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--brand); transform: rotate(12deg); }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lang-toggle:hover { color: var(--text); border-color: var(--brand); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 152px 0 96px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--glow-opacity);
  animation: glowFloat 14s ease-in-out infinite alternate;
}
.glow-1 {
  width: 560px; height: 560px;
  top: -160px; left: 50%;
  transform: translateX(-80%);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.55) 0%, rgba(52, 211, 153, 0) 70%);
}
.glow-2 {
  width: 480px; height: 480px;
  top: 40px; left: 50%;
  transform: translateX(4%);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0) 70%);
  animation-delay: -7s;
}
@keyframes glowFloat {
  from { margin-top: 0; }
  to { margin-top: 42px; }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.hero-badge:hover { border-color: var(--brand); color: var(--text); transform: translateY(-1px); }
.badge-tag {
  background: var(--brand-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(38px, 6.2vw, 74px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.hero-title-line { display: block; }
.hero-title-accent {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  max-width: 640px;
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ---------- macOS 下载按钮：悬停向右展开 ARM / x64 ---------- */
.macos-cta { display: flex; align-items: center; gap: 10px; }
.macos-front .macos-caret { margin-left: 2px; transition: transform 0.25s ease; }
.macos-cta:hover .macos-caret,
.macos-cta:focus-within .macos-caret { transform: rotate(180deg); }
.macos-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-10px);
  transition: max-width 0.38s cubic-bezier(0.2, 0.65, 0.3, 1), opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.2, 0.65, 0.3, 1);
  pointer-events: none;
}
.macos-options .btn {
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 13px;
}
.macos-cta:hover .macos-options,
.macos-cta:focus-within .macos-options,
.macos-cta.open .macos-options {
  max-width: 180px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* 下载卡片内的 macOS 悬停切换 */
.macos-dl { position: relative; width: 100%; }
.macos-dl-front { transition: opacity 0.22s ease, transform 0.22s ease; }
.macos-dl-front .macos-caret { margin-left: 2px; transition: transform 0.25s ease; }
.download-card:hover .macos-dl-front .macos-caret,
.download-card:focus-within .macos-dl-front .macos-caret { transform: rotate(180deg); }
.macos-dl-alts {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}
.macos-dl-alts .btn { flex: 1; padding: 11px 8px; font-size: 13.5px; }
.download-card:hover .macos-dl-front,
.download-card:focus-within .macos-dl-front {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.download-card:hover .macos-dl-alts,
.download-card:focus-within .macos-dl-alts {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero-shot {
  width: 100%;
  max-width: 980px;
  margin-top: 72px;
}

/* ---------- 截图与灯箱 ---------- */
.shot-img { width: 100%; height: auto; }

/* 可点击放大的图片：悬停微微放大 */
.zoomable {
  cursor: zoom-in;
  transition: transform 0.45s cubic-bezier(0.2, 0.65, 0.3, 1), filter 0.25s ease;
  will-change: transform;
}
.zoomable:hover {
  transform: scale(1.015);
  filter: brightness(0.97);
}

/* Hero 主视觉：新建任务 ↔ 解析结果 双层切换 + 待机微动 */
.hero-shot-stack {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  animation: heroFloat 7s ease-in-out infinite;
  transition: box-shadow 0.45s ease;
}
.hero-shot-stack:hover {
  box-shadow: var(--shadow-lg), 0 24px 64px rgba(47, 164, 85, 0.16);
}
.hero-shot-stack .shot-img { transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1); }
.hero-shot-stack:hover .shot-img { transform: scale(1.02); }

.hero-shot-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero-shot-stack:hover .hero-shot-overlay { opacity: 1; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-shot-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(12, 17, 14, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.hero-shot-hint svg { width: 14px; height: 14px; }
.hero-shot-stack:hover .hero-shot-hint {
  opacity: 0;
  transform: translateY(6px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(8, 12, 10, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1500px, 94vw);
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
  cursor: zoom-out;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

/* ---------- 平台跑马灯 ---------- */
.platforms { padding: 40px 0 72px; }

.platforms-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.platforms-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.platform-pill:hover { border-color: var(--brand); color: var(--text); transform: translateY(-2px); }

.platform-pill svg { width: 19px; height: 19px; flex-shrink: 0; }
.pi-youtube { color: #ff0000; }
.pi-vimeo { color: #1ab7ea; }
.pi-instagram { color: #e4405f; }
.pi-facebook { color: #1877f2; }
.pi-x, .pi-tiktok { color: currentColor; }
.pi-stash { color: var(--brand-strong); }

.platforms-note {
  text-align: center;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ---------- 通用 Section 头部 ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
}

/* ---------- 核心功能（图文交替） ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 72px;
  margin-bottom: 120px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }

.feature-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.feature-copy > p {
  font-size: 16.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--brand-grad);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* ---------- 浏览器扩展 ---------- */
.extension { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.extension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}
.extension-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 20px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.extension-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.extension-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.extension-card p { font-size: 14.5px; color: var(--text-muted); }

.extension-shot {
  height: 300px;
  border-radius: 13px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-soft);
}
.extension-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- 工具箱 ---------- */
.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.toolbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 18px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.toolbox-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.toolbox-shot {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: none;
}
.toolbox-shot img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
}
.toolbox-copy { padding: 0 8px; }
.toolbox-copy h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.toolbox-copy p { font-size: 15px; color: var(--text-muted); }

/* ---------- 细节特性 ---------- */
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(91, 195, 114, 0.45); }
.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(91, 195, 114, 0.12);
  color: var(--brand-strong);
  margin-bottom: 16px;
}
.detail-icon svg { width: 22px; height: 22px; }
.detail-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.detail-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- 隐私与安心 ---------- */
.trust { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.trust-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}
.trust-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: var(--brand-grad);
}
.trust-card p { font-size: 15px; color: var(--text-muted); }

/* ---------- 定价 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.price-card.featured {
  border: 2px solid var(--brand);
  box-shadow: 0 8px 32px rgba(47, 164, 85, 0.18);
}
.price-card.featured:hover { box-shadow: 0 12px 40px rgba(47, 164, 85, 0.26); }

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}
.price-badge.muted {
  background: var(--bg-soft);
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.price-name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.price-device { font-size: 13.5px; color: var(--text-faint); margin-top: 2px; }

.price-line { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 20px; }
.price-now { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.price-was { font-size: 15px; color: var(--text-faint); text-decoration: line-through; }

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-muted);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  background: var(--brand-strong);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.pricing-discount {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-strong);
}
.pricing-discount + .pricing-note { margin-top: 10px; }

.pricing-note {
  text-align: center;
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ---------- 下载 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1110px;
  margin: 0 auto;
}
/* 三张卡片的主按钮统一沉底对齐 */
.download-card > .btn,
.macos-dl { margin-top: auto; }
/* 下载按钮略小一号，三张卡片横向更从容 */
.download-card .btn { padding: 11px 20px; font-size: 14px; }
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.download-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(91, 195, 114, 0.12);
  color: var(--brand-strong);
  margin-bottom: 18px;
}
.download-icon svg { width: 30px; height: 30px; }
.download-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.download-req { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.download-alt { margin-top: 14px; font-size: 13px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: rgba(91, 195, 114, 0.5); box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-arrow {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.faq-arrow::before,
.faq-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--text-muted);
  transform: translate(-50%, -50%);
  transition: background 0.25s ease;
}
.faq-arrow::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  background: var(--brand);
  border-color: var(--brand);
}
.faq-item[open] .faq-arrow::before,
.faq-item[open] .faq-arrow::after { background: #fff; }
.faq-item[open] .faq-arrow::after { opacity: 0; }

.faq-answer { padding: 0 22px 20px; font-size: 15px; color: var(--text-muted); }

/* ---------- 尾部 CTA ---------- */
.cta { padding-top: 24px; }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 28px;
  padding: 80px 32px;
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(255, 255, 255, 0.18), transparent),
    var(--brand-grad);
  color: #fff;
  box-shadow: 0 24px 64px rgba(22, 163, 74, 0.35);
}
.cta-card h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta-card p { font-size: 17px; opacity: 0.92; margin-bottom: 32px; }
.cta-card .btn-primary {
  background: #fff;
  color: #16a34a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.cta-card .btn-primary:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-desc { margin-top: 16px; font-size: 14px; color: var(--text-muted); }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--brand-strong); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--brand-strong); }

/* ---------- 滚动渐入动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glow, .hero-shot-stack { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .feature-row { gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; border-radius: 12px; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }

  .section { padding: 72px 0; }
  .hero { padding: 128px 0 72px; }
  .download-grid { grid-template-columns: 1fr; max-width: 520px; }

  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; margin-bottom: 80px; }
  .feature-row.reverse .feature-media { order: 0; }
  .feature-row.reverse .feature-copy { order: 1; }

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

@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  .macos-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .macos-options {
    max-width: none;
    opacity: 1;
    transform: none;
    overflow: visible;
    pointer-events: auto;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .macos-options .btn { width: 100%; }
  .macos-dl-alts .btn { padding: 11px 8px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
