/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-grad-start: #0e1116;
  --bg-grad-end: #141821;
  --white: #1a202b;
  --card-border: #2a3341;
  --icon-bg: #212936;
  --text-primary: #e8edf3;
  --text-secondary: #a3aeba;
  --text-muted: #68758a;
  --brand-start: #4f9dff;
  --brand-end: #1f5fd0;
  --brand-solid: #3b82f6;
  --brand-light: rgba(59,130,246,0.10);
  --brand-deep: #164e9e;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.30);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.42), 0 10px 28px rgba(0,0,0,0.38);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.50), 0 20px 48px rgba(0,0,0,0.45);
  --shadow-brand: 0 6px 20px rgba(59,130,246,0.22);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-sans: 'Inter', -apple-system, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --max-width: 1200px;
  --nav-height: 68px;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-grad-start);
  background-image:
    radial-gradient(ellipse 900px 500px at 85% -5%, rgba(59,130,246,0.13), transparent 60%),
    radial-gradient(ellipse 800px 480px at -10% 25%, rgba(59,130,246,0.12), transparent 60%),
    radial-gradient(ellipse 900px 600px at 50% 110%, rgba(59,130,246,0.12), transparent 60%),
    linear-gradient(135deg, var(--bg-grad-start), var(--bg-grad-end));
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,0,0,0.45), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,0,0,0.45), transparent 70%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: rgba(59,130,246,0.30); color: var(--text-primary); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0d11; }
::-webkit-scrollbar-thumb { background: #333f4e; border-radius: 5px; border: 2px solid #0a0d11; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-start); }

/* ===== Scroll Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.reveal-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal:nth-child(7) { transition-delay: 0.36s; }
.reveal:nth-child(8) { transition-delay: 0.42s; }
.reveal:nth-child(9) { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ===== Layout ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-header { margin-bottom: 52px; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-solid);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::before { content: ''; width: 24px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--brand-start), var(--brand-end)); }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.section-title-underline {
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  margin-top: 14px;
  position: relative;
}
.section-title-underline::after {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 78px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.30), transparent);
  transform: translateY(-50%);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(26,32,43,0.85);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(42,51,65,0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled { background: #1a202b; box-shadow: 0 4px 24px rgba(0,0,0,0.25); border-bottom-color: rgba(42,51,65,0.95); }
.navbar::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.50), rgba(59,130,246,0.50), transparent);
  opacity: 0.8;
  pointer-events: none;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 10px rgba(59,130,246,0.37);
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-size: 1rem; font-weight: 800; color: var(--text-primary); line-height: 1.2; letter-spacing: -0.01em; }
.nav-logo-sub { font-size: 0.625rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  transition: right 0.28s cubic-bezier(0.22,1,0.36,1);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--brand-solid); font-weight: 600; }
.nav-links a.active::after { right: 0; }
.nav-cta {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: #0a1930 !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(59,130,246,0.40);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.nav-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--text-primary); }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--nav-height) + 76px) 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 40px; right: -60px;
  width: 460px; height: 340px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: floatGlow 9s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 20px) scale(1.08); }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  background: url('../assets/img/hero.svg') no-repeat center right / cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,17,22,0.97) 0%, rgba(14,17,22,0.92) 42%, rgba(14,17,22,0.35) 75%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-content { max-width: 700px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-solid);
  letter-spacing: 2px;
  margin-bottom: 20px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.27);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-end);
  box-shadow: 0 0 0 0 rgba(59,130,246,0.5);
  animation: pulseDot 2.2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.45); }
  70% { box-shadow: 0 0 0 9px rgba(14,165,233,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
}
.hero-title {
  font-size: 3.125rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 22px;
}
.hero-title .accent { position: relative; }
.hero-title .accent::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 10px;
  background: linear-gradient(90deg, rgba(59,130,246,0.30), rgba(59,130,246,0.15));
  border-radius: 5px;
  z-index: -1;
}
.hero-title .accent {
  background: linear-gradient(92deg, var(--brand-start), var(--brand-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.9;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
  border: none;
  font-family: var(--font-sans);
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: #0a1930;
  box-shadow: 0 3px 12px rgba(59,130,246,0.45);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left 0.5s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn-primary:hover::after { left: 150%; }
.btn-outline:hover { border-color: var(--brand-solid); color: var(--brand-solid); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(59,130,246,0.24); }
.btn-outline {
  background: #1a202b;
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--brand-solid); color: var(--brand-solid); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(59,130,246,0.24); }

/* ===== Stats Bar ===== */
.stats-bar {
  background: transparent;
  padding: 0 0 88px;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-grid > div {
  background: rgba(26,32,43,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.stats-grid > div:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.35); }
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--brand-start), var(--brand-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-number .plus { font-size: 1.15rem; -webkit-text-fill-color: var(--brand-end); }
.stat-label { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 10px; font-weight: 500; }

/* ===== Subtle section rhythm ===== */
.section + .section { position: relative; }
.section + .section::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-end), transparent);
  opacity: 0.35;
}

