/* Nasapayment Technology Products */
:root {
  --spc-bg: #050b14;
  --spc-bg-2: #07111f;
  --spc-panel: #0b1726;
  --spc-panel-2: #0e1d30;
  --spc-text: #f7fbff;
  --spc-muted: #9fb0c5;
  --spc-line: rgba(255, 255, 255, .10);
  --spc-cyan: #29d9ff;
  --spc-cyan-2: #0e91b8;
  --spc-blue: #4986ff;
  --spc-violet: #8a6cff;
  --spc-gold: #ffcd70;
  --spc-green: #47e0a1;
  --spc-red: #ff6b7f;
  --spc-shadow: 0 30px 90px rgba(0, 0, 0, .36);
  --spc-radius: 22px;
  --spc-radius-sm: 14px;
  --spc-max: 1220px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(41, 217, 255, .11), transparent 30%),
    radial-gradient(circle at 92% 16%, rgba(138, 108, 255, .12), transparent 28%),
    linear-gradient(180deg, #050b14 0%, #07111f 40%, #050b14 100%);
  color: var(--spc-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 90%)
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--spc-line);
  background: rgba(255, 255, 255, .045);
  color: white;
  padding: 12px 18px;
  border-radius: 13px;
  cursor: pointer;
  transition: .25s var(--ease);
  min-height: 46px
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 217, 255, .4);
  background: rgba(41, 217, 255, .08);
  box-shadow: 0 8px 20px rgba(41, 217, 255, .18)
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--spc-cyan), var(--spc-blue));
  color: #03101a;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(41, 217, 255, .18)
}

.btn.gold {
  border-color: rgba(255, 205, 112, .3);
  background: rgba(255, 205, 112, .09);
  color: #ffe1a8
}

.btn.sm {
  padding: 9px 13px;
  min-height: 38px;
  font-size: 13px
}

.hero {
  padding: 88px 0 50px;
  position: relative
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 58px;
  align-items: center
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #bceeff;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: 12px
}

.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spc-cyan);
  box-shadow: 0 0 18px var(--spc-cyan)
}

h1 {
  font-size: clamp(48px, 6.3vw, 86px);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 20px 0 24px;
  max-width: 920px
}

.gradient {
  background: linear-gradient(90deg, #fff 0%, #69e5ff 42%, #9c84ff 83%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.lead {
  color: #b6c4d4;
  font-size: 18px;
  max-width: 760px
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 34px
}

.metric {
  border: 1px solid var(--spc-line);
  background: rgba(255, 255, 255, .035);
  border-radius: 16px;
  padding: 15px
}

.metric strong {
  display: block;
  font-size: 22px
}

.metric span {
  color: var(--spc-muted);
  font-size: 12px
}

.hero-console {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(15, 30, 49, .92), rgba(6, 14, 25, .96));
  box-shadow: var(--spc-shadow);
  isolation: isolate
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(41, 217, 255, .45), transparent 32%, transparent 64%, rgba(138, 108, 255, .35));
  filter: blur(12px);
  opacity: .7
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a9b9ca;
  font-size: 12px;
  border-bottom: 1px solid var(--spc-line);
  padding: 2px 2px 14px
}

.live {
  display: flex;
  align-items: center;
  gap: 7px
}

.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spc-green);
  box-shadow: 0 0 12px var(--spc-green)
}

.arch-map {
  position: relative;
  min-height: 510px;
  margin-top: 14px
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 178px;
  height: 178px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 35% 25%, rgba(73, 134, 255, .48), rgba(9, 28, 47, .94) 63%);
  border: 1px solid rgba(109, 217, 255, .32);
  box-shadow: 0 0 80px rgba(41, 217, 255, .13)
}

.core img {
  width: 58px;
  height: 58px;
  object-fit: contain
}

.core b {
  display: block;
  font-size: 16px
}

.core small {
  color: #a8bbce
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(140, 210, 255, .16);
  border-radius: 50%;
  width: 390px;
  height: 390px
}

.node {
  position: absolute;
  width: 156px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--spc-line);
  border-radius: 15px;
  background: rgba(8, 21, 36, .91);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
  transition: .25s
}

.node:hover {
  transform: translateY(-3px);
  border-color: rgba(41, 217, 255, .35)
}

.node b {
  font-size: 13px;
  display: block
}

.node span {
  font-size: 11px;
  color: var(--spc-muted);
  display: block;
  margin-top: 5px
}

.n1 {
  left: 0;
  top: 12%
}

.n2 {
  right: 0;
  top: 12%
}

.n3 {
  left: -2%;
  bottom: 14%
}

