/**
 * NOVEMAX — Futuristic AI / Technology Animation Layer
 * Visual Enhancement Layer (Non-intrusive, 60fps, Lightweight)
 * Palette: NOVEMAX Blue (#2563eb), Cyan (#06b6d4), Green (#10b981), Lime (#84cc16)
 */

/* ==========================================================================
   1. AI HERO BACKDROP & CANVAS
   ========================================================================== */
.nvmx-ai-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.nvmx-ai-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
}

/* Digital Grid Light Sweep Enhancement */
.nvmx-grid-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(6, 182, 212, 0.04) 45%,
    rgba(16, 185, 129, 0.06) 50%,
    rgba(37, 99, 235, 0.04) 55%,
    transparent 100%
  );
  background-size: 250% 250%;
  animation: nvmx-grid-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes nvmx-grid-drift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* ==========================================================================
   2. ORBITING AI CORE SYSTEM
   ========================================================================== */
.nvmx-ai-core-system {
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  opacity: 0.85;
}

/* Central Glowing AI Core */
.nvmx-ai-core {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(6, 182, 212, 0.35) 0%, rgba(37, 99, 235, 0.22) 45%, rgba(7, 20, 38, 0.9) 75%);
  border: 1px solid rgba(6, 182, 212, 0.5);
  box-shadow: 
    0 0 35px rgba(6, 182, 212, 0.35),
    0 0 70px rgba(37, 99, 235, 0.2),
    inset 0 0 25px rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: nvmx-core-pulse 5s ease-in-out infinite;
}

@keyframes nvmx-core-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 0 35px rgba(6, 182, 212, 0.35),
      0 0 70px rgba(37, 99, 235, 0.2),
      inset 0 0 25px rgba(16, 185, 129, 0.25);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 
      0 0 50px rgba(6, 182, 212, 0.5),
      0 0 95px rgba(37, 99, 235, 0.35),
      inset 0 0 35px rgba(16, 185, 129, 0.4);
  }
}

/* Inner Holographic Geometry */
.nvmx-ai-core-inner {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.6);
  animation: nvmx-rotate-clockwise 24s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nvmx-ai-core-nucleus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #2563eb 60%, transparent 100%);
  filter: drop-shadow(0 0 10px #38bdf8);
  animation: nvmx-nucleus-glow 3s ease-in-out infinite alternate;
}

@keyframes nvmx-nucleus-glow {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 1; }
}

@keyframes nvmx-rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes nvmx-rotate-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Orbiting Rings */
.nvmx-ai-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Orbit 1: Inner Ellipse */
.nvmx-ai-orbit-1 {
  width: 290px;
  height: 290px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
  transform: rotateX(68deg) rotateY(15deg);
  animation: nvmx-orbit-spin-1 26s linear infinite;
}

/* Orbit 2: Middle Inclined Ellipse */
.nvmx-ai-orbit-2 {
  width: 410px;
  height: 410px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
  transform: rotateX(60deg) rotateY(-25deg);
  animation: nvmx-orbit-spin-2 36s linear infinite reverse;
}

/* Orbit 3: Outer Horizon Ring */
.nvmx-ai-orbit-3 {
  width: 530px;
  height: 530px;
  border: 1px dashed rgba(37, 99, 235, 0.28);
  transform: rotateX(74deg) rotateY(5deg);
  animation: nvmx-orbit-spin-3 48s linear infinite;
}