/* ===== Business Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.business-card {
  position: relative;
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.business-card::before {
  content: '';
  position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  opacity: 0;
  transition: opacity 0.3s;
}
.business-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,0.40); }
.business-card:hover::before { opacity: 1; }
.business-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #212936, #2a3442);
  border: 1px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform 0.3s;
}
.business-card:hover .business-icon { transform: scale(1.08) rotate(-3deg); }
.business-title { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.business-desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.business-link {
  font-size: 0.8125rem;
  color: var(--brand-solid);
  font-family: var(--font-mono);
  margin-top: 18px;
  font-weight: 600;
  transition: gap 0.2s;
}
.business-card:hover .business-link { gap: 8px; }

/* ===== Industry Cards ===== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.industry-card {
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-start), var(--brand-end));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.industry-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.36); }
.industry-card:hover::before { transform: scaleY(1); }
.industry-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #212936, #2a3442);
  border: 1px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.industry-info h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); }
.industry-info p { font-size: 0.75rem; color: var(--text-muted); }

/* ===== Case Cards ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,0.38); }
.case-image {
  width: 100%;
  height: 180px;
  background:
    radial-gradient(circle at 30% 20%, rgba(59,130,246,0.30), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,0.30), transparent 50%),
    linear-gradient(135deg, #101E36, #1B3155);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.35s;
  overflow: hidden;
}
.case-image::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.case-image::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), transparent);
}
.case-image > svg {
  width: 96px; height: 96px;
  color: #fff;
  filter: drop-shadow(0 6px 16px rgba(59,130,246,0.5));
  position: relative; z-index: 1;
  transition: transform 0.35s;
}
.case-card:hover .case-image { background:
    radial-gradient(circle at 30% 20%, rgba(59,130,246,0.40), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,0.40), transparent 50%),
    linear-gradient(135deg, #13264A, #1E3B66); }
.case-card:hover .case-image > svg { transform: scale(1.1) rotate(-3deg); }
.case-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand-solid);
  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.24);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.case-title { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.case-desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.case-more { display: inline-block; margin-top: 14px; font-size: 0.8125rem; font-weight: 600; color: var(--brand-solid); }
.case-card:hover .case-more { text-decoration: underline; }

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  background: linear-gradient(130deg, #0e2a5c 0%, #157a6e 45%, #1f5fd0 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(59,130,246,0.40);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  pointer-events: none;
}
.cta-banner::before { width: 300px; height: 300px; top: -140px; left: -80px; }
.cta-banner::after { width: 380px; height: 380px; bottom: -200px; right: -100px; background: rgba(255,255,255,0.07); }
.cta-banner h2 { font-size: 1.625rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; position: relative; }
.cta-banner p { font-size: 0.9375rem; opacity: 0.88; margin-bottom: 28px; position: relative; }
.cta-banner .btn-white {
  background: #e8edf3;
  color: #0e2a5c;
  padding: 13px 34px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.32);
}
.cta-banner .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.47); }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #0a0d11, #0d1117);
  color: #7f8fa3;
  padding: 64px 0 26px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-start), var(--brand-end), transparent);
  opacity: 0.8;
}
.footer::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand .nav-logo-name { color: #e8edf3; }
.footer-brand p { font-size: 0.8125rem; margin-top: 14px; line-height: 1.85; color: #7f8fa3; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; color: #e8edf3; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.8125rem; color: #8b98ab; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: #e8edf3; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(104,117,138,0.25);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #5f6b7e;
}

/* ===== Page Header (sub-pages) ===== */
.page-header {
  padding: calc(var(--nav-height) + 64px) 0 48px;
  text-align: center;
  position: relative;
}
.page-header h1 { font-size: 2.25rem; font-weight: 800; color: var(--text-primary); margin-bottom: 10px; letter-spacing: -0.02em; }
.page-header p { font-size: 0.9375rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ===== Product List ===== */
.product-list { display: flex; flex-direction: column; gap: 22px; }
.product-item {
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}
.product-item:hover { box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.36); transform: translateY(-2px); }
.product-icon-lg {
  width: 68px; height: 68px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #212936, #2a3442);
  border: 1px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.product-img {
  width: 150px; height: 104px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--icon-bg);
  border: 1px solid var(--card-border);
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.product-item:hover .product-img img { transform: scale(1.06); }
.product-info { flex: 1; }
.product-info h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.product-info p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.product-tag {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: #212936;
  border: 1px solid #2a3341;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
}

/* ===== Article List ===== */
.article-list { display: flex; flex-direction: column; gap: 18px; }
.article-item {
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.article-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand-start), var(--brand-end));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.article-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-color: rgba(59,130,246,0.35); }
.article-item:hover::before { transform: scaleY(1); }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.article-date { font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-muted); }
.article-cat { font-size: 0.6875rem; font-weight: 600; color: var(--brand-solid); background: rgba(59,130,246,0.14); border: 1px solid rgba(59,130,246,0.24); padding: 2px 10px; border-radius: var(--radius-pill); }
.article-item h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.article-item p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== About Page ===== */
.about-section { background: #1a202b; border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.about-section h2 { font-size: 1.3125rem; font-weight: 700; margin-bottom: 18px; }
.about-section p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 12px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.about-value { text-align: center; }
.about-value-icon { width: 54px; height: 54px; border-radius: var(--radius-md); background: linear-gradient(135deg, #212936, #2a3442); border: 1px solid rgba(59,130,246,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 14px; }
.about-value h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 5px; }
.about-value p { font-size: 0.75rem; color: var(--text-muted); }

/* ===== Contact Form ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 42px; }
.contact-info-card {
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: linear-gradient(135deg, #212936, #2a3442); border: 1px solid rgba(59,130,246,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 3px; }
.contact-info-item p { font-size: 0.9375rem; color: var(--text-primary); font-weight: 600; }
.contact-form-card {
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: #0e1217;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--brand-solid);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
  background: #1a202b;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: #0a1930;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 3px 12px rgba(59,130,246,0.42);
}
.form-submit:hover { transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.form-success {
  display: none;
  background: rgba(62,207,124,0.10);
  border: 1px solid rgba(62,207,124,0.35);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #3ecf7c;
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.form-success.show { display: block; }
.form-success.form-error {
  background: rgba(229,84,77,0.10);
  border-color: rgba(229,84,77,0.35);
  color: #e5544d;
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { margin-top: 12px; font-size: 0.75rem; color: var(--text-muted); text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.375rem; }
  .section-title { font-size: 1.75rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(14,17,22,0.98);
    backdrop-filter: blur(12px);
    padding: 22px;
    border-bottom: 1px solid var(--card-border);
    gap: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  }
  .hero-title { font-size: 1.875rem; }
  .hero-bg { background-position: center center; }
  .product-item { flex-direction: column; }
  .product-img { width: 100%; height: 180px; }
  .cards-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .cta-banner { padding: 38px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .about-section { padding: 26px; }
}

/* ===== Case Detail Pages ===== */
.case-detail-header {
  padding: 60px 0 44px;
  border-bottom: 1px solid var(--card-border);
  position: relative;
}
.case-detail-header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end), transparent 70%);
}
.case-detail-header .case-tag { display: inline-block; margin-bottom: 18px; }
.case-detail-header h1 { font-size: 2.125rem; font-weight: 800; line-height: 1.35; color: var(--text-primary); margin-bottom: 14px; letter-spacing: -0.02em; }
.case-detail-header .lead { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.85; max-width: 860px; }
.case-detail-meta {
  display: flex; flex-wrap: wrap; gap: 30px; margin-top: 28px;
}
.case-detail-meta .meta-item h4 { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); font-weight: 400; margin-bottom: 5px; }
.case-detail-meta .meta-item p { font-size: 0.9375rem; color: var(--text-primary); font-weight: 700; }
.case-detail-section { padding: 44px 0; }
.case-detail-section + .case-detail-section { border-top: 1px solid #2a3341; }
.case-detail-section h2 { font-size: 1.4375rem; font-weight: 800; color: var(--text-primary); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; letter-spacing: -0.01em; }
.case-detail-section h2 .no { font-family: var(--font-mono); color: var(--brand-solid); font-size: 0.875rem; font-weight: 600; }
.case-detail-section h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--card-border), transparent); }
.case-detail-section p { color: var(--text-secondary); line-height: 1.95; margin-bottom: 16px; font-size: 0.9375rem; }
.case-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 10px; }
.case-detail-grid .dcard {
  background: #1a202b; border: 1px solid var(--card-border); border-radius: var(--radius-md);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.case-detail-grid .dcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.35); }
.case-detail-grid .dcard h4 { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); margin-bottom: 9px; }
.case-detail-grid .dcard p { font-size: 0.84375rem; color: var(--text-secondary); margin: 0; line-height: 1.75; }
.case-detail-table-wrap { overflow-x: auto; margin-top: 10px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
table.case-detail-table {
  width: 100%; border-collapse: collapse; font-size: 0.875rem; background: #1a202b;
  border: 1px solid var(--card-border); overflow: hidden;
}
table.case-detail-table th {
  background: linear-gradient(180deg, #1a202b, #161c26); color: var(--text-primary); font-weight: 700; text-align: left;
  padding: 13px 16px; border-bottom: 1px solid var(--card-border); white-space: nowrap;
}
table.case-detail-table td { padding: 13px 16px; border-bottom: 1px solid #202731; color: var(--text-secondary); }
table.case-detail-table tr:last-child td { border-bottom: none; }
table.case-detail-table tr:hover td { background: #141821; }
table.case-detail-table td:first-child { color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.case-detail-callout {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.12));
  border: 1px solid rgba(59,130,246,0.24);
  border-left: 4px solid var(--brand-solid); border-radius: var(--radius-sm);
  padding: 20px 22px; margin: 22px 0; font-size: 0.875rem; color: var(--text-primary); line-height: 1.85;
}
.case-detail-callout strong { color: var(--brand-solid); }
.case-detail-nav {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 10px;
}
.case-detail-nav a {
  flex: 1; background: #1a202b; border: 1px solid var(--card-border); border-radius: var(--radius-md);
  padding: 20px 22px; box-shadow: var(--shadow-sm); transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.case-detail-nav a:hover { border-color: var(--brand-solid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.case-detail-nav .dir { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }
.case-detail-nav .name { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); margin-top: 5px; }
.case-more { display: inline-block; margin-top: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--brand-solid); }
.case-more:hover { text-decoration: underline; }
.product-spec { margin-top: 16px; }
.product-spec h4 { font-size: 0.8125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.product-spec h4::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--brand-start), var(--brand-end)); }
/* 技术文章正文 */
.case-detail-section ul.plist { margin: 0 0 16px 4px; padding-left: 20px; }
.case-detail-section ul.plist li { color: var(--text-secondary); line-height: 1.95; font-size: 0.9375rem; margin-bottom: 7px; }
.case-detail-section ul.plist li strong { color: var(--text-primary); }
.case-detail-section h3.sub { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); margin: 28px 0 10px; }
.case-detail-section h3.sub::before { content: ''; display: inline-block; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--brand-start), var(--brand-end)); margin-right: 8px; vertical-align: -1px; }
.case-detail-section .kv { font-family: var(--font-mono); background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.25); border-radius: 4px; padding: 1px 7px; font-size: 0.8125rem; color: var(--brand-solid); white-space: nowrap; }
/* ===== 招聘页 ===== */
.job-filter {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 30px 0 36px;
}
.job-filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--card-border);
  background: #1a202b; color: var(--text-secondary); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.job-filter-btn:hover { border-color: var(--brand-solid); color: var(--brand-solid); transform: translateY(-1px); }
