/* Motuo AI IDE 静态内容页共享样式（GEO） */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

::selection { background: rgba(37, 99, 235, 0.16); }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Helvetica Neue',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #111827;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* 统一门户头部：SPA 首页 / 产品页 / 内容页共用同一几何与配色，跨页零跳动 */
.site-header {
  border-bottom: 1px solid rgba(148, 184, 255, 0.16);
  background: rgba(5, 10, 22, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: #f8fafc;
  letter-spacing: -0.01em;
  text-decoration: none;
  flex: none;
}

.logo-mark { width: 36px; height: 36px; flex: none; }

.logo:hover { text-decoration: none; }

.site-nav { display: flex; gap: 26px; align-items: center; }

.site-nav a {
  color: rgba(203, 213, 225, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover { color: #7dd3fc; text-decoration: none; }

.site-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.action-link {
  color: rgba(203, 213, 225, 0.85);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.action-link:hover { color: #7dd3fc; text-decoration: none; }

.action-btn {
  padding: 8px 18px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.action-btn:hover { background: #1d4ed8; color: #fff; text-decoration: none; }

@media (max-width: 860px) {
  .site-header-inner {
    height: auto;
    padding: 12px 20px;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .site-nav { gap: 16px; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .site-actions { display: none; }
}

main.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 24px 72px;
}

.page-hero {
  padding: 28px 0 8px;
}

.page-kicker {
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}

.page-hero .lead {
  color: #4b5563;
  font-size: 16.5px;
}

main.page h2 {
  font-size: 24px;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}

main.page h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}

main.page p { color: #374151; margin: 0 0 14px; }

main.page ul, main.page ol { margin: 0 0 16px 22px; color: #374151; }
main.page li { margin-bottom: 8px; }

main.page table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0 22px;
  font-size: 14.5px;
  border: 1px solid #e7e9ee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

main.page th, main.page td {
  border: none;
  border-bottom: 1px solid #eef0f4;
  padding: 11px 16px;
  text-align: left;
  vertical-align: top;
}

main.page tr:last-child td { border-bottom: none; }
main.page tr:hover td { background: #f8faff; }

main.page th { background: #f4f6fb; font-weight: 600; font-size: 13px; letter-spacing: 0.05em; color: #334155; }

blockquote.callout {
  border-left: 4px solid #2563eb;
  background: #eff6ff;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  color: #1f2937;
  margin: 18px 0 22px;
}

.toc {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0 8px;
}

.toc strong { display: block; margin-bottom: 8px; font-size: 14px; color: #111827; }
.toc ul { margin: 0 0 0 18px; columns: 2; column-gap: 32px; font-size: 14px; }
.toc li { margin-bottom: 4px; }

.faq-item {
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 26px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.faq-item h2 { margin: 0 0 10px; font-size: 20px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  margin: 4px 8px 4px 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

/* 按钮任何状态（含悬停/聚焦/按压）一律不带下划线 */
.btn, .btn:hover, .btn:focus, .btn:active,
.action-btn, .action-btn:hover, .action-btn:focus, .action-btn:active { text-decoration: none; }

.btn-primary { background: linear-gradient(92deg, #2563eb 0%, #3b82f6 60%, #06b6d4 130%); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4); }
.btn-secondary { border: 1px solid #d1d5db; color: #374151; background: #fff; }
.btn-secondary:hover { text-decoration: none; border-color: #9ca3af; }

.btn-row { margin: 22px 0 6px; }

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 36px 24px 30px;
}

.site-footer-inner { max-width: 1080px; margin: 0 auto; }

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-nav a { color: #374151; font-size: 13.5px; text-decoration: none; }

.disclaimer {
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.05);
  border-radius: 10px;
  padding: 13px 16px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.disclaimer strong { color: #374151; }

.copyright { color: #9ca3af; font-size: 13px; margin-top: 16px; }

.meta-line { color: #9ca3af; font-size: 13px; margin-top: 6px; }

@media (max-width: 640px) {
  .page-hero h1 { font-size: 26px; }
  main.page h2 { font-size: 21px; }
  .toc ul { columns: 1; }
}
