/* =========================================================
   智造网.中国 — 瀑布流网站
   主题：蓝绿紫红炫彩（与PPT一致）
   ========================================================= */

:root {
  --bg: #070b1a;
  --bg-soft: #0d1430;
  --surface: rgba(255,255,255,.05);
  --surface-2: rgba(255,255,255,.08);
  --surface-3: rgba(255,255,255,.12);
  --border: rgba(180,220,255,.14);
  --border-strong: rgba(180,220,255,.28);
  --text-1: #eef2ff;
  --text-2: #b4c4e4;
  --text-3: #6a7a9e;
  --accent: #5ef2c6;
  --accent-2: #7aa2ff;
  --accent-3: #c984ff;
  --accent-4: #ff6b9d;
  --good: #5ef2c6;
  --warn: #ffd27a;
  --bad: #ff6b9d;
  --grad: linear-gradient(135deg,#5ef2c6,#7aa2ff 33%,#c984ff 66%,#ff6b9d);
  --grad-soft: linear-gradient(135deg,rgba(94,242,198,.2),rgba(122,162,255,.2),rgba(201,132,255,.2),rgba(255,107,157,.2));
  --grad-vert: linear-gradient(180deg,rgba(94,242,198,.25),rgba(201,132,255,.25),rgba(255,107,157,.25));
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.45);
  --header-h: 72px;
  --font-sans: 'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(80% 60% at 15% 10%, rgba(94,242,198,.12), transparent 70%),
    radial-gradient(70% 50% at 85% 25%, rgba(122,162,255,.1), transparent 70%),
    radial-gradient(70% 55% at 50% 100%, rgba(201,132,255,.08), transparent 70%),
    radial-gradient(60% 50% at 95% 75%, rgba(255,107,157,.06), transparent 65%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

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

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7,11,26,.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: height .4s cubic-bezier(.4,0,.2,1), background .4s ease, box-shadow .4s ease;
}

.site-header.scrolled {
  height: 56px;
  background: rgba(7,11,26,.9);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}

.logo-mark {
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.logo-tld {
  color: var(--text-3);
  -webkit-text-fill-color: var(--text-3);
  font-weight: 500;
  font-size: 16px;
}

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: all .2s ease;
  position: relative;
}

.nav-link:hover { color: var(--text-1); background: var(--surface); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--grad);
  border-radius: 1px;
}

/* Nav Dropdown */
.nav-dropdown-wrap { position: relative; display: inline-block; }
.nav-dropdown-wrap > .nav-link { display: flex; align-items: center; gap: 4px; }
.nav-arrow { font-size: 9px; transition: transform .2s ease; opacity: .6; }
.nav-dropdown-wrap:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(13, 20, 48, .95);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s ease;
  z-index: 100;
}
.nav-dropdown-wrap:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: all .15s ease;
}
.nav-dropdown-link:hover { color: var(--text-1); background: var(--surface); }
.nav-dropdown-link.active { color: var(--accent); }
.nav-icon { font-size: 14px; flex-shrink: 0; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Dropdown */
.lang-dropdown { position: relative; }

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .2s ease;
}

.lang-trigger:hover {
  color: var(--text-1);
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.lang-icon { font-size: 14px; }
.lang-current { min-width: 36px; text-align: left; }
.lang-arrow { font-size: 10px; transition: transform .2s ease; }

.lang-dropdown.open .lang-arrow { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: rgba(13,20,48,.95);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s ease;
  z-index: 101;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: all .15s ease;
  text-align: left;
}

.lang-item:hover {
  background: var(--surface-2);
  color: var(--text-1);
}

.lang-item.active {
  background: rgba(94,242,198,.12);
  color: var(--accent);
}

.search-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .2s ease;
}

.search-btn:hover {
  color: var(--text-1);
  background: var(--surface-2);
}

