/* ==========================================================================
   NEWVALINK 产品详情页
   仅使用 .nvp-* 命名空间；线稿视觉继承 home-sections.css。
   ========================================================================== */

html:has(.nvp-product-page) {
  scroll-behavior: smooth;
}

.nvp-hero-tools,
.nvp-page {
  --nvp-accent: #0095ff;
  --nvp-panel: rgba(18, 21, 25, .9);
  --nvp-panel-soft: rgba(18, 21, 25, .72);
  --nvp-border: rgba(255, 255, 255, .11);
  --nvp-border-strong: rgba(255, 255, 255, .22);
  --nvp-text: #fff;
  --nvp-body: rgba(255, 255, 255, .7);
  --nvp-muted: rgba(255, 255, 255, .43);
  --nvp-radius: 22px;
  --nvp-display: Newvalinksansvf, Inter, "Noto Sans SC", "Noto Sans JP", Arial, sans-serif;
  --nvp-sans: "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Hiragino Sans GB", "Hiragino Sans",
    "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nvp-hero-tools *,
.nvp-page,
.nvp-page * {
  box-sizing: border-box;
}

.nvp-page {
  position: relative;
  padding: 118px 0 0;
  color: var(--nvp-text);
  font-family: var(--nvp-sans);
  background:
    radial-gradient(circle at 80% 8%, rgba(0, 149, 255, .08), transparent 25%),
    #080a0d;
  overflow: hidden;
}

.nvp-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

.nvp-shell {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.nvp-hero-tools {
  display: flex;
  max-width: 680px;
  margin-top: 26px;
  flex-direction: column;
  align-items: center;
}

.nvp-hero-sub {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-family: var(--nvp-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: .35px;
  text-align: center;
}

.nvp-anchor-nav {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nvp-anchor-pill,
.nvp-chip {
  display: inline-flex;
  min-height: 32px;
  padding: 7px 13px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
}

.nvp-anchor-pill {
  color: rgba(255, 255, 255, .74);
  font-family: var(--nvp-display);
  font-size: 10px;
  font-weight: 430;
  line-height: 1.2;
  letter-spacing: 1.45px;
  text-decoration: none;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.nvp-anchor-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--nvp-accent);
  box-shadow: 0 0 10px rgba(0, 149, 255, .8);
}

.nvp-anchor-pill:hover,
.nvp-anchor-pill:focus-visible {
  color: #fff;
  border-color: rgba(0, 149, 255, .62);
  background: rgba(0, 149, 255, .08);
}

.nvp-anchor-pill:focus-visible,
.nvp-card-link:focus-visible,
.nvp-docs-link:focus-visible,
.nvp-bridge-button:focus-visible {
  outline: 2px solid var(--nvp-accent);
  outline-offset: 4px;
}

/* 双产品总览
   -------------------------------------------------------------------------- */

.nvp-overview {
  padding: 0 0 148px;
}

.nvp-section-label {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .36);
  font-family: var(--nvp-display);
  font-size: 11px;
  font-weight: 430;
  line-height: 1;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.nvp-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nvp-product-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 390px;
  padding: 32px;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 48%),
    var(--nvp-panel);
  border: 1px solid var(--nvp-border);
  border-radius: var(--nvp-radius);
  box-shadow: inset 0 0 16px rgba(170, 168, 168, .1);
  overflow: hidden;
}

.nvp-product-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  bottom: -44%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 149, 255, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(0, 149, 255, .035),
    0 0 0 78px rgba(0, 149, 255, .018);
}

.nvp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nvp-card-no {
  color: rgba(255, 255, 255, .2);
  font-family: var(--nvp-display);
  font-size: 70px;
  font-weight: 330;
  line-height: .82;
}

.nvp-card-type {
  color: var(--nvp-muted);
  font-family: var(--nvp-display);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 1.55px;
}

.nvp-card-copy {
  margin-top: auto;
  padding: 78px 0 30px;
}

.nvp-card-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 420;
  line-height: 1.22;
  letter-spacing: -.4px;
}

.nvp-card-copy p {
  max-width: 500px;
  margin: 0;
  color: var(--nvp-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
}

.nvp-card-link,
.nvp-docs-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: var(--nvp-display);
  font-size: 11px;
  font-weight: 430;
  line-height: 1;
  letter-spacing: 2.4px;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
  transition: color .25s ease, border-color .25s ease;
}

.nvp-card-link {
  padding-top: 18px;
}

.nvp-card-link span,
.nvp-docs-link span {
  color: var(--nvp-accent);
  font-size: 18px;
  transition: transform .3s cubic-bezier(.16, .72, .26, 1);
}

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

.nvp-card-link:hover span,
.nvp-docs-link:hover span {
  transform: translateX(4px);
}

/* 产品章节与交替功能行
   -------------------------------------------------------------------------- */

.nvp-product-section {
  scroll-margin-top: 26px;
  padding: 138px 0 150px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.nvp-product-section--tracker {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 20%),
    rgba(255, 255, 255, .012);
}

