/* ===== 2026 AI就业市场研究报告 — 全新设计 ===== */

/* ---------- 设计令牌 ---------- */
:root {
  --c-bg:        #0b0f19;
  --c-surface:   #131825;
  --c-card:      rgba(19, 24, 42, 0.85);
  --c-card-alt:  rgba(30, 38, 60, 0.6);
  --c-border:    rgba(99, 115, 148, 0.18);
  --c-text:      #e2e8f0;
  --c-text-dim:  #8896ab;
  --c-heading:   #f1f5f9;

  --c-accent:    #6366f1;   /* indigo */
  --c-accent2:   #22d3ee;   /* cyan */
  --c-success:   #34d399;
  --c-warning:   #fbbf24;
  --c-danger:    #f87171;
  --c-info:      #60a5fa;
  --c-purple:    #a78bfa;
  --c-pink:      #f472b6;

  --grad-hero:   linear-gradient(135deg, #1e1b4b 0%, #0f172a 40%, #0c4a6e 100%);
  --grad-accent: linear-gradient(135deg, #6366f1, #22d3ee);
  --grad-card:   linear-gradient(160deg, rgba(99,102,241,.06) 0%, rgba(34,211,238,.04) 100%);

  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,.35);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.45);
  --shadow-glow: 0 0 30px rgba(99,102,241,.15);

  --radius:      14px;
  --radius-sm:   8px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 背景装饰 ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(99,102,241,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(34,211,238,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- 导航栏 ---------- */
.navbar {
  background: rgba(11,15,25,.82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--c-border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}
.logo span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}
.nav-links a {
  color: var(--c-text-dim);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(99,102,241,.12);
}
.nav-links a.active {
  color: #fff;
  background: var(--c-accent);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero（首页） ---------- */
.hero {
  background: var(--grad-hero);
  color: #fff;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.18), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 70%);
  bottom: -250px;
  left: -50px;
  pointer-events: none;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}
.hero .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hero-meta span {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.1);
}

/* ---------- 子页 Hero ---------- */
.page-hero {
  background: var(--grad-hero);
  color: #fff;
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(99,102,241,.12), transparent);
  pointer-events: none;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .4rem;
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  position: relative;
}

/* ---------- 容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--c-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  pointer-events: none;
}
.card:hover {
  border-color: rgba(99,102,241,.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.card h2 {
  font-size: 1.35rem;
  color: var(--c-heading);
  margin-bottom: 1.2rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--c-border);
  font-weight: 700;
  position: relative;
}
.card h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}
.card h3 {
  font-size: 1.05rem;
  color: var(--c-accent2);
  margin: 1.5rem 0 .75rem;
  font-weight: 600;
}
.card h4 {
  font-size: .95rem;
  color: var(--c-heading);
  margin: 1rem 0 .4rem;
  font-weight: 600;
}

/* ---------- 统计卡片网格 ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.stat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99,102,241,.25);
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.stat-number.green {
  background: linear-gradient(135deg, var(--c-success), #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-number.blue {
  background: linear-gradient(135deg, var(--c-info), var(--c-accent2));
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-number.purple {
  background: linear-gradient(135deg, var(--c-purple), var(--c-pink));
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: var(--c-text-dim);
  margin-top: 6px;
}

/* ---------- 表格 ---------- */
.table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
thead th {
  background: rgba(99,102,241,.15);
  color: var(--c-heading);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--c-border);
}
tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(99,115,148,.1);
}
tbody tr { transition: background .2s; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
tbody tr:hover { background: rgba(99,102,241,.06); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.tag-danger  { background: rgba(248,113,113,.15); color: var(--c-danger); }
.tag-warning { background: rgba(251,191,36,.15);  color: var(--c-warning); }
.tag-success { background: rgba(52,211,153,.15);  color: var(--c-success); }
.tag-info    { background: rgba(96,165,250,.15);   color: var(--c-info); }
.tag-purple  { background: rgba(167,139,250,.15);  color: var(--c-purple); }

.text-danger  { color: var(--c-danger);  font-weight: 700; }
.text-success { color: var(--c-success); font-weight: 700; }
.text-info    { color: var(--c-info);    font-weight: 700; }
.text-warning { color: var(--c-warning); font-weight: 700; }
.text-purple  { color: var(--c-purple);  font-weight: 700; }

/* ---------- 图表 ---------- */
.chart-container {
  margin: 1.5rem 0;
  text-align: center;
}
.chart-container img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.chart-caption {
  font-size: 13px;
  color: var(--c-text-dim);
  margin-top: 8px;
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.chart-item {
  text-align: center;
}
.chart-item img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.chart-item:hover img {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

/* ---------- 首页导航卡片 ---------- */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.nav-card {
  background: var(--c-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--c-text);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.nav-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transition: height .3s;
}
.nav-card:nth-child(1)::before { background: var(--c-accent); }
.nav-card:nth-child(2)::before { background: var(--c-warning); }
.nav-card:nth-child(3)::before { background: var(--c-success); }
.nav-card:nth-child(4)::before { background: var(--c-info); }
.nav-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,.3);
}
.nav-card:hover::before { height: 4px; }
.nav-card-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  display: block;
}
.nav-card h3 {
  font-size: 1.1rem;
  margin-bottom: .4rem;
  color: var(--c-heading);
  font-weight: 700;
}
.nav-card p {
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.6;
}

/* ---------- 列表 ---------- */
.content-list {
  list-style: none;
  padding: 0;
}
.content-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid rgba(99,115,148,.08);
}
.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 6px rgba(99,102,241,.4);
}
.content-list li:last-child { border-bottom: none; }

