/* Nexus Alerts storefront -- shared by /shop, checkout, trial */
body.page-shop {
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(90, 214, 232, 0.1), transparent 58%),
    radial-gradient(820px 420px at 92% 8%, rgba(139, 124, 240, 0.08), transparent 52%),
    radial-gradient(700px 380px at 6% 70%, rgba(42, 143, 184, 0.05), transparent 55%),
    var(--bg);
}

body.page-shop main {
  flex: 1;
  width: 100%;
  padding: 0 0 3.5rem;
}

.nx-shop {
  width: min(1080px, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 1.4rem 0 0;
}

.nx-shop-hero {
  position: relative;
  overflow: hidden;
  padding: 1.65rem 1.7rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 214, 232, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 22, 32, 0.92), rgba(8, 11, 16, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.nx-shop-press {
  position: absolute;
  right: -12px;
  top: -18px;
  width: min(280px, 42vw);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

.nx-shop-kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cyan);
}

.nx-shop h1,
.nx-co h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  letter-spacing: -0.03em;
  color: #f4f7fa;
  font-weight: 700;
}

.nx-shop-lead {
  position: relative;
  max-width: 40rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.nx-shop-lead strong {
  color: #e8eef4;
  font-weight: 650;
}

.nx-shop-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.05rem 0 0;
  padding: 0;
}

.nx-shop-chips li {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #c5d0da;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.nx-shop-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(90, 214, 232, 0.2);
  background: rgba(8, 12, 18, 0.72);
}

.nx-shop-tab {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9aabba;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.25;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.nx-shop-tab-sub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #6f8092;
}

.nx-shop-tab:hover {
  color: #d7e2ec;
  background: rgba(90, 214, 232, 0.05);
}

.nx-shop-tab.is-on {
  color: #eef6fb;
  background: rgba(90, 214, 232, 0.12);
  box-shadow: inset 0 -2px 0 #5ad6e8;
}

.nx-shop-tab.is-on .nx-shop-tab-sub {
  color: #9ec9d4;
}

.nx-shop-panel-lead {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.nx-shop-panel-lead strong {
  color: #e8eef4;
  font-weight: 650;
}

.nx-shop-plans {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.nx-shop-plans--desk {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nx-plan-list {
  margin: -0.15rem 0 0;
  font-size: 0.78rem;
  color: #8fa0b0;
  text-decoration: line-through;
}

.nx-plan-price--muted {
  font-size: 1.15rem;
  color: #9aabba;
}

.nx-plan--soon {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  opacity: 0.92;
}

.nx-plan--soon:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.nx-plan--soon .nx-plan-name {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 820px) {
  .nx-shop-tabs {
    grid-template-columns: 1fr;
  }
}

.nx-plan {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 24, 34, 0.94), rgba(8, 12, 18, 0.9));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nx-plan:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 214, 232, 0.28);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.nx-plan.is-featured {
  border-color: rgba(90, 214, 232, 0.38);
  box-shadow:
    0 0 0 1px rgba(90, 214, 232, 0.12),
    0 22px 50px rgba(0, 0, 0, 0.4);
}

.nx-plan.is-pro {
  border-color: rgba(232, 201, 90, 0.22);
}

.nx-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nx-plan-name {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--cyan);
}

.nx-plan.is-pro .nx-plan-name {
  color: #e8c95a;
}

.nx-plan-flag {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 214, 232, 0.32);
  background: rgba(90, 214, 232, 0.1);
  color: #d7f6fb;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
}

