/* ===== 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');

/* ===== CSS Variables ===== */
:root {
  --deep-space: #0a0e27;
  --space-mid: #0f1538;
  --aurora-purple: #6c3ce0;
  --aurora-blue: #3b82f6;
  --aurora-cyan: #06b6d4;
  --aurora-green: #10b981;
  --neon-blue: #00d4ff;
  --neon-purple: #a855f7;
  --glass-bg: rgba(15, 21, 56, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f4ff;
  --text-secondary: rgba(240, 244, 255, 0.7);
  --text-muted: rgba(240, 244, 255, 0.45);
  --gradient-main: linear-gradient(135deg, #0a0e27 0%, #1a1050 40%, #2d1b69 70%, #0a0e27 100%);
  --gradient-card: linear-gradient(135deg, rgba(108, 60, 224, 0.15), rgba(59, 130, 246, 0.1));
  --gradient-accent: linear-gradient(135deg, #6c3ce0, #3b82f6, #06b6d4);
  --gradient-btn: linear-gradient(135deg, #6c3ce0, #3b82f6);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-glow: 0 0 30px rgba(108, 60, 224, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gradient-main);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===== 粒子网格背景 ===== */
body::before {
  content: '';
  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;
  pointer-events: none;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

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

/* 浮动粒子 */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(108, 60, 224, 0.4), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(59, 130, 246, 0.3), transparent),
    radial-gradient(2px 2px at 60% 20%, rgba(6, 182, 212, 0.3), transparent),
    radial-gradient(2px 2px at 80% 50%, rgba(168, 85, 247, 0.3), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(108, 60, 224, 0.5), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(59, 130, 246, 0.4), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(6, 182, 212, 0.4), transparent);
  pointer-events: none;
  z-index: 0;
  animation: particleFloat 30s ease-in-out infinite alternate;
}

@keyframes particleFloat {
  0% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0.6; transform: translateY(-30px); }
}

a { color: var(--neon-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--neon-purple); }

img { max-width: 100%; height: auto; display: block; }

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

/* ===== 磨砂玻璃卡片 ===== */
.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-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}

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

/* ===== Header ===== */
.site-header {
  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);
  transition: var(--transition);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.logo-area .brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--text-primary);
  background: rgba(108, 60, 224, 0.15);
}

.nav-download-btn {
  background: var(--gradient-btn) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(108, 60, 224, 0.4);
}

.nav-download-btn:hover {
  box-shadow: 0 6px 25px rgba(108, 60, 224, 0.6) !important;
  transform: translateY(-1px);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== Search Bar ===== */
.search-bar {
  background: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  margin-top: 62px;
}

.search-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

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

.search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.5;
}

.search-result-msg {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  margin-top: 6px;
  padding: 12px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--neon-blue);
  font-size: 0.85rem;
  z-index: 100;
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--neon-blue); }
.breadcrumb span { margin: 0 6px; }

/* ===== Hero Section ===== */
.hero {
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(108, 60, 224, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

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

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

.hero h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108, 60, 224, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 60, 224, 0.6);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-highlight);
  border-radius: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--aurora-purple);
  background: rgba(108, 60, 224, 0.1);
  color: #fff;
}

