:root {
  --bg: #f5f7f8;
  --ink: #10151b;
  --muted: #65717f;
  --panel: #ffffff;
  --line: rgba(16, 21, 27, 0.12);
  --dark: #071018;
  --dark-soft: #101c26;
  --cyan: #00a8d8;
  --cyan-strong: #00c3ff;
  --gold: #d9a441;
  --danger: #dd7b24;
  --shadow: 0 24px 70px rgba(10, 20, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 94px;
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 9% 52%, rgba(0, 195, 255, 0.14), transparent 21%),
    linear-gradient(105deg, rgba(7, 16, 24, 0.94), rgba(16, 28, 38, 0.86));
  color: white;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(7, 16, 24, 0.93);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 312px;
  isolation: isolate;
}

.brand::before {
  content: "";
  position: absolute;
  inset: -12px -20px -12px -12px;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 168, 216, 0.1), transparent 82%);
  opacity: 0.9;
}

.brand-logo {
  width: 270px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 18px rgba(0, 195, 255, 0.24));
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: white;
}

.header-cta,
.button,
.part-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-cta {
  padding: 0 18px;
  background: white;
  color: var(--dark);
  font-size: 14px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.language-switch button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button:hover,
.language-switch button:focus-visible,
.language-switch button.active {
  background: var(--cyan-strong);
  color: #061017;
  outline: none;
}

.wechat-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 138px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 195, 255, 0.34);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.9);
  color: white;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(10, 20, 28, 0.28);
  backdrop-filter: blur(14px);
}

.wechat-float span {
  color: var(--cyan-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wechat-float strong {
  font-size: 15px;
}

.wechat-float:hover,
.wechat-float:focus-visible {
  background: var(--cyan-strong);
  color: #061017;
  outline: none;
}

.wechat-float:hover span,
.wechat-float:focus-visible span {
  color: rgba(6, 16, 23, 0.72);
}

.hero {
  position: relative;
  min-height: 900px;
  color: white;
  overflow: hidden;
  background: #071018;
}

.hero-video,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  z-index: 1;
}

.hero-image {
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.96) 0%, rgba(7, 16, 24, 0.82) 38%, rgba(7, 16, 24, 0.38) 68%, rgba(7, 16, 24, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 16, 24, 0.92) 0%, rgba(7, 16, 24, 0.08) 32%, rgba(7, 16, 24, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 188px;
  padding-bottom: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.status-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill {
  margin-bottom: 22px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 195, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 195, 255, 0.08);
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan-strong);
  box-shadow: 0 0 18px var(--cyan-strong);
}

.status-pill b {
  font: inherit;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 195, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.44);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-contact span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--cyan-strong);
}

.hero-contact a {
  color: white;
}

.hero-contact a:hover {
  color: var(--cyan-strong);
}

.button {
  padding: 0 22px;
}

.button.primary {
  background: var(--cyan-strong);
  color: #061017;
  box-shadow: 0 16px 36px rgba(0, 195, 255, 0.26);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button.wide {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(8, 20, 30, 0.72);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 22px;
}

.hero-metrics span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.quick-rfq,
.section,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.quick-rfq {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quick-rfq h2,
.section-head h2,
.split h2,
.rfq-copy h2 {
  margin: 7px 0 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.part-search {
  display: flex;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 21, 27, 0.16);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input,
select {
  height: 52px;
  padding: 0 16px;
}

textarea {
  min-height: 126px;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 168, 216, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 168, 216, 0.12);
}

.part-search button {
  min-width: 180px;
  padding: 0 18px;
  background: var(--dark);
  color: white;
}

.smart-console {
  padding-top: 96px;
}

.smart-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: end;
}

.smart-head h2 {
  margin: 8px 0 0;
  max-width: 840px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.smart-head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.lang-cn,
body.zh .lang-en {
  display: none;
}

body.zh .lang-cn {
  display: inline;
}

.smart-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.smart-kpis div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(10, 20, 28, 0.06);
}

.smart-kpis strong,
.smart-kpis span {
  display: block;
}

.smart-kpis strong {
  font-size: 28px;
}

.smart-kpis span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.smart-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  margin-top: 30px;
}