.job-filter-btn.active {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  border-color: transparent; color: #0a1930; box-shadow: 0 6px 16px rgba(59,130,246,0.45);
}
.job-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
}
.job-card {
  background: #1a202b; border: 1px solid var(--card-border); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.job-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand-start), var(--brand-end));
  opacity: 0; transition: opacity 0.3s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.35); }
.job-card:hover::before { opacity: 1; }
.job-card-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.job-title { font-size: 1.125rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em; }
.job-region {
  font-size: 0.75rem; font-weight: 700; color: var(--brand-solid);
  background: rgba(59,130,246,0.14); border: 1px solid rgba(59,130,246,0.30);
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.job-meta {
  display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.8125rem; color: var(--text-secondary);
  padding-bottom: 16px; border-bottom: 1px solid #202731; margin-bottom: 16px;
}
.job-body h4 {
  font-size: 0.8125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 9px;
  display: flex; align-items: center; gap: 8px;
}
.job-body h4::before {
  content: ''; width: 3px; height: 13px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-start), var(--brand-end));
}
.job-body ul { margin: 0 0 18px 4px; padding-left: 18px; }
.job-body li { font-size: 0.84375rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.job-apply { margin-top: auto; padding-top: 6px; }
.job-apply .btn { padding: 10px 22px; font-size: 0.875rem; }
@media (max-width: 640px) {
  .job-grid { grid-template-columns: 1fr; }
  .job-filter { gap: 8px; }
  .job-filter-btn { padding: 8px 14px; font-size: 0.8125rem; }
}

@media (max-width: 640px) {
  .case-detail-header h1 { font-size: 1.5625rem; }
  .case-detail-meta { gap: 16px; }
  .case-detail-nav { flex-direction: column; }
}

/* ===== Downloads Page ===== */
.dl-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.dl-item {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #1a202b;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.dl-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(59,130,246,0.35); }
.dl-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  background: var(--icon-bg);
  border-radius: var(--radius-sm);
}
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.dl-body p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 10px; }
.dl-meta { display: flex; gap: 14px; align-items: center; font-size: 0.75rem; color: var(--text-muted); }
.dl-tag {
  font-weight: 600;
  color: var(--brand-solid);
  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.24);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}
