/* 技术标编写落地页：对齐设计稿 */

.tech-wb {
  --tech-blue: #3f67f4;
  --tech-violet: #7a58e9;
  --tech-green: #169b78;
  width: min(100%, 1460px);
  margin: 0 auto;
  padding: 16px 8px 32px;
  color: #17233d;
}

.tech-wb button {
  font: inherit;
  color: inherit;
}

.tech-wb a {
  color: inherit;
  text-decoration: none;
}

.tech-wb .lucide {
  width: 16px;
  height: 16px;
  flex: none;
}

.tech-command-stage {
  position: relative;
  isolation: isolate;
  height: 250px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #f7faff;
  box-shadow:
    0 14px 38px rgb(43 64 112 / 7%),
    inset 0 1px 0 rgb(255 255 255 / 96%);
}

.tech-command-stage > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.tech-command-stage::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.tech-command-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 63%;
  height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0 14px 28px;
}

.tech-command-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #191c1f;
  font-size: 12px;
  font-weight: 400;
}

.tech-command-copy > .tech-hero-eyebrow {
  color: #b94a14;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.tech-hero-eyebrow > span {
  min-width: 0;
}

.tech-hero-eyebrow strong {
  font-weight: 700;
}

.tech-hero-sparkles {
  width: 14px;
  height: 14px;
  flex: none;
  object-fit: contain;
}

.tech-command-copy h1 {
  max-width: 650px;
  margin: 6px 0 0;
  color: #191c1f;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.tech-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 13px;
}

.tech-hero-actions .workspace-history-link.workspace-history-link {
  min-width: 132px;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgb(255 255 255 / 92%);
  padding: 0 24px;
  color: #4a26ff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}

.tech-hero-actions .workspace-history-link.workspace-history-link:hover,
.tech-hero-actions .workspace-history-link.workspace-history-link:focus-visible {
  border: 0;
  background: #fff;
  color: #3f1fe0;
  box-shadow: none;
}

.tech-hero-actions .lucide {
  width: 16px;
  height: 16px;
}

.tech-command-copy > .tech-hero-meta {
  max-width: 560px;
  margin: 5px 0 0;
  color: #191c1f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.5;
}

.tech-writing-section {
  margin-top: 22px;
}

.tech-writing-section .tech-section-heading {
  margin-bottom: 22px;
}

.tech-section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 14px;
}

