/* ============================================
   im冷钱包 - 全局样式表
   深空蓝到极光紫渐变 + 磨砂玻璃效果
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* CSS Variables */
:root {
  --deep-space-blue: #0a0e27;
  --aurora-purple: #6c3ce0;
  --aurora-blue: #1a73e8;
  --neon-cyan: #00d4ff;
  --neon-green: #00ff88;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --gradient-main: linear-gradient(135deg, #0a0e27 0%, #1a1040 30%, #2d1b69 60%, #6c3ce0 100%);
  --gradient-card: linear-gradient(135deg, rgba(108, 60, 224, 0.1), rgba(0, 212, 255, 0.1));
  --gradient-btn: linear-gradient(135deg, #6c3ce0, #00d4ff);
  --font-main: 'Inter', 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --line-height: 1.7;
  --radius: 16px;
  --radius-sm: 8px;
}

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

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

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

/* 粒子背景 */
.particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  z-index: -2;
}

.particle-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(0, 212, 255, 0.4), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(108, 60, 224, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 136, 0.2), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(0, 212, 255, 0.3), transparent);
  background-size: 200px 100px;
  animation: particleFloat 20s linear infinite;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(108, 60, 224, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 60, 224, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

@keyframes particleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

/* 磨砂玻璃卡片 */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(108, 60, 224, 0.3);
  box-shadow: 0 8px 32px rgba(108, 60, 224, 0.15);
  transform: translateY(-2px);
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0 20px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav-logo .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: 800;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

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

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

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

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

.nav-download-btn {
  background: var(--gradient-btn);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

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

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

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

/* 搜索框 */
.search-bar {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 16px 20px;
}

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

.search-input {
  width: 100%;
  padding: 12px 48px 12px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  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: all 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: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-btn);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.search-result {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  display: none;
  color: var(--neon-cyan);
  font-size: 0.9rem;
  animation: fadeIn 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 20px 60px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .brand-highlight {
  background: linear-gradient(135deg, #00d4ff, #6c3ce0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(108, 60, 224, 0.4);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* Hero 图片 */
.hero-image {
  margin-top: 48px;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  max-height: 400px;
  object-fit: contain;
}

/* 面包屑 */
.breadcrumb {
  max-width: 1200px;
  margin: 90px auto 0;
  padding: 16px 20px;
  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-cyan);
}

.breadcrumb span {
  margin: 0 8px;
}

/* Section 通用 */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header h4,
.section-header h5,
.section-header h6 {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 1rem;
}

/* 统计数据 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00d4ff, #6c3ce0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

/* 仪表盘 */
.dashboard {
  margin-bottom: 60px;
}

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

.dashboard-item {
  padding: 24px;
  text-align: center;
}

.dashboard-item .value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 4px;
}

.dashboard-item .value.negative {
  color: #ff4757;
}

.dashboard-item .label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.dashboard-item .change {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
}

.change.up {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
}

.change.down {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}

/* 价格跳动动画 */
@keyframes priceFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.price-animate {
  animation: priceFlicker 2s ease-in-out infinite;
}

/* 安全动态卡片网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  overflow: hidden;
}

.news-card .card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.news-card .card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  background: rgba(108, 60, 224, 0.2);
  color: var(--aurora-purple);
}

.news-card .card-tag.security {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
}

.news-card .card-tag.market {
  background: rgba(0, 212, 255, 0.1);
  color: var(--neon-cyan);
}

.news-card h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.5;
}

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

.news-card .card-meta {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* AI 赋能 */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-card {
  text-align: center;
  padding: 40px 24px;
}

.ai-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gradient-card);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid var(--glass-border);
}

.ai-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

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

.video-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
}

.video-card .video-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s;
}

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

.video-card .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: all 0.3s;
}

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

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

.video-card .video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  border-radius: 0 0 var(--radius) var(--radius);
}

.video-card .video-title h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

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

.expert-card {
  text-align: center;
  padding: 32px 16px;
}

.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.expert-card h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

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

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

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

.review-card {
  padding: 28px;
}

.review-stars {
  color: #ffd700;
  font-size: 1rem;
  margin-bottom: 12px;
}

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

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

.review-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.review-author .name {
  font-size: 0.85rem;
  font-weight: 600;
}

.review-author .date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 分享按钮 */
.share-section {
  text-align: center;
  padding: 40px 0;
}

.share-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.share-btn:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.1);
}

/* 页脚 */
.footer {
  background: rgba(5, 7, 18, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 48px 20px 24px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-col h6 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--neon-cyan);
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 内页通用 */
.page-hero {
  padding: 120px 20px 40px;
  text-align: center;
}

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

.page-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* 文章内容 */
.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

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

.article-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--neon-cyan);
}

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

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

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

/* 步骤条 */
.step-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 40px 0;
  flex-wrap: wrap;
}

.step-item {
  padding: 12px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.step-item:first-child {
  border-radius: 8px 0 0 8px;
}

.step-item:last-child {
  border-radius: 0 8px 8px 0;
}

.step-item.active {
  background: var(--gradient-btn);
  border-color: transparent;
  color: white;
}

.step-content {
  display: none;
  padding: 24px;
  animation: fadeIn 0.3s;
}

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

/* SVG 动效容器 */
.svg-animation {
  max-width: 600px;
  margin: 40px auto;
  padding: 24px;
  text-align: center;
}

/* 三层加密图 */
.encryption-layers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 40px auto;
}

.encrypt-layer {
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.encrypt-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gradient-btn);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.encrypt-layer h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--neon-cyan);
}

.encrypt-layer p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 论坛列表 */
.forum-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.forum-item .forum-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.forum-item .forum-content {
  flex: 1;
}

.forum-item .forum-content h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

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

.forum-item .forum-meta {
  text-align: right;
  flex-shrink: 0;
}

.forum-item .forum-meta .replies {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.forum-item .forum-meta .time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* 懒加载 */
.lazy-load {
  opacity: 0;
  transition: opacity 0.5s;
}

.lazy-load.loaded {
  opacity: 1;
}

/* 科技图标 - 纯CSS */
.tech-icon-shield {
  width: 48px;
  height: 48px;
  position: relative;
  display: inline-block;
}

.tech-icon-shield::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  width: 32px;
  height: 36px;
  border: 2px solid var(--neon-cyan);
  border-radius: 2px 2px 16px 16px;
}

.tech-icon-shield::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid var(--neon-green);
  border-right: 2px solid var(--neon-green);
  transform: rotate(45deg);
}

.tech-icon-lock {
  width: 48px;
  height: 48px;
  position: relative;
  display: inline-block;
}

.tech-icon-lock::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 14px;
  width: 20px;
  height: 16px;
  border: 2px solid var(--neon-cyan);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.tech-icon-lock::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 10px;
  width: 28px;
  height: 22px;
  border: 2px solid var(--neon-cyan);
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.1);
}

.tech-icon-chain {
  width: 48px;
  height: 48px;
  position: relative;
  display: inline-block;
}

.tech-icon-chain::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 4px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
}

.tech-icon-chain::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 22px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--aurora-purple);
  border-radius: 50%;
}

/* 响应式 */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 100px 16px 40px; }
  .section { padding: 40px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero h1 { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.5rem; }
  .step-bar { flex-direction: column; }
  .step-item:first-child { border-radius: 8px 8px 0 0; }
  .step-item:last-child { border-radius: 0 0 8px 8px; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-number { font-size: 1.6rem; }
  .expert-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* 打印样式 */
@media print {
  .particle-bg, .grid-overlay, .navbar { display: none; }
  body { background: white; color: black; }
}
