/* === Stripe product sales pages v2 === */
:root {
  color-scheme: dark;
}

.nd-stripe-product-page {
  background:
    linear-gradient(rgba(123, 153, 194, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 153, 194, 0.035) 1px, transparent 1px), #0a121a;
  background-size: 64px 64px;
}

.nd-product-main {
  overflow: hidden;
}

.nd-product-hero,
.nd-app-overview-hero {
  position: relative;
  padding: clamp(5.3rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6.5rem);
  border-bottom: 1px solid rgba(139, 170, 211, 0.12);
  background:
    linear-gradient(
      90deg,
      rgba(12, 21, 31, 0.97),
      rgba(12, 21, 31, 0.86) 56%,
      rgba(20, 25, 45, 0.9)
    ),
    #0c151f;
}

.nd-product-hero::before,
.nd-app-overview-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 0 58%,
      rgba(119, 85, 255, 0.09) 58% 58.15%,
      transparent 58.15%
    ),
    linear-gradient(
      180deg,
      transparent 0 24%,
      rgba(29, 193, 181, 0.08) 24% 24.15%,
      transparent 24.15%
    );
  opacity: 0.9;
}

.nd-product-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.nd-product-hero-copy {
  max-width: 690px;
}

.nd-product-name {
  margin: 0.9rem 0 0;
  color: #aab9ce;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nd-product-hero h1,
.nd-app-overview-hero h1 {
  max-width: 780px;
  margin: 0.35rem 0 1.15rem;
  color: #f7f9fc;
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.nd-guard-page .nd-product-hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.7rem);
}

.nd-product-hero .lede,
.nd-app-overview-hero .lede {
  max-width: 640px;
  color: #c7d2df;
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.nd-product-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
  color: #aebed2;
}

.nd-product-price-line strong {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.045em;
}

.nd-product-price-line strong span {
  color: #b7c6d8;
  font-size: 0.45em;
  letter-spacing: 0;
}

.nd-product-price-line b {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(29, 193, 181, 0.32);
  border-radius: 999px;
  color: #a7f3dd;
  background: rgba(29, 193, 181, 0.08);
  font-size: 0.78rem;
}

.nd-product-hero-actions {
  margin-top: 1.35rem;
}

.nd-product-text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.nd-product-text-links a,
.nd-product-main .text-link {
  color: #aebfff;
  font-weight: 800;
  text-decoration: none;
}

.nd-product-text-links a:hover,
.nd-product-main .text-link:hover {
  color: #d8e0ff;
}

.nd-product-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.nd-product-assurances span {
  position: relative;
  padding: 0.5rem 0.75rem 0.5rem 1.55rem;
  border: 1px solid rgba(137, 166, 204, 0.16);
  border-radius: 999px;
  color: #c6d2e0;
  background: rgba(12, 23, 35, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
}

.nd-product-assurances span::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1dc1b5;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(29, 193, 181, 0.7);
}

.nd-product-proof {
  position: relative;
  margin: 0;
}

.nd-product-proof::before,
.nd-product-proof::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.nd-product-proof::before {
  left: -8%;
  right: 6%;
  top: -8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(29, 193, 181, 0.8),
    rgba(119, 85, 255, 0.25),
    transparent
  );
}

.nd-product-proof::after {
  right: 0;
  top: -8%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(180deg, rgba(29, 193, 181, 0.55), transparent);
}

.nd-product-proof-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0.55rem;
  border: 1px solid rgba(139, 114, 255, 0.36);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(62, 39, 112, 0.72), rgba(13, 22, 34, 0.96));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1100px) rotateY(-4deg) rotateX(1deg);
  animation: nd-product-proof-in 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nd-product-proof-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}

.nd-product-proof-guard .nd-product-proof-frame img {
  object-fit: contain;
  background: #11192a;
}