.n4 {
  right: -2%;
  bottom: 14%
}

.n5 {
  left: 50%;
  top: 0;
  transform: translateX(-50%)
}

.n5:hover {
  transform: translateX(-50%) translateY(-3px)
}

.n6 {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%)
}

.n6:hover {
  transform: translateX(-50%) translateY(-3px)
}

.section {
  padding: 94px 0
}

.section.alt {
  background: rgba(255, 255, 255, .018);
  border-block: 1px solid rgba(255, 255, 255, .055)
}

.section-head {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px
}

.section h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.03;
  letter-spacing: -.052em;
  margin: 13px 0
}

.section-head p {
  color: var(--spc-muted);
  margin: 0
}

.kicker {
  color: var(--spc-cyan);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.card {
  border: 1px solid var(--spc-line);
  background: linear-gradient(180deg, rgba(14, 29, 48, .8), rgba(7, 16, 28, .92));
  border-radius: var(--spc-radius);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .16)
}

.pad {
  padding: 26px
}

.muted {
  color: var(--spc-muted)
}

.product-switcher {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px
}

.product-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
  position: sticky;
  top: 100px
}

.product-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--spc-line);
  background: rgba(255, 255, 255, .025);
  color: #dce7f2;
  border-radius: 15px;
  padding: 14px;
  cursor: pointer;
  transition: .25s
}

.product-tab:hover,
.product-tab.active {
  background: linear-gradient(135deg, rgba(41, 217, 255, .10), rgba(73, 134, 255, .08));
  border-color: rgba(41, 217, 255, .28)
}

.product-tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px
}

.product-tab .tag {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(41, 217, 255, .10);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #9deeff
}

.product-tab b {
  display: block;
  font-size: 14px
}

.product-tab span {
  font-size: 11px;
  color: var(--spc-muted)
}

.product-panel {
  display: none;
  padding: 34px;
  min-height: 655px
}

.product-panel.active {
  display: block;
  animation: fade .35s var(--ease)
}

.product-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px
}

.product-title h3 {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -.04em;
  margin: 0
}

.product-badge {
  border: 1px solid rgba(71, 224, 161, .25);
  background: rgba(71, 224, 161, .08);
  color: #96f0c7;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  white-space: nowrap
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0
}

.feature {
  border: 1px solid var(--spc-line);
  border-radius: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, .025)
}

.feature b {
  display: block;
  font-size: 13px
}

.feature span {
  display: block;
  color: var(--spc-muted);
  font-size: 12px;
  margin-top: 5px
}

.product-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: auto;
  padding: 10px 0 4px
}

.flow-item {
  min-width: 126px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--spc-line);
  background: #091728;
  font-size: 12px;
  text-align: center
}

.arrow {
  color: var(--spc-cyan);
  opacity: .75
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px
}

.list {
  display: grid;
  gap: 10px
}

.list span {
  position: relative;
  padding-left: 19px;
  color: #c7d4e1;
  font-size: 14px
}

.list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spc-cyan);
  box-shadow: 0 0 10px rgba(41, 217, 255, .6)
}

.architecture {
  display: grid;
  grid-template-columns: 1fr 84px 1fr 84px 1fr;
  align-items: stretch;
  gap: 10px
}

.arch-col {
  padding: 20px
}

.arch-col h3 {
  margin-top: 0
}

.arch-stack {
  display: grid;
  gap: 10px
}

.arch-chip {
  padding: 12px;
  border: 1px solid var(--spc-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
  font-size: 13px
}

.arch-arrow {
  display: grid;
  place-items: center;
  color: var(--spc-cyan);
  font-size: 30px
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.control {
  padding: 20px
}

.control .num {
  font-size: 12px;
  color: var(--spc-cyan);
  font-weight: 700
}

.control h3 {
  font-size: 17px;
  margin: 8px 0
}

.control p {
  font-size: 13px;
  color: var(--spc-muted);
  margin: 0
}

.commerce {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px
}

.commerce .card {
  padding: 22px
}

.commerce strong {
  font-size: 26px;
  display: block
}

.commerce p {
  font-size: 13px;
  color: var(--spc-muted)
}

.demo-shell {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px
}

.dash {
  padding: 22px
}

.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--spc-line);
  padding-bottom: 14px
}

.dash-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0
}

.mini-stat {
  padding: 13px;
  border: 1px solid var(--spc-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025)
}

.mini-stat b {
  font-size: 20px;
  display: block
}

.mini-stat small {
  color: var(--spc-muted)
}

