/* ============================================
   中科银河算力 · 深空科幻主题
   Zhongke Yinhe Computing Power · Deep-Space Sci-Fi
   ============================================ */

:root {
  --bg-deep: #05070F;
  --bg-panel: #0C1224;
  --bg-panel-2: #101A33;
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-bg-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(120, 180, 255, 0.14);
  --glass-border-strong: rgba(120, 180, 255, 0.28);

  --neon-cyan: #00E5FF;
  --neon-violet: #8B5CFF;
  --neon-pink: #FF4D8D;
  --neon-green: #00FF9D;
  --warn-amber: #FFB020;
  --danger: #FF4D6D;

  --text-primary: #F0F4FF;
  --text-secondary: rgba(200, 215, 255, 0.72);
  --text-tertiary: rgba(160, 180, 220, 0.48);

  --gradient-main: linear-gradient(135deg, #00E5FF 0%, #8B5CFF 60%, #FF4D8D 100%);
  --gradient-cy-vi: linear-gradient(135deg, #00E5FF, #8B5CFF);

  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-pill: 999px;

  --font-cn: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-display: "Orbitron", "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html, body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-cn);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

canvas#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 48px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 7, 15, 0.55);
  border-bottom: 1px solid var(--glass-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  margin-right: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark--img {
  width: 36px;
  height: 36px;
  animation: none;
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.2));
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  background: var(--gradient-cy-vi);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.6px;
  line-height: 1;
}

/* 横板 LOGO 专用样式 */
.brand--img {
  gap: 0;
}

.brand--img img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.28));
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}

.brand--img:hover img {
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.5));
  transform: translateY(-1px);
}

/* 页脚横板 LOGO 稍小，避免 footer 首列过挤 */
.footer-logo img {
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.18));
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}

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

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 6px 12px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
}

.lang-btn {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}

.lang-btn.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.lang-btn:hover:not(.active) { color: var(--text-primary); }
.sep { opacity: 0.5; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-cn);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cy-vi);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25), 0 0 0 1px rgba(139, 92, 255, 0.3) inset;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(0, 229, 255, 0.45), 0 0 0 1px rgba(139, 92, 255, 0.5) inset;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--glass-border-strong);
}

.btn-outline:hover {
  background: var(--glass-bg);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover { color: var(--text-primary); }

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25), 0 0 0 1px rgba(139, 92, 255, 0.3) inset; }
  50% { box-shadow: 0 8px 40px rgba(0, 229, 255, 0.55), 0 0 0 1px rgba(139, 92, 255, 0.6) inset, 0 0 60px rgba(0, 229, 255, 0.2); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  z-index: 10;
  min-height: calc(100svh - 62px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 48px 60px;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  max-width: 620px;
  animation: heroFadeIn 1.2s var(--ease) 0.2s both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--neon-green);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--neon-green); }
  50% { opacity: 0.7; box-shadow: 0 0 18px var(--neon-green); }
}

.hero-title {
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hero-title .line { display: block; }
.hero-title .line:last-child { padding-left: 0; }

.brand-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12em;
  letter-spacing: 0.5px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero side - core node visual */
.hero-side-node {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFadeIn 1.2s var(--ease) 0.6s both;
}

.node-core {
  position: relative;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.6), rgba(139, 92, 255, 0.4) 50%, transparent 70%);
  box-shadow:
    0 0 80px rgba(0, 229, 255, 0.5),
    inset 0 0 60px rgba(0, 229, 255, 0.3);
  animation: corePulse 4s ease-in-out infinite;
  z-index: 3;
}

.node-core::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.6);
  animation: corePulse 4s ease-in-out infinite 0.5s;
}

.node-core::after {
  content: "";
  position: absolute;
  inset: 45px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.9), rgba(139, 92, 255, 0.5));
  animation: breathe 2.5s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.node-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.node-ring.r1 {
  width: 260px; height: 260px;
  animation: ringSpin 20s linear infinite;
  border-style: dashed;
}

