/* =========================================================
   OKKVM NexRoute Theme
   Based on WHMCS Six / Bootstrap 3.4.1
   ========================================================= */

:root {
  --nx-primary: #194bfb;
  --nx-primary-dark: #1237ba;
  --nx-primary-light: #3b82f6;
  --nx-ink: #0f172a;
  --nx-text: #334155;
  --nx-muted: #64748b;
  --nx-line: #dbe6f6;
  --nx-bg: #f4f8ff;
  --nx-surface: #ffffff;
  --nx-dark: #0a1222;
  --nx-dark-2: #131d32;
  --nx-dark-text: #e8eef9;
  --nx-dark-muted: #90a7cf;
  --nx-radius: 18px;
  --nx-radius-sm: 12px;
  --nx-shadow: 0 20px 50px rgba(15, 23, 42, .09);
  --nx-shadow-sm: 0 8px 24px rgba(15, 23, 42, .05);
}

html {
  scroll-behavior: smooth;
}

body.nx-body {
  margin: 0;
  padding-top: 0;
  background: var(--nx-bg);
  color: var(--nx-ink);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nx-body a {
  color: var(--nx-primary);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.nx-body a:hover,
.nx-body a:focus {
  color: var(--nx-primary-dark);
  text-decoration: none;
}

.nx-body h1,
.nx-body h2,
.nx-body h3,
.nx-body h4,
.nx-body h5,
.nx-body h6 {
  color: var(--nx-ink);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}

.nx-body .container {
  max-width: 1200px;
}

.nx-body .btn {
  border-radius: 11px;
  font-weight: 700;
  padding: 10px 17px;
  transition: all .18s ease;
}

.nx-body .btn:focus,
.nx-body .btn:active:focus {
  outline: none;
}

.nx-body .btn-primary {
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-dark));
  border-color: var(--nx-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(25, 75, 251, .22);
}

.nx-body .btn-primary:hover,
.nx-body .btn-primary:focus {
  background: linear-gradient(135deg, var(--nx-primary-dark), #0f2f9e);
  border-color: var(--nx-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(25, 75, 251, .28);
}

.nx-body .btn-default {
  background: #fff;
  border-color: var(--nx-line);
  color: var(--nx-text);
}

.nx-body .btn-default:hover,
.nx-body .btn-default:focus {
  background: #f4f8ff;
  border-color: #c7d8f5;
  color: var(--nx-primary);
}

.nx-body .btn-link {
  color: var(--nx-primary);
  box-shadow: none;
}

.nx-body a.btn-primary,
.nx-body a.btn-success,
.nx-body a.btn-info,
.nx-body a.btn-warning,
.nx-body a.btn-danger {
  color: #fff;
}

.nx-body a.btn-default {
  color: var(--nx-text);
}

.nx-body a.btn-default:hover,
.nx-body a.btn-default:focus {
  color: var(--nx-primary);
}

.nx-body a.nx-btn-primary {
  color: #fff;
}

.nx-body a.nx-btn-outline {
  color: var(--nx-primary);
}

.nx-body a.nx-btn-ghost {
  color: #fff;
}

/* ---------- Header ---------- */

#header.nx-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #fff;
}

.nx-topbar {
  background: #fff;
  border-bottom: 1px solid var(--nx-line);
  color: var(--nx-muted);
  font-size: 13px;
}

.nx-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}

.nx-topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nx-muted);
  white-space: nowrap;
}

.nx-topbar-note i {
  color: var(--nx-primary);
}

.nx-topbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nx-topbar-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--nx-muted);
  font-weight: 600;
}

.nx-topbar-links > li > a:hover {
  background: #eef4ff;
  color: var(--nx-primary);
}

.nx-topbar-links .label {
  margin-left: 4px;
}

#main-menu.nx-main-menu {
  margin: 0;
  padding: 0;
  background: transparent;
}

.nx-navbar {
  position: relative;
  top: auto;
  z-index: 1030;
  min-height: 76px;
  margin: 0;
  background: rgba(255, 255, 255, .94);
  border: 0;
  border-bottom: 1px solid var(--nx-line);
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .035);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nx-navbar-inner {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.nx-topbar-inner::before,
.nx-topbar-inner::after,
.nx-navbar-inner::before,
.nx-navbar-inner::after {
  content: none;
  display: none;
}

.nx-navbar .navbar-header {
  float: none;
  display: flex;
  align-items: center;
  margin: 0;
}

.nx-navbar .navbar-header::before,
.nx-navbar .navbar-header::after {
  display: none;
}

.nx-navbar .navbar-brand.nx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
  padding: 10px 0;
  margin: 0;
  color: var(--nx-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.nx-logo {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 50px;
  object-fit: contain;
}

.nx-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.06em;
  box-shadow: 0 8px 18px rgba(25, 75, 251, .25);
}

.nx-brand-name {
  line-height: 1;
}

.nx-navbar .navbar-collapse {
  border: 0;
  box-shadow: none;
}

.nx-primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
}

