/* ===== REITs风向标 · 全站样式 v2 ===== */
:root {
  /* 主色：金融蓝 */
  --primary: #0f3460;
  --primary-dark: #0a2540;
  --primary-light: #1a4d8f;
  --primary-50: #eef4fb;
  --primary-100: #d9e6f5;

  /* 强调色：金色（金融质感） */
  --accent: #c9a962;
  --accent-dark: #b08d4a;
  --accent-light: #e0c78a;
  --accent-50: #faf6ec;

  /* 涨跌色 */
  --up: #e53935;
  --down: #43a047;

  /* 中性色 */
  --text: #1a1f2e;
  --text-secondary: #4a5568;
  --text-tertiary: #718096;
  --text-muted: #a0aec0;

  --bg: #f5f7fa;
  --bg-card: #ffffff;
  --bg-muted: #f0f2f5;

  --border: #e2e8f0;
  --border-light: #edf2f7;

  /* 阴影层级 */
  --shadow-sm: 0 1px 3px rgba(15, 52, 96, 0.06);
  --shadow: 0 2px 12px rgba(15, 52, 96, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 52, 96, 0.1);
  --shadow-lg: 0 8px 32px rgba(15, 52, 96, 0.12);

  /* 字号层级 */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-lg: 16px;
  --fs-xl: 18px;
  --fs-2xl: 22px;
  --fs-3xl: 28px;
  --fs-4xl: 36px;
  --fs-5xl: 48px;

  /* 间距 */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  /* 过渡 */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

/* ===== 顶部导航 ===== */
.navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 36px; border-radius: 6px; }
.logo-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}
.logo-text .red {
  color: var(--accent-dark);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
  height: 100%;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--fs-base);
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-50);
}
.nav-links a.active {
  color: var(--primary-dark);
  background: var(--primary-50);
  font-weight: 600;
}
.nav-links a.active::after { display: none; }

/* ===== Hero 主视觉 ===== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: white;
  padding: 100px 32px 120px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,169,98,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(26,77,143,0.6) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--bg) 50%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-size: var(--fs-5xl);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #e0c78a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-size: var(--fs-lg);
  opacity: 0.85;
  margin-bottom: 48px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Hero 数据指标 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto 48px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-num {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
}
.hero-stat .stat-label {
  font-size: var(--fs-sm);
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-tags span {
  background: rgba(255,255,255,0.1);
  padding: 8px 22px;
  border-radius: 24px;
  font-size: var(--fs-sm);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.hero-tags span:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}

/* ===== 通用容器 ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-desc {
  color: var(--text-tertiary);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== 首页卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: block;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 12px;
  transition: var(--transition);
}
.card:hover .card-icon {
  background: var(--accent-50);
  transform: scale(1.05);
}
.card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.card p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: 16px;
}
.card-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.card:hover .card-link { color: var(--accent-dark); gap: 8px; }
.card-link::after { content: '→'; transition: var(--transition); }

/* 分区标题 */
.category-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.category-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ===== 工具专区 ===== */
.tools-section {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 64px;
  border: 1px solid var(--border-light);
  position: relative;
}
.tools-section::before {
  content: '';
  position: absolute;
  top: 0; left: 48px; right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-100), transparent);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.tool-card {
  background: linear-gradient(145deg, #fafcfe, #f0f4fa);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: block;
  position: relative;
  overflow: hidden;
}
.tool-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(201,169,98,0.08) 0%, transparent 70%);
  border-radius: 50%;
  transition: var(--transition);
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}
.tool-card:hover::after {
  width: 200px; height: 200px;
  bottom: -60px; right: -60px;
}
.tool-card .tool-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: white;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}
.tool-card h3 {
  font-size: var(--fs-xl);
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.tool-card p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: 20px;
  line-height: 1.7;
}
.tool-card .card-link {
  position: relative;
  z-index: 1;
}

/* ===== 知识库页面布局 ===== */
.article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}

/* 侧边栏 */
.sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  position: sticky;
  top: 88px;
  border: 1px solid var(--border-light);
}
.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #c5cdd6;
  border-radius: 3px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: #a0aab6;
}
.sidebar h4 {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.sidebar .sidebar-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.sidebar .sidebar-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar .sidebar-section-title {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 2px; }
.sidebar a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: var(--transition);
  font-weight: 400;
}
.sidebar a:hover {
  background: var(--primary-50);
  color: var(--primary);
}
.sidebar a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-weight: 500;
}

/* 文章内容 */
.article-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  min-height: 600px;
}
.article-content h1 {
  font-size: var(--fs-3xl);
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
}
.article-content .article-meta {
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.article-content h2 {
  font-size: var(--fs-2xl);
  color: var(--primary-dark);
  margin: 40px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-100);
  font-weight: 700;
  position: relative;
}
.article-content h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.article-content h3 {
  font-size: var(--fs-xl);
  color: var(--text);
  margin: 28px 0 14px;
  font-weight: 700;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.article-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
}
.article-content ul, .article-content ol {
  margin: 16px 0 16px 24px;
  color: var(--text-secondary);
}
.article-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}
.article-content ul li::marker {
  color: var(--accent);
}

