/* 现代化UI系统与响应式设计 */
:root {
  --max-w: 1200px;
  --brand-primary: #d70c18;
  --brand-secondary: #ef5350;
  --brand-accent: #ffcc00;
  --brand-success: #0b8;
  --brand-danger: #e63946;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f7f7f8;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

/* 改进的文字样式 */
p {
  margin: 12px 0;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* 增强的头部设计 */
header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.brand:hover img {
  transform: scale(1.05);
}

.brand strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.brand .muted {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 现代化导航 */
nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  color: var(--brand-primary);
  background: rgba(0, 102, 204, 0.08);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 60%;
}
/* 增强的英雄区域 */
.hero {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(0, 102, 204, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(77, 166, 255, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero.gradient {
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-secondary) 50%,
    var(--brand-secondary) 100%
  );
  color: #fff;
  position: relative;
  padding: 40px 0;
}

.hero.gradient::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 204, 0, 0.1) 0%,
    transparent 40%
  );
  pointer-events: none;
}

/* Hero内容布局 */
.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  min-height: 300px;
}

.hero-text {
  max-width: 900px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* APP Logo Hero */
.app-logo-hero {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all var(--transition-base);
}

.app-logo-hero:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.app-logo-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hero底部下载区域 */
.hero-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.download-info {
  flex: 1;
}

.download-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.download-info p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  max-width: 400px;
}

.qr-code-hero {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition-base);
  text-align: center;
}

.qr-code-hero:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.qr-code-hero img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.qr-code-hero::after {
  content: "扫码下载";
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  color: #fff;
  max-width: 700px;
}

/* 现代化按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  gap: 8px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn.round {
  border-radius: 999px;
}

.btn.primary {
  background: var(--brand-accent);
  color: var(--text-primary);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
}

.btn.primary:hover {
  background: #ffd700;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero.gradient .btn {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  background: transparent;
}

.hero.gradient .btn:hover {
  background: var(--brand-accent);
  color: var(--text-primary);
}

/* 增强的标题样式 */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--brand-primary);
  position: relative;
  letter-spacing: -0.01em;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--brand-accent);
}

/* 现代化高亮框 */
.highlight {
  background: linear-gradient(135deg, #fff8f7 0%, #fff0ee 100%);
  border-left: 4px solid var(--brand-primary);
  padding: 24px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.highlight::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: 0 0 0 40px;
  opacity: 0.1;
}
/* 现代化下载区域 */
.download-section {
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-secondary) 100%
  );
  color: #fff;
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.download-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.download-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 500px;
  line-height: 1.6;
}

.qr-code {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.qr-code:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.2);
}

.qr-code img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.qr-code p {
  color: #fff;
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}
/* CTA按钮区域 */
.cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