.nx-primary-nav > li > a {
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--nx-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.nx-primary-nav > li > a:hover,
.nx-primary-nav > li > a:focus,
.nx-primary-nav > li.open > a,
.nx-primary-nav > li.active > a {
  background: #eef4ff;
  color: var(--nx-primary);
}

.nx-primary-nav .caret {
  margin-left: 5px;
}

.nx-secondary-nav {
  display: flex;
  align-items: center;
}

.nx-secondary-nav > li > a {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--nx-muted);
  font-size: 14px;
  font-weight: 700;
}

.nx-secondary-nav > li > a:hover {
  background: #eef4ff;
  color: var(--nx-primary);
}

.nx-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
}

.nx-nav-actions > li {
  float: none;
}

.nx-nav-actions > li > a {
  margin: 0;
  white-space: nowrap;
}

.nx-nav-actions .nx-btn {
  margin: 0;
}

@media (min-width: 992px) {
  .nx-navbar-inner {
    gap: 28px;
  }

  .nx-navbar-inner > .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  #main-menu .navbar-nav.nx-primary-nav {
    margin-right: auto;
    margin-left: 0;
  }

  #main-menu .navbar-nav.nx-secondary-nav {
    margin-right: 0;
    margin-left: 8px;
  }

  #main-menu .navbar-nav.nx-nav-actions {
    margin-right: 0;
    margin-left: 14px;
  }
}

.nx-cart-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 9px 12px !important;
  border: 1px solid var(--nx-line);
  border-radius: 11px;
  color: var(--nx-text) !important;
  font-weight: 700;
}

.nx-cart-link:hover {
  border-color: #c7d8f5;
  background: #f4f8ff;
  color: var(--nx-primary) !important;
}

.nx-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--nx-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.nx-navbar .navbar-toggle.nx-toggle {
  float: none;
  margin: 0 0 0 12px;
  padding: 9px 10px;
  border: 1px solid var(--nx-line);
  border-radius: 10px;
  background: #fff;
}

.nx-navbar .navbar-toggle.nx-toggle .icon-bar {
  background: var(--nx-ink);
}

.nx-navbar .navbar-toggle.nx-toggle:hover,
.nx-navbar .navbar-toggle.nx-toggle:focus {
  background: #eef4ff;
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nx-btn-primary {
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-dark));
  border-color: var(--nx-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(25, 75, 251, .22);
}

.nx-btn-primary:hover,
.nx-btn-primary:focus {
  background: linear-gradient(135deg, var(--nx-primary-dark), #0f2f9e);
  border-color: var(--nx-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(25, 75, 251, .28);
}

.nx-btn-primary:active {
  transform: translateY(0);
}

.nx-btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--nx-primary);
  box-shadow: 0 14px 30px rgba(3, 10, 28, .22);
}

.nx-btn-light:hover,
.nx-btn-light:focus {
  background: #f4f8ff;
  border-color: #fff;
  color: var(--nx-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(3, 10, 28, .28);
}

.nx-body a.nx-btn-light {
  color: var(--nx-primary);
}

.nx-body a.nx-btn-light:hover,
.nx-body a.nx-btn-light:focus {
  color: var(--nx-primary-dark);
}

.nx-btn-outline {
  background: #fff;
  border: 1px solid var(--nx-line);
  color: var(--nx-primary);
}

.nx-btn-outline:hover,
.nx-btn-outline:focus {
  background: #eef4ff;
  border-color: #c7d8f5;
  color: var(--nx-primary-dark);
}

.nx-btn-ghost {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.nx-btn-ghost:hover,
.nx-btn-ghost:focus {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .48);
  color: #fff;
}

.nx-btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.nx-btn-lg {
  padding: 14px 24px;
  font-size: 16px;
}

/* ---------- Hero ---------- */

.nx-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(96, 165, 250, .30), transparent 36%),
    radial-gradient(circle at 6% 88%, rgba(4, 12, 30, .42), transparent 44%),
    linear-gradient(135deg, #0b1e42 0%, #1237ba 42%, #194bfb 74%, #3b82f6 100%);
  color: #fff;
  box-shadow: inset 0 -140px 180px rgba(2, 8, 23, .16);
}

.nx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .16), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(147, 197, 253, .24), transparent 34%),
    radial-gradient(circle at 70% 95%, rgba(15, 23, 42, .28), transparent 40%);
}

.nx-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .14);
}

.nx-hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 34px;
}

.nx-hero-row {
  display: flex;
  align-items: center;
}

.nx-hero-copy {
  padding-top: 10px;
}

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nx-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nx-hero .nx-eyebrow {
  color: #bfdbfe;
}

.nx-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 4px rgba(134, 239, 172, .18);
}

