/* ============================================================
   NetX PayCore — B2B product landing
   ============================================================ */

.pc-page { overflow: clip; }

.pc-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--pay-border);
}

.pc-section__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.pc-title {
  margin: 0;
  max-width: min(46rem, 100%);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--pay-text);
}

.pc-lead {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--pay-muted);
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  background: var(--pay-gradient);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.pc-btn:hover { filter: brightness(1.06); }

.pc-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(244, 244, 245, 0.9);
  font-weight: 550;
}

.pc-btn--ghost:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: #fff;
}

/* —— 01 Brand hero —— */
.pc-hero {
  position: relative;
  min-height: min(72vh, 680px);
  display: grid;
  align-items: center;
  padding: clamp(5.5rem, 12vh, 8.5rem) 0 clamp(4.5rem, 10vh, 6.5rem);
  overflow: clip;
  background:
    radial-gradient(ellipse 46% 42% at 50% 46%, rgba(99, 102, 241, 0.22), transparent 68%),
    linear-gradient(180deg, #06060b 0%, var(--pay-bg) 100%);
}

.pc-hero__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(560px, 76vw);
  height: min(280px, 40vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.18), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.pc-hero__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.pc-hero__brand {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  color: #fff;
  line-height: 1.05;
  white-space: nowrap;
}

.pc-hero__brand span {
  color: rgba(244, 244, 245, 0.48);
  font-weight: 650;
}

.pc-hero__type {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
}

.pc-hero__promise {
  margin: 1.35rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.78);
}


@media (max-width: 560px) {
  .pc-hero__brand,
  .pc-hero__type {
    font-size: clamp(1.15rem, 6.8vw, 1.7rem);
  }
}

/* —— 02 Connection hub —— */
.pc-what {
  background:
    radial-gradient(ellipse 48% 42% at 50% 48%, rgba(99, 102, 241, 0.1), transparent 72%);
}

.pc-section__head--tight {
  margin-bottom: clamp(1.4rem, 2.8vw, 2rem);
}

.pc-what .pc-lead {
  max-width: none;
  white-space: nowrap;
}

.pc-hub {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 0;
}

.pc-hub__row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 48px minmax(220px, 280px) 48px minmax(280px, 1fr);
  align-items: center;
  gap: 0;
}

.pc-hub__core {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.55rem 1.15rem 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(165, 180, 252, 0.5);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(99, 102, 241, 0.38), transparent 58%),
    linear-gradient(165deg, #1c1834 0%, #0b0b14 78%);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.08),
    0 22px 55px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(99, 102, 241, 0.16);
  text-align: center;
}

.pc-hub__name {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.pc-hub__name span {
  color: rgba(244, 244, 245, 0.48);
  font-weight: 650;
}

.pc-hub__type {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.72);
}

.pc-hub__caps {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pc-hub__caps li {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 243, 208, 0.22);
  background: rgba(16, 185, 129, 0.08);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #a7f3d0;
}

.pc-hub__node {
  position: relative;
  z-index: 2;
  width: min(100%, 340px);
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 18, 0.78);
  text-align: center;
}

.pc-hub__node--n,
.pc-hub__node--s {
  width: min(100%, 420px);
}

.pc-hub__node strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.pc-hub__node p {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.68);
}

.pc-hub__node--n {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(8, 24, 36, 0.72);
}

.pc-hub__node--w {
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(8, 28, 40, 0.72);
  justify-self: end;
  width: max-content;
  max-width: 100%;
}

.pc-hub__node--e {
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(32, 24, 10, 0.72);
  justify-self: start;
  width: max-content;
  max-width: 100%;
}

.pc-hub__node--w p,
.pc-hub__node--e p {
  white-space: nowrap;
}

.pc-hub__node--s {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(22, 16, 36, 0.72);
}

.pc-hub__link {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.pc-hub__link--v {
  width: 2px;
  height: 44px;
  margin: 0.15rem 0;
}

.pc-hub__link--h {
  width: 100%;
  height: 2px;
}

.pc-hub__link i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background-image: linear-gradient(
    90deg,
    rgba(165, 180, 252, 0.15),
    rgba(165, 180, 252, 0.85),
    rgba(165, 180, 252, 0.15)
  );
  background-size: 220% 100%;
  animation: pc-hub-pulse 2.4s linear infinite;
  position: relative;
}