.node-ring.r2 {
  width: 380px; height: 380px;
  animation: ringSpin 35s linear infinite reverse;
  border-color: rgba(139, 92, 255, 0.3);
}

.node-ring.r3 {
  width: 500px; height: 500px;
  animation: ringSpin 50s linear infinite;
  border-color: rgba(0, 229, 255, 0.15);
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.node-scan {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(0, 229, 255, 0.08) 10%, transparent 20%);
  animation: ringSpin 8s linear infinite;
  z-index: 1;
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 48px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.03), rgba(139, 92, 255, 0.03));
  overflow: hidden;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-cyan);
  letter-spacing: 1px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, 0.05);
}

.ticker-label .pulse {
  width: 6px; height: 6px;
  background: var(--neon-cyan);
  border-radius: 50%;
  animation: breathe 1.5s ease-in-out infinite;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track--mirror {
  position: absolute;
  top: 0; left: 100%;
  animation: tickerScroll 40s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.ticker-item .ti-name { color: var(--text-secondary); }
.ticker-item .ti-price { color: var(--neon-cyan); font-weight: 600; }
.ticker-item .ti-change { font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.ticker-item .ti-change.up { color: var(--neon-green); background: rgba(0, 255, 157, 0.1); }
.ticker-item .ti-change.down { color: var(--danger); background: rgba(255, 77, 109, 0.1); }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-head {
  margin-bottom: 40px;
}

.section-head.center { text-align: center; }

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  padding: 4px 12px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, 0.05);
  margin-bottom: 20px;
}

.section-tag--dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.section-title {
  font-family: var(--font-cn);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 560px;
}

/* ============================================
   MARKET
   ============================================ */
.market {
  position: relative;
  z-index: 10;
  padding: 96px 48px 72px;
  max-width: 1400px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.tab {
  padding: 12px 24px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-cn);
  cursor: pointer;
  position: relative;
  transition: color 0.2s var(--ease);
}

.tab::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  height: 2px; width: 0;
  background: var(--gradient-cy-vi);
  transition: width 0.3s var(--ease);
}

.tab:hover { color: var(--text-secondary); }
.tab.active { color: var(--text-primary); }
.tab.active::after { width: 100%; }

.filter-bar {
  display: flex;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.filter-group select {
  background: rgba(5, 7, 15, 0.6);
  border: 1px solid var(--glass-border-strong);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  min-width: 160px;
  font-family: var(--font-cn);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238899BB' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  transition: border-color 0.2s var(--ease);
}

.filter-group select:hover, .filter-group select:focus {
  border-color: var(--neon-cyan);
  outline: none;
}

.filter-group--range input[type=range] {
  width: 200px;
  accent-color: var(--neon-cyan);
}

.filter-reset {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all 0.2s var(--ease);
  font-family: var(--font-cn);
}

.filter-reset:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}

/* GPU CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gpu-card {
  position: relative;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s var(--ease);
  overflow: hidden;
  cursor: pointer;
}

.gpu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 1px;
  background: var(--gradient-cy-vi);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.gpu-card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-strong);
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.1), 0 0 0 1px rgba(0, 229, 255, 0.2);
}

.gpu-card:hover::before { opacity: 1; }

.gpu-card::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 229, 255, 0.08) 60deg, transparent 120deg);
  animation: ringSpin 6s linear infinite;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.gpu-card:hover::after { opacity: 1; }

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.card-chip {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(139, 92, 255, 0.15));
  border: 1px solid rgba(0, 229, 255, 0.25);
  flex-shrink: 0;
}

.card-chip svg { width: 28px; height: 28px; }

.card-info { flex: 1; }

.card-gpu-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.card-spec {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
}

.card-spec span { margin-right: 12px; }

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.card-price-wrap { }

.card-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--neon-cyan);
  line-height: 1;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.card-price .unit {
  font-family: var(--font-cn);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-left: 4px;
}

.card-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.card-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.card-tag.stock-ok {
  color: var(--neon-green);
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.25);
}

.card-tag.stock-warn {
  color: var(--warn-amber);
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.25);
}

.card-tag.stock-full {
  color: var(--danger);
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.25);
}

.card-action {
  padding: 10px 18px;
  font-size: 13px;
}

.card-action.disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.5);
}

.market-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   PANELS (COMPARE / CONSOLE / MAP)
   ============================================ */
