/* nexavro-style.css — Nexavro Gaming Platform */

/* ===================== VARIABLES ===================== */
:root {
  --nx-black:       #0a0b0f;
  --nx-dark:        #12141c;
  --nx-dark-2:      #1a1d2e;
  --nx-dark-3:      #222538;
  --nx-accent:      #00f0a0;
  --nx-accent-2:    #7b5cfa;
  --nx-accent-3:    #ff5e78;
  --nx-accent-4:    #f7c948;
  --nx-text:        #e8eaf2;
  --nx-text-muted:  #8890b0;
  --nx-border:      rgba(255,255,255,0.08);
  --nx-glass:       rgba(255,255,255,0.04);
  --nx-radius:      12px;
  --nx-radius-lg:   20px;
  --nx-shadow:      0 8px 40px rgba(0,0,0,0.5);
  --nx-shadow-glow: 0 0 40px rgba(0,240,160,0.15);
  --nx-transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===================== RESET / BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--nx-black);
  color: var(--nx-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--nx-accent); text-decoration: none; transition: color var(--nx-transition); }
a:hover { color: #fff; }

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

::selection { background: var(--nx-accent); color: var(--nx-black); }

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--nx-dark); }
::-webkit-scrollbar-thumb { background: var(--nx-accent-2); border-radius: 3px; }

/* ===================== GRID / LAYOUT ===================== */
.nx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.nx-section-sm {
  padding: 50px 0;
}

/* ===================== NAVBAR ===================== */
.nx-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,11,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nx-border);
  transition: background var(--nx-transition);
}

.nx-navbar.nx-scrolled {
  background: rgba(10,11,15,0.97);
}

.nx-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nx-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nx-text);
  letter-spacing: 0.06em;
}

.nx-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-accent-2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--nx-black);
}

.nx-logo span { color: var(--nx-accent); }

.nx-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nx-nav-links a {
  font-family: var(--nx-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nx-text-muted);
  letter-spacing: 0.05em;
  transition: color var(--nx-transition);
  position: relative;
}

.nx-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--nx-accent);
  transform: scaleX(0);
  transition: transform var(--nx-transition);
}

.nx-nav-links a:hover {
  color: var(--nx-text);
}

.nx-nav-links a:hover::after { transform: scaleX(1); }

.nx-nav-cta {
  background: var(--nx-accent);
  color: var(--nx-black) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 700 !important;
}

.nx-nav-cta:hover { background: #fff; color: var(--nx-black) !important; }
.nx-nav-cta::after { display: none !important; }

.nx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nx-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--nx-text);
  border-radius: 2px;
  transition: var(--nx-transition);
}

/* ===================== HERO ===================== */
.nx-hero-editorial {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--nx-black);
  padding-top: 70px;
}

.nx-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nx-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,240,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,160,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.nx-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.nx-hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,92,250,0.3) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: nx-orb-float 8s ease-in-out infinite;
}

.nx-hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,240,160,0.2) 0%, transparent 70%);
  bottom: -50px; left: 10%;
  animation: nx-orb-float 10s ease-in-out infinite reverse;
}

@keyframes nx-orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.nx-hero-content {
  position: relative;
  z-index: 2;
}

.nx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,240,160,0.1);
  border: 1px solid rgba(0,240,160,0.3);
  color: var(--nx-accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: var(--nx-font-mono);
}

.nx-hero-title {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #fff;
}

