:root {
  --color-bg-page: #F7F9FF;
  --color-gradient-start: #6A5CFF;
  --color-gradient-end: #5AD7FF;
  --color-accent: #2D8CFF;
  --shadow-card: 0 12px 32px rgba(0,0,0,0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg-page);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bg-page {
  background: radial-gradient(circle at top left, rgba(106,92,255,0.12), transparent 60%), radial-gradient(circle at bottom right, rgba(90,215,255,0.16), transparent 55%), var(--color-bg-page);
}

.title-ch,
.body-ch,
.section-ch,
.subtitle-ch,
.label-ch,
.btn-ch,
.logo-ch {
  font-family: "Alibaba PuHuiTi", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.title-en {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bg-gradient-main {
  background-image: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
}

.nav-gradient-line {
  position: relative;
}

.nav-gradient-line::after {
  content: "";
  position: absolute;
  inset-x: 0;
  bottom: 0;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(106,92,255,0.12), rgba(90,215,255,0.7), rgba(106,92,255,0.12));
}

.glass-nav {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
}

.glass-hero {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(22px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 2.5rem;
  }
}

.hero-text {
  max-width: 540px;
}

.hero-visual {
  min-width: 0;
}

.toolbox-chip {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 8px 22px rgba(15,23,42,0.06);
}

.chip-logo {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
}

.chip-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  color: #0f172a;
  white-space: nowrap;
}

.tool-section {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1.5rem;
  margin-top: 2.75rem;
}

@media (min-width: 1024px) {
  .tool-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 3.5rem;
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  color: #020617;
}

.section-subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.35rem;
  }
  .section-subtitle {
    font-size: 0.82rem;
  }
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(1,minmax(0,1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .tool-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .tool-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .tool-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

.tool-card {
  position: relative;
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  padding: 1.1rem 1.1rem 0.9rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out, background 160ms ease-out;
  border: 1px solid transparent;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(106,92,255,0.7), rgba(90,215,255,0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0.9;
}

.tool-card:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.16);
  background: rgba(255,255,255,0.8);
}

.tool-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tool-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(15,23,42,0.18);
}

.tool-logo-mark {
  font-family: "Inter", system-ui, sans-serif;
}

.tool-title-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tool-name {
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 500;
  color: #0f172a;
}

.tool-category {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 2px;
}

.tool-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
  min-height: 2.1em;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.tag-pill {
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  white-space: nowrap;
}

.tag-functional {
  color: #1d4ed8;
  background: rgba(37,99,235,0.12);
}

.tag-value {
  color: #0f766e;
  background: rgba(34,197,94,0.08);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.7;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.tool-cta {
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #6A5CFF, #5AD7FF);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37,99,235,0.35);
  transition: transform 130ms ease-out, box-shadow 130ms ease-out, filter 130ms ease-out;
}

.tool-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37,99,235,0.45);
  filter: brightness(1.02);
}

.tool-meta {
  font-size: 0.68rem;
  color: #94a3b8;
}

.tool-meta-dot {
  display: inline-block;
  margin: 0 0.25rem;
}

.nav-links .nav-link {
  position: relative;
  padding-bottom: 2px;
  color: #64748b;
  transition: color 160ms ease-out;
}

.nav-links .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-image: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  transition: width 160ms ease-out;
}

.nav-links .nav-link:hover {
  color: #0f172a;
}

.nav-links .nav-link.is-active {
  color: #1d4ed8;
}

.nav-links .nav-link.is-active::after {
  width: 100%;
}

.mini-tag,
.mini-tag-alt {
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.mini-tag {
  color: #1d4ed8;
  background: rgba(37,99,235,0.08);
}

.mini-tag-alt {
  color: #0f766e;
  background: rgba(45,212,191,0.08);
}
