:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --soft: #f6f8fc;
  --surface: #ffffff;
  --line: #e4e8f0;
  --blue: #5271ff;
  --blue-dark: #3154e8;
  --green: #32bd83;
  --orange: #ffb84d;
  --purple: #9b5de5;
  --pink: #ea6cb5;
  --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.07);
  --shadow-md: 0 24px 70px rgba(17, 24, 39, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(360px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding: 0 clamp(24px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand, .nav, .header-actions, .language-picker, .hero-actions {
  display: flex;
  align-items: center;
}
.brand {
  gap: 13px;
  width: max-content;
  text-decoration: none;
  font-weight: 950;
}
.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, #edf3ff, #ffffff);
  box-shadow: 0 14px 30px rgba(82, 113, 255, 0.16);
  overflow: hidden;
}
.brand-search-lens {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  border: 5px solid var(--blue);
  border-radius: 50%;
}
.brand-search-lens::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -8px;
  width: 15px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(45deg);
}
.brand-search-spark {
  position: absolute;
  right: 10px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 184, 77, 0.2);
}
.brand-text {
  font-size: 24px;
  letter-spacing: 0;
}
.nav {
  justify-content: center;
  gap: 30px;
}
.nav a {
  color: #263044;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--blue);
}
.header-actions {
  justify-content: end;
  gap: 12px;
}
.language-picker {
  gap: 8px;
  color: #4d5668;
  font-size: 13px;
  font-weight: 850;
}
.language-picker select {
  min-width: 126px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 12px;
}
.header-cta, .ghost-action, .primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 950;
  white-space: nowrap;
}
.header-cta, .primary-action {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(82, 113, 255, 0.22);
}
.ghost-action, .secondary-action {
  border: 1px solid #9aa4b7;
  background: #fff;
  color: #1f2937;
}
.ghost-action {
  min-width: 92px;
}
.header-cta {
  min-width: 146px;
}

.hero-band {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.hero-inner {
  display: grid;
  justify-items: center;
  max-width: 1160px;
  min-height: 640px;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 96px) 24px 68px;
  text-align: center;
}
.eyebrow, .section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1100px;
  margin-bottom: 18px;
  font-size: clamp(52px, 6.2vw, 88px);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-subtitle {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  text-wrap: balance;
}
html[lang="zh-CN"] h1 {
  max-width: 1220px;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1.28;
}
html[lang="zh-CN"] .hero-subtitle {
  max-width: 780px;
}
.hero-search {
  width: min(760px, 100%);
  margin-bottom: 34px;
}
.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-proof strong {
  color: var(--ink);
  font-size: 18px;
}
.hero-proof em {
  font-style: normal;
}

.preview-band {
  padding: 76px 24px;
  background: linear-gradient(180deg, #fff, var(--soft));
}
.preview-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.8fr);
  gap: 30px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}