.bom-analyzer,
.risk-results,
.market-watch,
.wechat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 44px rgba(10, 20, 28, 0.08);
}

.bom-analyzer {
  padding: 24px;
}

.bom-analyzer label {
  margin-bottom: 10px;
}

.bom-analyzer textarea {
  min-height: 300px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
}

.smart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.button.secondary.dark-text {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.risk-results {
  min-height: 420px;
  padding: 18px;
}

.risk-empty {
  display: grid;
  place-content: center;
  min-height: 382px;
  padding: 30px;
  border: 1px dashed rgba(16, 21, 27, 0.18);
  border-radius: 8px;
  text-align: center;
}

.risk-empty strong {
  font-size: 24px;
}

.risk-empty span {
  max-width: 420px;
  margin-top: 10px;
  color: var(--muted);
}

.risk-list {
  display: grid;
  gap: 10px;
}

.risk-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.risk-item strong,
.risk-item span,
.risk-item p {
  display: block;
}

.risk-item strong {
  font-size: 18px;
}

.risk-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.risk-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: #41505e;
}

.risk-badge {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 168, 216, 0.12);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.risk-badge.high {
  background: rgba(221, 123, 36, 0.16);
  color: var(--danger);
}

.risk-badge.critical {
  background: rgba(200, 16, 46, 0.14);
  color: #c8102e;
}

.smart-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  margin-top: 16px;
}

.market-watch,
.wechat-card {
  padding: 24px;
}

.watch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.watch-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.watch-list b,
.watch-list span {
  display: block;
}

.watch-list span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.wechat-card h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.05;
}

.wechat-card p {
  color: var(--muted);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin-top: 18px;
  border: 1px solid rgba(0, 168, 216, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 168, 216, 0.1) 50%, transparent 50%),
    linear-gradient(rgba(0, 168, 216, 0.1) 50%, transparent 50%);
  background-size: 16px 16px;
  color: var(--cyan);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.qr-placeholder:hover,
.qr-placeholder:focus-visible {
  background-color: rgba(0, 195, 255, 0.14);
  outline: none;
}

.trust-dashboard {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 195, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 195, 255, 0.22);
}

.trust-dashboard span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--dark);
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.part-intel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.part-intel article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.part-intel b {
  font-size: 18px;
}

.part-intel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 104px 0;
}

.section-head {
  max-width: 760px;
}

.section-head.compact {
  max-width: 880px;
}

.section-head p,
.split p,
.rfq-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.category-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-card.featured {
  background: var(--dark);
  color: white;
}

.category-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card b {
  font: inherit;
}

.category-card .text-cn {
  display: none;
}

.category-card:hover,
.category-card:focus-visible {
  border-color: rgba(0, 195, 255, 0.74);
  background: linear-gradient(135deg, #00c3ff, #0078ff);
  color: #061017;
  box-shadow: 0 24px 52px rgba(0, 168, 216, 0.32);
  transform: translateY(-4px);
  outline: none;
}

.category-card:hover .text-en,
.category-card:focus-visible .text-en {
  display: none;
}

.category-card:hover .text-cn,
.category-card:focus-visible .text-cn {
  display: inline;
}

.category-card:hover span,
.category-card:focus-visible span {
  color: rgba(6, 16, 23, 0.78);
}

.category-card h3 {
  margin: 48px 0 0;
  font-size: 26px;
  line-height: 1.1;
}

.category-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.category-card.featured p {
  color: rgba(255, 255, 255, 0.68);
}

.category-card:hover p,
.category-card:focus-visible p,
.category-card.featured:hover p,
.category-card.featured:focus-visible p {
  color: rgba(6, 16, 23, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--cyan);
  font-weight: 800;
}

.market-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 44px rgba(10, 20, 28, 0.08);
}

