/* ============================================================
   OKX V2 - SEO + 转化导向 · 前卫暗色系设计 V3
   修复版：排版 / Logo / 色彩 / 图片 / 响应式
   ============================================================ */

/* 字体 */
@font-face {
  font-family: 'OKX Sans';
  src: url('../assets/fonts/Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'OKX Sans';
  src: url('../assets/fonts/Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'OKX Sans';
  src: url('../assets/fonts/Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'OKX Sans';
  src: url('../assets/fonts/Light.woff2') format('woff2');
  font-weight: 300; font-display: swap;
}

/* ============================================================
   设计变量 — 统一色彩系统
   ============================================================ */
:root {
  /* 背景层 */
  --bg-base:      #06080d;
  --bg-deep:      #030508;
  --bg-surface:   #0b0f18;
  --bg-card:      #101520;
  --bg-card-alt:  #0f1420;

  /* 品牌色 — OKX 绿为主脉 */
  --brand:        #00c087;
  --brand-light:  #00e3a0;
  --brand-dim:    rgba(0, 192, 135, 0.15);
  --brand-glow:   rgba(0, 192, 135, 0.25);

  /* 文字层 */
  --text-hi:      #ffffff;
  --text-mid:     #c8d0dc;
  --text-lo:      #6b7a90;
  --text-dim:     #3d4a5c;

  /* 涨跌色 */
  --up:           #00c087;
  --up-bg:        rgba(0, 192, 135, 0.12);
  --down:         #ff4757;
  --down-bg:      rgba(255, 71, 87, 0.12);

  /* 边框 */
  --border:       rgba(255, 255, 255, 0.07);
  --border-brand: rgba(0, 192, 135, 0.2);

  /* 圆角 */
  --r-lg:  16px;
  --r-md:  12px;
  --r-sm:  8px;

  /* 阴影 */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 192, 135, 0.2);

  /* 字体 */
  --font: 'OKX Sans', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ============================================================
   基础
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-mid);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* 通用容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 辅助 */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight { color: var(--brand); font-weight: 600; }

/* ============================================================
   顶部通知栏
   ============================================================ */
.top-bar {
  background: rgba(0, 192, 135, 0.08);
  border-bottom: 1px solid var(--border-brand);
  padding: 10px 0;
  position: relative;
  z-index: 1001;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-lo);
}
.top-bar-inner strong { color: var(--brand); }
.top-bar-actions { display: flex; gap: 8px; }

/* 小按钮 */
.btn-sm {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
  display: inline-block;
  text-align: center;
}
.btn-sm-outline {
  background: transparent;
  border: 1px solid var(--border-brand);
  color: var(--brand);
}
.btn-sm-outline:hover { background: var(--brand-dim); }
.btn-sm-primary {
  background: var(--brand);
  color: #000;
  border: 1px solid transparent;
}
.btn-sm-primary:hover { background: var(--brand-light); }

/* ============================================================
   导航栏
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(6, 8, 13, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* 导航行情 */
.nav-ticker {
  flex: 1;
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  min-width: 0;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ticker-sym { color: var(--text-lo); }
.ticker-price { color: var(--text-mid); font-weight: 600; }
.ticker-change { font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.ticker-change.up { background: var(--up-bg); color: var(--up); }
.ticker-change.down { background: var(--down-bg); color: var(--down); }

/* 导航链接 */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex-shrink: 0;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-lo);
  transition: all .2s;
}
.nav-links a:hover { color: var(--text-hi); background: rgba(255,255,255,0.05); }

/* 导航 CTA */
.nav-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* 语言选择器 */
.lang-selector {
  position: relative;
  flex-shrink: 0;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-lo);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-mid);
  border-color: rgba(255,255,255,0.12);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  padding: 6px 0;
  min-width: 180px;
  max-height: 360px;
  overflow-y: auto;
  z-index: 999;
  display: none;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li {
  list-style: none;
}
.lang-dropdown li button {
  width: 100%;
  text-align: left;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-lo);
  cursor: pointer;
  transition: background .15s, color .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-dropdown li button:hover { background: rgba(255,255,255,0.06); color: var(--text-mid); }