.cta-btn {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #070b1a;
  background: var(--grad);
  border-radius: 10px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(94,242,198,.3);
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  transition: height .6s cubic-bezier(.4,0,.2,1);
}

.hero-banner.collapsed {
  height: var(--header-h);
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  padding: 0 96px;
}

.hero-slide.active { opacity: 1; visibility: visible; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 15% 20%, var(--grad-1), transparent 70%),
    radial-gradient(50% 45% at 80% 25%, var(--grad-2), transparent 70%),
    radial-gradient(60% 55% at 50% 95%, var(--grad-3), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: none;
  flex-shrink: 0;
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  white-space: nowrap;
}

.hero-title .gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--text-2);
  font-weight: 400;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tag {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: all .2s ease;
}

.hero-tag:hover {
  color: var(--text-1);
  border-color: var(--border-strong);
  background: rgba(255,255,255,.1);
}

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

.btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  color: #070b1a;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(94,242,198,.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(94,242,198,.35);
}

.btn-ghost {
  color: var(--text-1);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  z-index: 1;
  pointer-events: none;
}

.visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}

.orb-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(94,242,198,.5), transparent 70%);
  top: 10%; right: 20%;
  animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,132,255,.5), transparent 70%);
  top: 40%; right: 5%;
  animation: orbFloat2 10s ease-in-out infinite;
}

.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,107,157,.4), transparent 70%);
  bottom: 10%; right: 30%;
  animation: orbFloat3 14s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.15); }
  50% { transform: translate(-30px, 50px) scale(.9); }
  75% { transform: translate(40px, 20px) scale(1.08); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, 30px) scale(1.12); }
  50% { transform: translate(40px, -50px) scale(.88); }
  75% { transform: translate(-20px, -30px) scale(1.1); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(45px, -50px) scale(.92); }
  50% { transform: translate(-50px, 30px) scale(1.18); }
  75% { transform: translate(30px, 40px) scale(.95); }
}

/* Banner全屏浮动炫彩斑点 */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.float-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.float-dot.d1 { width:12px;height:12px;background:rgba(94,242,198,.6);top:15%;left:10%;animation:dotFloat1 6s ease-in-out infinite; }
.float-dot.d2 { width:8px;height:8px;background:rgba(122,162,255,.5);top:25%;left:30%;animation:dotFloat2 8s ease-in-out infinite; }
.float-dot.d3 { width:16px;height:16px;background:rgba(201,132,255,.4);top:60%;left:8%;animation:dotFloat3 7s ease-in-out infinite; }
.float-dot.d4 { width:10px;height:10px;background:rgba(255,107,157,.5);top:70%;left:25%;animation:dotFloat1 9s ease-in-out infinite; }
.float-dot.d5 { width:14px;height:14px;background:rgba(94,242,198,.4);top:40%;left:55%;animation:dotFloat2 10s ease-in-out infinite; }
.float-dot.d6 { width:6px;height:6px;background:rgba(122,162,255,.6);top:80%;left:50%;animation:dotFloat3 5s ease-in-out infinite; }
.float-dot.d7 { width:12px;height:12px;background:rgba(201,132,255,.5);top:20%;left:70%;animation:dotFloat1 11s ease-in-out infinite; }
.float-dot.d8 { width:9px;height:9px;background:rgba(255,107,157,.4);top:55%;left:80%;animation:dotFloat2 7s ease-in-out infinite; }
.float-dot.d9 { width:11px;height:11px;background:rgba(94,242,198,.5);top:85%;left:75%;animation:dotFloat3 8s ease-in-out infinite; }
.float-dot.d10 { width:7px;height:7px;background:rgba(122,162,255,.5);top:35%;left:15%;animation:dotFloat1 6s ease-in-out infinite; }
.float-dot.d11 { width:13px;height:13px;background:rgba(201,132,255,.4);top:50%;left:40%;animation:dotFloat2 9s ease-in-out infinite; }
.float-dot.d12 { width:8px;height:8px;background:rgba(255,107,157,.5);top:10%;left:50%;animation:dotFloat3 10s ease-in-out infinite; }

