/* 国清汇设计规范样式 - 符合国家权威形象要求 */

/* 字体引入 - 思源宋体和站酷庆科 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&display=swap');

/* 设计规范色彩变量 */
:root {
  /* 主色调 - 体现权威、温度、安全 */
  --national-red: #d61229;          /* 国旗红 - 权威性 */
  --titanium-white: #ffffff;        /* 钛白 - 温度感 */
  --light-gold: #f4d03f;           /* 浅金色 - 安全可靠 */
  --accent-gray: #f8f9fa;          /* 淡灰色 - 辅助色 */
  
  /* 语义化颜色 */
  --authority-red: var(--national-red);
  --trust-white: var(--titanium-white);
  --security-gold: var(--light-gold);
  --neutral-gray: var(--accent-gray);
  
  /* 文字颜色 */
  --text-primary: #2c2d36;
  --text-secondary: #666666;
  --text-muted: #999999;
  --text-on-dark: var(--trust-white);
  
  /* 权威徽章颜色 */
  --emblem-gold: #c9a961;
  --emblem-shadow: rgba(212, 18, 41, 0.15);
  
  /* 金融科技元素颜色 */
  --blockchain-blue: #1a365d;
  --fintech-cyan: #0891b2;
  --security-green: #047857;
  
  /* 导航栏配置 */
  --navbar-text-color: #ffffff;
}

/* 字体家族定义 */
.font-title {
  font-family: 'Noto Serif SC', '思源宋体', serif;
  font-weight: 700;
}

.font-body {
  font-family: 'Noto Serif SC', '思源宋体', serif;
  font-weight: 400;
}

.font-english {
  font-family: 'Avenir', sans-serif;
}

/* 权威性标题样式 */
.authority-heading {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  color: var(--authority-red);
  text-shadow: 0 1px 2px var(--emblem-shadow);
  position: relative;
}

.authority-heading::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--authority-red), var(--security-gold));
  border-radius: 2px;
}

/* 国徽风格装饰元素 */
.emblem-decoration {
  position: relative;
  display: inline-block;
}

.emblem-decoration::before {
  content: '★';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--security-gold);
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.emblem-decoration::after {
  content: '★';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--security-gold);
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* 权威认证徽章 */
.authority-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--authority-red), #b91021);
  color: var(--trust-white);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--emblem-shadow);
  position: relative;
  overflow: hidden;
}

.authority-badge::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 0.6s;
}

.authority-badge:hover::before {
  left: 100%;
}

/* 金融科技图标样式 */
.fintech-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: linear-gradient(135deg, var(--fintech-cyan), var(--blockchain-blue));
  border-radius: 12px;
  color: var(--trust-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
  position: relative;
  overflow: hidden;
}

.fintech-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.fintech-icon:hover::before {
  transform: translateX(100%);
}

/* 安全认证标识 */
.security-seal {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--security-green);
  color: var(--trust-white);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.25);
}

/* 到账动画效果 */
@keyframes deposit-bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); color: var(--security-gold); }
  100% { transform: scale(1); }
}

.deposit-amount {
  font-family: 'Avenir', monospace;
  font-weight: 700;
  color: var(--authority-red);
  font-size: 24px;
  animation: deposit-bounce 2s ease-in-out infinite;
}

/* 流程连通动画 */
@keyframes flow-connect {
  0% { width: 0%; }
  100% { width: 100%; }
}

.process-connector {
  position: relative;
  height: 3px;
  background: var(--neutral-gray);
  border-radius: 2px;
  overflow: hidden;
}

.process-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--authority-red), var(--security-gold));
  animation: flow-connect 3s ease-in-out infinite;
  border-radius: 2px;
}

/* 热力地图点亮效果 */
@keyframes map-highlight {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.8; transform: scale(1); }
}

.map-point {
  width: 12px;
  height: 12px;
  background: var(--authority-red);
  border-radius: 50%;
  position: absolute;
  animation: map-highlight 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--authority-red);
}

.map-point:nth-child(2) { animation-delay: 0.5s; }
.map-point:nth-child(3) { animation-delay: 1s; }
.map-point:nth-child(4) { animation-delay: 1.5s; }

/* 权威按钮样式 */
.btn-authority {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--authority-red), #b91021);
  color: var(--trust-white);
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px var(--emblem-shadow);
  position: relative;
  overflow: hidden;
}

.btn-authority:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--emblem-shadow);
}

.btn-authority:active {
  transform: translateY(0);
}

/* 金色按钮 - 用于重要CTA */
.btn-gold {
  background: linear-gradient(135deg, var(--security-gold), var(--emblem-gold));
  color: var(--text-primary);
  font-weight: 700;
}

/* 卡片样式 - 体现权威性 */
.authority-card {
  background: var(--trust-white);
  border: 1px solid var(--neutral-gray);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
}

.authority-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--authority-red), var(--security-gold));
  border-radius: 12px 12px 0 0;
}

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

/* 统计数据展示 */
.stats-counter {
  font-family: 'Avenir', monospace;
  font-size: 36px;
  font-weight: 900;
  color: var(--authority-red);
  text-align: center;
  position: relative;
}

.stats-counter::after {
  content: attr(data-unit);
  font-size: 14px;
  color: var(--text-secondary);
  position: absolute;
  top: 0;
  right: -20px;
}

/* 信任标识 */
.trust-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--neutral-gray), #e9ecef);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-primary);
  border: 1px solid var(--security-gold);
}

.trust-indicator::before {
  content: '🛡️';
  font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .authority-heading {
    font-size: 24px;
  }
  
  .emblem-decoration::before,
  .emblem-decoration::after {
    display: none;
  }
  
  .btn-authority {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .stats-counter {
    font-size: 28px;
  }
}

/* 专用于国清汇的品牌色彩组合 */
.hxd-primary { background-color: var(--authority-red); color: var(--trust-white); }
.hxd-secondary { background-color: var(--security-gold); color: var(--text-primary); }
.hxd-accent { background-color: var(--neutral-gray); color: var(--text-primary); }

.text-hxd-red { color: var(--authority-red); }
.text-hxd-gold { color: var(--security-gold); }
.text-hxd-primary { color: var(--text-primary); }

/* 渐变背景 - 用于重要区域 */
.bg-authority-gradient {
  background: linear-gradient(135deg, var(--authority-red) 0%, #b91021 100%);
  color: var(--trust-white);
}

.bg-trust-gradient {
  background: linear-gradient(135deg, var(--trust-white) 0%, var(--neutral-gray) 100%);
}

/* 导航栏样式 */
.navbar, .nav-menu, .nav-link, .dropdown-link {
  color: var(--navbar-text-color) !important;
}

.navbar a, .nav-menu a, .nav-link, .dropdown-link {
  color: var(--navbar-text-color) !important;
  text-decoration: none;
}

.navbar a:hover, .nav-link:hover, .dropdown-link:hover {
  color: var(--security-gold) !important;
  transition: color 0.3s ease;
}

/* 确保导航栏背景支持白色文字 */
.navbar-container {
  background: var(--authority-red);
}

.navbar-container .navbar {
  color: var(--navbar-text-color);
}