/*
Theme Name:  NodeXen Pro
Theme URI:   https://nodexen.com
Author:      NodeXen Technologies
Description: Premium dark-tech WordPress theme — conversion-focused digital agency website with animations, scroll effects, lead-gen forms, and full mobile responsiveness.
Version:     2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License:     GNU General Public License v2 or later
Text Domain: nodexen
Tags:        dark, business, agency, portfolio, full-width-template, custom-menu, responsive-layout
*/

/* ══════════════════════════════════════════════════════
   TOKENS & CUSTOM PROPERTIES
══════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --ink:       #04080f;
  --ink-2:     #080f1e;
  --ink-3:     #0d1530;
  --surface:   #111827;
  --surface-2: #162033;
  --glass:     rgba(255,255,255,0.035);
  --glass-2:   rgba(255,255,255,0.065);

  --primary:   #2563eb;
  --primary-h: #1d4ed8;
  --accent:    #8b5cf6;
  --accent-h:  #7c3aed;
  --neon:      #06b6d4;
  --green:     #10b981;
  --rose:      #f43f5e;

  --txt:    #f0f4ff;
  --txt-2:  rgba(200,215,255,0.72);
  --txt-3:  rgba(200,215,255,0.42);
  --border: rgba(120,160,255,0.10);
  --border-2: rgba(120,160,255,0.22);

  --grad-a: linear-gradient(135deg, #2563eb, #8b5cf6);
  --grad-b: linear-gradient(135deg, #06b6d4, #2563eb);
  --grad-c: linear-gradient(160deg, #2563eb18, #8b5cf618);

  /* Typography */
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Space */
  --section-py: clamp(72px, 10vw, 120px);
  --container:  1200px;
  --r:   10px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Shadows */
  --shadow-card: 0 4px 32px rgba(0,0,30,0.45);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.18);
}

/* ══════════════════════════════════════════════════════
   RESET
══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--txt);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ══════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════ */
.nx-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.nx-section { padding: var(--section-py) 0; }
.nx-section--alt { background: var(--ink-2); }
.nx-section--surface { background: var(--surface); }

/* ══════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════ */
.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon);
  margin-bottom: 14px;
}
.nx-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--neon);
}

.nx-h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
}
.nx-h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: #fff;
}
.nx-h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #fff;
}
.nx-lead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--txt-2);
  line-height: 1.8;
  max-width: 560px;
}
.nx-gradient-text {
  background: var(--grad-a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nx-section-head {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.nx-section-head.center { text-align: center; }
.nx-section-head.center .nx-lead { margin: 12px auto 0; }
.nx-section-head .nx-lead { margin-top: 12px; }

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 99px;
  padding: 13px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.nx-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.nx-btn:hover::after { opacity: 1; }

.nx-btn--primary {
  background: var(--grad-a);
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
}
.nx-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.45);
  color: #fff;
}
.nx-btn--outline {
  background: transparent;
  color: var(--txt);
  border: 1px solid var(--border-2);
}
.nx-btn--outline:hover {
  border-color: rgba(120,160,255,0.45);
  background: var(--glass-2);
  color: #fff;
  transform: translateY(-2px);
}
.nx-btn--ghost {
  background: var(--glass-2);
  color: var(--txt);
  border: 1px solid var(--border);
}
.nx-btn--ghost:hover { background: var(--glass); color: #fff; }
.nx-btn--sm { padding: 9px 20px; font-size: 13px; }
.nx-btn--lg { padding: 16px 36px; font-size: 16px; }
.nx-btn svg, .nx-btn .icon { flex-shrink: 0; }

/* Arrow icon */
.nx-arrow {
  display: inline-flex;
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.2s;
}
.nx-btn:hover .nx-arrow { transform: translateX(3px); }

/* ══════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════ */
.nx-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.nx-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-c);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.nx-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.nx-card:hover::before { opacity: 1; }

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
#nx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.35s, border-color 0.35s, padding 0.35s;
}
#nx-header.scrolled {
  background: rgba(4,8,15,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.nx-header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}