/* 响应式下载区域 */
@media (max-width: 992px) {
  .download-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .download-text {
    max-width: 100%;
  }

  .qr-code {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .download-section {
    padding: 32px 24px;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
/* 现代化网格系统 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 增强的卡片设计 */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.card:hover::before {
  transform: scaleX(1);
}
/* 增强的图片包装器 */
.img-wrap {
  position: relative;
  overflow: hidden;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
  filter: brightness(1);
}

.img-wrap:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.figcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  font-size: 14px;
  padding: 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
  backdrop-filter: blur(2px);
  transition: all var(--transition-fast);
}

.img-wrap:hover .figcap {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.figcap strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.figcap span {
  opacity: 0.9;
  font-size: 13px;
}

.card-body {
  padding: 20px;
}
/* 增强的章节样式 */
.section {
  padding: 64px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-secondary);
}

/* 现代化功能区域 */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 700px) {
  .features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.feature {
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.feature:hover::before {
  transform: scaleY(1);
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature h3::before {
  content: "✨";
  font-size: 1.1em;
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
/* 现代化页脚 - 参考download-section设计 */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding: 48px 0;
}

.footer-info {
  flex: 1;
  min-width: 200px;
}

.footer-info > div {
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-info > div:first-child {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.footer-info .muted {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-qr {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.footer-qr:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.2);
}

.footer-qr h4 {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 12px 0;
}

.footer-qr img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-qr p {
  color: #fff;
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer响应式设计 */
@media (max-width: 992px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-qr {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    padding: 32px 0;
  }

  .footer-qr img {
    width: 120px;
    height: 120px;
  }

  .footer-qr h4 {
    font-size: 0.95rem;
  }

  .footer-qr p {
    font-size: 0.8rem;
  }
}

/* 改进的文字样式 */
.muted {
  color: #fff;
}

.content {
  line-height: 1.7;
  font-size: 1.05rem;
}

.content h2 {
  color: var(--text-primary);
  margin: 32px 0 16px 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.content ul {
  padding-left: 24px;
  margin: 16px 0;
}

.content li {
  margin: 8px 0;
  color: var(--text-secondary);
}

/* 现代化徽章系统 */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
/* 移动端菜单优化 */
.mobile-toggle {
  display: none;
  padding: 10px 16px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--brand-secondary);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .mobile-toggle {
    display: block;
  }

  .header-row nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .header-row.nav-open nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .nav-link {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .nav-link:hover {
    background: rgba(0, 102, 204, 0.1);
  }
}
/* Mermaid图表优化 */
.mermaid {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

/* 缩略图网格 */
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 800px) {
  .thumbs {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.thumbs .img-wrap {
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.thumbs .img-wrap:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
/* 增强的灯箱组件 */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  color: #fff;
  margin-top: 16px;
  text-align: center;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lightbox-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lightbox-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none;
}

.lightbox-nav .icon-btn {
  background: rgba(255, 255, 255, 0.8);
  pointer-events: all;
  font-size: 1.2rem;
}

.lightbox-nav .icon-btn:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* 添加加载动画 */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ========================================
   用户协议/隐私政策页面专用样式
   ======================================== */

/* 协议英雄区域样式 */
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.meta-value {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

.document-icon {
  font-size: 8rem;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

/* 隐私政策图标样式 */
.privacy-icon {
  font-size: 8rem;
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 快速导航区域 */
.legal-nav {
  margin-bottom: 48px;
  text-align: center;
}

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

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

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

.nav-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.02) 0%,
    rgba(0, 102, 204, 0.05) 100%
  );
}

.nav-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.nav-text {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

/* 协议内容区域 */
.legal-content {
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.section-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--brand-primary);
  opacity: 0.15;
  position: absolute;
  right: 0;
  top: -20px;
}

.section-content {
  padding-left: 20px;
  border-left: 3px solid var(--border-color);
  position: relative;
}

.section-content::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow:
    0 0 0 3px var(--bg-primary),
    0 0 0 5px var(--brand-primary);
}

.section-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px 0;
}

.section-content h3:first-child {
  margin-top: 0;
}

.section-content p {
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.02) 0%,
    rgba(0, 102, 204, 0.05) 100%
  );
  padding: 24px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-primary);
}

/* 特殊信息框 */
.highlight-box,
.warning-box,
.info-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  margin: 24px 0;
  align-items: flex-start;
}

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.1) 0%,
    rgba(255, 193, 7, 0.05) 100%
  );
  border-left: 4px solid #ffc107;
}

.warning-box {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1) 0%,
    rgba(220, 53, 69, 0.05) 100%
  );
  border-left: 4px solid #dc3545;
}

.info-box {
  background: linear-gradient(
    135deg,
    rgba(13, 202, 240, 0.1) 0%,
    rgba(13, 202, 240, 0.05) 100%
  );
  border-left: 4px solid #0dcaf0;
}

.highlight-icon,
.warning-icon,
.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-content h4,
.warning-content h4,
.info-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.highlight-content p,
.warning-content p,
.info-content p {
  margin: 0;
  line-height: 1.6;
}

/* 法律条款列表 */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-color);
}

.legal-list li:last-child {
  border-bottom: none;
}

.legal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--brand-primary);
  font-weight: bold;
}