.panels {
  position: relative;
  z-index: 10;
  padding: 72px 48px 48px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panels .panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 36px;
  overflow: hidden;
}

.panels .panel:first-child { grid-column: 1 / -1; }

.panel-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--neon-violet);
  padding: 4px 10px;
  border: 1px solid rgba(139, 92, 255, 0.3);
  border-radius: 6px;
  background: rgba(139, 92, 255, 0.08);
  margin-bottom: 16px;
}

.panel-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.panel-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.8;
}

/* COMPARE TABLE */
.compare-table {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 7, 15, 0.4);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1.6fr 1fr 1fr 0.6fr 0.8fr;
  gap: 8px;
  padding: 14px 18px;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.2s var(--ease);
}

.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(0, 229, 255, 0.04); }

.compare-row.compare-head {
  background: rgba(0, 229, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

.compare-row.best {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.12), transparent);
  border-left: 2px solid var(--neon-cyan);
}

.compare-row .price { color: var(--text-primary); font-weight: 500; font-family: var(--font-mono); }
.compare-row .best-price { color: var(--neon-green); font-weight: 600; text-shadow: 0 0 10px rgba(0, 255, 157, 0.4); }
.compare-row .stock { font-family: var(--font-mono); font-size: 12px; }
.compare-row .stock.ok { color: var(--neon-green); }
.compare-row .stock.warn { color: var(--warn-amber); }
.compare-row .rating { font-family: var(--font-mono); color: var(--neon-cyan); }

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--neon-cyan);
  text-decoration: none;
  border: 1px solid rgba(0, 229, 255, 0.3);
  transition: all 0.2s var(--ease);
}

.mini-btn:hover {
  background: var(--neon-cyan);
  color: var(--bg-deep);
}

/* CONSOLE HUD */
.panel-console {
  padding: 0 !important;
  overflow: hidden;
}

.console-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(5, 7, 15, 0.6);
  border-bottom: 1px solid var(--glass-border);
}

