/* ==========================================================================
   截图搜同款 Landing Page
   商务简约风 · 品牌色 #4f46e5 · 响应式（PC + 手机）
   ========================================================================== */

:root {
  --brand: #4f46e5;
  --brand-hover: #4338ca;
  --brand-soft: #eef2ff;
  --text: #0f172a;
  --text-2: #64748b;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(79, 70, 229, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --max-w: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.34);
}
.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-1px);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle { display: none; font-size: 22px; background: none; border: none; color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(79, 70, 229, 0.10), transparent 60%),
    radial-gradient(700px 320px at 10% 20%, rgba(79, 70, 229, 0.06), transparent 55%),
    #fff;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.hero-title { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: -0.5px; }
.grad-text {
  background: linear-gradient(90deg, var(--brand), #7c6cf0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 680px;
  margin: 20px auto 0;
  font-size: 17px;
  color: var(--text-2);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero-compat { margin-top: 18px; font-size: 13px; color: var(--text-2); }

.hero-demo { margin-top: 46px; }

/* ---------- 演示占位 ---------- */
.demo-placeholder {
  border: 2px dashed #c7d2fe;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f5f7ff, #eef2ff);
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 320px;
}
.demo-placeholder.sm { min-height: 240px; padding: 48px 20px; }
.demo-icon { font-size: 42px; opacity: 0.85; }
.demo-text { font-size: 16px; font-weight: 600; color: var(--text-2); }
.demo-sub { font-size: 13px; color: var(--text-2); opacity: 0.75; }

/* ---------- 界面截图 ---------- */
.hero-shot {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 440px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(30, 41, 59, 0.18);
  background: #000;
}
.shot {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 480px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(30, 41, 59, 0.14);
}
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  text-align: center;
}
.shot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
.shot-frame {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.shot-frame img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shot-card h3 { font-size: 16px; margin-top: 14px; font-weight: 700; }
.shot-card p { font-size: 13px; color: var(--text-2); margin-top: 6px; }

/* ---------- 数据条 ---------- */
.stats {
  background: var(--brand);
  color: #fff;
  padding: 34px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num { font-size: 32px; font-weight: 800; }
.stat-label { font-size: 14px; opacity: 0.85; margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-title { font-size: 30px; font-weight: 800; text-align: center; letter-spacing: -0.3px; }
.section-sub { text-align: center; color: var(--text-2); margin-top: 10px; margin-bottom: 40px; font-size: 15px; }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 18px; margin-top: 8px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c7d2fe;
}
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.card p { font-size: 14px; color: var(--text-2); }

/* ---------- 步骤 ---------- */
.steps { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.30);
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-2); }

/* ---------- 功能详情 ---------- */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.detail-row.reverse .detail-text { order: 2; }
.detail-row.reverse .detail-media { order: 1; }
.detail-text h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.detail-text p { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.detail-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}
.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}

/* ---------- 套餐 ---------- */
.pricing { background: #fff; border-top: 1px solid var(--border); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.highlight {
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.18);
}
.price-card.popular {
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.18);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 15px; font-weight: 700; text-align: center; }
.price-amount {
  text-align: center;
  margin: 12px 0 4px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.price-symbol { font-size: 16px; font-weight: 700; color: var(--text-2); }
.price-value { font-size: 36px; font-weight: 800; color: var(--text); }
.price-desc { text-align: center; font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.price-list { margin-bottom: 20px; flex: 1; }
.price-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
}
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.pricing-note { text-align: center; font-size: 13px; color: var(--text-2); margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: #c7d2fe; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-q:hover { color: var(--brand); }
.faq-arrow { transition: transform 0.25s; color: var(--text-2); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--brand); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--text-2); }
.faq-item.open .faq-a { display: block; }
.faq-a code, .install-step code {
  background: var(--brand-soft);
  color: var(--brand);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13px;
}

/* ---------- 最终 CTA ---------- */
.final-cta {
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(255, 255, 255, 0.14), transparent 60%),
    var(--brand);
  color: #fff;
  text-align: center;
}
.final-cta h2 { font-size: 32px; font-weight: 800; }
.final-cta p { margin-top: 10px; opacity: 0.88; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.cta-qq {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 24px 14px 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  color: var(--text);
  text-align: left;
}
.cta-qq-img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
  background: #fff;
}
.cta-qq h3 { font-size: 16px; font-weight: 700; }
.cta-qq p { font-size: 13px; color: var(--text-2); margin-top: 5px; }
.cta-qq-number { font-size: 15px; font-weight: 700; color: var(--brand); margin-top: 8px; }

/* ---------- 安装教程 ---------- */
.install { background: #fff; border-top: 1px solid var(--border); }
.install-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  transition: box-shadow 0.2s;
}
.install-step:hover { box-shadow: var(--shadow-md); }
.install-step .step-num { margin: 0; flex-shrink: 0; }
.install-step h3 { font-size: 16px; margin-bottom: 6px; }
.install-step p { font-size: 14px; color: var(--text-2); }

/* ---------- 更新日志 ---------- */
.changelog .log-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.log-version { font-size: 18px; font-weight: 800; color: var(--brand); }
.log-date { font-size: 13px; color: var(--text-2); margin: 2px 0 12px; }
.log-item ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.log-item ul li::before { content: "•"; position: absolute; left: 4px; color: var(--brand); font-weight: 800; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}
.footer-text { font-size: 14px; margin-bottom: 6px; }
.footer-legal { font-size: 12px; opacity: 0.75; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-row { grid-template-columns: 1fr; gap: 28px; }
  .detail-row.reverse .detail-text { order: 1; }
  .detail-row.reverse .detail-media { order: 2; }
}

@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    display: none;
    padding: 8px 24px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .header-actions .btn-sm { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .steps-grid, .shot-grid { grid-template-columns: 1fr; }
  .shot-frame { height: auto; padding: 10px; }
  .shot-frame img { width: 100%; max-height: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-title { font-size: 24px; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .cta-qq { flex-direction: column; text-align: center; padding: 18px; }
  .cta-qq-img { margin: 0 auto; }
  .demo-placeholder { min-height: 240px; padding: 48px 20px; }
}