/* 联系方式卡片 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.contact-card {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

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

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.contact-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.contact-card p {
  color: var(--text-secondary);
  margin: 4px 0;
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-meta {
    gap: 16px;
  }

  .meta-item {
    min-width: 120px;
  }

  .document-icon {
    font-size: 6rem;
  }

  .nav-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .nav-item {
    padding: 20px 12px;
  }

  .nav-icon {
    font-size: 2rem;
  }

  .section-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-number {
    position: static;
    font-size: 2.5rem;
    margin-bottom: 8px;
  }

  .section-content {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--border-color);
    padding-top: 24px;
    margin-top: 24px;
  }

  .section-content::before {
    display: none;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .nav-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .highlight-box,
  .warning-box,
  .info-box {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ========================================
   APP流程图页面专用样式
   ======================================== */

/* 流程图卡片网格 */
.flowcharts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

/* 流程图卡片 */
.flowchart-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
  position: relative;
}

.flowchart-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.flowchart-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.flowchart-card:hover::before {
  transform: scaleX(1);
}

/* 流程图卡片头部 */
.flowchart-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.02) 0%,
    rgba(0, 102, 204, 0.05) 100%
  );
}

.flowchart-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.flowchart-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.flowchart-header p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 流程图内容区域 */
.flowchart-content {
  padding: 32px;
  background: var(--bg-primary);
}

.flowchart-content .mermaid {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* APP界面截图展示 */
.app-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.app-screenshots img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.app-screenshots img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* 流程图页面响应式设计 */
@media (max-width: 768px) {
  .flowcharts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flowchart-header {
    padding: 24px 24px 20px;
  }

  .flowchart-content {
    padding: 24px 20px;
  }

  .flowchart-icon {
    font-size: 2rem;
  }

  .flowchart-header h3 {
    font-size: 1.3rem;
  }

  .app-screenshots {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .flowcharts-grid {
    gap: 20px;
  }

  .flowchart-header {
    padding: 20px;
  }

  .flowchart-content {
    padding: 20px 16px;
  }

  .flowchart-icon {
    font-size: 1.8rem;
  }

  .app-screenshots {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ========================================
   产品展示页面专用样式
   ======================================== */

/* 英雄区域统计数字 */
.hero-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  color: #fff;
  font-weight: 500;
}

/* 筛选区域 */
.filter-section {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 16px 0 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 功能分类标签 */
.filter-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.filter-tab {
  padding: 12px 24px;
  border: 2px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.filter-tab:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.filter-tab.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

/* 产品图库布局 */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 1200px) {
  .product-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .app-logo-hero {
    width: 120px;
    height: 120px;
  }

  .hero-visual {
    gap: 24px;
  }
}

/* 产品卡片样式 */
.product-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  overflow: hidden;
  line-height: 0;
}

.product-category {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
}

.category-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.shopping-tag {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  padding: 10px;
  color: #fff;
}

.cross-border-tag {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: #fff;
}

.services-tag {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.enterprise-tag {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: #fff;
}

.default-tag {
  background: linear-gradient(135deg, #a8e063, #56ab2f);
  color: #fff;
}

/* 图片悬停效果 */
.product-item .img-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-xl);
  border: 0;
  line-height: 0;
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
  z-index: 3; /* 设置overlay的z-index，低于文字 */
}

.product-item:hover .img-overlay {
  opacity: 1;
}

.view-icon {
  font-size: 2rem;
  transform: scale(0.8);
  transition: transform var(--transition-fast);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.product-item:hover .view-icon {
  transform: scale(1);
}

.product-item:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.product-item:hover .img-wrap img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.product-item:hover .figcap {
  transform: translateY(-4px);
}

/* 增强的图片说明 */
.product-item .figcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  color: #fff;
  font-size: 14px;
  padding: 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
  backdrop-filter: blur(2px);
  transition: all var(--transition-fast);
  z-index: 10; /* 确保文字在所有元素之上 */
}

.product-item:hover .figcap {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.product-item .figcap strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  line-height: 1.2;
  position: relative;
  z-index: 11; /* 确保标题在最高层 */
}

.product-item .figcap span {
  display: block;
  opacity: 0.9;
  font-size: 13px;
  line-height: 1.3;
  position: relative;
  z-index: 11; /* 确保副标题在最高层 */
}

/* 加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.product-item:nth-child(1) {
  animation-delay: 0.1s;
}
.product-item:nth-child(2) {
  animation-delay: 0.2s;
}
.product-item:nth-child(3) {
  animation-delay: 0.3s;
}
.product-item:nth-child(4) {
  animation-delay: 0.4s;
}
.product-item:nth-child(5) {
  animation-delay: 0.5s;
}
.product-item:nth-child(6) {
  animation-delay: 0.6s;
}
.product-item:nth-child(7) {
  animation-delay: 0.7s;
}
.product-item:nth-child(8) {
  animation-delay: 0.8s;
}
.product-item:nth-child(9) {
  animation-delay: 0.9s;
}
.product-item:nth-child(10) {
  animation-delay: 1s;
}

/* 隐藏元素（用于筛选） */
.product-item.hidden {
  display: none;
}

.product-item.filtered {
  animation: fadeInUp 0.4s ease-out;
}

/* 无结果提示 */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  display: none;
}

.no-results.show {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.no-results p {
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

/* ========================================
   应用介绍页面专用样式
   ======================================== */

/* 章节介绍样式 */
.section-intro {
  text-align: center;
  margin-bottom: 48px;
}

.section-intro .section-title {
  margin-bottom: 32px;
}

/* 功能图标样式 */
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-md);
}

/* 应用特色展示 */
.app-showcase {
  margin-top: 48px;
}

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

.showcase-item.reverse {
  grid-template-columns: 1fr 1fr;
}

.showcase-item.reverse > .showcase-content {
  order: 2;
}

.showcase-item.reverse > .showcase-image {
  order: 1;
}

.showcase-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}

.showcase-content h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 2px;
}

