/* ==========================================================================
   NEWVALINK 首页 /CONCEPT + /PRODUCT
   自包含、仅使用 .nvh-* 命名空间，不依赖 Webflow IX2。
   ========================================================================== */

.nvh-concept,
.nvh-product {
  --nvh-accent: #0095ff;
  --nvh-panel: rgba(20, 20, 20, .76);
  --nvh-panel-strong: rgba(22, 25, 29, .92);
  --nvh-border: rgba(255, 255, 255, .1);
  --nvh-border-hover: rgba(255, 255, 255, .28);
  --nvh-body: rgba(255, 255, 255, .72);
  --nvh-muted: rgba(255, 255, 255, .46);
  --nvh-radius: 22px;
  --nvh-display: Newvalinksansvf, Inter, "Noto Sans SC", "Noto Sans JP", Arial, sans-serif;
  --nvh-sans: "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Hiragino Sans GB", "Hiragino Sans",
    "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nvh-concept,
.nvh-product,
.nvh-concept *,
.nvh-product * {
  box-sizing: border-box;
}

.nvh-concept,
.nvh-product,
.nvh-feature-card {
  scroll-margin-top: 28px;
}

/* /CONCEPT
   -------------------------------------------------------------------------- */

.what-we-do-problems.nvh-concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 1200px;
  align-items: stretch;
  overflow: visible;
}

.nvh-concept-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 340px;
  padding: 30px 30px 28px;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 52%),
    var(--nvh-panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nvh-border);
  border-radius: var(--nvh-radius);
  box-shadow: inset 0 0 14px rgba(170, 168, 168, .13);
  overflow: hidden;
  transition:
    transform .35s cubic-bezier(.16, .72, .26, 1),
    border-color .35s ease,
    box-shadow .35s ease;
}

.nvh-concept-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(138deg, rgba(0, 149, 255, .14), rgba(0, 149, 255, 0) 52%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.nvh-concept-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 34px;
}

.nvh-concept-no {
  color: rgba(255, 255, 255, .23);
  font-family: var(--nvh-display);
  font-size: clamp(54px, 5vw, 76px);
  font-weight: 350;
  line-height: .82;
  letter-spacing: 2px;
  transition: color .35s ease;
}

.nvh-concept-icon {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, .68);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .35s ease, transform .35s cubic-bezier(.16, .72, .26, 1);
}

.nvh-concept-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 18px;
  padding-right: 8%;
  padding-bottom: 48px;
}

.nvh-concept-card .card-sub {
  display: block;
  color: #fff;
  font-family: var(--nvh-sans);
  font-size: 25px;
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: .5px;
}

.nvh-concept-card .card-paragraph {
  display: block;
  max-width: 470px;
  margin: 0;
  color: var(--nvh-body);
  font-family: var(--nvh-sans);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: .25px;
}

.nvh-concept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.nvh-concept-tags > span {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  line-height: 1.4;
  background: rgba(255, 255, 255, .02);
}

.nvh-answer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: auto;
  padding-top: 14px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--nvh-display);
  font-size: 12px;
  font-weight: 430;
  line-height: 1.35;
  letter-spacing: 2.2px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  transition: color .25s ease, border-color .25s ease;
}

.nvh-answer-feature {
  color: var(--nvh-accent);
  text-align: right;
}

.nvh-answer-feature > span {
  display: inline-block;
  transition: transform .3s cubic-bezier(.16, .72, .26, 1);
}

@media (hover: hover) and (pointer: fine) {
  .nvh-concept-card:hover {
    transform: translateY(-4px);
    border-color: var(--nvh-border-hover);
    box-shadow:
      inset 0 0 14px rgba(170, 168, 168, .13),
      0 20px 46px rgba(0, 0, 0, .4);
  }

  .nvh-concept-card:hover::before {
    opacity: 1;
  }

  .nvh-concept-card:hover .nvh-concept-no {
    color: rgba(0, 149, 255, .82);
  }

  .nvh-concept-card:hover .nvh-concept-icon {
    color: #fff;
    transform: translate3d(-2px, 2px, 0);
  }

  .nvh-concept-card:hover .nvh-answer {
    color: rgba(255, 255, 255, .78);
    border-top-color: rgba(0, 149, 255, .45);
  }

  .nvh-concept-card:hover .nvh-answer-feature > span {
    transform: translateX(4px);
  }
}