.chart {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 8px;
  border-left: 1px solid var(--spc-line);
  border-bottom: 1px solid var(--spc-line);
  padding: 15px 10px 0
}

.chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--spc-cyan), rgba(73, 134, 255, .28));
  border-radius: 7px 7px 0 0;
  min-width: 12px;
  position: relative
}

.chart i:hover::after {
  content: attr(data-v);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  font-style: normal;
  background: #0b1726;
  border: 1px solid var(--spc-line);
  padding: 4px 6px;
  border-radius: 7px;
  font-size: 10px
}

.activity {
  display: grid;
  gap: 10px;
  margin-top: 14px
}

.activity div {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.activity i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spc-green)
}

.activity span:last-child {
  color: var(--spc-muted)
}

.cta {
  padding: 42px;
  border: 1px solid rgba(41, 217, 255, .2);
  background: linear-gradient(135deg, rgba(41, 217, 255, .08), rgba(138, 108, 255, .07));
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center
}

.cta h2 {
  margin: 0 0 10px
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  padding: 20px
}

.modal.open {
  display: grid
}

.modal-card {
  width: min(850px, 100%);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid var(--spc-line);
  border-radius: 24px;
  background: #081424;
  box-shadow: var(--spc-shadow)
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--spc-line)
}

.modal-body {
  padding: 25px
}

.close {
  border: 1px solid var(--spc-line);
  background: transparent;
  color: white;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  cursor: pointer
}

.role-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.role {
  padding: 16px;
  border: 1px solid var(--spc-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .025)
}

.role b {
  display: block
}

.role span {
  color: var(--spc-muted);
  font-size: 12px
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .65s var(--ease)
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:1050px) {

  .hero-grid,
  .section-head,
  .demo-shell {
    grid-template-columns: 1fr
  }

  .hero-console {
    max-width: 760px
  }

  .product-switcher {
    grid-template-columns: 1fr
  }

  .product-tabs {
    position: static;
    grid-template-columns: repeat(3, 1fr)
  }

  .product-tab {
    display: block
  }

  .product-tab .tag {
    margin-bottom: 8px
  }

  .architecture {
    grid-template-columns: 1fr
  }

  .arch-arrow {
    transform: rotate(90deg)
  }

  .commerce,
  .control-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:760px) {
  .hero {
    padding-top: 60px
  }

  .hero-grid {
    gap: 35px
  }

  h1 {
    font-size: 46px
  }

  .hero-meta {
    grid-template-columns: repeat(2, 1fr)
  }

  .arch-map {
    min-height: 610px
  }

  .ring {
    width: 300px;
    height: 300px
  }

  .core {
    width: 150px;
    height: 150px
  }

  .node {
    width: 142px
  }

  .n1 {
    left: -2%;
    top: 10%
  }

  .n2 {
    right: -2%;
    top: 10%
  }

  .n3 {
    left: -2%;
    bottom: 10%
  }

  .n4 {
    right: -2%;
    bottom: 10%
  }

  .n5 {
    top: 2%
  }

  .n6 {
    bottom: 2%
  }

  .section {
    padding: 72px 0
  }

  .grid-2,
  .grid-3,
  .two-cols {
    grid-template-columns: 1fr
  }

  .product-tabs {
    grid-template-columns: 1fr 1fr
  }

  .product-panel {
    padding: 22px
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr
  }

  .product-title {
    display: block
  }

  .product-badge {
    display: inline-block;
    margin-top: 10px
  }

  .control-grid,
  .commerce {
    grid-template-columns: 1fr
  }

  .dash-stat {
    grid-template-columns: 1fr 1fr
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 28px
  }

  .role-demo {
    grid-template-columns: 1fr
  }
}

@media(max-width:470px) {

  .hero-meta,
  .product-tabs,
  .feature-grid,
  .dash-stat {
    grid-template-columns: 1fr
  }

  .hero-actions .btn {
    width: 100%
  }

  .arch-map {
    min-height: 760px
  }

  .ring {
    display: none
  }

  .core {
    top: 50%
  }

  .node {
    width: 46%;
    min-height: 105px
  }

  .n1 {
    left: 0;
    top: 4%
  }

  .n2 {
    right: 0;
    top: 4%
  }

  .n3 {
    left: 0;
    bottom: 4%
  }

  .n4 {
    right: 0;
    bottom: 4%
  }

  .n5 {
    top: 22%;
    left: 0;
    transform: none
  }

  .n5:hover {
    transform: translateY(-3px)
  }

  .n6 {
    bottom: 22%;
    left: auto;
    right: 0;
    transform: none
  }

  .n6:hover {
    transform: translateY(-3px)
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}