/* ============================================================
   Nexora Elementor Widgets — premium look, lightweight motion
   - All reveals fire ONCE via IntersectionObserver (.is-in)
   - Pure CSS transitions; GPU-friendly transform + opacity only
   - Respects prefers-reduced-motion
   ============================================================ */

/* Reveal primitive — used by all widget items */
.nx-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--nxw-delay, 0ms);
  will-change: transform, opacity;
}
.nx-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .nx-reveal,
  .nx-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   1) IMAGE MARQUEE
   ============================================================ */
.nxw-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 28px;
}
.nxw-marquee.is-edge-fade {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.nxw-marquee__track {
  display: flex;
  width: max-content;
  animation: nxw-marquee var(--nxw-speed, 35s) linear infinite;
  animation-direction: var(--nxw-direction, normal);
}
.nxw-marquee.is-hover-pause:hover .nxw-marquee__track {
  animation-play-state: paused;
}
.nxw-marquee__list {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0 40px 0 0;
  flex-shrink: 0;
}
.nxw-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nxw-marquee__item a {
  display: inline-flex;
  align-items: center;
}
.nxw-marquee__item img {
  height: auto;
  width: auto;
  max-height: 56px;
  display: block;
  opacity: 0.7;
  transition:
    opacity 0.35s ease,
    filter 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nxw-marquee.is-grayscale .nxw-marquee__item img {
  filter: grayscale(100%);
}
.nxw-marquee.is-grayscale .nxw-marquee__item:hover img {
  filter: grayscale(0);
}
.nxw-marquee__item:hover img {
  opacity: 1;
  transform: scale(1.04);
}
@keyframes nxw-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ============================================================
   2) COUNTERS
   ============================================================ */
.nxw-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  --nxw-accent: #6b4fff;
}
.nxw-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 4px;
  position: relative;
  isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease,
    background 0.35s ease;
}

/* Plain — original vertical divider look */
.nxw-counters.is-separated .nxw-counter + .nxw-counter::before {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--gap, 24px) / 2));
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(10, 15, 36, 0.12),
    transparent
  );
}