@keyframes nvmx-orbit-spin-1 {
  from { transform: rotateX(68deg) rotateY(15deg) rotateZ(0deg); }
  to { transform: rotateX(68deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes nvmx-orbit-spin-2 {
  from { transform: rotateX(60deg) rotateY(-25deg) rotateZ(0deg); }
  to { transform: rotateX(60deg) rotateY(-25deg) rotateZ(360deg); }
}

@keyframes nvmx-orbit-spin-3 {
  from { transform: rotateX(74deg) rotateY(5deg) rotateZ(0deg); }
  to { transform: rotateX(74deg) rotateY(5deg) rotateZ(360deg); }
}

/* Satellite Nodes orbiting the rings */
.nvmx-ai-satellite {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8, 0 0 20px #06b6d4;
}

.nvmx-ai-satellite-green {
  background: #10b981;
  box-shadow: 0 0 12px #10b981, 0 0 20px #84cc16;
}

/* Outer Scanning Radar Effect */
.nvmx-ai-scan {
  position: absolute;
  width: 510px;
  height: 510px;
  border-radius: 50%;
  transform: rotateX(70deg);
  background: conic-gradient(from 0deg, transparent 0deg, rgba(6, 182, 212, 0.12) 60deg, transparent 75deg);
  animation: nvmx-scan-sweep 8s linear infinite;
  pointer-events: none;
}

@keyframes nvmx-scan-sweep {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to { transform: rotateX(70deg) rotateZ(360deg); }
}

/* ==========================================================================
   3. FLOATING AI LABELS & CONNECTORS
   ========================================================================== */
.nvmx-ai-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nvmx-ai-label {
  position: absolute;
  background: rgba(7, 20, 38, 0.75);
  border: 1px solid rgba(6, 182, 212, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(4, 12, 23, 0.5), 0 0 10px rgba(6, 182, 212, 0.15);
  white-space: nowrap;
  user-select: none;
}

.nvmx-ai-label .nvmx-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #06b6d4;
  box-shadow: 0 0 8px #06b6d4;
  animation: nvmx-pulse-dot 2s infinite ease-in-out;
}

.nvmx-ai-label-green .nvmx-label-dot {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.nvmx-ai-label-blue .nvmx-label-dot {
  background-color: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
}

/* Label Positions (Behind/Beside hero content) */
.nvmx-ai-label-1 {
  top: 18%;
  right: 32%;
  animation: nvmx-float-1 7s ease-in-out infinite;
}

.nvmx-ai-label-2 {
  top: 75%;
  right: 38%;
  animation: nvmx-float-2 8s ease-in-out infinite 1s;
}

.nvmx-ai-label-3 {
  top: 28%;
  right: 5%;
  animation: nvmx-float-3 9s ease-in-out infinite 0.5s;
}

.nvmx-ai-label-4 {
  top: 80%;
  right: 8%;
  animation: nvmx-float-1 8.5s ease-in-out infinite 2s;
}

@keyframes nvmx-float-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes nvmx-float-2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes nvmx-float-3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes nvmx-pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Connecting Vector Lines to Floating Labels (Section 8) */
.nvmx-ai-connectors-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.nvmx-ai-connector-path {
  animation: nvmx-dash-flow 18s linear infinite;
}

@keyframes nvmx-dash-flow {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* AI Status Micro-Badge (Compliant with Section 27 & 28) */
.nvmx-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-left: 10px;
  vertical-align: middle;
}

.nvmx-ai-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 8px #06b6d4;
  animation: pulse-glow 2s infinite ease-in-out;
}

/* ==========================================================================
   4. EXISTING PLAN CARD FUTURISTIC ACCENT (Section 12)
   ========================================================================== */
.hero-id-card {
  position: relative;
}

.hero-id-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-2xl) + 2px);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.35));
  z-index: -1;
  opacity: 0.6;
  filter: blur(4px);
  transition: opacity 0.35s ease;
  animation: nvmx-card-aura 8s ease-in-out infinite alternate;
}

.hero-id-card:hover::before {
  opacity: 1;
  filter: blur(8px);
}

@keyframes nvmx-card-aura {
  0% { transform: scale(0.995); opacity: 0.5; }
  100% { transform: scale(1.01); opacity: 0.85; }
}

/* Light sheen across card border */
.hero-id-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: nvmx-card-sheen 9s ease-in-out infinite;
}

@keyframes nvmx-card-sheen {
  0%, 80% { left: -150%; }
  100% { left: 200%; }
}

/* ==========================================================================
   5. CTA BUTTON MICRO-INTERACTIONS (Section 13)
   ========================================================================== */
.btn-wa-solid,
.btn-primary-blue,
.btn-blue-outline {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.btn-wa-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.4), 0 0 16px rgba(37, 211, 102, 0.25);
}

.btn-primary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(37, 99, 235, 0.4), 0 0 16px rgba(6, 182, 212, 0.25);
}

.btn-blue-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.2);
}

/* Micro-sheen on button hover */
.btn-wa-solid::after,
.btn-primary-blue::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: none;
}

.btn-wa-solid:hover::after,
.btn-primary-blue:hover::after {
  left: 150%;
  transition: left 0.65s ease;
}

/* ==========================================================================
   6. HOW IT WORKS TIMELINE ILLUMINATION (Section 16)
   ========================================================================== */
