/* ===== 广州恒巨信息科技有限公司 官网样式 ===== */
:root {
  --ink: #16202e;
  --primary: #143a6b;
  --primary-2: #1f5aa0;
  --accent: #1f9e89;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-deep: #0e2a4d;
  --muted: #5c6b7a;
  --line: #e3e9f1;
  --gold: #c8a45c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 58, 107, 0.08);
  --shadow-lg: 0 18px 50px rgba(20, 58, 107, 0.14);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 40px; height: 40px; }
.brand .name { font-size: 18px; font-weight: 700; letter-spacing: 0.4px; }
.brand .name small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0.6px; line-height: 1.25; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.nav-cta {
  background: var(--primary); color: #fff !important; padding: 10px 20px !important;
  border-radius: 999px; font-weight: 600; transition: background 0.2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--primary-2); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== 通用区块 ===== */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-deep { background: var(--bg-deep); color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--accent);
  font-weight: 600; margin-bottom: 14px; text-transform: uppercase;
}
.section-head h2 { font-size: 34px; line-height: 1.3; font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 16px; }

/* ===== 首页 Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(31, 154, 137, 0.18), transparent 60%),
              linear-gradient(135deg, #0e2a4d 0%, #143a6b 55%, #1f5aa0 100%);
  color: #fff; padding: 110px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: 0.5px; }
.hero h1 .hl { color: var(--gold); }
.hero .lead { font-size: 19px; color: rgba(255,255,255,0.85); margin-top: 22px; max-width: 640px; }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 600;
  font-size: 16px; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s; cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: #1b1b1b; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,164,92,0.4); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.18); padding-top: 36px;
}
.hero-stats .item .num { font-size: 36px; font-weight: 800; color: #fff; }
.hero-stats .item .num span { color: var(--gold); font-size: 22px; }
.hero-stats .item .lbl { color: rgba(255,255,255,0.75); font-size: 14px; margin-top: 4px; }

/* ===== AI 联合实验室成果统计 ===== */
.ailab-results { margin: 8px 0 4px; }
.ailab-results-title { font-size: 22px; font-weight: 700; margin: 18px 0 2px; }
.ailab-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 24px 0 4px;
}
.ailab-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 12px; text-align: center; box-shadow: var(--shadow);
}
.ailab-stat .num { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.ailab-stat .num span { color: var(--accent); font-size: 17px; }
.ailab-stat .lbl { color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.4; }
.ailab-detail { margin-top: 26px; }
.ailab-overview { margin: 22px 0 6px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ailab-overview p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.ailab-overview strong { color: var(--primary); font-weight: 700; }
.ailab-timeline { position: relative; margin: 26px 0 4px; padding-left: 30px; }
.ailab-timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 28px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.tl-year { font-weight: 700; color: var(--accent); font-size: 15px; margin-bottom: 5px; }
.tl-body h4 { font-size: 16px; margin-bottom: 5px; }
.tl-body p { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ===== 卡片网格 ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow); transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 600; font-size: 14px; }

.feature-card h3 { display: flex; align-items: center; gap: 10px; }
.feature-card .badge { font-size: 12px; background: var(--bg-soft); color: var(--primary); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* ===== 业务双栏 ===== */
.biz-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 40px 36px; color: #fff;
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
}
.biz-card.mediation { background: linear-gradient(135deg, #0e2a4d, #1f5aa0); }
.biz-card.grid { background: linear-gradient(135deg, #0f4038, #1f9e89); }
.biz-card .tagline { font-size: 13px; letter-spacing: 2px; opacity: 0.8; }
.biz-card h3 { font-size: 26px; margin: 10px 0 12px; }
.biz-card p { color: rgba(255,255,255,0.85); font-size: 15px; }
.biz-card .more { margin-top: 18px; color: var(--gold); font-weight: 600; }

/* ===== 报道/案例 ===== */
.report-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); transition: transform 0.2s;
}
.report-card:hover { transform: translateY(-4px); }
.report-card .src {
  align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--bg-soft); padding: 4px 12px; border-radius: 999px;
}
.report-card .src.gov { color: #b8860b; background: #fbf3e2; }
.report-card .src.acad { color: #6b3fa0; background: #f1e9fa; }
.report-card h4 { font-size: 17px; line-height: 1.5; }
.report-card h4 a { color: var(--text); text-decoration: none; }
.report-card h4 a:hover { color: var(--primary); text-decoration: underline; }
.report-card p { color: var(--muted); font-size: 14px; }
.report-card .date { font-size: 12px; color: #9aa7b4; margin-top: auto; }

/* ===== 时间线 ===== */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -2px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.tl-item .yr { font-weight: 700; color: var(--primary); font-size: 15px; }
.tl-item h4 { font-size: 18px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ===== 资质 ===== */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.qual-badge {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 24px; background: #fff;
  text-align: center; min-width: 150px; box-shadow: var(--shadow);
}
.qual-badge strong { display: block; font-size: 16px; color: var(--primary); }
.qual-badge span { font-size: 13px; color: var(--muted); }

/* ===== 产品功能 ===== */
.prod-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.prod-block.reverse .prod-media { order: 2; }
.prod-media {
  border-radius: var(--radius); min-height: 300px; padding: 30px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.prod-media.m1 { background: linear-gradient(135deg, #0e2a4d, #1f5aa0); }
.prod-media.m2 { background: linear-gradient(135deg, #0f4038, #1f9e89); }
.prod-media ul { list-style: none; display: grid; gap: 12px; }
.prod-media li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.prod-media li .dot { color: var(--gold); font-weight: 700; }
.prod-text h3 { font-size: 26px; margin-bottom: 8px; }
.prod-text .sub { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 1px; }
.prod-text p { color: var(--muted); margin: 14px 0 18px; }
.feat-list { list-style: none; display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; }
.feat-list li .ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.feat-list li b { display: block; }
.feat-list li span { color: var(--muted); font-size: 14px; }

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-info h4 { font-size: 16px; }
.contact-info p { color: var(--muted); font-size: 15px; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-box label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.form-box input, .form-box textarea, .form-box select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
  font-family: inherit; margin-bottom: 20px; background: #fbfcfe; transition: border 0.2s;
}
.form-box input:focus, .form-box textarea:focus, .form-box select:focus { outline: none; border-color: var(--primary-2); }
.form-box textarea { resize: vertical; min-height: 110px; }
.form-box .btn { width: 100%; text-align: center; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

.map-card {
  border-radius: var(--radius); min-height: 260px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(135deg, #e8eef6, #d7e3f1); position: relative;
}
.map-card .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); text-align: center; }
.map-card .pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); margin: 0 auto 8px; box-shadow: 0 0 0 6px rgba(31,154,137,0.2); }
.map-card .pin span { font-size: 13px; color: var(--primary); font-weight: 600; background: rgba(255,255,255,0.85); padding: 4px 10px; border-radius: 8px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--bg-deep); color: rgba(255,255,255,0.78); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.7); font-size: 14px; }
.site-footer ul a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,0.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== CTA 横幅 ===== */
.cta-band { background: linear-gradient(135deg, var(--accent), #157a6b); color: #fff; border-radius: var(--radius); padding: 50px 44px; text-align: center; }
.cta-band h2 { font-size: 30px; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.6); }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .ailab-stats { grid-template-columns: repeat(3, 1fr); }
  .prod-block, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .prod-block.reverse .prod-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; gap: 16px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ailab-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 滚动出现动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===== 解纷智能体 步骤 ===== */
.agent-steps { counter-reset: step; display: grid; gap: 20px; }
.agent-step { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.agent-step .no { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.agent-step h4 { font-size: 18px; margin-bottom: 6px; }
.agent-step p { color: var(--muted); font-size: 15px; }

/* 能力对比条 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 10px; }
.compare .col { border-radius: var(--radius); padding: 30px; }
.compare .old { background: #f1f4f9; border: 1px solid var(--line); }
.compare .new { background: linear-gradient(135deg, #0e2a4d, #1f5aa0); color: #fff; }
.compare h4 { font-size: 18px; margin-bottom: 14px; }
.compare ul { list-style: none; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; font-size: 15px; }
.compare .new li { color: rgba(255,255,255,0.92); }
.compare .new .tick { color: var(--gold); font-weight: 800; }

/* 客户证言 */
.testimonial { background: var(--bg-deep); color: #fff; border-radius: var(--radius); padding: 48px 44px; position: relative; }
.testimonial .quote-mark { font-size: 64px; line-height: 0.5; color: var(--gold); font-family: Georgia, serif; }
.testimonial blockquote { font-size: 22px; line-height: 1.7; font-weight: 500; margin: 18px 0 24px; }
.testimonial .by { color: rgba(255,255,255,0.7); font-size: 15px; }
.testimonial .by b { color: #fff; }

/* 新闻列表 */
.news-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.news-count { color: var(--muted); font-size: 14px; }
.news-count b { color: var(--primary); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-bar button { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.filter-bar button:hover, .filter-bar button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform 0.2s; border-left: 4px solid var(--accent); }
.news-card:hover { transform: translateY(-4px); }
.news-card .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-card .date { font-size: 13px; color: var(--muted); font-weight: 600; }
.news-card h4 { font-size: 17px; line-height: 1.5; }
.news-card h4 a:hover { color: var(--primary-2); }
.news-card p { color: var(--muted); font-size: 14px; }
.news-card .src { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 999px; }
.news-card .src.gov { color: #b8860b; background: #fbf3e2; }
.news-card .src.acad { color: #6b3fa0; background: #f1e9fa; }
.news-card .case-tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); padding: 2px 9px; border-radius: 999px; }
.news-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px; }

/* 备案号 */
.filing { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 2; }
.filing a { color: rgba(255,255,255,0.8); border-bottom: 1px dotted rgba(255,255,255,0.4); }
.filing a:hover { color: #fff; }

/* 页内锚点平滑与高亮区 */
.anchor-note { font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
  .news-list { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .testimonial { padding: 34px 26px; }
  .testimonial blockquote { font-size: 18px; }
}