.nx-hero h1 {
  max-width: 720px;
  margin: 18px 0 20px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.nx-hero h1 span {
  color: #dbeafe;
  background: linear-gradient(90deg, #ffffff 0%, #bfdbfe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nx-hero-lead {
  max-width: 650px;
  margin: 0 0 28px;
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.85;
}

.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.nx-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 600;
}

.nx-hero-points i {
  color: #86efac;
  margin-right: 4px;
}

.nx-hero-visual {
  padding-top: 12px;
}

.nx-console {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(8, 18, 38, .68);
  box-shadow: 0 34px 90px rgba(3, 10, 28, .38);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nx-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .14), transparent 36%);
}

.nx-console-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 14px;
}

.nx-console-top .nx-window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
}

.nx-console-top .nx-window-dot:nth-child(2) {
  background: #fbbf24;
}

.nx-console-top .nx-window-dot:nth-child(3) {
  background: #34d399;
}

.nx-console-title {
  margin-left: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nx-console-live {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .14);
  color: #6ee7b7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.nx-console-body {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(10, 18, 34, .62);
}

.nx-console-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cbd5e1;
  font-size: 12px;
}

.nx-console-row .nx-ok {
  color: #6ee7b7;
  font-weight: 700;
}

.nx-console-progress {
  height: 7px;
  margin: 11px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
}

.nx-console-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #86efac);
}

.nx-console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.nx-console-grid > div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
}

.nx-console-grid strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.nx-console-grid span {
  color: #90a7cf;
  font-size: 10px;
}

.nx-console-lines {
  display: grid;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.nx-console-lines > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #cbd5e1;
  font-size: 11px;
}

.nx-line-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
}

.nx-line-dot.blue {
  background: #60a5fa;
}

.nx-line-dot.green {
  background: #34d399;
}

.nx-muted {
  margin-left: auto;
  color: #64748b;
  font-size: 10px;
}

.nx-console-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 2px 2px;
}

.nx-console-footer a {
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 700;
}

.nx-console-footer a:hover {
  color: #fff;
}

.nx-domain-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 54px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(9, 25, 66, .18);
  color: var(--nx-ink);
}

.nx-domain-copy {
  min-width: 210px;
}

.nx-domain-copy .nx-eyebrow {
  color: var(--nx-primary);
}

.nx-domain-copy h2 {
  margin: 5px 0 0;
  font-size: 20px;
  line-height: 1.3;
}

.nx-domain-form {
  flex: 1;
  margin: 0;
}

.nx-domain-form .input-group {
  width: 100%;
}

.nx-domain-form .form-control {
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--nx-line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  box-shadow: none;
  font-size: 15px;
}

.nx-domain-form .form-control:focus {
  border-color: var(--nx-primary);
  box-shadow: 0 0 0 4px rgba(25, 75, 251, .10);
}

.nx-domain-form .input-group-btn {
  display: flex;
}

.nx-domain-form .btn {
  height: 52px;
  padding: 0 20px;
  border-radius: 0;
  font-size: 14px;
}

.nx-domain-form .btn:last-child {
  border-radius: 0 12px 12px 0;
}

.nx-domain-form .btn.search {
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-dark));
  border-color: var(--nx-primary);
  color: #fff;
}

.nx-domain-form .btn.transfer {
  background: #eef4ff;
  border-color: #dbe6f6;
  color: var(--nx-primary);
}

.nx-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 46px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.nx-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 30px rgba(1, 8, 24, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nx-stat strong {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.nx-stat span {
  display: block;
  margin-top: 4px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- Homepage sections ---------- */

.nx-section {
  padding: 88px 0;
}

.nx-section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.nx-section-head.nx-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.nx-section-head.nx-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.nx-section-head h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.nx-section-head p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 16px;
  line-height: 1.8;
}

.nx-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nx-primary);
  font-weight: 800;
  white-space: nowrap;
}

.nx-link i {
  transition: transform .18s ease;
}

.nx-link:hover i {
  transform: translateX(4px);
}

.nx-features {
  background: var(--nx-bg);
}

.nx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nx-feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  background: #fff;
  box-shadow: var(--nx-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nx-feature-card:hover {
  border-color: #c7d8f5;
  box-shadow: var(--nx-shadow);
  transform: translateY(-4px);
}

.nx-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--nx-primary);
  font-size: 20px;
}

.nx-feature-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
}

.nx-feature-card p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 14px;
  line-height: 1.8;
}

.nx-product-section {
  background: #fff;
}

.nx-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nx-product-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nx-product-card:hover {
  border-color: #c7d8f5;
  box-shadow: var(--nx-shadow-sm);
  transform: translateY(-3px);
}

.nx-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.nx-product-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eef4ff;
  color: var(--nx-primary);
  font-size: 18px;
}

.nx-product-tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--nx-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nx-product-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.nx-product-card p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--nx-muted);
  font-size: 14px;
  line-height: 1.8;
}

