:root {
  --bg: #030508;
  --bg2: #0a0e18;
  --text: #f0f3fa;
  --text-2: #c5cdd9;
  --muted: #7a8499;
  --gold: #f0d060;
  --gold-light: #ffe9a0;
  --gold-dim: rgba(240, 208, 96, 0.28);
  --teal: #3ee8d6;
  --teal-dim: rgba(62, 232, 214, 0.22);
  --purple: #9b8cff;
  --purple-dim: rgba(155, 140, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-hover: rgba(62, 232, 214, 0.35);
  --radius: 20px;
  --radius-lg: 28px;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* Film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Aurora blobs */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: auroraDrift 18s ease-in-out infinite;
}

.aurora-blob.a1 {
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(62, 232, 214, 0.22), transparent 70%);
}

.aurora-blob.a2 {
  width: 45vw;
  height: 45vw;
  max-width: 560px;
  max-height: 560px;
  top: 10%;
  right: -12%;
  background: radial-gradient(circle, rgba(155, 140, 255, 0.18), transparent 70%);
  animation-delay: -6s;
}

.aurora-blob.a3 {
  width: 50vw;
  height: 40vw;
  max-width: 600px;
  bottom: -5%;
  left: 25%;
  background: radial-gradient(circle, rgba(240, 208, 96, 0.1), transparent 70%);
  animation-delay: -12s;
}

@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, 4%) scale(1.05); }
  66% { transform: translate(-2%, 2%) scale(0.97); }
}

/* ── 旋转八卦背景 ── */
.landing-bagua-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 72%);
}

.landing-bagua-glow {
  position: absolute;
  width: min(90vh, 90vw);
  height: min(90vh, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(62, 232, 214, 0.16) 0%,
    rgba(155, 140, 255, 0.09) 38%,
    rgba(240, 208, 96, 0.04) 55%,
    transparent 68%);
  animation: landingBaguaGlow 9s ease-in-out infinite;
}

@keyframes landingBaguaGlow {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.1); opacity: 1; }
}

.landing-bagua-parallax {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.landing-bagua-layer {
  position: relative;
  width: min(96vh, 980px);
  height: min(96vh, 980px);
}

.landing-bagua-layer svg {
  width: 100%;
  height: 100%;
  display: block;
}

.landing-bagua-outer {
  color: var(--teal);
  opacity: 0.11;
  animation: landingBaguaSpinCW 140s linear infinite;
}

.landing-bagua-inner {
  width: min(74vh, 700px);
  height: min(74vh, 700px);
  color: var(--purple);
  opacity: 0.13;
  animation: landingBaguaSpinCCW 95s linear infinite;
}

.landing-bagua-core {
  width: min(30vh, 260px);
  height: min(30vh, 260px);
  color: var(--gold);
  opacity: 0.16;
  animation: landingBaguaSpinCW 55s linear infinite;
}

@keyframes landingBaguaSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes landingBaguaSpinCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.wrap { position: relative; z-index: 2; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(3, 5, 8, 0.55);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease-out), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  padding: 12px clamp(20px, 4vw, 48px);
  background: rgba(3, 5, 8, 0.82);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid rgba(62, 232, 214, 0.3);
  background: rgba(10, 14, 24, 0.6);
  box-shadow: 0 0 20px rgba(62, 232, 214, 0.12);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}

.brand-dot { color: var(--gold); margin: 0 2px; }

.nav-links { display: flex; gap: 4px; align-items: center; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
  background: var(--glass);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 15px 32px; font-size: 0.98rem; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s;
}

.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(135deg, #4ef0de 0%, var(--teal) 40%, #0d9488 100%);
  color: #022c28;
  box-shadow: 0 0 0 1px rgba(62, 232, 214, 0.3), 0 8px 32px rgba(62, 232, 214, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(62, 232, 214, 0.5), 0 12px 48px rgba(62, 232, 214, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--gold-dim);
  color: var(--gold-light);
  background: var(--glass-2);
}

.btn-gold {
  background: linear-gradient(135deg, #fff5cc, var(--gold) 45%, #c9a020 100%);
  color: #1a1200;
  box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.35), 0 8px 28px rgba(240, 208, 96, 0.2);
}

.btn-gold:hover {
  box-shadow: 0 0 0 1px rgba(240, 208, 96, 0.55), 0 12px 40px rgba(240, 208, 96, 0.3);
  transform: translateY(-2px);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) clamp(20px, 4vw, 48px) 48px;
  position: relative;
  overflow: hidden;
}

.hero-spotlight {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 70%;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(62, 232, 214, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(62, 232, 214, 0.06);
  border: 1px solid rgba(62, 232, 214, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin-bottom: 28px;
  animation: fadeUp 0.9s var(--ease-out) both;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.hero-line {
  display: block;
}

.hero-line-1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  animation: fadeUp 0.9s 0.08s var(--ease-out) both;
}

.hero-line-2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--text-2);
  margin-top: 8px;
  font-weight: 600;
  animation: fadeUp 0.9s 0.16s var(--ease-out) both;
}

