/* ============ 机器人产业人才基地 · 官网风样式 ============ */
:root {
  --brand: #1a5fa8;
  --brand-dark: #14497f;
  --brand-deep: #123a66;
  --navy: #1c2f45;
  --ink: #2a3a4d;
  --ink-soft: #66788d;
  --line: #e2e9f1;
  --bg-soft: #f5f8fb;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(18, 42, 67, .06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Header：白底细线，官网式导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; white-space: nowrap; }
.brand-logo { height: 50px; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.nav-links > li { position: relative; }
.nav-links a.nav-item {
  position: relative; display: block; padding: 10px 14px;
  color: #3d4f63; font-size: 15px; transition: color .18s;
}
.nav-links a.nav-item:hover { color: var(--brand); }
.nav-links li.active > a.nav-item { color: var(--brand); font-weight: 600; }
.nav-links li.active > a.nav-item::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--brand);
}
.has-drop > a.nav-item::after { content: ""; position: static; }
.has-drop > a.nav-item::before {
  content: ""; display: inline-block; margin-left: 6px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor;
}
/* 透明悬停桥，避免移出断触 */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 176px;
  padding: 8px 0 0; background: transparent;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .16s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 10px 28px rgba(18, 42, 67, .12);
}
.dropdown a { display: block; padding: 8px 12px; border-radius: 4px; color: #3d4f63; font-size: 14px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--brand); }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 4px; cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: all .2s; }
.site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero：浅色官网头图区 ---------- */
.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.hero-inner { padding: 72px 0 78px; }
.hero .tag-line {
  display: flex; align-items: center; gap: 10px;
  color: var(--brand); font-size: 14px; font-weight: 600;
  letter-spacing: 1px; margin-bottom: 18px;
}
.hero .tag-line::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.hero h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.35; font-weight: 700; color: var(--navy); letter-spacing: .5px; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { margin-top: 16px; max-width: 780px; color: var(--ink-soft); font-size: 16px; }
.hero-page .hero-inner { padding: 48px 0 52px; }
.breadcrumb { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; background: #fff; }
.section.dark { background: var(--brand-deep); color: #dce8f4; }
.section.alt { background: var(--bg-soft); }
.section-head { margin-bottom: 36px; }
.section-head .eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--brand); font-size: 12.5px; font-weight: 600; letter-spacing: 2.5px;
}
.section-head .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.section.dark .section-head .eyebrow { color: #8fb8dd; }
.section.dark .section-head .eyebrow::before { background: #8fb8dd; }
.section-head h2 { font-size: clamp(21px, 2.6vw, 28px); margin-top: 8px; font-weight: 700; color: var(--navy); }
.section.dark .section-head h2 { color: #fff; }
.section-head p { color: var(--ink-soft); margin-top: 8px; max-width: 760px; font-size: 15px; }
.section.dark .section-head p { color: #a9c2da; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
  transition: border-color .18s, box-shadow .18s;
}
.card:hover { border-color: #b9cfe6; box-shadow: 0 4px 16px rgba(18, 42, 67, .09); }
.card .icon-badge {
  width: 44px; height: 44px; border-radius: var(--radius); margin-bottom: 14px;
  background: #edf3fa; color: var(--brand);
  display: grid; place-items: center; font-size: 19px; font-weight: 600;
}
.card .icon-badge svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 6px; color: var(--navy); font-weight: 600; }
.card p { color: var(--ink-soft); font-size: 14px; }

.link-card { display: block; }
.link-card .more { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 600; font-size: 13.5px; }
.link-card .more::after { content: " ›"; font-size: 15px; }

/* ---------- Stats：去盒子，官网数字条 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.stat { text-align: left; padding: 18px 20px; background: transparent; border: 0; border-left: 2px solid var(--brand); }
.section.dark .stat { border-left-color: #6ea3d4; }
.stat b { font-size: 32px; font-weight: 700; color: var(--navy); display: block; line-height: 1.3; }
.section.dark .stat b { color: #fff; }
.stat span { color: var(--ink-soft); font-size: 13.5px; }
.section.dark .stat span { color: #a9c2da; }
.section:not(.dark):not(.alt) .stat { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 28px; border-radius: 3px;
  font-size: 15px; font-weight: 500; transition: all .18s; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: #b9cfe6; color: var(--brand); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.section.dark .btn-ghost, .cta-band .btn-ghost { background: transparent; border-color: #5d87b3; color: #dce8f4; }
.section.dark .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Funnel ---------- */
.funnel-wrap { position: relative; }
.funnel-svg { width: 100%; height: auto; display: block; }
.funnel-node { cursor: pointer; }
.funnel-node text { font-family: inherit; }
.funnel-node:hover ellipse, .funnel-node:hover circle { filter: brightness(1.06); }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
.chip {
  padding: 7px 16px; border-radius: 3px; font-size: 13.5px; font-weight: 500;
  background: #fff; border: 1px solid #d3dfec; color: #44576c; transition: all .18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Feature list ---------- */
.feature-list li {
  padding: 12px 0 12px 26px; position: relative;
  border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14.5px;
}
.feature-list li::before {
  content: ""; position: absolute; left: 2px; top: 20px;
  width: 10px; height: 2px; background: var(--brand);
}
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Table ---------- */
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.table th { background: #eef3f9; color: var(--navy); padding: 12px 16px; font-size: 13.5px; text-align: left; font-weight: 600; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #f8fbfe; }

/* ---------- Tags ---------- */
.tag { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: 12.5px; font-weight: 500; margin: 2px 4px 2px 0; border: 1px solid transparent; }
.tag.blue { background: #eef4fb; color: var(--brand); border-color: #dbe8f5; }
.tag.green { background: #eef8f1; color: #2e7d4f; border-color: #d8eedf; }
.tag.orange { background: #fdf3e7; color: #b06a1a; border-color: #f5e4cd; }
.tag.purple { background: #f2effa; color: #5f4bb7; border-color: #e3ddf3; }

/* ---------- Person / Job ---------- */
.person-card { text-align: center; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  background: #e6eef7; color: var(--brand); font-size: 26px; font-weight: 600;
  display: grid; place-items: center; border: 1px solid #d3e0ef;
}
.person-card .meta { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.job-card { text-align: left; }
.job-card .salary { color: #c05621; font-weight: 600; font-size: 16px; }
.job-card .company { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.job-card .job-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-top: 2px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius);
  padding: 18px 18px 16px; box-shadow: var(--shadow);
}
.section.dark .step { background: rgba(255, 255, 255, .05); border-color: #3a628c; border-top-color: #6ea3d4; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; color: var(--brand); font-size: 15px; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 8px; font-variant-numeric: tabular-nums;
}
.section.dark .step::before { color: #8fb8dd; }
.step h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--navy); }
.section.dark .step h4 { color: #fff; }
.step p { font-size: 13.5px; color: var(--ink-soft); }
.section.dark .step p { color: #a9c2da; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 56px 0; color: #fff; background: var(--brand-deep); }
.cta-band h2 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 10px; font-weight: 700; }
.cta-band p { color: #a9c2da; margin-bottom: 24px; }
.cta-band .btn { margin: 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #16283c; color: #93a8bd; padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h5 { color: #dbe5ee; font-size: 14.5px; margin-bottom: 12px; font-weight: 600; }
.site-footer a { display: block; padding: 3.5px 0; font-size: 13.5px; color: #93a8bd; }
.site-footer a:hover { color: #fff; }
.footer-desc { font-size: 13.5px; max-width: 320px; line-height: 1.9; }
.footer-bottom {
  margin-top: 36px; border-top: 1px solid #24394f;
  padding: 16px 0; text-align: center; font-size: 12.5px; color: #62778c;
}

/* ---------- Reveal：仅淡入 ---------- */
.reveal { opacity: 0; transition: opacity .5s ease; }
.reveal.visible { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a.nav-item { padding: 10px 9px; font-size: 14px; }
}

@media (max-width: 860px) {
  .nav-bar { height: 60px; }
  .brand-logo { height: 42px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 8px 5% 16px; flex-direction: column; gap: 0;
    background: #fff; max-height: 78vh; overflow-y: auto;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(18, 42, 67, .12);
  }
  .site-header.menu-open .nav-links { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a.nav-item { padding: 12px 6px; font-size: 15px; }
  .nav-links li.active > a.nav-item::after { display: none; }
  .has-drop > a.nav-item::before { content: none; }
  .dropdown { position: static; display: block; opacity: 1; visibility: visible; transform: none; padding: 0 0 4px 14px; }
  .dropdown-inner { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .dropdown a { padding: 8px 6px; font-size: 13.5px; border-left: 1px solid var(--line); border-radius: 0; }
}

@media (max-width: 760px) {
  .hero-inner { padding: 44px 0 50px; }
  .hero-page .hero-inner { padding: 34px 0 40px; }
  .hero-cta .btn { padding: 9px 20px; font-size: 14px; }
  .section { padding: 42px 0; }
  .section-head { margin-bottom: 24px; }
  .grid { gap: 12px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .funnel-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .funnel-svg { min-width: 820px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat b { font-size: 24px; }
  .stat { padding: 12px 14px; }
  .table { font-size: 12.5px; }
  .table th, .table td { padding: 9px 8px; }
  .split { gap: 24px; }
  .cta-band { padding: 40px 0; }
  .cta-band .btn { margin: 4px 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .chip { padding: 6px 12px; font-size: 13px; }
}