.nx-product-card .nx-link {
  font-size: 13px;
}

.nx-empty-products {
  padding: 32px;
  border: 1px dashed #c7d8f5;
  border-radius: var(--nx-radius);
  background: #f8fbff;
  text-align: center;
}

.nx-empty-products p {
  margin: 0 0 16px;
  color: var(--nx-muted);
}

.nx-why {
  background: linear-gradient(180deg, var(--nx-bg) 0%, #eef4ff 100%);
}

.nx-why-row {
  display: flex;
  align-items: center;
}

.nx-why h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
}

.nx-why p {
  color: var(--nx-muted);
  line-height: 1.8;
}

.nx-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.nx-check-list li {
  display: flex;
  gap: 10px;
  color: var(--nx-text);
  font-weight: 600;
}

.nx-check-list i {
  margin-top: 4px;
  color: var(--nx-primary);
}

.nx-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.nx-metric-card {
  padding: 24px;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nx-shadow-sm);
}

.nx-metric-card strong {
  display: block;
  color: var(--nx-primary);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.nx-metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--nx-muted);
  font-size: 13px;
  font-weight: 600;
}

.nx-help-section {
  background: #fff;
}

.nx-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.nx-help-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
  color: var(--nx-text);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nx-help-card:hover {
  border-color: #c7d8f5;
  box-shadow: var(--nx-shadow-sm);
  color: var(--nx-text);
  transform: translateY(-2px);
}

.nx-help-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--nx-primary);
  font-size: 17px;
}

.nx-help-card strong {
  display: block;
  color: var(--nx-ink);
  font-size: 14px;
  font-weight: 800;
}

.nx-help-card small {
  display: block;
  margin-top: 2px;
  color: var(--nx-muted);
  font-size: 12px;
}

.nx-help-arrow {
  margin-left: auto;
  color: var(--nx-primary);
  font-size: 12px;
}

.nx-announcements-section {
  background: var(--nx-bg);
}

.nx-announcement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.nx-announcement-card {
  padding: 24px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  background: #fff;
  box-shadow: var(--nx-shadow-sm);
}

.nx-announcement-date {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--nx-primary);
  font-size: 11px;
  font-weight: 800;
}

.nx-announcement-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.nx-announcement-card h3 a {
  color: var(--nx-ink);
}

.nx-announcement-card h3 a:hover {
  color: var(--nx-primary);
}

.nx-announcement-card p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 14px;
  line-height: 1.8;
}

.nx-cta-section {
  padding-top: 0;
  background: var(--nx-bg);
}

.nx-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(136deg, #0a1222 0%, #1237ba 100%);
  color: #fff;
}

.nx-cta::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .28);
  filter: blur(10px);
}

.nx-cta > * {
  position: relative;
  z-index: 1;
}

.nx-cta .nx-eyebrow {
  color: #93c5fd;
}

.nx-cta h2 {
  margin: 10px 0 10px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
}

.nx-cta p {
  max-width: 560px;
  margin: 0;
  color: #bfdbfe;
  line-height: 1.8;
}

.nx-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */

#footer.nx-footer {
  margin: 0;
  padding: 64px 0 24px;
  border-top: 0;
  background: var(--nx-dark);
  color: var(--nx-dark-muted);
}

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

.nx-footer a:hover {
  color: #fff;
}

.nx-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.nx-footer-brand .nx-brand-mark {
  width: 34px;
  height: 34px;
  font-size: 13px;
}

.nx-footer-desc {
  max-width: 320px;
  margin: 0 0 20px;
  color: var(--nx-dark-muted);
  font-size: 14px;
  line-height: 1.8;
}

.nx-footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nx-footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.nx-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(144, 167, 207, .22);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
}

.nx-footer-status .nx-pulse {
  width: 6px;
  height: 6px;
}

.nx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(144, 167, 207, .18);
  font-size: 12px;
}

.nx-footer-bottom p {
  margin: 0;
}

.nx-footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: none;
  float: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--nx-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 75, 251, .28);
}

#footer .back-to-top i {
  padding: 0;
  background: transparent;
  color: #fff;
}

#footer .back-to-top.show {
  display: grid;
}

/* ---------- Inner pages / client area ---------- */

#main-body.nx-main-body {
  margin: 0;
  padding: 44px 0 76px;
  background: var(--nx-bg);
}

#main-body.nx-main-body .main-content {
  margin-bottom: 0;
}

.nx-home #main-body.nx-main-body {
  padding: 0;
}

.nx-home #main-body > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.nx-home #main-body > .container > .row {
  margin: 0;
}

.nx-home #main-body .main-content {
  width: 100%;
  margin-bottom: 0;
  padding: 0;
}

.nx-home #main-body .sidebar {
  display: none;
}

.nx-page #main-body .main-content {
  padding: 28px;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--nx-shadow-sm);
}