.hero h1 .grad {
  background: linear-gradient(125deg, var(--gold-light) 0%, #fff 35%, var(--teal) 70%, var(--purple) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer { to { background-position: 200% center; } }

.hero-sub {
  max-width: 480px;
  margin: 24px 0 36px;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--muted);
  line-height: 1.75;
  animation: fadeUp 0.9s 0.24s var(--ease-out) both;
}

.hero-sub strong { color: var(--gold); font-weight: 600; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.9s 0.32s var(--ease-out) both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  animation: fadeUp 0.9s 0.4s var(--ease-out) both;
}

.hero-trust .sep { opacity: 0.35; }

/* Hero stage / product preview */
.hero-stage {
  position: relative;
  perspective: 1200px;
  animation: fadeUp 1s 0.2s var(--ease-out) both;
  min-height: 420px;
}

.stage-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, rgba(62, 232, 214, 0.15), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(24px) saturate(1.3);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(62, 232, 214, 0.06);
}

.hero-panel-main {
  padding: 22px 24px;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s var(--ease-out);
}

.hero-stage:hover .hero-panel-main {
  transform: rotateY(-4deg) rotateX(2deg) translateY(-4px);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.panel-dot.live {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
  animation: pulse 2s infinite;
}

.panel-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.06em;
}

.panel-hex {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.hex-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hex-col .yao {
  height: 7px;
  border-radius: 4px;
}

.hex-col .yao.yang {
  width: 52px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  box-shadow: 0 0 12px rgba(62, 232, 214, 0.3);
}

.hex-col .yao.yin {
  display: flex;
  gap: 8px;
  width: 52px;
  background: none;
}

.hex-col .yao.yin i {
  flex: 1;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  font-style: normal;
}

.hex-meta { display: flex; flex-direction: column; gap: 2px; }

.hex-label {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hex-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hex-sub { font-size: 0.78rem; color: var(--muted); }

.panel-chat { display: flex; flex-direction: column; gap: 10px; }

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 92%;
}

.chat-bubble.user {
  align-self: flex-end;
  background: rgba(62, 232, 214, 0.12);
  border: 1px solid rgba(62, 232, 214, 0.2);
  color: var(--text-2);
}

.chat-bubble.ai {
  align-self: flex-start;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  display: block;
  max-width: 96%;
  min-height: 44px;
}

.ai-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0 6px;
}

.chat-bubble.ai.is-typing .ai-text {
  display: none;
}

.chat-bubble.ai:not(.is-typing) .ai-typing-dots {
  display: none;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  animation: typingBounce 1.2s ease infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.ai-text {
  color: var(--text);
  margin: 0;
  line-height: 1.65;
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-text.is-streaming::after {
  content: '▍';
  display: inline-block;
  margin-left: 2px;
  color: var(--teal);
  animation: cursorBlink 0.9s step-end infinite;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

.hero-panel-float {
  position: absolute;
  top: -12px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  animation: floatY 4s ease-in-out infinite;
}

.float-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(155, 140, 255, 0.15);
}

.float-text { display: flex; flex-direction: column; gap: 2px; }
.float-text strong { font-size: 0.85rem; }
.float-text span { font-size: 0.72rem; color: var(--muted); }

.hero-panel-chip {
  position: absolute;
  bottom: 24px;
  left: -20px;
  padding: 12px 16px;
  text-align: center;
  animation: floatY 5s ease-in-out infinite reverse;
}

.hero-panel-chip span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.hero-panel-chip small {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  animation: fadeUp 1s 0.8s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--teal), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* ── Marquee ── */
.marquee {
  position: relative;
  border-block: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  padding: 16px 0;
}

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}

.marquee-fade.left {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee-fade.right {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: marqueeScroll var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
  min-width: max-content;
}

.marquee-group span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  opacity: 0.45;
  letter-spacing: 0;
}

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ── Live feed ── */
.live-feed {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 8px;
}

.live-feed-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 24px;
  align-items: stretch;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(62, 232, 214, 0.14);
  background:
    linear-gradient(135deg, rgba(62, 232, 214, 0.06), rgba(155, 140, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.live-feed-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 148px;
  padding-right: 20px;
  border-right: 1px solid var(--glass-border);
}

.live-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: livePulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.live-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live-head-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.live-head-text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.live-feed-viewport {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.live-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.live-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 14px;
  align-items: center;
  min-height: 44px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  animation: liveItemIn 0.5s var(--ease-out) both;
}

.live-item:last-child { border-bottom: none; }

@keyframes liveItemIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.live-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.live-item-body { min-width: 0; }

.live-item-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 2px;
}

.live-item-text {
  font-size: 0.88rem;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-item-time {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.live-item.type-pk .live-item-icon { background: rgba(240, 208, 96, 0.1); border-color: rgba(240, 208, 96, 0.2); }
.live-item.type-ai .live-item-icon { background: rgba(155, 140, 255, 0.12); border-color: rgba(155, 140, 255, 0.22); }
.live-item.type-lungua .live-item-icon { background: rgba(62, 232, 214, 0.08); }
.live-item.type-paipan .live-item-icon { background: rgba(62, 232, 214, 0.1); }

.live-item-skeleton span {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: skShine 1.4s linear infinite;
}

.live-item-skeleton span:last-child {
  width: 70%;
  margin-top: 8px;
  height: 8px;
}

@keyframes skShine {
  to { background-position: 200% 0; }
}

/* ── Sections ── */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) clamp(20px, 4vw, 48px);
}

.section-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 12px;
  opacity: 0.85;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Bento grid ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(62, 232, 214, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(62, 232, 214, 0.06);
}

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

.bento-featured {
  grid-column: span 2;
  grid-row: span 1;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(62, 232, 214, 0.06), rgba(155, 140, 255, 0.04));
}