/* 表格样式升级 */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: var(--fs-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-content thead th {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.5px;
  border: 1px solid var(--primary);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.article-content thead th:last-child { border-right: 1px solid var(--primary); }
.article-content tbody td {
  padding: 11px 16px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.6;
}
.article-content tbody tr {
  transition: var(--transition);
}
.article-content tbody tr:nth-child(even) {
  background: #fafbfc;
}
.article-content tbody tr:hover {
  background: var(--primary-50);
}

.article-content strong { color: var(--primary-dark); font-weight: 600; }
.article-content code {
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: var(--fs-sm);
  font-family: "SF Mono", "Consolas", monospace;
  color: var(--accent-dark);
}

/* 提示框 */
.article-content .note,
.article-content .warning,
.article-content .tip {
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  line-height: 1.7;
  border-left: 4px solid;
}
.article-content .note {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}
.article-content .warning {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}
.article-content .tip {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #166534;
}

/* 引用块 */
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--accent-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: normal;
}

/* ===== 工具页 ===== */
.tool-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}
.tool-header {
  text-align: center;
  margin-bottom: 40px;
}
.tool-header h1 {
  font-size: var(--fs-3xl);
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.tool-header p {
  color: var(--text-tertiary);
  font-size: var(--fs-lg);
}

.calculator {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  transition: var(--transition);
  background: white;
  color: var(--text);
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26,77,143,0.1);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 12px 36px;
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-dark), #d4b56e);
}

.result-box {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, #fafcfe, #f5f7fa);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.result-box h3 {
  color: var(--primary-dark);
  margin-bottom: 20px;
  font-size: var(--fs-xl);
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.result-item {
  background: white;
  padding: 20px 16px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.result-item:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-sm);
}
.result-item .value {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 6px;
  font-family: "SF Pro Display", sans-serif;
}
.result-item .label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

/* ===== K线图页 ===== */
.kline-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 32px 64px;
}
.kline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.stock-selector {
  display: flex;
  gap: 10px;
  align-items: center;
}
.stock-selector label {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  font-weight: 500;
}
.stock-selector select {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  min-width: 280px;
  background: white;
  transition: var(--transition);
}
.stock-selector select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26,77,143,0.1);
}
.kline-chart-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 500px;
}
.stock-info {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.stock-info .name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
}
.stock-info .code {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-top: 4px;
}
.stock-info .price-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: flex-end;
}
.price-item .value {
  font-size: 24px;
  font-weight: 700;
}
.price-item .label {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.price-up { color: var(--up); }
.price-down { color: var(--down); }

/* ===== 产品查询页 ===== */
.search-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.search-box input[type="text"] {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  transition: var(--transition);
}
.search-box input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26,77,143,0.1);
}
.filter-tags {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.filter-tag {
  padding: 6px 18px;
  background: var(--bg-muted);
  border-radius: 20px;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  color: var(--text-secondary);
}
.filter-tag:hover {
  background: var(--primary-50);
  color: var(--primary);
}
.filter-tag.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.product-list {
  display: grid;
  gap: 12px;
}
.product-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.product-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-100);
}
.product-left .pname {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.product-left .pcode {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}
.product-right {
  text-align: right;
}
.product-right .pcat {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary);
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
  font-weight: 600;
}
.product-right .pstatus {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}
.pstatus.listed { color: var(--down); font-weight: 600; }
.pstatus.review { color: #f59e0b; font-weight: 600; }

/* ===== 页脚 ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.5);
  padding: 48px 32px 32px;
  margin-top: 0;
  text-align: center;
  font-size: var(--fs-sm);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,98,0.3), transparent);
}
.footer-top {
  max-width: 1240px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h5 {
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-base);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col p, .footer-col li {
  font-size: var(--fs-sm);
  line-height: 2;
  color: rgba(255,255,255,0.5);
}
.footer-col ul { list-style: none; }
.footer-col a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-light); }
.footer .footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.footer .footer-brand span { color: var(--accent-light); }
.footer-disclaimer {
  max-width: 800px;
  margin: 20px auto 0;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}

/* ===== 装饰元素 ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 48px 0;
}

/* 数据指标卡片 */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.metric-card {
  background: linear-gradient(135deg, white, var(--primary-50));
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.metric-card .metric-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.metric-card .metric-label {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 80px; }
  .hero h1 { font-size: var(--fs-3xl); }
  .hero-stats { gap: 24px; }
  .hero-stat .stat-num { font-size: var(--fs-2xl); }
  .article-layout { grid-template-columns: 1fr; padding: 20px 16px 48px; }
  .sidebar { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .article-content { padding: 28px 20px; }
  .nav-links { display: none; }
  .container { padding: 40px 20px; }
  .tools-section { padding: 36px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .calculator { padding: 24px; }
}

/* ===== 政策监管页专用样式 ===== */
.reg-map {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.reg-layer {
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  position: relative;
}
.reg-layer:nth-child(2) { border-left-color: var(--primary-light); }
.reg-layer:nth-child(3) { border-left-color: var(--accent); }
.reg-layer:nth-child(4) { border-left-color: var(--accent-light); }
.reg-layer h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: var(--primary-dark);
}
.reg-layer p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ样式 */
.faq { margin: 16px 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-q {
  background: var(--primary-50);
  padding: 12px 16px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.faq-a {
  padding: 14px 16px;
  background: #fff;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.faq-a p { margin: 0; }
.faq-a ul { margin: 8px 0; padding-left: 20px; }
.faq-a li { margin-bottom: 4px; }
