/* ============= 离境退税 - 深圳购物平台 站点样式 ============= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ----------- 顶部导航 ----------- */
.header {
  background: #2563EB;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #DBEAFE;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav a:hover { color: #fff; }
.nav a.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}
.header-right { display: flex; align-items: center; gap: 16px; }
.lang-select {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

/* ----------- 通用容器 ----------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------- 首页 Hero ----------- */
.hero {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero p {
  font-size: 18px;
  margin-bottom: 36px;
  color: #DBEAFE;
}
.hero .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary { background: #fff; color: #2563EB; }
.btn-primary:hover { background: #F3F4F6; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ----------- 区块通用 ----------- */
.section { padding: 80px 0; }
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #111827;
}
.section-subtitle {
  text-align: center;
  color: #6B7280;
  margin-bottom: 48px;
  font-size: 16px;
}

/* ----------- 服务特色四宫格 ----------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
  border-color: #2563EB;
}
.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #DBEAFE;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111827;
}
.feature-card p { color: #6B7280; font-size: 14px; }

/* ----------- 资讯卡片网格 ----------- */
.news-section { background: #F9FAFB; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.news-card .thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.news-card .tag {
  background: #DBEAFE;
  color: #1E40AF;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.news-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111827;
  line-height: 1.4;
}
.news-card p {
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 14px;
  flex: 1;
}
.news-card .more { color: #2563EB; font-weight: 500; font-size: 14px; }

.news-section .view-all {
  text-align: right;
  margin-bottom: 24px;
}
.news-section .view-all a {
  color: #2563EB;
  font-weight: 500;
}

/* ----------- 信任保障 ----------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  text-align: center;
  padding: 24px;
}
.trust-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: #2563EB;
  font-size: 28px;
}
.trust-card h4 { font-size: 16px; margin-bottom: 6px; color: #111827; }
.trust-card p { color: #6B7280; font-size: 14px; }

/* ----------- 资讯列表页 ----------- */
.page-header {
  background: linear-gradient(90deg, #0066FF, #00AAFF);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}
.page-header h1 { font-size: 36px; margin-bottom: 8px; }
.page-header p { font-size: 16px; opacity: 0.9; }

.filter-bar {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
  margin-bottom: 32px;
}
.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background: #F3F4F6;
  color: #4B5563;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab.active, .filter-tab:hover {
  background: #2563EB;
  color: #fff;
}
.filter-search {
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  width: 240px;
  font-size: 14px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s;
}
.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.news-item img { width: 100%; height: 100%; object-fit: cover; }
.news-item .body { padding: 22px 28px; }
.news-item .meta { font-size: 13px; color: #6B7280; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.news-item h3 { font-size: 20px; margin-bottom: 10px; color: #111827; }
.news-item p { color: #6B7280; font-size: 15px; line-height: 1.7; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 48px 0 24px;
}
.pagination button, .pagination .page {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  background: #fff;
  color: #4B5563;
  border: 1px solid #E5E7EB;
  font-size: 14px;
}
.pagination .page.active { background: #2563EB; color: #fff; border-color: #2563EB; }
.pagination button:hover, .pagination .page:hover { border-color: #2563EB; color: #2563EB; }
.pagination .page.active:hover { color: #fff; }

/* ----------- 详情页 ----------- */
.article-wrap { max-width: 880px; margin: 0 auto; padding: 48px 24px; }
.back-link {
  color: #2563EB;
  font-size: 14px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-link:hover { text-decoration: underline; }

.article-title {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 32px;
}
.article-cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}
.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: #1F2937;
}
.article-content p { margin: 16px 0; }
.article-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid #2563EB;
}
.article-content ul {
  list-style: disc;
  padding-left: 24px;
  margin: 16px 0;
}
.article-content ul li { margin: 8px 0; }
.article-content strong { color: #111827; }

.share-bar {
  margin: 40px 0;
  padding: 16px 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  text-align: center;
}
.share-bar .btn { background: #2563EB; color: #fff; padding: 10px 24px; }

.related {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #E5E7EB;
}
.related h3 {
  font-size: 22px;
  margin-bottom: 24px;
  color: #111827;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-item {
  padding: 20px;
  background: #F9FAFB;
  border-radius: 10px;
  transition: all 0.2s;
}
.related-item:hover { background: #EFF6FF; }
.related-item h4 { font-size: 16px; color: #111827; margin-bottom: 8px; }
.related-item .date { font-size: 13px; color: #6B7280; }

/* ----------- 页脚 ----------- */
.footer {
  background: #111827;
  color: #D1D5DB;
  padding: 56px 24px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p, .footer li { font-size: 14px; line-height: 1.9; color: #9CA3AF; }
.footer ul li { padding-left: 0; }
.footer-copy {
  border-top: 1px solid #1F2937;
  margin-top: 40px;
  padding-top: 20px;
  padding-bottom: 4px;
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.icp-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.icp-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}
.icp-info a {
  color: #9CA3AF;
  font-size: 13px;
  transition: color 0.2s;
}
.icp-info a:hover {
  color: #D1D5DB;
  text-decoration: underline;
}

/* ----------- 响应式 ----------- */
@media (max-width: 960px) {
  .feature-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .feature-grid, .trust-grid, .news-grid, .related-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item img { height: 200px; }
  .article-title { font-size: 28px; }
}