.bento-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--teal-dim), transparent 70%);
  pointer-events: none;
}

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-dim), var(--purple-dim));
  border: 1px solid var(--glass-border);
}

.bento-body { position: relative; flex: 1; }

.bento-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.bento-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.bento-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.bento-link:hover { color: var(--gold-light); }

.bento-featured .bento-icon { width: 64px; height: 64px; font-size: 1.8rem; }

/* ── Stats ── */
.stats-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.stat-item { flex: 1; text-align: center; }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 40%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
  flex-shrink: 0;
}

/* ── Flow timeline ── */
.flow-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.flow-line {
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), var(--purple-dim), transparent);
}

.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 0 4px rgba(62, 232, 214, 0.08), 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.flow-step:hover .flow-num {
  border-color: var(--teal-dim);
  box-shadow: 0 0 0 4px rgba(62, 232, 214, 0.15), 0 12px 32px rgba(62, 232, 214, 0.1);
}

.flow-num span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flow-body strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.flow-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* ── CTA ── */
.cta-block {
  text-align: center;
  padding: clamp(56px, 8vw, 88px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(62, 232, 214, 0.15);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(62, 232, 214, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(155, 140, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
}

.cta-rays {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(240, 208, 96, 0.04) 30deg, transparent 60deg, rgba(62, 232, 214, 0.04) 120deg, transparent 180deg);
  pointer-events: none;
}

.cta-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  position: relative;
}

.cta-block p {
  color: var(--muted);
  margin-bottom: 36px;
  position: relative;
  font-size: 1rem;
}

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

.wechat-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  position: relative;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  backdrop-filter: blur(12px);
}

.wechat-qr {
  position: relative;
  flex-shrink: 0;
}

.qr-shine {
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-dim), var(--gold-dim));
  opacity: 0.5;
  z-index: 0;
}

.wechat-qr img {
  position: relative;
  z-index: 1;
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.wechat-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.wechat-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 48px 24px 64px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-brand img {
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.footer-links {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(122, 132, 153, 0.6);
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ── Responsive ── */
@media (max-width: 960px) {
  .landing-bagua-layer {
    width: min(130vw, 760px);
    height: min(130vw, 760px);
  }

  .landing-bagua-inner {
    width: min(100vw, 540px);
    height: min(100vw, 540px);
  }

  .landing-bagua-outer { opacity: 0.08; }
  .landing-bagua-inner { opacity: 0.09; }
  .landing-bagua-core { opacity: 0.12; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy { text-align: center; }

  .hero-sub { margin-left: auto; margin-right: auto; }

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

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

  .hero-stage {
    min-height: 360px;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-panel-main { transform: none; }
  .hero-stage:hover .hero-panel-main { transform: translateY(-4px); }

  .hero-panel-float { right: 0; top: -8px; }
  .hero-panel-chip { left: 0; bottom: 16px; }

  .live-feed-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .live-feed-head {
    border-right: none;
    padding-right: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
  }

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

  .bento-featured {
    grid-column: span 1;
    flex-direction: column;
  }

  .stats-panel {
    flex-wrap: wrap;
  }

  .stat-divider { display: none; }

  .stat-item {
    flex: 1 1 40%;
  }

  .flow-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flow-line { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 5, 8, 0.96);
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
  }

  .menu-toggle { display: block; }

  .hero-scroll { display: none; }

  .wechat-follow {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .landing-bagua-outer,
  .landing-bagua-inner,
  .landing-bagua-core,
  .landing-bagua-glow {
    animation: none !important;
  }

  .reveal { opacity: 1; transform: none; }
}
