/* 湖北品牌网 hbpp.cn · 全站公共样式
   视觉基线沿用备案前静态官网，主色 #0066cc。
   原则：所有内容由 HTML 直接承载，不依赖 JS 渲染。 */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  font-size: 16px;
}

a { color: #0066cc; }
main { display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 导航 */
nav {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.logo-sub {
  font-size: 14px;
  color: #666;
  margin-left: 8px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover { color: #0066cc; }

.nav-cta {
  background: #0066cc;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-cta:hover { background: #0052a3; color: #fff; }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 64px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #333;
  max-width: 900px;
}

.hero-lead {
  font-size: 20px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero-lead strong { color: #333; font-weight: 600; }

.last-updated {
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
}

.search-box { max-width: 600px; margin-bottom: 12px; }

.search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus { border-color: #0066cc; }

.search-btn {
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  background: #0066cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover { background: #0052a3; }

.hero-hint { font-size: 14px; color: #777; }

/* 数据原则 */
.principles {
  background: #f8f9fa;
  padding: 60px 24px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.principles-container { max-width: 1200px; margin: 0 auto; }

.principles h2, .use-cases h2, .archive-demo h2, .data-principles h2, .faq-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #333;
}

.principles-text {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  max-width: 900px;
  margin-bottom: 24px;
}

.principles-text a { color: #0066cc; text-decoration: none; }
.principles-text a:hover { text-decoration: underline; }

/* 统计数据 */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stats dl { display: flex; flex-direction: column-reverse; }

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #0066cc;
  margin-bottom: 8px;
  line-height: 1.1;
}

.stat-label { font-size: 15px; color: #666; }

.stats-caption {
  grid-column: 1 / -1;
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: -16px;
}

/* 使用场景 */
.use-cases { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.use-cases h2 { margin-bottom: 48px; }

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.use-case {
  padding: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.2s;
}

.use-case:hover { border-color: #0066cc; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.use-case h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #333; }
.use-case p { font-size: 15px; color: #555; line-height: 1.7; }

/* 企业档案示例 */
.archive-demo {
  background: #f8f9fa;
  padding: 80px 24px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.archive-container { max-width: 1000px; margin: 0 auto; }
.archive-demo > .archive-container > p { font-size: 17px; color: #555; margin-bottom: 24px; max-width: 800px; }

.archive-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.archive-header { padding: 24px; border-bottom: 1px solid #e0e0e0; }
.archive-title { font-size: 24px; font-weight: 600; margin-bottom: 8px; color: #333; }
.archive-meta { display: flex; gap: 24px; font-size: 14px; color: #666; flex-wrap: wrap; }

.verify-bar {
  padding: 16px 24px;
  background: #f0f9f4;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  gap: 16px;
  flex-wrap: wrap;
}

.verify-status { display: flex; align-items: center; gap: 8px; color: #2d7a4f; font-weight: 500; }
.verify-stats { color: #666; }
.archive-content { padding: 24px; }

.field-table { width: 100%; border-collapse: collapse; }
.field-table caption { text-align: left; font-size: 13px; color: #888; padding-bottom: 12px; }

.field-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e0e0e0;
  background: #f8f9fa;
}

.field-table td { padding: 16px; border-bottom: 1px solid #e0e0e0; font-size: 15px; vertical-align: top; }
.field-name { font-weight: 600; color: #333; width: 25%; }
.field-value { color: #555; }
.field-status { width: 180px; }

.status-badge { display: inline-block; padding: 4px 10px; border-radius: 3px; font-size: 12px; font-weight: 500; }
.status-verified { background: #d4edda; color: #155724; }
.status-document { background: #d1ecf1; color: #0c5460; }
.status-authorized { background: #fff3cd; color: #856404; }
.status-conflict { background: #f8d7da; color: #721c24; }
.status-unverified { background: #e9ecef; color: #495057; }

.conflict-note {
  margin-top: 8px;
  padding: 12px;
  background: #fff5f5;
  border-left: 3px solid #dc3545;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.field-link { display: inline-block; margin-top: 6px; font-size: 13px; color: #0066cc; text-decoration: none; }
.field-link:hover { text-decoration: underline; }

/* 数据原则详情 */
.data-principles { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.data-principles > h2 + p { font-size: 17px; color: #555; margin-bottom: 40px; max-width: 900px; }

.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.principle-item { padding: 24px; border: 1px solid #e0e0e0; border-radius: 4px; }
.principle-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: #333; }
.principle-item p { font-size: 15px; color: #555; line-height: 1.7; }

/* FAQ */
.faq-section { max-width: 1000px; margin: 0 auto; padding: 80px 24px; }
.faq-section h2 { font-size: 32px; }
.faq-list { margin-top: 32px; border-top: 1px solid #e0e0e0; }
.faq-item { padding: 28px 0; border-bottom: 1px solid #e0e0e0; }
.faq-q { font-size: 19px; font-weight: 600; color: #333; margin-bottom: 12px; }
.faq-a { font-size: 16px; color: #555; line-height: 1.8; max-width: 860px; }
.faq-more { margin-top: 28px; font-size: 15px; }

/* CTA */
.cta-section { background: #0066cc; color: #fff; padding: 80px 24px; text-align: center; }
.cta-section h2 { font-size: 32px; font-weight: 600; margin-bottom: 16px; }
.cta-section p { font-size: 17px; margin-bottom: 32px; opacity: 0.95; }

.cta-btn {
  display: inline-block;
  background: #fff;
  color: #0066cc;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s;
}

.cta-btn:hover { background: #f0f0f0; }

/* 页脚 */
footer { background: #f8f9fa; padding: 60px 24px 30px; border-top: 1px solid #e0e0e0; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: #333; }
.footer-brand p { font-size: 14px; color: #666; line-height: 1.7; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: #333; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #666; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #0066cc; }
.footer-bottom { padding-top: 30px; border-top: 1px solid #e0e0e0; text-align: center; font-size: 13px; color: #999; line-height: 1.9; }

/* 内页通用 */
.breadcrumb { max-width: 1000px; margin: 0 auto; padding: 24px 24px 0; font-size: 13px; color: #888; }
.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb a:hover { color: #0066cc; }
.breadcrumb span { margin: 0 8px; color: #bbb; }

.page-hero { max-width: 1000px; margin: 0 auto; padding: 32px 24px 48px; border-bottom: 1px solid #e0e0e0; }
.page-hero h1 { font-size: 36px; font-weight: 600; line-height: 1.3; margin-bottom: 16px; color: #333; }
.page-hero-lead { font-size: 18px; color: #555; line-height: 1.8; max-width: 860px; margin-bottom: 16px; }

.page-body { max-width: 1000px; margin: 0 auto; padding: 56px 24px 80px; }
.page-body section { margin-bottom: 56px; scroll-margin-top: 100px; }
.page-body h2 { font-size: 26px; font-weight: 600; margin-bottom: 16px; color: #333; }
.page-body h3 { font-size: 19px; font-weight: 600; margin: 28px 0 10px; color: #333; }
.page-body p { font-size: 16px; color: #555; line-height: 1.85; margin-bottom: 16px; max-width: 880px; }
.page-body ul, .page-body ol { margin: 0 0 20px 24px; color: #555; font-size: 16px; line-height: 1.9; }
.page-body li { margin-bottom: 8px; }

.note {
  padding: 16px 20px;
  background: #fff8e6;
  border-left: 3px solid #e0a800;
  font-size: 14px;
  color: #6b5310;
  line-height: 1.7;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  background: #e6f1fb;
  color: #0052a3;
  margin-right: 8px;
  vertical-align: middle;
}

.meta-line { font-size: 13px; color: #888; margin-bottom: 20px; }
.inline-links { font-size: 15px; color: #555; line-height: 1.9; }
.back-link { display: inline-block; margin-top: 24px; font-size: 14px; }

/* 词表 / 状态卡 */
.term-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.term-card { padding: 20px 24px; border: 1px solid #e0e0e0; border-radius: 4px; }
.term-name { font-size: 17px; font-weight: 600; color: #333; margin-bottom: 8px; }
.term-desc { font-size: 14px; color: #666; line-height: 1.7; }

/* 索引列表 */
.index-list { list-style: none; border-top: 1px solid #e0e0e0; margin-top: 24px; }
.index-item { padding: 24px 0; border-bottom: 1px solid #e0e0e0; }
.index-item h3 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.index-item h3 a { color: #0066cc; text-decoration: none; }
.index-item h3 a:hover { text-decoration: underline; }
.index-item p { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 8px; }
.index-meta { font-size: 13px; color: #888; }

/* 搜索页 */
.search-panel { margin-bottom: 32px; }
.search-panel .search-input { max-width: 640px; }
.search-count { font-size: 14px; color: #888; margin-bottom: 16px; }
.search-empty { padding: 32px; background: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 15px; color: #666; }

/* 时间线 */
.timeline { border-left: 2px solid #e0e0e0; margin-left: 8px; padding-left: 28px; }
.timeline-item { margin-bottom: 32px; }
.timeline-date { font-size: 13px; color: #0066cc; font-weight: 600; margin-bottom: 6px; }
.timeline-item h3 { margin-top: 0; }

/* 响应式 */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .use-cases-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .term-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-table { font-size: 14px; }
  .field-table th, .field-table td { padding: 10px; }
}