.nvp-section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
  gap: 72px;
  margin-bottom: 78px;
  align-items: end;
}

.nvp-section-index {
  display: block;
  margin-bottom: 20px;
  color: var(--nvp-accent);
  font-family: var(--nvp-display);
  font-size: 11px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: 2.5px;
}

.nvp-section-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 390;
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.nvp-section-head p {
  margin: 0;
  color: var(--nvp-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
}

.nvp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nvp-feature-row {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .034), transparent 46%),
    var(--nvp-panel-soft);
  border: 1px solid var(--nvp-border);
  border-radius: var(--nvp-radius);
  box-shadow: inset 0 0 16px rgba(170, 168, 168, .08);
  overflow: hidden;
}

.nvp-feature-row:nth-child(even) {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
}

.nvp-feature-row:nth-child(even) .nvp-feature-copy {
  order: 2;
}

.nvp-feature-row:nth-child(even) .nvp-feature-visual {
  order: 1;
  border-right: 1px solid rgba(255, 255, 255, .08);
  border-left: 0;
}

.nvp-feature-copy {
  display: flex;
  min-width: 0;
  padding: 44px 42px 36px;
  flex-direction: column;
}

.nvp-feature-kicker {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .4);
  font-family: var(--nvp-display);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 2px;
}

.nvp-feature-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(0, 149, 255, .8);
}

.nvp-feature-copy h3 {
  margin: 0 0 24px;
  color: #fff;
  /* 36px 在 419px 栏宽下日文标题会溢出一字，产生「を、」「い。」孤字行 */
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 420;
  line-height: 1.4;
  letter-spacing: -.25px;
  text-wrap: balance;
}

.nvp-patent-badge {
  align-self: flex-start;
  margin: -6px 0 18px;
}

.nvp-feature-points {
  display: grid;
  margin: 0 0 24px;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.nvp-feature-points li {
  position: relative;
  padding-left: 17px;
  color: var(--nvp-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
}

.nvp-feature-points li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nvp-accent);
}

.nvp-chips {
  display: flex;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 7px;
}

.nvp-chip {
  min-height: 27px;
  padding: 5px 10px;
  color: rgba(255, 255, 255, .52);
  font-family: var(--nvp-display);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 1px;
}

.nvp-docs-link {
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
}

.nvp-feature-visual {
  position: relative;
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 149, 255, .14), rgba(0, 149, 255, 0) 35%),
    linear-gradient(145deg, #10171e, #090b0e);
  border-left: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}

.nvp-feature-visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 18px;
  pointer-events: none;
}

.nvp-feature-visual svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  padding: 5%;
}

/* STUDIO → TRACKER
   -------------------------------------------------------------------------- */

.nvp-bridge {
  padding: 150px 0 160px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.nvp-bridge-panel {
  display: grid;
  padding: 46px;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: 60px;
  align-items: center;
  background:
    radial-gradient(circle at 75% 45%, rgba(0, 149, 255, .11), transparent 36%),
    var(--nvp-panel);
  border: 1px solid rgba(0, 149, 255, .32);
  border-radius: var(--nvp-radius);
  box-shadow: inset 0 0 24px rgba(0, 149, 255, .045);
}

.nvp-bridge-copy h2 {
  max-width: 560px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.7px;
  text-wrap: balance;
}

.nvp-bridge-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--nvp-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.95;
}

.nvp-bridge-visual {
  margin: 0;
}

.nvp-bridge-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.nvp-bridge-actions {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 10px;
}

.nvp-bridge-button {
  display: inline-flex;
  min-height: 44px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--nvp-display);
  font-size: 10px;
  font-weight: 440;
  line-height: 1;
  letter-spacing: 1.7px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.nvp-bridge-button:hover {
  color: var(--nvp-accent);
  border-color: rgba(0, 149, 255, .5);
  background: rgba(0, 149, 255, .06);
}

.nvp-bridge-button--contact {
  color: #05070a;
  background: #fff;
  border-color: #fff;
}

.nvp-bridge-button--contact:hover {
  color: #fff;
  background: var(--nvp-accent);
  border-color: var(--nvp-accent);
}

.nvp-bridge-actions .contact-button {
  display: inline-flex;
  width: auto;
  height: auto;
  padding: 12px 18px;
  font-family: var(--nvp-display);
  font-size: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .nvp-product-card,
  .nvp-feature-row {
    transition:
      transform .35s cubic-bezier(.16, .72, .26, 1),
      border-color .35s ease,
      box-shadow .35s ease;
  }

  .nvp-product-card:hover,
  .nvp-feature-row:hover {
    transform: translateY(-4px);
    border-color: var(--nvp-border-strong);
    box-shadow:
      inset 0 0 16px rgba(170, 168, 168, .1),
      0 24px 56px rgba(0, 0, 0, .38);
  }

  .nvh-motion-ready .nvp-product-card.nvh-is-visible:hover,
  .nvh-motion-ready .nvp-feature-row.nvh-is-visible:hover {
    transform: translateY(-4px);
  }
}

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