.nx-plan-price {
  margin: 0.15rem 0 0;
  color: #f4f7fa;
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nx-plan-price span {
  margin-left: 0.28rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.nx-plan-blurb {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.nx-plan-includes {
  list-style: none;
  margin: 0.35rem 0 0.55rem;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.nx-plan-includes li {
  position: relative;
  padding-left: 1.05rem;
  color: #d5dee6;
  font-size: 0.82rem;
  line-height: 1.4;
}

.nx-plan-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(90, 214, 232, 0.55);
}

.nx-plan .btn {
  width: 100%;
  margin-top: auto;
}

.nx-shop-extras {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 0.85rem;
  margin: 0.85rem 0 0;
}

.nx-side {
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(12px);
}

.nx-side.is-soon {
  opacity: 0.78;
}

.nx-side h2 {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.nx-side p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.nx-side .btn {
  margin-top: 0.85rem;
}

.nx-shop-trust {
  margin: 1.1rem 0 0;
  padding: 1.1rem 1.2rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 14, 0.55);
}

.nx-shop-trust p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.nx-shop-trust p + p {
  margin-top: 0.55rem;
}

.nx-shop-trust strong {
  color: #e4ebf1;
}

.nx-shop-fine {
  margin: 0.9rem 0 0;
  color: var(--dim);
  font-size: 0.78rem;
}

.nx-shop-fine a {
  color: var(--cyan);
}

/* Checkout / trial */
.nx-co {
  width: min(640px, calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 1.5rem 0 0;
}

.nx-co-card {
  padding: 1.55rem 1.45rem 1.3rem;
  border-radius: 20px;
  border: 1px solid rgba(90, 214, 232, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 22, 32, 0.94), rgba(8, 11, 16, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.nx-co-k {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cyan);
}

.nx-co-lead {
  color: var(--muted);
  line-height: 1.5;
  margin: 0.7rem 0 1.05rem;
  font-size: 0.94rem;
}

.nx-co-err {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.32);
  color: #fecaca;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.nx-co-err a {
  color: #fecaca;
}

.nx-co-ready,
.nx-co-path {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: rgba(0, 0, 0, 0.22);
  margin-bottom: 0.8rem;
}

.nx-co-paths {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 680px) {
  .nx-co-paths {
    grid-template-columns: 1fr 1fr;
  }
}

.nx-co-path h2 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #f3f6f8;
}

.nx-co-path p,
.nx-co-ready p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.nx-co-hint {
  font-size: 0.82rem !important;
  color: var(--dim) !important;
}

.nx-co-hint a,
.nx-co-fine a {
  color: var(--cyan);
}

.nx-co-form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0.55rem 0 0.35rem;
}

.nx-co-form input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #05070a;
  color: #f3f6f8;
  margin-bottom: 0.35rem;
  font: inherit;
}

.nx-co-check {
  display: flex !important;
  gap: 0.5rem;
  align-items: flex-start;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.86rem !important;
  color: var(--muted) !important;
  margin: 0.45rem 0 !important;
}

.nx-co-form .btn,
.nx-co-path .btn,
.nx-co-card > .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.nx-co-notes {
  margin: 1.05rem 0 0;
  padding: 0.85rem 1rem 0.85rem 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.nx-co-fine {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--dim);
}

.nx-co-until {
  color: #f3f6f8;
  margin: 0 0 1rem;
}

.nx-co-until strong {
  display: block;
  margin-top: 0.28rem;
  font-weight: 600;
}

/* —— Desk connect / Live claim —— */
.nx-desk-connect-hero {
  margin-bottom: 1.25rem;
}

.nx-desk-connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.nx-desk-connect-card {
  padding: 1.25rem 1.3rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(90, 214, 232, 0.14);
  background:
    linear-gradient(165deg, rgba(14, 20, 30, 0.96), rgba(8, 11, 16, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.nx-desk-connect-card.is-live {
  border-color: rgba(90, 214, 232, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(90, 214, 232, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.3);
}

.nx-desk-connect-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.nx-desk-connect-card h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #f2f6fa;
}

.nx-desk-pill {
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  white-space: nowrap;
}

.nx-desk-pill--on {
  color: #9be7f2;
  border-color: rgba(90, 214, 232, 0.35);
  background: rgba(90, 214, 232, 0.1);
}

.nx-desk-pill--off {
  color: #9aa8b8;
  background: rgba(255, 255, 255, 0.03);
}

.nx-desk-claim-code {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(90, 214, 232, 0.22);
  background: rgba(3, 8, 14, 0.72);
  word-break: break-all;
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #e8f4f8;
  letter-spacing: 0.02em;
  user-select: all;
}

.nx-desk-claim-empty {
  margin: 0;
  padding: 1.15rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: #9aa8b8;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nx-desk-connect-actions {
  margin-top: 0.9rem;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nx-desk-meta-list {
  margin: 0.35rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.nx-desk-meta-list > div {
  display: grid;
  gap: 0.18rem;
}

.nx-desk-meta-list dt {
  margin: 0;
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.nx-desk-meta-list dd {
  margin: 0;
  color: #e8eef4;
  font-size: 0.95rem;
  line-height: 1.4;
}

.nx-desk-meta-sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .nx-desk-connect-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nx-shop-plans,
  .nx-shop-extras {
    grid-template-columns: 1fr;
  }

  .nx-shop-press {
    opacity: 0.08;
  }
}

@media (max-width: 720px) {
  .nx-shop,
  .nx-co {
    width: min(100% - 1.6rem, 1080px);
  }

  .nx-shop-hero,
  .nx-co-card {
    padding: 1.2rem 1.1rem 1.15rem;
  }
}
