/* 元器件解决方案详情页共享样式 */
body.solution-detail { font-family: 'Inter', "Microsoft YaHei", sans-serif; background: #f8fafc; overflow-x: hidden; }
.sol-hero {
  background: linear-gradient(135deg, #0d1b2e 0%, #1e3a5f 55%, #0d1b2e 100%);
  padding: 8rem 2rem 5rem; color: #fff; position: relative; overflow: hidden;
}
.sol-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,220,130,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,220,130,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sol-hero-inner { max-width: 80rem; margin: 0 auto; position: relative; z-index: 1; }
.sol-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #00dc82; margin-bottom: 1.5rem;
}
.sol-badge > span:first-child {
  width: 8px; height: 8px; border-radius: 50%; background: #00dc82;
  box-shadow: 0 0 12px #00dc82; display: inline-block; flex-shrink: 0;
}
.sol-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.25rem; }
.sol-hero-lead { color: #94a3b8; font-size: 1.05rem; line-height: 1.8; max-width: 50rem; margin-bottom: 2rem; }
.sol-stat-row { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.sol-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.25rem 1.5rem; min-width: 140px; }
.sol-stat-num { font-size: 1.75rem; font-weight: 900; color: #60a5fa; }
.sol-stat-label { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }
.sol-section { padding: 4rem 2rem; }
.sol-section-inner { max-width: 80rem; margin: 0 auto; }
.sol-sec-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: #2563eb; margin-bottom: 0.75rem; display: block; }
.sol-sec-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #111827; margin-bottom: 1rem; }
.sol-sec-sub { color: #6b7280; font-size: 0.95rem; line-height: 1.75; max-width: 52rem; margin-bottom: 2.5rem; }
.sol-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.sol-feat-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sol-feat-card:hover { border-color: #93c5fd; box-shadow: 0 12px 32px rgba(37,99,235,0.08); }
.sol-feat-card h3 { font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: 0.5rem; }
.sol-feat-card p { font-size: 0.85rem; color: #6b7280; line-height: 1.75; }
.sol-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.sol-metric { background: #eff6ff; border-radius: 16px; padding: 1.5rem; text-align: center; }
.sol-metric strong { display: block; font-size: 1.75rem; font-weight: 900; color: #2563eb; }
.sol-metric span { font-size: 11px; color: #64748b; font-weight: 600; }
.sol-cta {
  background: #0d1b2e; padding: 5rem 2rem; text-align: center;
}
.sol-cta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; color: #fff; margin-bottom: 1rem; }
.sol-cta p { color: #94a3b8; margin-bottom: 2rem; max-width: 42rem; margin-left: auto; margin-right: auto; line-height: 1.75; }
.sol-btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  background: #2563eb; color: #fff; font-weight: 700; font-size: 13px; border-radius: 12px;
  text-decoration: none; transition: background 0.2s;
}
.sol-btn-primary:hover { background: #1d4ed8; }
.sol-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.25); color: #fff; font-weight: 700; font-size: 13px;
  border-radius: 12px; text-decoration: none; margin-left: 12px;
}
.sol-related { background: #fff; border-top: 1px solid #e5e7eb; padding: 2rem; }
.sol-related-inner { max-width: 80rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.bg-gray { background: #f1f5f9; }

/* 顶栏解决方案下拉 */
.site-nav-links .nav-item { position: relative; }
.site-nav-links .nav-item > .nav-link { display: inline-block; }
.site-nav-links .sol-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 22rem; background: #fff; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12); border-radius: 16px; padding: 0.75rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
.site-nav-links .nav-item:hover .sol-dropdown,
.site-nav-links .nav-item:focus-within .sol-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sol-dropdown a {
  display: flex; align-items: flex-start; gap: 10px; padding: 0.65rem 0.75rem;
  border-radius: 10px; text-decoration: none; transition: background 0.15s;
}
.sol-dropdown a:hover { background: #f8faff; }
.sol-dropdown .dd-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: #eff6ff;
  color: #2563eb; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.sol-dropdown .dd-title { display: block; font-size: 12px; font-weight: 700; color: #111827; line-height: 1.3; }
.sol-dropdown .dd-desc { display: block; font-size: 10px; color: #6b7280; margin-top: 2px; line-height: 1.4; }
.sol-dropdown .dd-all { border-top: 1px solid #f1f5f9; margin-top: 4px; padding-top: 8px; }