.nvh-concept-card:focus-visible,
.nvh-docs-link:focus-visible {
  outline: 2px solid var(--nvh-accent);
  outline-offset: 4px;
}

.nvh-concept-card:focus-visible .nvh-answer {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: none;
}

/* /PRODUCT
   -------------------------------------------------------------------------- */

.nvh-product .section-section--features-scroll {
  width: min(1000px, calc(100% - 48px));
}

.nvh-product .card-scroll-wrapper {
  overflow: visible;
}

.nvh-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.nvh-feature-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  flex-direction: column;
  grid-column: span 6;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 48%),
    var(--nvh-panel-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--nvh-border);
  border-radius: var(--nvh-radius);
  box-shadow: inset 0 0 14px rgba(170, 168, 168, .12);
  overflow: hidden;
  transition:
    transform .35s cubic-bezier(.16, .72, .26, 1),
    border-color .35s ease,
    box-shadow .35s ease;
}

.nvh-feature-card:nth-child(1) {
  grid-column: span 6;
}

.nvh-feature-card:nth-child(2) {
  grid-column: span 6;
}

.nvh-feature-card--patent::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 84% 8%, rgba(0, 149, 255, .18), rgba(0, 149, 255, 0) 38%);
  pointer-events: none;
}

.nvh-feature-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  background: #0a0d10;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}

.nvh-feature-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.16, .72, .26, 1), filter .45s ease;
}

.nvh-feature-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 13, 0) 68%, rgba(8, 10, 13, .42) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, .035), transparent 30%);
  pointer-events: none;
}




.nvh-feature-body {
  position: relative;
  display: flex;
  min-height: 320px;
  padding: 58px 28px 24px;
  flex: 1 1 auto;
  flex-direction: column;
}

.nvh-solve-chip {
  position: absolute;
  top: 22px;
  right: 28px;
  color: rgba(255, 255, 255, .6);
  font-family: var(--nvh-sans);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.1px;
  white-space: nowrap;
}

.nvh-solve-chip::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  vertical-align: 1px;
  background: var(--nvh-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 149, 255, .8);
}

.nvh-patent-badge {
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 7px 12px 6px;
  color: #fff;
  font-family: var(--nvh-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.4px;
  border: 1px solid rgba(0, 149, 255, .78);
  border-radius: 999px;
  background: rgba(0, 149, 255, .07);
}

.nvh-feature-card .card-header {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--nvh-sans);
  font-size: 25px;
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: .4px;
}

.nvh-feature-card .paragraph-2 {
  margin: 0 0 24px;
  color: var(--nvh-body);
  font-family: var(--nvh-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: .15px;
}

.nvh-docs-link {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: var(--nvh-display);
  font-size: 12px;
  font-weight: 430;
  line-height: 1;
  letter-spacing: 2.8px;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
  transition: color .3s ease, border-color .3s ease;
}

.nvh-docs-link > span {
  color: var(--nvh-accent);
  font-size: 18px;
  line-height: 1;
  transition: transform .35s cubic-bezier(.16, .72, .26, 1);
}

.nvh-folder-visual {
  background:
    radial-gradient(circle at 34% 38%, rgba(0, 149, 255, .14), rgba(0, 149, 255, 0) 34%),
    linear-gradient(145deg, #111820, #090b0e);
}

.nvh-folder-visual svg {
  display: block;
  width: 100%;
  height: 100%;
  padding: 3.5% 5%;
}

.nvh-folder-main,
.nvh-folder-node,
.nvh-folder-line {
  fill: none;
  stroke: rgba(255, 255, 255, .72);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nvh-folder-main {
  stroke: rgba(0, 149, 255, .88);
  stroke-width: 2.4;
}

.nvh-folder-node {
  stroke: rgba(255, 255, 255, .56);
}

.nvh-folder-line {
  stroke: rgba(0, 149, 255, .42);
  stroke-dasharray: 4 7;
}

@media (hover: hover) and (pointer: fine) {
  .nvh-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--nvh-border-hover);
    box-shadow:
      inset 0 0 14px rgba(170, 168, 168, .12),
      0 22px 52px rgba(0, 0, 0, .42);
  }

  .nvh-feature-card:hover .nvh-feature-media img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.02);
  }

  .nvh-docs-link:hover {
    color: var(--nvh-accent);
    border-color: rgba(0, 149, 255, .45);
  }

  .nvh-docs-link:hover > span {
    transform: translateX(4px);
  }

  .nvh-motion-ready .nvh-reveal.nvh-is-visible:hover {
    transform: translateY(-4px);
  }
}