.console-dots { display: flex; gap: 6px; }
.console-dots i {
  width: 10px; height: 10px; border-radius: 50%;
}
.console-dots i:nth-child(1) { background: #FF5F57; }
.console-dots i:nth-child(2) { background: #FEBC2E; }
.console-dots i:nth-child(3) { background: #28C840; }

.console-title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

.console-tools { display: flex; gap: 8px; }
.tool-btn {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-tertiary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tool-btn:hover {
  background: var(--glass-bg-strong);
  color: var(--text-primary);
}

.console-body {
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}

.hud-ring {
  position: relative;
  width: 160px; height: 160px;
}

.hud-ring svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.hud-ring .ring-bg {
  fill: none;
  stroke: rgba(0, 229, 255, 0.1);
  stroke-width: 10;
}

.hud-ring .ring-fill {
  fill: none;
  stroke: url(#g1);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 427;
  animation: ringFill 2s var(--ease) both;
}

@keyframes ringFill {
  from { stroke-dashoffset: 427; }
  to { stroke-dashoffset: 107; }
}

.hud-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hud-ring-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--neon-cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.hud-ring-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

.hud-ring-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.hud-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hud-metric {
  padding: 12px 14px;
  background: rgba(5, 7, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.hud-metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hud-metric-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.hud-metric-bar i {
  display: block;
  height: 100%;
  background: var(--gradient-cy-vi);
  border-radius: 2px;
  animation: barFill 1.5s var(--ease) both;
}

@keyframes barFill {
  from { width: 0 !important; }
}

.hud-metric-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
}

.hud-log {
  grid-column: 1 / -1;
  padding: 14px;
  background: rgba(5, 7, 15, 0.7);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  max-height: 140px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.log-line {
  padding: 3px 0;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
}

.log-line .ts { color: var(--text-tertiary); flex-shrink: 0; }
.log-line .tag { color: var(--text-tertiary); flex-shrink: 0; }
.log-line .tag.ok { color: var(--neon-green); }

/* MAP */
.map-wrap {
  padding: 20px;
  background: rgba(5, 7, 15, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(0, 229, 255, 0.05) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(0, 229, 255, 0.05) 50%, transparent 50.5%);
  background-size: 40px 40px;
  pointer-events: none;
}

.world-map {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.node-pulse {
  animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 1; transform: scale(1); transform-origin: center; }
  50% { opacity: 0.4; transform: scale(2.2); }
}

.node-pulse.warn { fill: var(--warn-amber); }

.flow-line {
  stroke-dasharray: 8 6;
  animation: flowDash 3s linear infinite;
}

@keyframes flowDash {
  to { stroke-dashoffset: -28; }
}

.map-legend {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  position: relative;
  z-index: 1;
}

.map-legend i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.map-legend i.ok { background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); }
.map-legend i.queue { background: var(--warn-amber); box-shadow: 0 0 6px var(--warn-amber); }

/* ============================================
   AGENT
   ============================================ */
.agent {
  position: relative;
  z-index: 10;
  padding: 100px 48px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 255, 0.08) 30%, rgba(0, 229, 255, 0.05) 70%, transparent);
}

.agent-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12), rgba(139, 92, 255, 0.08) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.agent-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.agent-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.agent-sub {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 48px;
  line-height: 1.9;
}

.agent-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.tier {
  padding: 28px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.tier:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
}

.tier-featured {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(139, 92, 255, 0.12));
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.15);
  transform: scale(1.04);
}

.tier-featured:hover { transform: scale(1.04) translateY(-4px); }

.tier-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.tier-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.tier-rate {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--neon-cyan);
  font-weight: 700;
  margin-bottom: 6px;
}

.tier-cond {
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* ============================================
   PROVIDER
   ============================================ */
.provider {
  position: relative;
  z-index: 10;
  padding: 80px 48px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.provider-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.provider-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.9;
}

.provider-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.flow-step {
  flex: 1;
  min-width: 130px;
  padding: 18px;
  background: rgba(5, 7, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.flow-step:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.flow-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient-cy-vi);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.flow-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.flow-arrow {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  font-size: 20px;
  opacity: 0.6;
}

/* ============================================
   VERSIONS
   ============================================ */
.versions {
  position: relative;
  z-index: 10;
  padding: 72px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.version-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.version-card {
  padding: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s var(--ease);
}

.version-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
}

.version-card--globe {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(139, 92, 255, 0.08));
  border-color: rgba(139, 92, 255, 0.28);
}

.version-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 14px;
}

.version-tag--cn {
  color: #FFB020;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.3);
}

.version-tag--intl {
  color: var(--neon-violet);
  background: rgba(139, 92, 255, 0.1);
  border: 1px solid rgba(139, 92, 255, 0.3);
}

.version-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.version-meta {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.version-list {
  list-style: none;
  margin-bottom: 28px;
}

.version-list li {
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-left: 20px;
  position: relative;
}

.version-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 10;
  padding: 60px 48px 28px;
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 7, 15, 0.6);
}

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

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .brand-name { font-size: 16px; }

