/* ====================================================================
   大合集团 v1.3 - 全站样式
   设计系统:深蓝主色 + 橙色强调 + sr-only AI 隐藏区
   ==================================================================== */

:root {
  /* 色彩 */
  --primary: #0B3D91;
  --primary-dark: #082A66;
  --primary-light: #1E5BC6;
  --accent: #D97706;
  --accent-dark: #B45309;
  --gold: #F59E0B;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-muted: #F1F5F9;
  --text: #0F172A;
  --text-soft: #475569;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --success: #10B981;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --max-w: 1200px;

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

img, svg { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.5em; }
li { margin-bottom: .25em; }

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--primary); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; color: var(--primary); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; margin-bottom: .75rem; color: var(--text); }
p { margin-bottom: 1em; color: var(--text-soft); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============= 顶部条 ============= */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span { color: #cbd5e1; }
.topbar-tagline { color: #F59E0B; font-weight: 600; letter-spacing: 0.5px; }

/* ============= 导航 ============= */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 16px; }
.logo { display: flex !important; align-items: center !important; gap: 0px; text-decoration: none; flex-shrink: 0; }
.logo img { height: 56px; width: auto; display: block; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; flex-shrink: 0; margin-left: 6px; }
.logo-text .row1 { display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; }
.logo-text .row1 .name { font-size: 20px; font-weight: 700; color: #0B3D91; letter-spacing: 0.5px; white-space: nowrap; }
.logo-text .row1 .en { font-size: 13px; font-weight: 700; color: #0B3D91; letter-spacing: 1.5px; opacity: 0.75; white-space: nowrap; }
.logo-text .slogan { font-size: 15px; color: #475569; margin-top: 4px; letter-spacing: 0.3px; white-space: nowrap; font-weight: 500; }
.nav { display: flex; gap: 2px; align-items: center; flex-shrink: 1; flex-wrap: nowrap; }
.nav a { white-space: nowrap; flex-shrink: 0; }
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 8px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}

/* === 下拉菜单样式 === */
.nav-item { position: relative; }
.nav-item > a { display: inline-block; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 380px;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  padding: 16px;
  z-index: 99;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 4px;
}
.nav-item:hover .nav-dropdown { display: grid; }
.nav-dropdown-section {
  padding: 0 8px;
  border-right: 1px dashed var(--border);
}
.nav-dropdown-section:last-child { border-right: none; }
.nav-dropdown-section h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-dropdown-section ul { list-style: none; padding: 0; margin: 0; }
.nav-dropdown-section li { margin-bottom: 6px; }
.nav-dropdown-section a {
  display: block;
  padding: 4px 6px;
  font-size: 13px;
  color: var(--text);
  border-radius: 4px;
  font-weight: 400;
  text-decoration: none;
  transition: background .15s;
}
.nav-dropdown-section a:hover { background: var(--bg-soft); color: var(--primary); }
.nav-dropdown-section .sub-desc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}
.nav a:hover, .nav a.active { background: var(--bg-soft); color: var(--primary); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding: 10px 20px !important; }
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* ============= Hero ============= */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 0 100px;
  text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.hero .lead { font-size: 1.2rem; max-width: 720px; margin: 0 auto 2rem; color: #dbeafe; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; max-width: 800px; margin: 0 auto; }
.hero-stat { padding: 16px; }
.hero-stat-num { font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 14px; color: #cbd5e1; margin-top: 6px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  transition: all .2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid #fff; }
.btn-secondary:hover { background: transparent; color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ============= Section ============= */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--primary-dark); color: #fff; }
.section-dark h1, .section-dark h2 { color: #fff; }
.section-dark p { color: #cbd5e1; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: .5rem; }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ============= 卡片网格 ============= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.card h3 { color: var(--primary); margin-bottom: 8px; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--primary); }
.card-link::after { content: " →"; }

/* 服务页大卡 */
.service-card { padding: 36px; }
.service-card h3 { font-size: 1.5rem; }
.service-card .price { color: var(--accent); font-weight: 700; font-size: 1.1rem; margin: 12px 0; }

/* ============= 流程步骤 ============= */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; counter-reset: step; }
.step {
  text-align: center;
  padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 12px;
}
.step h4 { color: var(--primary); font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ============= 文章卡 ============= */
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-card-body { padding: 24px; }
.post-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.4; }
.post-card p { font-size: 14px; color: var(--text-muted); margin: 8px 0 12px; }
.tag { display: inline-block; background: var(--bg-muted); color: var(--primary); padding: 2px 10px; border-radius: 99px; font-size: 12px; margin-right: 4px; }

/* ============= CTA ============= */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 32px;
  border-radius: var(--radius-lg);
  margin: 40px 0;
}
.cta h2 { color: #fff; }
.cta p { color: #fed7aa; max-width: 600px; margin: 0 auto 1.5rem; }

/* ============= Footer ============= */
.footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 60px 0 24px;
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #cbd5e1; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #94a3b8; }
.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}
.footer-bottom a { color: #94a3b8; }

/* ============= 文章正文 ============= */
.article { max-width: 800px; margin: 0 auto; padding: 40px 0; }
.article h2 { margin-top: 2rem; }
.article h3 { margin-top: 1.5rem; }
.article ul, .article ol { margin: 1em 0 1em 1.5em; }
.article blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; background: var(--bg-soft); margin: 1.5em 0; color: var(--text-soft); }
.article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.article th, .article td { border: 1px solid var(--border); padding: 12px; text-align: left; }
.article th { background: var(--bg-soft); color: var(--primary); }
.article-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 2rem; }

/* ============= 表单 ============= */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============= ⭐ AI 隐藏内容 (核心 GEO 创新) ============= */
.ai-only-content {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

/* ============= 响应式 ============= */
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); max-height: 80vh; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .nav-item { width: 100%; }
  .nav-item > a { padding: 12px; background: var(--bg-soft); border-radius: 6px; margin-bottom: 4px; }
  /* 手机端下拉菜单默认展开 */
  .nav-dropdown {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    padding: 8px 0 8px 12px;
    min-width: auto;
    background: transparent;
    margin: 0;
  }
  .nav-dropdown-section {
    padding: 8px 0;
    border-right: none;
    border-bottom: 1px dashed var(--border);
  }
  .nav-dropdown-section:last-child { border-bottom: none; }
  .nav-dropdown-section h4 { font-size: 11px; }
  .nav-dropdown-section a { font-size: 12px; padding: 3px 4px; }
  .nav-dropdown-section .sub-desc { font-size: 10px; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 80px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .topbar-info { font-size: 12px; gap: 12px; }
}

/* ============= 工具类 ============= */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }

/* ============= V2.0 新增:数据大屏 ============= */
.section-data {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 60px 0;
}
.section-data .data-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
}
.section-data .data-item {
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.section-data .data-item:last-child { border-right: none; }
.section-data .data-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -1px;
}
.section-data .data-unit {
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  margin-left: 2px;
}
.section-data .data-label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 8px 0 4px;
}
.section-data .data-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .section-data .data-grid { grid-template-columns: repeat(3, 1fr); }
  .section-data .data-item:nth-child(3) { border-right: none; }
  .section-data .data-num { font-size: 36px; }
}
@media (max-width: 600px) {
  .section-data .data-grid { grid-template-columns: repeat(2, 1fr); }
  .section-data .data-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.15); }
  .section-data .data-item:nth-child(even) { border-right: none; }
}