.nx-page #main-body .main-content > .header-lined:first-child {
  margin-top: 0;
}

.nx-auth-page #main-body .main-content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nx-auth-page .logincontainer,
.nx-auth-page #registration {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--nx-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--nx-shadow);
}

.nx-auth-page .logincontainer {
  max-width: 560px;
}

.nx-auth-page .logincontainer .header-lined,
.nx-auth-page #registration .header-lined {
  margin-bottom: 24px;
}

.nx-auth-page .login-form .btn {
  min-width: 120px;
}

.header-lined {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nx-line);
}

.nx-body div.header-lined h1 {
  margin: 0;
  padding: 0;
  border-bottom: 0;
  color: var(--nx-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.nx-body div.header-lined h1 small {
  display: block;
  margin-top: 6px;
  color: var(--nx-muted);
  font-size: 14px;
  font-weight: 500;
}

.nx-body div.header-lined .breadcrumb {
  margin: 12px 0 0;
  padding: 0;
  background: transparent;
  font-size: 13px;
}

.nx-body div.header-lined .breadcrumb > li + li:before {
  color: #94a3b8;
}

.sidebar {
  padding-top: 0;
}

.panel {
  margin-bottom: 20px;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nx-shadow-sm);
}

.panel-default > .panel-heading,
.panel-sidebar > .panel-heading {
  padding: 15px 18px;
  border-bottom: 1px solid var(--nx-line);
  border-radius: 16px 16px 0 0;
  background: #f8fbff;
  color: var(--nx-ink);
}

.panel-title {
  color: var(--nx-ink);
  font-size: 14px;
  font-weight: 800;
}

.panel-body {
  padding: 20px;
}

.panel-footer {
  padding: 15px 18px;
  border-top: 1px solid var(--nx-line);
  border-radius: 0 0 16px 16px;
  background: #f8fbff;
}

.panel-sidebar .list-group-item,
.client-home-panels .list-group-item {
  padding: 11px 16px;
  border: 0;
  border-top: 1px solid #eef3fb;
  color: var(--nx-text);
  font-size: 13px;
  font-weight: 600;
}

.panel-sidebar .list-group-item:hover,
.client-home-panels .list-group-item:hover {
  background: #f4f8ff;
  color: var(--nx-primary);
}

.panel-sidebar .list-group-item.active,
.client-home-panels .list-group-item.active {
  background: #eef4ff;
  color: var(--nx-primary);
  border-left: 3px solid var(--nx-primary);
}

.panel-accent-blue {
  border-top: 3px solid var(--nx-primary);
}

.panel-accent-green {
  border-top: 3px solid #10b981;
}

.panel-accent-red {
  border-top: 3px solid #ef4444;
}

.panel-accent-gold {
  border-top: 3px solid #f59e0b;
}

.table {
  margin-bottom: 0;
  background: #fff;
}

.table > thead > tr > th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--nx-line);
  background: #f8fbff;
  color: var(--nx-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
  padding: 14px 15px;
  border-top: 1px solid #eef3fb;
  vertical-align: middle;
  font-size: 14px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background: #fbfdff;
}

.table-hover > tbody > tr:hover {
  background: #f4f8ff;
}

.table-responsive {
  border: 1px solid var(--nx-line);
  border-radius: 14px;
}

#main-body .dataTables_wrapper {
  overflow-x: auto;
}

#main-body .dataTables_filter input {
  height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--nx-line);
  border-radius: 11px;
  background: #fff;
  color: var(--nx-ink);
  box-shadow: none;
}

#main-body .dataTables_filter input:focus {
  border-color: var(--nx-primary);
  box-shadow: 0 0 0 4px rgba(25, 75, 251, .11);
}

#main-body .dataTables_length select {
  height: 40px;
  padding: 0 10px;
  border-radius: 11px;
}

.form-control {
  height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--nx-line);
  border-radius: 11px;
  background: #fff;
  color: var(--nx-ink);
  box-shadow: none;
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--nx-primary);
  box-shadow: 0 0 0 4px rgba(25, 75, 251, .11);
  outline: none;
}

textarea.form-control {
  height: auto;
  min-height: 120px;
}

select.form-control {
  height: 44px;
}

.form-group label {
  margin-bottom: 6px;
  color: var(--nx-text);
  font-size: 13px;
  font-weight: 700;
}

.help-block {
  color: var(--nx-muted);
  font-size: 12px;
}

.checkbox label,
.radio label {
  color: var(--nx-text);
  font-weight: 500;
}

.input-group-addon {
  border-color: var(--nx-line);
  border-radius: 11px;
  background: #f8fbff;
  color: var(--nx-muted);
}

.alert {
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
}

.alert-success {
  background: #ecfdf5;
  color: #047857;
}

.alert-info {
  background: #eff6ff;
  color: #1d4ed8;
}

.alert-warning {
  background: #fffbeb;
  color: #b45309;
}