.tech-section-heading h2 {
  margin: 0;
  color: #17233d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tech-writing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tech-writing-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 200px;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background-color: #f7f7fa;
  background-image:
    url("../images/business/business-feature-mask-v1.png"),
    linear-gradient(225deg, #beeef4 0%, #eceef7 30%, #f7f7fa 80%, #e8edfd 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 19px 21px 17px;
  text-align: left;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* 卡1：绿（评分点） */
.tech-writing-card-1 {
  background-image:
    url("../images/business/business-feature-mask-v1.png"),
    linear-gradient(225deg, #beeef4 0%, #eceef7 30%, #f7f7fa 80%, #e8edfd 100%);
}

/* 卡2：蓝（目录） */
.tech-writing-card-2 {
  background-image:
    url("../images/business/business-feature-mask-v1.png"),
    linear-gradient(223deg, #d1deff 0%, #eceef7 30%, #f7f7fa 80%, #e8edfd 100%);
}

/* 卡3：紫（专项） */
.tech-writing-card-3 {
  background-image:
    url("../images/business/business-feature-mask-v1.png"),
    linear-gradient(224deg, #d7d1ff 0%, #eceef7 30.36%, #f7f7fa 80%, #e8edfd 100%);
}

.tech-writing-card:hover,
.tech-writing-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgb(42 61 104 / 8%);
  outline: 0;
}

.tech-writing-card-1:hover,
.tech-writing-card-1:focus-visible {
  border-color: transparent;
}

.tech-writing-card-2:hover,
.tech-writing-card-2:focus-visible {
  border-color: transparent;
}

.tech-writing-card-3:hover,
.tech-writing-card-3:focus-visible {
  border-color: transparent;
}

.tech-writing-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 16px;
  background: transparent;
}

.tech-writing-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgb(55 74 128 / 10%));
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech-writing-card:hover .tech-writing-icon img,
.tech-writing-card:focus-visible .tech-writing-icon img {
  transform: translateY(-2px) scale(1.055);
}

.tech-recommended {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 25px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #00bafe;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.tech-writing-copy {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.tech-writing-copy strong {
  display: block;
  color: #18263f;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.tech-writing-copy p {
  margin: 2px 0 0;
  color: #75839a;
  font-size: 11px;
  line-height: 1.55;
}

.tech-writing-action {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: #0946ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.tech-writing-action svg {
  width: 14px;
  height: 14px;
}

.tech-writing-card-2 .tech-writing-action,
.tech-writing-card-3 .tech-writing-action {
  color: #0946ff;
}

.tech-tools-section {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

.tech-tool-card {
  position: relative;
  display: flex;
  height: 142px;
  min-width: 0;
  min-height: 142px;
  box-sizing: border-box;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(50 111 243 / 0%);
  border-radius: 20px;
  background: #f2f6fc;
  padding: 17px;
  text-align: left;
  box-shadow: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.tech-tool-card:hover,
.tech-tool-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgb(50 111 243 / 18%);
  box-shadow: 0 12px 24px rgb(39 57 98 / 7%);
  outline: 0;
}

.tech-tool-icon {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: transparent;
}

.tech-tool-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech-tool-card:hover .tech-tool-icon img,
.tech-tool-card:focus-visible .tech-tool-icon img {
  transform: translateY(-2px) scale(1.05);
}

.tech-tool-copy {
  width: 128px;
  max-width: 100%;
  min-width: 0;
}

.tech-tool-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.tech-tool-title-line strong {
  color: #18263f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.tech-tool-copy small {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #75839a;
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tech-tool-arrow {
  position: absolute;
  bottom: 12px;
  left: 17px;
  width: 14px;
  height: 14px;
  color: #8da0bd;
}

.tech-tool-card.is-coming,
.tech-tool-card.is-disabled {
  background: #f2f6fc;
  cursor: default;
  box-shadow: none;
}

.tech-tool-card.is-coming:hover,
.tech-tool-card.is-coming:focus-visible,
.tech-tool-card.is-disabled:hover,
.tech-tool-card.is-disabled:focus-visible {
  transform: none;
  border-color: rgb(50 111 243 / 0%);
  box-shadow: none;
}

.tech-tool-card.is-coming .tech-tool-icon,
.tech-tool-card.is-disabled .tech-tool-icon {
  background: transparent;
}

.tech-tool-card.is-coming .tech-tool-icon img,
.tech-tool-card.is-disabled .tech-tool-icon img {
  filter: none;
}

.tech-tool-card.is-coming:hover .tech-tool-icon img,
.tech-tool-card.is-coming:focus-visible .tech-tool-icon img,
.tech-tool-card.is-disabled:hover .tech-tool-icon img,
.tech-tool-card.is-disabled:focus-visible .tech-tool-icon img {
  transform: none;
}

.tech-tool-card.is-coming .tech-tool-title-line strong {
  color: #191c1f;
  opacity: 0.7;
}

.tech-tool-card.is-disabled .tech-tool-title-line strong {
  color: #5f6b7e;
}

.tech-tool-card.is-disabled .tech-tool-copy small {
  color: #99a2b0;
}

.tech-coming-hint {
  position: absolute;
  left: 17px;
  bottom: 12px;
  color: #8f9bae;
  font-size: 11px;
  font-weight: 400;
}

@media (min-width: 1360px) {
  .tech-command-copy {
    padding-top: clamp(28px, 3.7vh, 38px);
    padding-bottom: 24px;
    padding-left: 38px;
  }

  .tech-command-copy h1 {
    margin-top: 8px;
  }

  .tech-hero-actions {
    margin-top: 18px;
  }

  .tech-command-copy > .tech-hero-meta {
    margin-top: 8px;
  }
}

@media (max-width: 1180px) {
  .tech-command-copy {
    width: 63%;
  }

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

@media (max-width: 900px) {
  .tech-wb {
    padding: 14px 4px 28px;
  }

  .tech-command-stage {
    height: 250px;
  }

  .tech-command-stage > img {
    width: 100%;
    opacity: 0.56;
    object-position: 68% 44%;
  }

  .tech-command-copy {
    width: 72%;
    padding: 16px 20px 14px;
  }

  .tech-command-copy h1 {
    font-size: 27px;
  }

  .tech-writing-grid {
    gap: 10px;
  }

  .tech-writing-card {
    min-height: 190px;
    padding: 17px;
  }

  .tech-writing-copy strong {
    font-size: 16px;
  }

  .tech-writing-action {
    margin-top: auto;
  }

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

@media (max-width: 620px) {
  .tech-command-stage {
    height: 250px;
  }

  .tech-command-stage > img {
    width: 100%;
    opacity: 0.36;
    object-position: 54% center;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
  }

  .tech-command-stage::after {
    background: linear-gradient(
      90deg,
      rgb(249 252 255 / 96%) 0%,
      rgb(249 252 255 / 88%) 52%,
      rgb(249 252 255 / 48%) 78%,
      rgb(249 252 255 / 12%) 100%
    );
  }

  .tech-command-copy {
    width: 100%;
    padding: 16px 17px 14px;
  }

  .tech-command-copy h1 {
    max-width: 90%;
    font-size: 23px;
  }

  .tech-command-copy > .tech-hero-meta {
    max-width: 88%;
    font-size: 11px;
  }

  .tech-hero-actions {
    gap: 10px;
  }

  .tech-hero-actions .workspace-history-link.workspace-history-link {
    min-width: 0;
    padding: 0 15px;
  }

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

  .tech-writing-card {
    min-height: 176px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-writing-card,
  .tech-tool-card,
  .tech-writing-icon img,
  .tech-tool-icon img {
    transition: none;
  }

  .tech-writing-card:hover,
  .tech-tool-card:hover {
    transform: none;
  }
}
