:root {
  --bg: #f3f6f9;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-alt: #eaf0f5;
  --ink: #0f172a;
  --muted: #607087;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.18);
  --brand: #3158aa;
  --brand-strong: #274892;
  --accent: #43beac;
  --accent-cyan: #43beac;
  --accent-soft: rgba(67, 190, 172, 0.1);
  --signal: #7c3aed;
  --dark: #0b1020;
  --dark-soft: #111827;
  --dark-card: rgba(255, 255, 255, 0.045);
  --light-card: rgba(255, 255, 255, 0.78);
  --shadow: 0 28px 70px rgba(11, 16, 32, 0.12);
  --radius: 24px;
  --max: 1180px;
  --font-display: "Geist", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f7 100%);
  color: var(--ink);
}

.nxtorder-elementor-main {
  min-height: 50vh;
}

.nxtorder-elementor-canvas {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f7 100%);
}

.admin-bar .topbar {
  top: 32px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.spotlight a:not(.button),
.case-card a:not(.button),
.contact-card a:not(.button) {
  color: var(--brand-strong);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.site-shell {
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 92%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-logo {
  display: block;
  height: 54px;
  width: auto;
}

.brand-meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(49, 88, 170, 0.1);
  background: rgba(49, 88, 170, 0.05);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: #314257;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #284a96, #3158aa);
  box-shadow: 0 16px 30px rgba(49, 88, 170, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(15, 23, 42, 0.08);
}

.button-dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 78% 20%, rgba(49, 88, 170, 0.16), transparent 18%),
    radial-gradient(circle at 86% 30%, rgba(67, 190, 172, 0.14), transparent 22%),
    linear-gradient(180deg, #0b1020 0%, #111827 100%);
  color: #eef4fb;
}

.page-hero {
  padding: 64px 0 36px;
  background:
    radial-gradient(circle at 84% 26%, rgba(49, 88, 170, 0.12), transparent 20%),
    linear-gradient(180deg, #0c1223 0%, #101a30 100%);
  color: #eef4fb;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d9e8ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
}

.section .eyebrow,
.topbar .eyebrow,
body:not(.dark) .contact-card .eyebrow {
  background: rgba(49, 88, 170, 0.06);
  border-color: rgba(49, 88, 170, 0.1);
  color: var(--brand-strong);
}

.hero-copy h1,
.page-hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.hero-copy p,
.page-hero-copy p {
  margin-top: 22px;
  color: rgba(238, 244, 251, 0.74);
  max-width: 680px;
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stat-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(238, 244, 251, 0.68);
}

.hero-panel,
.page-hero-panel {
  position: relative;
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.22);
}

.hero-panel::before,
.page-hero-panel::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -70px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(49, 88, 170, 0.18), transparent 68%);
  pointer-events: none;
}

.dashboard {
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 13, 28, 0.98), rgba(13, 26, 50, 0.96));
  color: #ecf4ff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-title {
  font-size: 18px;
  font-weight: 700;
}

.pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9be5d7;
}

.pulse::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(67, 190, 172, 0.08);
  animation: signal-pulse 2.8s infinite;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  padding: 16px;
}

.card-dark {
  padding: 18px;
  border-radius: 22px;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.metric-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.metric strong {
  display: block;
  font-size: 24px;
  font-family: var(--font-display);
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(236, 244, 255, 0.72);
}

.flow-lines {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.flow-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
}

.flow-label small,
.mini-card small,
.kpi-note small,
.list-card small {
  display: block;
  color: rgba(236, 244, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-label strong,
.mini-card strong,
.kpi-note strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.delta {
  color: #9be5d7;
  font-size: 12px;
  font-weight: 700;
}

.mini-grid {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 122px;
  margin-top: 18px;
}

.bar-chart span {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #43beac, #3158aa);
}

.bar-chart span:nth-child(1) {
  height: 48%;
}

.bar-chart span:nth-child(2) {
  height: 72%;
}

.bar-chart span:nth-child(3) {
  height: 58%;
}

.bar-chart span:nth-child(4) {
  height: 90%;
}

.bar-chart span:nth-child(5) {
  height: 66%;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.map-grid span {
  min-height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(59, 130, 246, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(67, 190, 172, 0.06), transparent 24%),
    linear-gradient(180deg, var(--dark) 0%, #101a30 100%);
  color: #eef4fa;
}

.section-dark::before,
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 95%);
  pointer-events: none;
}

.section-dark p,
.section-dark .section-copy,
.section-dark .tile p,
.section-dark .list-card p,
.section-dark .quote,
.section-dark .footnote {
  color: rgba(238, 244, 250, 0.72);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  max-width: 700px;
}

.section-copy {
  max-width: 520px;
  font-size: 17px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tile,
.list-card,
.spotlight,
.case-card,
.contact-card,
.cta-panel {
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.tile:hover,
.list-card:hover,
.spotlight:hover,
.case-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 88, 170, 0.18);
  box-shadow: 0 24px 50px rgba(11, 16, 32, 0.12);
}

.tile,
.list-card,
.spotlight,
.case-card,
.contact-card {
  padding: 24px;
}

.tile h3,
.list-card h3,
.spotlight h3,
.case-card h3,
.contact-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.tile-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
  color: var(--brand-strong);
  background: linear-gradient(135deg, rgba(67, 190, 172, 0.18), rgba(49, 88, 170, 0.12));
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 36px;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.check-list,
.metric-list,
.form-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.check-item,
.metric-item,
.form-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.check-item::before,
.metric-item::before,
.form-item::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
}

.kpi-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.kpi-note {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kpi-note strong {
  font-family: var(--font-display);
  font-size: 28px;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 246, 250, 0.84));
}

.spotlight-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.1);
}

