/* 大O助手文档页公共样式 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2483F0;
  --text: #1a1a2e;
  --text-light: #666;
  --text-muted: #999;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e8e8e8;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 820px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-alt);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.navbar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--text); text-decoration: none;
}
.navbar-brand img { width: 32px; height: 32px; object-fit: contain; }
.navbar-links { display: flex; gap: 20px; }
.navbar-links a { font-size: 13px; color: var(--text-light); text-decoration: none; transition: color 0.15s; }
.navbar-links a:hover { color: var(--primary); }
.container {
  max-width: var(--max-width); margin: 0 auto; padding: 40px 24px 80px;
}
.hero {
  text-align: center; margin-bottom: 48px;
}
.hero h1 {
  font-size: 32px; font-weight: 700; margin-bottom: 12px;
}
.hero p {
  font-size: 15px; color: var(--text-light); max-width: 600px; margin: 0 auto;
}
.content { background: var(--bg); border-radius: var(--radius); padding: 40px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.content h2 {
  font-size: 22px; font-weight: 700; margin: 32px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 16px; font-weight: 600; margin: 24px 0 12px; color: var(--text);
}
.content p { font-size: 15px; margin-bottom: 14px; color: var(--text); }
.content ul, .content ol { margin: 0 0 16px 20px; }
.content li { font-size: 15px; margin-bottom: 8px; }
.content code {
  background: var(--bg-alt); padding: 2px 6px; border-radius: 4px;
  font-family: 'SF Mono', Consolas, Monaco, monospace; font-size: 13px; color: #c41e7a;
}
.content pre {
  background: #1e1e2e; color: #e4e4ef; padding: 16px; border-radius: var(--radius-sm);
  overflow-x: auto; margin: 16px 0; font-size: 13px; line-height: 1.5;
}
.content pre code { background: none; color: inherit; padding: 0; }
.content blockquote {
  border-left: 3px solid var(--primary); padding: 8px 16px;
  background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0; color: var(--text-light);
}
.content a { color: var(--primary); text-decoration: none; }
.download-card-btn{color: #fff!important}
.version-badge {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 100px;
  margin-right: 8px; vertical-align: middle;
}
.download-card {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.download-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-1px); }
.download-card-icon { width: 40px; height: 40px; flex-shrink: 0; }
.download-card-info { flex: 1; }
.download-card-name { font-size: 15px; font-weight: 600; }
.download-card-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.download-card-btn {
  background: var(--primary); color: #fff; text-decoration: none;
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  transition: opacity 0.15s;
}
.download-card-btn:hover { opacity: 0.85; text-decoration: none; }
.footer {
  text-align: center;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.footer p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer a:hover { color: var(--primary); }
@media (max-width: 640px) {
  .content { padding: 24px; }
  .navbar-links { display: none; }
  .hero h1 { font-size: 26px; }
}