.lang-dropdown li.active button { color: var(--brand); font-weight: 600; }
.lang-native { font-weight: 500; }
.lang-code { font-size: 11px; color: var(--text-dim); margin-left: auto; text-transform: uppercase; }
.btn-outline {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-lo);
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-primary {
  padding: 7px 18px;
  border-radius: 20px;
  background: var(--brand);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s;
}
.btn-primary:hover { background: var(--brand-light); box-shadow: var(--shadow-glow); }

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: all .3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(6, 8, 13, 0.98);
  padding: 16px;
  border-bottom: 1px solid var(--border);
  gap: 4px;
  position: absolute;
  top: 64px;
  left: 0; right: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
}
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  color: var(--text-lo);
  font-size: 15px;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text-hi); }
.mobile-cta {
  background: var(--brand) !important;
  color: #000 !important;
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,192,135,0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6,8,13,0.4) 0%, rgba(6,8,13,0.92) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-content {
  flex: 1;
  min-width: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 50px;
  background: var(--brand-dim);
  border: 1px solid var(--border-brand);
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 24px;
  animation: fadeInUp .6s ease;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-hi);
  animation: fadeInUp .6s .1s ease both;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-lo);
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeInUp .6s .2s ease both;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeInUp .6s .3s ease both;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  background: var(--brand);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(0,192,135,0.35);
  transition: all .3s;
}
.btn-hero-primary:hover {
  background: var(--brand-light);
  box-shadow: 0 0 50px rgba(0,192,135,0.5);
  transform: translateY(-2px);
  color: #000;
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: all .3s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  color: var(--text-hi);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dim);
  animation: fadeInUp .6s .4s ease both;
}
.hero-trust strong { color: var(--text-mid); }

/* Hero 右侧 — 视频动画 */
.hero-visual {
  flex: 0 0 auto;
  width: 340px;
  max-width: 38%;
}
.hero-video-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6), 0 0 80px rgba(0,192,135,0.1);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual-video {
  width: 100%;
  display: block;
  border-radius: 20px;
}
.hero-video-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 60px rgba(0,192,135,0.08);
  pointer-events: none;
}

/* 滚动提示 */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   行情滚动条
   ============================================================ */
.ticker-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
.ticker-bar::before, .ticker-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.ticker-bar::before { left: 0; background: linear-gradient(90deg, var(--bg-card), transparent); }
.ticker-bar::after { right: 0; background: linear-gradient(270deg, var(--bg-card), transparent); }
.ticker-track {
  display: flex;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-bar-inner {
  display: flex;
  animation: tickerScroll 40s linear infinite;
}
.ticker-bar .ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  white-space: nowrap;
  font-size: 13px;
  border-right: 1px solid var(--border);
}
.ticker-bar .sym { font-weight: 700; color: var(--text-mid); }
.ticker-bar .price { color: var(--text-mid); font-weight: 600; }
.ticker-bar .change { font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.ticker-bar .change.up { background: var(--up-bg); color: var(--up); }
.ticker-bar .change.down { background: var(--down-bg); color: var(--down); }

/* ============================================================
   数字统计
   ============================================================ */
.stats-section { padding: 80px 0; background: var(--bg-base); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all .3s;
  opacity: 0;
  transform: translateY(20px);
}
.stat-card.visible { opacity: 1; transform: translateY(0); transition: all .5s; }
.stat-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-4px);
}
.stat-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  display: inline;
}
.stat-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.65;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-lo);
}

/* ============================================================
   Section Header
   ============================================================ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--brand-dim);
  border: 1px solid var(--border-brand);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p {
  font-size: 15px;
  color: var(--text-lo);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   产品特色
   ============================================================ */
.features-section {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
}
.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,192,135,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all .3s;
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
}
.feature-card.visible { opacity: 1; transform: translateY(0); transition: all .5s; }
.feature-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 30px rgba(0,192,135,0.06);
}
.feature-card.featured {
  background: linear-gradient(135deg, rgba(0,192,135,0.07) 0%, rgba(0,192,135,0.02) 100%);
  border-color: var(--border-brand);
}
.feature-card.featured::before {
  content: '热门';
  position: absolute;
  top: 16px; right: 16px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--brand);
  color: #000;
  font-size: 11px;
  font-weight: 700;
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(0,192,135,0.15);
}
.feature-icon img {
  width: 40px; height: 40px;
  object-fit: contain;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-lo);
  line-height: 1.7;
  margin-bottom: 18px;
}
.feature-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.feature-link:hover { color: var(--brand-light); gap: 10px; }

/* ============================================================
   安全
   ============================================================ */