/* Glass card */
.nxw-counters.is-style-glass .nxw-counter {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 28px;
  box-shadow:
    0 28px 60px -28px rgba(10, 15, 36, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Outline card */
.nxw-counters.is-style-outline .nxw-counter {
  background: transparent;
  border: 1px solid rgba(10, 15, 36, 0.12);
  border-radius: 16px;
  padding: 28px;
}

/* Solid card */
.nxw-counters.is-style-solid .nxw-counter {
  background: var(--nx-color-surface, #fff);
  border: 1px solid rgba(10, 15, 36, 0.06);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 18px -10px rgba(10, 15, 36, 0.08);
}

/* Side accent — vertical color bar on the left */
.nxw-counters.is-style-accent .nxw-counter {
  background: var(--nx-color-surface, #fff);
  border: 1px solid rgba(10, 15, 36, 0.06);
  border-radius: 16px;
  padding: 28px 28px 28px 32px;
  box-shadow: 0 6px 18px -10px rgba(10, 15, 36, 0.08);
  overflow: hidden;
}
.nxw-counters.is-style-accent .nxw-counter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--nxw-accent, #6b4fff), #0fbfa4);
  transition:
    top 0.4s ease,
    bottom 0.4s ease;
}
.nxw-counters.is-style-accent .nxw-counter:hover::before {
  top: 8%;
  bottom: 8%;
}

/* Numbered — giant index number floating in background */
.nxw-counters.is-style-numbered .nxw-counter {
  background: var(--nx-color-surface, #fff);
  border: 1px solid rgba(10, 15, 36, 0.07);
  border-radius: 18px;
  padding: 32px 28px 28px;
  box-shadow: 0 10px 28px -16px rgba(10, 15, 36, 0.1);
  overflow: hidden;
}
.nxw-counter__index {
  position: absolute;
  right: 14px;
  top: 4px;
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: 5.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 15, 36, 0.1);
  pointer-events: none;
  z-index: 0;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    -webkit-text-stroke-color 0.3s ease;
}
.nxw-counters.is-style-numbered .nxw-counter > *:not(.nxw-counter__index) {
  position: relative;
  z-index: 1;
}
.nxw-counters.is-style-numbered .nxw-counter:hover .nxw-counter__index {
  transform: translate(-4px, 2px);
  -webkit-text-stroke-color: rgba(107, 79, 255, 0.35);
}

/* Floating gradient — soft halo + gradient ring */
.nxw-counters.is-style-floating .nxw-counter {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 30px;
  box-shadow:
    0 30px 60px -28px rgba(107, 79, 255, 0.18),
    0 8px 24px -10px rgba(15, 191, 164, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.nxw-counters.is-style-floating .nxw-counter::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(107, 79, 255, 0.5),
    rgba(15, 191, 164, 0.4)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nxw-counters.is-style-floating .nxw-counter:hover::after {
  opacity: 1;
}

/* Hover effects — apply to all carded styles */
.nxw-counters.is-hover-lift .nxw-counter:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -32px rgba(10, 15, 36, 0.2);
}
.nxw-counters.is-hover-glow .nxw-counter:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--nxw-accent, #6b4fff) 35%, transparent),
    0 24px 60px -22px
      color-mix(in srgb, var(--nxw-accent, #6b4fff) 30%, transparent);
}
/* Gradient border hover — skip on styles that already render a gradient ring */
.nxw-counters.is-hover-border:not(.is-style-floating) .nxw-counter::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--nxw-accent, #6b4fff), #0fbfa4);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nxw-counters.is-hover-border:not(.is-style-floating)
  .nxw-counter:hover::after {
  opacity: 1;
}
.nxw-counters.is-hover-tilt .nxw-counter:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 30px 60px -28px rgba(10, 15, 36, 0.18);
}

/* Counter inner pieces */
.nxw-counter__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--nxw-accent, #6b4fff) 14%, transparent),
    color-mix(in srgb, #0fbfa4 12%, transparent)
  );
  color: var(--nxw-accent, #6b4fff);
}
.nxw-counter__icon svg,
.nxw-counter__icon i {
  width: 18px;
  height: 18px;
  font-size: 18px;
}
.nxw-counter__num {
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #6b4fff 0%, #0fbfa4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.nxw-counter__label {
  font-size: 0.92rem;
  color: var(--nx-color-text, #0a0f24);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nxw-counter__desc {
  margin: 6px 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--nx-color-muted, #566083);
  max-width: 30ch;
}
.nxw-counters[style*="text-align: center"] .nxw-counter__desc,
.nxw-counter[style*="text-align: center"] .nxw-counter__desc {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   3) SERVICE BLOCK
   ============================================================ */
.nxw-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.nxw-service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px !important;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
  isolation: isolate;
}
.nxw-service__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1 1 auto;
}
.nxw-service::after {
  /* used by gradient-border hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg, #6b4fff, #0fbfa4);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* Card styles — light multi-stop gradient (hero-style) */
.nxw-services .nxw-service {
  background-color: #ffffff;
  background-image:
    radial-gradient(at 20% 15%, rgba(107, 79, 255, 0.12) 0%, transparent 55%),
    radial-gradient(at 85% 25%, rgba(15, 191, 164, 0.1) 0%, transparent 60%),
    radial-gradient(at 50% 110%, rgba(46, 141, 245, 0.1) 0%, transparent 65%);
}
.nxw-services.is-style-glass .nxw-service {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 28px 60px -28px rgba(10, 15, 36, 0.1);
}
.nxw-services.is-style-outline .nxw-service {
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(10, 15, 36, 0.1);
}
.nxw-services.is-style-solid .nxw-service {
  background-color: var(--nx-color-surface, #fff);
  border: 1px solid rgba(10, 15, 36, 0.06);
  box-shadow: 0 6px 18px -10px rgba(10, 15, 36, 0.08);
}

/* Hover effects */
.nxw-services.is-hover-lift .nxw-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -32px rgba(10, 15, 36, 0.18);
}
.nxw-services.is-hover-glow .nxw-service:hover {
  box-shadow:
    0 0 0 1px rgba(107, 79, 255, 0.4),
    0 24px 60px -22px rgba(107, 79, 255, 0.3);
}
.nxw-services.is-hover-border .nxw-service:hover::after {
  opacity: 1;
}

.nxw-service__badge {
  font-family: var(--nx-font-mono, "JetBrains Mono", monospace);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  color: var(--nx-color-accent, #6b4fff);
}

/* Image (preferred visual) */
.nxw-service__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(10, 15, 36, 0.04);
}
.nxw-service__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nxw-service.is-zoom:hover .nxw-service__image img {
  transform: scale(1.06);
}

/* Icon (fallback when no image) */
.nxw-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--nx-color-accent, #6b4fff);
}
.nxw-service__icon svg {
  width: 100%;
  height: 100%;
}

.nxw-service__title {
  margin: 0;
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  line-height: 1.25;
  color: var(--nx-color-text, #0a0f24);
}
.nxw-service__desc {
  margin: 0;
  color: var(--nx-color-muted, #566083);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Outlined button (pinned to card bottom) */
.nxw-service__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  border: 1.5px solid var(--nx-color-accent, #6b4fff);
  border-radius: 12px !important;
  background: transparent;
  color: var(--nx-color-accent, #6b4fff);
  font-family: var(--nx-font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
}
.nxw-service__btn:hover {
  background: var(--nx-color-accent, #6b4fff);
  color: #fff;
  border-color: var(--nx-color-accent, #6b4fff);
  box-shadow: 0 12px 28px -14px rgba(107, 79, 255, 0.45);
}
.nxw-service__btn-arrow {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nxw-service__btn:hover .nxw-service__btn-arrow {
  transform: translateX(3px);
}

/* ============================================================
   4) FAQ ACCORDION
   ============================================================ */
.nxw-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nxw-faq__item {
  overflow: hidden;
  border-radius: 14px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.nxw-faq.is-style-glass .nxw-faq__item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 40px -22px rgba(10, 15, 36, 0.1);
}
.nxw-faq.is-style-outline .nxw-faq__item {
  background: transparent;
  border: 1px solid rgba(10, 15, 36, 0.1);
}
.nxw-faq.is-style-minimal .nxw-faq__item {
  background: transparent;
  border-bottom: 1px solid rgba(10, 15, 36, 0.08);
  border-radius: 0;
}
.nxw-faq__item.is-open {
  box-shadow: 0 24px 60px -28px rgba(10, 15, 36, 0.15);
}

.nxw-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  background: transparent;
  border: 0;
  color: var(--nx-color-text, #0a0f24);
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}
.nxw-faq__q-text {
  flex: 1;
}
.nxw-faq__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(10, 15, 36, 0.06);
  color: var(--nx-color-text, #0a0f24);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.3s ease,
    color 0.3s ease;
}
.nxw-faq.is-icon-plus .nxw-faq__item.is-open .nxw-faq__icon {
  transform: rotate(45deg);
}
.nxw-faq.is-icon-chevron .nxw-faq__item.is-open .nxw-faq__icon {
  transform: rotate(180deg);
}

/* The answer uses CSS grid trick for smooth height transition (no JS height calc) */
.nxw-faq__a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nxw-faq__item.is-open .nxw-faq__a-wrap {
  grid-template-rows: 1fr;
}
.nxw-faq__a-inner {
  min-height: 0;
  overflow: hidden;
  padding-inline: 24px;
}
.nxw-faq__a {
  padding-bottom: 18px;
  color: var(--nx-color-muted, #566083);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.35s ease 0.05s,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s;
}
.nxw-faq__item.is-open .nxw-faq__a {
  opacity: 1;
  transform: none;
}
.nxw-faq__a p:last-child {
  margin-bottom: 0;
}
.nxw-faq__a p {
  margin: 0 0 0.8em;
}

/* Fallback for older browsers without grid 0fr -> 1fr support */
@supports not (grid-template-rows: 0fr) {
  .nxw-faq__a-wrap {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nxw-faq__item.is-open .nxw-faq__a-wrap {
    max-height: 1500px;
  }
}

/* ============================================================
   5) PRICING PLANS
   ============================================================ */
.nxw-pricing {
  --nxw-pricing-accent: #6b4fff;
  --nxw-pricing-accent-2: #0fbfa4;
  position: relative;
}

/* Section header */
.nxw-pricing__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nxw-pricing__eyebrow {
  display: inline-block;
  align-self: center;
  font-family: var(--nx-font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nxw-pricing-accent);
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nxw-pricing-accent) 10%, transparent);
}
.nxw-pricing__heading {
  margin: 0;
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--nx-color-text, #0a0f24);
}
.nxw-pricing__sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nx-color-muted, #566083);
}

/* Grid */
.nxw-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Card base */
.nxw-pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 28px;
  border-radius: 20px;
  background-color: #ffffff;
  background-image:
    radial-gradient(at 15% 10%, rgba(107, 79, 255, 0.08) 0%, transparent 55%),
    radial-gradient(at 90% 100%, rgba(15, 191, 164, 0.07) 0%, transparent 60%);
  border: 1px solid rgba(10, 15, 36, 0.08);
  box-shadow: 0 6px 20px -12px rgba(10, 15, 36, 0.08);
  isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}
.nxw-pricing__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(10, 15, 36, 0.18);
}

/* Style variants */
.nxw-pricing.is-style-glass .nxw-pricing__card {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 28px 60px -28px rgba(10, 15, 36, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.nxw-pricing.is-style-outline .nxw-pricing__card {
  background-color: transparent;
  border-color: rgba(10, 15, 36, 0.12);
  box-shadow: none;
}
.nxw-pricing.is-style-solid .nxw-pricing__card {
  background-color: var(--nx-color-surface, #fff);
}

/* Featured card */
.nxw-pricing__card.is-featured {
  border-color: transparent;
  background-image:
    radial-gradient(at 15% 10%, color-mix(in srgb, var(--nxw-pricing-accent) 14%, transparent) 0%, transparent 55%),
    radial-gradient(at 90% 100%, color-mix(in srgb, var(--nxw-pricing-accent-2) 12%, transparent) 0%, transparent 60%);
  box-shadow:
    0 36px 80px -32px color-mix(in srgb, var(--nxw-pricing-accent) 35%, transparent),
    0 12px 28px -14px color-mix(in srgb, var(--nxw-pricing-accent-2) 25%, transparent);
}
.nxw-pricing__card.is-featured::before {
  /* gradient ring */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--nxw-pricing-accent), var(--nxw-pricing-accent-2));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.nxw-pricing.lift-featured .nxw-pricing__card.is-featured {
  transform: translateY(-12px);
}
.nxw-pricing.lift-featured .nxw-pricing__card.is-featured:hover {
  transform: translateY(-18px);
}

/* Featured badge */
.nxw-pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--nx-font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--nxw-pricing-accent), var(--nxw-pricing-accent-2));
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--nxw-pricing-accent) 50%, transparent);
}

/* Card head */
.nxw-pricing__card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(10, 15, 36, 0.08);
}
.nxw-pricing__name {
  margin: 0;
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--nx-color-text, #0a0f24);
}
.nxw-pricing__subtitle {
  margin: 0;
  font-size: 0.86rem;
  color: var(--nx-color-muted, #566083);
}
.nxw-pricing__subtitle span {
  opacity: 0.7;
  margin-right: 4px;
}
.nxw-pricing__price {
  margin: 6px 0 0;
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--nxw-pricing-accent), var(--nxw-pricing-accent-2));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Features list */
.nxw-pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}
.nxw-pricing__feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.nxw-pricing__feat-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-top: 1px;
}
.nxw-pricing__feat.is-included .nxw-pricing__feat-icon {
  background: color-mix(in srgb, var(--nxw-pricing-accent) 14%, transparent);
  color: var(--nxw-pricing-accent);
}
.nxw-pricing__feat.is-excluded .nxw-pricing__feat-icon {
  background: rgba(10, 15, 36, 0.06);
  color: rgba(10, 15, 36, 0.4);
}
.nxw-pricing__feat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.nxw-pricing__feat-label {
  color: var(--nx-color-text, #0a0f24);
  font-weight: 500;
}
.nxw-pricing__feat.is-excluded .nxw-pricing__feat-label {
  color: rgba(10, 15, 36, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.nxw-pricing__feat-value {
  color: var(--nx-color-muted, #566083);
  font-size: 0.84rem;
}

/* Button */
.nxw-pricing__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--nxw-pricing-accent);
  background: transparent;
  color: var(--nxw-pricing-accent);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
}
.nxw-pricing__btn-arrow {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nxw-pricing__btn:hover {
  background: var(--nxw-pricing-accent);
  color: #fff;
  border-color: var(--nxw-pricing-accent);
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--nxw-pricing-accent) 50%, transparent);
}
.nxw-pricing__btn:hover .nxw-pricing__btn-arrow {
  transform: translateX(3px);
}
.nxw-pricing__card.is-featured .nxw-pricing__btn {
  background: linear-gradient(135deg, var(--nxw-pricing-accent), var(--nxw-pricing-accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--nxw-pricing-accent) 60%, transparent);
}
.nxw-pricing__card.is-featured .nxw-pricing__btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 18px 36px -14px color-mix(in srgb, var(--nxw-pricing-accent) 70%, transparent);
}

/* ============================================================
   6) FORM
   ============================================================ */
.nxw-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.nxw-form__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nxw-form__heading {
  margin: 0;
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--nx-color-text, #0a0f24);
}
.nxw-form__sub {
  margin: 0;
  color: var(--nx-color-muted, #566083);
  line-height: 1.55;
}
.nxw-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nxw-form__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.nxw-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  grid-column: span 6;
}
.nxw-form__field.is-w-50  { grid-column: span 3; }
.nxw-form__field.is-w-33  { grid-column: span 2; }
.nxw-form__field.is-w-100 { grid-column: span 6; }

.nxw-form__field > label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--nx-color-text, #0a0f24);
  letter-spacing: 0.01em;
}
.nxw-form__req {
  color: var(--nx-color-accent, #6b4fff);
  margin-left: 2px;
}

.nxw-form input:not([type="submit"]),
.nxw-form textarea,
.nxw-form select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--nx-color-text, #0a0f24);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(10, 15, 36, 0.12);
  border-radius: 12px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
}
.nxw-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.nxw-form input:focus,
.nxw-form textarea:focus,
.nxw-form select:focus {
  border-color: var(--nx-color-accent, #6b4fff);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(107, 79, 255, 0.12);
}
.nxw-form input:invalid:not(:placeholder-shown),
.nxw-form textarea:invalid:not(:placeholder-shown) {
  border-color: #e0455c;
}
.nxw-form input::placeholder,
.nxw-form textarea::placeholder {
  color: var(--nx-color-muted, #566083);
  opacity: 0.65;
}
.nxw-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23566083' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
}

.nxw-form__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.nxw-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nx-color-accent, #6b4fff), var(--nx-color-aurora, #0fbfa4));
  color: #ffffff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(107, 79, 255, 0.45);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease;
}
.nxw-form__submit:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -16px rgba(107, 79, 255, 0.55);
}
.nxw-form__submit:disabled,
.nxw-form__submit.is-loading {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.nxw-form__submit.is-full { width: 100%; }
.nxw-form__submit-arrow {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nxw-form__submit:hover .nxw-form__submit-arrow {
  transform: translateX(3px);
}

.nxw-form__msg {
  margin: 4px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.nxw-form__msg.is-success {
  color: #0c9a6f;
}
.nxw-form__msg.is-error {
  color: #d0364f;
}

/* ============================================================
   7) SUB-SERVICES
   ============================================================ */
.nxw-subs {
  --nxw-subs-accent: var(--nx-color-accent, #6b4fff);
  --nxw-subs-accent-2: var(--nx-color-aurora, #0fbfa4);
}
.nxw-subs__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 680px;
  /* Match the card's inner content left edge so eyebrow + heading + card titles
     all sit on the same vertical line. */
  padding-left: 20px;
}
.nxw-subs__head > * { margin: 0; }
.nxw-subs__heading { margin-top: 2px; }
.nxw-subs__eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--nx-font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nxw-subs-accent);
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nxw-subs-accent) 10%, transparent);
}
.nxw-subs__heading {
  margin: 0;
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--nx-color-text, #0a0f24);
}
.nxw-subs__sub {
  margin: 0;
  color: var(--nx-color-muted, #566083);
  font-size: 1rem;
  line-height: 1.55;
}

.nxw-subs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Base item */
.nxw-subs__item {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(10, 15, 36, 0.08);
  border-radius: 14px;
  background-color: #ffffff;
  background-image:
    radial-gradient(at 15% 10%, rgba(107, 79, 255, 0.05) 0%, transparent 60%),
    radial-gradient(at 100% 100%, rgba(15, 191, 164, 0.05) 0%, transparent 65%);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

/* Cards layout — icon stacks on top, content flush-left below */
.nxw-subs.is-layout-cards .nxw-subs__item {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.nxw-subs.is-layout-cards .nxw-subs__body {
  width: 100%;
  /* Pull the body up tight against the icon — defeats grid's stretch-distribute */
  margin-bottom: auto;
}
.nxw-subs.is-layout-cards .nxw-subs__icon {
  margin-bottom: 0;
}

.nxw-subs__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--nxw-subs-accent) 12%, transparent);
  color: var(--nxw-subs-accent);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nxw-subs__icon i,
.nxw-subs__icon svg {
  font-size: 20px;
  width: 20px;
  height: 20px;
}
.nxw-subs__item:hover .nxw-subs__icon {
  transform: scale(1.05);
}

.nxw-subs__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nxw-subs__title {
  margin: 0;
  font-family: var(--nx-font-heading, "Space Grotesk", system-ui, sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--nx-color-text, #0a0f24);
  letter-spacing: -0.005em;
}
.nxw-subs__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--nx-color-muted, #566083);
}

.nxw-subs__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--nxw-subs-accent);
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translate(-2px, 2px);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.25s ease,
    color 0.25s ease;
}
.nxw-subs__item:hover .nxw-subs__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Hover effects */
.nxw-subs.is-hover-lift .nxw-subs__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(10, 15, 36, 0.16);
  border-color: rgba(107, 79, 255, 0.25);
}
.nxw-subs.is-hover-glow .nxw-subs__item:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--nxw-subs-accent) 35%, transparent),
    0 18px 40px -18px color-mix(in srgb, var(--nxw-subs-accent) 30%, transparent);
  border-color: transparent;
}
.nxw-subs.is-hover-fill .nxw-subs__item:hover {
  background-color: var(--nxw-subs-accent);
  background-image: none;
  border-color: var(--nxw-subs-accent);
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--nxw-subs-accent) 45%, transparent);
}
.nxw-subs.is-hover-fill .nxw-subs__item:hover .nxw-subs__title,
.nxw-subs.is-hover-fill .nxw-subs__item:hover .nxw-subs__desc {
  color: #fff;
}
.nxw-subs.is-hover-fill .nxw-subs__item:hover .nxw-subs__desc {
  opacity: 0.92;
}
.nxw-subs.is-hover-fill .nxw-subs__item:hover .nxw-subs__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.nxw-subs.is-hover-fill .nxw-subs__item:hover .nxw-subs__arrow {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Layout: List (single column, rows) */
.nxw-subs.is-layout-list .nxw-subs__grid {
  grid-template-columns: 1fr;
}
.nxw-subs.is-layout-list .nxw-subs__item {
  border-radius: 12px;
  padding: 16px 18px;
}

/* Layout: Compact pills */
.nxw-subs.is-layout-pills .nxw-subs__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-template-columns: none !important;
}
.nxw-subs.is-layout-pills .nxw-subs__item {
  flex: 0 0 auto;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background-image: none;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 15, 36, 0.1);
  gap: 8px;
  align-items: center;
}
.nxw-subs.is-layout-pills .nxw-subs__icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
}
.nxw-subs.is-layout-pills .nxw-subs__icon i,
.nxw-subs.is-layout-pills .nxw-subs__icon svg {
  font-size: 14px;
  width: 14px;
  height: 14px;
}
.nxw-subs.is-layout-pills .nxw-subs__title {
  font-size: 0.88rem;
  font-weight: 600;
}
.nxw-subs.is-layout-pills .nxw-subs__desc,
.nxw-subs.is-layout-pills .nxw-subs__arrow {
  display: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nxw-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .nxw-pricing.lift-featured .nxw-pricing__card.is-featured,
  .nxw-pricing.lift-featured .nxw-pricing__card.is-featured:hover {
    transform: none;
  }
  .nxw-pricing__card.is-featured {
    order: -1; /* float the featured card to the top on mobile */
  }
}

@media (max-width: 820px) {
  .nxw-marquee__list {
    gap: 28px;
    padding-right: 28px;
  }
  .nxw-services {
    grid-template-columns: 1fr !important;
  }
  .nxw-counter__num {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
  .nxw-counters.is-separated .nxw-counter + .nxw-counter::before {
    display: none;
  }
  .nxw-counters:not(.is-style-plain) .nxw-counter {
    padding: 22px;
  }
  .nxw-counter__index {
    font-size: 4.2rem;
  }
  .nxw-counter__desc {
    max-width: none;
  }
  .nxw-faq__q {
    padding: 16px 18px;
    font-size: 0.96rem;
  }
  .nxw-form__field.is-w-50,
  .nxw-form__field.is-w-33 {
    grid-column: span 6;
  }
  .nxw-form__submit {
    width: 100%;
  }
  .nxw-subs__grid {
    grid-template-columns: 1fr !important;
  }
  .nxw-subs__item {
    padding: 16px;
  }
  .nxw-pricing__card {
    padding: 26px 22px;
  }
  .nxw-pricing__name {
    font-size: 1.25rem;
  }
}