.nd-product-proof-label {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(120, 255, 211, 0.3);
  border-radius: 999px;
  color: #c7ffe9;
  background: rgba(7, 24, 28, 0.88);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.nd-product-proof-label i,
.nd-overview-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58e3a7;
  box-shadow:
    0 0 0 5px rgba(88, 227, 167, 0.09),
    0 0 16px rgba(88, 227, 167, 0.66);
  animation: nd-status-blink 1.8s steps(2, end) infinite;
}

.nd-product-proof-scan {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  bottom: 0.55rem;
  left: -3%;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(139, 114, 255, 0.95) 20%,
    rgba(29, 193, 181, 0.95) 80%,
    transparent
  );
  box-shadow: 0 0 18px rgba(119, 85, 255, 0.6);
  animation: nd-product-scan 6.8s linear 1.2s infinite;
}

.nd-product-proof figcaption {
  max-width: 590px;
  margin: 0.9rem 0 0 1.25rem;
  color: #8fa2b8;
  font-size: 0.82rem;
  line-height: 1.55;
}

.nd-product-main .section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.nd-section-heading {
  max-width: 850px;
  margin-bottom: 2rem;
}

.nd-section-heading h2,
.nd-workflow-panel h2,
.nd-scope-panel h2,
.nd-cross-sell-card h2 {
  margin: 0.55rem 0 0;
  color: #f4f7fb;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.nd-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nd-outcome-card,
.nd-workflow-panel,
.nd-scope-panel,
.nd-app-choice-card,
.nd-cross-sell-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(135, 164, 204, 0.17);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(18, 31, 45, 0.94), rgba(10, 19, 29, 0.96));
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.nd-outcome-card {
  min-height: 250px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.nd-outcome-card::after,
.nd-app-choice-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #1dc1b5, #7755ff, transparent 78%);
}

.nd-outcome-card > span {
  color: #6e84a1;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nd-outcome-card h3,
.nd-app-choice-card h3 {
  margin: 1.6rem 0 0.7rem;
  color: #f7f9fc;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: -0.03em;
}

.nd-outcome-card p,
.nd-workflow-panel p,
.nd-scope-panel p,
.nd-cross-sell-card p,
.nd-app-choice-card p {
  color: #aebed0;
  line-height: 1.68;
}

.nd-product-demo {
  background: rgba(8, 16, 25, 0.56);
  border-block: 1px solid rgba(137, 166, 204, 0.1);
}

.nd-product-feature {
  padding-top: clamp(2.5rem, 5vw, 4.5rem) !important;
  background: rgba(8, 16, 25, 0.42);
  border-block: 1px solid rgba(137, 166, 204, 0.08);
}

.nd-feature-intro {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.nd-feature-intro p {
  max-width: 680px;
  margin: 0;
  color: #aebed0;
  line-height: 1.65;
}

.payment-guard-feature-shell figcaption {
  padding: 0.9rem 1.1rem 1rem;
  border-top: 1px solid rgba(135, 164, 204, 0.16);
  color: #9caec3;
  font-size: 0.88rem;
  line-height: 1.55;
  background: rgba(7, 15, 24, 0.82);
}

.nd-product-final-cta {
  padding-top: clamp(2.5rem, 5vw, 4.5rem) !important;
}

.nd-final-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(119, 85, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(29, 193, 181, 0.09), transparent 32%),
    linear-gradient(145deg, rgba(18, 31, 45, 0.94), rgba(10, 19, 29, 0.96));
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.nd-final-action h2 {
  max-width: 680px;
  margin: 0.55rem 0 0;
  color: #f4f7fb;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.nd-final-action p {
  max-width: 680px;
  margin: 0.8rem 0 0;
  color: #aebed0;
  line-height: 1.6;
}

.nd-final-action-buttons {
  align-items: stretch;
  margin-top: 0;
}

.nd-product-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.nd-workflow-panel,
.nd-scope-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.nd-step-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.nd-step-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(135, 164, 204, 0.13);
  border-radius: 14px;
  background: rgba(7, 15, 24, 0.55);
}

.nd-step-list b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(119, 85, 255, 0.38);
  border-radius: 11px;
  color: #d7d0ff;
  background: rgba(119, 85, 255, 0.1);
}