.security-section { padding: 100px 0; background: var(--bg-base); }
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.security-visual {
  display: flex;
  justify-content: center;
}
.security-visual img {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  max-height: 320px;
  width: auto;
  object-fit: contain;
}
.security-items { display: flex; flex-direction: column; gap: 20px; }
.security-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: all .3s;
  opacity: 0;
  transform: translateX(20px);
}
.security-item.visible { opacity: 1; transform: translateX(0); transition: all .5s; }
.security-item:hover { border-color: var(--border-brand); }
.security-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0,192,135,0.15);
}
.security-icon img { width: 32px; height: 32px; object-fit: contain; }
.security-item h3 { font-size: 16px; font-weight: 700; color: var(--text-hi); margin-bottom: 5px; }
.security-item p { font-size: 14px; color: var(--text-lo); }

/* ============================================================
   App 下载
   ============================================================ */
.download-section {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,192,135,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}



/* 下载信息 */
.download-info h3 { font-size: 22px; font-weight: 700; color: var(--text-hi); margin-bottom: 28px; }
.download-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-hi);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s;
}
.dl-btn:hover {
  border-color: var(--brand);
  background: rgba(0,192,135,0.06);
  transform: translateX(4px);
}
.dl-btn svg { color: var(--brand); }
.download-features { display: flex; flex-direction: column; gap: 10px; }
.df-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-lo); }
.df-item svg { flex-shrink: 0; color: var(--brand); }

/* ============================================================
   精美 H5 互动展示
   ============================================================ */
