:root {
  --nx-substrate: #0b0b14;
  --nx-panel: #020015;
  --nx-red-a: #ff000d;
  --nx-red-b: #b7000a;
  --nx-mint-a: #a1ffce;
  --nx-mint-b: #faffd1;
  --nx-line: #5fd9a5;
  --nx-ink: #f4fff8;
  --nx-ink-dark: #0a1a12;
  --nx-tile: #0a0a24;
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--nx-substrate);
  color: var(--nx-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--nx-mint-a); }

.nx-wrap {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: var(--nx-panel);
  min-height: 100vh;
  padding: 20px 16px 0;
  overflow: hidden;
}

h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin: 8px 0;
  text-transform: uppercase;
}

h2 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin: 28px 0 14px;
  color: #ffffff;
}

h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 2px;
}

/* Hero */
.nx-hero { text-align: center; }

.nx-slogan {
  margin: 0;
  color: var(--nx-mint-a);
  font-weight: 600;
}

.nx-param {
  display: inline-block;
  margin: 10px 0 14px;
  padding: 6px 16px;
  border: 1px solid var(--nx-line);
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(95, 217, 165, 0.35);
  font-weight: 600;
}

.nx-hero-media {
  position: relative;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  box-shadow: 0 0 18px rgba(95, 217, 165, 0.25);
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 1 / 1;
}

.nx-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nx-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff1a24, var(--nx-red-b));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-shadow: 0 0 14px rgba(255, 0, 13, 0.6);
}

/* CTA */
.nx-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 20px 0;
  padding: 0 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--nx-red-a), var(--nx-red-b));
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.03em;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(255, 0, 13, 0.35);
}

.nx-cta-alt { margin-top: 24px; }

/* Use cases */
.nx-usegroup {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}

.nx-use {
  position: relative;
  margin: 0;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--nx-tile);
  box-shadow: 0 0 12px rgba(95, 217, 165, 0.2);
}

.nx-use img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.nx-pill {
  position: absolute;
  bottom: 14px;
  max-width: 70%;
  margin: 0;
  padding: 10px 18px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--nx-mint-a), var(--nx-mint-b));
  color: var(--nx-ink-dark);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.nx-use-r .nx-pill { right: 12px; }
.nx-use-l .nx-pill { left: 12px; }

/* Story */
.nx-lead {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
}

.nx-story-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--nx-line);
  margin: 0 0 16px;
}

.nx-body {
  margin: 0;
  color: #d6f7e6;
  text-align: center;
}

/* Specs */
.nx-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nx-spec-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: var(--nx-tile);
  box-shadow: 0 0 10px rgba(95, 217, 165, 0.2);
}

.nx-spec-cell span {
  font-size: 14px;
  color: var(--nx-mint-a);
}

.nx-spec-cell strong { font-size: 16px; }

.nx-note {
  margin: 14px 0 0;
  font-size: 15px;
  text-align: center;
  color: #b9dcc9;
}

/* Accent pills */
.nx-accent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.nx-pill-r,
.nx-pill-l {
  margin: 0;
  max-width: 86%;
  padding: 14px 20px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--nx-mint-a), var(--nx-mint-b));
  color: var(--nx-ink-dark);
  font-weight: 700;
  font-size: 16px;
}

.nx-pill-r {
  align-self: flex-end;
  text-align: right;
}

.nx-pill-l {
  align-self: flex-start;
}

/* Gallery */
.nx-strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.nx-strip img {
  flex: 0 0 85%;
  scroll-snap-align: center;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--nx-line);
}

/* Service */
.nx-service {
  display: grid;
  gap: 12px;
}

.nx-service-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  background: var(--nx-tile);
}

.nx-service-item p {
  margin: 0;
  font-size: 15px;
  color: #d6f7e6;
}

.nx-orb {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nx-mint-a), var(--nx-mint-b));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Price */
.nx-price {
  margin: 28px 0 0;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  background: radial-gradient(circle at top, #1a0a2e, var(--nx-tile));
  box-shadow: 0 0 18px rgba(95, 217, 165, 0.3);
}

.nx-price-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--nx-red-a), var(--nx-red-b));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

.nx-price-value {
  margin: 12px 0 4px;
  font-size: clamp(28px, 9vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--nx-mint-b);
  white-space: nowrap;
}

.nx-price-note {
  margin: 0;
  font-size: 15px;
  color: #c9eedb;
}

/* Form */
.nx-form-sub {
  margin: 0 0 16px;
  text-align: center;
  color: #c9eedb;
}

.nx-form {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}

.nx-form input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 100px;
  border: 1px solid var(--nx-line);
  background: var(--nx-tile);
  color: var(--nx-ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  box-shadow: 0 0 10px rgba(95, 217, 165, 0.15);
}

.nx-form input::placeholder { color: #8fb5a2; }

.nx-form input:focus {
  border-color: var(--nx-mint-a);
  box-shadow: 0 0 14px rgba(161, 255, 206, 0.4);
}

.nx-submit {
  min-height: 58px;
  border: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--nx-red-a), var(--nx-red-b));
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 0, 13, 0.35);
}

.nx-consent {
  margin: 4px 0 0;
  font-size: 13px;
  text-align: center;
  color: #b9dcc9;
}

/* Footer */
.nx-footer {
  margin: 32px -16px 0;
  padding: 24px 16px 32px;
  background: #000010;
  border-top: 1px solid var(--nx-line);
  text-align: center;
  font-size: 14px;
  color: #b9dcc9;
}

.nx-footer p { margin: 6px 0; }

.nx-footer a { color: var(--nx-mint-a); }

.nx-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--nx-ink);
}

/* Legal pages */
.nx-legal h1 { font-size: 26px; }

.nx-legal h2 {
  text-align: left;
  font-size: 20px;
  margin: 22px 0 8px;
}

.nx-legal p {
  font-size: 15px;
  color: #d6f7e6;
  margin: 0 0 10px;
}

.nx-legal .nx-cta { margin-top: 24px; }

.nx-updated {
  text-align: center;
  color: #b9dcc9;
  font-size: 14px;
}

/* Thank you page */
.nx-thanks {
  text-align: center;
  padding-top: 60px;
}

.nx-thanks p {
  font-size: 16px;
  color: #d6f7e6;
  margin: 0 0 12px;
}

.nx-thanks h1 { font-size: 28px; }