/* ========================================
   Trust冷钱包 - 全站共享样式表
   深空蓝到极光紫渐变色系 + 磨砂玻璃效果
   ======================================== */

/* === 基础重置与字体 === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

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

:root {
  --deep-space: #0a0e27;
  --space-blue: #0d1440;
  --aurora-purple: #6c3ce0;
  --aurora-pink: #c850c0;
  --neon-blue: #00d4ff;
  --neon-green: #00ff88;
  --electric-blue: #3b82f6;
  --card-bg: rgba(15, 23, 60, 0.6);
  --card-border: rgba(108, 60, 224, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.5);
  --gradient-main: linear-gradient(135deg, #0a0e27 0%, #1a1055 40%, #6c3ce0 100%);
  --gradient-card: linear-gradient(135deg, rgba(108, 60, 224, 0.15), rgba(0, 212, 255, 0.08));
  --gradient-btn: linear-gradient(135deg, #6c3ce0, #00d4ff);
  --gradient-accent: linear-gradient(135deg, #c850c0, #6c3ce0);
  --font-main: 'Inter', 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-glow: 0 0 30px rgba(108, 60, 224, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--deep-space);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === 粒子/网格背景 === */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(108, 60, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 60, 224, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--neon-blue);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 80%; top: 15%; animation-delay: 3s; animation-duration: 24s; }
.particle:nth-child(6) { left: 90%; top: 50%; animation-delay: 5s; animation-duration: 19s; }
.particle:nth-child(7) { left: 15%; top: 80%; animation-delay: 6s; animation-duration: 21s; }
.particle:nth-child(8) { left: 55%; top: 90%; animation-delay: 7s; animation-duration: 17s; }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(30px, -50px) scale(1.5); opacity: 0.6; }
  50% { transform: translate(-20px, -100px) scale(1); opacity: 0.4; }
  75% { transform: translate(50px, -30px) scale(1.3); opacity: 0.5; }
}

/* === 容器 === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* === 页头导航 === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 14, 39, 0.85);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.3rem;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-btn);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--neon-blue);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-btn);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-download-btn {
  background: var(--gradient-btn);
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(108, 60, 224, 0.5);
}

.nav-download-btn::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* === 搜索框 === */
.search-bar {
  background: rgba(15, 23, 60, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  margin-top: 70px;
  position: relative;
  z-index: 1;
}

.search-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input:focus {
  border-color: var(--aurora-purple);
  box-shadow: 0 0 20px rgba(108, 60, 224, 0.2);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-btn);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: transform 0.3s;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.search-result-msg {
  display: none;
  text-align: center;
  padding: 15px;
  color: var(--neon-blue);
  font-size: 0.85rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === 面包屑导航 === */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--neon-blue);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}