@keyframes dotFloat1 {
  0%, 100% { transform: translate(0, 0); opacity:.8; }
  50% { transform: translate(30px, -40px); opacity:.3; }
}

@keyframes dotFloat2 {
  0%, 100% { transform: translate(0, 0); opacity:.6; }
  50% { transform: translate(-25px, 35px); opacity:1; }
}

@keyframes dotFloat3 {
  0%, 100% { transform: translate(0, 0); opacity:.5; }
  50% { transform: translate(20px, -30px); opacity:.9; }
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,220,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,220,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.visual-cog {
  position: absolute;
  font-size: 64px;
  color: rgba(94,242,198,.3);
  animation: cogRotate 20s linear infinite;
}

.cog-1 { top: 20%; right: 35%; animation-duration: 20s; }
.cog-2 {
  bottom: 25%; right: 15%;
  font-size: 80px;
  color: rgba(201,132,255,.25);
  animation-direction: reverse;
  animation-duration: 25s;
}

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

.visual-chip {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translateY(-50%);
  padding: 12px 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: chipFloat 4s ease-in-out infinite;
}

.chip-text {
  font-size: 18px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); }
}

.visual-stat {
  position: absolute;
  padding: 16px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  text-align: center;
}

.stat-1 { top: 25%; right: 15%; }
.stat-2 { bottom: 30%; right: 40%; }

.stat-num {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-unit {
  font-size: 14px;
  font-weight: 600;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-2);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all .3s ease;
  z-index: 10;
}

.hero-arrow:hover {
  color: var(--text-1);
  background: rgba(255,255,255,.12);
  border-color: var(--border-strong);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev { left: 32px; }
.hero-next { right: 32px; }

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: all .3s ease;
}

.dot.active {
  background: var(--grad);
  width: 48px;
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 12px;
  z-index: 10;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow { font-size: 16px; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .6; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ===== CATEGORY TAGS ===== */
.category-section {
  padding: 48px 0 24px;
  transform: translateY(-15px);
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(7,11,26,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: top .4s cubic-bezier(.4,0,.2,1);
}

.site-header.scrolled ~ * .category-section { top: 56px; }

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

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-3);
}

.tag-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tag-bar::-webkit-scrollbar { display: none; }

.tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  transition: all .25s ease;
  flex-shrink: 0;
}

.tag-item:hover {
  color: var(--text-1);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.tag-item.active {
  color: #070b1a;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(94,242,198,.3);
}

.tag-icon { font-size: 16px; }

/* ===== WATERFALL ===== */
.waterfall-section { padding: 40px 0 80px; }

.waterfall-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.sort-bar {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.sort-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  border-radius: 8px;
  transition: all .2s ease;
}

.sort-btn:hover { color: var(--text-2); }

.sort-btn.active {
  color: var(--text-1);
  background: var(--surface-2);
}

/* sort-bar 内的 tag-item 兼容（news页面） */
.sort-bar .tag-item {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  border-radius: 8px;
  transition: all .2s ease;
  white-space: nowrap;
}
.sort-bar .tag-item:hover { color: var(--text-2); }
.sort-bar .tag-item.active { color: var(--text-1); background: var(--surface-2); }

/* 更多浮动层 */
.tag-more-wrap { position: relative; display: inline-block; }
.tag-more-btn { background: var(--surface-2) !important; border: 1px dashed var(--border-strong); }
.tag-more-btn:hover { background: var(--surface-3) !important; }

.tag-more-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-width: 320px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  z-index: 50;
}
.tag-more-panel.show { opacity: 1; visibility: visible; transform: translateY(0); }

.tag-more-item {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: all .15s ease;
  white-space: nowrap;
  background: transparent;
}
.tag-more-item:hover { color: var(--text-1); background: var(--surface-2); }
.tag-more-item.active { color: var(--accent); background: var(--surface-2); }