.footer-motto {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-tertiary);
  font-size: 13px;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .panels { grid-template-columns: 1fr; }
  .panels .panel:first-child { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav { padding: 12px 20px; gap: 14px; }
  .nav-links { display: none; }
  .brand--img img { height: 38px; }
  .nav-right { gap: 10px; }
  .hero { grid-template-columns: 1fr; padding: 48px 24px 40px; min-height: auto; gap: 28px; }
  .hero-content { max-width: 100%; }
  .hero-side-node { height: 280px; max-width: 320px; margin: 0 auto; }
  .panels { padding: 48px 24px 24px; }
  .market { padding: 48px 24px; }
  .ticker { padding: 12px 24px; }
  .agent { padding: 60px 24px; }
  .agent-tiers { grid-template-columns: 1fr; }
  .tier-featured { transform: none; }
  .provider { grid-template-columns: 1fr; padding: 48px 24px; }
  .versions { padding: 48px 24px; }
  .version-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 24px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .filter-bar { padding: 14px; }
  .filter-group select { min-width: 130px; }
  .compare-row { grid-template-columns: 1.2fr 1.3fr 0.9fr 0.8fr 0.5fr 0.7fr; font-size: 12px; padding: 12px; }
  .console-body { grid-template-columns: 1fr; }

  .token-market { padding: 64px 24px 48px; }
  .token-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
  .market--secondary { padding-top: 28px; }
}

@media (max-width: 560px) {
  .nav { padding: 10px 14px; gap: 10px; }
  .brand--img img { height: 32px; }
  .lang-switch { padding: 4px 8px; font-size: 12px; }
  .nav-right .btn { padding: 7px 12px; font-size: 12px; }
  .nav-right .btn-ghost { display: none; }

  .hero { padding: 36px 16px 32px; gap: 18px; }
  .hero-badge { padding: 6px 12px; font-size: 11px; margin-bottom: 18px; gap: 6px; }
  .hero-badge .dot { width: 6px; height: 6px; }
  .hero-title { font-size: clamp(28px, 9vw, 40px); line-height: 1.18; margin-bottom: 16px; letter-spacing: 0; }
  .hero-sub { font-size: 14px; line-height: 1.75; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; gap: 12px; margin-bottom: 36px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 14px; }
  .hero-stats { gap: 14px; flex-wrap: wrap; }
  .hero-stats .stat { min-width: calc(50% - 7px); flex: 1 1 calc(50% - 7px); }
  .stat-value { font-size: 26px; margin-bottom: 4px; }
  .stat-label { font-size: 10px; letter-spacing: 0.5px; }

  .hero-side-node { display: none; }

  .token-market { padding: 48px 16px 40px; }
  .token-tag { font-size: 11px; }
  .token-title { font-size: 22px; }
  .token-desc { font-size: 13px; margin-bottom: 20px; }
  .vendor-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px;
    gap: 4px;
    margin-bottom: 20px;
  }
  .vendor-tabs::-webkit-scrollbar { display: none; }
  .vendor-tab { padding: 8px 14px; font-size: 12px; flex-shrink: 0; }

  .filter-bar { flex-direction: column; gap: 12px; padding: 14px; align-items: stretch; }
  .filter-group select { min-width: 0; width: 100%; font-size: 12px; padding: 8px 10px; padding-right: 28px; }
  .filter-group--range input[type=range] { width: 100%; }
  .filter-reset { margin-left: 0; align-self: flex-end; }

  .token-grid { grid-template-columns: 1fr; gap: 12px; }
  .token-card { padding: 14px 14px 0; border-radius: 6px; }
  .token-card-logo { width: 34px; height: 34px; font-size: 14px; }
  .token-card-header { gap: 10px; margin-bottom: 10px; }
  .token-card-name { font-size: 14px; }
  .token-card-desc { font-size: 11.5px; line-height: 1.6; }
  .token-card-prices { padding: 10px 10px; gap: 5px; margin-bottom: 10px; }
  .token-price-label { font-size: 9px; min-width: 22px; letter-spacing: 1px; }
  .token-price-value { font-size: 14px; }
  .token-price-unit { font-size: 9px; }
  .token-card-tags { margin-bottom: 10px; }
  .token-tag { font-size: 9.5px; padding: 2px 6px; border-radius: 3px; }
  .token-card-footer { padding: 0 0 11px; }
  .token-latency { font-size: 9px; }
  .lat-bar { width: 28px; }
  .token-billing { font-size: 9px; }
  .token-card-action { padding: 6px 12px; font-size: 10px; }

  .market--secondary { padding: 32px 16px; }
  .card-grid { gap: 12px; }

  .hero-stats { gap: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-motto { font-size: 12px; line-height: 1.7; }
  .footer-logo img { height: 30px; }
  .compare-row { grid-template-columns: 1fr 1fr; row-gap: 4px; font-size: 11px; padding: 10px; }
  .compare-row.compare-head { display: none; }
  .footer { padding: 32px 16px 20px; }
}

