/* SEO Pages - 炫酷暗色赛博风（对齐工具站V3 + Wiki） */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  background: linear-gradient(135deg, #06060a 0%, #0d1018 35%, #121a28 70%, #06060a 100%);
  color: #d0d8e4;
  line-height: 1.8;
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

/* ===== 网格背景 ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* ===== 顶部辉光 ===== */
body::after {
  content: '';
  position: fixed;
  top: -10%; left: 0; right: 0;
  height: 80%;
  background: radial-gradient(ellipse 85% 55% at 50% 40%, rgba(0, 229, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.container, .breadcrumb, .page-header, .site-footer { position: relative; z-index: 1; }

/* ===== 面包屑 ===== */
.breadcrumb {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 0 20px;
  font-size: 0.85em;
  color: #94a3b8;
}
.breadcrumb a {
  color: #00e5ff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.15); }

/* ===== 页面头部 ===== */
.page-header {
  position: relative;
  text-align: center;
  padding: 48px 20px 24px;
  margin-bottom: 36px;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,255,209,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.2), rgba(0,255,209,0.2), transparent);
}
.page-header h1 {
  font-size: 2em;
  color: #e8ecf4;
  margin-bottom: 12px;
  line-height: 1.4;
  position: relative;
  text-shadow: 0 0 40px rgba(0,255,209,0.12);
}
.page-header .meta {
  font-size: 0.9em;
  color: #94a3b8;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.page-header .meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ===== 主容器 ===== */
.container { max-width: 900px; margin: 0 auto; }

/* ===== 内容卡片 ===== */
.content-card {
  background: rgba(10, 14, 22, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 16px;
  padding: 35px 40px;
  margin-bottom: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.content-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,209,0.12), transparent);
}

/* ===== 排版 ===== */
.content-card h2 {
  font-size: 1.35em;
  color: #00ffd1;
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,229,255,0.06);
}
.content-card h2:first-child { margin-top: 0; }
.content-card h3 {
  font-size: 1.1em;
  color: #00e5ff;
  margin: 22px 0 10px;
}
.content-card p { margin-bottom: 14px; color: #d0d8e4; }
.content-card ul, .content-card ol { margin: 10px 0 16px 22px; }
.content-card li { margin-bottom: 6px; color: #d0d8e4; }
.content-card strong { color: #e8ecf4; }
.content-card a {
  color: #00e5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,255,0.15);
  transition: all 0.2s;
}
.content-card a:hover { color: #00ffd1; border-bottom-color: #00ffd1; }

/* ===== FAQ 问答项 ===== */
.qa-item {
  margin-bottom: 20px;
  padding: 18px 22px;
  background: rgba(0,255,209,0.02);
  border: 1px solid rgba(0,229,255,0.04);
  border-radius: 12px;
  transition: all 0.2s;
}
.qa-item:hover {
  background: rgba(0,255,209,0.04);
  border-color: rgba(0,229,255,0.1);
  box-shadow: 0 0 20px rgba(0,255,209,0.03);
}
.qa-q { color: #e8ecf4; font-size: 1.05em; margin-bottom: 10px; }
.qa-a { color: #d0d8e4; line-height: 1.8; }
.qa-a p { margin-bottom: 8px; }
.qa-a p:last-child { margin-bottom: 0; }

/* ===== 个人经验框 ===== */
.experience-box {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 0 30px rgba(0,229,255,0.02);
}
.experience-box .label {
  color: #00e5ff;
  font-weight: 600;
  font-size: 0.85em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.experience-box p:last-child { margin-bottom: 0; }

/* ===== 高亮区块 ===== */
.highlight-box {
  background: rgba(0,255,209,0.03);
  border-left: 3px solid #00ffd1;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

/* ===== 表格 ===== */
.content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95em;
}
.content-card th {
  background: rgba(0,229,255,0.06);
  color: #00e5ff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,229,255,0.12);
}
.content-card td {
  padding: 10px 14px;
  color: #c8d0dc;
  border-bottom: 1px solid rgba(0,229,255,0.04);
}
.content-card tr:last-child td { border-bottom: none; }

/* ===== 工具链接 ===== */
.tool-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,255,209,0.02);
  border: 1px solid rgba(0,229,255,0.06);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0;
  transition: all 0.25s;
  color: #d0d8e4 !important;
  border-bottom: 1px solid rgba(0,229,255,0.06) !important;
}
.tool-link:hover {
  background: rgba(0,255,209,0.05);
  border-color: rgba(0,229,255,0.15) !important;
  transform: translateX(4px);
  color: #d0d8e4 !important;
}
.tool-link .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,255,209,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  flex-shrink: 0;
}
.tool-link .info { flex: 1; }
.tool-link .info .name { color: #e8ecf4; font-weight: 600; }
.tool-link .info .desc { font-size: 0.9em; color: #94a3b8; }

/* ===== 相关文章 ===== */
.related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.related-item {
  background: rgba(0,255,209,0.02);
  border: 1px solid rgba(0,229,255,0.04);
  border-radius: 10px;
  padding: 14px 16px;
  transition: all 0.2s;
}
.related-item:hover {
  background: rgba(0,255,209,0.05);
  border-color: rgba(0,229,255,0.1);
  box-shadow: 0 0 20px rgba(0,255,209,0.03);
}
.related-item a { color: #c8d0dc; text-decoration: none; display: block; border: none !important; }
.related-item a:hover { color: #00ffd1; }
.related-item .title { font-weight: 600; margin-bottom: 4px; color: #e8ecf4; }
.related-item .desc { font-size: 0.85em; color: #94a3b8; }

/* ===== 底部 ===== */
.site-footer {
  max-width: 900px;
  margin: 50px auto;
  padding: 24px 20px 16px;
  text-align: center;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.12), transparent);
}
.site-footer .links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 16px 0 12px;
}
.site-footer .links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.2s;
}
.site-footer .links a:hover { color: #00ffd1; }
.site-footer .copyright {
  color: rgba(255,255,255,0.15);
  font-size: 0.8em;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  body { padding: 12px; }
  .content-card { padding: 18px; }
  .page-header h1 { font-size: 1.4em; }
  .page-header { padding: 30px 16px 18px; }
  .related-posts { grid-template-columns: 1fr; }
}
