/* ==================== 基础样式 ==================== */
:root {
  --primary-color: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --secondary-color: #f97316;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 0.75rem;
  --radius-lg: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
}

/* 无障碍 - 视觉隐藏但保持可访问性 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== 加载动画 ==================== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
  color: white;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loader p {
  font-size: 1rem;
  opacity: 0.9;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================== 头部导航 ==================== */
.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a:focus {
  color: white;
}

.nav-links a:focus {
  outline: 2px solid white;
  outline-offset: 2px;
  border-radius: 2px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端导航 */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--primary-dark);
  padding: 1rem;
  gap: 0.5rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* ==================== Hero区域 ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 50%, var(--primary-light) 100%);
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: #fbbf24;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 2.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fbbf24;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
}

.btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ==================== 筛选区域 ==================== */
.filter-section {
  background: white;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 68px;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.filter-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.filter-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: white;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
  min-width: 120px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.view-toggle-group {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.25rem;
  background: var(--bg-color);
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-btn {
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  background: white;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.tag-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tag-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search-box::before {
  content: '🔍';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
}

/* ==================== 主内容区 ==================== */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.results-count strong {
  color: var(--primary-color);
  font-weight: 700;
}

.results-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==================== 政策卡片 ==================== */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
}

.policy-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border-color);
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.city-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.category-badge {
  padding: 0.25rem 0.5rem;
  background: var(--bg-color);
  color: var(--text-secondary);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.card-body {
  padding: 1.25rem;
}

.policy-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.policy-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.highlights {
  list-style: none;
  margin-bottom: 1rem;
}

.highlights li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* 政策详情展开 */
.policy-details {
  display: none;
  padding: 1rem;
  background: var(--bg-color);
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy-details.show {
  display: block;
  animation: slideDown 0.3s ease;
}

.policy-details p {
  margin-bottom: 0.75rem;
}

.policy-details p:last-child {
  margin-bottom: 0;
}

.policy-details strong {
  color: var(--text-primary);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subsidies-bar {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-color);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.subsidy-item {
  flex: 1;
  text-align: center;
}

.subsidy-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.subsidy-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
}

.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-color);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.source-info {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* 展开按钮 */
.btn-expand {
  background: var(--primary-color);
  color: white;
}

.btn-expand:hover {
  background: var(--primary-dark);
}

.btn-expand.expanded {
  background: var(--text-secondary);
}

/* ==================== 城市分组视图 ==================== */
.city-section {
  margin-bottom: 2.5rem;
}

.city-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.city-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.city-count {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.city-provinces {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==================== FAQ区域 ==================== */
.faq-section {
  background: white;
  padding: 4rem 1.5rem;
  margin-top: 2rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  background: white;
  transition: background 0.2s;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 1.5rem;
  background: white;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.faq-answer strong {
  color: var(--text-primary);
}

/* FAQ补贴网格 */
.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.subsidy-card {
  background: var(--bg-color);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.subsidy-card h4 {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.subsidy-card p {
  font-size: 0.85rem;
  margin: 0;
}

/* 城市标签 */
.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.city-tag {
  background: var(--primary-color);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
}

/* 提示框和警告框 */
.tip {
  background: #fef3c7;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border-left: 4px solid #f59e0b;
  margin-top: 1rem !important;
}

.warning-box {
  background: #fef2f2;
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 4px solid #ef4444;
  margin: 1rem 0;
}

.warning-box p {
  margin-bottom: 0.5rem;
}

.warning-box ul {
  margin: 0.5rem 0 0 1.5rem;
}

/* ==================== 底部 ==================== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section p,
.footer-section a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  text-decoration: none;
}

.footer-section a:hover {
  color: white;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.25rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: white;
}

.footer-tech {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

/* ==================== 空状态 ==================== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
}

/* ==================== 提示框 ==================== */
.tooltip {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text-primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.tooltip.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==================== 回到顶部按钮 ==================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h2 {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .filter-section {
    top: auto;
    position: relative;
  }
  
  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .filter-select {
    width: 100%;
  }
  
  .view-toggle-group {
    width: 100%;
    justify-content: center;
  }
  
  .tag-filter {
    justify-content: center;
  }
  
  .policies-grid {
    grid-template-columns: 1fr;
  }
  
  .subsidies-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .card-footer {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .card-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .faq-section {
    padding: 2rem 1rem;
  }
  
  .faq-header h2 {
    font-size: 1.5rem;
  }
  
  .subsidy-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .policy-card {
    margin: 0 -0.5rem;
    border-radius: 0;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-lg {
    width: 100%;
  }
}

/* ==================== 加载动画 ==================== */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ==================== 滚动条美化 ==================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* ==================== 打印样式 ==================== */
@media print {
  .header,
  .filter-section,
  .back-to-top,
  .tooltip,
  .loading-overlay {
    display: none !important;
  }
  
  .policy-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .footer {
    background: #f5f5f5;
    color: #333;
  }
}

/* ==================== 平台内容板块 ==================== */
.platform-intro {
  background: white;
  padding: 2rem 1.5rem;
  margin-top: -1rem;
  position: relative;
  z-index: 10;
}

.platform-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.intro-card {
  background: linear-gradient(135deg, var(--bg-color), #fff);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.intro-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.intro-card:nth-child(2):hover {
  border-color: #059669;
}

.intro-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.intro-card:nth-child(2) .intro-icon {
  background: linear-gradient(135deg, #059669, #10b981);
}

.intro-content {
  flex: 1;
}

.intro-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.intro-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.intro-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.topic-tag {
  padding: 0.25rem 0.625rem;
  background: var(--primary-color);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.intro-card:nth-child(2) .topic-tag {
  background: #059669;
}

.intro-arrow {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: transform 0.2s;
}

.intro-card:hover .intro-arrow {
  transform: translateX(4px);
}

.intro-card:nth-child(2):hover .intro-arrow {
  color: #059669;
}

/* 导航激活状态 */
.nav-links a.active {
  color: white;
  border-bottom: 2px solid white;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .platform-intro {
    padding: 1.5rem 1rem;
  }
  
  .intro-card {
    padding: 1.25rem;
  }
  
  .intro-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .intro-content h3 {
    font-size: 1.1rem;
  }
}
/* ==================== 重点城市深度攻略入口 ==================== */
.featured-cities {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 3rem 1.5rem;
}

.featured-container {
  max-width: 1000px;
  margin: 0 auto;
}

.featured-header {
  text-align: center;
  margin-bottom: 2rem;
}

.featured-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.featured-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.featured-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.zhengzhou-card::before {
  background: linear-gradient(90deg, #059669, #047857);
}

.shanghai-card::before {
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
}

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

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.zhengzhou-card .featured-badge {
  background: #dcfce7;
  color: #16a34a;
}

.shanghai-card .featured-badge {
  background: #ede9fe;
  color: #7c3aed;
}

.featured-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.featured-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.featured-subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.featured-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.featured-highlights span {
  background: var(--bg-color);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
}

.zhengzhou-card .featured-highlights span {
  background: #ecfdf5;
}

.shanghai-card .featured-highlights span {
  background: #f5f3ff;
}

.featured-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.featured-tag {
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.zhengzhou-card .featured-tag {
  background: #059669;
  color: white;
}

.shanghai-card .featured-tag {
  background: #7c3aed;
  color: white;
}

.featured-arrow {
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.zhengzhou-card .featured-arrow {
  color: #059669;
}

.shanghai-card .featured-arrow {
  color: #7c3aed;
}

.featured-card:hover .featured-arrow {
  transform: translateX(4px);
}

/* 响应式 */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-header h2 {
    font-size: 1.5rem;
  }
}