.findings-list {
  list-style: none;
  padding: 0;
}
.findings-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid rgba(99,115,148,.08);
}
.findings-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent2);
  box-shadow: 0 0 6px rgba(34,211,238,.4);
}
.findings-list li:last-child { border-bottom: none; }

/* ---------- 进度条 ---------- */
.progress-item {
  margin-bottom: 10px;
}
.progress-label {
  font-size: 13px;
  color: var(--c-text-dim);
  margin-bottom: 4px;
  font-weight: 500;
}
.progress-bar {
  height: 26px;
  background: rgba(255,255,255,.06);
  border-radius: 13px;
  overflow: hidden;
  margin: 4px 0;
  border: 1px solid rgba(99,115,148,.1);
}
.progress-fill {
  height: 100%;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  transition: width 1s cubic-bezier(.4,0,.2,1);
  min-width: fit-content;
}
.progress-fill.danger  { background: linear-gradient(90deg, #ef4444, #f87171); }
.progress-fill.warning { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.progress-fill.info    { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.progress-fill.success { background: linear-gradient(90deg, #10b981, #34d399); }

/* ---------- 两列布局 ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
  margin: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent2));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 0 2px var(--c-accent), 0 0 8px rgba(99,102,241,.4);
}
.timeline-item h4 {
  margin-bottom: 4px;
  color: var(--c-heading);
  font-weight: 600;
}
.timeline-item p {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.7;
}

/* ---------- 页脚 ---------- */
.footer {
  background: rgba(11,15,25,.95);
  border-top: 1px solid var(--c-border);
  color: var(--c-text-dim);
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md), 0 0 16px rgba(99,102,241,.3);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #818cf8;
  transform: translateY(-3px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(11,15,25,.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--c-border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .hero h1 { font-size: 1.9rem; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero { padding: 2.5rem 1.5rem 2rem; }
  .container { padding: 1rem; }
  .card { padding: 1.5rem; }
  .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { gap: .6rem; }
  .hero-meta span { padding: 6px 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .nav-cards { grid-template-columns: 1fr; }
  table { font-size: 12px; }
  thead th, tbody td { padding: 8px 10px; }
  .hero h1 { font-size: 1.5rem; }
}