.nd-step-list strong,
.nd-step-list span {
  display: block;
}

.nd-step-list strong {
  color: #edf3fa;
}

.nd-step-list span {
  margin-top: 0.28rem;
  color: #9caec3;
  line-height: 1.5;
}

.nd-fit-block {
  margin-top: 1.5rem;
  padding: 1.05rem 1.1rem;
  border-left: 2px solid #1dc1b5;
  background: rgba(29, 193, 181, 0.055);
}

.nd-fit-block strong {
  color: #c9fff2;
}

.nd-fit-limit {
  border-left-color: #7755ff;
  background: rgba(119, 85, 255, 0.055);
}

.nd-fit-limit strong {
  color: #dcd5ff;
}

.nd-check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.nd-check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: #b8c7d8;
  line-height: 1.55;
}

.nd-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border: 2px solid #1dc1b5;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.nd-limit-list li::before {
  border-color: #9b84ff;
}

.nd-technical-details {
  margin-top: 1.4rem;
  border: 1px solid rgba(135, 164, 204, 0.16);
  border-radius: 14px;
  background: rgba(7, 15, 24, 0.52);
}

.nd-technical-details summary {
  padding: 1rem 1.1rem;
  color: #dce6f2;
  font-weight: 800;
  cursor: pointer;
}

.nd-technical-details > div {
  padding: 0 1.1rem 1.1rem;
}

.nd-technical-details p + p {
  margin-top: 0.8rem;
}

.nd-purchase-bar {
  position: relative;
  overflow: hidden;
}

.nd-purchase-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-18deg);
  animation: nd-purchase-sweep 7s ease-in-out infinite;
}

.nd-cross-sell {
  padding-top: 0 !important;
}

.nd-cross-sell-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-color: rgba(119, 85, 255, 0.25);
}

.nd-cross-sell-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.nd-cross-sell-card .hero-actions {
  align-items: center;
  margin-top: 0;
}

.nd-app-overview-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 3rem;
  align-items: center;
}

.nd-app-overview-hero h1 {
  max-width: 860px;
  font-size: clamp(3rem, 6vw, 6.3rem);
}