.h5-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
}
.h5-showcase.visible { opacity: 1; transform: translateY(0); transition: all .8s; }
.h5-frame {
  width: 300px;
  background: linear-gradient(145deg, #1a1f2e 0%, #0d1117 100%);
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 100px rgba(0,192,135,0.08);
  overflow: hidden;
  position: relative;
}
.h5-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(0,0,0,0.3);
  font-size: 11px;
  color: #fff;
}
.h5-time { font-weight: 600; }
.h5-signal { display: flex; align-items: flex-end; gap: 2px; }
.h5-signal span { width: 3px; background: #fff; border-radius: 1px; }
.h5-signal span:nth-child(1) { height: 4px; }
.h5-signal span:nth-child(2) { height: 6px; }
.h5-signal span:nth-child(3) { height: 8px; }
.h5-signal span:nth-child(4) { height: 10px; }
.h5-battery { display: flex; align-items: center; gap: 4px; }
.h5-screen { padding: 12px; }
.h5-price-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  margin-bottom: 12px;
}
.h5-pair-info { display: flex; align-items: center; gap: 10px; }
.h5-coin-icon { width: 36px; height: 36px; }
.h5-pair-text { display: flex; flex-direction: column; }
.h5-pair-name { font-size: 14px; font-weight: 700; color: #fff; }
.h5-pair-sym { font-size: 11px; color: rgba(255,255,255,0.5); }
.h5-price-info { text-align: right; }
.h5-current-price { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.h5-price-change { font-size: 12px; font-weight: 600; }
.h5-price-change.up { color: var(--brand); }
.h5-chart-container {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
}
.h5-chart-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.h5-chart-tabs span {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
}
.h5-chart-tabs span.active {
  background: rgba(0,192,135,0.2);
  color: var(--brand);
}
#h5-chart-canvas {
  width: 100%;
  height: 120px;
  border-radius: 8px;
}
.h5-chart-info {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}
.h5-order-book {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
}
.h5-orders { font-size: 10px; }
.h5-asks .h5-order-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.h5-asks .h5-order-row span:first-child { color: var(--down); min-width: 70px; }
.h5-asks .h5-order-row span:nth-child(2) { color: rgba(255,255,255,0.6); min-width: 45px; text-align: right; }
.h5-bids .h5-order-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.h5-bids .h5-order-row span:first-child { color: var(--brand); min-width: 70px; }
.h5-bids .h5-order-row span:nth-child(2) { color: rgba(255,255,255,0.6); min-width: 45px; text-align: right; }
.h5-bar {
  height: 4px;
  background: rgba(0,192,135,0.3);
  border-radius: 2px;
}
.h5-bar.down { background: rgba(255,71,87,0.3); }
.h5-mid-price {
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin: 6px 0;
}
.h5-mid-price span { color: var(--brand); }
.h5-trade-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.h5-btn-buy, .h5-btn-sell {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
}
.h5-btn-buy {
  background: linear-gradient(135deg, var(--brand) 0%, #00a86d 100%);
  color: #000;
}
.h5-btn-sell {
  background: rgba(255,71,87,0.15);
  color: var(--down);
  border: 1px solid rgba(255,71,87,0.3);
}
.h5-btn-buy:hover { transform: scale(1.02); box-shadow: 0 4px 15px rgba(0,192,135,0.3); }
.h5-btn-sell:hover { background: rgba(255,71,87,0.25); }

/* ============================================================
   价格卡片
   ============================================================ */
.prices-section { padding: 100px 0; background: var(--bg-base); }
.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  transition: all .3s;
  cursor: pointer;
}
.price-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.price-card.featured {
  background: linear-gradient(135deg, rgba(0,192,135,0.06) 0%, var(--bg-card) 100%);
  border-color: var(--border-brand);
}
.price-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.price-card-name { font-size: 16px; font-weight: 700; color: var(--text-hi); }
.price-card-tag {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--brand-dim);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
}
.price-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.price-change {
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.price-change.up { background: var(--up-bg); color: var(--up); }
.price-change.down { background: var(--down-bg); color: var(--down); }
.price-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.price-meta strong { color: var(--text-lo); }

/* ============================================================
   合作伙伴
   ============================================================ */
.partners-section {
  padding: 56px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.partner-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
.partners-logos img {
  height: 28px;
  opacity: 0.35;
  filter: grayscale(1) brightness(2);
  transition: all .3s;
  object-fit: contain;
}
.partners-logos img:hover { opacity: 0.75; filter: none; }

/* ============================================================
   注册区
   ============================================================ */
.register-section {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.register-glow {
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse, rgba(0,192,135,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.register-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.register-info h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
  line-height: 1.2;
}
.register-info > p { font-size: 15px; color: var(--text-lo); margin-bottom: 28px; }
.register-perks { list-style: none; margin-bottom: 28px; }
.register-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-lo);
  border-bottom: 1px solid var(--border);
}
.register-perks li:last-child { border-bottom: none; }
.register-countdown {
  padding: 18px;
  background: var(--brand-dim);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-md);
  display: inline-block;
}
.register-countdown p { font-size: 12px; color: var(--text-lo); margin-bottom: 8px; }
.countdown-timer { display: flex; align-items: center; gap: 4px; }
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  padding: 7px;
  background: var(--bg-card);
  border-radius: 6px;
  border: 1px solid var(--border-brand);
}
.cd-unit strong { font-size: 22px; font-weight: 700; color: var(--brand); line-height: 1; }
.cd-unit small { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.cd-sep { font-size: 22px; font-weight: 700; color: var(--text-dim); padding: 0 2px; }

/* 注册表单 */
.register-form-wrap {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.register-form h3 { font-size: 22px; font-weight: 700; color: var(--text-hi); margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-lo);
  margin-bottom: 7px;
}
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-hi);
  font-size: 15px;
  font-family: var(--font);
  transition: all .2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,192,135,0.1);
}
.form-group input.error { border-color: var(--down); }
.form-error { font-size: 12px; color: var(--down); margin-top: 5px; display: none; }
.form-group-check { display: flex; align-items: flex-start; gap: 10px; }
.form-group-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.form-group-check label { font-size: 13px; color: var(--text-lo); margin-bottom: 0; line-height: 1.5; }
.form-group-check label a { color: var(--brand); }
.btn-register {
  width: 100%;
  padding: 15px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s;
  margin-top: 20px;
  border: none;
}
.btn-register:hover { background: var(--brand-light); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-register:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-loading img { border-radius: 50%; }
.form-footer { text-align: center; margin-top: 14px; font-size: 14px; color: var(--text-lo); }
.form-footer a { color: var(--brand); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 100px 0; background: var(--bg-base); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-brand); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-hi);
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--brand);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 22px 18px; font-size: 14px; color: var(--text-lo); line-height: 1.8; }

/* ============================================================
   浮动 CTA
   ============================================================ */