/* 滚动入场：只有 JS 就绪时才设置初始隐藏，避免无 JS 永久不可见。 */
.nvh-motion-ready .nvh-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity .58s cubic-bezier(.16, .72, .26, 1) var(--nvh-delay, 0ms),
    transform .58s cubic-bezier(.16, .72, .26, 1) var(--nvh-delay, 0ms),
    border-color .35s ease,
    box-shadow .35s ease;
}

.nvh-motion-ready .nvh-reveal.nvh-is-visible {
  opacity: 1;
  transform: none;
}

/* 响应式
   -------------------------------------------------------------------------- */

@media screen and (max-width: 1239px) {
  .what-we-do-problems.nvh-concept-grid {
    width: 90%;
  }
}

@media screen and (max-width: 991px) {
  .nvh-concept-card {
    min-height: 320px;
    padding: 26px;
  }

  .nvh-answer {
    right: 26px;
    bottom: 24px;
    left: 26px;
  }

  .nvh-concept-card .card-sub {
    font-size: 22px;
  }

  .nvh-feature-card:nth-child(1),
  .nvh-feature-card:nth-child(2),
  .nvh-feature-card {
    grid-column: span 6;
  }

  .nvh-feature-body {
    min-height: 338px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .nvh-solve-chip {
    right: 24px;
  }

  .nvh-feature-card .card-header {
    font-size: 22px;
  }
}

@media screen and (max-width: 767px) {
  .what-we-do-problems.nvh-concept-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 90%;
  }

  .nvh-concept-card {
    min-height: 300px;
  }

  .nvh-answer {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }

  .nvh-product .section-section--features-scroll {
    width: calc(100% - 32px);
  }

  .nvh-feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .nvh-feature-card:nth-child(1),
  .nvh-feature-card:nth-child(2),
  .nvh-feature-card {
    grid-column: auto;
  }

  .nvh-feature-body {
    min-height: 290px;
  }
}

@media screen and (max-width: 479px) {
  .nvh-concept,
  .nvh-product {
    scroll-margin-top: 12px;
  }

  .nvh-concept-card {
    min-height: 286px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .nvh-concept-meta {
    margin-bottom: 26px;
  }

  .nvh-concept-no {
    font-size: 52px;
  }

  .nvh-concept-icon {
    width: 27px;
    height: 27px;
  }

  .nvh-concept-copy {
    gap: 13px;
    padding-right: 0;
  }

  .nvh-concept-card .card-sub {
    font-size: 20px;
    line-height: 1.5;
  }

  .nvh-concept-card .card-paragraph {
    font-size: 12px;
    line-height: 1.85;
  }

  .nvh-answer {
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding-top: 12px;
    font-size: 10px;
    letter-spacing: 1.7px;
  }

  .nvh-product .section-section--features-scroll {
    width: calc(100% - 24px);
  }

  .nvh-feature-card {
    border-radius: 18px;
  }

  .nvh-feature-body {
    min-height: 0;
    padding: 53px 20px 20px;
  }

  .nvh-solve-chip {
    top: 20px;
    right: 20px;
  }

  .nvh-patent-badge {
    margin-bottom: 13px;
  }

  .nvh-feature-card .card-header {
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.45;
  }

  .nvh-feature-card .paragraph-2 {
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nvh-concept-card,
  .nvh-concept-card::before,
  .nvh-concept-icon,
  .nvh-answer,
  .nvh-feature-card,
  .nvh-feature-media img,
  .nvh-docs-link,
  .nvh-docs-link > span,
  .nvh-motion-ready .nvh-reveal {
    scroll-behavior: auto;
    transition: none !important;
    animation: none !important;
  }

  .nvh-motion-ready .nvh-reveal {
    opacity: 1;
    transform: none;
  }
}