.nx-hero-title .nx-accent-text {
  background: linear-gradient(135deg, var(--nx-accent), var(--nx-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nx-hero-subtitle {
  font-size: 1.15rem;
  color: var(--nx-text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.nx-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.nx-hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.nx-stat-item {}

.nx-stat-number {
  font-family: var(--nx-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nx-accent);
  line-height: 1;
}

.nx-stat-label {
  font-size: 0.8rem;
  color: var(--nx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ===================== BUTTONS ===================== */
.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  border-radius: var(--nx-radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--nx-transition);
  font-family: var(--nx-font-body);
  text-decoration: none;
}

.nx-btn-primary {
  background: var(--nx-accent);
  color: var(--nx-black);
}

.nx-btn-primary:hover {
  background: #fff;
  color: var(--nx-black);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,240,160,0.3);
}

.nx-btn-outline {
  background: transparent;
  color: var(--nx-text);
  border: 1px solid var(--nx-border);
}

.nx-btn-outline:hover {
  border-color: var(--nx-accent);
  color: var(--nx-accent);
  transform: translateY(-2px);
}

.nx-btn-accent2 {
  background: var(--nx-accent-2);
  color: #fff;
}

.nx-btn-accent2:hover {
  background: #9a7dff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(123,92,250,0.3);
}

.nx-btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.nx-btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* ===================== CARDS ===================== */
.nx-card {
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  transition: all var(--nx-transition);
}

.nx-card:hover {
  border-color: rgba(0,240,160,0.2);
  transform: translateY(-6px);
  box-shadow: var(--nx-shadow-glow), var(--nx-shadow);
}

.nx-card-body { padding: 1.5rem; }

.nx-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.nx-card-tag {
  display: inline-block;
  background: rgba(0,240,160,0.1);
  color: var(--nx-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: var(--nx-font-mono);
}

.nx-card-tag.purple { background: rgba(123,92,250,0.15); color: var(--nx-accent-2); }
.nx-card-tag.red    { background: rgba(255,94,120,0.15);  color: var(--nx-accent-3); }
.nx-card-tag.yellow { background: rgba(247,201,72,0.15);  color: var(--nx-accent-4); }

.nx-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.nx-card-text {
  font-size: 0.9rem;
  color: var(--nx-text-muted);
  line-height: 1.7;
}

/* ===================== QUIZ CARDS ===================== */
.nx-quiz-card-beginner,
.nx-quiz-card-intermediate,
.nx-quiz-card-expert {
  position: relative;
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 2rem;
  transition: all var(--nx-transition);
  overflow: hidden;
}

.nx-quiz-card-beginner::before,
.nx-quiz-card-intermediate::before,
.nx-quiz-card-expert::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.nx-quiz-card-beginner::before  { background: var(--nx-accent); }
.nx-quiz-card-intermediate::before { background: var(--nx-accent-2); }
.nx-quiz-card-expert::before    { background: var(--nx-accent-3); }

.nx-quiz-card-beginner:hover,
.nx-quiz-card-intermediate:hover,
.nx-quiz-card-expert:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: var(--nx-shadow);
}

.nx-quiz-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.nx-quiz-icon-green  { background: rgba(0,240,160,0.15); color: var(--nx-accent); }
.nx-quiz-icon-purple { background: rgba(123,92,250,0.15); color: var(--nx-accent-2); }
.nx-quiz-icon-red    { background: rgba(255,94,120,0.15);  color: var(--nx-accent-3); }

.nx-quiz-difficulty {
  font-family: var(--nx-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.nx-quiz-difficulty.green  { color: var(--nx-accent); }
.nx-quiz-difficulty.purple { color: var(--nx-accent-2); }
.nx-quiz-difficulty.red    { color: var(--nx-accent-3); }

.nx-quiz-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.82rem;
  color: var(--nx-text-muted);
}

.nx-quiz-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nx-quiz-progress-bar {
  background: var(--nx-dark-3);
  border-radius: 50px;
  height: 6px;
  margin: 1rem 0;
  overflow: hidden;
}

.nx-quiz-progress-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}

.nx-quiz-progress-fill.green  { background: linear-gradient(90deg, var(--nx-accent), #00c882); }
.nx-quiz-progress-fill.purple { background: linear-gradient(90deg, var(--nx-accent-2), #5a35d8); }
.nx-quiz-progress-fill.red    { background: linear-gradient(90deg, var(--nx-accent-3), #d93050); }

/* ===================== ARTICLE CARD ===================== */
.nx-article-card {
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  transition: all var(--nx-transition);
}

.nx-article-card:hover {
  border-color: rgba(123,92,250,0.3);
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(123,92,250,0.1), var(--nx-shadow);
}

.nx-article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nx-article-card:hover img { transform: scale(1.05); }

.nx-article-card-img-wrap { overflow: hidden; }

.nx-article-card-body { padding: 1.5rem; }

.nx-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--nx-text-muted);
  margin-bottom: 0.75rem;
}

/* ===================== SECTION HEADERS ===================== */
.nx-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.nx-section-label {
  font-family: var(--nx-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nx-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.nx-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.nx-section-desc {
  font-size: 1.05rem;
  color: var(--nx-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===================== DIVIDERS ===================== */
.nx-divider-svg {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.nx-divider-svg svg { display: block; width: 100%; }

/* ===================== KNOWLEDGE GROWTH ===================== */
.nx-knowledge-growth {
  background: var(--nx-dark);
  position: relative;
  overflow: hidden;
}

.nx-knowledge-growth::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(123,92,250,0.12) 0%, transparent 60%);
}

.nx-knowledge-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 200px;
  padding: 0 1rem;
}

.nx-knowledge-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nx-knowledge-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  min-height: 20px;
  transition: height 1.5s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

.nx-knowledge-bar::after {
  content: attr(data-value);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--nx-font-mono);
  font-size: 0.7rem;
  color: var(--nx-text-muted);
}

.nx-knowledge-bar-label {
  font-size: 0.72rem;
  color: var(--nx-text-muted);
  text-align: center;
  font-family: var(--nx-font-mono);
}

/* ===================== TESTIMONIALS ===================== */
.nx-testimonial {
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 2rem;
  position: relative;
}

.nx-testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(0,240,160,0.1);
  line-height: 1;
  pointer-events: none;
}

.nx-testimonial-text {
  color: var(--nx-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.nx-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nx-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nx-border);
}

.nx-testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.nx-testimonial-role {
  font-size: 0.8rem;
  color: var(--nx-text-muted);
}

.nx-stars { color: var(--nx-accent-4); font-size: 0.85rem; margin-bottom: 0.75rem; }

/* ===================== TEAM ===================== */
.nx-team-card {
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all var(--nx-transition);
}

.nx-team-card:hover {
  border-color: rgba(0,240,160,0.2);
  transform: translateY(-6px);
  box-shadow: var(--nx-shadow);
}

.nx-team-img-wrap {
  overflow: hidden;
  height: 220px;
}

.nx-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nx-team-card:hover .nx-team-img { transform: scale(1.07); }

.nx-team-body { padding: 1.5rem; }

.nx-team-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.nx-team-role {
  font-family: var(--nx-font-mono);
  font-size: 0.75rem;
  color: var(--nx-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.nx-team-bio {
  font-size: 0.88rem;
  color: var(--nx-text-muted);
  line-height: 1.7;
}

/* ===================== CAROUSEL ===================== */
.nx-quote-carousel {
  position: relative;
  overflow: hidden;
}

.nx-quote-track {
  display: flex;
  gap: 1.5rem;
  animation: nx-scroll-quotes 30s linear infinite;
  width: max-content;
}

.nx-quote-track:hover { animation-play-state: paused; }

@keyframes nx-scroll-quotes {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nx-quote-item {
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 1.5rem 2rem;
  min-width: 350px;
  max-width: 350px;
  flex-shrink: 0;
}

.nx-quote-text {
  font-style: italic;
  color: var(--nx-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.nx-quote-author {
  font-family: var(--nx-font-mono);
  font-size: 0.8rem;
  color: var(--nx-accent);
}

/* ===================== CONTACT FORM ===================== */
.nx-form-group {
  margin-bottom: 1.5rem;
}

.nx-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nx-text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.nx-form-control {
  width: 100%;
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 0.85rem 1rem;
  color: var(--nx-text);
  font-family: var(--nx-font-body);
  font-size: 0.95rem;
  transition: border-color var(--nx-transition), box-shadow var(--nx-transition);
  outline: none;
}

.nx-form-control::placeholder { color: var(--nx-text-muted); }

.nx-form-control:focus {
  border-color: var(--nx-accent);
  box-shadow: 0 0 0 3px rgba(0,240,160,0.1);
}

.nx-form-control.error { border-color: var(--nx-accent-3); }

textarea.nx-form-control { resize: vertical; min-height: 140px; }

.nx-form-error {
  font-size: 0.8rem;
  color: var(--nx-accent-3);
  margin-top: 0.3rem;
  display: none;
}

/* ===================== ARTICLE LAYOUT ===================== */
.nx-article-layout {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nx-article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--nx-radius-lg);
  margin-bottom: 2.5rem;
}

.nx-article-layout h2 {
  font-size: 1.6rem;
  color: #fff;
  margin: 2rem 0 1rem;
}

.nx-article-layout h3 {
  font-size: 1.2rem;
  color: var(--nx-text);
  margin: 1.5rem 0 0.75rem;
}

.nx-article-layout p {
  color: var(--nx-text-muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.nx-article-layout ul, .nx-article-layout ol {
  color: var(--nx-text-muted);
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.9;
}

.nx-article-layout blockquote {
  border-left: 3px solid var(--nx-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(0,240,160,0.05);
  border-radius: 0 var(--nx-radius) var(--nx-radius) 0;
  color: var(--nx-text);
  font-style: italic;
}

.nx-article-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.nx-article-author-box img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===================== COOKIE BANNER ===================== */
.nx-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 1.25rem 1.75rem;
  max-width: 700px;
  width: calc(100% - 3rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  animation: nx-slide-up 0.4s ease;
}

@keyframes nx-slide-up {
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

.nx-cookie-banner.nx-hidden { display: none; }

.nx-cookie-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--nx-text-muted);
  line-height: 1.6;
}

.nx-cookie-text a { color: var(--nx-accent); }

.nx-cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.nx-footer {
  background: var(--nx-dark);
  border-top: 1px solid var(--nx-border);
  padding: 70px 0 30px;
}

.nx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.nx-footer-brand p {
  color: var(--nx-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.nx-footer-social {
  display: flex;
  gap: 0.75rem;
}

.nx-footer-social a {
  width: 38px; height: 38px;
  background: var(--nx-dark-3);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-text-muted);
  transition: all var(--nx-transition);
  font-size: 0.9rem;
}

.nx-footer-social a:hover {
  background: var(--nx-accent);
  color: var(--nx-black);
  border-color: var(--nx-accent);
}

.nx-footer-col-title {
  font-family: var(--nx-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.nx-footer-links { list-style: none; }

.nx-footer-links li + li { margin-top: 0.6rem; }

.nx-footer-links a {
  color: var(--nx-text-muted);
  font-size: 0.88rem;
  transition: color var(--nx-transition);
}

.nx-footer-links a:hover { color: var(--nx-accent); }

.nx-footer-bottom {
  border-top: 1px solid var(--nx-border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--nx-text-muted);
}

/* ===================== BADGES ===================== */
.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-family: var(--nx-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-badge-green  { background: rgba(0,240,160,0.12); color: var(--nx-accent); }
.nx-badge-purple { background: rgba(123,92,250,0.15); color: var(--nx-accent-2); }
.nx-badge-red    { background: rgba(255,94,120,0.15);  color: var(--nx-accent-3); }
.nx-badge-yellow { background: rgba(247,201,72,0.15);  color: var(--nx-accent-4); }

/* ===================== LEGAL PAGES ===================== */
.nx-legal-header {
  background: var(--nx-dark);
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--nx-border);
}

.nx-legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.nx-legal-content h2 {
  font-size: 1.4rem;
  color: #fff;
  margin: 2.5rem 0 1rem;
}

.nx-legal-content h3 {
  font-size: 1.1rem;
  color: var(--nx-text);
  margin: 1.5rem 0 0.75rem;
}

.nx-legal-content p, .nx-legal-content li {
  color: var(--nx-text-muted);
  line-height: 1.9;
  margin-bottom: 0.8rem;
}

.nx-legal-content ul, .nx-legal-content ol {
  margin: 0.5rem 0 1.2rem 1.5rem;
}

.nx-legal-content a { color: var(--nx-accent); }

.nx-last-updated {
  font-family: var(--nx-font-mono);
  font-size: 0.8rem;
  color: var(--nx-text-muted);
  margin-top: 0.5rem;
}

/* ===================== PAGE HEADER ===================== */
.nx-page-header {
  background: var(--nx-dark);
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nx-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,240,160,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(123,92,250,0.08) 0%, transparent 60%);
}

.nx-page-header-content { position: relative; z-index: 1; }

/* ===================== INFO BOX ===================== */
.nx-info-box {
  background: rgba(0,240,160,0.06);
  border: 1px solid rgba(0,240,160,0.15);
  border-radius: var(--nx-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
}

.nx-info-box .nx-icon { color: var(--nx-accent); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.nx-info-box p { margin: 0; color: var(--nx-text); font-size: 0.9rem; }

/* ===================== MAP ===================== */
.nx-map-wrap {
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nx-border);
}

.nx-map-wrap iframe { display: block; width: 100%; height: 380px; border: none; filter: invert(0.9) hue-rotate(180deg); }

/* ===================== CONTACT INFO ===================== */
.nx-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.nx-contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(0,240,160,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.nx-contact-info-label {
  font-family: var(--nx-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
  margin-bottom: 4px;
}

.nx-contact-info-value {
  color: var(--nx-text);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===================== ABOUT ===================== */
.nx-feature-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.nx-feature-icon {
  width: 48px; height: 48px;
  background: rgba(123,92,250,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--nx-accent-2);
  flex-shrink: 0;
}

.nx-feature-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.nx-feature-desc {
  font-size: 0.9rem;
  color: var(--nx-text-muted);
  line-height: 1.7;
}

/* ===================== THANK YOU ===================== */
.nx-thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}

.nx-thank-you-box {
  text-align: center;
  max-width: 540px;
  padding: 3rem;
}

.nx-check-circle {
  width: 90px; height: 90px;
  background: rgba(0,240,160,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--nx-accent);
  margin: 0 auto 2rem;
  animation: nx-pop-in 0.6s cubic-bezier(0.175,0.885,0.32,1.275);
}

@keyframes nx-pop-in {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ===================== FILTER TABS ===================== */
.nx-filter-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.nx-filter-tab {
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  color: var(--nx-text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--nx-transition);
  font-family: var(--nx-font-body);
}

.nx-filter-tab:hover, .nx-filter-tab.active {
  background: var(--nx-accent);
  border-color: var(--nx-accent);
  color: var(--nx-black);
}

/* ===================== CAPTCHA ===================== */
.nx-captcha-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.nx-captcha-box {
  background: var(--nx-dark-3);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nx-captcha-question {
  font-family: var(--nx-font-mono);
  font-size: 0.9rem;
  color: var(--nx-text);
  font-weight: 700;
}

.nx-captcha-input {
  width: 70px;
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  color: var(--nx-text);
  font-family: var(--nx-font-mono);
  font-size: 0.9rem;
  outline: none;
  text-align: center;
}

.nx-captcha-input:focus { border-color: var(--nx-accent); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .nx-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nx-nav-links { display: none; }
  .nx-hamburger { display: flex; }
  .nx-mobile-menu { display: flex; }
}

@media (max-width: 767px) {
  .nx-footer-grid { grid-template-columns: 1fr; }
  .nx-section { padding: 60px 0; }
  .nx-hero-title { font-size: 2.8rem; }
  .nx-knowledge-chart { height: 140px; }
  .nx-filter-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
}

/* Mobile nav overlay */
.nx-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--nx-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform var(--nx-transition);
}

.nx-mobile-nav.open { transform: translateX(0); }

.nx-mobile-nav a {
  font-family: var(--nx-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nx-text);
}

.nx-mobile-nav a:hover { color: var(--nx-accent); }

.nx-mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--nx-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Progress bars animated */
.nx-animate-bar { animation: nx-grow-bar 1.5s cubic-bezier(0.4,0,0.2,1) forwards; }

@keyframes nx-grow-bar {
  from { width: 0; }
}

/* Fade in on scroll */
.nx-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.nx-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.nx-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.nx-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.1s; }
.nx-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.2s; }
.nx-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.3s; }
.nx-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.4s; }

.nx-text-accent { color: var(--nx-accent); }
.nx-text-purple { color: var(--nx-accent-2); }
.nx-text-red    { color: var(--nx-accent-3); }
.nx-text-yellow { color: var(--nx-accent-4); }
.nx-text-muted  { color: var(--nx-text-muted); }

/* About page number counters */
.nx-counter-item {
  text-align: center;
  padding: 2rem;
  background: var(--nx-dark-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
}

.nx-counter-num {
  font-family: var(--nx-font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--nx-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.nx-counter-label {
  font-size: 0.9rem;
  color: var(--nx-text-muted);
}

/* Blog page styles */
.nx-breadcrumb {
  font-size: 0.82rem;
  color: var(--nx-text-muted);
  margin-bottom: 1.5rem;
}

.nx-breadcrumb a { color: var(--nx-text-muted); }
.nx-breadcrumb a:hover { color: var(--nx-accent); }
.nx-breadcrumb span { color: var(--nx-accent); }

/* Sticky sidebar */
.nx-sticky-sidebar { position: sticky; top: 90px; }

/* Related articles */
.nx-related-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--nx-border);
}

.nx-related-card:last-child { border-bottom: none; }

.nx-related-card img { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

.nx-related-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nx-text);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.nx-related-card-date {
  font-size: 0.75rem;
  color: var(--nx-text-muted);
  font-family: var(--nx-font-mono);
}

/* Misc utilities */
.nx-mt-0 { margin-top: 0; }
.nx-mb-2 { margin-bottom: 1rem; }
.nx-mb-4 { margin-bottom: 2rem; }
.nx-py-2 { padding: 1rem 0; }
.nx-gap-2 { gap: 1rem; }
.nx-gap-3 { gap: 1.5rem; }

.nx-logo img{
  max-width: 150px;
  object-fit: contain;
}

.nx-article-layout h2, .nx-article-layout h3, .nx-article-layout h4{
  color: #000;
}

a{
  text-decoration: none!important;
}

.nx-legal-content h2, .nx-legal-content h3{
  color: #000;
}