@media screen and (max-width: 991px) {
  .nvp-page {
    padding-top: 96px;
  }

  .nvp-shell {
    width: min(900px, calc(100% - 48px));
  }

  .nvp-overview {
    padding-bottom: 112px;
  }

  .nvp-product-card {
    min-height: 350px;
    padding: 27px;
  }

  .nvp-section-head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 58px;
  }

  .nvp-section-head p {
    max-width: 620px;
  }

  .nvp-product-section {
    padding: 112px 0;
  }

  .nvp-feature-row,
  .nvp-feature-row:nth-child(even) {
    min-height: 480px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .nvp-feature-copy {
    padding: 36px 30px 30px;
  }

  .nvp-feature-row:nth-child(even) .nvp-feature-copy {
    order: 1;
  }

  .nvp-feature-row:nth-child(even) .nvp-feature-visual {
    order: 2;
    border-right: 0;
    border-left: 1px solid rgba(255, 255, 255, .08);
  }

  .nvp-bridge {
    padding: 112px 0 124px;
  }

  .nvp-bridge-panel {
    padding: 36px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .nvp-bridge-visual {
    max-width: 620px;
  }
}

@media screen and (max-width: 767px) {
      .nvp-hero-tools {
    width: calc(100vw - 40px);
    margin-top: 18px;
  }

  .nvp-hero-sub {
    font-size: 12px;
    line-height: 1.75;
  }

  .nvp-anchor-nav {
    margin-top: 18px;
    gap: 7px;
  }

  .nvp-anchor-pill {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .nvp-page {
    padding-top: 76px;
  }

  .nvp-shell {
    width: calc(100% - 32px);
  }

  .nvp-overview {
    padding-bottom: 86px;
  }

  .nvp-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .nvp-product-card {
    min-height: 318px;
  }

  .nvp-card-copy {
    padding-top: 58px;
  }

  .nvp-product-section {
    padding: 88px 0 92px;
    scroll-margin-top: 12px;
  }

  .nvp-section-head {
    margin-bottom: 42px;
  }

  .nvp-feature-list {
    gap: 14px;
  }

  .nvp-feature-row,
  .nvp-feature-row:nth-child(even) {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .nvp-feature-row:nth-child(even) .nvp-feature-copy,
  .nvp-feature-copy {
    order: 2;
    padding: 32px 25px 25px;
  }

  .nvp-feature-row:nth-child(even) .nvp-feature-visual,
  .nvp-feature-visual {
    order: 1;
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
  }

  .nvp-feature-copy h3 {
    margin-bottom: 20px;
  }

  .nvp-chips {
    margin-bottom: 28px;
  }

  .nvp-bridge {
    padding: 92px 0 104px;
  }

  .nvp-bridge-panel {
    padding: 28px 24px;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media screen and (max-width: 479px) {
  .nvp-shell {
    width: calc(100% - 24px);
  }

  .nvp-section-label {
    margin-bottom: 18px;
  }

  .nvp-product-card,
  .nvp-feature-row,
  .nvp-bridge-panel {
    border-radius: 18px;
  }

  .nvp-product-card {
    min-height: 300px;
    padding: 23px 20px 20px;
  }

  .nvp-card-no {
    font-size: 56px;
  }

  .nvp-card-copy h2 {
    font-size: 27px;
  }

  .nvp-section-head h2 {
    font-size: 35px;
  }

  .nvp-section-head p,
  .nvp-card-copy p {
    font-size: 12px;
    line-height: 1.85;
  }

  .nvp-feature-visual {
    min-height: 250px;
  }

  .nvp-feature-copy {
    padding: 29px 20px 21px;
  }

  .nvp-feature-copy h3 {
    font-size: 24px;
  }

  .nvp-feature-points li {
    font-size: 12px;
  }

  .nvp-bridge-panel {
    padding: 25px 20px;
  }

  .nvp-bridge-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.nvp-product-page) {
    scroll-behavior: auto;
  }

  .nvp-anchor-pill,
  .nvp-card-link,
  .nvp-card-link span,
  .nvp-docs-link,
  .nvp-docs-link span,
  .nvp-product-card,
  .nvp-feature-row,
  .nvp-bridge-button {
    transition: none !important;
  }
}


/* ---- 反馈轮：总览区吸收 hero 的引导文与锚点胶囊 ---- */
.nvp-overview .nvp-hero-tools {
  margin: 18px 0 36px;
  max-width: 760px;
  align-items: flex-start;
}

.nvp-overview .nvp-hero-sub {
  text-align: left;
}

.nvp-overview .nvp-anchor-nav {
  justify-content: flex-start;
}

/* 总览卡英文品名用品牌字体 */
.nvp-product-card h2 {
  font-family: var(--nvp-display);
  font-weight: 400;
  letter-spacing: 1.5px;
}

