/* AI TaskHub 官网样式：纯 CSS，无构建步骤 */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.75;
  color: #1f2937;
  background: #ffffff;
}
a { color: #0b5cab; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* 顶栏 */
.topbar { border-bottom: 1px solid #e5e7eb; background: #fff; position: sticky; top: 0; z-index: 10; }
.topbar .wrap { display: flex; align-items: center; gap: 28px; min-height: 60px; flex-wrap: wrap; }
.logo { font-size: 20px; font-weight: 700; color: #0f2a4a; white-space: nowrap; }
.logo span { color: #0b5cab; }
.topnav { display: flex; gap: 20px; flex-wrap: wrap; }
.topnav a { color: #374151; font-size: 15px; white-space: nowrap; }
.topnav a.active { color: #0b5cab; font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(180deg, #0f2a4a 0%, #14507f 100%); color: #fff; padding: 56px 0 52px; }
.hero h1 { font-size: 34px; line-height: 1.35; margin: 0 0 14px; }
.hero .hook { font-size: 22px; font-weight: 700; color: #ffd166; margin: 0 0 14px; }
.hero p.lead { font-size: 17px; color: #dbeafe; max-width: 720px; margin: 0 0 22px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 8px;
  background: #ffb703; color: #1f2937; font-weight: 700; font-size: 16px;
}
.btn:hover { text-decoration: none; background: #ffcb3d; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #93c5fd; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero .meta { margin-top: 20px; font-size: 14px; color: #bfdbfe; }

/* 通用区块 */
.section { padding: 44px 0; }
.section.alt { background: #f6f8fb; }
.section h2 { font-size: 26px; margin: 0 0 8px; color: #0f2a4a; }
.section .sub { color: #6b7280; margin: 0 0 24px; max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; background: #fff; }
.card h3 { margin: 0 0 8px; font-size: 18px; color: #0f2a4a; }
.card p { margin: 0; font-size: 15px; color: #4b5563; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; background: #fff; }
.step .num {
  display: inline-block; width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 50%; background: #0b5cab; color: #fff; font-weight: 700; margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; font-size: 14px; color: #4b5563; }

/* 定价 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { border: 2px solid #e5e7eb; border-radius: 14px; padding: 24px; background: #fff; }
.price-card.featured { border-color: #0b5cab; box-shadow: 0 6px 24px rgba(11,92,171,.12); }
.price-card h3 { margin: 0 0 4px; font-size: 19px; }
.price-card .tag { font-size: 13px; color: #0b5cab; font-weight: 700; }
.price-card .price { font-size: 34px; font-weight: 800; color: #0f2a4a; margin: 12px 0 4px; }
.price-card .price small { font-size: 14px; font-weight: 400; color: #6b7280; }
.price-card ul { margin: 14px 0 0; padding-left: 20px; font-size: 14px; color: #374151; }
.price-card li { margin-bottom: 6px; }

/* 表格 */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: #f6f8fb; color: #0f2a4a; }
td.yes { color: #047857; font-weight: 700; }
td.no { color: #9ca3af; }

/* FAQ / 问答 */
.faq-item { border-bottom: 1px solid #e5e7eb; padding: 18px 0; }
.faq-item h3 { margin: 0 0 6px; font-size: 17px; color: #0f2a4a; }
.faq-item p { margin: 0; font-size: 15px; color: #374151; }

/* 文档与博客 */
.doc h2, .article h2 { font-size: 22px; color: #0f2a4a; margin: 28px 0 8px; }
.doc h3, .article h3 { font-size: 18px; color: #0f2a4a; margin: 22px 0 6px; }
.doc p, .article p { font-size: 15px; }
pre {
  background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 10px;
  overflow-x: auto; font-size: 14px; line-height: 1.6;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
p code, li code { background: #f1f5f9; padding: 1px 6px; border-radius: 4px; font-size: 14px; }
.note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 18px; font-size: 14px; }
.tldr { background: #eff6ff; border-left: 4px solid #0b5cab; padding: 14px 18px; border-radius: 0 10px 10px 0; }
.article { border-bottom: 1px solid #e5e7eb; padding: 28px 0; }
.article:first-of-type { padding-top: 8px; }
.article .meta { color: #9ca3af; font-size: 13px; }

/* 占位框 */
.qr-placeholder {
  border: 2px dashed #9ca3af; border-radius: 14px; padding: 40px 20px;
  text-align: center; color: #6b7280; background: #f9fafb; max-width: 360px; margin: 20px auto;
}
.qr-placeholder .qr-box {
  width: 160px; height: 160px; margin: 0 auto 14px; background: #e5e7eb;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #6b7280; font-size: 14px;
}

/* 页脚 */
.footer { border-top: 1px solid #e5e7eb; padding: 28px 0; color: #6b7280; font-size: 14px; }
.footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: #6b7280; }

/* 手机端 */
@media (max-width: 720px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 26px; }
  .hero .hook { font-size: 19px; }
  .grid, .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .topbar .wrap { gap: 12px; }
  table { font-size: 14px; display: block; overflow-x: auto; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
}

.shots{display:grid;grid-template-columns:1fr;gap:24px;max-width:960px;margin:0 auto}
.shots figure{margin:0;cursor:zoom-in}
.shots img{max-width:100%;height:auto;display:block;border-radius:8px;margin:0 auto}
.shots video{width:100%;max-width:960px;height:auto;display:block;border-radius:8px;margin:0 auto}
.shots figcaption{margin-top:8px;font-size:14px;color:#555;text-align:center}
.logo img { height: 36px; width: auto; display: block; border-radius: 6px; }