.market-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.market-row:last-child {
  border-bottom: 0;
}

.market-row span {
  color: var(--muted);
}

.market-row strong {
  text-align: right;
}

.market-row.warn strong {
  color: var(--danger);
}

.dark {
  width: 100%;
  max-width: none;
  padding: 104px max(20px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: white;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.64);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.process div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--dark-soft);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.process div:hover,
.process div:focus-visible {
  border-color: rgba(0, 195, 255, 0.74);
  background: linear-gradient(135deg, #00c3ff, #0078ff);
  color: #061017;
  box-shadow: 0 24px 52px rgba(0, 168, 216, 0.32);
  transform: translateY(-4px);
  outline: none;
}

.process b {
  color: var(--gold);
  font-size: 13px;
}

.process div:hover b,
.process div:focus-visible b {
  color: rgba(6, 16, 23, 0.72);
}

.process h3 {
  margin: 38px 0 0;
  font-size: 22px;
}

.process p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.process .text-cn {
  display: none;
}

.process div:hover .text-en,
.process div:focus-visible .text-en {
  display: none;
}

.process div:hover .text-cn,
.process div:focus-visible .text-cn {
  display: inline;
}

.process div:hover p,
.process div:focus-visible p {
  color: rgba(6, 16, 23, 0.78);
}

.brands {
  padding-bottom: 44px;
}

.manufacturer-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.manufacturer-logo-card {
  position: relative;
  display: grid;
  grid-template-rows: 46px auto;
  align-items: center;
  justify-items: center;
  min-height: 92px;
  padding: 14px 12px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(10, 20, 28, 0.05);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.manufacturer-logo-card:hover,
.manufacturer-logo-card:focus-visible {
  border-color: rgba(0, 195, 255, 0.74);
  box-shadow: 0 24px 52px rgba(0, 168, 216, 0.22);
  transform: translateY(-4px);
  outline: none;
}

.manufacturer-logo-card img {
  width: 100%;
  max-width: 112px;
  max-height: 38px;
  object-fit: contain;
}

.manufacturer-logo-card.wide img {
  max-width: 128px;
}

.manufacturer-logo-card span {
  margin-top: 8px;
  color: #46515c;
  font-size: 11px;
  font-weight: 800;
}

.distributor-logos {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.disty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.disty-card {
  position: relative;
  min-height: 118px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(10, 20, 28, 0.06);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.disty-card:hover,
.disty-card:focus-visible {
  border-color: rgba(0, 195, 255, 0.74);
  box-shadow: 0 24px 52px rgba(0, 168, 216, 0.22);
  transform: translateY(-4px);
  outline: none;
}

.disty-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--cyan);
}

.disty-card strong,
.disty-card span {
  display: block;
}

.disty-card strong {
  color: #111820;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.disty-card span {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.disty-card.digikey::before {
  background: #c8102e;
}

.disty-card.mouser::before {
  background: #0066b3;
}

.disty-card.arrow::before {
  background: #d71920;
}

.disty-card.avnet::before {
  background: #ed1c24;
}

.disty-card.future::before {
  background: #005aa9;
}

.disty-card.rs::before {
  background: #e30613;
}

.disty-card.tti::before {
  background: #f0b429;
}

.disty-card.wpg::before {
  background: #164f9f;
}

.route-map-section {
  padding-top: 76px;
  border-top: 1px solid var(--line);
}

.route-copy {
  max-width: 840px;
}

.route-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.route-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.route-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 18px;
  align-items: stretch;
  margin-top: 32px;
}

.route-map,
.route-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #030910;
  box-shadow: 0 24px 70px rgba(10, 20, 28, 0.16);
}

.route-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.route-map::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 31%, rgba(0, 195, 255, 0.18), transparent 20%),
    radial-gradient(circle at 53% 23%, rgba(0, 195, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 25%, rgba(0, 0, 0, 0.06));
  z-index: 1;
}