.dl-btn { flex-shrink: 0; white-space: nowrap; }
.dl-pending { cursor: default; opacity: 0.65; }
.dl-pending:hover { transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .dl-item { flex-direction: column; align-items: flex-start; }
  .dl-btn { align-self: stretch; text-align: center; }
}


/* ===== Downloads Page v2 (search + chips + flat rows) ===== */
.dl-v2-section { padding-top: 32px; }

.dl-search { margin-bottom: 22px; }
.dl-search-form {
  display: flex;
  max-width: 600px;
  border: 2px solid var(--brand-solid);
  border-radius: 999px;
  overflow: hidden;
  background: #1a202b;
}
.dl-search-input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 0.9375rem;
  outline: none;
  color: var(--text-primary);
}
.dl-search-input::placeholder { color: #68758a; }
.dl-search-btn {
  border: none;
  background: var(--brand-solid);
  color: #0a1930;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0 26px;
  cursor: pointer;
  transition: background 0.2s;
}
.dl-search-btn:hover { background: var(--brand-deep); }

.dl-hot {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: #8b98ab;
}
.dl-hot a {
  color: #8b98ab;
  transition: color 0.2s;
}
.dl-hot a:hover { color: var(--brand-solid); }

.dl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.dl-chip {
  border: 1px solid #3a4657;
  background: #1a202b;
  color: #a3aeba;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
}
.dl-chip:hover { border-color: var(--brand-solid); color: var(--brand-solid); }
.dl-chip.active {
  border-color: var(--brand-solid);
  color: var(--brand-solid);
  background: var(--brand-light);
}

.dl-flat-list { display: flex; flex-direction: column; gap: 12px; }
.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #212936;
  border-radius: 8px;
  padding: 14px 18px;
}
.dl-row-main { min-width: 0; }
.dl-row-main h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e8edf3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dl-row-meta {
  font-size: 0.75rem;
  color: #8b98ab;
}
.dl-row-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--brand-solid);
  color: var(--brand-solid);
  background: #1a202b;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s;
}
.dl-row-btn svg {
  width: 14px;
  height: 14px;
}
.dl-row-btn:hover {
  background: var(--brand-solid);
  color: #0a1930;
}