/* Masonry Grid - 从上往下加载 */
.waterfall-grid {
  columns: 4;
  column-gap: 20px;
}

.waterfall-card {
  break-inside: avoid;
  margin-bottom: 20px;
  background: rgba(13,20,48,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), border-color .35s ease, box-shadow .35s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: cardEnter .5s ease forwards;
}

@keyframes cardEnter {
  to { opacity: 1; transform: translateY(0); }
}

.waterfall-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.card-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--surface-2);
}

.card-image .card-img-inner {
  width: 100%;
  display: block;
  position: relative;
}

.waterfall-card .card-img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}

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

/* CSS art for product illustrations */
.card-art {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-art::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .6;
}

.card-art-icon {
  font-size: 64px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.3));
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #070b1a;
  background: var(--grad);
  border-radius: 6px;
  z-index: 3;
}

.card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  z-index: 3;
  transition: all .2s ease;
}

.card-fav:hover { transform: scale(1.1); }

.card-body { padding: 16px 18px; }

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-company {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-company-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #070b1a;
  font-weight: 700;
}

.card-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}

.card-stats span { display: flex; align-items: center; gap: 4px; }

/* Art variants */
.art-robot .card-art::before {
  background: radial-gradient(circle at 30% 40%, rgba(94,242,198,.4), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(122,162,255,.3), transparent 60%),
              #0d1430;
}

.art-energy .card-art::before {
  background: radial-gradient(circle at 50% 50%, rgba(255,210,122,.4), transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(255,107,157,.3), transparent 60%),
              #1a0d20;
}

.art-material .card-art::before {
  background: radial-gradient(circle at 40% 30%, rgba(201,132,255,.4), transparent 60%),
              radial-gradient(circle at 60% 70%, rgba(94,242,198,.3), transparent 60%),
              #0d1a20;
}

.art-precision .card-art::before {
  background: radial-gradient(circle at 30% 30%, rgba(122,162,255,.4), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(201,132,255,.3), transparent 60%),
              #10102a;
}

.art-ai .card-art::before {
  background: radial-gradient(circle at 50% 40%, rgba(201,132,255,.4), transparent 60%),
              radial-gradient(circle at 30% 70%, rgba(94,242,198,.3), transparent 60%),
              #0d1a25;
}

.art-iot .card-art::before {
  background: radial-gradient(circle at 60% 30%, rgba(94,242,198,.4), transparent 60%),
              radial-gradient(circle at 20% 60%, rgba(122,162,255,.3), transparent 60%),
              #0a1525;
}

.art-medical .card-art::before {
  background: radial-gradient(circle at 40% 40%, rgba(94,242,198,.4), transparent 60%),
              radial-gradient(circle at 60% 60%, rgba(255,107,157,.3), transparent 60%),
              #0d201a;
}

.art-aerospace .card-art::before {
  background: radial-gradient(circle at 50% 30%, rgba(122,162,255,.4), transparent 60%),
              radial-gradient(circle at 40% 80%, rgba(201,132,255,.3), transparent 60%),
              #0a0a25;
}

.art-chip .card-art::before {
  background: radial-gradient(circle at 30% 50%, rgba(94,242,198,.4), transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(255,107,157,.3), transparent 60%),
              #0a1a1a;
}

.art-auto .card-art::before {
  background: radial-gradient(circle at 40% 40%, rgba(255,107,157,.4), transparent 60%),
              radial-gradient(circle at 60% 60%, rgba(255,210,122,.3), transparent 60%),
              #1a0d15;
}

.art-digital .card-art::before {
  background: radial-gradient(circle at 50% 50%, rgba(122,162,255,.4), transparent 60%),
              radial-gradient(circle at 20% 30%, rgba(201,132,255,.3), transparent 60%),
              #0d1028;
}