.timeline-track-desktop {
  background: linear-gradient(90deg, #1d4ed8, #06b6d4, #10b981, #06b6d4, #1d4ed8);
  background-size: 200% 100%;
  animation: nvmx-timeline-flow 8s linear infinite;
}

@keyframes nvmx-timeline-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.timeline-step.nvmx-node-active .timeline-node {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 35px rgba(16, 185, 129, 0.2);
  border-color: #06b6d4;
  transform: scale(1.06);
}

/* ==========================================================================
   7. WHY NOVEMAX SECTION SUBTLE AI ACCENTS (Section 15)
   ========================================================================== */
.why-feature-card {
  position: relative;
  overflow: hidden;
}

/* Base subtle ambient corner glow */
.why-feature-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.why-feature-card:hover::before {
  opacity: 1;
  transform: scale(1.4);
}

/* Card 1: Grow Together - Subtle network node pulse */
.why-feature-card:nth-child(1):hover .novemax-icon-container::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1px dashed rgba(6, 182, 212, 0.4);
  animation: nvmx-rotate-clockwise 20s linear infinite;
  pointer-events: none;
}

/* Card 2: Learn For Life - Subtle knowledge lines pulse */
.why-feature-card:nth-child(2):hover .novemax-icon-container::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1px dashed rgba(37, 99, 235, 0.4);
  animation: nvmx-rotate-counter 22s linear infinite;
  pointer-events: none;
}

/* Card 3: Build Better - Subtle architectural grid accent */
.why-feature-card:nth-child(3):hover .novemax-icon-container::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1px dashed rgba(16, 185, 129, 0.4);
  animation: nvmx-rotate-clockwise 24s linear infinite;
  pointer-events: none;
}

/* Card 4: Long-Term Vision - Subtle ascending trajectory pulse */
.why-feature-card:nth-child(4):hover .novemax-icon-container::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1px dashed rgba(6, 182, 212, 0.45);
  animation: nvmx-rotate-counter 20s linear infinite;
  pointer-events: none;
}

/* ==========================================================================
   8. FOOTER DIGITAL NETWORK ACCENT (Section 21)
   ========================================================================== */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), rgba(16, 185, 129, 0.4), transparent);
  pointer-events: none;
}

/* ==========================================================================
   9. MOBILE OPTIMIZATIONS (Section 22, 23)
   ========================================================================== */
@media (max-width: 992px) {
  .nvmx-ai-core-system {
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.65;
  }
}

@media (max-width: 768px) {
  .nvmx-ai-core-system {
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%) scale(0.55);
    opacity: 0.45;
  }

  .nvmx-ai-label {
    display: none !important;
  }

  .nvmx-ai-canvas {
    opacity: 0.45;
  }

  .nvmx-ai-scan {
    display: none;
  }
}

@media (max-width: 480px) {
  .nvmx-ai-core-system {
    transform: translate(-50%, -50%) scale(0.42);
    opacity: 0.35;
  }
}

/* ==========================================================================
   10. SECTION AMBIENT AI ACCENTS (Education, House, Levels)
   ========================================================================== */
.card-edu::after,
.card-house::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.08;
  filter: blur(25px);
  transition: opacity 0.35s ease;
}

.card-edu::after {
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

.card-house::after {
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
}

.card-edu:hover::after,
.card-house:hover::after {
  opacity: 0.2;
}

.matrix-tier-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.matrix-tier-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 25px -4px rgba(6, 182, 212, 0.12);
}

/* ==========================================================================
   11. REDUCED MOTION (Section 24)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .nvmx-ai-core,
  .nvmx-ai-core-inner,
  .nvmx-ai-core-nucleus,
  .nvmx-ai-orbit-1,
  .nvmx-ai-orbit-2,
  .nvmx-ai-orbit-3,
  .nvmx-ai-scan,
  .nvmx-grid-sweep,
  .nvmx-ai-label,
  .timeline-track-desktop,
  .hero-id-card::before,
  .hero-id-card::after,
  .nvmx-aura-outer,
  .nvmx-aura-mid,
  .nvmx-aura-inner,
  .nvmx-orbit-path {
    animation: none !important;
    transition: none !important;
  }

  .nvmx-orbit-beacon animateMotion {
    dur: 0s !important;
  }

  .nvmx-ai-canvas {
    display: none !important;
  }
}

/* ==========================================================================
   12. HEADER LOGO FUTURISTIC ENERGY AURA & ORBITAL ARC
   ========================================================================== */

.brand-logo {
  position: relative !important;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
}

/* Logo image itself: 100% sharp, crisp original pixels, z-index above aura */
.brand-logo img {
  position: relative !important;
  z-index: 3 !important;
  filter: none !important;
  -webkit-filter: none !important;
  pointer-events: auto;
}

/* Energy aura field container centered immediately behind the logo */
.nvmx-logo-energy-field {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 68px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Hover slightly increases brightness */
.brand-logo:hover .nvmx-logo-energy-field {
  opacity: 1.15;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.35));
}

/* Scrolled sticky state: reduce overall aura intensity by 15–20% */
.site-header.scrolled .nvmx-logo-energy-field {
  opacity: 0.82;
  transform: translate(-50%, -50%) scale(0.97);
}