.float-cta {
  position: fixed;
  bottom: 52px;
  left: 0; right: 0;
  z-index: 900;
  background: rgba(6, 8, 13, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 24px;
  transform: translateY(100%);
  transition: transform .3s;
}
.float-cta.visible { transform: translateY(0); }
.float-cta-inner {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}
.float-btn {
  flex: 1;
  padding: 11px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all .2s;
}
.float-btn-register { background: var(--brand); color: #000; }
.float-btn-register:hover { background: var(--brand-light); }
.float-btn-download {
  background: rgba(255,255,255,0.07);
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.float-btn-download:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   合规声明区（页脚上方）
   ============================================================ */
.compliance-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.compliance-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.compliance-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 32px;
  margin-bottom: 20px;
  text-align: left;
}
.compliance-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 14px;
}
.compliance-block p {
  font-size: 13px;
  color: var(--text-lo);
  line-height: 1.8;
  margin-bottom: 10px;
}
.compliance-block p:last-child { margin-bottom: 0; }
.compliance-block strong { color: var(--brand); font-weight: 600; }
.compliance-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-bottom: 14px;
}
.compliance-links a {
  font-size: 13px;
  color: var(--text-lo);
  padding: 0 10px;
  transition: color .2s;
  border-right: 1px solid var(--border);
}
.compliance-links a:last-child { border-right: none; }
.compliance-links a:hover { color: var(--brand); }
.compliance-links span { color: var(--text-dim); padding: 0 2px; }
.compliance-copy {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   页脚
   ============================================================ */
.footer { background: var(--bg-deep); padding: 72px 0 36px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 72px;
  margin-bottom: 56px;
}
.footer-brand img {
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lo);
  transition: all .2s;
}
.footer-social a:hover { background: var(--brand); color: #000; border-color: var(--brand); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: var(--text-mid); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-badges { display: flex; gap: 10px; }
.footer-badges img { border-radius: 6px; }

/* ============================================================
   Toast
   ============================================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 13px 20px;
  border-radius: var(--r-sm);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 14px;
  box-shadow: var(--shadow-card);
  transform: translateX(120%);
  transition: transform .3s;
  pointer-events: auto;
  max-width: 300px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-color: var(--up); }
.toast.error { border-color: var(--down); }
.toast.info { border-color: var(--brand); }

/* ============================================================
   返回顶部
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 76px;
  right: 20px;
  z-index: 800;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-lo);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: all .3s;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand); color: #000; border-color: var(--brand); }

/* ============================================================
   响应式 — 平板 & 手机
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  /* Hero 平板 */
  .hero-container { flex-direction: column; text-align: center; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .hero-content { width: 100%; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { width: 100%; max-width: 360px; }

  /* Grid 响应 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .download-content { grid-template-columns: 1fr; }
  .register-content { grid-template-columns: 1fr; }
  .prices-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  /* 导航 */
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-ticker { display: none; }
}

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

  /* 顶部通知栏 */
  .top-bar-inner { justify-content: center; text-align: center; }

  /* Hero 手机 */
  .hero-container { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 15px; }
  .btn-hero-primary, .btn-secondary-hero { padding: 13px 26px; font-size: 14px; }
  .hero-trust { font-size: 13px; }
  .hero-scroll-indicator { display: none; }

  /* Grid 手机 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 28px 16px; }
  .stat-num { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .prices-grid { grid-template-columns: 1fr; }

  /* 安全 */
  .security-grid { gap: 32px; }

  /* 手机预览 */
  .download-phone-mockup { width: 220px; height: 420px; border-radius: 28px; }
  .qr-codes { flex-direction: column; align-items: center; }
  .download-info h3 { font-size: 20px; text-align: center; }

  /* 注册 */
  .register-content { gap: 40px; }
  .register-form-wrap { padding: 28px 20px; }
  .register-perks li { font-size: 13px; }

  /* 页脚 */
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* 合作 */
  .partners-logos img { height: 22px; }
  .partners-logos { gap: 18px; }
  .partner-label { display: none; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 16px 18px; }

  /* 浮动 CTA */
  .float-cta { padding: 8px 16px; bottom: 56px; }

  /* Cookie 横幅 */
  .cookie-bar { bottom: 0; }
}

/* ============================================================
   Cookie 同意横幅
   ============================================================ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(6, 8, 13, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform .4s ease;
  padding: 12px 24px;
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-inner span {
  font-size: 13px;
  color: var(--text-lo);
  line-height: 1.6;
}
.cookie-inner span a {
  color: var(--brand);
  text-decoration: underline;
}
.cookie-actions { flex-shrink: 0; }
.cookie-accept {
  padding: 7px 18px;
  border-radius: 20px;
  background: var(--brand);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  border: none;
  font-family: var(--font);
}
.cookie-accept:hover { background: var(--brand-light); }

/* ============================================
   合规小字（页脚底部）
   ============================================ */
.footer-compliance-mini {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.footer-compliance-mini p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: center;
}
.footer-compliance-mini a {
  color: var(--text-lo);
  text-decoration: none;
  margin: 0 4px;
}
.footer-compliance-mini a:hover {
  color: var(--brand);
  text-decoration: underline;
}
