/* ==========================================================================
   Czkawka 官方网站样式表
   配色：紫(#B366FF) → 蓝(#6699FF) 渐变，源自 logo
   风格：扁平、现代、专业
   ========================================================================== */

/* ---------- CSS 变量 ---------- */
:root {
  /* 品牌色 - 取自 logo */
  --brand-purple: #B366FF;
  --brand-blue: #6699FF;
  --brand-dark: #6C5CE7;
  --brand-gradient: linear-gradient(135deg, #B366FF 0%, #6699FF 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(179,102,255,0.12) 0%, rgba(102,153,255,0.12) 100%);

  /* 中性色 */
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --bg-card: #FFFFFF;
  --text: #1A202C;
  --text-soft: #4A5568;
  --text-mute: #718096;
  --border: #E2E8F0;
  --border-soft: #EDF2F7;

  /* 功能色 */
  --success: #38B2AC;
  --warning: #ED8936;
  --danger: #E53E3E;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(45,55,72,0.04), 0 1px 3px rgba(45,55,72,0.06);
  --shadow-md: 0 4px 12px rgba(45,55,72,0.06), 0 2px 6px rgba(45,55,72,0.04);
  --shadow-lg: 0 12px 32px rgba(45,55,72,0.08), 0 4px 12px rgba(45,55,72,0.06);
  --shadow-brand: 0 12px 32px rgba(108,92,231,0.18), 0 4px 12px rgba(102,153,255,0.12);

  /* 间距 */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 容器宽度 */
  --container: 1200px;

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", "Noto Sans CJK SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, Monaco, monospace;
}

/* ---------- 重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-purple);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-soft); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-gradient-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(108,92,231,0.28), 0 6px 16px rgba(102,153,255,0.20);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--brand-purple);
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  padding: 10px 18px;
}

.btn-ghost:hover {
  background: var(--brand-gradient-soft);
}

.btn-lg { padding: 16px 32px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.brand:hover { color: var(--text); }

.brand-logo {
  width: 136px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  color: var(--brand-dark);
  background: var(--brand-gradient-soft);
}

.nav-menu a.active {
  color: var(--brand-dark);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover { background: var(--brand-gradient-soft); }

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .nav-menu,
  .nav-actions .btn-secondary {
    display: none;
  }
  .nav-toggle { display: inline-flex; }
  .nav-menu.is-open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-open a {
    padding: 12px 16px;
  }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 96px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc {
  margin-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(179,102,255,0.10), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(102,153,255,0.10), transparent 50%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}

.hero-stat-num {
  font-size: 1.875rem;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-mute);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.hero-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero-card-title {
  margin-left: 8px;
  font-size: 0.875rem;
  color: var(--text-mute);
  font-weight: 500;
}

.scan-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.scan-bar-name {
  flex: 1;
  color: var(--text);
  font-weight: 500;
}

.scan-bar-size {
  color: var(--text-mute);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

.scan-bar-status {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}

.scan-progress {
  height: 6px;
  background: var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 16px;
  position: relative;
}

.scan-progress-bar {
  height: 100%;
  width: 68%;
  background: var(--brand-gradient);
  border-radius: 999px;
  position: relative;
}

.scan-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-32px); }
  100% { transform: translateX(32px); }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: -1;
}

.hero-blob-1 {
  width: 240px;
  height: 240px;
  background: var(--brand-purple);
  top: -40px;
  right: -40px;
}

.hero-blob-2 {
  width: 200px;
  height: 200px;
  background: var(--brand-blue);
  bottom: -60px;
  left: -40px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

/* ---------- Logo 云 ---------- */
.logo-cloud {
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
}

.logo-cloud-label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-mute);
  margin-bottom: 24px;
}

.logo-cloud-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 48px;
}

.logo-cloud-item {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logo-cloud-item:hover { opacity: 1; }

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

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: var(--brand-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--brand-gradient-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ---------- 使用场景卡片 ---------- */
.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

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

.scenario-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-gradient-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.scenario-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.scenario-card p {
  font-size: 0.9375rem;
  margin-bottom: 18px;
}

.scenario-list {
  display: grid;
  gap: 8px;
}

.scenario-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  color: var(--text-soft);
}

.scenario-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--brand-gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- 用户评价 ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.3s ease;
}

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

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #F6AD55;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-mute);
}

/* ---------- CTA 区 ---------- */
.cta-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.cta-banner::before {
  width: 280px;
  height: 280px;
  top: -120px;
  right: -80px;
}

.cta-banner::after {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -60px;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.92);
  font-size: 1.0625rem;
  max-width: 620px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: var(--brand-dark);
}

.cta-banner .btn-primary:hover {
  background: #FFFFFF;
  color: var(--brand-purple);
}

.cta-banner .btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.32);
}

.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,0.20);
  color: #FFFFFF;
}

@media (max-width: 600px) {
  .cta-banner { padding: 48px 24px; }
}

/* ---------- 下载中心 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .download-grid { grid-template-columns: 1fr; }
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-purple);
}

.download-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--brand-gradient-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  margin-bottom: 20px;
}

.download-card-icon svg {
  width: 36px;
  height: 36px;
}

.download-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.download-card .platform-version {
  font-size: 0.8125rem;
  color: var(--text-mute);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.download-card .platform-desc {
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-bottom: 24px;
  min-height: 48px;
}

.download-card .btn { width: 100%; }

.download-card .platform-meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-mute);
}

.download-card .platform-meta strong {
  color: var(--text-soft);
  font-weight: 500;
}

/* 下载说明步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding-left: 64px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-brand);
}

.step h4 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* 系统需求表格 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.spec-table th,
.spec-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-soft);
}

.spec-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
}

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

.spec-table td { color: var(--text-soft); }

/* ---------- 关于页面 ---------- */
.about-hero {
  text-align: center;
  padding: 80px 0 48px;
}

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

@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; }
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}

.value-card .feature-icon {
  margin: 0 auto 18px;
}

.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

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

.timeline-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: 36px;
}

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

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-gradient);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--brand-purple);
}

.timeline-version {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-dark);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--brand-purple);
}

.faq-item[open] {
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--brand-dark);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ---------- 通用页面 hero ---------- */
.page-hero {
  padding: 72px 0 48px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(179,102,255,0.10), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-mute);
  margin-bottom: 16px;
  justify-content: center;
}

.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--brand-dark); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #1A202C;
  color: #CBD5E0;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .brand {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #A0AEC0;
  font-size: 0.9375rem;
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E0;
}

.footer-social a:hover {
  background: var(--brand-gradient);
  color: #FFFFFF;
}

.footer-social svg { width: 18px; height: 18px; }

.footer-col h5 {
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul { display: grid; gap: 10px; }

.footer-col a {
  color: #A0AEC0;
  font-size: 0.9375rem;
}

.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: #718096;
}

.footer-bottom a { color: #718096; }
.footer-bottom a:hover { color: #CBD5E0; }

/* ---------- 下载弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,32,44,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-open {
  display: flex;
  opacity: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
button { outline: none } 
.modal {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-soft);
}

.modal-header h3 {
  font-size: 1.25rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h3 svg {
  width: 22px;
  height: 22px;
  color: var(--brand-dark);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.modal-body {
  padding: 28px 32px 32px;
}

.modal-body .modal-desc {
  color: var(--text-soft);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .qr-grid { grid-template-columns: 1fr; }
}

.qr-item {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.qr-item img {
  width: 160px;
  height: 160px;
  margin: 0 auto 14px;
  border-radius: var(--radius);
  background: #FFFFFF;
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.qr-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.qr-item p {
  font-size: 0.8125rem;
  color: var(--text-mute);
}

.modal-platforms {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
}

.modal-platforms h4 {
  font-size: 0.9375rem;
  margin-bottom: 14px;
  color: var(--text-soft);
}

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

@media (max-width: 600px) {
  .platform-links { grid-template-columns: 1fr; }
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
  transition: all 0.2s ease;
}

.platform-link:hover {
  border-color: var(--brand-purple);
  background: var(--brand-gradient-soft);
  color: var(--brand-dark);
  transform: translateX(2px);
}

.platform-link svg {
  width: 20px;
  height: 20px;
  color: var(--brand-dark);
  flex-shrink: 0;
}

.platform-link strong {
  font-weight: 600;
}

.platform-link small {
  display: block;
  color: var(--text-mute);
  font-size: 0.75rem;
  font-weight: 400;
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scan-progress-bar::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 工具类 ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-gradient-soft);
  color: var(--brand-dark);
}
.badge-success { background: rgba(56,178,172,0.12); color: var(--success); }
.badge-warning { background: rgba(237,137,54,0.12); color: var(--warning); }