.alert-danger {
  background: #fef2f2;
  color: #b91c1c;
}

.nav-tabs {
  border-bottom: 1px solid var(--nx-line);
}

.nav-tabs > li > a {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px 10px 0 0;
  color: var(--nx-muted);
  font-size: 13px;
  font-weight: 700;
}

.nav-tabs > li > a:hover {
  border: 0;
  background: #f4f8ff;
  color: var(--nx-primary);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border: 0;
  background: #eef4ff;
  color: var(--nx-primary);
}

.nav-pills > li > a {
  border-radius: 10px;
  color: var(--nx-muted);
  font-weight: 700;
}

.nav-pills > li.active > a {
  background: var(--nx-primary);
  color: #fff;
}

.pagination > li > a,
.pagination > li > span {
  margin: 0 3px;
  border-color: var(--nx-line);
  border-radius: 9px;
  color: var(--nx-text);
}

.pagination > li > a:hover {
  background: #eef4ff;
  color: var(--nx-primary);
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
  border-color: var(--nx-primary);
  background: var(--nx-primary);
  color: #fff;
}

.dropdown-menu {
  padding: 8px;
  border: 1px solid var(--nx-line);
  border-radius: 13px;
  box-shadow: var(--nx-shadow);
}

.dropdown-menu > li > a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--nx-text);
  font-size: 13px;
  font-weight: 600;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background: #eef4ff;
  color: var(--nx-primary);
}

.modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--nx-line);
}

.modal-body {
  padding: 22px;
}

.modal-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--nx-line);
}

.label {
  border-radius: 999px;
  padding: .3em .65em;
  font-size: 11px;
  font-weight: 800;
}

.badge {
  border-radius: 999px;
  background: var(--nx-primary);
  font-size: 10px;
  font-weight: 800;
}

.well {
  border: 1px solid var(--nx-line);
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: none;
}

.list-group-item {
  border-color: #eef3fb;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  border-color: var(--nx-primary);
  background: var(--nx-primary);
  color: #fff;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #e8eef9;
  box-shadow: none;
}

.progress-bar {
  border-radius: 999px;
  background: var(--nx-primary);
}

/* Client dashboard tiles */

.tiles {
  margin-bottom: 24px;
}

.tiles .tile {
  margin-bottom: 16px;
}

.tiles .tile > a {
  display: block;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
  color: var(--nx-text);
  box-shadow: var(--nx-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tiles .tile > a:hover {
  border-color: #c7d8f5;
  box-shadow: var(--nx-shadow);
  color: var(--nx-text);
  transform: translateY(-3px);
}

.tiles .tile .icon {
  margin-bottom: 10px;
  color: var(--nx-primary);
  font-size: 20px;
}

.tiles .tile .stat {
  color: var(--nx-ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.tiles .tile .title {
  color: var(--nx-muted);
  font-size: 12px;
  font-weight: 700;
}

.tiles .tile .highlight {
  display: none;
}

.home-kb-search {
  position: relative;
  margin: 8px 0 28px;
}

.home-kb-search .form-control {
  height: 52px;
  padding-left: 18px;
  padding-right: 46px;
  border-radius: 14px;
}

.home-kb-search i {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--nx-muted);
}

.client-home-panels .panel {
  overflow: hidden;
}

.client-home-panels .panel-heading {
  border-radius: 16px 16px 0 0;
}

/* Store / cart / checkout compatibility */

.order-summary,
.cart-body,
.checkout-body {
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
}

.order-summary .order-summary-item,
.cart-body .cart-item {
  border-color: #eef3fb;
}

.domain-checker,
.domainchecker {
  border-radius: 18px;
}

.domain-checker .form-control,
.domainchecker .form-control {
  border-radius: 12px;
}

#main-body #order-standard_cart .form-control {
  border: 1px solid var(--nx-line);
  border-radius: 11px;
  background: #fff;
  color: var(--nx-ink);
  box-shadow: none;
}

#main-body #order-standard_cart .form-control:focus {
  border-color: var(--nx-primary);
  box-shadow: 0 0 0 4px rgba(25, 75, 251, .11);
}

#main-body #order-standard_cart .products .product {
  overflow: hidden;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nx-shadow-sm);
}

#main-body #order-standard_cart .products .product header {
  padding: 13px 18px;
  border-bottom: 1px solid var(--nx-line);
  border-radius: 0;
  background: #f8fbff;
}

#main-body #order-standard_cart .products .product header span {
  color: var(--nx-ink);
  font-weight: 800;
}

#main-body #order-standard_cart .products .product header .qty {
  color: var(--nx-muted);
}

#main-body #order-standard_cart .products .product div.product-desc {
  color: var(--nx-muted);
  font-size: 13px;
  line-height: 1.7;
}

#main-body #order-standard_cart .products .product div.product-pricing span.price {
  color: var(--nx-primary);
  font-weight: 800;
}