.art-default .card-art::before {
  background: radial-gradient(circle at 40% 40%, rgba(94,242,198,.3), transparent 60%),
              radial-gradient(circle at 60% 60%, rgba(201,132,255,.3), transparent 60%),
              var(--bg-soft);
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

.load-more-btn {
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all .25s ease;
}

.load-more-btn:hover {
  color: var(--text-1);
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: rgba(13,20,48,.5);
}

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

.footer-brand .logo { margin-bottom: 16px; }

.footer-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social { display: flex; gap: 10px; }

.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all .2s ease;
}

.social-link:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-1);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--text-3);
  transition: color .2s ease;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .waterfall-grid { columns: 3; }
  .hero-title { font-size: 56px; }
  .hero-visual { width: 40%; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: flex !important; }
  .hero-slide { padding: 0 48px; }
  .hero-title { font-size: 48px; }
  .hero-visual { display: none; }
  .waterfall-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ===== Mobile Nav (Hamburger) ===== */
.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-1);
  flex-shrink: 0;
  transition: all .2s;
}
.mobile-nav-toggle:hover { background: var(--surface-2); }
.mobile-nav-toggle.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: rgba(13, 20, 48, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 999;
  overflow-y: auto;
  padding: 16px 24px;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav-panel.show { display: flex; }

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  transition: all .15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav-item:hover, .mobile-nav-item.active { color: var(--accent); background: rgba(255,255,255,.04); }
.mobile-nav-item .nav-icon { font-size: 18px; margin-right: 10px; }
.mobile-nav-item .m-arrow { font-size: 12px; transition: transform .2s; opacity: .5; }
.mobile-nav-item.expanded .m-arrow { transform: rotate(180deg); }

.mobile-nav-children {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,.2);
  padding: 4px 0 4px 24px;
}
.mobile-nav-children.show { display: flex; }

.mobile-nav-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-3);
  text-decoration: none;
  transition: all .15s;
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.mobile-nav-sub-item:hover, .mobile-nav-sub-item.active { color: var(--accent); background: var(--surface); }
.mobile-nav-sub-item .nav-icon { font-size: 14px; }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 64px);
  background: rgba(0,0,0,.5);
  z-index: 998;
}
.mobile-nav-overlay.show { display: block; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .hero-slide { padding: 0 20px; }
  .hero-content { padding-top: 50px; }
  .hero-title { font-size: 36px; margin-bottom: 8px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 10px; }
  .hero-tags { margin-bottom: 12px; gap: 6px; }
  .waterfall-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .waterfall-card { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .logo-text { font-size: 18px; }
  .lang-current { display: none; }
  .lang-trigger { padding: 6px 8px; }
  .cta-btn { padding: 6px 12px; font-size: 12px; }
  .search-btn { width: 32px; height: 32px; font-size: 14px; }
  .header-right { gap: 6px; }
  .mobile-nav-toggle { width: 36px; height: 36px; font-size: 18px; }
  .page-title { font-size: 28px; }
  .page-sub { font-size: 14px; }
  .section-title { font-size: 20px; }
  .tag-bar { gap: 6px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tag-item { padding: 6px 12px; font-size: 12px; white-space: nowrap; }
  .sort-bar { gap: 4px; }
  .sort-btn { padding: 6px 10px; font-size: 12px; }
  .card { margin-bottom: 12px; }
  .hero-dots { bottom: 70px; }
  .hero-scroll { display: none; }
  .float-dot { display: none; }
  .visual-orb { animation: none; }
  .scroll-hint { display: none; }
  .mobile-nav-panel { padding: 16px 20px; }
  .go-card { padding: 28px 20px; }
  .go-title { font-size: 18px; }
  .go-stats { gap: 16px; }
  .go-stat { font-size: 12px; }
  .go-btns { gap: 8px; }
  .go-btn, .go-btn-pause { padding: 10px 20px; font-size: 14px; }
}
