:root {
  --bg: #f4f8fb;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.64);
  --ink: #0b1728;
  --muted: #64748b;
  --line: #d7e4f2;
  --blue: #1268ff;
  --cyan: #10b8d8;
  --deep: #071b39;
  --green: #16a34a;
  --shadow: 0 24px 70px rgba(15, 35, 70, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(18, 104, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #f8fbff 100%);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

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

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(18, 104, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 104, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(22px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep);
  font-size: 18px;
  font-weight: 900;
}

.brand-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--blue));
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(18, 104, 255, 0.22);
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  min-height: 72vh;
  padding: clamp(72px, 9vw, 126px) clamp(22px, 5vw, 80px) clamp(54px, 7vw, 90px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: #475569;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid rgba(18, 104, 255, 0.28);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 38px rgba(18, 104, 255, 0.28);
}

.button.ghost {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.7);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 8px 12px;
  color: #1e3a5f;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.feature-panel {
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(18, 104, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eff7ff);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--deep);
  font-size: 18px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(22, 163, 74, 0.12);
}

.diagram-preview {
  position: relative;
  min-height: 300px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(18, 104, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 104, 255, 0.05) 1px, transparent 1px),
    #fff;
  background-size: 24px 24px;
}

.chip,
.module,
.wire {
  position: absolute;
}

.chip {
  top: 84px;
  left: 50%;
  display: grid;
  width: 150px;
  height: 132px;
  place-items: center;
  transform: translateX(-50%);
  border: 2px solid #0f172a;
  border-radius: 8px;
  background: #f8fbff;
  font-size: 22px;
  font-weight: 900;
}

.module {
  display: grid;
  width: 88px;
  height: 44px;
  place-items: center;
  border: 1.5px solid #0f172a;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.module.left {
  left: 24px;
}

.module.right {
  right: 24px;
}

.module.one {
  top: 78px;
}

.module.two {
  top: 178px;
}

.wire {
  height: 2px;
  background: #0f172a;
}

.wire::after {
  position: absolute;
  top: -4px;
  right: -1px;
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #0f172a;
}

.w1,
.w2 {
  left: 112px;
  width: calc(50% - 188px);
}

.w3,
.w4 {
  right: 112px;
  width: calc(50% - 188px);
}

.w1,
.w3 {
  top: 100px;
}

.w2,
.w4 {
  top: 200px;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: clamp(54px, 7vw, 88px) clamp(22px, 5vw, 80px);
}

.section-title {
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 0;
  color: var(--deep);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.55fr) repeat(3, minmax(190px, 1fr));
  gap: 16px;
}

.tool-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(15, 35, 70, 0.08);
}

.jieming-card {
  min-height: 270px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(16, 184, 216, 0.22), transparent 42%),
    linear-gradient(135deg, #071b39, #1268ff);
  box-shadow: 0 24px 70px rgba(18, 104, 255, 0.28);
}

.muted-card {
  opacity: 0.72;
}

.status {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  color: var(--blue);
  border: 1px solid rgba(18, 104, 255, 0.22);
  border-radius: 999px;
  background: rgba(18, 104, 255, 0.07);
  font-size: 12px;
  font-weight: 900;
}

.status.active {
  color: #dff7ff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.13);
}

.tool-card h3 {
  margin-bottom: 12px;
  color: inherit;
  font-size: 25px;
}

.jieming-card h3 {
  font-size: 34px;
}

.tool-card p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.75;
}

.jieming-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.tool-card a {
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: var(--deep);
  font-weight: 900;
}

.jieming-card a {
  color: #fff;
}

.info-strip {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(26px, 6vw, 90px);
  margin: 0 clamp(22px, 5vw, 80px) clamp(44px, 6vw, 80px);
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.info-strip p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 26px clamp(22px, 5vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer a:hover {
  color: var(--blue);
}

@media (max-width: 1040px) {
  .hero,
  .info-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 58px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
}