.showcase-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.showcase-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.showcase-image:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base);
}

.showcase-image:hover img {
  transform: scale(1.05);
}

/* 数据统计网格 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}

/* 合规展示区域 */
.compliance-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.compliance-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}

.compliance-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compliance-content {
  flex: 1;
}

.compliance-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 0;
}

.compliance-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* 响应式优化 */
@media (max-width: 900px) {
  .showcase-item {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .showcase-item.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-item.reverse > .showcase-content,
  .showcase-item.reverse > .showcase-image {
    order: unset;
  }

  .showcase-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .showcase-item {
    gap: 24px;
    margin-bottom: 48px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .compliance-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .compliance-item {
    padding: 20px;
    gap: 16px;
  }

  .compliance-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .stat-card {
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-icon {
    font-size: 2.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}
/* 响应式容器优化 */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .section {
    padding: 32px 0;
  }

  .hero {
    padding: 48px 0;
  }

  .download-section {
    padding: 24px 16px;
  }
}

/* 联系方式页面样式 */
.contact-icon {
  animation: bounce 2s ease-in-out infinite;
}

/* 快速联系网格 */
.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card.primary {
  background: linear-gradient(135deg, #a50917 0%, #c51c2b 100%);
  color: white;
  border: none;
}

.contact-icon-large {
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.contact-card.primary .contact-icon-large {
  background: rgba(255, 255, 255, 0.2);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #1f2937;
}

.contact-card.primary h3 {
  color: white;
}

.contact-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ad1020;
  margin: 16px 0 8px 0;
  letter-spacing: -1px;
}

.contact-card.primary .contact-number {
  color: white;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ad1020;
  margin: 16px 0 8px 0;
  word-break: break-all;
}

.contact-card.primary .contact-email {
  color: white;
}

.contact-chat {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ad1020;
  margin: 16px 0 8px 0;
}

.contact-card.primary .contact-chat {
  color: white;
}

.contact-desc {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin: 8px 0 24px 0;
}

.contact-card.primary .contact-desc {
  color: rgba(255, 255, 255, 0.9);
}

.contact-action {
  margin-top: 24px;
}

.contact-action .btn {
  width: 100%;
  padding: 16px 32px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-card.primary .btn {
  background: white;
  color: #ad1020;
}

.contact-card.primary .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* 公司信息网格 */
.company-info-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.company-info-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.company-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #a50917 0%, #c51c2b 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.info-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.info-content p {
  color: #374151;
  line-height: 1.7;
  margin: 0 0 20px 0;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.info-content p:last-child {
  margin-bottom: 0;
}

/* 功能特性网格 */
.info-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.feature-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-item span:last-child {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

/* 地址项目 */
.address-item {
  margin-bottom: 24px;
}

.address-item:last-child {
  margin-bottom: 0;
}

.address-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.address-item p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* 地图容器 */
.map-container {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.map-container:hover .map-image {
  transform: scale(1.02);
}

.map-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.map-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.map-button {
  margin-top: 16px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.map-button:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
}

.tencent-map-iframe {
  display: block;
  width: 100%;
  border: none;
  min-height: 280px;
}

.amap-iframe {
  display: block;
  width: 100%;
  border: none;
}

/* 地图占位符 - 备用样式 */
.map-placeholder {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px dashed #d1d5db;
}

.map-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 200px;
  background: rgba(0, 0, 0, 0.02);
}

.map-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: #6b7280;
}

.map-content p {
  margin: 0 0 4px 0;
  font-weight: 600;
  color: #374151;
}

.map-content small {
  color: #6b7280;
  font-size: 0.9rem;
}

/* 时间安排项目 */
.schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.schedule-time {
  color: #374151;
  font-weight: 500;
  margin: 0;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #6b7280;
}

.status-badge.available {
  background: #10b981;
  color: white;
}

.status-badge.off {
  background: #ef4444;
  color: white;
}

/* 业务咨询网格 */
.business-consultation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.consultation-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.consultation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.consultation-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 24px;
}

.consultation-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 16px 0;
}

.consultation-card p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 24px 0;
  font-size: 0.95rem;
}

.consultation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.consultation-contact {
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.consultation-contact p {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.consultation-contact a {
  display: block;
  color: #10b981;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.consultation-contact a:hover {
  color: #059669;
}

/* 社交媒体链接 */
.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  background: white;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.social-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 16px;
}

.social-link h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.social-link p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

/* 联系方式页面响应式设计 */
@media (max-width: 1024px) {
  .quick-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-consultation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .quick-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .business-consultation-grid {
    grid-template-columns: 1fr;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
  }

  .company-info-card {
    padding: 24px;
  }

  .consultation-card {
    padding: 24px;
  }

  .contact-number {
    font-size: 1.8rem;
  }

  .contact-email {
    font-size: 1.1rem;
  }

  .info-features {
    grid-template-columns: 1fr;
  }

  .feature-item {
    justify-content: center;
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .amap-iframe,
  .tencent-map-iframe {
    height: 220px;
  }
}

/* 中百仓储品牌资源：保持横版标识的原始比例。 */
.brand > img { width: 190px; height: auto; border-radius: 0; box-shadow: none; object-fit: contain; }
.brand > div { display: none; }
.footer-qr.brand-slogan img { width: min(100%, 350px); height: auto; border-radius: 0; box-shadow: none; }
@media (max-width: 600px) { .brand > img { width: 155px; } }

/* 品牌色对比度修正：区分红色背景与前景内容。 */
.hero-stats .stat-number, .hero-stats .stat-label { color: #fff; opacity: 1; }
.stat-card .stat-label { color: #52525b; opacity: 1; }
.stat-card .stat-number { text-shadow: none; }
.feature-icon { background: #fff1ed; color: #981322; box-shadow: 0 3px 12px rgba(90, 25, 25, .08); }
.hero.gradient .btn { background: transparent; color: #fff; border-color: #fff; }
.hero.gradient .btn:hover { background: #fff; color: #981322; }
.hero.gradient .btn.primary { background: #fff; color: #981322; border-color: #fff; }
.hero.gradient .btn.primary:hover { background: #fff0ed; border-color: #fff0ed; }
.contact-card.primary .btn { color: #981322; border-color: #fff; }
.contact-card.primary .btn:hover { background: #fff0ed; border-color: #fff0ed; }
.highlight p { color: #484044; }