.pc-hub__link--v i {
  background-image: linear-gradient(
    180deg,
    rgba(165, 180, 252, 0.15),
    rgba(165, 180, 252, 0.85),
    rgba(165, 180, 252, 0.15)
  );
  background-size: 100% 220%;
}

.pc-hub__link i::before,
.pc-hub__link i::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a5b4fc;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.pc-hub__link--h i::before {
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
}

.pc-hub__link--h i::after {
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
}

.pc-hub__link--v i::before {
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.pc-hub__link--v i::after {
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes pc-hub-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.pc-hub__link--v i {
  animation-name: pc-hub-pulse-v;
}

@keyframes pc-hub-pulse-v {
  0% { background-position: 0 100%; }
  100% { background-position: 0 -100%; }
}

/* —— 3 Japan —— */
.pc-japan .pc-title,
.pc-japan .pc-lead {
  max-width: none;
  white-space: nowrap;
}

.pc-japan__frame {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: clamp(320px, 44vw, 480px);
}

.pc-japan__frame > img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 44vw, 480px);
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
}

.pc-japan__meta {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  max-width: 16rem;
}

.pc-japan__meta li {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(10, 10, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.pc-japan__meta span {
  font-size: 0.66rem;
  color: var(--pay-dim);
}

.pc-japan__meta strong {
  font-size: 0.88rem;
  color: #fff;
}

.pc-japan__meta strong.is-ok {
  color: var(--pay-green);
}

.pc-japan__frame figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(180deg, transparent, rgba(8, 8, 12, 0.92) 55%);
}

.pc-japan__frame a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 139, 250, 0.55);
  padding-bottom: 0.12rem;
}

.pc-japan__frame a:hover { color: var(--pay-accent-bright); }
.pc-japan__frame a i { font-size: 0.72rem; }

/* —— 4 Lab / Test —— */
.pc-lab__stage {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 2.3fr) minmax(140px, 0.7fr);
  gap: 0.85rem;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.pc-lab__side {
  padding: 1rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 22, 0.92);
  display: flex;
  flex-direction: column;
}

.pc-lab__side > p {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--pay-dim);
}

.pc-lab__side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.pc-lab__side li {
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: rgba(244, 244, 245, 0.88);
}

.pc-lab__status {
  margin-top: auto;
  padding-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #6ee7b7;
}

.pc-lab__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--pay-green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pc-pulse 1.8s ease-out infinite;
}

@keyframes pc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.pc-lab__side--out > strong {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.9rem;
}

.pc-lab__side--out > strong.is-ok,
.pc-lab__metrics strong.is-ok {
  color: var(--pay-green);
}

.pc-lab__console {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12121a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  min-width: 0;
}

.pc-lab__console > header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-lab__console > header strong {
  font-size: 0.82rem;
  color: #fff;
}

.pc-lab__console > header em {
  font-style: normal;
  font-size: 0.72rem;
  color: #6ee7b7;
}

.pc-lab__console img {
  width: 100%;
  height: auto;
  display: block;
}

.pc-lab__metrics {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f0f16;
}

.pc-lab__metrics li {
  display: grid;
  gap: 0.15rem;
}

.pc-lab__metrics span {
  font-size: 0.66rem;
  color: var(--pay-dim);
}

.pc-lab__metrics strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(244, 244, 245, 0.9);
  font-variant-numeric: tabular-nums;
}

.pc-lab__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pc-lab__note {
  margin: 1rem auto 0;
  text-align: center;
  max-width: 36rem;
  font-size: 0.86rem;
  color: var(--pay-muted);
}