.nd-overview-status {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.5rem 0.8rem;
  align-items: center;
  padding: 1.4rem;
  border: 1px solid rgba(29, 193, 181, 0.28);
  border-radius: 20px;
  background: rgba(9, 23, 29, 0.78);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.nd-overview-status i {
  grid-row: 1 / span 2;
}

.nd-overview-status strong {
  color: #f3faf8;
  font-size: 1.25rem;
}

.nd-overview-status span {
  color: #9fb2c5;
  font-size: 0.84rem;
}

.nd-app-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.nd-app-choice-card {
  min-height: 570px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.nd-app-choice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nd-app-choice-top > strong {
  color: #fff;
  font-size: 1.05rem;
}

.nd-app-choice-card h3 {
  margin-top: 2.2rem;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.nd-app-choice-outcome {
  min-height: 4.8rem;
  font-size: 1.05rem;
}

.nd-app-choice-fit {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(135, 164, 204, 0.14);
}

.nd-app-choice-card .hero-actions {
  margin-top: 1.5rem;
}

.nd-app-card-line {
  position: absolute;
  right: -25%;
  bottom: 2rem;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7755ff);
  animation: nd-card-signal 5s ease-in-out infinite;
}

@keyframes nd-product-proof-in {
  from {
    opacity: 0;
    transform: perspective(1100px) translate3d(55px, 14px, -80px) rotateY(-10deg);
  }
  to {
    opacity: 1;
    transform: perspective(1100px) rotateY(-4deg) rotateX(1deg);
  }
}

@keyframes nd-product-scan {
  0%,
  12% {
    left: -3%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  75% {
    opacity: 0.85;
  }
  84%,
  100% {
    left: 103%;
    opacity: 0;
  }
}

@keyframes nd-status-blink {
  0%,
  48% {
    opacity: 0.45;
  }
  49%,
  100% {
    opacity: 1;
  }
}

@keyframes nd-purchase-sweep {
  0%,
  64% {
    left: -30%;
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  84%,
  100% {
    left: 115%;
    opacity: 0;
  }
}

@keyframes nd-card-signal {
  0%,
  20% {
    transform: translateX(-30%);
    opacity: 0;
  }
  40%,
  75% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(60%);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .nd-product-hero-grid,
  .nd-app-overview-hero-grid,
  .nd-product-two-column {
    grid-template-columns: 1fr;
  }

  .nd-workflow-panel h2,
  .nd-scope-panel h2 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .nd-final-action {
    grid-template-columns: 1fr;
  }

  .nd-final-action-buttons {
    align-items: flex-start;
  }

  .nd-product-proof {
    max-width: 780px;
  }

  .nd-outcome-grid {
    grid-template-columns: 1fr;
  }

  .nd-outcome-card {
    min-height: auto;
  }

  .nd-app-overview-hero-grid {
    gap: 2rem;
  }

  .nd-overview-status {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .nd-product-hero,
  .nd-app-overview-hero {
    padding-top: 4rem;
  }

  .nd-feature-intro {
    display: block;
  }

  .nd-feature-intro p {
    margin-top: 0.65rem;
  }

  .nd-workflow-panel,
  .nd-scope-panel,
  .nd-final-action {
    padding: 1.25rem;
  }

  .nd-product-hero h1,
  .nd-guard-page .nd-product-hero h1,
  .nd-app-overview-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .nd-product-proof-frame {
    transform: none;
  }

  .nd-product-proof-label {
    top: 0.9rem;
    right: 0.9rem;
    max-width: calc(100% - 1.8rem);
  }

  .nd-cross-sell-card,
  .nd-app-choice-grid {
    grid-template-columns: 1fr;
  }

  .nd-cross-sell-card .hero-actions {
    align-items: flex-start;
  }

  .nd-app-choice-card {
    min-height: auto;
  }

  .nd-app-choice-outcome {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nd-product-proof-frame,
  .nd-product-proof-scan,
  .nd-product-proof-label i,
  .nd-overview-status i,
  .nd-purchase-bar::after,
  .nd-app-card-line {
    animation: none !important;
  }
}

/* === End Stripe product sales pages v2 === */

/* App-specific documentation spotlight */
.nd-product-docs-spotlight {
  position: relative;
  z-index: 2;
  padding: clamp(1.15rem, 2.4vw, 1.8rem) 0 0;
  background: #0a121a;
}

.nd-product-docs-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.45rem, 3vw, 2.15rem) clamp(1.4rem, 3.5vw, 2.6rem);
  border: 1px solid rgba(137, 166, 204, 0.2);
  border-radius: 24px;
  background: linear-gradient(110deg, rgba(25, 41, 57, 0.96), rgba(15, 25, 37, 0.98) 58%), #101b27;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.nd-product-docs-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #1dc1b5, #7755ff);
}

.nd-product-docs-card::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -95%;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(119, 85, 255, 0.16), transparent 68%);
}

.nd-guard-page .nd-product-docs-card::after {
  background: radial-gradient(circle, rgba(29, 193, 181, 0.14), transparent 68%);
}

.nd-product-docs-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.nd-product-docs-copy h2 {
  margin: 0.35rem 0 0.45rem;
  color: #f7f9fc;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.nd-product-docs-copy p {
  max-width: 720px;
  margin: 0;
  color: #b9c7d8;
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
  line-height: 1.6;
}

.nd-product-docs-button {
  position: relative;
  z-index: 1;
  min-width: 210px;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .nd-product-docs-card {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    border-radius: 20px;
  }

  .nd-product-docs-button {
    width: 100%;
    min-width: 0;
  }
}