#main-body #order-standard_cart .products .product footer {
  font-size: 13px;
}

#main-body #order-standard_cart .btn-success,
#main-body #order-standard_cart .btn-order-now,
#main-body #order-standard_cart .btn-add {
  border-color: var(--nx-primary);
  background: linear-gradient(135deg, var(--nx-primary), var(--nx-primary-dark));
  color: #fff;
  box-shadow: 0 8px 18px rgba(25, 75, 251, .18);
}

#main-body #order-standard_cart .btn-success:hover,
#main-body #order-standard_cart .btn-success:focus,
#main-body #order-standard_cart .btn-order-now:hover,
#main-body #order-standard_cart .btn-order-now:focus,
#main-body #order-standard_cart .btn-add:hover,
#main-body #order-standard_cart .btn-add:focus {
  border-color: var(--nx-primary-dark);
  background: linear-gradient(135deg, var(--nx-primary-dark), #0f2f9e);
  color: #fff;
}

#main-body #order-standard_cart .order-summary {
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nx-shadow-sm);
}

/* Misc */

.nx-body .text-muted {
  color: var(--nx-muted) !important;
}

.nx-body .text-primary {
  color: var(--nx-primary) !important;
}

.nx-body .bg-primary {
  background: var(--nx-primary) !important;
}

.nx-body .margin-bottom {
  margin-bottom: 16px;
}

.nx-body .without-padding {
  padding: 0 !important;
}

.nx-body #fullpage-overlay {
  background: rgba(10, 18, 34, .72);
}

.nx-body #fullpage-overlay .inner-wrapper {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--nx-shadow);
}

.nx-body .loading {
  color: var(--nx-primary);
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .nx-hero h1 {
    font-size: 52px;
  }

  .nx-domain-card {
    gap: 18px;
  }
}