/* === Hero 区域 === */
.hero-section {
  padding: 120px 0 80px;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(108, 60, 224, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(30px, -20px); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #00d4ff 50%, #6c3ce0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text h2 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108, 60, 224, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--neon-blue);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  filter: drop-shadow(0 20px 60px rgba(108, 60, 224, 0.4));
  animation: heroFloat 6s ease-in-out infinite;
}

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

/* === 统计数据条 === */
.stats-bar {
  background: rgba(15, 23, 60, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 30px 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 10px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === 磨砂玻璃卡片 === */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(108, 60, 224, 0.5);
}

/* === 区块标题 === */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h4,
.section-title h5,
.section-title h6 {
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}

.section-title h4 {
  font-size: 2rem;
  background: linear-gradient(135deg, #fff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title h5 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.section-title h6 {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(108, 60, 224, 0.15);
  border: 1px solid rgba(108, 60, 224, 0.3);
  border-radius: 20px;
  color: var(--neon-blue);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === 内容区块 === */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, rgba(108, 60, 224, 0.05) 0%, transparent 100%);
}

/* === 安全动态模块 === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 20px;
}

.news-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  color: var(--neon-blue);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text-primary);
}

.news-card-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === 仪表盘模块 === */
.dashboard {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.dashboard-header h4 {
  font-size: 1.4rem;
  font-weight: 700;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.dash-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.dash-stat:hover {
  transform: scale(1.03);
}

.dash-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  animation: numberPulse 3s ease-in-out infinite;
}

.dash-stat-value.btc { color: #f7931a; }
.dash-stat-value.eth { color: #627eea; }
.dash-stat-value.risk { color: #00ff88; }
.dash-stat-value.users { color: #00d4ff; }

@keyframes numberPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.dash-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-ticker {
  display: flex;
  gap: 15px;
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid var(--glass-border);
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border-radius: 20px;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  animation: tickerScroll 30s linear infinite;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.ticker-up { color: #00ff88; }
.ticker-down { color: #ff4757; }

/* === 技术资讯模块 === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.tech-card {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.tech-card-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.tech-card-content h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tech-card-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* === 专家展示 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.expert-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-btn);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.expert-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.expert-card .expert-title {
  color: var(--neon-blue);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.expert-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* === 用户口碑 === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 25px;
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-stars {
  color: #f7931a;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.review-author-info {
  font-size: 0.85rem;
}

.review-author-info strong {
  display: block;
  color: var(--text-primary);
}

.review-author-info span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* === 社区分享 === */
.share-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  padding: 20px 0;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.share-btn:hover {
  background: rgba(108, 60, 224, 0.2);
  border-color: var(--aurora-purple);
  color: var(--text-primary);
}

/* === 视频卡片 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: var(--card-bg);
}

.video-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.video-card:hover .video-card-bg {
  transform: scale(1.05);
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 39, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: rgba(108, 60, 224, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1);
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

/* === 页脚 === */
.site-footer {
  background: rgba(5, 8, 20, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 15px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--neon-blue);
}

.footer-contact {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-update {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* === 内页通用 === */
.page-hero {
  padding: 140px 0 60px;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 60, 224, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #fff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* === 三层加密动效 === */
.encryption-layers {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  position: relative;
}

.layer-ring {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer-ring-1 {
  width: 300px;
  height: 300px;
  border-color: rgba(108, 60, 224, 0.5);
  animation: ringRotate 20s linear infinite;
}

.layer-ring-2 {
  width: 220px;
  height: 220px;
  border-color: rgba(0, 212, 255, 0.5);
  animation: ringRotate 15s linear infinite reverse;
}

.layer-ring-3 {
  width: 140px;
  height: 140px;
  border-color: rgba(0, 255, 136, 0.5);
  animation: ringRotate 10s linear infinite;
}

@keyframes ringRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.layer-ring::before {
  content: '';
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.layer-core {
  width: 60px;
  height: 60px;
  background: var(--gradient-btn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 5;
  box-shadow: 0 0 40px rgba(108, 60, 224, 0.5);
}

/* === 交互式步骤条 === */
.step-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.step-btn {
  padding: 10px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-main);
}

.step-btn:hover,
.step-btn.active {
  background: var(--gradient-btn);
  border-color: transparent;
  color: #fff;
}

.step-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.step-content.active {
  display: block;
}

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

/* === 文章内容 === */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h4,
.article-content h5 {
  margin: 30px 0 15px;
  font-weight: 700;
}

.article-content h4 {
  font-size: 1.5rem;
}

.article-content h5 {
  font-size: 1.2rem;
}

.article-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  color: var(--text-secondary);
  margin: 15px 0 20px 25px;
  line-height: 1.8;
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

/* === 论坛样式 === */
.forum-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.forum-item {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.3s;
}

.forum-item:hover {
  transform: translateX(5px);
}

.forum-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.forum-content h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.forum-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.forum-meta {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === SEO标签云 === */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px 0;
}

.tag-item {
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.3s;
}

.tag-item:hover {
  background: rgba(108, 60, 224, 0.2);
  border-color: var(--aurora-purple);
  color: var(--neon-blue);
}

/* === CSS科技图标 === */
.css-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icon-shield {
  width: 40px;
  height: 44px;
  background: var(--gradient-btn);
  clip-path: polygon(50% 0%, 100% 15%, 100% 65%, 50% 100%, 0% 65%, 0% 15%);
}

.icon-lock {
  width: 30px;
  height: 36px;
  position: relative;
}

.icon-lock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 14px;
  border: 3px solid var(--neon-blue);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.icon-lock::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 18px;
  background: var(--neon-blue);
  border-radius: 3px;
}

.icon-chain {
  display: flex;
  gap: 3px;
}

.icon-chain-link {
  width: 16px;
  height: 16px;
  border: 2px solid var(--aurora-purple);
  border-radius: 4px;
  transform: rotate(45deg);
}

.icon-chip {
  width: 36px;
  height: 36px;
  border: 2px solid var(--neon-green);
  border-radius: 6px;
  position: relative;
}

.icon-chip::before,
.icon-chip::after {
  content: '';
  position: absolute;
  background: var(--neon-green);
}

.icon-chip::before {
  width: 4px;
  height: 4px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow:
    -8px 0 0 var(--neon-green),
    8px 0 0 var(--neon-green),
    0 -8px 0 var(--neon-green),
    0 8px 0 var(--neon-green);
}

/* === 懒加载 === */
.lazy-load {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-load.loaded {
  opacity: 1;
  transform: translateY(0);
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* === 响应式布局 === */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-height: 350px;
  }

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

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

  .tech-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text h2 {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .news-grid,
  .review-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

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

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

  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .share-bar {
    flex-wrap: wrap;
  }

  .section-title h4 {
    font-size: 1.5rem;
  }

  .step-bar {
    gap: 8px;
  }

  .step-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .encryption-layers {
    transform: scale(0.7);
  }

  .layer-ring-1 { width: 250px; height: 250px; }
  .layer-ring-2 { width: 180px; height: 180px; }
  .layer-ring-3 { width: 110px; height: 110px; }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .glass-card {
    padding: 20px;
  }

  .dashboard {
    padding: 20px;
  }

  .dash-stat-value {
    font-size: 1.3rem;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--deep-space);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-blue);
}

/* === 选中文字样式 === */
::selection {
  background: rgba(108, 60, 224, 0.4);
  color: #fff;
}

/* === 图片懒加载占位 === */
.img-placeholder {
  background: linear-gradient(135deg, var(--card-bg), rgba(108, 60, 224, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === 市场数据表格 === */
.market-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.market-table th,
.market-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
}

.market-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.market-table tr:hover {
  background: rgba(108, 60, 224, 0.08);
}

.price-up { color: #00ff88; }
.price-down { color: #ff4757; }

/* === 内容两栏布局 === */
.content-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.sidebar .glass-card {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .content-two-col {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PATCH: 兼容所有并行生成的HTML变体类名
   + 增强移动端响应式
   ============================================= */

/* === 页头变体兼容 === */
.main-header,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 14, 39, 0.85);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.main-header > .container,
.navbar > .container,
.main-header > .header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* 导航变体兼容 */
.main-nav,
.main-nav .nav-list,
.navbar-nav,
.nav-links,
.nav-menu-container,
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a,
.main-nav .nav-list a,
.navbar-nav a,
.nav-links a,
.nav-list a,
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .nav-list a:hover,
.main-nav .nav-list a.active,
.navbar-nav a:hover,
.navbar-nav a.active,
.nav-links a:hover,
.nav-links a.active,
.nav-list a:hover,
.nav-list a.active {
  color: var(--neon-blue);
}

.main-nav a::after,
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-btn);
  transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* 导航列表样式重置 */
.main-nav ul,
.navbar-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 移动菜单按钮变体 */
.mobile-menu-toggle,
#mobile-menu-toggle,
.navbar-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
}

/* Logo变体 */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.3rem;
}

/* 按钮变体 */
.btn.btn-primary,
a.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: var(--gradient-btn);
  color: #fff !important;
  border: none;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(108, 60, 224, 0.5);
}

/* === 首页Dashboard变体兼容 === */
.dashboard-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 80px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.dashboard-card:hover {
  transform: scale(1.03);
}

.dashboard-card .card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.dashboard-card .card-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.dashboard-card .card-body {
  text-align: center;
}

.dashboard-card .price {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  animation: numberPulse 3s ease-in-out infinite;
}

.dashboard-card:nth-child(1) .price { color: #f7931a; }
.dashboard-card:nth-child(2) .price { color: #627eea; }
.dashboard-card:nth-child(3) .price { color: #00ff88; }
.dashboard-card:nth-child(4) .price { color: #00d4ff; }

.dashboard-card .change {
  font-size: 0.85rem;
  font-weight: 600;
}

.dashboard-card .change.positive { color: #00ff88; }
.dashboard-card .change.negative { color: #ff4757; }

/* === Stats变体兼容 === */
.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

/* === News Card变体兼容 === */
.news-card-content {
  padding: 20px;
}

.news-card-title,
.news-card-content h5,
.news-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text-primary);
}

.news-card-excerpt,
.news-card-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* === Section变体 === */
.section-spacing {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2,
.section-header h3,
.section-header h4 {
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
  font-size: 2rem;
  background: linear-gradient(135deg, #fff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* section-title h2 (used in some index pages) */
.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === 安全页面变体 === */
.security-grid {
  display: grid;
  gap: 40px;
}

.security-visualization {
  text-align: center;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* === 论坛页面变体 === */
.forum-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

/* === Footer变体 === */
.footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--neon-blue);
}

/* === 内页subtitle === */
.subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* === 搜索框修复 - 确保在header下方 === */
.search-bar {
  margin-top: 70px;
}

/* === 图片溢出防护 === */
img {
  max-width: 100%;
  height: auto;
}

/* === 内页logo图片缺失时的fallback === */
.logo img[src*="logo.svg"] {
  display: none;
}

/* =============================================
   增强移动端响应式
   ============================================= */

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .main-header > .container,
  .navbar > .container {
    height: 60px;
  }
}

@media (max-width: 768px) {
  /* 移动端导航 - 所有变体 */
  .main-nav,
  .main-nav .nav-list,
  .navbar-nav,
  .nav-links,
  .nav-menu-container,
  .nav-menu-wrapper,
  .navbar-collapse {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
  }

  .main-nav.open,
  .main-nav .nav-list.open,
  .navbar-nav.open,
  .nav-links.open,
  .nav-menu-container.open,
  .nav-menu-wrapper.open,
  .navbar-collapse.open {
    display: flex;
  }

  .main-nav ul,
  .navbar-nav ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .main-nav ul li,
  .navbar-nav ul li {
    width: 100%;
  }

  .main-nav ul li a,
  .navbar-nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  .mobile-menu-toggle,
  #mobile-menu-toggle,
  .navbar-toggle {
    display: block;
  }

  .main-header > .container,
  .navbar > .container,
  .main-header > .header-container {
    height: 60px;
  }

  /* 导航下载按钮在移动端 */
  .btn.btn-primary {
    display: none;
  }

  /* Dashboard移动端 */
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .dashboard-card .price {
    font-size: 1.3rem;
  }

  .dashboard-card .card-header h3 {
    font-size: 0.8rem;
  }

  /* 搜索框移动端 */
  .search-bar {
    margin-top: 60px;
    padding: 10px 15px;
  }

  .search-wrapper {
    max-width: 100%;
  }

  .search-input {
    padding: 10px 45px 10px 15px;
    font-size: 0.85rem;
  }

  /* Stats移动端 */
  .stat-value {
    font-size: 1.6rem;
  }

  /* Footer导航移动端 */
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* 分享栏移动端 */
  .share-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .share-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* 内页hero移动端 */
  .page-hero {
    padding: 100px 0 40px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .page-hero .subtitle {
    font-size: 0.95rem;
  }

  /* 面包屑移动端 */
  .breadcrumb {
    font-size: 0.8rem;
    padding: 10px 0;
  }

  /* 加密层动效移动端 */
  .encryption-layers {
    transform: scale(0.65);
    margin: -20px 0;
  }

  /* 步骤条移动端 */
  .step-bar {
    gap: 6px;
  }

  .step-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  /* 论坛项移动端 */
  .forum-item {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
  }

  .forum-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* 市场表格移动端 */
  .market-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .market-table th,
  .market-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* 两栏布局移动端 */
  .content-two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* 文章内容移动端 */
  .article-content h4 {
    font-size: 1.25rem;
  }

  .article-content h5 {
    font-size: 1.05rem;
  }

  .article-content p {
    font-size: 0.9rem;
  }

  /* 专家卡片移动端 - 2列 */
  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .expert-card {
    padding: 20px 15px;
  }

  .expert-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  /* 视频卡片移动端 */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* 技术卡片移动端 */
  .tech-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  /* 标签云移动端 */
  .tag-cloud {
    gap: 8px;
  }

  .tag-item {
    padding: 5px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  /* 超小屏幕 - iPhone SE等 */
  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text h2 {
    font-size: 0.9rem;
  }

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

  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 0.88rem;
    justify-content: center;
    text-align: center;
  }

  .hero-image img {
    max-height: 250px;
  }

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

  .stat-value {
    font-size: 1.3rem;
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dashboard-card .price {
    font-size: 1.2rem;
  }

  .section-title h2,
  .section-title h4,
  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-title p,
  .section-header p {
    font-size: 0.88rem;
  }

  .glass-card {
    padding: 18px;
  }

  .news-card-img {
    height: 160px;
  }

  .news-card-content,
  .news-card-body {
    padding: 15px;
  }

  .review-card {
    padding: 18px;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-hero h1 {
    font-size: 1.4rem;
  }

  .encryption-layers {
    transform: scale(0.5);
    margin: -30px 0;
  }

  .step-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
}

/* === iPhone 15 Pro 特定优化 (393px宽) === */
@media (max-width: 393px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 90px 0 50px;
  }

  .hero-text h1 {
    font-size: 1.3rem;
  }

  .logo span {
    font-size: 1.1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* === 安全区域适配 (iPhone刘海/灵动岛) === */
@supports (padding: env(safe-area-inset-top)) {
  .site-header,
  .main-header,
  .navbar {
    padding-top: env(safe-area-inset-top);
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* =============================================
   PATCH: 兼容所有并行生成的HTML变体类名
   + 增强移动端响应式
   ============================================= */

/* === 页头变体兼容 === */
.main-header,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 14, 39, 0.85);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.main-header > .container,
.navbar > .container,
.main-header > .header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* 导航变体兼容 */
.main-nav,
.main-nav .nav-list,
.navbar-nav,
.nav-links,
.nav-menu-container,
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a,
.main-nav .nav-list a,
.navbar-nav a,
.nav-links a,
.nav-list a,
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .nav-list a:hover,
.main-nav .nav-list a.active,
.navbar-nav a:hover,
.navbar-nav a.active,
.nav-links a:hover,
.nav-links a.active,
.nav-list a:hover,
.nav-list a.active {
  color: var(--neon-blue);
}

.main-nav a::after,
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-btn);
  transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* 导航列表样式重置 */
.main-nav ul,
.navbar-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 移动菜单按钮变体 */
.mobile-menu-toggle,
#mobile-menu-toggle,
.navbar-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
}

/* Logo变体 */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.3rem;
}

/* 按钮变体 */
.btn.btn-primary,
a.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: var(--gradient-btn);
  color: #fff !important;
  border: none;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(108, 60, 224, 0.5);
}

/* === 首页Dashboard变体兼容 === */
.dashboard-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 80px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.dashboard-card:hover {
  transform: scale(1.03);
}

.dashboard-card .card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.dashboard-card .card-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.dashboard-card .card-body {
  text-align: center;
}

.dashboard-card .price {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
  animation: numberPulse 3s ease-in-out infinite;
}

.dashboard-card:nth-child(1) .price { color: #f7931a; }
.dashboard-card:nth-child(2) .price { color: #627eea; }
.dashboard-card:nth-child(3) .price { color: #00ff88; }
.dashboard-card:nth-child(4) .price { color: #00d4ff; }

.dashboard-card .change {
  font-size: 0.85rem;
  font-weight: 600;
}

.dashboard-card .change.positive { color: #00ff88; }
.dashboard-card .change.negative { color: #ff4757; }

/* === Stats变体兼容 === */
.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

/* === News Card变体兼容 === */
.news-card-content {
  padding: 20px;
}

.news-card-title,
.news-card-content h5,
.news-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text-primary);
}

.news-card-excerpt,
.news-card-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* === Section变体 === */
.section-spacing {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2,
.section-header h3,
.section-header h4 {
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
  font-size: 2rem;
  background: linear-gradient(135deg, #fff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* section-title h2 (used in some index pages) */
.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === 安全页面变体 === */
.security-grid {
  display: grid;
  gap: 40px;
}

.security-visualization {
  text-align: center;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* === 论坛页面变体 === */
.forum-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

/* === Footer变体 === */
.footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--neon-blue);
}

/* === 内页subtitle === */
.subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* === 搜索框修复 - 确保在header下方 === */
.search-bar {
  margin-top: 70px;
}

/* === 图片溢出防护 === */
img {
  max-width: 100%;
  height: auto;
}

/* === 内页logo图片缺失时的fallback === */
.logo img[src*="logo.svg"] {
  display: none;
}

/* =============================================
   增强移动端响应式
   ============================================= */

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .main-header > .container,
  .navbar > .container {
    height: 60px;
  }
}

@media (max-width: 768px) {
  /* 移动端导航 - 所有变体 */
  .main-nav,
  .main-nav .nav-list,
  .navbar-nav,
  .nav-links,
  .nav-menu-container,
  .nav-menu-wrapper,
  .navbar-collapse {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
  }

  .main-nav.open,
  .main-nav .nav-list.open,
  .navbar-nav.open,
  .nav-links.open,
  .nav-menu-container.open,
  .nav-menu-wrapper.open,
  .navbar-collapse.open {
    display: flex;
  }

  .main-nav ul,
  .navbar-nav ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .main-nav ul li,
  .navbar-nav ul li {
    width: 100%;
  }

  .main-nav ul li a,
  .navbar-nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  .mobile-menu-toggle,
  #mobile-menu-toggle,
  .navbar-toggle {
    display: block;
  }

  .main-header > .container,
  .navbar > .container,
  .main-header > .header-container {
    height: 60px;
  }

  /* 导航下载按钮在移动端 */
  .btn.btn-primary {
    display: none;
  }

  /* Dashboard移动端 */
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .dashboard-card .price {
    font-size: 1.3rem;
  }

  .dashboard-card .card-header h3 {
    font-size: 0.8rem;
  }

  /* 搜索框移动端 */
  .search-bar {
    margin-top: 60px;
    padding: 10px 15px;
  }

  .search-wrapper {
    max-width: 100%;
  }

  .search-input {
    padding: 10px 45px 10px 15px;
    font-size: 0.85rem;
  }

  /* Stats移动端 */
  .stat-value {
    font-size: 1.6rem;
  }

  /* Footer导航移动端 */
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* 分享栏移动端 */
  .share-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .share-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* 内页hero移动端 */
  .page-hero {
    padding: 100px 0 40px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .page-hero .subtitle {
    font-size: 0.95rem;
  }

  /* 面包屑移动端 */
  .breadcrumb {
    font-size: 0.8rem;
    padding: 10px 0;
  }

  /* 加密层动效移动端 */
  .encryption-layers {
    transform: scale(0.65);
    margin: -20px 0;
  }

  /* 步骤条移动端 */
  .step-bar {
    gap: 6px;
  }

  .step-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  /* 论坛项移动端 */
  .forum-item {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
  }

  .forum-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* 市场表格移动端 */
  .market-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .market-table th,
  .market-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* 两栏布局移动端 */
  .content-two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* 文章内容移动端 */
  .article-content h4 {
    font-size: 1.25rem;
  }

  .article-content h5 {
    font-size: 1.05rem;
  }

  .article-content p {
    font-size: 0.9rem;
  }

  /* 专家卡片移动端 - 2列 */
  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .expert-card {
    padding: 20px 15px;
  }

  .expert-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  /* 视频卡片移动端 */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* 技术卡片移动端 */
  .tech-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  /* 标签云移动端 */
  .tag-cloud {
    gap: 8px;
  }

  .tag-item {
    padding: 5px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  /* 超小屏幕 - iPhone SE等 */
  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text h2 {
    font-size: 0.9rem;
  }

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

  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 0.88rem;
    justify-content: center;
    text-align: center;
  }

  .hero-image img {
    max-height: 250px;
  }

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

  .stat-value {
    font-size: 1.3rem;
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dashboard-card .price {
    font-size: 1.2rem;
  }

  .section-title h2,
  .section-title h4,
  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-title p,
  .section-header p {
    font-size: 0.88rem;
  }

  .glass-card {
    padding: 18px;
  }

  .news-card-img {
    height: 160px;
  }

  .news-card-content,
  .news-card-body {
    padding: 15px;
  }

  .review-card {
    padding: 18px;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-hero h1 {
    font-size: 1.4rem;
  }

  .encryption-layers {
    transform: scale(0.5);
    margin: -30px 0;
  }

  .step-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
}

/* === iPhone 15 Pro 特定优化 (393px宽) === */
@media (max-width: 393px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 90px 0 50px;
  }

  .hero-text h1 {
    font-size: 1.3rem;
  }

  .logo span {
    font-size: 1.1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* === 安全区域适配 (iPhone刘海/灵动岛) === */
@supports (padding: env(safe-area-inset-top)) {
  .site-header,
  .main-header,
  .navbar {
    padding-top: env(safe-area-inset-top);
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* =============================================
   MOBILE FIX V2: 修复内页logo/header问题
   ============================================= */

/* Logo内的h1/h2标签应该是logo文字大小，不是标题大小 */
.logo h1,
.logo h2,
.navbar-brand h1,
.navbar-brand h2 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  background: none !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  color: var(--text-primary) !important;
}

/* Logo图片约束 */
.logo img,
.navbar-brand img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* 内页header中的下载按钮 - 移动端隐藏 */
@media (max-width: 768px) {
  .main-header .btn,
  .main-header .btn-primary,
  .main-header a.btn,
  .navbar .btn,
  .navbar .btn-primary {
    display: none !important;
  }
  
  /* Logo图片在移动端更小 */
  .logo img,
  .navbar-brand img {
    max-height: 32px;
  }
  
  /* 确保内页header高度一致 */
  .main-header > .container,
  .main-header > .header-container {
    height: 60px !important;
  }
  
  /* 内页page-hero移动端优化 */
  .page-hero {
    padding: 80px 0 30px !important;
  }
  
  .page-hero h1 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  
  /* 内页内容区域移动端 */
  .page-content {
    padding: 20px 15px !important;
  }
  
  .main-content {
    padding: 0 !important;
  }
  
  .main-content article {
    padding: 0 !important;
  }
  
  .main-content h2 {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
  }
  
  .main-content h3 {
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
  }
  
  .main-content p {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
  }
  
  /* 加密层可视化移动端 */
  .encryption-layers-visual {
    transform: scale(0.6) !important;
    margin: -30px 0 !important;
  }
  
  /* 私钥流程图移动端 */
  .private-key-flow-diagram {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  .flow-item {
    width: 100% !important;
    max-width: 280px !important;
  }
  
  .flow-arrow {
    transform: rotate(0deg) !important;
  }
  
  /* 玻璃卡片容器移动端 */
  .glass-cards-container {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  /* 侧边栏移动端 */
  .sidebar,
  .page-sidebar {
    margin-top: 30px !important;
  }
  
  .sidebar .glass-card,
  .page-sidebar .glass-card {
    padding: 15px !important;
  }
  
  /* 两栏布局移动端强制单列 */
  .content-two-col,
  .two-column-layout,
  .page-content > .container {
    display: block !important;
  }
  
  /* 市场表格移动端 */
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    font-size: 0.8rem !important;
  }
  
  table th,
  table td {
    padding: 8px 10px !important;
    white-space: nowrap !important;
  }
  
  /* 论坛帖子移动端 */
  .forum-post,
  .forum-item {
    padding: 15px !important;
  }
  
  .forum-post-header,
  .forum-item-header {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  /* 指南步骤移动端 */
  .guide-steps,
  .step-content {
    padding: 15px !important;
  }
  
  .step-bar {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  
  .step-btn {
    flex: 1 1 auto !important;
    min-width: 80px !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .logo h1,
  .logo h2,
  .navbar-brand h1,
  .navbar-brand h2 {
    font-size: 1.1rem !important;
  }
  
  .logo img,
  .navbar-brand img {
    max-height: 28px;
  }
  
  .page-hero h1 {
    font-size: 1.3rem !important;
  }
  
  .main-content h2 {
    font-size: 1.15rem !important;
  }
  
  .main-content h3 {
    font-size: 1.05rem !important;
  }
}

@media (max-width: 393px) {
  .logo h1,
  .logo h2 {
    font-size: 1rem !important;
  }
}

/* =============================================
   MOBILE FIX V3: 隐藏所有header内的按钮
   ============================================= */
@media (max-width: 768px) {
  /* 隐藏header中所有按钮/链接 */
  .header-actions,
  .site-header .btn,
  .site-header .btn-primary,
  .site-header a.btn,
  .main-header .header-actions,
  .main-header .btn,
  .main-header a.btn,
  .navbar .header-actions,
  header .btn.btn-primary,
  header a.btn.btn-primary,
  header .btn-primary,
  header a.btn-primary,
  header .header-actions {
    display: none !important;
  }
  
  /* 但保留内容区域中的按钮 */
  main .btn,
  main .btn-primary,
  main a.btn,
  .page-content .btn,
  .hero-section .btn-primary,
  .hero-btns .btn-primary {
    display: inline-flex !important;
  }
}
/* =============================================
   VISUAL FIX V4: Fix video, news, expert, and 
   other image/layout issues
   ============================================= */

/* === VIDEO CARDS: Fix play button and image display === */
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: rgba(15, 20, 50, 0.8);
}

.video-card h4,
.video-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 15px 15px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.9) 100%);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  z-index: 3;
  margin: 0;
}

/* Play button overlay */
.play-button,
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(108, 60, 224, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: transform 0.3s, background 0.3s;
}

.play-button::after,
.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-card:hover .play-button,
.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(108, 60, 224, 1);
}

/* Hide the icon-play since we use ::after pseudo */
.play-button i,
.play-button .icon-play {
  display: none;
}

/* === NEWS CARDS: Ensure images display properly === */
.news-card {
  background: rgba(15, 20, 50, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 60, 224, 0.2);
}

.news-card img,
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-content,
.news-card-body {
  padding: 20px;
}

.news-card-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #fff;
}

.news-card-excerpt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === EXPERT CARDS: Fix avatar display === */
.expert-img,
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
  border: 2px solid rgba(108, 60, 224, 0.5);
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.expert-card {
  background: rgba(15, 20, 50, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 60, 224, 0.2);
}

/* === MARKET TABLE: Fix crypto icon display === */
.market-table img,
table img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 50%;
}

/* === GUIDE PAGE: Fix step images === */
.step-content img,
.guide-content img,
.step-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 16px);
  margin: 15px 0;
}

/* === SECURITY PAGE: Fix encryption visualization === */
.encryption-ring,
.security-visual {
  max-width: 300px;
  margin: 0 auto;
}

/* Fix flow diagram */
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.flow-step-icon {
  font-size: 24px;
  min-width: 40px;
  text-align: center;
}

/* === FOOTER: Fix layout consistency === */
.site-footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-col h4,
.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.footer-col ul,
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-col li,
.footer-section li {
  margin-bottom: 8px;
}

.footer-col a,
.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover,
.footer-section a:hover {
  color: #00d4ff;
}

/* === GENERAL IMAGE FIXES === */
img {
  max-width: 100%;
  height: auto;
}

img[src$=".svg"] {
  image-rendering: auto;
}

/* Broken image fallback styling */
img::before {
  content: '';
  display: block;
}

/* === MOBILE RESPONSIVE ADDITIONS === */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .news-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .expert-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
  }
  
  .video-card h4,
  .video-card-title {
    font-size: 0.85rem !important;
    padding: 30px 12px 12px !important;
  }
  
  .play-button,
  .video-play-btn {
    width: 48px !important;
    height: 48px !important;
  }
  
  .play-button::after,
  .video-play-btn::after {
    border-width: 8px 0 8px 14px !important;
  }
  
  .news-card img,
  .news-card-img {
    height: 180px !important;
  }
  
  .expert-img,
  .expert-avatar {
    width: 60px !important;
    height: 60px !important;
  }
  
  .site-footer .container {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  .expert-grid {
    grid-template-columns: 1fr !important;
  }
  
  .site-footer .container {
    grid-template-columns: 1fr !important;
  }
}

/* === FOOTER FIX: Ensure footer-content uses same grid as footer-grid === */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-about {
  max-width: 300px;
}

/* === MARKET PAGE: Fix 24h overview grid === */
.market-overview,
.overview-grid,
.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.overview-card,
.stat-card,
.market-stat-card {
  background: rgba(15, 20, 50, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.overview-card h3,
.stat-card h3,
.market-stat-card h3 {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.overview-card .value,
.stat-card .value,
.market-stat-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

/* === HOT COINS: Fix card layout === */
.hot-coins,
.trending-coins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.coin-card,
.hot-coin-card,
.trending-card {
  background: rgba(15, 20, 50, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s;
}

.coin-card:hover,
.hot-coin-card:hover,
.trending-card:hover {
  transform: translateY(-3px);
}

/* === INNER PAGE SECTION PADDING FIX === */
.content-section,
.main-content section,
article section {
  padding: 40px 0;
}

/* === INNER PAGE CARD GRID FIX === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* === MOBILE FOOTER FIX === */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  
  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  
  .market-overview,
  .overview-grid,
  .market-stats {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .hot-coins,
  .trending-coins {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr !important;
  }
  
  .market-overview,
  .overview-grid,
  .market-stats {
    grid-template-columns: 1fr !important;
  }
}

/* === Fix duplicate logo: hide logo-dark variant === */
.logo-dark {
  display: none !important;
}

/* ============================================================
   NAVIGATION & SEARCH - COMPLETE REWRITE
   Replaces all previous header/nav/search CSS
   ============================================================ */

/* === Unified Header === */
.site-header,
.main-header,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 14, 39, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.header-inner,
.main-header > .container,
.navbar > .container,
.main-header > .header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 20px;
}

/* === Logo === */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo img {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

.logo h1 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #6c3ce0, #00d4ff);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.logo-dark {
  display: none !important;
}

/* === Navigation === */
.header-nav,
.nav-menu,
.main-nav,
.nav-menu-container {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.header-nav-list,
.nav-menu,
.main-nav ul,
.main-nav .nav-list,
.navbar-nav,
.nav-links,
.nav-menu-container ul,
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-list li,
.nav-menu li,
.main-nav ul li,
.main-nav .nav-list li {
  margin: 0;
  padding: 0;
}

.header-nav-list a,
.nav-menu a,
.nav-menu li a,
.main-nav a,
.main-nav ul a,
.main-nav .nav-list a,
.navbar-nav a,
.nav-links a,
.nav-list a,
.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
  display: inline-block;
}

.header-nav-list a:hover,
.header-nav-list a.active,
.nav-menu a:hover,
.nav-menu a.active,
.nav-menu li a:hover,
.nav-menu li a.active,
.main-nav a:hover,
.main-nav a.active,
.main-nav ul a:hover,
.main-nav ul a.active,
.main-nav .nav-list a:hover,
.main-nav .nav-list a.active,
.navbar-nav a:hover,
.navbar-nav a.active,
.nav-links a:hover,
.nav-links a.active,
.nav-list a:hover,
.nav-list a.active {
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.08);
}

/* Remove the underline animation - use bg highlight instead */
.header-nav-list a::after,
.nav-menu a::after,
.main-nav a::after,
.nav-list a::after {
  display: none !important;
}

/* === Header Search (integrated in header) === */
.header-search {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.header-search-input {
  width: 200px;
  padding: 7px 36px 7px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #fff;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s;
}

.header-search-input:focus {
  width: 260px;
  border-color: rgba(108, 60, 224, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 12px rgba(108, 60, 224, 0.15);
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.header-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #6c3ce0, #00d4ff);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s;
  padding: 0;
}

.header-search-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.header-search-btn svg {
  width: 14px;
  height: 14px;
}

/* === CTA Button in Header === */
.header-cta-btn,
.nav-download-btn {
  background: linear-gradient(135deg, #6c3ce0, #00d4ff);
  color: #fff !important;
  padding: 7px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.header-cta-btn:hover,
.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(108, 60, 224, 0.4);
}

.header-cta-btn::after,
.nav-download-btn::after {
  display: none !important;
}

/* === Mobile Menu Button === */
.mobile-menu-btn,
.mobile-menu-toggle,
#mobile-menu-toggle,
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
  display: block;
  border-radius: 1px;
}

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

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

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

/* === Old search-bar section (keep but restyle) === */
.search-bar {
  display: none !important;
}

.search-result-msg {
  display: none;
}

/* === Inner page btn.btn-primary in header === */
.main-header .btn.btn-primary,
.site-header .btn.btn-primary,
header .btn.btn-primary {
  background: linear-gradient(135deg, #6c3ce0, #00d4ff);
  color: #fff !important;
  padding: 7px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}

/* === RESPONSIVE: Tablet (1024px) === */
@media (max-width: 1024px) {
  .header-inner {
    gap: 12px;
  }
  
  .header-nav-list,
  .nav-menu,
  .main-nav ul,
  .main-nav .nav-list {
    gap: 2px;
  }
  
  .header-nav-list a,
  .nav-menu a,
  .nav-menu li a,
  .main-nav a,
  .main-nav ul a {
    font-size: 0.82rem;
    padding: 5px 10px;
  }
  
  .header-search-input {
    width: 160px;
  }
  
  .header-search-input:focus {
    width: 200px;
  }
}

/* === RESPONSIVE: Mobile (768px) === */
@media (max-width: 768px) {
  .header-inner,
  .main-header > .container,
  .navbar > .container {
    height: 56px;
    padding: 0 16px;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo img {
    height: 28px;
  }
  
  .logo-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  /* Hide nav, search, and CTA on mobile */
  .header-nav,
  .nav-menu,
  .main-nav,
  .nav-menu-container,
  .header-search,
  .header-cta-btn,
  .nav-download-btn {
    display: none !important;
  }
  
  /* Show mobile menu button */
  .mobile-menu-btn,
  .mobile-menu-toggle,
  #mobile-menu-toggle,
  .navbar-toggle {
    display: flex !important;
  }
  
  /* Mobile nav open state */
  .header-nav.nav-open,
  .nav-menu.nav-open,
  .main-nav.nav-open {
    display: flex !important;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-open .header-nav-list,
  .nav-open ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  
  .nav-open .header-nav-list a,
  .nav-open a {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  .nav-open .header-nav-list a:hover,
  .nav-open a:hover {
    background: rgba(108, 60, 224, 0.15);
  }
  
  /* Hide all header buttons on mobile */
  header .btn,
  header .btn-primary,
  .main-header .btn,
  .site-header .btn {
    display: none !important;
  }
  
  /* Adjust body padding for smaller header */
  .search-bar {
    display: none !important;
    margin-top: 56px;
  }
}

/* === RESPONSIVE: Small Mobile (480px) === */
@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
    height: 52px;
  }
  
  .logo {
    font-size: 0.9rem;
    gap: 8px;
  }
  
  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  
  .logo img {
    height: 24px;
  }
  
  .header-nav.nav-open,
  .main-nav.nav-open {
    top: 52px;
  }
}

/* === Main content top spacing for fixed header === */
main,
.main-content-wrapper,
body > main:first-of-type {
  padding-top: 64px;
}

.hero-section {
  margin-top: 0;
}

.page-hero,
.inner-hero,
.section-hero {
  margin-top: 0;
  padding-top: 40px;
}
