/* =========================================================
   你好城市 HiCheng — 让机会在全国更均匀分布
   纯静态样式：无外部字体/图片依赖，适配国内访问
   ========================================================= */

:root {
  --navy-900: #081c33;
  --navy-800: #0d2b4d;
  --navy-700: #123a63;
  --ink: #1b2733;
  --ink-soft: #46586b;
  --ink-mute: #7b8a99;
  --bg: #f7f9fb;
  --card: #ffffff;
  --line: #e4eaf0;
  --accent: #ff6a2b;
  --accent-deep: #e8491d;
  --accent-soft: #fff1e9;
  --blue: #1c7ed6;
  --teal: #0ca678;
  --gold: #f5a623;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(13, 43, 77, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 43, 77, 0.10);
  --shadow-lg: 0 18px 50px rgba(13, 43, 77, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei",
    "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

::selection { background: rgba(255, 106, 43, 0.25); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(8, 28, 51, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(4, 16, 31, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.14); }

.nav-cta {
  margin-left: 10px;
  padding: 9px 18px !important;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(232, 73, 29, 0.4);
}

.nav-cta:hover { background: var(--accent-deep) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(28, 126, 214, 0.35), transparent 60%),
    radial-gradient(900px 480px at -10% 20%, rgba(12, 166, 120, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
}

/* 城市天际线 */
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

/* 连线光点：机会均匀分布的意象 */
.hero-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-nodes circle { filter: drop-shadow(0 0 6px rgba(255, 166, 35, 0.9)); }

.hero-nodes line {
  stroke: rgba(255, 190, 110, 0.4);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  animation: dash 24s linear infinite;
}

@keyframes dash { to { stroke-dashoffset: -600; } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.45);
  background: rgba(245, 166, 35, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.15;
  letter-spacing: 4px;
  font-weight: 800;
}

.hero .hero-sub {
  margin-top: 14px;
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ffb347, #ff6a2b, #ff8f5c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.hero-desc {
  margin-top: 22px;
  max-width: 640px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(232, 73, 29, 0.42);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232, 73, 29, 0.5); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* 数据带 */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat b {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stat b i { font-style: normal; color: var(--gold); font-size: 0.62em; margin-left: 2px; }

.stat span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- 通用 Section ---------- */
.section { padding: 96px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1.3;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16.5px;
}

/* ---------- 理念 ---------- */
.idea { background: #fff; }

.idea-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.idea h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

.idea p { color: var(--ink-soft); margin-bottom: 16px; }

.idea-points { margin-top: 26px; display: grid; gap: 18px; }

.idea-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.idea-points .dot {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}

.idea-points li:nth-child(1) .dot { background: var(--blue); }
.idea-points li:nth-child(2) .dot { background: var(--teal); }
.idea-points li:nth-child(3) .dot { background: var(--accent); }

.idea-points b { display: block; font-size: 15.5px; color: var(--ink); }
.idea-points span { font-size: 14px; color: var(--ink-mute); }

.idea-figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  padding: 34px 30px 26px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.idea-figure h4 {
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 6px;
}

.idea-figure .fig-note { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }

.idea-figure svg { width: 100%; height: auto; }

.fig-caption {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ---------- 全球案例 ---------- */
.cases { background: var(--bg); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--bar, var(--blue));
}

.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.case-region {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bar, var(--blue));
  margin-bottom: 10px;
}

.case-city {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}

.case-city small { font-size: 13px; font-weight: 500; color: var(--ink-mute); margin-left: 6px; }

.case-card h4 {
  font-size: 15px;
  color: var(--ink);
  margin: 8px 0 10px;
  font-weight: 700;
}

.case-card p {
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}

.case-lesson {
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--lesson-bg, #f0f7ff);
  border-radius: 8px;
  font-size: 13px;
  color: var(--lesson, #14539a);
  line-height: 1.6;
}

.case-lesson b { font-weight: 700; }

/* ---------- 治理方案 ---------- */
.solutions { background: #fff; }

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sol-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 30px 26px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 106, 43, 0.45);
  background: #fff;
}

.sol-num {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 44px;
  font-weight: 800;
  color: rgba(13, 43, 77, 0.07);
  line-height: 1;
}

.sol-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
}

.sol-icon svg { width: 26px; height: 26px; }

.sol-card:nth-child(6n + 1) .sol-icon { background: linear-gradient(135deg, #1c7ed6, #4dabf7); }
.sol-card:nth-child(6n + 2) .sol-icon { background: linear-gradient(135deg, #0ca678, #38d9a9); }
.sol-card:nth-child(6n + 3) .sol-icon { background: linear-gradient(135deg, #ff6a2b, #ffa94d); }
.sol-card:nth-child(6n + 4) .sol-icon { background: linear-gradient(135deg, #7048e8, #9775fa); }
.sol-card:nth-child(6n + 5) .sol-icon { background: linear-gradient(135deg, #e8590c, #f5a623); }
.sol-card:nth-child(6n + 6) .sol-icon { background: linear-gradient(135deg, #0b7285, #22b8cf); }

.sol-card h4 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.sol-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 统一大市场 ---------- */
.market {
  background:
    radial-gradient(900px 420px at 110% 0%, rgba(28, 126, 214, 0.08), transparent 60%),
    linear-gradient(180deg, #f2f6fa 0%, var(--bg) 100%);
}

.market-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.market-intro .quote-box {
  background: #fff;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.quote-box p { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.9; }
.quote-box footer { margin-top: 12px; font-size: 13.5px; color: var(--ink-mute); }

.market-intro .intro-text h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.market-intro .intro-text p { color: var(--ink-soft); font-size: 15.5px; }

/* 五大支柱时间线 */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  counter-reset: pillar;
}

.pillars::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c9d6e4 0 10px, transparent 10px 18px);
}

.pillar {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

.pillar .pill-dot {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: var(--blue);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}

.pillar:nth-child(odd) .pill-dot { border-color: var(--accent); color: var(--accent-deep); }

.pillar h4 { font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--ink-soft); }

/* 对谁意味着什么 */
.market-impact { margin-top: 72px; }

.market-impact h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 36px;
}

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.impact-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 30px 26px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.impact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.impact-card .tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.impact-card:nth-child(1) .tag { background: #e7f5ff; color: #1971c2; }
.impact-card:nth-child(2) .tag { background: #e6fcf5; color: #087f5b; }
.impact-card:nth-child(3) .tag { background: var(--accent-soft); color: var(--accent-deep); }

.impact-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.impact-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 城市观察（文章） ---------- */
.journal { background: #fff; }

.journal-list { display: grid; gap: 14px; }

.journal-item {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.journal-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(28, 126, 214, 0.4);
}

.journal-date {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: #e7f5ff;
  padding: 6px 12px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}

.journal-item h4 { font-size: 16.5px; font-weight: 700; color: var(--ink); flex: 1; }
.journal-item h4 small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-mute); margin-top: 2px; }

.journal-item .arrow { color: var(--ink-mute); transition: transform 0.25s, color 0.25s; }
.journal-item:hover .arrow { transform: translateX(4px); color: var(--accent); }

/* ---------- 关于 / CTA ---------- */
.about {
  background:
    radial-gradient(800px 400px at 15% 110%, rgba(255, 106, 43, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #fff;
}

.about-inner { max-width: 780px; margin: 0 auto; text-align: center; }

.about h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: 1px; }

.about .slogan {
  margin: 14px 0 22px;
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 3px;
}

.about p { color: rgba(255, 255, 255, 0.75); font-size: 15.5px; }

.about .contact-row {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.about .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.25s;
}

.about .chip:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Footer ---------- */
.footer { background: #061526; color: rgba(255, 255, 255, 0.62); padding: 56px 0 30px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand { margin-bottom: 14px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer .slogan-line { font-size: 14px; line-height: 1.9; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 20px rgba(232, 73, 29, 0.4);
  z-index: 90;
}

.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
  .pillars::before { display: none; }
  .impact-grid { grid-template-columns: 1fr; }
  .idea-grid, .market-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 28, 51, 0.97);
    backdrop-filter: blur(16px);
    padding: 14px 6%;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 20px 40px rgba(4, 16, 31, 0.5);
  }

  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }

  .nav-cta { margin: 8px 16px 4px; text-align: center; justify-content: center; display: flex; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 22px; gap: 22px 14px; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding-bottom: 60px; }
}

@media (max-width: 560px) {
  .case-grid, .sol-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .journal-item { flex-wrap: wrap; gap: 10px; }
  .journal-item h4 { width: 100%; order: 3; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
