:root {
  --ink: #151714;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --line: #d9dcd3;
  --muted: #6d7169;
  --acid: #c8ff38;
  --coral: #ff6048;
  --blue: #3d62f3;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}
button, input { font: inherit; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(245,246,241,.94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--ink); color: var(--acid); font-weight: 900; font-size: 15px;
  border-radius: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 17px; }
.brand-text small { margin-top: 6px; color: var(--muted); font-size: 8px; font-weight: 800; }
.top-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 700; }
.top-nav a { position: relative; padding: 28px 0 27px; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--ink); transition: right .2s; }
.top-nav a:hover::after, .top-nav a.active::after { right: 0; }
.submit-link { justify-self: end; padding: 10px 14px; border: 1px solid var(--ink); border-radius: var(--radius); font-size: 13px; font-weight: 800; }
.submit-link:hover { background: var(--ink); color: var(--paper); }

main { max-width: 1440px; margin: 0 auto; }
.intro {
  min-height: 430px;
  padding: 64px clamp(20px, 4vw, 64px) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.eyebrow, .section-index { margin: 0 0 20px; color: var(--muted); font-size: 11px; font-weight: 900; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--coral); }
h1 { margin: 0; max-width: 780px; font-size: clamp(70px, 9vw, 132px); line-height: .9; font-weight: 950; }
.lead { margin: 27px 0 34px; max-width: 620px; font-size: 22px; line-height: 1.55; font-weight: 600; }
.quick-stats { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.quick-stats strong { color: var(--ink); font-size: 17px; margin-right: 3px; }
.signal-panel { position: relative; min-height: 310px; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--acid); }
.signal-grid { position: absolute; inset: 0; background-image: linear-gradient(#1517141a 1px, transparent 1px), linear-gradient(90deg,#1517141a 1px,transparent 1px); background-size: 28px 28px; }
.signal-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid var(--ink); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 215px; height: 215px; animation: pulse 3s ease-in-out infinite; }
.orbit-two { width: 135px; height: 135px; animation: pulse 3s ease-in-out 1s infinite; }
.signal-core { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; display: grid; place-items: center; transform: translate(-50%,-50%); background: var(--ink); color: var(--acid); font-size: 23px; font-weight: 950; border-radius: 50%; }
.signal-label { position: absolute; padding: 6px 9px; border: 1px solid var(--ink); background: var(--paper); font-size: 11px; font-weight: 800; }
.label-cn { left: 9%; top: 17%; }
.label-global { right: 8%; bottom: 15%; }
@keyframes pulse { 50% { transform: translate(-50%,-50%) scale(1.08); opacity: .55; } }

.finder { padding: 22px clamp(20px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 16px; border-bottom: 1px solid var(--line); }
.search-box { height: 52px; display: flex; align-items: center; padding: 0 15px; gap: 12px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--surface); }
.search-box:focus-within { box-shadow: 0 0 0 3px var(--acid); }
.search-icon { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content:""; width: 7px; height: 2px; background: currentColor; position:absolute; right:-5px; bottom:-2px; transform:rotate(45deg); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
kbd { padding: 4px 8px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); border-radius: 4px; }
.region-filter { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.region-btn { min-height: 42px; padding: 0 17px; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 800; }
.region-btn.active { background: var(--ink); color: var(--surface); border-radius: 4px; }

.catalog-layout { display: grid; grid-template-columns: 225px 1fr; align-items: start; }
.category-nav { position: sticky; top: 98px; padding: 36px 24px 36px clamp(20px, 4vw, 64px); }
.aside-label { margin: 0 0 14px; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.category-btn { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; color: var(--muted); font-size: 13px; }
.category-btn b { font-size: 10px; font-weight: 600; }
.category-btn:hover, .category-btn.active { color: var(--ink); font-weight: 900; }
.category-btn.active span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--coral); }
.catalog-main { min-width: 0; padding: 36px clamp(20px, 4vw, 64px) 70px 28px; border-left: 1px solid var(--line); }
.catalog-heading { min-height: 72px; display: flex; justify-content: space-between; align-items: start; }
.catalog-heading h2, .collection-heading h2, .about h2 { margin: 0; font-size: 32px; line-height: 1.15; }
.catalog-heading .section-index { margin-bottom: 8px; }
.catalog-heading > p { color: var(--muted); font-size: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool-card { min-height: 220px; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.card-top { display: flex; align-items: start; justify-content: space-between; }
.tool-logo { position: relative; width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--acid); font-size: 11px; font-weight: 950; }
.tool-logo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.tool-logo.logo-image { background: #ffe550; }
.tool-logo.logo-video { background: #ff9d8d; }
.tool-logo.logo-code { background: #b9c5ff; }
.tool-logo.logo-audio { background: #c8ffde; }
.tool-logo.logo-search { background: #bceaff; }
.tool-logo.logo-productivity { background: #f2d2ff; }
.region-tag { padding: 5px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 800; border-radius: 3px; }
.region-tag.cn { background: #f2ffe0; color: #3d5e00; border-color: #b8d985; }
.tool-card h3 { margin: 20px 0 7px; font-size: 18px; }
.tool-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.card-footer { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; }
.category-tag { color: var(--muted); font-size: 10px; font-weight: 800; }
.visit-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--surface); font-style: normal; }
.empty-state { padding: 80px 20px; text-align: center; border: 1px dashed var(--line); }
.empty-state span { font-size: 64px; font-weight: 950; color: var(--line); }
.empty-state h3 { margin: 6px 0 20px; }
.empty-state button { padding: 10px 16px; border: 1px solid var(--ink); background: transparent; border-radius: var(--radius); cursor: pointer; }

.collections { padding: 70px clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); background: var(--ink); color: var(--surface); }
.collection-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 34px; }
.collection-heading .section-index { color: #a8ada3; }
.collection-list { border-top: 1px solid #ffffff38; }
.collection-list button { width: 100%; min-height: 90px; padding: 0; display: grid; grid-template-columns: 80px 1fr 1fr 40px; align-items: center; border: 0; border-bottom: 1px solid #ffffff38; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.collection-list button:hover { color: var(--acid); }
.collection-list span { color: #8b9087; font-size: 11px; }
.collection-list strong { font-size: 20px; }
.collection-list small { color: #a8ada3; font-size: 13px; }
.collection-list i { font-style: normal; font-size: 24px; }
.about { padding: 80px clamp(20px, 4vw, 64px); display: grid; grid-template-columns: 225px 1fr; border-bottom: 1px solid var(--line); }
.about > div { max-width: 850px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.about h2 { font-size: 42px; }
.about div p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
footer { min-height: 130px; padding: 30px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer p, footer a { color: var(--muted); font-size: 11px; }

@media (max-width: 1050px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro { grid-template-columns: 1fr 310px; }
  .top-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
}
@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 16px; }
  .submit-link { font-size: 0; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; }
  .submit-link span { font-size: 18px; }
  .intro { min-height: auto; padding: 42px 16px 24px; grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: 64px; }
  .lead { font-size: 17px; }
  .signal-panel { min-height: 230px; }
  .finder { padding: 14px 16px; grid-template-columns: 1fr; }
  .region-filter { overflow-x: auto; }
  .region-btn { flex: 1; white-space: nowrap; padding: 0 10px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .category-nav { position: static; padding: 16px; display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); }
  .aside-label { display: none; }
  .category-btn { flex: 0 0 auto; width: auto; min-height: 38px; padding: 0 12px; gap: 8px; border: 1px solid var(--line); border-radius: 4px; }
  .category-btn b { display: none; }
  .category-btn.active { background: var(--ink); color: white; }
  .category-btn.active span::before { display: none; }
  .catalog-main { padding: 26px 16px 50px; border-left: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 195px; }
  .collections { padding: 52px 16px; }
  .collection-list button { grid-template-columns: 44px 1fr 28px; padding: 18px 0; }
  .collection-list small { display: none; }
  .collection-list strong { font-size: 16px; }
  .about { padding: 54px 16px; grid-template-columns: 1fr; }
  .about > div { grid-template-columns: 1fr; gap: 24px; }
  .about h2 { font-size: 34px; }
  footer { flex-wrap: wrap; padding: 28px 16px; }
  .footer-brand { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
