/* ═══════════════════════════════════════════════════════════════════════════
   Nexgen Business Solutions — Premium Dark Theme v3.0
   Design: Dark SaaS aesthetic — near-black backgrounds, neon accents
   Inspired by: openclawcracked.com/live, rockstarwebdesignservices.com
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ── Custom Properties ───────────────────────────────────────────────────── */
:root {
  /* ═══ LOGO-MATCHED COLOR SCHEME (from original nbsincorp.com) ═══ */
  /* Primary brand teal — matches Nexgen logo color */
  --teal-primary:    #226C87;  /* Main brand teal */
  --teal-dark:       #0b5c7a;  /* Darker teal for depth */
  --teal-bright:     #3bb3c3;  /* Bright cyan accent */
  --teal-deep:       #154659;  /* Very dark teal for bg */
  --teal-darkest:    #0A2D3D;  /* Near-black teal */

  /* Accent colors */
  --accent-red:      #d10d13;  /* CTA/accent red from old site */
  --accent-yellow:   #fde428;  /* Secondary accent */

  /* Legacy variable names — remapped to teal */
  --navy:            #154659;  /* was #1B2E5E — now deep teal */
  --electric:        #3bb3c3;  /* was #0072CE — now bright cyan */
  --deep-navy:       #0A2D3D;  /* was #0D1B2A — now darkest teal */
  --hot-pink:        #d10d13;  /* was #E84393 — now red accent */
  --green:           #00B894;
  --white:           #FFFFFF;
  --dark-bg:         #051924;  /* darkest teal-black */
  --darkest-bg:      #030F17;
  --section-alt:     #0A2D3D;

  /* Functional colors */
  --text-primary:    #FFFFFF;
  --text-muted:      rgba(255,255,255,0.72);
  --text-subtle:     rgba(255,255,255,0.5);

  /* Glass / card surfaces */
  --card-bg:         rgba(59,179,195,0.05);
  --card-border:     rgba(59,179,195,0.15);
  --glass-bg:        rgba(10,45,61,0.75);
  --glass-border:    rgba(59,179,195,0.2);

  /* Gradients — teal scheme */
  --grad-blue-pink:  linear-gradient(135deg, #3bb3c3, #226C87);
  --grad-pink-blue:  linear-gradient(135deg, #226C87, #3bb3c3);
  --grad-teal:       linear-gradient(135deg, #3bb3c3, #226C87 50%, #0b5c7a);
  --grad-hero:       linear-gradient(160deg, #030F17 0%, #0A2D3D 35%, #154659 75%, #226C87 100%);
  --grad-nav:        linear-gradient(180deg, rgba(5,25,36,0.95), rgba(5,25,36,0.8));
  --grad-red:        linear-gradient(135deg, #d10d13, #a00a0e);

  /* Shadows — teal glow */
  --shadow-pink:     0 4px 25px rgba(209,13,19,0.4);
  --shadow-blue:     0 4px 25px rgba(59,179,195,0.4);
  --shadow-teal:     0 4px 30px rgba(34,108,135,0.5);
  --shadow-card:     0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow:     0 0 40px rgba(59,179,195,0.2), 0 0 80px rgba(34,108,135,0.15);

  /* Typography */
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:    'Montserrat', 'Inter', sans-serif;

  /* Spacing */
  --section-py:      6rem;
  --container-px:    1.5rem;
  --container-max:   1200px;

  /* Transitions */
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --transition:      0.3s var(--ease-out);

  /* Radii */
  --radius-sm:       6px;
  --radius:          8px;
  --radius-lg:       16px;
  --radius-xl:       24px;
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: #051924 !important;
  background-color: #051924 !important;
  overflow-x: hidden;
}
/* Override WordPress block editor background */
body.page, body.home, body.single { background: #051924 !important; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--electric);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--hot-pink);
}

::selection {
  background: var(--electric);
  color: var(--white);
}

/* ── Custom Scrollbar ────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--darkest-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--electric);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hot-pink);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--electric) var(--darkest-bg);
}

/* ── Container ───────────────────────────────────────────────────────────── */
.nxg-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  width: 100%;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.nxg-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 0.75rem;
  display: block;
}

.nxg-gradient-text {
  background: var(--grad-blue-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nxg-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--electric);
}

.nxg-text-center { text-align: center; }
.nxg-text-muted  { color: var(--text-muted); }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nxg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(8,14,26,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition), padding var(--transition);
}

.nxg-nav.is-scrolled {
  background: rgba(8,14,26,0.92);
  padding: 0.65rem 0;
  border-bottom-color: rgba(255,255,255,0.08);
}

.nxg-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1.5rem;
}

/* Curved white plate behind the dark logo for proper visibility on dark nav */
.nxg-nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(59,179,195,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  line-height: 0;
  flex-shrink: 0;
  margin-left: 2rem;
}

.nxg-nav__logo::before {
  /* Subtle teal halo to integrate the white plate with the dark brand */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(34,108,135,0.25) 0%, rgba(59,179,195,0.25) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nxg-nav__logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(59,179,195,0.45), 0 0 24px rgba(59,179,195,0.35);
}

.nxg-nav__logo:hover::before {
  opacity: 1;
}

.nxg-nav__logo img {
  height: 60px;
  width: auto;
  display: block;
  /* Keep natural logo colors — teal + gold */
  transition: transform 0.3s ease;
}

.nxg-nav__logo:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .nxg-nav__logo {
    padding: 11px 22px;
    border-radius: 14px;
  }
  .nxg-nav__logo img {
    height: 48px;
  }
}

.nxg-nav__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nxg-nav__links > li {
  flex-shrink: 0;
  position: relative;
}

/* Vertical pipe separators between nav items — skip first item + CTA */
.nxg-nav__links > li + li:not(.nxg-nav__cta)::before {
  content: '';
  position: absolute;
  left: -0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.22);
}

.nxg-nav__links a {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nxg-nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-blue-pink);
  transition: width var(--transition);
}

.nxg-nav__links a:hover {
  color: var(--white);
}

.nxg-nav__links a:hover::after {
  width: 100%;
}

/* Wrapper <li> styling for CTA so padding lives on the <a> and nothing wraps */
.nxg-nav__cta {
  list-style: none;
}

.nxg-nav__cta > a {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.1rem;
  background: linear-gradient(135deg, var(--hot-pink), #d63384);
  color: var(--white) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow-pink);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.nxg-nav__cta > a::after {
  display: none;
}

.nxg-nav__cta > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(232,67,147,0.5);
}

/* Mobile nav toggle */
.nxg-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nxg-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Mega Menu ───────────────────────────────────────────────────────────── */
.nxg-mega {
  position: relative;
}

.nxg-mega__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 600px;
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nxg-mega:hover .nxg-mega__panel,
.nxg-mega:focus-within .nxg-mega__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nxg-mega__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--electric);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nxg-mega__link {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.4rem 0;
  padding-left: 0;
  transition: color var(--transition), padding-left var(--transition);
}

.nxg-mega__link:hover {
  color: var(--electric);
  padding-left: 0.5rem;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.nxg-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grad-hero);
  padding: 8rem var(--container-px) 5rem;
  overflow: hidden;
}

/* Animated grid overlay */
.nxg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
  pointer-events: none;
}

/* Floating glow blobs */
.nxg-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.nxg-hero__glow--blue {
  width: 500px;
  height: 500px;
  background: rgba(0,114,206,0.15);
  top: 10%;
  left: -5%;
}

.nxg-hero__glow--pink {
  width: 400px;
  height: 400px;
  background: rgba(232,67,147,0.12);
  bottom: 5%;
  right: -5%;
  animation-delay: -4s;
}

.nxg-hero__content,
.nxg-hero__inner {
  position: relative;
  z-index: 5;
  max-width: 850px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.nxg-hero__inner p,
.nxg-hero__inner h1,
.nxg-hero__inner .nxg-hero__subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.nxg-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.nxg-hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--electric);
  margin-bottom: 2rem;
}

.nxg-hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.nxg-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Page Hero (inner pages) ─────────────────────────────────────────────── */
.nxg-page-hero {
  position: relative;
  background: var(--grad-hero);
  padding: 8rem var(--container-px) 3.5rem;
  text-align: center;
  overflow: hidden;
}

.nxg-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.nxg-page-hero__content {
  position: relative;
  z-index: 2;
}

.nxg-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.nxg-breadcrumbs a {
  color: var(--electric);
}

.nxg-breadcrumbs span {
  color: var(--text-subtle);
}

/* ── Stat Bar ────────────────────────────────────────────────────────────── */
.nxg-stat-bar {
  background: linear-gradient(135deg, var(--electric), #005bb5);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.nxg-stat-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: gradientShift 6s ease infinite;
}

.nxg-stat-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.nxg-stat-bar__item {
  text-align: center;
}

.nxg-stat-bar__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.nxg-stat-bar__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.8);
  margin-top: 0.35rem;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.nxg-section {
  padding: var(--section-py) 0;
  position: relative;
}

.nxg-section--dark {
  background: var(--deep-navy);
}

.nxg-section--darker {
  background: var(--dark-bg);
}

.nxg-section--alt {
  background: var(--section-alt);
}

.nxg-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.nxg-section__header p {
  margin-top: 0.75rem;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.nxg-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.nxg-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* Gradient top border on hover */
.nxg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-blue-pink);
  opacity: 0;
  transition: opacity var(--transition);
}

.nxg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,114,206,0.3);
  box-shadow: 0 8px 40px rgba(0,114,206,0.15);
}

.nxg-card:hover::before {
  opacity: 1;
}

.nxg-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--grad-blue-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0,114,206,0.25);
}

.nxg-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.nxg-card__text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.nxg-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--electric);
  margin-top: 1rem;
  transition: gap var(--transition), color var(--transition);
}

.nxg-card__link:hover {
  gap: 0.6rem;
  color: var(--hot-pink);
}

/* ── Stat Cards ──────────────────────────────────────────────────────────── */
.nxg-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.nxg-stat-card__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--grad-blue-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.nxg-stat-card__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.nxg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  position: relative;
  overflow: hidden;
}

.nxg-btn--pink {
  background: linear-gradient(135deg, var(--hot-pink), #d63384);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.nxg-btn--pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(232,67,147,0.5);
  color: var(--white);
}

.nxg-btn--blue {
  background: linear-gradient(135deg, var(--electric), #005bb5);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.nxg-btn--blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0,114,206,0.5);
  color: var(--white);
}

.nxg-btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.nxg-btn--outline:hover {
  background: var(--white);
  color: var(--dark-bg);
  border-color: var(--white);
  transform: translateY(-2px);
}

.nxg-btn--glow {
  background: linear-gradient(135deg, var(--hot-pink), var(--electric));
  color: var(--white);
  box-shadow: 0 4px 25px rgba(232,67,147,0.3), 0 4px 25px rgba(0,114,206,0.3);
}

.nxg-btn--glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(232,67,147,0.45), 0 8px 40px rgba(0,114,206,0.45);
  color: var(--white);
}

.nxg-btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.nxg-btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ── Pills ───────────────────────────────────────────────────────────────── */
.nxg-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nxg-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  background: transparent;
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.nxg-pill:hover {
  border-color: rgba(0,114,206,0.4);
  box-shadow: 0 0 15px rgba(0,114,206,0.15);
  color: var(--electric);
}

/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.nxg-faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nxg-faq__item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.nxg-faq__item.is-open {
  border-color: rgba(0,114,206,0.3);
}

.nxg-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--section-alt);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background var(--transition);
}

.nxg-faq__question:hover {
  background: rgba(17,24,39,0.9);
}

.nxg-faq__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-blue-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--white);
  transition: transform var(--transition);
}

.nxg-faq__item.is-open .nxg-faq__icon {
  transform: rotate(45deg);
}

.nxg-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.nxg-faq__answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.nxg-faq__item.is-open .nxg-faq__answer {
  max-height: 500px;
}

/* ── E-E-A-T Block ───────────────────────────────────────────────────────── */
.nxg-eeat {
  background: rgba(17,24,39,0.6);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.nxg-eeat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-blue-pink);
}

.nxg-eeat__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nxg-eeat__text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.nxg-cta-banner {
  background: linear-gradient(135deg, var(--deep-navy), var(--navy));
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating glow blobs */
.nxg-cta-banner::before,
.nxg-cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.nxg-cta-banner::before {
  width: 300px;
  height: 300px;
  background: rgba(0,114,206,0.2);
  top: -80px;
  left: -60px;
}

.nxg-cta-banner::after {
  width: 250px;
  height: 250px;
  background: rgba(232,67,147,0.15);
  bottom: -60px;
  right: -40px;
}

.nxg-cta-banner__content {
  position: relative;
  z-index: 2;
}

.nxg-cta-banner__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.nxg-cta-banner__text {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* ── Phases / Steps ──────────────────────────────────────────────────────── */
.nxg-phases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.nxg-phase {
  text-align: center;
  position: relative;
}

.nxg-phase__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-blue-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(0,114,206,0.3), 0 4px 20px rgba(232,67,147,0.2);
  position: relative;
  z-index: 2;
}

/* Connecting line */
.nxg-phase:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--electric), rgba(0,114,206,0.2));
  z-index: 1;
}

.nxg-phase__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.nxg-phase__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Tables ──────────────────────────────────────────────────────────────── */
.nxg-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
}

.nxg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.nxg-table thead {
  background: var(--navy);
}

.nxg-table th {
  padding: 1rem 1.25rem;
  font-weight: 600;
  text-align: left;
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nxg-table td {
  padding: 0.85rem 1.25rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nxg-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.015);
}

.nxg-table tbody tr:hover {
  background: rgba(0,114,206,0.05);
}

/* ── Content Area ────────────────────────────────────────────────────────── */
.nxg-content {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.nxg-content h1,
.nxg-content h2,
.nxg-content h3,
.nxg-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.nxg-content p {
  margin-bottom: 1.25rem;
}

.nxg-content a {
  color: var(--electric);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nxg-content a:hover {
  color: var(--hot-pink);
}

.nxg-content strong,
.nxg-content b {
  color: var(--white);
  font-weight: 700;
}

.nxg-content ul,
.nxg-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.nxg-content ul li {
  list-style: none;
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.nxg-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-blue-pink);
}

.nxg-content ol li {
  margin-bottom: 0.5rem;
}

.nxg-content blockquote {
  border-left: 3px solid var(--electric);
  background: rgba(0,114,206,0.06);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}

.nxg-content img {
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.nxg-content code {
  background: rgba(0,114,206,0.12);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--electric);
}

.nxg-content pre {
  background: var(--darkest-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.nxg-content pre code {
  background: none;
  padding: 0;
  color: var(--text-muted);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.nxg-footer {
  background: var(--darkest-bg);
  padding: 4rem 0 2rem;
  position: relative;
}

.nxg-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-blue-pink);
}

.nxg-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nxg-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.nxg-footer__brand {
  max-width: 280px;
}

.nxg-footer__brand img {
  height: auto;
  width: 220px;
  max-width: 100%;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}

.nxg-footer__brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nxg-footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
}

.nxg-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nxg-footer__links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition), padding-left var(--transition);
}

.nxg-footer__links a:hover {
  color: var(--electric);
  padding-left: 0.25rem;
}

.nxg-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nxg-footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
  width: 100%;
  text-align: center;
}

.nxg-footer__copy {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.nxg-footer__socials {
  display: flex;
  gap: 1rem;
}

.nxg-footer__socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color var(--transition), transform var(--transition);
}

.nxg-footer__socials a:hover {
  color: var(--electric);
  transform: translateY(-2px);
}

/* ── Scroll Reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* Fade in from left/right */
.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.is-visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--right.is-visible {
  transform: translateX(0);
}

/* ── Keyframe Animations ─────────────────────────────────────────────────── */
@keyframes heroGlow {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gridShift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@keyframes spinSlow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Utility Classes ─────────────────────────────────────────────────────── */
.nxg-float {
  animation: float 4s ease-in-out infinite;
}

.nxg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.nxg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nxg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.nxg-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nxg-mt-1 { margin-top: 0.5rem; }
.nxg-mt-2 { margin-top: 1rem; }
.nxg-mt-3 { margin-top: 1.5rem; }
.nxg-mt-4 { margin-top: 2rem; }
.nxg-mt-5 { margin-top: 3rem; }
.nxg-mb-1 { margin-bottom: 0.5rem; }
.nxg-mb-2 { margin-bottom: 1rem; }
.nxg-mb-3 { margin-bottom: 1.5rem; }
.nxg-mb-4 { margin-bottom: 2rem; }
.nxg-mb-5 { margin-bottom: 3rem; }

.nxg-gap-1 { gap: 0.5rem; }
.nxg-gap-2 { gap: 1rem; }
.nxg-gap-3 { gap: 1.5rem; }

.nxg-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;
}

/* ── Two-Column Layout ───────────────────────────────────────────────────── */
.nxg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nxg-split--reverse {
  direction: rtl;
}

.nxg-split--reverse > * {
  direction: ltr;
}

/* ── Testimonial ─────────────────────────────────────────────────────────── */
.nxg-testimonial {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.nxg-testimonial__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.nxg-testimonial__author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.nxg-testimonial__role {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* ── Badge / Tag ─────────────────────────────────────────────────────────── */
.nxg-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  background: rgba(0,114,206,0.15);
  color: var(--electric);
}

.nxg-badge--pink {
  background: rgba(232,67,147,0.15);
  color: var(--hot-pink);
}

.nxg-badge--green {
  background: rgba(0,184,148,0.15);
  color: var(--green);
}

/* ── Form Elements ───────────────────────────────────────────────────────── */
.nxg-input,
.nxg-textarea,
.nxg-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.nxg-input:focus,
.nxg-textarea:focus,
.nxg-select:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0,114,206,0.15);
}

.nxg-input::placeholder,
.nxg-textarea::placeholder {
  color: var(--text-subtle);
}

.nxg-textarea {
  min-height: 140px;
  resize: vertical;
}

.nxg-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.nxg-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  border: none;
  margin: 2rem 0;
}

.nxg-divider--gradient {
  height: 2px;
  background: var(--grad-blue-pink);
}

/* ── Tooltip ─────────────────────────────────────────────────────────────── */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet (1024px) ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-py: 4.5rem;
  }

  .nxg-hero {
    min-height: auto;
    padding: 7rem var(--container-px) 4rem;
  }

  .nxg-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .nxg-split {
    gap: 2.5rem;
  }

  .nxg-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nxg-mega__panel {
    min-width: 480px;
    grid-template-columns: repeat(2, 1fr);
  }

  .nxg-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nxg-phase:not(:last-child)::after {
    display: none;
  }

  .nxg-cta-banner {
    padding: 3rem 2rem;
  }
}

/* ── Mobile Landscape (768px) ────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
    --container-px: 1.25rem;
  }

  .nxg-hero {
    padding: 6rem var(--container-px) 3rem;
  }

  .nxg-hero__desc {
    font-size: 1rem;
  }

  .nxg-hero__glow--blue {
    width: 300px;
    height: 300px;
  }

  .nxg-hero__glow--pink {
    width: 250px;
    height: 250px;
  }

  /* Mobile nav */
  .nxg-nav__toggle {
    display: flex;
  }

  .nxg-nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(8,14,26,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    border-left: 1px solid rgba(255,255,255,0.06);
  }

  .nxg-nav__links.is-open {
    transform: translateX(0);
  }

  .nxg-nav__links a {
    font-size: 1rem;
    padding: 0.75rem 0;
  }

  .nxg-nav__links a::after {
    bottom: 0;
  }

  /* Mega menu stacks on mobile */
  .nxg-mega__panel {
    position: static;
    transform: none;
    min-width: auto;
    grid-template-columns: 1fr;
    padding: 1rem;
    background: rgba(17,24,39,0.9);
    border: none;
    border-radius: var(--radius);
    box-shadow: none;
    display: none;
  }

  .nxg-mega.is-open .nxg-mega__panel {
    display: grid;
    opacity: 1;
    visibility: visible;
  }

  .nxg-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nxg-split--reverse {
    direction: ltr;
  }

  .nxg-grid-2,
  .nxg-grid-3 {
    grid-template-columns: 1fr;
  }

  .nxg-card-grid {
    grid-template-columns: 1fr;
  }

  .nxg-phases {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .nxg-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nxg-footer__brand {
    max-width: 100%;
  }

  .nxg-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .nxg-stat-bar__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nxg-table-wrap {
    font-size: 0.85rem;
  }

  .nxg-cta-banner {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
  }

  .nxg-page-hero {
    padding: 6rem var(--container-px) 2.5rem;
  }

  .nxg-eeat {
    padding: 1.5rem;
  }
}

/* ── Small Mobile (480px) ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --section-py: 3rem;
    --container-px: 1rem;
  }

  body {
    font-size: 15px;
  }

  .nxg-hero {
    padding: 5.5rem var(--container-px) 2.5rem;
  }

  .nxg-hero__title {
    font-size: 1.8rem;
  }

  .nxg-hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nxg-hero__actions .nxg-btn {
    width: 100%;
  }

  .nxg-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .nxg-btn--lg {
    padding: 0.85rem 2rem;
  }

  .nxg-card {
    padding: 1.5rem;
  }

  .nxg-faq__question {
    padding: 1rem 1.25rem;
    font-size: 0.925rem;
  }

  .nxg-faq__answer-inner {
    padding: 0 1.25rem 1.25rem;
  }

  .nxg-section__header {
    margin-bottom: 2.5rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .nxg-breadcrumbs {
    font-size: 0.75rem;
  }
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .nxg-nav,
  .nxg-footer,
  .nxg-cta-banner {
    display: none;
  }

  .nxg-hero {
    min-height: auto;
    background: none;
    padding: 2rem 0;
  }

  .nxg-card {
    border: 1px solid #ddd;
    box-shadow: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══ TEMPLATE CLASS COMPATIBILITY ═══════════════════════════════════════ */
/* Map template classes to CSS classes */
.nxg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.nxg-cards--3 { grid-template-columns: repeat(3, 1fr); }
.nxg-cards--2 { grid-template-columns: repeat(2, 1fr); }
.nxg-section--alt { background: #030F17; }
.nxg-section__inner { max-width: var(--max-w, 1280px); margin: 0 auto; padding: 0 1.5rem; }
.nxg-section__header { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.nxg-section__header h2 { color: var(--white); margin-bottom: 1rem; }
.nxg-section__header p { color: var(--text-secondary, rgba(255,255,255,0.65)); font-size: 1.05rem; }
.nxg-section__eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; color: var(--electric); display: block; margin-bottom: 0.5rem; }
.nxg-stat-bar__inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.nxg-stat-bar__item { flex: 1; text-align: center; padding: 0.75rem 1.5rem; color: var(--white); }
.nxg-stat-bar__item + .nxg-stat-bar__item { border-left: 1px solid rgba(255,255,255,0.2); }
.nxg-stat-bar__number { font-size: 2rem; font-weight: 800; display: block; line-height: 1.2; }
.nxg-stat-bar__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.8; }
.nxg-phase__title { color: var(--white); }
.nxg-phase__text { color: var(--text-secondary, rgba(255,255,255,0.65)); font-size: 0.875rem; }
.nxg-pill { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); padding: 0.625rem 1.25rem; border-radius: 50px; font-size: 0.875rem; font-weight: 500; color: var(--text-primary, rgba(255,255,255,0.85)); transition: all 0.3s ease; }
.nxg-pill:hover { border-color: var(--electric); box-shadow: 0 0 15px rgba(0,114,206,0.2); }
.nxg-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.nxg-callout { background: rgba(0,114,206,0.08); border-left: 4px solid var(--electric); padding: 1.25rem 1.5rem; border-radius: 0 0.5rem 0.5rem 0; font-weight: 500; color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 1.5rem 0; }

/* Floating badges */
.nxg-floating-badge { position: absolute; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.7); backdrop-filter: blur(10px); z-index: 3; }
.nxg-floating-badge--tl { top: 20%; left: 5%; }
.nxg-floating-badge--tr { top: 15%; right: 5%; }
.nxg-floating-badge--bl { bottom: 30%; left: 5%; }
.nxg-floating-badge__dot { width: 8px; height: 8px; border-radius: 50%; }
.nxg-floating-badge__dot--green { background: #00B894; box-shadow: 0 0 8px #00B894; }
.nxg-floating-badge__dot--blue { background: #3bb3c3; box-shadow: 0 0 8px #3bb3c3; }
.nxg-floating-badge__dot--pink { background: #d10d13; box-shadow: 0 0 8px #d10d13; }
.nxg-floating-badge__status { font-weight: 700; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 4px; }
.nxg-floating-badge__status--green { color: #00B894; background: rgba(0,184,148,0.15); }
.nxg-floating-badge__status--blue { color: #3bb3c3; background: rgba(59,179,195,0.15); }
.nxg-floating-badge__status--pink { color: #d10d13; background: rgba(209,13,19,0.15); }

/* Gradient text utility — teal scheme */
.text-gradient { background: linear-gradient(135deg, #3bb3c3, #226C87); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ═══ REVEAL FIX — show content even if JS fails ═══════════════════════ */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  animation: revealFallback 0s 1.5s forwards;
}
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible {
  opacity: 1 !important;
  transform: none !important;
  animation: none;
}
@keyframes revealFallback {
  to { opacity: 1; transform: none; }
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }

/* Responsive fixes */
@media (max-width: 768px) {
  .nxg-cards--3, .nxg-cards--2 { grid-template-columns: 1fr; }
  .nxg-floating-badge { display: none; }
  .nxg-stat-bar__inner { flex-direction: column; gap: 1rem; }
  .nxg-stat-bar__item + .nxg-stat-bar__item { border-left: none; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; }
  .nxg-phases { grid-template-columns: 1fr; }
  .nxg-footer__grid { grid-template-columns: 1fr; }
}

/* ═══ HERO IMAGE SLIDER ════════════════════════════════════════════════════ */
.nxg-hero {
  position: relative;
  overflow: hidden;
}

/* Slider container — behind hero content */
.nxg-hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.nxg-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease-in-out, transform 10s ease-out;
  will-change: opacity, transform;
}

.nxg-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Dark overlay on slider for text readability */
.nxg-hero__slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 25, 36, 0.55) 0%,
    rgba(5, 25, 36, 0.72) 40%,
    rgba(5, 25, 36, 0.88) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Additional teal tint overlay for brand cohesion */
.nxg-hero__slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 108, 135, 0.35) 0%,
    rgba(10, 45, 61, 0.4) 50%,
    rgba(11, 92, 122, 0.3) 100%
  );
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Hero content must sit above slider overlays */
.nxg-hero__inner {
  position: relative;
  z-index: 5;
}
.nxg-hero__grid,
.nxg-hero__glow {
  position: absolute !important;
  pointer-events: none;
  z-index: 2;
}
.nxg-hero__glow--blue {
  top: 10%;
  left: -5%;
}
.nxg-hero__glow--pink {
  bottom: 5%;
  right: -5%;
}
.nxg-hero__grid {
  inset: 0;
  width: 100%;
  height: 100%;
}
.nxg-floating-badge {
  position: absolute;
  z-index: 3;
}

/* Slider navigation dots */
.nxg-hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 6;
}

.nxg-hero__dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.nxg-hero__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.nxg-hero__dot.is-active {
  background: linear-gradient(90deg, #3bb3c3, #226C87);
  box-shadow: 0 0 15px rgba(59, 179, 195, 0.6);
  width: 60px;
}

/* Slider progress bar (subtle animation indicator) */
.nxg-hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 6;
}

.nxg-hero__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3bb3c3, #226C87);
  box-shadow: 0 0 10px rgba(59, 179, 195, 0.6);
  width: 0%;
  transition: width 0.1s linear;
}

/* Ken Burns subtle zoom animation */
@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.nxg-hero__slide.is-active {
  animation: kenBurns 8s ease-out forwards;
}

@media (max-width: 768px) {
  .nxg-hero__dots { bottom: 24px; }
  .nxg-hero__dot { width: 30px; }
  .nxg-hero__dot.is-active { width: 45px; }
}

/* ═══ LIVE STATUS STRIP ═════════════════════════════════════════════════ */
.nxg-status-strip {
  background: linear-gradient(180deg, #0A2D3D 0%, #154659 50%, #0A2D3D 100%);
  border-top: 1px solid rgba(59,179,195,0.4);
  border-bottom: 1px solid rgba(59,179,195,0.4);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5), 0 -10px 40px -10px rgba(0,0,0,0.5);
}
.nxg-status-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,179,195,0.4), transparent);
}
.nxg-status-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}
.nxg-status-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem 0;
}
.nxg-status-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  animation: statusPulse 2s ease-in-out infinite;
}
.nxg-status-item__dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: 0.3;
  animation: statusRipple 2s ease-out infinite;
}
.nxg-status-item__dot--green { background: #00B894; box-shadow: 0 0 12px #00B894; }
.nxg-status-item__dot--green::before { background: #00B894; }
.nxg-status-item__dot--teal { background: #3bb3c3; box-shadow: 0 0 12px #3bb3c3; }
.nxg-status-item__dot--teal::before { background: #3bb3c3; }
.nxg-status-item__dot--red { background: #d10d13; box-shadow: 0 0 12px #d10d13; }
.nxg-status-item__dot--red::before { background: #d10d13; }
.nxg-status-item__content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nxg-status-item__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.nxg-status-item__value {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  margin-top: 2px;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}
@keyframes statusRipple {
  0%   { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(2.2); opacity: 0; }
}
@media (max-width: 768px) {
  .nxg-status-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 480px) {
  .nxg-status-strip__inner { grid-template-columns: 1fr; }
}

/* Hide old floating badges if they appear */
.nxg-floating-badge { display: none !important; }

/* ═══ COMPACT HERO VARIANT — For inner pages ═══════════════════════════════ */
.nxg-hero--compact {
  min-height: 560px !important;
  max-height: 620px;
  padding: 7rem var(--container-px) 3rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nxg-hero--compact .nxg-hero__inner {
  max-width: 900px;
}
.nxg-hero--compact h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  margin-top: 0.75rem;
}
.nxg-hero--compact .nxg-hero__subtitle {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.nxg-hero--compact p:not(.nxg-hero__subtitle):not(.nxg-breadcrumbs) {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.nxg-hero--compact .nxg-breadcrumbs {
  margin-bottom: 1rem;
  font-size: 0.8rem;
}
.nxg-hero--compact .nxg-breadcrumbs a {
  color: #3bb3c3;
}
.nxg-hero--compact .nxg-hero__actions {
  margin-top: 1.5rem;
}

/* Compact hero buttons smaller */
.nxg-hero--compact .nxg-btn {
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nxg-hero--compact {
    min-height: 460px !important;
    padding: 6rem var(--container-px) 2.5rem !important;
  }
  .nxg-hero--compact h1 {
    font-size: 1.5rem;
  }
}

/* ═══ INNER PAGE CONTENT LAYOUT (v4.4.0) ══════════════════════════════════ */
.nxg-page-body {
  background: var(--dark-bg);
}

.nxg-section--first {
  padding-top: 5rem;
}

.nxg-section__body {
  position: relative;
}

.nxg-section__content {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.nxg-section__content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.nxg-section__content h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.nxg-section__content h3:first-child {
  margin-top: 0;
}

.nxg-section__content strong {
  color: var(--white);
}

.nxg-section__content a {
  color: var(--teal-bright);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(59,179,195,0.3);
  transition: all 0.25s ease;
}

.nxg-section__content a:hover {
  color: var(--white);
  border-bottom-color: var(--teal-bright);
}

.nxg-inline-link {
  color: var(--teal-bright) !important;
  font-weight: 600;
  border-bottom: 1px dashed rgba(59,179,195,0.4);
}

.nxg-section__content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.nxg-section__content ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.nxg-section__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59,179,195,0.6);
}

/* Info list (styled key/value for Facts sections) */
.nxg-info-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 2rem auto !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 760px;
}

.nxg-info-list li {
  display: grid !important;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: 1.5rem;
  padding: 1rem 1.5rem !important;
  background: rgba(59,179,195,0.05) !important;
  border-left: 3px solid var(--teal-bright);
  border-radius: 0 6px 6px 0;
  align-items: center;
}

.nxg-info-list li::before {
  display: none !important;
}

.nxg-info-list__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--teal-bright);
}

.nxg-info-list__value {
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .nxg-info-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Card grid for bold-lead paragraph clusters */
.nxg-section__content .nxg-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.nxg-section__content .nxg-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nxg-section__content .nxg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-bright), var(--teal-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nxg-section__content .nxg-card:hover {
  border-color: rgba(59,179,195,0.3);
  background: rgba(59,179,195,0.04);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.nxg-section__content .nxg-card:hover::before {
  opacity: 1;
}

.nxg-section__content .nxg-card__title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.nxg-section__content .nxg-card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Phases (numbered cards) inside section content */
.nxg-section__content .nxg-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
  position: relative;
}

.nxg-section__content .nxg-phases::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-bright), var(--teal-primary), var(--teal-bright));
  opacity: 0.3;
  z-index: 0;
}

.nxg-section__content .nxg-phase {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.nxg-section__content .nxg-phase__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(59,179,195,0.4);
}

.nxg-section__content .nxg-phase__title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.nxg-section__content .nxg-phase__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .nxg-section__content .nxg-phases {
    grid-template-columns: 1fr;
  }
  .nxg-section__content .nxg-phases::before {
    display: none;
  }
}

/* Inline CTA block inside sections */
.nxg-section__content .nxg-cta-block {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Callouts inside section content */
.nxg-section__content .nxg-callout {
  background: linear-gradient(135deg, rgba(59,179,195,0.08), rgba(34,108,135,0.06));
  border-left: 3px solid var(--teal-bright);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 10px 10px 0;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

/* Full mid-page CTA banner section */
.nxg-section--cta {
  padding: 3rem 1.5rem;
}

.nxg-section--cta .nxg-cta-banner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--navy) 100%);
  border: 1px solid rgba(59,179,195,0.2);
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nxg-section--cta .nxg-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(59,179,195,0.15), transparent 70%);
  pointer-events: none;
}

.nxg-section--cta .nxg-cta-banner__inner {
  position: relative;
  z-index: 1;
}

.nxg-section--cta .nxg-cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.75rem 0 1rem;
}

.nxg-section--cta .nxg-cta-banner__text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.nxg-section--cta .nxg-cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Tables inside sections */
.nxg-section__content .nxg-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.nxg-section__content table {
  width: 100%;
  border-collapse: collapse;
}

.nxg-section__content th {
  background: rgba(59,179,195,0.1);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nxg-section__content td {
  padding: 1rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

/* Page H1 (hero already shows title, hide duplicate) */
.nxg-page-h1 {
  display: none;
}

/* FAQ inside section wrapper */
.nxg-section .nxg-faq {
  margin-top: 0;
}

/* E-E-A-T inside section wrapper */
.nxg-section .nxg-eeat {
  background: rgba(59,179,195,0.04);
  border: 1px solid rgba(59,179,195,0.15);
  border-radius: 14px;
  padding: 2rem;
}

.nxg-section .nxg-eeat__title {
  color: var(--teal-bright);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nxg-section .nxg-eeat__content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Subheadline inside sections */
.nxg-section__content .nxg-subheadline {
  font-size: 1.25rem;
  color: var(--teal-bright);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ═══ FOOTER FIX (v4.5.0) ═════════════════════════════════════════════════ */
/* The HTML uses <h4> and bare <a> inside .nxg-footer__col — add styles */
.nxg-footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin: 0 0 1.25rem 0;
  padding: 0;
}

.nxg-footer__col > a {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
  line-height: 1.4;
  border: none !important;
}

.nxg-footer__col > a:hover {
  color: var(--teal-bright);
  padding-left: 0.25rem;
}

.nxg-footer__col p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.nxg-footer__col p a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  border: none !important;
}

.nxg-footer__col p a:hover {
  color: var(--teal-bright);
}

.nxg-footer__brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.nxg-footer__social {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}

.nxg-footer__social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.72);
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none !important;
}

.nxg-footer__social a svg {
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.nxg-footer__social a:hover {
  background: linear-gradient(135deg, rgba(34,108,135,0.85) 0%, rgba(59,179,195,0.85) 100%);
  border-color: rgba(59,179,195,0.9);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(59,179,195,0.35);
  padding-left: 0 !important;
}

.nxg-footer__social a:hover svg {
  transform: scale(1.08);
}

.nxg-footer__social a:focus-visible {
  outline: 2px solid var(--teal-bright, #3bb3c3);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .nxg-footer__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 640px) {
  .nxg-footer__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ═══ FORMS (v4.5.0) ══════════════════════════════════════════════════════ */
.nxg-section__content .nxg-form {
  max-width: 720px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(59,179,195,0.03);
  border: 1px solid rgba(59,179,195,0.15);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.nxg-form__row {
  display: flex;
  gap: 1rem;
}

.nxg-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nxg-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nxg-form__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nxg-form__req {
  color: var(--accent-red);
  font-weight: 700;
}

.nxg-form__field input[type="text"],
.nxg-form__field input[type="email"],
.nxg-form__field input[type="tel"],
.nxg-form__field input[type="url"],
.nxg-form__field select,
.nxg-form__field textarea {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(59,179,195,0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
  width: 100%;
}

.nxg-form__field input:focus,
.nxg-form__field select:focus,
.nxg-form__field textarea:focus {
  outline: none;
  border-color: var(--teal-bright);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 3px rgba(59,179,195,0.15);
}

.nxg-form__field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.nxg-form__field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233bb3c3' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.nxg-form__field select option {
  background: var(--deep-navy);
  color: var(--white);
}

.nxg-form__field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(59,179,195,0.04);
  border-radius: 8px;
  border: 1px solid rgba(59,179,195,0.1);
}

.nxg-form__checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
  color: var(--text-muted) !important;
}

.nxg-form__checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal-bright);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}

.nxg-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.nxg-form__submit .nxg-btn {
  min-width: 260px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .nxg-section__content .nxg-form {
    padding: 1.75rem 1.25rem;
  }
  .nxg-form__row--split {
    grid-template-columns: 1fr;
  }
}

/* ═══ A.I.M. MEGA MENU (v4.6.0) ════════════════════════════════════════════ */
.nxg-mega__panel--aim {
  display: block !important;
  grid-template-columns: none !important;
  min-width: 780px;
  width: 820px;
  padding: 1.75rem 2rem 1.5rem;
  background: #0a1422 !important;
  background: linear-gradient(180deg, #0d1b2a 0%, #0a1422 100%) !important;
  border: 1px solid rgba(59,179,195,0.18) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(59,179,195,0.08) !important;
  z-index: 1000;
}

.nxg-mega { z-index: 1000; }

.nxg-mega__intro {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.nxg-mega__eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-bright, #3bb3c3);
  margin-bottom: 0.4rem;
}

.nxg-mega__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.nxg-mega__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.nxg-mega__panel--aim .nxg-mega__col {
  display: flex;
  flex-direction: column;
}

.nxg-mega__col-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nxg-mega__letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #226C87 0%, #3bb3c3 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-display, inherit);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(59,179,195,0.35);
}

.nxg-mega__col-head h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin: 0 0 0.15rem 0;
  padding: 0;
  border: 0;
}

.nxg-mega__col-head p {
  font-size: 0.7rem;
  color: var(--text-subtle, rgba(255,255,255,0.55));
  margin: 0;
  line-height: 1.2;
}

.nxg-mega__panel--aim .nxg-mega__col > a {
  display: block;
  color: var(--text-muted);
  font-size: 0.825rem;
  padding: 0.32rem 0;
  text-decoration: none;
  border: none !important;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nxg-mega__panel--aim .nxg-mega__col > a:hover {
  color: var(--teal-bright, #3bb3c3);
  padding-left: 0.35rem;
}

.nxg-mega__view-all {
  margin-top: 0.5rem;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-bright, #3bb3c3) !important;
}

.nxg-mega__view-all:hover {
  color: #fff !important;
}

.nxg-mega__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nxg-mega__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  border: none !important;
  transition: color 0.2s ease, background 0.2s ease;
}

.nxg-mega__cta:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.nxg-mega__cta--primary {
  background: linear-gradient(135deg, #226C87 0%, #3bb3c3 100%);
  color: #fff !important;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  box-shadow: 0 4px 16px rgba(59,179,195,0.3);
}

.nxg-mega__cta--primary:hover {
  background: linear-gradient(135deg, #3bb3c3 0%, #226C87 100%);
  transform: translateY(-1px);
  color: #fff !important;
}

@media (max-width: 1024px) {
  .nxg-mega__panel--aim {
    min-width: auto !important;
    width: 100% !important;
    padding: 1rem !important;
  }
  .nxg-mega__cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .nxg-mega__intro { text-align: left; }
  .nxg-mega__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .nxg-mega__cta { text-align: center; }
}

/* ═══ A.I.M. ANIMATED EXPLAINER (v4.6.2) ═══════════════════════════════════ */
.aim-explainer {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 2.5rem auto 1rem;
  padding: 3rem 2rem 2.5rem;
  background: linear-gradient(135deg, #0d1b2a 0%, #0a1422 60%, #08111c 100%);
  border: 1px solid rgba(59,179,195,0.22);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
}

.aim-explainer__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59,179,195,0.18) 0%, rgba(34,108,135,0.08) 35%, transparent 70%);
  pointer-events: none;
  animation: aim-glow-pulse 6s ease-in-out infinite;
}

.aim-explainer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1.25rem;
}

.aim-divider {
  width: 1px;
  height: 110px;
  background: linear-gradient(180deg, transparent 0%, rgba(59,179,195,0.35) 50%, transparent 100%);
  align-self: center;
  opacity: 0;
  animation: aim-divider-fade 0.8s ease-out forwards;
}

.aim-divider--1 { animation-delay: 1.0s; }
.aim-divider--2 { animation-delay: 1.7s; }

.aim-letter {
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  animation: aim-letter-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.aim-letter--a { animation-delay: 0.2s; }
.aim-letter--i { animation-delay: 0.9s; }
.aim-letter--m { animation-delay: 1.6s; }

@keyframes aim-letter-enter {
  to { opacity: 1; transform: translateY(0); }
}

.aim-letter__svg-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 130px;
  margin-bottom: 0.85rem;
}

.aim-letter__svg {
  width: auto;
  height: 110px;
  max-width: 100%;
  filter: drop-shadow(0 6px 24px rgba(59,179,195,0.35));
}

.aim-letter__path {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: aim-letter-draw 1.2s ease-out forwards, aim-letter-glow 4s ease-in-out 2.5s infinite;
}

.aim-letter--a .aim-letter__path { animation-delay: 0.3s, 2.6s; }
.aim-letter--i .aim-letter__path { animation-delay: 1.0s, 3.0s; }
.aim-letter--m .aim-letter__path { animation-delay: 1.7s, 3.4s; }

@keyframes aim-letter-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes aim-letter-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(59,179,195,0)); }
  50% { filter: drop-shadow(0 0 18px rgba(59,179,195,0.55)); }
}

@keyframes aim-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes aim-divider-fade {
  to { opacity: 1; }
}

.aim-letter__label {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.3;
}

.aim-letter__tag {
  font-size: 0.78rem;
  color: #3bb3c3;
  margin-top: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.aim-explainer__caption {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  animation: aim-letter-enter 0.8s ease-out 2.4s forwards;
}

@media (max-width: 720px) {
  .aim-explainer {
    padding: 2rem 1.25rem 1.75rem;
    margin: 2rem auto 0.5rem;
  }
  .aim-explainer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .aim-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59,179,195,0.35) 50%, transparent 100%);
    justify-self: center;
  }
  .aim-letter__svg { height: 90px; }
  .aim-letter__svg-wrap { height: 100px; margin-bottom: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .aim-letter,
  .aim-divider,
  .aim-explainer__caption,
  .aim-letter__path,
  .aim-explainer__glow {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ═══ VS COMPARISON BLOCK (v4.6.4) ═════════════════════════════════════════ */
.nxg-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nxg-vs__col {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.nxg-vs__col--before {
  background: rgba(209,13,19,0.06);
  border-color: rgba(209,13,19,0.2);
}

.nxg-vs__col--after {
  background: rgba(59,179,195,0.06);
  border-color: rgba(59,179,195,0.2);
}

.nxg-vs__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nxg-vs__header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.nxg-vs__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.nxg-vs__icon--red {
  background: rgba(209,13,19,0.15);
  color: #ff4d4d;
  box-shadow: 0 0 20px rgba(209,13,19,0.25);
}

.nxg-vs__icon--teal {
  background: rgba(59,179,195,0.15);
  color: #3bb3c3;
  box-shadow: 0 0 20px rgba(59,179,195,0.25);
}

.nxg-vs__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nxg-vs__item:last-child { border-bottom: none; }

.nxg-vs__x {
  color: #ff4d4d;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.nxg-vs__check {
  color: #3bb3c3;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .nxg-vs { grid-template-columns: 1fr; }
}

/* ═══ TIER COMPARISON CARDS (v4.6.4) ═══════════════════════════════════════ */
.nxg-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.nxg-tier-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nxg-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.nxg-tier-card--featured {
  border-color: rgba(59,179,195,0.45);
  background: linear-gradient(135deg, rgba(34,108,135,0.12) 0%, rgba(59,179,195,0.08) 100%);
  box-shadow: 0 0 30px rgba(59,179,195,0.12);
}

.nxg-tier-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #226C87, #3bb3c3);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.nxg-tier-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.35rem 0;
}

.nxg-tier-card__source {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem 0;
}

.nxg-tier-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.nxg-tier-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

.nxg-tier-card__features li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.nxg-tier-card__features li:last-child { border-bottom: none; }

.nxg-tier-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #3bb3c3;
  font-weight: 700;
  font-size: 0.8rem;
}

.nxg-tier-card--featured .nxg-tier-card__features li::before {
  color: #3bb3c3;
  text-shadow: 0 0 8px rgba(59,179,195,0.4);
}

@media (max-width: 768px) {
  .nxg-tier-grid { grid-template-columns: 1fr; }
}

/* ═══ SERVICE AREAS GRID (v4.6.5) ══════════════════════════════════════════ */
.nxg-service-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 2.5rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.nxg-service-area-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(59,179,195,0.15);
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nxg-service-area-card:hover {
  background: linear-gradient(135deg, rgba(34,108,135,0.25) 0%, rgba(59,179,195,0.15) 100%);
  border-color: rgba(59,179,195,0.55);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,179,195,0.22);
}

.nxg-service-area-card__arrow {
  color: #3bb3c3;
  font-weight: 700;
  transition: transform 0.25s ease;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.nxg-service-area-card:hover .nxg-service-area-card__arrow {
  transform: translateX(4px);
}

.nxg-service-areas__footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle, rgba(255,255,255,0.55));
}

.nxg-service-areas__footer strong {
  color: #3bb3c3;
  font-weight: 600;
}

@media (max-width: 520px) {
  .nxg-service-areas {
    grid-template-columns: 1fr;
  }
}

/* ═══ STICKY MOBILE CTA BAR (v4.7.0) ═══════════════════════════════════════ */
.nxg-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .nxg-mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: linear-gradient(180deg, rgba(10,20,34,0.92) 0%, rgba(10,20,34,0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59,179,195,0.25);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.35);
    gap: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .nxg-mobile-cta__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    margin: 0 4px;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
  .nxg-mobile-cta__btn svg {
    width: 20px;
    height: 20px;
  }
  .nxg-mobile-cta__btn:active {
    transform: scale(0.96);
  }
  .nxg-mobile-cta__btn--primary {
    background: linear-gradient(135deg, #226C87 0%, #3bb3c3 100%);
    border-color: rgba(59,179,195,0.6);
    box-shadow: 0 4px 14px rgba(59,179,195,0.35);
  }
  /* Offset body so content doesn't sit behind the fixed bar */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  /* Hide when any modal/chat opens */
  body.has-modal .nxg-mobile-cta {
    display: none;
  }
}

/* ═══ AWARDS / CERTIFICATIONS TRUST STRIP (v4.7.0) ═══════════════════════ */
.nxg-awards {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(59,179,195,0.1);
  border-bottom: 1px solid rgba(59,179,195,0.1);
  padding: 1.5rem 0;
  overflow: hidden;
}

.nxg-awards__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.nxg-awards__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.nxg-awards__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nxg-awards__badge:hover {
  color: #3bb3c3;
}

.nxg-awards__badge svg {
  width: 20px;
  height: 20px;
  color: #3bb3c3;
  flex-shrink: 0;
}

.nxg-awards__badge strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .nxg-awards__inner {
    gap: 1.25rem;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 24px 0.5rem;
  }
  .nxg-awards__inner::-webkit-scrollbar { display: none; }
  .nxg-awards__eyebrow {
    font-size: 0.65rem;
    padding-right: 1rem;
  }
}

/* ═══ ROI CALCULATOR (v4.7.0) ═══════════════════════════════════════════ */
.nxg-calc {
  background: linear-gradient(135deg, #0d1b2a 0%, #0a1422 100%);
  border: 1px solid rgba(59,179,195,0.22);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 860px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.nxg-calc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #226C87 0%, #3bb3c3 100%);
}

.nxg-calc__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #3bb3c3;
  margin: 0 0 0.5rem 0;
}

.nxg-calc__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.nxg-calc__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 1.75rem 0;
}

.nxg-calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.nxg-calc__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nxg-calc__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

.nxg-calc__hint {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: -0.2rem;
  font-style: italic;
}

.nxg-calc__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59,179,195,0.25);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.nxg-calc__input:focus {
  outline: none;
  border-color: #3bb3c3;
  background: rgba(59,179,195,0.06);
  box-shadow: 0 0 0 3px rgba(59,179,195,0.15);
}

.nxg-calc__result {
  background: linear-gradient(135deg, rgba(34,108,135,0.2) 0%, rgba(59,179,195,0.12) 100%);
  border: 1px solid rgba(59,179,195,0.4);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.nxg-calc__result-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.nxg-calc__result-number {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3bb3c3 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin: 0.25rem 0;
  font-variant-numeric: tabular-nums;
}

.nxg-calc__result-period {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.35rem;
}

.nxg-calc__breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.nxg-calc__breakdown-item {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.nxg-calc__breakdown-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nxg-calc__breakdown-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3bb3c3;
  margin-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.nxg-calc__cta {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}

.nxg-calc__disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin-top: 1.25rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .nxg-calc { padding: 1.75rem 1.25rem; }
  .nxg-calc__grid { grid-template-columns: 1fr; }
  .nxg-calc__breakdown { grid-template-columns: 1fr; }
}

/* ═══ HERO TRUST PILLS (v4.7.1) ═══════════════════════════════════════════ */
.nxg-hero__pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.nxg-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(59,179,195,0.25);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nxg-hero__pill strong {
  color: #3bb3c3;
  font-weight: 700;
}

.nxg-hero__pill svg {
  flex-shrink: 0;
  color: #3bb3c3;
}

.nxg-hero__pill-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00B894;
  box-shadow: 0 0 8px rgba(0,184,148,0.7);
  position: relative;
  animation: pillPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pillPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.15); }
}

@media (max-width: 640px) {
  .nxg-hero__pills {
    gap: 0.4rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nxg-hero__pill {
    justify-content: center;
    font-size: 0.72rem;
  }
}

/* ═══ TOPBAR CLIENT PORTAL LINK (v4.7.1) ═════════════════════════════════ */
.nxg-topbar__portal {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.nxg-topbar__portal:hover {
  color: #3bb3c3 !important;
}

.nxg-topbar__portal svg {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .nxg-topbar__portal {
    display: none !important;
  }
}

/* ═══ HURRICANE SEASON BANNER (v4.7.1) ════════════════════════════════════ */
.nxg-hurricane-banner {
  background: linear-gradient(135deg, #7a2b0b 0%, #d1740d 60%, #f5a742 100%);
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nxg-hurricane-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nxg-hurricane-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
  animation: hurricaneSpin 4s linear infinite;
}

@keyframes hurricaneSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nxg-hurricane-banner__text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.nxg-hurricane-banner__text strong {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nxg-hurricane-banner__text a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  margin-left: 0.25rem;
}

.nxg-hurricane-banner__close {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nxg-hurricane-banner__close:hover {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.55);
}

@media (max-width: 640px) {
  .nxg-hurricane-banner__inner {
    padding: 10px 16px;
    gap: 0.6rem;
  }
  .nxg-hurricane-banner__icon {
    width: 28px;
    height: 28px;
  }
  .nxg-hurricane-banner__text {
    font-size: 0.78rem;
  }
}

/* ═══ ASSESSMENT CHOICE CARDS (v4.7.8) ═══════════════════════════════════ */
.nxg-assess-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 1080px;
  margin: 2rem auto 0;
}

/* Hide any empty paragraph tags WordPress wpautop inserts between cards */
.nxg-assess-grid > p,
.nxg-flowgraph > p,
.nxg-journey > p,
.nxg-leak > p {
  display: none;
}

.nxg-assess-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(13,27,42,0.6) 0%, rgba(10,20,34,0.9) 100%);
  border: 1px solid rgba(59,179,195,0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none !important;
  color: inherit;
}

.nxg-assess-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,179,195,0.55);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,179,195,0.35);
}

.nxg-assess-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1b2a;
}

.nxg-assess-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.nxg-assess-card:hover .nxg-assess-card__media img {
  transform: scale(1.06);
}

.nxg-assess-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,20,34,0.92) 100%);
  pointer-events: none;
}

/* Color accents per pillar */
.nxg-assess-card--ai .nxg-assess-card__accent,
.nxg-assess-card--it .nxg-assess-card__accent,
.nxg-assess-card--mkt .nxg-assess-card__accent,
.nxg-assess-card--smart .nxg-assess-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
}

.nxg-assess-card--ai .nxg-assess-card__accent {
  background: linear-gradient(90deg, #8b5cf6 0%, #3bb3c3 100%);
}
.nxg-assess-card--it .nxg-assess-card__accent {
  background: linear-gradient(90deg, #226C87 0%, #3bb3c3 100%);
}
.nxg-assess-card--mkt .nxg-assess-card__accent {
  background: linear-gradient(90deg, #d10d13 0%, #f59e0b 100%);
}
.nxg-assess-card--smart .nxg-assess-card__accent {
  background: linear-gradient(90deg, #10b981 0%, #3bb3c3 100%);
}

.nxg-assess-card__pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(10,20,34,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nxg-assess-card--ai .nxg-assess-card__pill { border-color: rgba(139,92,246,0.55); color: #c4b5fd; }
.nxg-assess-card--it .nxg-assess-card__pill { border-color: rgba(59,179,195,0.55); color: #67e8f9; }
.nxg-assess-card--mkt .nxg-assess-card__pill { border-color: rgba(245,158,11,0.55); color: #fcd34d; }
.nxg-assess-card--smart .nxg-assess-card__pill { border-color: rgba(16,185,129,0.55); color: #6ee7b7; }

.nxg-assess-card__body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.nxg-assess-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.nxg-assess-card__tagline {
  font-size: 0.88rem;
  color: #3bb3c3;
  margin: 0;
  font-weight: 500;
}

.nxg-assess-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted, rgba(255,255,255,0.72));
  line-height: 1.6;
  margin: 0;
}

.nxg-assess-card__highlights {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nxg-assess-card__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}

.nxg-assess-card__highlights li::before {
  content: '\2713';
  color: #3bb3c3;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.nxg-assess-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nxg-assess-card__meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nxg-assess-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #226C87 0%, #3bb3c3 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nxg-assess-card--ai .nxg-assess-card__cta {
  background: linear-gradient(135deg, #7c3aed 0%, #3bb3c3 100%);
}
.nxg-assess-card--mkt .nxg-assess-card__cta {
  background: linear-gradient(135deg, #d10d13 0%, #f59e0b 100%);
}
.nxg-assess-card--smart .nxg-assess-card__cta {
  background: linear-gradient(135deg, #10b981 0%, #3bb3c3 100%);
}

.nxg-assess-card:hover .nxg-assess-card__cta {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(59,179,195,0.3);
}

@media (max-width: 820px) {
  .nxg-assess-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ═══ SMART SITE INFOGRAPHICS (v4.7.8) ═══════════════════════════════════ */

/* 1. The 6-Component Data Flow — hexagonal arrangement */
.nxg-flowgraph {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2.5rem 1rem;
  background: radial-gradient(circle at 50% 50%, rgba(59,179,195,0.08) 0%, transparent 60%);
  border-radius: 24px;
}

.nxg-flowgraph__ring {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.nxg-flowgraph__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: linear-gradient(135deg, #226C87 0%, #3bb3c3 100%);
  box-shadow: 0 0 60px rgba(59,179,195,0.55), inset 0 0 30px rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  z-index: 3;
  animation: flowCenterPulse 3.5s ease-in-out infinite;
}

@keyframes flowCenterPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(59,179,195,0.55), inset 0 0 30px rgba(255,255,255,0.15); }
  50%      { box-shadow: 0 0 90px rgba(59,179,195,0.8),  inset 0 0 40px rgba(255,255,255,0.25); }
}

.nxg-flowgraph__node {
  position: absolute;
  width: 22%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(13,27,42,0.95) 0%, rgba(10,20,34,0.98) 100%);
  border: 2px solid rgba(59,179,195,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.nxg-flowgraph__node:hover {
  transform: scale(1.08);
  border-color: #3bb3c3;
  box-shadow: 0 12px 40px rgba(59,179,195,0.45);
}

.nxg-flowgraph__node svg {
  width: 28%;
  max-width: 32px;
  height: auto;
  color: #3bb3c3;
  margin-bottom: 0.25rem;
}

.nxg-flowgraph__node-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

/* Position 6 nodes in hexagonal arrangement */
.nxg-flowgraph__node--n1 { top: 0;        left: 50%; transform: translate(-50%, 0); }
.nxg-flowgraph__node--n2 { top: 25%;      right: 0; }
.nxg-flowgraph__node--n3 { bottom: 25%;   right: 0; }
.nxg-flowgraph__node--n4 { bottom: 0;     left: 50%; transform: translate(-50%, 0); }
.nxg-flowgraph__node--n5 { bottom: 25%;   left: 0; }
.nxg-flowgraph__node--n6 { top: 25%;      left: 0; }

.nxg-flowgraph__node--n1:hover,
.nxg-flowgraph__node--n4:hover { transform: translate(-50%, 0) scale(1.08); }

/* Animated connection lines (SVG overlay) */
.nxg-flowgraph__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.nxg-flowgraph__line {
  stroke: rgba(59,179,195,0.35);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 6;
  animation: flowLineDash 3s linear infinite;
}

@keyframes flowLineDash {
  to { stroke-dashoffset: -20; }
}

@media (max-width: 640px) {
  .nxg-flowgraph__node-label { font-size: 0.6rem; }
  .nxg-flowgraph__center { font-size: 0.6rem; }
}

/* 2. Visitor Journey — Before vs After horizontal timeline */
.nxg-journey {
  margin: 2rem 0;
}

.nxg-journey__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.nxg-journey__label {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border-left: 4px solid #d10d13;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.nxg-journey__row--after .nxg-journey__label {
  border-left-color: #3bb3c3;
  background: rgba(59,179,195,0.07);
  color: #fff;
}

.nxg-journey__steps {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nxg-journey__step {
  flex: 1 1 0;
  min-width: 110px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.7rem 0.6rem;
  text-align: center;
  position: relative;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

.nxg-journey__step-icon {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  display: block;
  line-height: 1;
}

.nxg-journey__row--before .nxg-journey__step:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: rgba(209,13,19,0.35);
}

.nxg-journey__row--after .nxg-journey__step {
  border-color: rgba(59,179,195,0.25);
  background: rgba(59,179,195,0.05);
  color: #fff;
}

.nxg-journey__row--after .nxg-journey__step:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: rgba(59,179,195,0.5);
}

.nxg-journey__step--lost {
  background: rgba(209,13,19,0.12);
  border-color: rgba(209,13,19,0.4);
  color: #fca5a5;
}

.nxg-journey__step--won {
  background: linear-gradient(135deg, rgba(16,185,129,0.2) 0%, rgba(59,179,195,0.2) 100%);
  border-color: rgba(16,185,129,0.55);
  color: #a7f3d0;
  font-weight: 700;
}

@media (max-width: 720px) {
  .nxg-journey__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .nxg-journey__steps { gap: 0.35rem; }
}

/* 3. Traffic Leak infographic — big numbers + visual bars */
.nxg-leak {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem auto;
  max-width: 980px;
}

.nxg-leak__item {
  background: linear-gradient(180deg, rgba(13,27,42,0.7) 0%, rgba(10,20,34,0.9) 100%);
  border: 1px solid rgba(59,179,195,0.18);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nxg-leak__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #3bb3c3 50%, transparent 100%);
}

.nxg-leak__item--bad::before {
  background: linear-gradient(90deg, transparent 0%, #d10d13 50%, transparent 100%);
}
.nxg-leak__item--good::before {
  background: linear-gradient(90deg, transparent 0%, #10b981 50%, transparent 100%);
}

.nxg-leak__num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.nxg-leak__item--bad .nxg-leak__num {
  color: #ff6b6b;
  text-shadow: 0 0 24px rgba(255,107,107,0.35);
}

.nxg-leak__item--good .nxg-leak__num {
  background: linear-gradient(135deg, #10b981 0%, #3bb3c3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nxg-leak__item--neutral .nxg-leak__num {
  color: #fff;
}

.nxg-leak__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.nxg-leak__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.nxg-leak__bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin-top: 1rem;
  overflow: hidden;
}

.nxg-leak__bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nxg-leak__item--bad .nxg-leak__bar-fill {
  background: linear-gradient(90deg, #d10d13 0%, #ff6b6b 100%);
}
.nxg-leak__item--good .nxg-leak__bar-fill {
  background: linear-gradient(90deg, #10b981 0%, #3bb3c3 100%);
}

@media (max-width: 720px) {
  .nxg-leak {
    grid-template-columns: 1fr;
  }
}

/* ═══ BLOG SYSTEM (v4.8.1) ═════════════════════════════════════════════════ */

.nxg-hero--post .nxg-hero__inner,
.nxg-hero--blog .nxg-hero__inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.nxg-hero--post h1.nxg-page-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.nxg-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.nxg-post-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nxg-post-meta__item svg {
  color: #3bb3c3;
  opacity: 0.85;
}

.nxg-post-meta__divider {
  color: rgba(255,255,255,0.35);
}

.nxg-post {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.nxg-post__layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.nxg-post__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}

.nxg-post__content h2 {
  font-size: 1.65rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.nxg-post__content h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.nxg-post__content p {
  margin-bottom: 1.25rem;
}

.nxg-post__content a {
  color: #3bb3c3;
  border-bottom: 1px solid rgba(59,179,195,0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nxg-post__content a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.6);
}

.nxg-post__content blockquote {
  border-left: 4px solid #3bb3c3;
  background: rgba(59,179,195,0.07);
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  border-radius: 0 8px 8px 0;
}

.nxg-post__content code {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(59,179,195,0.18);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.92em;
  color: #67e8f9;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.nxg-post__content ul, .nxg-post__content ol { margin: 1rem 0 1.5rem 1.5rem; }
.nxg-post__content li { margin-bottom: 0.5rem; }
.nxg-post__content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.5rem 0; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.nxg-post__content hr { border: none; border-top: 1px solid rgba(59,179,195,0.18); margin: 2.5rem 0; }

.nxg-post__tags {
  margin: 2.5rem 0 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.nxg-tag-pill {
  display: inline-block;
  background: rgba(59,179,195,0.1);
  border: 1px solid rgba(59,179,195,0.25);
  color: #3bb3c3 !important;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(59,179,195,0.25) !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nxg-tag-pill:hover {
  background: rgba(59,179,195,0.22);
  border-color: rgba(59,179,195,0.5) !important;
  color: #fff !important;
}

.nxg-post__share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.nxg-post__share-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-right: 0.5rem;
  font-weight: 500;
}

.nxg-post__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(59,179,195,0.2);
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(59,179,195,0.2) !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.nxg-post__share-btn:hover {
  background: linear-gradient(135deg, rgba(34,108,135,0.7) 0%, rgba(59,179,195,0.7) 100%);
  border-color: rgba(59,179,195,0.6) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.nxg-author-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(13,27,42,0.9) 0%, rgba(10,20,34,0.95) 100%);
  border: 1px solid rgba(59,179,195,0.18);
  border-radius: 16px;
  padding: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.nxg-author-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(59,179,195,0.4);
}

.nxg-author-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3bb3c3;
  margin-bottom: 0.25rem;
}

.nxg-author-card__name {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.nxg-author-card__bio {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .nxg-author-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
  .nxg-author-card__avatar {
    margin: 0 auto;
  }
}

.nxg-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 24px;
}

.nxg-blog-grid > p {
  display: none;
}

.nxg-blog-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(13,27,42,0.6) 0%, rgba(10,20,34,0.95) 100%);
  border: 1px solid rgba(59,179,195,0.15);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nxg-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,179,195,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,179,195,0.3);
}

.nxg-blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1b2a;
}

.nxg-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.nxg-blog-card:hover .nxg-blog-card__media img {
  transform: scale(1.06);
}

.nxg-blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.nxg-blog-card__cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3bb3c3;
}

.nxg-blog-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  line-height: 1.3;
}

.nxg-blog-card__excerpt {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.nxg-blog-card__meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.nxg-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem auto 1rem;
  flex-wrap: wrap;
}

.nxg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.65rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59,179,195,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nxg-pagination .page-numbers:hover {
  background: rgba(59,179,195,0.15);
  border-color: rgba(59,179,195,0.5);
  color: #fff;
}

.nxg-pagination .page-numbers.current {
  background: linear-gradient(135deg, #226C87 0%, #3bb3c3 100%);
  border-color: rgba(59,179,195,0.6);
  color: #fff;
}

.nxg-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: rgba(255,255,255,0.4);
}