.route-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 9px;
  mix-blend-mode: screen;
  opacity: 0.35;
  z-index: 2;
}

.route-map svg {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
}

.map-ocean {
  fill: url("#routeSea");
}

.real-map-base {
  opacity: 0.86;
  filter: invert(1) sepia(1) saturate(3.4) hue-rotate(154deg) brightness(1.85) contrast(1.28);
}

.map-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.map-labels text {
  fill: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.route-line {
  fill: none;
  stroke: rgba(0, 195, 255, 0.18);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 11;
  transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease, filter 180ms ease;
}

.route-line.active {
  stroke: var(--cyan-strong);
  stroke-width: 4.5;
  filter: url("#routeGlow");
  animation: routeDash 1.2s linear infinite;
}

.route-node {
  color: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.route-node circle {
  fill: #071018;
  stroke: currentColor;
  stroke-width: 3;
}

.route-node text {
  fill: currentColor;
  font-size: 17px;
  font-weight: 800;
  opacity: 0;
  paint-order: stroke;
  stroke: rgba(3, 9, 16, 0.78);
  stroke-width: 5;
  transition: opacity 180ms ease;
}

.route-node.active {
  color: var(--cyan-strong);
  filter: url("#routeGlow");
}

.route-node.active text,
.route-node:hover text {
  opacity: 1;
}

.china-hub circle:first-child {
  fill: var(--cyan-strong);
}

.china-hub circle:nth-child(2) {
  fill: none;
  stroke: rgba(0, 195, 255, 0.55);
  stroke-width: 2;
  animation: pulseRing 1.8s ease-out infinite;
}

.china-hub text {
  fill: white;
  font-size: 18px;
  font-weight: 800;
}

.china-hub text:last-child {
  fill: var(--cyan-strong);
  font-size: 15px;
}

.route-panel {
  padding: 26px;
  color: white;
}

.route-panel h3 {
  margin: 14px 0 0;
  font-size: 32px;
  line-height: 1.05;
}

.route-panel p {
  color: rgba(255, 255, 255, 0.65);
}

.route-panel [data-route-location] {
  margin: 14px 0 0;
  color: var(--gold);
  font-weight: 800;
}

.route-cn {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 700;
}

.route-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.route-selector button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #33404c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.route-selector button:hover,
.route-selector button:focus-visible,
.route-selector button.active {
  border-color: rgba(0, 195, 255, 0.74);
  background: var(--cyan-strong);
  color: #061017;
  outline: none;
}

@keyframes routeDash {
  to {
    stroke-dashoffset: -34;
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.9;
    transform: scale(0.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

.rfq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
  padding-top: 56px;
}

.rfq-copy {
  position: sticky;
  top: 110px;
}

.rfq-copy ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rfq-copy li {
  position: relative;
  margin-top: 13px;
  padding-left: 28px;
  color: #384552;
  font-weight: 700;
}

.rfq-copy li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
}

.rfq-form,
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

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

label {
  display: block;
  margin-bottom: 16px;
  color: #3f4b56;
  font-size: 13px;
  font-weight: 800;
}

label input,
label select,
label textarea {
  margin-top: 8px;
  font-weight: 500;
}

.enterprise {
  padding-bottom: 56px;
}

.buyer-grid,
.buyer-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.buyer-grid div,
.buyer-proof div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.buyer-grid div {
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.buyer-grid div:hover,
.buyer-grid div:focus-visible {
  border-color: rgba(0, 195, 255, 0.74);
  background: linear-gradient(135deg, #00c3ff, #0078ff);
  color: #061017;
  box-shadow: 0 24px 52px rgba(0, 168, 216, 0.32);
  transform: translateY(-4px);
  outline: none;
}

.buyer-grid strong,
.buyer-grid span,
.buyer-proof b,
.buyer-proof strong,
.buyer-proof p {
  display: block;
}

.buyer-grid strong,
.buyer-proof strong {
  font-size: 20px;
  line-height: 1.15;
}

.buyer-grid span,
.buyer-proof p {
  margin-top: 12px;
  color: var(--muted);
}

.buyer-grid .text-cn {
  display: none;
}

.buyer-grid div:hover .text-en,
.buyer-grid div:focus-visible .text-en {
  display: none;
}

.buyer-grid div:hover .text-cn,
.buyer-grid div:focus-visible .text-cn {
  display: inline;
}

.buyer-grid div:hover > span,
.buyer-grid div:focus-visible > span {
  color: rgba(6, 16, 23, 0.78);
}

.buyer-proof b {
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parts-page {
  background: #eef2f4;
}

.parts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 46px;
  align-items: end;
  min-height: 620px;
  padding: 160px max(20px, calc((100vw - 1180px) / 2)) 74px;
  background:
    linear-gradient(135deg, rgba(7, 16, 24, 0.98), rgba(7, 16, 24, 0.82)),
    url("./assets/hero-semiconductors.png") center / cover;
  color: white;
}

.parts-hero h1 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.98;
}

.parts-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 20px;
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.2);
}

.parts-summary {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.parts-summary strong,
.parts-summary span {
  display: block;
}

.parts-summary strong {
  margin-bottom: 18px;
  font-size: 22px;
}

.parts-summary span {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.parts-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  align-items: start;
}

.parts-intro h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.buyer-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.linecard {
  padding-top: 42px;
}

.parts-table {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 54px rgba(10, 20, 28, 0.08);
}

.parts-row {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.25fr 1.35fr;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.parts-row:last-child {
  border-bottom: 0;
}

.parts-row span {
  color: #53616e;
  font-size: 14px;
}

.parts-row span:first-child {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.parts-row.hot span:first-child::after {
  content: "Priority";
  display: inline-flex;
  margin-left: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(221, 123, 36, 0.12);
  color: var(--danger);
  font-size: 10px;
  text-transform: uppercase;
}

.parts-head {
  background: var(--dark);
}

.parts-head span,
.parts-head span:first-child {
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parts-dark {
  margin-top: 24px;
}

.parts-cta {
  max-width: 820px;
  text-align: center;
}

.parts-cta .eyebrow,
.parts-cta .button {
  margin-inline: auto;
}

.parts-cta h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.parts-cta p {
  margin: 18px auto 28px;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
  padding-top: 32px;
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.contact-copy p {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 18px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(0, 168, 216, 0.26);
  border-radius: 8px;
  background: rgba(0, 195, 255, 0.08);
  color: var(--cyan);
  font-weight: 900;
}

.contact-email:hover {
  background: var(--cyan-strong);
  color: #061017;
}

.seo-faq {
  padding-top: 30px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.faq-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 48px rgba(10, 20, 28, 0.08);
}

.faq-grid h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.08;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-addresses {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 34px;
}

.address-card {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.address-card span {
  display: block;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.address-card p {
  margin: 18px 0 0;
  color: #3d4853;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.legal-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 24px;
  padding: 42px;
  border: 1px solid rgba(0, 168, 216, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 4% 10%, rgba(0, 195, 255, 0.16), transparent 27%),
    linear-gradient(135deg, #071018, #101c26);
  color: white;
  box-shadow: 0 28px 70px rgba(7, 16, 24, 0.2);
}

.legal-intro {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-intro h2 {
  grid-column: 1;
  margin: 10px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.legal-intro p {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 26px;
}

.legal-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.legal-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.legal-grid h3 {
  margin: 42px 0 12px;
  font-size: 22px;
  line-height: 1.08;
}

.legal-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links a:hover {
  color: white;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.policy-grid article {
  scroll-margin-top: 150px;
  padding: 24px;
  border: 1px solid rgba(0, 195, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 195, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.policy-grid h3 {
  margin: 0 0 12px;
  color: var(--cyan-strong);
  font-size: 24px;
  line-height: 1.1;
}

.policy-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 46px;
  border-top: 1px solid var(--line);
  color: #3d4853;
}

.footer p {
  margin: 5px 0 0;
  color: var(--muted);
}

.footer a {
  color: var(--cyan);
  font-weight: 800;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 720px;
}

.footer-links a:not([href^="mailto"]) {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a[href^="mailto"] {
  color: var(--cyan);
  font-size: 16px;
}

.wechat-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.wechat-panel.open {
  display: block;
}

.wechat-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 7, 13, 0.64);
  cursor: pointer;
}

.wechat-sheet {
  position: absolute;
  top: 50%;
  right: max(20px, calc((100vw - 1180px) / 2));
  width: min(420px, calc(100% - 40px));
  transform: translateY(-50%);
  padding: 28px;
  border: 1px solid rgba(0, 195, 255, 0.24);
  border-radius: 8px;
  background: var(--dark);
  color: white;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.wechat-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.wechat-sheet h2 {
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1.02;
}

.wechat-sheet p {
  color: rgba(255, 255, 255, 0.68);
}

.wechat-qr {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin: 24px auto 18px;
  border: 1px solid rgba(0, 195, 255, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 195, 255, 0.18) 50%, transparent 50%),
    linear-gradient(rgba(0, 195, 255, 0.18) 50%, transparent 50%),
    #061017;
  background-size: 18px 18px;
}

.wechat-qr span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--cyan-strong);
  color: #061017;
  font-weight: 900;
}

.wechat-id {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.wechat-id span {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.wechat-id strong {
  color: var(--cyan-strong);
}

.wechat-sheet .button {
  margin-top: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    width: min(100% - 32px, 680px);
    padding-top: 146px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-metrics,
  .quick-rfq,
  .split,
  .rfq,
  .contact-section,
  .legal-intro,
  .smart-head,
  .smart-grid,
  .smart-lower {
    grid-template-columns: 1fr;
  }

  .quick-rfq {
    width: calc(100% - 24px);
  }

  .category-grid,
  .process,
  .buyer-grid,
  .buyer-proof,
  .manufacturer-logo-grid,
  .faq-grid,
  .disty-grid,
  .watch-list,
  .part-intel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rfq-copy {
    position: static;
  }

  .contact-copy {
    position: static;
  }

  .parts-hero,
  .parts-intro {
    grid-template-columns: 1fr;
  }

  .parts-summary {
    max-width: 560px;
  }

  .route-map-shell {
    grid-template-columns: 1fr;
  }

  .parts-row {
    grid-template-columns: 1fr 1fr;
  }

  .parts-head {
    display: none;
  }

  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-intro p {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 214px;
  }

  .brand-logo {
    width: 206px;
    height: auto;
  }

  .header-cta {
    display: none;
  }

  .language-switch {
    margin-left: auto;
  }

  .wechat-float {
    right: 12px;
    bottom: 12px;
    min-width: 116px;
  }

  .wechat-sheet {
    right: 12px;
    width: calc(100% - 24px);
  }

  .site-header {
    min-height: 58px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 16, 24, 0.96), rgba(7, 16, 24, 0.74));
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-metrics,
  .category-grid,
  .process,
  .buyer-grid,
  .buyer-proof,
  .manufacturer-logo-grid,
  .disty-grid,
  .legal-grid,
  .faq-grid,
  .smart-kpis,
  .smart-actions,
  .watch-list,
  .trust-dashboard,
  .part-intel,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .parts-hero {
    min-height: auto;
    padding-top: 128px;
  }

  .parts-hero h1 {
    font-size: 42px;
  }

  .parts-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .part-search {
    flex-direction: column;
  }

  .part-search button {
    width: 100%;
  }

  .hero-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .section {
    padding: 70px 0;
  }

  .dark {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .legal-band {
    width: calc(100% - 24px);
    padding: 28px 20px;
  }

  .legal-grid article {
    min-height: auto;
  }

  .legal-grid h3 {
    margin-top: 28px;
  }

  .market-row,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