/* —— 5 Tech system —— */
.pc-tech {
  background:
    radial-gradient(ellipse 55% 40% at 50% 18%, rgba(16, 185, 129, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 35% at 50% 55%, rgba(99, 102, 241, 0.08), transparent 70%);
}

.pc-system {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(16, 24, 22, 0.92), rgba(10, 12, 18, 0.95));
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.pc-system__cols {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-system__cols > li {
  padding: 1.35rem 1.25rem 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-system__cols > li:last-child {
  border-right: 0;
}

.pc-system__cols > li > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.pc-system__cols > li > header strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.pc-system__cols > li > header span {
  color: #6ee7b7;
  font-size: 1rem;
  line-height: 1;
}

.pc-system__cols > li > p {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--pay-muted);
}

.pc-system__cols > li > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pc-system__cols > li > ul > li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.86rem;
  color: rgba(244, 244, 245, 0.9);
}

.pc-system__cols > li > ul > li i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
  flex-shrink: 0;
}

/* —— 6 Scale —— */
/* —— 06 Scale —— */
.pc-scale {
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 50% 45% at 50% 45%, rgba(99, 102, 241, 0.1), transparent 70%);
}

.pc-scale__path {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.pc-scale__node {
  padding: 1.1rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 20, 0.85);
  text-align: center;
}

.pc-scale__node strong {
  display: block;
  font-size: 1.02rem;
  color: #fff;
}

.pc-scale__node strong span {
  color: rgba(244, 244, 245, 0.48);
  font-weight: 650;
}

.pc-scale__node span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--pay-muted);
}

.pc-scale__node.is-live {
  border-color: rgba(52, 211, 153, 0.35);
  background:
    linear-gradient(180deg, rgba(6, 78, 59, 0.2), transparent 70%),
    rgba(14, 14, 20, 0.88);
}

.pc-scale__node.is-live span {
  color: #6ee7b7;
  font-weight: 650;
}

.pc-scale__node--core {
  border-color: rgba(167, 139, 250, 0.4);
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.28), transparent 65%),
    rgba(14, 14, 20, 0.92);
}

.pc-scale__arrow {
  color: rgba(165, 180, 252, 0.55);
  font-size: 1.1rem;
}

/* —— 07 CTA —— */
.pc-cta {
  padding: clamp(3.5rem, 7vw, 5.25rem) 0;
  border-top: 1px solid var(--pay-border);
  text-align: center;
  background:
    radial-gradient(ellipse 50% 55% at 50% 35%, rgba(99, 102, 241, 0.12), transparent 70%);
}

.pc-cta .pc-title {
  margin-left: auto;
  margin-right: auto;
}

.pc-cta__lead {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--pay-muted);
}

/* —— Reveal / responsive —— */
.pc-page .pay-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .pc-what .pc-lead,
  .pc-hub__node--w p,
  .pc-hub__node--e p,
  .pc-japan .pc-title,
  .pc-japan .pc-lead {
    white-space: normal;
  }

  .pc-hub__row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    max-width: 360px;
    margin: 0 auto;
  }

  .pc-hub__node--w,
  .pc-hub__node--e,
  .pc-hub__node--n,
  .pc-hub__node--s {
    width: min(100%, 320px);
    max-width: 100%;
    justify-self: center;
  }

  .pc-hub__link--h {
    width: 2px;
    height: 36px;
  }

  .pc-hub__link--h i {
    background-image: linear-gradient(
      180deg,
      rgba(165, 180, 252, 0.15),
      rgba(165, 180, 252, 0.85),
      rgba(165, 180, 252, 0.15)
    );
    background-size: 100% 220%;
    animation-name: pc-hub-pulse-v;
  }

  .pc-hub__link--h i::before {
    top: -2px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .pc-hub__link--h i::after {
    bottom: -2px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .pc-system__cols {
    grid-template-columns: 1fr;
  }

  .pc-system__cols > li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pc-system__cols > li:last-child {
    border-bottom: 0;
  }

  .pc-lab__stage {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .pc-scale__path {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 0.55rem;
  }

  .pc-scale__arrow {
    transform: rotate(90deg);
  }

  .pc-lab__metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .pc-lab__metrics {
    grid-template-columns: 1fr;
  }

  .pc-japan__meta {
    max-width: calc(100% - 2rem);
  }
}