@media (max-width: 420px) {
  .nav-right .btn-ghost,
  .nav-right .btn-primary { padding: 6px 10px; font-size: 11px; }
  .lang-switch { padding: 3px 6px; font-size: 11px; }
  .hero { padding: 32px 14px 28px; }
  .hero-badge { font-size: 10.5px; padding: 5px 10px; }
  .hero-title { font-size: clamp(26px, 8.5vw, 36px); margin-bottom: 14px; }
  .hero-sub { font-size: 13px; margin-bottom: 22px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 9px; }
  .hero-side-node { height: 180px; max-width: 220px; }

  .token-market { padding: 40px 14px 32px; }
  .token-title { font-size: 20px; }
  .token-desc { font-size: 12.5px; }
  .token-card-header { gap: 8px; }
  .token-card-logo { width: 30px; height: 30px; font-size: 13px; border-radius: 5px; }
  .token-card-name { font-size: 13px; }
  .token-rating { font-size: 9px; padding: 1px 5px; }

  .footer-logo img { height: 28px; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TOKEN MARKET (核心新增)
   ============================================ */
.token-market {
  position: relative;
  z-index: 10;
  padding: 96px 48px 72px;
  max-width: 1400px;
  margin: 0 auto;
}

.vendor-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.vendor-tab {
  padding: 10px 22px;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-cn);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.25s var(--ease);
}

.vendor-tab:hover {
  color: var(--text-secondary);
  background: rgba(0, 229, 255, 0.05);
}

.vendor-tab.active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(139, 92, 255, 0.18));
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
}

.token-filter {
  margin-bottom: 24px;
}

.filter-group--search {
  flex: 1;
  min-width: 200px;
}

.filter-group--search input {
  width: 100%;
  background: rgba(5, 7, 15, 0.6);
  border: 1px solid var(--glass-border-strong);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-cn);
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.filter-group--search input:focus {
  border-color: var(--neon-cyan);
}

/* Token 卡片网格 */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(332px, 1fr));
  gap: 18px;
}

/* —— HUD 面板式卡片 —— */
.token-card {
  --vc: #00E5FF;
  --br: rgba(94, 178, 255, 0.34);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 0;
  border: 1px solid rgba(94, 160, 255, 0.16);
  border-radius: 8px;
  background-color: rgba(7, 12, 26, 0.86);
  /* 4 角科技括号 x8 + 点阵网格 */
  background-image:
    linear-gradient(90deg, var(--br), var(--br)),
    linear-gradient(90deg, var(--br), var(--br)),
    linear-gradient(90deg, var(--br), var(--br)),
    linear-gradient(90deg, var(--br), var(--br)),
    linear-gradient(0deg, var(--br), var(--br)),
    linear-gradient(0deg, var(--br), var(--br)),
    linear-gradient(0deg, var(--br), var(--br)),
    linear-gradient(0deg, var(--br), var(--br)),
    radial-gradient(circle at 1px 1px, rgba(110, 170, 255, 0.1) 1px, transparent 0);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat,
                     no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-size: 16px 1.5px, 16px 1.5px, 16px 1.5px, 16px 1.5px,
                   1.5px 16px, 1.5px 16px, 1.5px 16px, 1.5px 16px,
                   17px 17px;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%,
                       0 0, 100% 0, 0 100%, 100% 100%, 0 0;
  box-shadow: inset 2px 0 0 0 var(--vc), 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
  cursor: pointer;
}

/* 内描边流光 */
.token-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: var(--gradient-cy-vi);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