.dl-empty {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 48px 0;
  color: #8b98ab;
  font-size: 0.9375rem;
}
.dl-empty a { color: var(--brand-solid); }

@media (max-width: 640px) {
  .dl-search-form { border-radius: 24px; }
  .dl-search-btn { padding: 0 18px; }
  .dl-row { flex-wrap: wrap; }
  .dl-row-btn { width: 100%; justify-content: center; }
}


/* ===== Downloads v3: 预览按钮组 ===== */
.dl-row-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 640px) {
  .dl-row-actions { width: 100%; }
  .dl-row-actions .dl-row-btn { flex: 1; width: auto; }
}

/* ===== Downloads v4: 微信分享 ===== */
.dl-wx-btn {
  color: #07c160 !important;
  border-color: #07c160 !important;
  background: rgba(7, 193, 96, 0.08) !important;
}
.dl-wx-btn:hover {
  background: #07c160 !important;
  color: #fff !important;
}
.dl-wx-btn svg { color: #07c160; }
.dl-wx-btn:hover svg { color: #fff; }

.wx-mask {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(3, 10, 16, 0.75);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.wx-mask.open { display: flex; }
.wx-box {
  background: #fff; color: #111;
  border-radius: 14px; width: 100%; max-width: 340px;
  padding: 22px 20px 18px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}
.wx-box h4 { font-size: 1rem; color: #111; margin: 0 0 6px; }
.wx-box .wx-sub { font-size: 0.8rem; color: #888; margin-bottom: 14px; line-height: 1.5; }
.wx-box .wx-qr { display: inline-block; background: #fff; border: 1px solid #eee; padding: 8px; border-radius: 8px; }
.wx-box .wx-qr canvas { display: block; width: 200px; height: 200px; }
.wx-box .wx-tip { font-size: 0.78rem; color: #666; margin-top: 12px; line-height: 1.6; }
.wx-box .wx-actions { margin-top: 14px; display: flex; gap: 8px; }
.wx-box .wx-actions a, .wx-box .wx-actions button {
  flex: 1; text-align: center;
  padding: 9px 6px; border-radius: 8px; cursor: pointer;
  font-size: 0.85rem; font-weight: 500;
  text-decoration: none; border: none; font-family: inherit;
}
.wx-btn-close {
  background: #f0f0f0; color: #444;
}
.wx-btn-close:hover { background: #e4e4e4; }
.wx-btn-open {
  background: #07c160; color: #fff;
}
.wx-btn-open:hover { background: #06ad56; }
.wx-close-x {
  position: absolute; top: 8px; right: 12px;
  border: none; background: none; cursor: pointer;
  font-size: 20px; color: #999; line-height: 1; padding: 4px;
}
.wx-close-x:hover { color: #333; }