/* LAYER 1: OUTER AURA (Soft atmospheric diffusion, very low opacity, wide blur) */
.nvmx-aura-outer {
  position: absolute;
  width: 290px;
  height: 64px;
  border-radius: 48px;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.22) 0%,
    rgba(6, 182, 212, 0.28) 45%,
    rgba(16, 185, 129, 0.22) 80%,
    rgba(132, 204, 22, 0.12) 100%
  );
  filter: blur(20px);
  -webkit-filter: blur(20px);
  opacity: 0.65;
  animation: nvmx-aura-breathe 8.5s ease-in-out infinite alternate;
  pointer-events: none;
}

/* LAYER 2: MIDDLE AURA (Chromatic depth, medium opacity, medium blur) */
.nvmx-aura-mid {
  position: absolute;
  width: 230px;
  height: 48px;
  border-radius: 36px;
  background: radial-gradient(
    ellipse 85% 75% at 46% 50%,
    rgba(6, 182, 212, 0.45) 0%,
    rgba(37, 99, 235, 0.34) 40%,
    rgba(16, 185, 129, 0.28) 75%,
    transparent 100%
  );
  filter: blur(10px);
  -webkit-filter: blur(10px);
  opacity: 0.80;
  animation: nvmx-aura-breathe 8.5s ease-in-out infinite alternate;
  animation-delay: -2s;
  pointer-events: none;
}

/* LAYER 3: INNER AURA (Slightly brighter focused backlight directly behind logo letters) */
.nvmx-aura-inner {
  position: absolute;
  width: 175px;
  height: 36px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.32) 0%,
    rgba(6, 182, 212, 0.52) 42%,
    rgba(16, 185, 129, 0.40) 85%,
    transparent 100%
  );
  filter: blur(4px);
  -webkit-filter: blur(4px);
  opacity: 0.92;
  animation: nvmx-aura-breathe 8.5s ease-in-out infinite alternate;
  animation-delay: -4s;
  pointer-events: none;
}

/* Slow, soft breathing animation: 8.5s infinite loop */
@keyframes nvmx-aura-breathe {
  0% {
    opacity: 0.72;
    transform: scale(0.97);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 0.76;
    transform: scale(0.98);
  }
}

/* ORBITAL ENERGY ARC (SVG wrapper) */
.nvmx-logo-orbit-wrap {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.nvmx-logo-orbit-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

/* One elegant curved energy arc */
.nvmx-orbit-path {
  pointer-events: none;
  animation: nvmx-arc-breathe 9s ease-in-out infinite alternate;
  transform-origin: center;
  filter: drop-shadow(0 0 3px rgba(6, 182, 212, 0.55));
}

@keyframes nvmx-arc-breathe {
  0% {
    opacity: 0.80;
    stroke-width: 1.2px;
  }
  50% {
    opacity: 1;
    stroke-width: 1.4px;
  }
  100% {
    opacity: 0.85;
    stroke-width: 1.2px;
  }
}

/* Small glowing cyan/green light point moving slowly along arc (8–12s) */
.nvmx-orbit-beacon {
  filter: drop-shadow(0 0 4px #00e5ff) drop-shadow(0 0 8px rgba(16, 185, 129, 0.75));
}

/* Subtle header bottom accent line (1px max, Blue → Cyan → Green) */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.20) 15%,
    rgba(6, 182, 212, 0.32) 35%,
    rgba(16, 185, 129, 0.25) 55%,
    rgba(37, 99, 235, 0.15) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.35s ease;
}

.site-header.scrolled::after {
  opacity: 0.95;
}

/* Responsive: Mobile & Tablet Optimization */
@media (max-width: 1024px) {
  .nvmx-ai-core-system,
  .nvmx-ai-connectors-svg,
  .nvmx-ai-label-layer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    overflow-x: clip;
  }

  .nvmx-logo-energy-field {
    width: 140px;
    height: 38px;
    opacity: 0.60;
  }

  .nvmx-aura-outer {
    display: none; /* Hide outer aura on mobile */
  }

  .nvmx-aura-mid {
    width: 185px;
    height: 40px;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 0.55;
    animation-duration: 14s; /* 50% slower animation */
  }

  .nvmx-aura-inner {
    width: 140px;
    height: 30px;
    filter: blur(3.5px);
    -webkit-filter: blur(3.5px);
    opacity: 0.75;
    animation-duration: 14s;
  }

  .nvmx-orbit-path {
    stroke-dasharray: 130 150; /* Small portion of arc */
    animation-duration: 14s;
  }
}