@media (max-width: 991px) {
  .nx-topbar-note {
    display: none;
  }

  .nx-topbar-inner {
    justify-content: flex-end;
  }

  .nx-navbar-inner {
    flex-wrap: wrap;
  }

  .nx-navbar .navbar-header {
    width: 100%;
    justify-content: space-between;
  }

  .nx-navbar .navbar-collapse {
    flex: 1 1 100%;
    width: 100%;
    align-self: stretch;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 8px 15px 18px;
    border-top: 1px solid var(--nx-line);
    -webkit-overflow-scrolling: touch;
  }

  #main-menu .navbar-nav.nx-primary-nav,
  #main-menu .navbar-nav.nx-secondary-nav,
  #main-menu .navbar-nav.nx-nav-actions {
    display: block;
    width: 100%;
    margin: 0;
  }

  .nx-primary-nav > li,
  .nx-secondary-nav > li,
  .nx-nav-actions > li {
    float: none;
  }

  .nx-primary-nav > li > a,
  .nx-secondary-nav > li > a {
    display: block;
    padding: 12px 10px;
  }

  .nx-nav-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--nx-line);
  }

  .nx-nav-actions > li {
    margin-bottom: 8px;
  }

  .nx-nav-actions > li:last-child {
    margin-bottom: 0;
  }

  .nx-cart-link,
  .nx-nav-actions .nx-btn {
    display: flex !important;
    justify-content: center;
    width: 100%;
  }

  .nx-cart-link {
    min-height: 42px;
  }

  .nx-cart-link .hidden-xs {
    display: inline !important;
  }

  .nx-hero {
    padding-top: 56px;
  }

  .nx-hero-row {
    display: block;
  }

  .nx-hero h1 {
    font-size: 46px;
  }

  .nx-hero-visual {
    display: none;
  }

  .nx-domain-card {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
  }

  .nx-domain-copy {
    min-width: 0;
  }

  .nx-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }

  .nx-section {
    padding: 64px 0;
  }

  .nx-feature-grid,
  .nx-product-grid,
  .nx-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nx-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
  }

  .nx-why-row {
    display: block;
  }

  .nx-metric-grid {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  body.nx-body {
    font-size: 15px;
  }

  .nx-topbar {
    display: none;
  }

  .nx-navbar,
  .nx-navbar-inner {
    min-height: 68px;
  }

  .nx-navbar .navbar-collapse {
    max-height: calc(100vh - 68px);
  }

  .nx-logo {
    max-height: 38px;
    max-width: 150px;
  }

  .nx-hero {
    padding-top: 36px;
  }

  .nx-hero-inner {
    padding-bottom: 28px;
  }

  .nx-hero h1 {
    margin: 14px 0 16px;
    font-size: 38px;
  }

  .nx-hero-lead {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.75;
  }

  .nx-hero-actions {
    gap: 10px;
    margin-bottom: 20px;
  }

  .nx-hero-actions .nx-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 12px 12px;
    font-size: 14px;
    text-align: center;
  }

  .nx-hero-points {
    gap: 8px 12px;
    font-size: 12px;
  }

  .nx-domain-card {
    padding: 18px;
  }

  .nx-domain-form .input-group {
    display: block;
  }

  .nx-domain-form .form-control {
    border-right: 1px solid var(--nx-line);
    border-radius: 12px;
  }

  .nx-domain-form .input-group-btn {
    display: flex;
    margin-top: 10px;
  }

  .nx-domain-form .btn {
    flex: 1;
    border-radius: 11px !important;
  }

  .nx-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 30px;
  }

  .nx-stat {
    min-height: 82px;
    padding: 14px 10px;
  }

  .nx-stat strong {
    font-size: 23px;
  }

  .nx-stat span {
    font-size: 11.5px;
  }

  .nx-section {
    padding: 44px 0;
  }

  .nx-section-head {
    margin-bottom: 30px;
  }

  .nx-section-head p {
    font-size: 14px;
    line-height: 1.7;
  }

  .nx-section-head.nx-split {
    display: block;
  }

  .nx-section-head.nx-split .nx-link {
    margin-top: 12px;
  }

  .nx-feature-grid,
  .nx-product-grid,
  .nx-help-grid,
  .nx-announcement-grid {
    grid-template-columns: 1fr;
  }

  .nx-feature-grid {
    gap: 12px;
  }

  .nx-feature-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon text";
    column-gap: 14px;
    row-gap: 3px;
    align-items: start;
    padding: 18px;
  }

  .nx-feature-icon {
    grid-area: icon;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 12px;
    font-size: 17px;
  }

  .nx-feature-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
  }

  .nx-feature-card p {
    grid-area: text;
    font-size: 13px;
    line-height: 1.65;
  }

  .nx-product-grid,
  .nx-help-grid,
  .nx-announcement-grid {
    gap: 12px;
  }

  .nx-product-card {
    padding: 20px;
  }

  .nx-product-top {
    margin-bottom: 14px;
  }

  .nx-product-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 16px;
  }

  .nx-product-card h3 {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .nx-product-card p {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.7;
  }

  .nx-product-card .nx-link {
    font-size: 12.5px;
  }

  .nx-metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  .nx-metric-card {
    padding: 18px 14px;
  }

  .nx-metric-card strong {
    font-size: 26px;
  }

  .nx-metric-card span {
    font-size: 12px;
    line-height: 1.45;
  }

  .nx-check-list {
    gap: 10px;
    margin-top: 20px;
  }

  .nx-why p {
    font-size: 14px;
    line-height: 1.7;
  }

  .nx-help-grid {
    gap: 10px;
  }

  .nx-help-card {
    gap: 12px;
    padding: 15px 16px;
  }

  .nx-help-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 16px;
  }

  .nx-cta {
    gap: 22px;
    padding: 24px;
    border-radius: 20px;
  }

  .nx-cta h2 {
    font-size: 24px;
  }

  .nx-cta p {
    font-size: 14px;
    line-height: 1.7;
  }

  .nx-cta-actions {
    gap: 10px;
    width: 100%;
  }

  .nx-cta-actions .nx-btn {
    flex: 1;
    padding: 11px 10px;
    font-size: 13px;
    text-align: center;
  }

  .nx-footer {
    padding-top: 48px;
  }

  .nx-footer-bottom {
    display: block;
  }

  .nx-footer-bottom ul {
    margin-top: 12px;
  }

  #main-body.nx-main-body {
    padding: 28px 0 52px;
  }

  .nx-page #main-body .main-content {
    padding: 18px;
    border-radius: 16px;
  }

  .nx-auth-page .logincontainer,
  .nx-auth-page #registration {
    padding: 22px;
    border-radius: 18px;
  }

  .header-lined h1 {
    font-size: 24px;
  }

  .table-responsive {
    border: 0;
  }

  .table > thead > tr > th,
  .table > tbody > tr > td {
    padding: 11px 12px;
  }

  #footer .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  .nx-feature-grid,
  .nx-product-grid,
  .nx-help-grid,
  .nx-announcement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nx-hero h1 {
    font-size: 31px;
  }

  .nx-stat {
    min-height: 78px;
    padding: 13px 10px;
  }

  .nx-stat strong {
    font-size: 22px;
  }

  .nx-stat span {
    font-size: 11px;
  }

  .nx-section-head h2 {
    font-size: 26px;
  }

  .nx-feature-card {
    padding: 16px;
  }

  .nx-product-card,
  .nx-announcement-card {
    padding: 18px;
  }

  .nx-metric-card {
    padding: 16px 12px;
  }

  .nx-metric-card strong {
    font-size: 24px;
  }

  .nx-cta {
    padding: 22px;
  }

  .nx-hero-points {
    gap: 7px 10px;
  }
}

@media (max-width: 359px) {
  .nx-hero h1 {
    font-size: 27px;
  }
}