.hero-image {
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(108, 60, 224, 0.3), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

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

/* ===== Dashboard Section ===== */
.dashboard-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.dashboard-card {
  padding: 24px;
}

.dashboard-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.card-icon.purple { background: rgba(108, 60, 224, 0.2); }
.card-icon.blue { background: rgba(59, 130, 246, 0.2); }
.card-icon.cyan { background: rgba(6, 182, 212, 0.2); }
.card-icon.green { background: rgba(16, 185, 129, 0.2); }

.card-badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-up { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge-down { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.badge-live { background: rgba(108, 60, 224, 0.15); color: var(--neon-purple); }

.price-display {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.price-change {
  font-size: 0.85rem;
  font-weight: 500;
}

.price-change.up { color: #10b981; }
.price-change.down { color: #ef4444; }

.card-title-sm {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mini chart CSS animation */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-top: 12px;
}

.mini-chart .bar {
  flex: 1;
  background: var(--gradient-accent);
  border-radius: 2px 2px 0 0;
  animation: chartPulse 2s ease-in-out infinite;
  opacity: 0.7;
}

.mini-chart .bar:nth-child(1) { height: 60%; animation-delay: 0s; }
.mini-chart .bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.mini-chart .bar:nth-child(3) { height: 45%; animation-delay: 0.4s; }
.mini-chart .bar:nth-child(4) { height: 90%; animation-delay: 0.6s; }
.mini-chart .bar:nth-child(5) { height: 70%; animation-delay: 0.8s; }
.mini-chart .bar:nth-child(6) { height: 55%; animation-delay: 1s; }
.mini-chart .bar:nth-child(7) { height: 85%; animation-delay: 1.2s; }
.mini-chart .bar:nth-child(8) { height: 65%; animation-delay: 1.4s; }

@keyframes chartPulse {
  0%, 100% { opacity: 0.7; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ===== News / Articles Section ===== */
.news-section { padding: 60px 0; }

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

.news-card {
  display: flex;
  gap: 16px;
  padding: 20px;
}

.news-card .news-thumb {
  width: 120px;
  min-width: 120px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.news-card .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .news-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* ===== Video Cards ===== */
.video-section { padding: 60px 0; }

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

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

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(108, 60, 224, 0.3), rgba(59, 130, 246, 0.2));
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

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

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

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

.video-info {
  padding: 14px 16px;
}

.video-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.video-info .video-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Expert Section ===== */
.expert-section { padding: 60px 0; }

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

.expert-card {
  text-align: center;
  padding: 28px 20px;
}

.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.expert-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-accent);
  z-index: -1;
  opacity: 0.3;
}

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

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

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

/* ===== Reviews Section ===== */
.reviews-section { padding: 60px 0; }

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

.review-card { padding: 24px; }

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

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

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

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

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

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

/* ===== Community / Forum ===== */
.community-section { padding: 60px 0; }

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

.forum-post { padding: 20px; }

.forum-post .post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.forum-post .post-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;
}

.forum-post .post-user {
  font-weight: 600;
  font-size: 0.88rem;
}

.forum-post .post-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

.forum-post .post-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.forum-post .tag {
  padding: 3px 10px;
  background: rgba(108, 60, 224, 0.12);
  border-radius: 12px;
  font-size: 0.72rem;
  color: var(--neon-purple);
}

/* ===== Share Section ===== */
.share-section {
  padding: 40px 0;
  text-align: center;
}

.share-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--aurora-purple);
}

.share-btn.wechat { border-color: rgba(7, 193, 96, 0.3); }
.share-btn.weibo { border-color: rgba(230, 22, 45, 0.3); }
.share-btn.douyin { border-color: rgba(254, 44, 85, 0.3); }
.share-btn.bilibili { border-color: rgba(0, 174, 236, 0.3); }

/* ===== Footer ===== */
.site-footer {
  background: rgba(5, 7, 18, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 50px 0 20px;
  position: relative;
  z-index: 1;
}

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

.footer-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}

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

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

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

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

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

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

.footer-contact strong {
  color: var(--text-primary);
}

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

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

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

/* ===== Inner Page Styles ===== */
.page-hero {
  padding: 100px 0 40px;
  text-align: center;
  position: relative;
}

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

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

.content-section {
  padding: 50px 0;
}

.content-section article {
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 30px 0 14px;
  color: var(--text-primary);
}

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

.content-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--neon-blue);
}

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

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

.content-section li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ===== Security Page - 3-Layer Encryption ===== */
.encryption-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.layer-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.layer-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  position: relative;
}

/* CSS-drawn security icons */
.layer-icon.shield::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 60px;
  border: 3px solid var(--aurora-purple);
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  animation: shieldPulse 2s ease-in-out infinite;
}

.layer-icon.shield::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 20px;
  border: 3px solid var(--neon-blue);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

@keyframes shieldPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(108, 60, 224, 0.3); }
  50% { box-shadow: 0 0 25px rgba(108, 60, 224, 0.6); }
}

.layer-icon.chip::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 3px solid var(--aurora-cyan);
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.1);
}

.layer-icon.chip::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--aurora-cyan);
  border-radius: 4px;
  animation: chipGlow 1.5s ease-in-out infinite;
}

@keyframes chipGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; box-shadow: 0 0 15px rgba(6, 182, 212, 0.5); }
}

.layer-icon.lock::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 22px;
  border: 3px solid var(--aurora-green);
  border-bottom: none;
  border-radius: 15px 15px 0 0;
}

.layer-icon.lock::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 30px;
  background: rgba(16, 185, 129, 0.2);
  border: 3px solid var(--aurora-green);
  border-radius: 6px;
}

.layer-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* SVG Animation for key transfer */
.key-transfer-animation {
  width: 100%;
  max-width: 700px;
  margin: 30px auto;
  height: 120px;
  position: relative;
  overflow: hidden;
}

.transfer-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-blue), var(--aurora-cyan));
}

.transfer-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  animation: transferMove 3s ease-in-out infinite;
}

@keyframes transferMove {
  0% { left: 0; }
  100% { left: calc(100% - 12px); }
}

.transfer-node {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--aurora-purple);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--neon-blue);
}

.transfer-node:nth-child(2) { left: 0; }
.transfer-node:nth-child(3) { left: 50%; transform: translate(-50%, -50%); }
.transfer-node:nth-child(4) { right: 0; }

.transfer-label {
  position: absolute;
  bottom: 5px;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.transfer-label:nth-child(5) { left: 0; }
.transfer-label:nth-child(6) { left: 50%; transform: translateX(-50%); }
.transfer-label:nth-child(7) { right: 0; }

/* ===== Guide Page - Interactive Steps ===== */
.steps-container {
  max-width: 800px;
  margin: 30px auto;
}

.step-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.step-tab {
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

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

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

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

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

/* ===== Lazy Loading ===== */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; max-width: 400px; margin: 0 auto; }
  .hero-btns { justify-content: center; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .encryption-layers { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .main-nav { 
    display: none;
    position: fixed;
    top: 62px;
    left: 0; right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    gap: 4px;
  }

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

  .main-nav a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  .menu-toggle { display: block; }

  .hero { padding: 80px 0 40px; }
  .hero h1 { font-size: 1.8rem; }
  .hero .subtitle { font-size: 0.95rem; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 1.5rem; }

  .dashboard-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }

  .news-card { flex-direction: column; }
  .news-card .news-thumb { width: 100%; height: 160px; }

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

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

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

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .stats-bar { grid-template-columns: 1fr; }
  .step-tabs { flex-direction: column; }
  .step-tab { text-align: center; }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }
