/*
Theme Name: Nexai360
Theme URI: https://nexai360.com
Author: Nexai360
Author URI: https://nexai360.com
Description: Enterprise AI & Neural Networks theme for Nexai360. Inspired by modern AI agency design with full dark aesthetic, animated counters, marquee ticker, project showcase, testimonials, and full Elementor + WPBakery compatibility.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexai360
Tags: technology, ai, enterprise, dark, modern, elementor, one-page, responsive, full-width-template, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   1. CSS VARIABLES
============================================================ */
:root {
  --nx-bg:        #06080f;
  --nx-bg2:       #0a0d17;
  --nx-surface:   #0f1422;
  --nx-surface2:  #141929;
  --nx-border:    rgba(255,255,255,0.07);
  --nx-blue:      #3b82f6;
  --nx-cyan:      #06b6d4;
  --nx-green:     #10b981;
  --nx-amber:     #f59e0b;
  --nx-white:     #f0f4ff;
  --nx-muted:     #6b7a99;
  --nx-accent:    #60a5fa;
  --nx-font-display: 'Syne', sans-serif;
  --nx-font-body:    'DM Sans', sans-serif;
  --nx-font-mono:    'JetBrains Mono', monospace;
  --nx-radius:    8px;
  --nx-radius-lg: 16px;
  --nx-radius-xl: 24px;
  --nx-max:       1200px;
  --nx-header:    72px;
  --nx-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  background-color: var(--nx-bg);
  color: var(--nx-white);
  font-family: var(--nx-font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nx-accent); text-decoration: none; transition: color var(--nx-transition); }
a:hover { color: var(--nx-cyan); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--nx-font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--nx-white);
}
p { color: var(--nx-muted); margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; }
table { width: 100%; border-collapse: collapse; }

/* ============================================================
   3. GRID BACKGROUND TEXTURE
============================================================ */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   4. UTILITIES
============================================================ */
.nx-container {
  max-width: var(--nx-max);
  margin: 0 auto;
  padding: 0 2rem;
}
.nx-section { padding: 100px 0; position: relative; }
.nx-section--sm { padding: 60px 0; }
.nx-section--alt { background: var(--nx-bg2); }
.nx-center { text-align: center; }

.nx-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nx-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nx-cyan);
  margin-bottom: 1rem;
}
.nx-section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--nx-cyan);
  display: block;
}

.nx-h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.nx-h2 span, .nx-gradient-text {
  background: linear-gradient(135deg, var(--nx-cyan), var(--nx-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nx-section-desc {
  font-size: 1rem;
  color: var(--nx-muted);
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.8;
}

/* ============================================================
   5. BUTTONS
============================================================ */
.nx-btn, .btn-primary, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--nx-radius);
  font-family: var(--nx-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--nx-transition);
  text-decoration: none;
}
.nx-btn-primary {
  background: var(--nx-blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.nx-btn-primary:hover {
  background: var(--nx-cyan);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.4);
}
.nx-btn-ghost {
  background: transparent;
  color: var(--nx-white);
  border: 1px solid rgba(255,255,255,0.15);
}
.nx-btn-ghost:hover {
  border-color: var(--nx-blue);
  color: var(--nx-blue);
  transform: translateY(-2px);
}

/* ============================================================
   6. NAVIGATION
============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nx-header);
  z-index: 1000;
  transition: all var(--nx-transition);
}
.site-header.scrolled {
  background: rgba(6,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nx-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header-inner {
  height: var(--nx-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--nx-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--nx-white);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.site-logo .logo-dot {
  width: 8px; height: 8px;
  background: var(--nx-cyan);
  border-radius: 50%;
  display: inline-block;
  animation: logoPulse 2s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.3; transform:scale(0.7); }
}
.site-logo .logo-accent { color: var(--nx-cyan); }
.main-nav { display: flex; align-items: center; }
.main-nav ul {
  display: flex; gap: 2rem;
  list-style: none; padding: 0; margin: 0;
}
.main-nav a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--nx-muted);
  transition: color var(--nx-transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--nx-cyan);
  transform: scaleX(0);
  transition: transform var(--nx-transition);
}
.main-nav a:hover { color: var(--nx-white); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 1rem; }

/* Mobile nav */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--nx-white); border-radius: 2px;
  transition: all var(--nx-transition);
}
.nx-mobile-nav {
  position: fixed; top: var(--nx-header); left: 0; right: 0;
  background: rgba(6,8,15,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nx-border);
  padding: 2rem; z-index: 999;
  transform: translateY(-100%); opacity: 0;
  transition: all var(--nx-transition);
  pointer-events: none;
}
.nx-mobile-nav.open {
  transform: translateY(0); opacity: 1;
  pointer-events: auto;
}
.nx-mobile-nav ul { list-style:none; padding:0; display:flex; flex-direction:column; gap:1.5rem; }
.nx-mobile-nav a { font-family: var(--nx-font-display); font-size:1.1rem; font-weight:600; color:var(--nx-white); }

/* ============================================================
   7. HERO
============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nx-header);
  position: relative; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,.2), transparent 70%);
  top: -200px; right: -100px;
  animation: glowFloat 9s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,.15), transparent 70%);
  bottom: -150px; left: -100px;
  animation: glowFloat 12s ease-in-out infinite reverse;
}
@keyframes glowFloat {
  0%,100% { transform:translateY(0) scale(1); }
  50% { transform:translateY(-30px) scale(1.05); }
}
.hero-content { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 4rem; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  padding: 5px 14px; border-radius: 100px;
  font-family: var(--nx-font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--nx-accent);
  margin-bottom: 2rem;
}
.hero-tag-dot {
  width: 5px; height: 5px;
  background: var(--nx-cyan); border-radius: 50%;
  animation: logoPulse 1.5s infinite;
}
.hero-h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.05; margin-bottom: 1.5rem;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--nx-cyan), var(--nx-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem; color: var(--nx-muted);
  max-width: 520px; margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats {
  display: flex; gap: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--nx-border);
}
.hero-stat-num {
  font-family: var(--nx-font-display);
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg,#fff,var(--nx-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem; color: var(--nx-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.hero-cards {
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-mini-card {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 1.25rem 1.5rem;
  transition: all var(--nx-transition);
}
.hero-mini-card:hover {
  border-color: rgba(59,130,246,.3);
  transform: translateX(-4px);
  background: var(--nx-surface2);
}
.hero-card-icon {
  font-size: 1.5rem; margin-bottom: 0.75rem;
}
.hero-card-title {
  font-family: var(--nx-font-display);
  font-size: 0.875rem; font-weight: 700;
  margin-bottom: 0.25rem; color: var(--nx-white);
}
.hero-card-sub { font-size: 0.75rem; color: var(--nx-muted); }

/* ============================================================
   8. MARQUEE TICKER
============================================================ */
.marquee-section {
  background: var(--nx-surface);
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
  padding: 1rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3rem;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--nx-font-display);
  font-size: 0.85rem; font-weight: 600;
  color: var(--nx-muted); white-space: nowrap;
}
.marquee-dot { color: var(--nx-blue); font-size: 1.2rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   9. SERVICES
============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5px; background: var(--nx-border);
  border-radius: var(--nx-radius-xl); overflow: hidden;
  margin-top: 3rem;
}
.service-card {
  background: var(--nx-bg); padding: 2.5rem 2rem;
  transition: all var(--nx-transition); cursor: default;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(59,130,246,.06),transparent);
  opacity: 0; transition: opacity var(--nx-transition);
}
.service-card:hover { background: var(--nx-surface2); z-index: 1; }
.service-card:hover::after { opacity: 1; }
.svc-num {
  font-family: var(--nx-font-mono);
  font-size: 0.7rem; color: var(--nx-blue);
  letter-spacing: 0.1em; margin-bottom: 1.25rem; display: block;
}
.svc-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg,rgba(59,130,246,.15),rgba(6,182,212,.15));
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.svc-title {
  font-family: var(--nx-font-display);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.75rem; color: var(--nx-white);
}
.svc-desc { font-size: 0.875rem; color: var(--nx-muted); line-height: 1.7; margin: 0; }
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--nx-blue);
  font-family: var(--nx-font-display); font-weight: 600;
  margin-top: 1.25rem; transition: gap var(--nx-transition);
}
.svc-link:hover { gap: 12px; color: var(--nx-cyan); }

/* ============================================================
   10. ABOUT
============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-card {
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-xl);
  padding: 2.5rem; position: relative; overflow: hidden;
}
.about-card::after {
  content: ''; position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle,rgba(6,182,212,.12),transparent);
}
.about-partner-badge {
  position: absolute; top: -16px; right: 24px;
  background: linear-gradient(135deg,var(--nx-blue),var(--nx-cyan));
  color: #fff; font-family: var(--nx-font-mono); font-size: 0.7rem;
  padding: 7px 14px; border-radius: 100px; letter-spacing: 0.05em;
}
.about-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--nx-border);
}
.am-num {
  font-family: var(--nx-font-display); font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg,#fff,var(--nx-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.am-label {
  font-size: 0.72rem; color: var(--nx-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.about-text .nx-h2 { text-align: left; margin-bottom: 1rem; }
.about-text .nx-section-desc { text-align: left; margin: 0 0 1.5rem; }
.nx-check-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-bottom: 2rem;
}
.nx-check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--nx-muted);
}
.nx-check-list li::before {
  content: '✓'; color: var(--nx-green);
  font-weight: 700; flex-shrink: 0; margin-top: 3px;
}

/* ============================================================
   11. HOW IT WORKS
============================================================ */
.steps-wrapper {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative; margin-top: 4rem;
}
.steps-wrapper::before {
  content: ''; position: absolute;
  top: 24px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg,transparent,var(--nx-blue),var(--nx-cyan),var(--nx-blue),transparent);
}
.step-item { text-align: center; padding: 0 1.5rem; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--nx-surface); border: 1px solid var(--nx-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--nx-font-mono); font-size: 0.85rem;
  font-weight: 500; color: var(--nx-blue);
  margin: 0 auto 1.5rem; position: relative; z-index: 1;
}
.step-item:nth-child(4) .step-num {
  background: linear-gradient(135deg,var(--nx-blue),var(--nx-cyan));
  color: #fff; border-color: transparent;
}
.step-title {
  font-family: var(--nx-font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--nx-white); margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.82rem; color: var(--nx-muted); line-height: 1.6; }

/* ============================================================
   12. PROJECTS
============================================================ */
.projects-list { display: flex; flex-direction: column; gap: 0; }
.project-row {
  display: grid; grid-template-columns: 160px 1fr 320px;
  align-items: center; gap: 2.5rem;
  padding: 2rem 1rem; border-top: 1px solid var(--nx-border);
  cursor: pointer; transition: all var(--nx-transition);
  border-radius: var(--nx-radius);
}
.project-row:hover { background: var(--nx-surface); padding-left: 2rem; }
.proj-year {
  font-family: var(--nx-font-mono); font-size: 0.75rem;
  color: var(--nx-muted); letter-spacing: 0.08em;
}
.proj-title {
  font-family: var(--nx-font-display); font-size: 1.1rem;
  font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3;
  color: var(--nx-white);
}
.proj-desc { font-size: 0.85rem; color: var(--nx-muted); line-height: 1.6; max-width: 500px; }
.proj-tags { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.proj-tag {
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2);
  color: var(--nx-accent); font-size: 0.68rem; padding: 3px 10px;
  border-radius: 100px; font-family: var(--nx-font-mono);
}
.proj-visual {
  border-radius: var(--nx-radius-lg); overflow: hidden;
  height: 140px; background: var(--nx-surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; transition: transform var(--nx-transition);
}
.project-row:hover .proj-visual { transform: scale(1.03); }

/* ============================================================
   13. TESTIMONIALS
============================================================ */
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.testi-card {
  background: var(--nx-surface); border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-xl); padding: 2rem;
  transition: all var(--nx-transition);
}
.testi-card:hover {
  border-color: rgba(59,130,246,.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.testi-stars { color: var(--nx-amber); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1.25rem; }
.testi-quote {
  font-size: 0.9rem; color: var(--nx-muted);
  line-height: 1.8; font-style: italic; margin-bottom: 1.5rem;
}
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--nx-blue), var(--nx-cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--nx-font-display); font-size: 0.85rem;
  font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { font-family: var(--nx-font-display); font-size: 0.875rem; font-weight: 700; color: var(--nx-white); }
.testi-role { font-size: 0.75rem; color: var(--nx-muted); }

/* ============================================================
   14. BLOG
============================================================ */
.blog-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem;
}
.post-card {
  background: var(--nx-surface); border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-xl); overflow: hidden;
  transition: all var(--nx-transition);
}
.post-card:hover {
  border-color: rgba(59,130,246,.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.post-thumb {
  overflow: hidden; height: 200px;
  background: var(--nx-surface2);
}
.post-card--featured .post-thumb { height: 260px; }
.post-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--nx-transition);
}
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.post-body { padding: 1.5rem; }
.post-meta {
  display: flex; gap: 0.75rem; margin-bottom: 0.75rem;
  font-size: 0.75rem; color: var(--nx-muted); align-items: center;
}
.post-cat {
  background: rgba(59,130,246,.1); color: var(--nx-accent);
  padding: 2px 10px; border-radius: 100px;
  font-family: var(--nx-font-mono); font-size: 0.68rem;
  letter-spacing: 0.05em;
}
.post-title {
  font-family: var(--nx-font-display); font-size: 1rem;
  font-weight: 700; line-height: 1.35; margin-bottom: 0.5rem;
}
.post-card--featured .post-title { font-size: 1.25rem; }
.post-title a { color: var(--nx-white); text-decoration: none; transition: color var(--nx-transition); }
.post-title a:hover { color: var(--nx-cyan); }
.post-excerpt { font-size: 0.83rem; color: var(--nx-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   15. PARTNERS
============================================================ */
.partners-section {
  background: var(--nx-surface);
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
  padding: 3.5rem 0; text-align: center;
}
.partners-label {
  font-family: var(--nx-font-mono); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--nx-muted); margin-bottom: 2.5rem;
}
.partners-row {
  display: flex; align-items: center;
  justify-content: center; gap: 4rem; flex-wrap: wrap;
}
.partner-name {
  font-family: var(--nx-font-display); font-size: 0.95rem;
  font-weight: 700; color: rgba(255,255,255,.2);
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color var(--nx-transition); cursor: default;
}
.partner-name:hover { color: rgba(255,255,255,.5); }

/* ============================================================
   16. CTA BANNER
============================================================ */
.cta-section {
  background: var(--nx-surface);
  border-top: 1px solid var(--nx-border);
  padding: 90px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse,rgba(59,130,246,.12),transparent 70%);
  pointer-events: none;
}
.cta-section .nx-h2 { position: relative; z-index: 1; max-width: 700px; margin: 0 auto 1rem; }
.cta-section .nx-section-desc { position: relative; z-index: 1; margin-bottom: 2.5rem; }
.cta-buttons { position: relative; z-index: 1; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   17. INDUSTRIES
============================================================ */
.industries-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1rem; margin-top: 3rem;
}
.industry-card {
  background: var(--nx-surface); border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg); padding: 1.75rem 1rem;
  text-align: center; transition: all var(--nx-transition); cursor: default;
}
.industry-card:hover {
  border-color: rgba(59,130,246,.3);
  background: var(--nx-surface2);
  transform: translateY(-4px);
}
.industry-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.industry-name {
  font-family: var(--nx-font-display); font-size: 0.875rem;
  font-weight: 700; color: var(--nx-white);
}

/* ============================================================
   18. FAQ (Accordion)
============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.faq-item {
  border-top: 1px solid var(--nx-border);
  padding: 0;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; cursor: pointer;
  font-family: var(--nx-font-display); font-size: 1rem;
  font-weight: 700; color: var(--nx-white);
  transition: color var(--nx-transition);
  user-select: none; list-style: none;
}
.faq-q:hover { color: var(--nx-cyan); }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--nx-blue); transition: transform var(--nx-transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.9rem; color: var(--nx-muted); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.5rem; }

/* ============================================================
   19. FOOTER
============================================================ */
.site-footer {
  background: var(--nx-bg2);
  border-top: 1px solid var(--nx-border);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3.5rem;
}
.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-tagline { font-size: 0.875rem; color: var(--nx-muted); max-width: 260px; line-height: 1.7; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social {
  width: 36px; height: 36px; border-radius: var(--nx-radius);
  background: var(--nx-surface); border: 1px solid var(--nx-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--nx-muted);
  transition: all var(--nx-transition); text-decoration: none;
}
.footer-social:hover { border-color: var(--nx-blue); color: var(--nx-blue); }
.footer-col h5 {
  font-family: var(--nx-font-mono); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--nx-cyan); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.875rem; color: var(--nx-muted); transition: color var(--nx-transition); }
.footer-col a:hover { color: var(--nx-white); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--nx-border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--nx-muted); margin: 0; }
.footer-bottom span { font-family: var(--nx-font-mono); font-size: 0.7rem; color: rgba(59,130,246,.5); }

/* ============================================================
   20. SIDEBAR & WIDGETS
============================================================ */
.content-wrap { padding: 60px 0 100px; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; }
.widget {
  background: var(--nx-surface); border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-xl); padding: 1.75rem; margin-bottom: 1.5rem;
}
.widget-title {
  font-family: var(--nx-font-mono); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--nx-cyan); margin-bottom: 1rem;
}
.widget ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.widget ul li a { font-size: 0.875rem; color: var(--nx-muted); transition: color var(--nx-transition); }
.widget ul li a:hover { color: var(--nx-white); }

/* ============================================================
   21. ENTRY CONTENT (Blog)
============================================================ */
.entry-content { color: var(--nx-muted); line-height: 1.85; font-size: 1rem; }
.entry-content h2,.entry-content h3,.entry-content h4 { margin: 2.5rem 0 1rem; color: var(--nx-white); }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content a { color: var(--nx-blue); border-bottom: 1px solid rgba(59,130,246,.3); }
.entry-content blockquote {
  border-left: 3px solid var(--nx-blue); padding: 1rem 1.5rem;
  background: var(--nx-surface); border-radius: 0 var(--nx-radius) var(--nx-radius) 0;
  margin: 2rem 0; font-style: italic;
}
.entry-content code {
  font-family: var(--nx-font-mono); background: var(--nx-surface);
  color: var(--nx-cyan); padding: 2px 7px; border-radius: 4px; font-size: 0.9em;
}
.entry-content pre {
  background: var(--nx-surface); border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg); padding: 1.5rem; overflow-x: auto;
  margin: 2rem 0;
}
.entry-content img { border-radius: var(--nx-radius-lg); margin: 2rem 0; }

/* ============================================================
   22. COMMENTS
============================================================ */
.comments-area { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--nx-border); }
.comment { padding: 1.5rem; border-radius: var(--nx-radius-lg); background: var(--nx-surface); margin-bottom: 1rem; border: 1px solid var(--nx-border); }
.comment-author-name { font-weight: 700; color: var(--nx-white); font-family: var(--nx-font-display); }
.comment-date { font-size: 0.8rem; color: var(--nx-muted); }
.comment-body p { font-size: 0.9rem; }
.comment-form input, .comment-form textarea {
  width: 100%; background: var(--nx-surface); border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius); padding: 12px 16px;
  color: var(--nx-white); font-family: var(--nx-font-body);
  font-size: 0.95rem; margin-bottom: 1rem;
  transition: border-color var(--nx-transition);
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--nx-blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.comment-form textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   23. PAGE HEADER
============================================================ */
.page-header {
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--nx-border);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(59,130,246,.05), transparent);
  pointer-events: none;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3.5rem); position: relative; }

/* ============================================================
   24. 404
============================================================ */
.error-404-wrap {
  min-height: 70vh; display: flex;
  align-items: center; justify-content: center; text-align: center;
}
.error-code {
  font-family: var(--nx-font-mono); font-size: 8rem; font-weight: 800;
  background: linear-gradient(135deg,var(--nx-blue),var(--nx-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}

/* ============================================================
   25. PAGINATION
============================================================ */
.nx-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-top: 4rem;
}
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--nx-radius);
  background: var(--nx-surface); border: 1px solid var(--nx-border);
  color: var(--nx-muted); font-family: var(--nx-font-mono); font-size: 0.9rem;
  text-decoration: none; transition: all var(--nx-transition);
}
.page-numbers:hover, .page-numbers.current {
  background: var(--nx-blue); border-color: var(--nx-blue); color: #fff;
}

/* ============================================================
   26. ANIMATIONS
============================================================ */
.nx-fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.nx-fade-up.nx-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   27. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .about-grid, .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-grid > :last-child { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .industries-grid { grid-template-columns: repeat(4,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nx-header: 64px; }
  .nx-section { padding: 70px 0; }
  .nx-container { padding: 0 1.25rem; }
  .main-nav, .header-cta .nx-btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .steps-wrapper { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .steps-wrapper::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr; }
  .proj-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ============================================================
   28. WORDPRESS CORE + ELEMENTOR COMPATIBILITY
============================================================ */
.wp-caption { margin-bottom: 1rem; }
.wp-caption-text { font-size: 0.85rem; color: var(--nx-muted); text-align: center; margin-top: 0.5rem; }
.sticky { border-left: 3px solid var(--nx-blue); padding-left: 1rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; top: -999px; background: var(--nx-blue); color: #fff; padding: 8px 16px; border-radius: var(--nx-radius); font-weight: 600; z-index: 9999; }
.skip-link:focus { top: 10px; left: 10px; }
.elementor-section { position: relative; }
.elementor-widget-wrap { position: relative; }