.product-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(82, 113, 255, 0.1), rgba(255, 184, 77, 0.15)),
    #fff;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.art-card {
  display: grid;
  align-content: space-between;
  min-height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  padding: 18px;
  color: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.12);
}
.art-card:nth-child(2),
.art-card:nth-child(4) {
  transform: translateY(26px);
}
.art-card img, .featured-row img, .tool-card img {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  object-fit: contain;
}
.art-card img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}
.art-card span {
  font-size: 16px;
  font-weight: 950;
}
.art-blue { background: linear-gradient(135deg, #3f75ff, #6aa3ff); }
.art-green { background: linear-gradient(135deg, #23ad78, #65d6a3); }
.art-orange { background: linear-gradient(135deg, #ffaa37, #ffd65f); color: #271b09; }
.art-purple { background: linear-gradient(135deg, #8d58e8, #e267b3); }

.featured-product {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.featured-product > span, .rail-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.featured-row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.featured-row img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}
.featured-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
}
.featured-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.score-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  margin-top: 22px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
}
.score-pill span { color: rgba(255, 255, 255, 0.76); font-size: 13px; font-weight: 850; }
.score-pill strong { font-size: 26px; }

.workflow-band, .category-band, .search-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 22px;
}
.section-heading.centered {
  display: block;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.section-heading h2, .search-card h2, .product-header h2, .vendor-copy h2, .account-band h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-heading p:not(.section-kicker) {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.workflow-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.workflow-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--blue);
  font-weight: 950;
}
.workflow-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.workflow-grid p, .search-card p, .tool-card p, .rail-card p, .vendor-copy p, .account-band p, #formNote, .footer {
  color: var(--muted);
  line-height: 1.58;
}

.search-shell {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 118px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 9px 9px 9px 20px;
  box-shadow: var(--shadow-sm);
}
.hero-search .search-shell {
  box-shadow: var(--shadow-md);
}
.search-icon {
  width: 18px;
  height: 18px;
  border: 3px solid #8b93a5;
  border-radius: 50%;
  position: relative;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 3px;
  right: -7px;
  bottom: -4px;
  border-radius: 999px;
  background: #8b93a5;
  transform: rotate(45deg);
}
.search-shell input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
}
.search-shell button, .vendor-form button, .auth-form button {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.quick-links button, .intent-tab {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4d5563;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
}
.quick-links button:hover, .intent-tab:hover {
  border-color: rgba(82, 113, 255, 0.32);
  background: #f1f4ff;
  color: var(--blue);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.path-card {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 106px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 18px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.path-card strong, .path-card small {
  grid-column: 2;
  display: block;
}
.path-card strong {
  color: var(--ink);
  font-size: 15px;
}
.path-card small {
  margin-top: -8px;
  color: var(--muted);
  font-weight: 750;
}
.path-card.active, .path-card:hover {
  border-color: rgba(82, 113, 255, 0.34);
  background: #f7f9ff;
  transform: translateY(-1px);
}
.path-color {
  grid-row: 1 / span 2;
  width: 12px;
  height: 52px;
  border-radius: 999px;
}
.blue { background: var(--blue); }
.green { background: var(--green); }
.orange { background: var(--orange); }
.purple { background: var(--purple); }
.pink { background: var(--pink); }

.directory-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 290px;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 78px;
  align-items: start;
}
.filter-panel, .rail-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.filter-panel {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 14px;
}
.filter-panel label, .vendor-form label, .auth-form label {
  display: grid;
  gap: 7px;
  color: #5e6674;
  font-size: 13px;
  font-weight: 850;
}
select, .vendor-form input, .auth-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
}
.intent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}
.intent-tab.active {
  border-color: rgba(82, 113, 255, 0.28);
  background: #edf2ff;
  color: var(--blue);
}
.product-column {
  min-width: 0;
}
.product-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}
.result-copy {
  text-align: right;
  white-space: nowrap;
}
.result-copy strong {
  display: block;
  font-size: 22px;
}
.result-copy span {
  color: var(--muted);
  font-size: 13px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tool-card {
  display: grid;
  gap: 14px;
  min-height: 254px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.tool-card:hover {
  border-color: rgba(82, 113, 255, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.tool-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.tool-identity {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.tool-card img {
  width: 48px;
  height: 48px;
  border-color: var(--line);
  border-radius: 15px;
}
.tool-card h3 {
  margin: 0 0 3px;
  font-size: 19px;
}
.tool-domain {
  color: var(--muted);
  font-size: 13px;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge-row span, .status-badge {
  border-radius: 999px;
  background: #f1f3f8;
  color: #636b78;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}
.status-badge.sponsored {
  background: var(--ink);
  color: #fff;
}
.status-badge.community {
  background: #ecfdf5;
  color: #079669;
}
.score-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
}
.score-line strong {
  color: var(--blue);
  font-size: 28px;
}
.score-line a, .save-tool {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f1f4ff;
  color: var(--blue);
  padding: 0 12px;
  text-decoration: none;
  font-weight: 900;
}
.save-tool {
  border: 1px solid var(--line);
  background: #fff;
  color: #475467;
}
.save-tool.saved {
  border-color: rgba(32, 185, 129, 0.28);
  background: #ecfdf5;
  color: #079669;
}
.side-rail {
  display: grid;
  gap: 14px;
}
.rail-card.sponsored {
  background: linear-gradient(135deg, #fff8df, #ffffff 58%);
}
.rail-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}
.rail-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #3f4653;
  font-weight: 800;
}

.account-band, .vendor-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 78px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.account-band h2, .vendor-copy h2 {
  margin-bottom: 12px;
}
.account-band p, .vendor-copy p {
  max-width: 720px;
  margin-bottom: 0;
}
.vendor-band {
  grid-template-columns: minmax(0, 1fr) 410px;
}
.vendor-form {
  display: grid;
  gap: 13px;
}
.vendor-form button {
  background: var(--ink);
}
#formNote {
  min-height: 44px;
  margin: 0;
  font-size: 13px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 36px;
  font-size: 13px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.auth-modal.open {
  display: block;
}
.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(8px);
}
.auth-card {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  margin: 8vh auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #475467;
  font-size: 22px;
  line-height: 1;
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 22px;
  border-radius: 18px;
  background: #f2f4f8;
  padding: 6px;
}
.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #475467;
  font-weight: 900;
}
.auth-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.auth-card h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.18;
}
.auth-card p {
  color: var(--muted);
  line-height: 1.55;
}
.auth-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.auth-form button {
  margin-top: 4px;
}
#authNote {
  min-height: 22px;
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .site-header, .preview-shell, .directory-layout, .vendor-band, .account-band {
    grid-template-columns: 1fr;
  }
  .nav, .header-actions {
    justify-content: start;
    overflow-x: auto;
  }
  .filter-panel {
    position: static;
  }
  .path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    gap: 14px;
    padding: 14px 18px;
  }
  .brand-text {
    font-size: 20px;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 6px;
    background: #fff;
  }
  .nav a {
    justify-content: center;
    padding: 8px 4px;
    text-align: center;
    font-size: 13px;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    overflow: visible;
  }
  .ghost-action {
    display: none;
  }
  h1 {
    font-size: 44px;
    line-height: 1.14;
  }
  html[lang="zh-CN"] h1 {
    font-size: 40px;
    line-height: 1.22;
  }
  .hero-inner {
    min-height: 650px;
    padding: 46px 18px 48px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .primary-action, .secondary-action {
    width: 100%;
  }
  .preview-band, .workflow-band, .category-band, .search-band {
    padding: 52px 18px;
  }
  .product-mosaic {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px;
  }
  .art-card:nth-child(2),
  .art-card:nth-child(4) {
    transform: none;
  }
  .workflow-grid, .path-grid, .tool-grid {
    grid-template-columns: 1fr;
  }
  .directory-layout {
    padding-inline: 18px;
  }
  .product-header, .section-heading, .footer {
    display: flex;
    align-items: start;
    flex-direction: column;
  }
  .result-copy {
    text-align: left;
  }
  .search-shell {
    grid-template-columns: 22px minmax(0, 1fr);
  }
  .search-shell button {
    grid-column: 1 / -1;
  }
  .account-band, .vendor-band {
    margin-inline: 18px;
    margin-bottom: 52px;
  }
  .score-line {
    grid-template-columns: 1fr auto;
  }
  .score-line a, .save-tool {
    grid-column: span 1;
  }
}