.spotlight-dark h3,
.spotlight-dark h4 {
  color: #eef4fa;
}

.spotlight-dark .list-row {
  border-top-color: rgba(255, 255, 255, 0.09);
}

.list-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.list-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.list-row strong {
  display: block;
  font-size: 17px;
}

.list-row span {
  color: var(--muted);
  font-size: 14px;
}

.dark-note {
  color: rgba(238, 244, 250, 0.78);
}

.case-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(242, 246, 249, 0.92));
}

.quote {
  margin-top: 18px;
  font-size: 18px;
  font-style: italic;
}

.market-tags,
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.market-tags span,
.industry-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #eef4fa;
  font-size: 14px;
  font-weight: 700;
}

.cta-panel {
  padding: 34px;
  background:
    linear-gradient(135deg, #274892, #43beac);
  color: #fff;
  border: 0;
}

.cta-panel h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.cta-panel p {
  margin-top: 12px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}

.cta-panel .button-row {
  margin-top: 22px;
}

.footer {
  padding: 34px 0 54px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 23, 32, 0.08);
}

.footer p {
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.page-hero-panel .dashboard-grid {
  grid-template-columns: 1fr;
}

.page-hero-panel .dashboard {
  min-height: 100%;
}

.form-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
  color: #1f3144;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 32, 0.1);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: var(--ink);
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.field.full {
  grid-column: 1 / -1;
}

.footnote {
  margin-top: 18px;
  font-size: 13px;
}

.form-shell-live {
  display: block;
}

.form-shell-live .wpcf7 {
  width: 100%;
}

.form-shell-live .wpcf7 form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-shell-live .wpcf7-form-control-wrap {
  display: block;
}

.form-shell-live label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1f3144;
}

.form-shell-live input[type="text"],
.form-shell-live input[type="email"],
.form-shell-live input[type="tel"],
.form-shell-live input[type="number"],
.form-shell-live select,
.form-shell-live textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 32, 0.1);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: var(--ink);
}

.form-shell-live textarea {
  min-height: 144px;
  resize: vertical;
}

.form-shell-live .nxtorder-field-full {
  grid-column: 1 / -1;
}

.form-shell-live .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #284a96, #3158aa);
  box-shadow: 0 16px 30px rgba(49, 88, 170, 0.22);
  cursor: pointer;
}

.form-shell-live .wpcf7-spinner {
  margin-top: 12px;
}

.form-shell-live .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 8px 0 0 !important;
  border-radius: 16px;
  padding: 14px 16px !important;
  font-size: 14px;
}

.form-shell-live .wpcf7-not-valid-tip {
  font-size: 13px;
}

@keyframes signal-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.18);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0.04);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .split-panel,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-band,
  .metric-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar-inner,
  .section-head,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav,
  .actions {
    flex-wrap: wrap;
  }

  .brand {
    flex-wrap: wrap;
  }

  .brand-logo {
    height: 46px;
  }

  .grid-2,
  .grid-3,
  .form-shell,
  .dashboard-grid,
  .stat-row,
  .kpi-band {
    grid-template-columns: 1fr;
  }

  .form-shell-live .wpcf7 form {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 782px) {
  .admin-bar .topbar {
    top: 46px;
  }
}