/* Logo */
.nx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nx-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nx-logo-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.nx-logo-name em {
  font-style: normal;
  color: var(--neon);
}
/* Nav */
.nx-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nx-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-2);
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.nx-nav a:hover, .nx-nav a.active {
  color: #fff;
  background: var(--glass-2);
}
/* Header right */
.nx-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nx-header-phone {
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nx-header-phone a { color: var(--neon); transition: color 0.2s; }
.nx-header-phone a:hover { color: #fff; }
/* Hamburger */
.nx-hamburger {
  display: none;
  background: var(--glass-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 8px;
  color: var(--txt);
  line-height: 1;
  font-size: 20px;
}
/* Mobile nav overlay */
.nx-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,8,15,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(20px);
}
.nx-mobile-nav.open { display: flex; }
.nx-mobile-nav a {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--txt-2);
  padding: 12px 32px;
  border-radius: 12px;
  transition: all 0.2s;
  width: 100%;
  max-width: 300px;
  text-align: center;
}
.nx-mobile-nav a:hover { color: #fff; background: var(--glass-2); }
.nx-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--glass-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--txt);
  font-size: 18px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nx-nav, .nx-header-phone { display: none; }
  .nx-hamburger { display: flex; align-items: center; }
  .nx-header-right { margin-left: auto; }
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.nx-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
/* Layered background */
.nx-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nx-hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 60% -100px, rgba(37,99,235,0.22), transparent),
    radial-gradient(ellipse 700px 500px at -10% 80%, rgba(139,92,246,0.16), transparent),
    radial-gradient(ellipse 500px 400px at 100% 100%, rgba(6,182,212,0.10), transparent),
    var(--ink);
}
.nx-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100,140,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,140,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.nx-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.nx-hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(37,99,235,0.15);
  top: -150px; right: 5%;
  animation: orbFloat 8s ease-in-out infinite;
}
.nx-hero-orb-2 {
  width: 380px; height: 380px;
  background: rgba(139,92,246,0.12);
  bottom: 0; left: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -30px); }
}
/* Hero content */
.nx-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.nx-hero-content { position: relative; z-index: 2; }
.nx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.32);
  border-radius: 99px;
  padding: 6px 16px 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 26px;
}
.nx-hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37,99,235,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(37,99,235,0); }
}
.nx-hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 24px;
}
.nx-hero-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--txt-2);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 38px;
}
.nx-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.nx-hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nx-hero-avatars {
  display: flex;
}
.nx-hero-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--grad-a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
  flex-shrink: 0;
}
.nx-hero-avatar:first-child { margin-left: 0; }
.nx-hero-proof-text {
  font-size: 13px;
  color: var(--txt-2);
}
.nx-hero-proof-text strong { color: #fff; }
/* Hero visual */
.nx-hero-visual { position: relative; z-index: 2; }
.nx-hero-card-stack {
  position: relative;
  height: 460px;
}
.nx-hero-card-main {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 3;
}
.nx-hero-card-back {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}
.nx-hero-card-back-1 { inset: -12px; z-index: 1; opacity: 0.55; transform: rotate(2.5deg); }
.nx-hero-card-back-2 { inset: -6px;  z-index: 2; opacity: 0.75; transform: rotate(-1.2deg); }
/* Stats bar */
.nx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 72px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.nx-hero-stat {
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.nx-hero-stat:last-child { border-right: none; }
.nx-hero-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.nx-hero-stat-num .hi { color: var(--neon); }
.nx-hero-stat-lbl {
  font-size: 11px;
  color: var(--txt-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-top: 3px;
}
/* Visual card content */
.nx-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.nx-dot { width: 10px; height: 10px; border-radius: 50%; }
.nx-browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--txt-3);
  font-family: var(--font-mono);
  margin-left: 8px;
}
.nx-browser-preview {
  background: var(--ink-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  height: 240px;
  position: relative;
}
.nx-browser-preview-inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(139,92,246,0.10) 50%, rgba(6,182,212,0.08) 100%),
    var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nx-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  width: 100%;
}
.nx-preview-block {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 52px;
}
.nx-preview-block.wide { grid-column: span 2; height: 32px; }
.nx-preview-block.tall { height: 100px; }
.nx-floating-badge {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  animation: badgeFloat 4s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.nx-floating-badge--tl { top: 20px; left: -30px; animation-delay: 0s; }
.nx-floating-badge--br { bottom: 30px; right: -20px; animation-delay: 2s; }
.nx-fb-icon { font-size: 22px; flex-shrink: 0; }
.nx-fb-label { font-size: 10px; color: var(--txt-3); text-transform: uppercase; letter-spacing: 0.5px; }
.nx-fb-value { font-size: 14px; font-weight: 700; color: #fff; margin-top: 1px; }
@media (max-width: 960px) {
  .nx-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .nx-hero-sub { margin-left: auto; margin-right: auto; }
  .nx-hero-btns { justify-content: center; }
  .nx-hero-proof { justify-content: center; }
  .nx-hero-visual { display: none; }
  .nx-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nx-hero-stat:nth-child(2) { border-right: none; }
  .nx-hero-stat:nth-child(3), .nx-hero-stat:nth-child(4) { border-top: 1px solid var(--border); }
}

/* ══════════════════════════════════════════════════════
   MARQUEE LOGOS BAND
══════════════════════════════════════════════════════ */
.nx-logos-band {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink-2);
  overflow: hidden;
}
.nx-logos-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.nx-logos-track:hover { animation-play-state: paused; }
.nx-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--txt-3);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color 0.2s;
  border-right: 1px solid var(--border);
}
.nx-logo-item:hover { color: var(--txt-2); }

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.nx-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.nx-service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.nx-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-a);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  transform-origin: left;
}
.nx-service-card:hover {
  border-color: var(--border-2);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,30,0.5);
}
.nx-service-card:hover::after { transform: scaleX(1); }
.nx-service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  position: relative;
}
.nx-svc-1 { background: rgba(37,99,235,0.15);  border: 1px solid rgba(37,99,235,0.30);  }
.nx-svc-2 { background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.30); }
.nx-svc-3 { background: rgba(6,182,212,0.15);  border: 1px solid rgba(6,182,212,0.30);  }
.nx-svc-4 { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.30); }
.nx-svc-5 { background: rgba(244,63,94,0.15);  border: 1px solid rgba(244,63,94,0.30);  }
.nx-svc-6 { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.30); }
.nx-service-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.nx-service-desc {
  font-size: 13px;
  color: var(--txt-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.nx-service-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nx-service-card:hover .nx-service-link { gap: 10px; }
@media (max-width: 900px) { .nx-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nx-services-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   PROCESS / HOW WE WORK
══════════════════════════════════════════════════════ */
.nx-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.nx-process-grid::after {
  content: '';
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-2) 20%, var(--border-2) 80%, transparent 100%);
}
.nx-process-step {
  text-align: center;
  padding: 0 12px 0;
  position: relative;
  z-index: 2;
}
.nx-process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-a);
  border: 3px solid var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px rgba(37,99,235,0.12);
}
.nx-process-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.nx-process-desc { font-size: 12px; color: var(--txt-3); line-height: 1.65; }
@media (max-width: 760px) {
  .nx-process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nx-process-grid::after { display: none; }
}
@media (max-width: 400px) { .nx-process-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════ */
.nx-portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.nx-filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--txt-2);
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.nx-filter-btn:hover, .nx-filter-btn.active {
  background: rgba(37,99,235,0.18);
  border-color: rgba(37,99,235,0.42);
  color: #93c5fd;
}
.nx-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nx-port-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.35s;
  padding : 10px;
  group: true;
}
.nx-port-card:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,20,0.6);
}
.nx-port-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.nx-port-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  letter-spacing: -3px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.nx-port-card:hover .nx-port-thumb-inner { transform: scale(1.06); }
.nx-port-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,8,15,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.nx-port-card:hover .nx-port-overlay { opacity: 1; }
.nx-port-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 99px;
}
.nx-port-body { padding: 22px 24px; }
.nx-port-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.nx-port-desc { font-size: 12px; color: var(--txt-2); line-height: 1.7; margin-bottom: 14px; }
.nx-port-result { font-size: 12px; font-weight: 700; color: var(--green); }
@media (max-width: 900px) { .nx-portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nx-portfolio-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   STATS SHOWCASE
══════════════════════════════════════════════════════ */
.nx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.nx-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.nx-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-a);
}
.nx-stat-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.nx-stat-num {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.nx-stat-suffix { color: var(--neon); }
.nx-stat-label { font-size: 13px; color: var(--txt-2); font-weight: 500; }
.nx-stat-icon { font-size: 28px; margin-bottom: 16px; }
@media (max-width: 760px) { .nx-stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.nx-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nx-testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  transition: all 0.3s;
  position: relative;
}
.nx-testi-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.nx-testi-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.nx-testi-text {
  font-size: 14px;
  color: var(--txt-2);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
}
.nx-testi-text::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 0;
  color: rgba(37,99,235,0.25);
  position: absolute;
  top: 10px;
  left: -4px;
}
.nx-testi-text-inner { padding-left: 20px; }
.nx-testi-author { display: flex; align-items: center; gap: 12px; }
.nx-testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.nx-testi-name { font-size: 14px; font-weight: 700; color: #fff; }
.nx-testi-role { font-size: 12px; color: var(--txt-3); margin-top: 2px; }
@media (max-width: 900px) { .nx-testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nx-testi-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.nx-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.nx-about-visual {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 32px;
}
.nx-about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nx-about-stat {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  text-align: center;
}
.nx-about-stat-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}
.nx-about-stat-num .hi { color: var(--accent); }
.nx-about-stat-lbl { font-size: 11px; color: var(--txt-3); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 4px; }
.nx-rm-card {
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(139,92,246,0.10));
  border: 1px solid rgba(139,92,246,0.28);
  border-radius: var(--r-lg);
  padding: 20px;
}
.nx-rm-card-title { font-size: 14px; font-weight: 700; color: #c4b5fd; margin-bottom: 8px; }
.nx-rm-card-desc { font-size: 13px; color: var(--txt-2); line-height: 1.8; }
.nx-why-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.nx-why-item { display: flex; align-items: flex-start; gap: 14px; }
.nx-why-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.nx-why-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.nx-why-desc  { font-size: 13px; color: var(--txt-2); line-height: 1.7; }
@media (max-width: 760px) { .nx-about-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════ */
.nx-cta-band {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
  overflow: hidden;
}
.nx-cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.18), transparent),
    var(--ink-2);
}
.nx-cta-band-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.nx-cta-band h2 { margin-bottom: 14px; }
.nx-cta-band p { color: var(--txt-2); font-size: 16px; margin-bottom: 32px; }
.nx-cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   LEAD GEN / BROCHURE SECTION
══════════════════════════════════════════════════════ */
.nx-leadgen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.nx-leadgen-form-card {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px);
}
.nx-leadgen-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 32px; }
.nx-leadgen-item { display: flex; align-items: flex-start; gap: 12px; }
.nx-leadgen-item-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0; margin-top: 1px;
}
.nx-leadgen-item-text { font-size: 13px; color: var(--txt-2); line-height: 1.6; }
.nx-leadgen-item-text strong { color: #fff; }
@media (max-width: 760px) { .nx-leadgen-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════ */
.nx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.nx-contact-info { display: flex; flex-direction: column; gap: 14px; }
.nx-contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.nx-contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.nx-contact-item:last-child { margin-bottom: 0; }
.nx-ci-icon {
  width: 42px; height: 42px;
  border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.nx-ci-label { font-size: 11px; color: var(--txt-3); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; font-weight: 600; }
.nx-ci-val { font-size: 14px; font-weight: 600; color: var(--txt); }
.nx-ci-val a { color: var(--txt); transition: color 0.2s; }
.nx-ci-val a:hover { color: var(--neon); }
.nx-ci-sub { font-size: 12px; color: var(--txt-3); margin-top: 2px; }
.nx-map-embed {
  width: 100%;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.nx-map-embed iframe { width: 100%; height: 100%; border: 0; filter: brightness(0.75) contrast(1.1); }
.nx-social-links { display: flex; gap: 10px; margin-top: 4px; }
.nx-social-link {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--glass-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--txt-2);
  transition: all 0.2s;
  text-decoration: none;
}
.nx-social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
@media (max-width: 760px) { .nx-contact-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   FORMS (shared)
══════════════════════════════════════════════════════ */
.nx-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px);
}
.nx-form-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.nx-form-sub { font-size: 13px; color: var(--txt-2); margin-bottom: 26px; line-height: 1.6; }
.nx-field { margin-bottom: 16px; }
.nx-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
@media (max-width: 520px) { .nx-field-row { grid-template-columns: 1fr; } }
.nx-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--txt-3);
  margin-bottom: 8px;
}
.nx-field input,
.nx-field select,
.nx-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--txt);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.nx-field input:focus,
.nx-field select:focus,
.nx-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
}
.nx-field input::placeholder,
.nx-field textarea::placeholder { color: var(--txt-3); }
.nx-field select option { background: #111827; color: var(--txt); }
.nx-field textarea { resize: vertical; min-height: 96px; line-height: 1.65; }
.nx-form-error {
  background: rgba(244,63,94,0.10);
  border: 1px solid rgba(244,63,94,0.30);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #fda4af;
  margin-bottom: 14px;
  display: none;
}
.nx-form-secure { font-size: 12px; color: var(--txt-3); text-align: center; margin-top: 12px; }
/* Success */
.nx-form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}
.nx-success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: rgba(16,185,129,0.12);
  border: 2px solid rgba(16,185,129,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.nx-form-success h3 { font-family: var(--font-head); font-size: 20px; color: #fff; margin-bottom: 10px; }
.nx-form-success p  { font-size: 13px; color: var(--txt-2); line-height: 1.75; margin-bottom: 18px; }
.nx-ref-pill {
  background: rgba(6,182,212,0.10);
  border: 1px solid rgba(6,182,212,0.28);
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0;
}
.nx-ref-label { font-size: 11px; color: var(--txt-3); text-transform: uppercase; letter-spacing: 0.9px; margin-bottom: 6px; }
.nx-ref-num { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--neon); letter-spacing: 2px; }

/* ══════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════ */
.nx-faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.nx-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.nx-faq-item.open { border-color: var(--border-2); }
.nx-faq-q {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  user-select: none;
  transition: background 0.2s;
  font-family: var(--font-head);
}
.nx-faq-q:hover { background: var(--glass-2); }
.nx-faq-arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--glass-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--txt-2);
  transition: all 0.3s;
  flex-shrink: 0;
}
.nx-faq-item.open .nx-faq-arrow { background: var(--primary); color: #fff; transform: rotate(45deg); }
.nx-faq-a {
  display: none;
  padding: 0 22px 20px;
  font-size: 13px;
  color: var(--txt-2);
  line-height: 1.85;
}
.nx-faq-item.open .nx-faq-a { display: block; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
#nx-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.nx-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}
.nx-footer-brand-desc {
  font-size: 13px;
  color: var(--txt-2);
  line-height: 1.8;
  max-width: 260px;
  margin: 14px 0 22px;
}
.nx-footer-col-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--txt-3);
  margin-bottom: 18px;
}
.nx-footer-links { display: flex; flex-direction: column; gap: 10px; }
.nx-footer-links li a {
  font-size: 13px;
  color: var(--txt-2);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nx-footer-links li a:hover { color: var(--neon); }
.nx-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.nx-footer-bottom p { font-size: 12px; color: var(--txt-3); }
.nx-footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.nx-footer-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--txt-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 860px) { .nx-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .nx-footer-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
══════════════════════════════════════════════════════ */
.nx-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40);
  transition: all 0.3s;
  text-decoration: none;
  border: 3px solid rgba(255,255,255,0.20);
  animation: waWiggle 3s ease-in-out 4s infinite;
}
.nx-whatsapp-btn:hover {
  transform: scale(1.10);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  color: #fff;
}
@keyframes waWiggle {
  0%,100%{ transform: rotate(0deg); }
  20%    { transform: rotate(-8deg) scale(1.05); }
  40%    { transform: rotate(8deg) scale(1.05); }
  60%    { transform: rotate(-4deg); }
  80%    { transform: rotate(4deg); }
}
.nx-whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1a1a2e;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.nx-whatsapp-btn:hover .nx-whatsapp-tooltip { opacity: 1; }

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════════════ */
.nx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.nx-reveal.nx-visible { opacity: 1; transform: none; }
.nx-reveal-delay-1 { transition-delay: 0.10s; }
.nx-reveal-delay-2 { transition-delay: 0.20s; }
.nx-reveal-delay-3 { transition-delay: 0.30s; }
.nx-reveal-delay-4 { transition-delay: 0.40s; }
.nx-reveal-delay-5 { transition-delay: 0.50s; }
.nx-reveal-delay-6 { transition-delay: 0.60s; }

/* ══════════════════════════════════════════════════════
   ACCESSIBILITY & WP CORE
══════════════════════════════════════════════════════ */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 0; z-index: 9999;
  background: var(--primary); color: #fff;
  padding: 10px 20px; border-radius: 0 0 8px 0;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }
.alignleft  { float: left;  margin-right: 1.5em; }
.alignright { float: right; margin-left:  1.5em; }
.aligncenter { display: block; margin: 0 auto; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --section-py: 64px; }
  .nx-hero { padding-top: 100px; }
  .nx-hero-stats { grid-template-columns: repeat(2,1fr); }
  .nx-whatsapp-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 22px; }
}