/* 悬停扫描线 */
.token-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
  opacity: 0;
  pointer-events: none;
}

.token-card:hover {
  --br: rgba(0, 229, 255, 0.95);
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: inset 2px 0 0 0 var(--vc), 0 0 0 1px rgba(0, 229, 255, 0.16), 0 18px 44px rgba(0, 229, 255, 0.14);
}

.token-card:hover::before { opacity: 1; }

.token-card:hover::after {
  opacity: 1;
  animation: tokenScan 1.8s linear infinite;
}

@keyframes tokenScan {
  0%   { top: 0; }
  100% { top: 100%; }
}

.token-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.token-card-logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.16), inset 0 0 12px rgba(255, 255, 255, 0.1);
  /* 右下角切角，科幻徽标感 */
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.token-card-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.token-card-title-group {
  flex: 1;
  min-width: 0;
}

.token-card-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-primary);
  line-height: 1.25;
}

.token-card:hover .token-card-name {
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.token-rating {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  color: #FFC24B;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.3);
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.token-card-vendor {
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  margin-top: 3px;
  text-transform: uppercase;
}

.token-card-badges {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 2px;
}

.token-badge {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.8px;
}

.token-badge.hot {
  color: #fff;
  background: linear-gradient(135deg, #FF4D6D, #FF8C42);
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.35);
}

.token-badge.new {
  color: #fff;
  background: linear-gradient(135deg, #00E5FF, #8B5CFF);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.token-badge.pro {
  color: var(--neon-violet);
  background: rgba(139, 92, 255, 0.14);
  border: 1px solid rgba(139, 92, 255, 0.45);
}

.token-card-body {
  margin-bottom: 12px;
}

.token-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 输入 / 输出 分行报价 */
.token-card-prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px;
  margin-bottom: 12px;
  border-top: 1px solid rgba(120, 180, 255, 0.14);
  border-bottom: 1px solid rgba(120, 180, 255, 0.14);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.05), rgba(0, 229, 255, 0.01) 60%, transparent);
}

.token-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.token-price-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  min-width: 28px;
}

.token-price-dots {
  flex: 1;
  height: 1px;
  background-image: radial-gradient(circle, rgba(120, 180, 255, 0.4) 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  opacity: 0.5;
  align-self: center;
}

.token-price-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
  line-height: 1;
  flex-shrink: 0;
}

.token-price-value.out {
  color: var(--neon-violet);
  text-shadow: 0 0 10px rgba(139, 92, 255, 0.4);
}

.token-price-unit {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  margin-left: 3px;
  text-shadow: none;
}

.token-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.token-tag {
  font-size: 10.5px;
  padding: 2.5px 8px;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--neon-cyan);
  font-family: var(--font-cn);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.token-tag.more {
  color: var(--text-tertiary);
  border-color: rgba(160, 180, 220, 0.25);
  background: transparent;
}

.token-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 0 13px;
  margin-top: auto;
}

.token-latency {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
}

.token-latency strong {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.35);
}

.lat-bar {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.lat-bar i {
  display: block;
  height: 100%;
  background: var(--gradient-cy-vi);
  border-radius: 2px;
}

.token-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.token-billing {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.token-card-action {
  padding: 7px 15px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

/* 厂商 LOGO 渐变色 */
.vendor-deepseek  { background: linear-gradient(135deg, #1E3A5F, #00A86B); }
.vendor-qwen      { background: linear-gradient(135deg, #FF6A00, #FFB800); }
.vendor-minimax   { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.vendor-kimi      { background: linear-gradient(135deg, #0F172A, #334155); }
.vendor-zhipu     { background: linear-gradient(135deg, #0D9488, #06B6D4); }
.vendor-doubao    { background: linear-gradient(135deg, #E11D48, #F43F5E); }
.vendor-glm       { background: linear-gradient(135deg, #0891B2, #6366F1); }
.vendor-default   { background: linear-gradient(135deg, #00E5FF, #8B5CFF); }

/* GPU market secondary 样式 */
.market--secondary {
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
}