/* ============= V2.0 新增:客户案例 ============= */
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.case-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.1);
  transform: translateY(-2px);
}
.case-card .case-tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.case-card h3 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
  min-height: 44px;
}
.case-card .case-stats {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  margin-bottom: 12px;
}
.case-card .case-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.case-card .case-stat b {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.case-card .case-stat span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.case-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}

/* ============= V2.0 新增:数据大屏(浅色版本) ============= */
.section-soft .data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 24px 0;
}
.section-soft .data-item {
  padding: 12px 8px;
  border-right: 1px solid var(--border);
}
.section-soft .data-item:last-child { border-right: none; }
.section-soft .data-num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}
.section-soft .data-unit {
  font-size: 24px;
  font-weight: 600;
  margin-left: 2px;
}
.section-soft .data-label {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 4px;
}
.section-soft .data-desc {
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .section-soft .data-grid { grid-template-columns: repeat(2, 1fr); }
  .section-soft .data-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .section-soft .data-item:nth-child(even) { border-right: none; }
  .section-soft .data-num { font-size: 36px; }
}

/* ============= V2.0 新增:时间轴 ============= */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-left: 130px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
}
.timeline-year {
  position: absolute;
  left: 0;
  width: 80px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  flex-shrink: 0;
}
.timeline-content {
  background: #fff;
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 4px;
  flex: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.timeline-content h3 {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 6px;
}
.timeline-content p {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .timeline::before { left: 60px; }
  .timeline-item { padding-left: 90px; }
  .timeline-year { width: 60px; font-size: 18px; }
}

/* ============= V2.0 新增:团队头像 ============= */
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  letter-spacing: -1px;
}
.team-role {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin: -4px 0 8px;
}

/* ============= V2.0 新增:荣誉预留位 ============= */
.honor-placeholder {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px dashed var(--primary-light);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.honor-placeholder .placeholder-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.honor-placeholder h3 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 12px;
}
.honor-placeholder p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ============= V2.0 新增:ICP 备案 + 公安备案 ============= */
.footer-copyright {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-records {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-records a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.footer-records a:hover {
  color: var(--primary);
}
.footer-records .gongan-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}
.footer-records .record-divider {
  color: var(--border);
}
@media (max-width: 600px) {
  .footer-records {
    font-size: 11px;
    gap: 6px;
  }
  .footer-records .gongan-icon {
    width: 12px;
    height: 12px;
  }
}
