/* ═══════════════════════════════════════════════════════════════
   Google Fonts
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════════
   NyXia Automatisation — Design System
   Inspired by Webmasteria cosmic dark theme
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────── */

:root {
  --radius: 0.625rem;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', 'Inter', sans-serif;
  --font-display: 'Orbitron', 'Space Grotesk', sans-serif;

  /* Backgrounds */
  --background: #06101f;
  --foreground: #D6D9F0;
  --card: #1A2554;
  --card-foreground: #D6D9F0;
  --popover: #0F1C3F;
  --popover-foreground: #D6D9F0;

  /* Primary */
  --primary: #7B5CFF;
  --primary-foreground: #FFFFFF;

  /* Secondary */
  --secondary: #0F1C3F;
  --secondary-foreground: #D6D9F0;

  /* Muted */
  --muted: #1A2554;
  --muted-foreground: #8891B8;

  /* Accent */
  --accent: #4FA3FF;
  --accent-foreground: #FFFFFF;

  /* Destructive */
  --destructive: #FF4B6E;

  /* Borders */
  --border: rgba(123,92,255,0.15);
  --input: rgba(123,92,255,0.2);
  --ring: #7B5CFF;

  /* Chart */
  --chart-1: #7B5CFF;
  --chart-2: #5A6CFF;
  --chart-3: #4FA3FF;
  --chart-4: #00E676;
  --chart-5: #F4C842;

  /* Sidebar */
  --sidebar: #080f22;
  --sidebar-foreground: #D6D9F0;
  --sidebar-primary: #7B5CFF;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: rgba(123,92,255,0.15);
  --sidebar-accent-foreground: #D6D9F0;
  --sidebar-border: rgba(123,92,255,0.1);
  --sidebar-ring: #7B5CFF;

  /* NyXia Design Tokens */
  --nx-bg0: #06101f;
  --nx-bg1: #0A1628;
  --nx-bg2: #0F1C3F;
  --nx-bg3: #1A2554;
  --nx-bg4: #243068;
  --nx-sidebar: #080f22;
  --nx-p: #7B5CFF;
  --nx-p2: #5A6CFF;
  --nx-p3: #4FA3FF;
  --nx-glow: rgba(123,92,255,0.4);
  --nx-glow-strong: rgba(123,92,255,0.7);
  --nx-t: #FFFFFF;
  --nx-t2: #D6D9F0;
  --nx-t3: #8891B8;
  --nx-t4: #4a5278;
  --nx-green: #00E676;
  --nx-gold: #F4C842;
  --nx-red: #FF4B6E;
  --nx-r: 14px;
  --nx-r-lg: 20px;
  --nx-r-xl: 28px;
  --nx-glass-bg: rgba(15,28,63,0.55);
  --nx-glass-border: rgba(123,92,255,0.12);
  --nx-glass-blur: 18px;
}

.dark {
  --background: #06101f;
  --foreground: #D6D9F0;
  --card: #1A2554;
  --card-foreground: #D6D9F0;
  --popover: #0F1C3F;
  --popover-foreground: #D6D9F0;
  --primary: #7B5CFF;
  --primary-foreground: #FFFFFF;
  --secondary: #0F1C3F;
  --secondary-foreground: #D6D9F0;
  --muted: #1A2554;
  --muted-foreground: #8891B8;
  --accent: #4FA3FF;
  --accent-foreground: #FFFFFF;
  --destructive: #FF4B6E;
  --border: rgba(123,92,255,0.15);
  --input: rgba(123,92,255,0.2);
  --ring: #7B5CFF;
  --sidebar: #080f22;
  --sidebar-foreground: #D6D9F0;
  --sidebar-primary: #7B5CFF;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: rgba(123,92,255,0.15);
  --sidebar-accent-foreground: #D6D9F0;
  --sidebar-border: rgba(123,92,255,0.1);
  --sidebar-ring: #7B5CFF;
}

/* ── Base / Reset ──────────────────────────────────────────── */

* {
  border-color: rgba(123,92,255,0.15);
  outline-color: rgba(123,92,255,0.3);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #06101f;
  color: #D6D9F0;
  font-family: var(--font-body);
  background-color: var(--nx-bg0);
  color: var(--nx-t2);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--nx-t);
  line-height: 1.15;
}

a {
  color: var(--nx-p3);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--nx-p);
}

::selection {
  background: rgba(123,92,255,0.35);
  color: var(--nx-t);
}

/* ── Cosmic Background — Now handled by starry-bg.js canvas ── */

/* ── Custom Scrollbar ──────────────────────────────────────── */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(123,92,255,0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(123,92,255,0.45);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(123,92,255,0.2) transparent;
}

/* ── Animations ────────────────────────────────────────────── */

@keyframes nx-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes nx-breathe {
  0%, 100% { box-shadow: 0 0 20px rgba(123,92,255,0.4); }
  50% { box-shadow: 0 0 40px rgba(123,92,255,0.7), 0 0 80px rgba(123,92,255,0.15); }
}

@keyframes nx-ambient-rotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes nx-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nx-pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes nx-spin {
  to { transform: rotate(360deg); }
}

@keyframes nx-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes nx-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

@keyframes nx-speak-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes nx-card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes nx-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@keyframes nx-star-drift {
  from { background-position: 0% 0%; }
  to { background-position: 200% 200%; }
}

@keyframes nx-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes nx-glow-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

@keyframes nx-sweep {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes nx-accordion-down {
  from { height: 0; opacity: 0; }
  to { height: var(--radix-accordion-content-height); opacity: 1; }
}

@keyframes nx-accordion-up {
  from { height: var(--radix-accordion-content-height); opacity: 1; }
  to { height: 0; opacity: 0; }
}

@keyframes nx-hero-card-1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}

@keyframes nx-hero-card-2 {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50% { transform: translateY(-12px) rotate(2.5deg); }
}

@keyframes nx-hero-card-3 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes nx-eyebrow-slide {
  from { opacity: 0; transform: translateY(10px) scaleX(0.8); }
  to { opacity: 1; transform: translateY(0) scaleX(1); }
}

@keyframes nx-pill-pop {
  0% { transform: scale(0.85); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes nx-chat-open {
  from { opacity: 0; transform: scale(0.9) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes nx-typing-dots {
  0%, 80%, 100% { transform: scale(0); opacity: 0; }
  40% { transform: scale(1); opacity: 1; }
}

/* ── nx-float utility ──────────────────────────────────────── */

.nx-float {
  animation: nx-float 4s ease-in-out infinite;
}

.nx-float-delay-1 { animation-delay: 0.5s; }
.nx-float-delay-2 { animation-delay: 1s; }
.nx-float-delay-3 { animation-delay: 1.5s; }
.nx-float-delay-4 { animation-delay: 2s; }

/* ── nx-breathe utility ────────────────────────────────────── */

.nx-breathe {
  animation: nx-breathe 3s ease-in-out infinite;
}

/* ── nx-glass (Glass Morphism Card) ────────────────────────── */

.nx-glass {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(var(--nx-glass-blur));
  -webkit-backdrop-filter: blur(var(--nx-glass-blur));
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-lg);
  box-shadow:
    0 4px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.nx-glass:hover {
  border-color: rgba(123,92,255,0.25);
  box-shadow:
    0 8px 40px rgba(123,92,255,0.12),
    0 4px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.nx-glass-static {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(var(--nx-glass-blur));
  -webkit-backdrop-filter: blur(var(--nx-glass-blur));
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-lg);
  box-shadow:
    0 4px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ── nx-ambient (Rotating Gradient) ────────────────────────── */

.nx-ambient {
  position: relative;
  overflow: hidden;
}

.nx-ambient::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(123,92,255,0.12),
    rgba(79,163,255,0.08),
    rgba(90,108,255,0.1),
    rgba(123,92,255,0.12)
  );
  animation: nx-ambient-rotate 12s linear infinite;
  z-index: -1;
}

/* ── nx-fade-up (Scroll Reveal) ────────────────────────────── */

.nx-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.nx-fade-up.nx-visible,
.nx-fade-up[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grouped elements */
.nx-fade-up-delay-1 { transition-delay: 0.1s; }
.nx-fade-up-delay-2 { transition-delay: 0.2s; }
.nx-fade-up-delay-3 { transition-delay: 0.3s; }
.nx-fade-up-delay-4 { transition-delay: 0.4s; }
.nx-fade-up-delay-5 { transition-delay: 0.5s; }

/* ── neon-glow ─────────────────────────────────────────────── */

.neon-glow {
  box-shadow:
    0 0 8px rgba(123,92,255,0.5),
    0 0 20px rgba(123,92,255,0.25),
    0 0 40px rgba(123,92,255,0.1);
}

.neon-glow-blue {
  box-shadow:
    0 0 8px rgba(79,163,255,0.5),
    0 0 20px rgba(79,163,255,0.25),
    0 0 40px rgba(79,163,255,0.1);
}

.neon-glow-green {
  box-shadow:
    0 0 8px rgba(0,230,118,0.5),
    0 0 20px rgba(0,230,118,0.25),
    0 0 40px rgba(0,230,118,0.1);
}

.neon-glow-gold {
  box-shadow:
    0 0 8px rgba(244,200,66,0.5),
    0 0 20px rgba(244,200,66,0.25),
    0 0 40px rgba(244,200,66,0.1);
}

.neon-glow-text {
  text-shadow:
    0 0 8px rgba(123,92,255,0.6),
    0 0 20px rgba(123,92,255,0.3);
}

.neon-glow-text-blue {
  text-shadow:
    0 0 8px rgba(79,163,255,0.6),
    0 0 20px rgba(79,163,255,0.3);
}

/* ── nx-gradient-text ──────────────────────────────────────── */

.nx-gradient-text {
  background: linear-gradient(135deg, var(--nx-p), var(--nx-p3), var(--nx-p2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nx-gradient-text-gold {
  background: linear-gradient(135deg, var(--nx-gold), #FFE082, var(--nx-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nx-gradient-text-green {
  background: linear-gradient(135deg, var(--nx-green), #69F0AE, var(--nx-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── nx-input ──────────────────────────────────────────────── */

.nx-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15,28,63,0.6);
  border: 1px solid rgba(123,92,255,0.18);
  border-radius: var(--nx-r);
  color: var(--nx-t2);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.nx-input::placeholder {
  color: var(--nx-t4);
}

.nx-input:focus {
  border-color: var(--nx-p);
  box-shadow: 0 0 0 3px rgba(123,92,255,0.15), 0 0 20px rgba(123,92,255,0.08);
  background: rgba(15,28,63,0.8);
}

.nx-input:hover:not(:focus) {
  border-color: rgba(123,92,255,0.35);
}

.nx-input-error {
  border-color: var(--nx-red);
  box-shadow: 0 0 0 3px rgba(255,75,110,0.12);
}

/* ── nx-textarea ───────────────────────────────────────────── */

.nx-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15,28,63,0.6);
  border: 1px solid rgba(123,92,255,0.18);
  border-radius: var(--nx-r);
  color: var(--nx-t2);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.nx-textarea::placeholder {
  color: var(--nx-t4);
}

.nx-textarea:focus {
  border-color: var(--nx-p);
  box-shadow: 0 0 0 3px rgba(123,92,255,0.15), 0 0 20px rgba(123,92,255,0.08);
}

/* ── nx-btn-primary ────────────────────────────────────────── */

.nx-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--nx-p), var(--nx-p2));
  color: var(--nx-t);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--nx-r);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 4px 20px rgba(123,92,255,0.3);
}

.nx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(123,92,255,0.45);
  filter: brightness(1.1);
}

.nx-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(123,92,255,0.25);
}

.nx-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* ── nx-btn-secondary ──────────────────────────────────────── */

.nx-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--nx-p3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(79,163,255,0.35);
  border-radius: var(--nx-r);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.nx-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--nx-p3);
  background: rgba(79,163,255,0.08);
  box-shadow: 0 4px 20px rgba(79,163,255,0.15);
}

.nx-btn-secondary:active {
  transform: translateY(0);
}

/* ── nx-section ────────────────────────────────────────────── */

.nx-section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.nx-section-sm {
  padding: 48px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.nx-section-lg {
  padding: 120px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── nx-faq (Accordion) ────────────────────────────────────── */

.nx-faq {
  border: 1px solid rgba(123,92,255,0.1);
  border-radius: var(--nx-r);
  background: rgba(15,28,63,0.35);
  overflow: hidden;
  transition: border-color 0.3s;
}

.nx-faq:hover {
  border-color: rgba(123,92,255,0.2);
}

.nx-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--nx-t2);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.nx-faq-trigger:hover {
  color: var(--nx-t);
}

.nx-faq-trigger[data-state="open"] {
  color: var(--nx-p3);
}

.nx-faq-trigger-icon {
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--nx-t3);
}

.nx-faq-trigger[data-state="open"] .nx-faq-trigger-icon {
  transform: rotate(180deg);
  color: var(--nx-p3);
}

.nx-faq-content {
  overflow: hidden;
  animation: nx-accordion-down 0.3s ease-out;
}

.nx-faq-content[data-state="closed"] {
  animation: nx-accordion-up 0.2s ease-out;
}

.nx-faq-body {
  padding: 0 24px 18px;
  color: var(--nx-t3);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── nx-sidebar + nx-main-content (Dashboard Layout) ───────── */

.nx-sidebar {
  width: 260px;
  min-width: 260px;
  height: 100vh;
  background: var(--nx-sidebar);
  border-right: 1px solid rgba(123,92,255,0.08);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1);
}

.nx-sidebar-header {
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(123,92,255,0.08);
}

.nx-sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--nx-t3);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.nx-sidebar-item:hover {
  background: rgba(123,92,255,0.08);
  color: var(--nx-t2);
}

.nx-sidebar-item.nx-active {
  background: rgba(123,92,255,0.12);
  color: var(--nx-p3);
}

.nx-sidebar-item.nx-active .nx-sidebar-item-icon {
  color: var(--nx-p);
}

.nx-sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid rgba(123,92,255,0.08);
}

.nx-main-content {
  flex: 1;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--nx-bg1);
}

/* ── nx-stat-card ──────────────────────────────────────────── */

.nx-stat-card {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nx-stat-card:hover {
  border-color: rgba(123,92,255,0.22);
  box-shadow: 0 8px 32px rgba(123,92,255,0.08);
}

.nx-stat-card-label {
  font-size: 0.8rem;
  color: var(--nx-t3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nx-stat-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nx-t);
  line-height: 1.1;
}

.nx-stat-card-change {
  font-size: 0.82rem;
  font-weight: 500;
}

.nx-stat-card-change.positive {
  color: var(--nx-green);
}

.nx-stat-card-change.negative {
  color: var(--nx-red);
}

/* ── nx-pub-card (Publication Card) ────────────────────────── */

.nx-pub-card {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.nx-pub-card:hover {
  border-color: rgba(123,92,255,0.22);
  box-shadow: 0 8px 32px rgba(123,92,255,0.08);
  transform: translateY(-2px);
}

.nx-pub-card-title {
  font-weight: 600;
  color: var(--nx-t);
  font-size: 1rem;
}

.nx-pub-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--nx-t3);
}

.nx-pub-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.nx-pub-card-status.published {
  background: rgba(0,230,118,0.12);
  color: var(--nx-green);
}

.nx-pub-card-status.draft {
  background: rgba(244,200,66,0.12);
  color: var(--nx-gold);
}

.nx-pub-card-status.scheduled {
  background: rgba(79,163,255,0.12);
  color: var(--nx-p3);
}

/* ── nx-badge ──────────────────────────────────────────────── */

.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.nx-badge-purple {
  background: rgba(123,92,255,0.14);
  color: var(--nx-p);
  border: 1px solid rgba(123,92,255,0.2);
}

.nx-badge-blue {
  background: rgba(79,163,255,0.14);
  color: var(--nx-p3);
  border: 1px solid rgba(79,163,255,0.2);
}

.nx-badge-green {
  background: rgba(0,230,118,0.14);
  color: var(--nx-green);
  border: 1px solid rgba(0,230,118,0.2);
}

.nx-badge-gold {
  background: rgba(244,200,66,0.14);
  color: var(--nx-gold);
  border: 1px solid rgba(244,200,66,0.2);
}

.nx-badge-red {
  background: rgba(255,75,110,0.14);
  color: var(--nx-red);
  border: 1px solid rgba(255,75,110,0.2);
}

/* ── nx-pricing-card (3 Tiers) ─────────────────────────────── */

.nx-pricing-card {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(var(--nx-glass-blur));
  -webkit-backdrop-filter: blur(var(--nx-glass-blur));
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.nx-pricing-card:hover {
  border-color: rgba(123,92,255,0.28);
  box-shadow: 0 12px 48px rgba(123,92,255,0.12);
  transform: translateY(-4px);
}

/* Top gradient accent line */
.nx-pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nx-p), var(--nx-p3));
}

/* Featured / Popular tier */
.nx-pricing-card.nx-featured {
  border-color: rgba(123,92,255,0.3);
  box-shadow: 0 0 40px rgba(123,92,255,0.1);
  transform: scale(1.04);
}

.nx-pricing-card.nx-featured::before {
  height: 4px;
  background: linear-gradient(90deg, var(--nx-p), var(--nx-p3), var(--nx-p));
  animation: nx-shimmer 3s ease-in-out infinite;
  background-size: 200% 100%;
}

.nx-pricing-card.nx-featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.nx-pricing-tier {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nx-p3);
}

.nx-pricing-price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--nx-t);
  line-height: 1;
}

.nx-pricing-price .nx-pricing-currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 4px;
  color: var(--nx-t3);
}

.nx-pricing-price .nx-pricing-period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--nx-t4);
  font-family: var(--font-body);
}

.nx-pricing-desc {
  color: var(--nx-t3);
  font-size: 0.92rem;
  line-height: 1.6;
}

.nx-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nx-t2);
  font-size: 0.9rem;
}

.nx-pricing-features li .nx-check {
  color: var(--nx-green);
  font-weight: 700;
  flex-shrink: 0;
}

.nx-pricing-features li .nx-cross {
  color: var(--nx-t4);
  flex-shrink: 0;
}

/* ── nx-checkbox ───────────────────────────────────────────── */

.nx-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(123,92,255,0.3);
  border-radius: 5px;
  background: rgba(15,28,63,0.5);
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.nx-checkbox:hover {
  border-color: var(--nx-p);
  box-shadow: 0 0 8px rgba(123,92,255,0.15);
}

.nx-checkbox:checked {
  background: linear-gradient(135deg, var(--nx-p), var(--nx-p2));
  border-color: var(--nx-p);
  box-shadow: 0 0 12px rgba(123,92,255,0.25);
}

.nx-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nx-checkbox:focus-visible {
  outline: 2px solid var(--nx-p);
  outline-offset: 2px;
}

/* ── nx-img-glow — Drop-shadow follows image shape ────────── */

.nx-img-glow {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nx-img-glow img {
  filter: drop-shadow(0 20px 40px rgba(123,92,255,0.3)) drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  transition: filter 0.4s ease, transform 0.4s ease;
  max-width: 100%;
  height: auto;
}

.nx-img-glow:hover img {
  filter: drop-shadow(0 30px 60px rgba(123,92,255,0.45)) drop-shadow(0 12px 24px rgba(0,0,0,0.5));
  transform: translateY(-6px);
}

/* ── nx-glow-blob — Breathing radial glow behind image ────── */

.nx-glow-blob {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,255,0.2) 0%, rgba(79,163,255,0.08) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  animation: nx-glow-breathe 4s ease-in-out infinite;
}

@keyframes nx-glow-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

/* ── nx-img-float — Floating animation for images ──────────── */

.nx-img-float {
  animation: nx-float-gentle 5s ease-in-out infinite;
}

@keyframes nx-float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ── nx-img-hero ───────────────────────────────────────────── */

.nx-img-hero {
  border-radius: var(--nx-r-xl);
  transition: transform 0.4s ease;
}

.nx-img-hero:hover {
  transform: translateY(-4px);
}

/* ── nx-star (Rating) ──────────────────────────────────────── */

.nx-star-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nx-star {
  color: var(--nx-t4);
  font-size: 1.1rem;
  transition: color 0.15s;
}

.nx-star.nx-star-filled {
  color: var(--nx-gold);
}

.nx-star.nx-star-half {
  background: linear-gradient(90deg, var(--nx-gold) 50%, var(--nx-t4) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── nyxia-chat Widget ─────────────────────────────────────── */

.nyxia-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nx-p), var(--nx-p2));
  color: var(--nx-t);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(123,92,255,0.4);
  z-index: 9998;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: nx-breathe 3s ease-in-out infinite;
}

.nyxia-chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(123,92,255,0.55);
}

.nyxia-chat-btn svg {
  width: 26px;
  height: 26px;
}

.nyxia-chat-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 140px);
  background: var(--nx-bg2);
  border: 1px solid rgba(123,92,255,0.15);
  border-radius: var(--nx-r-xl);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(123,92,255,0.1);
  animation: nx-chat-open 0.3s ease-out;
  overflow: hidden;
}

.nyxia-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(10,22,40,0.9);
  border-bottom: 1px solid rgba(123,92,255,0.1);
}

.nyxia-chat-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--nx-t);
}

.nyxia-chat-header-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(123,92,255,0.1);
  border: none;
  color: var(--nx-t3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.nyxia-chat-header-close:hover {
  background: rgba(123,92,255,0.2);
  color: var(--nx-t);
}

.nyxia-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nyxia-chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  animation: nx-msg-in 0.3s ease-out;
}

.nyxia-chat-msg.nyxia-chat-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--nx-p), var(--nx-p2));
  color: var(--nx-t);
  border-bottom-right-radius: 4px;
}

.nyxia-chat-msg.nyxia-chat-msg-bot {
  align-self: flex-start;
  background: rgba(26,37,84,0.7);
  color: var(--nx-t2);
  border: 1px solid rgba(123,92,255,0.1);
  border-bottom-left-radius: 4px;
}

.nyxia-chat-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  background: rgba(26,37,84,0.7);
  border: 1px solid rgba(123,92,255,0.1);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}

.nyxia-chat-typing-dot {
  width: 7px;
  height: 7px;
  background: var(--nx-t3);
  border-radius: 50%;
  animation: nx-typing-dots 1.4s infinite;
}

.nyxia-chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.nyxia-chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }

.nyxia-chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(123,92,255,0.1);
  background: rgba(10,22,40,0.9);
}

.nyxia-chat-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(15,28,63,0.6);
  border: 1px solid rgba(123,92,255,0.15);
  border-radius: 10px;
  color: var(--nx-t2);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.nyxia-chat-input:focus {
  border-color: var(--nx-p);
}

.nyxia-chat-input::placeholder {
  color: var(--nx-t4);
}

.nyxia-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--nx-p), var(--nx-p2));
  border: none;
  color: var(--nx-t);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}

.nyxia-chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(123,92,255,0.35);
}

/* ── Hero Floating Cards ───────────────────────────────────── */

.nx-hero-card {
  position: absolute;
  background: var(--nx-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: var(--nx-t2);
  font-size: 0.88rem;
  white-space: nowrap;
  pointer-events: none;
}

.nx-hero-card-1 {
  top: 5%;
  left: -8%;
  animation: nx-hero-card-1 5s ease-in-out infinite;
}

.nx-hero-card-2 {
  bottom: 12%;
  left: -12%;
  animation: nx-hero-card-2 6s ease-in-out infinite;
  animation-delay: 0.8s;
}

.nx-hero-card-3 {
  top: 55%;
  left: 3%;
  animation: nx-hero-card-3 5.5s ease-in-out infinite;
  animation-delay: 1.5s;
}

.nx-hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nx-hero-card-icon.purple {
  background: rgba(123,92,255,0.15);
  color: var(--nx-p);
}

.nx-hero-card-icon.blue {
  background: rgba(79,163,255,0.15);
  color: var(--nx-p3);
}

.nx-hero-card-icon.green {
  background: rgba(0,230,118,0.15);
  color: var(--nx-green);
}

.nx-hero-card-icon.gold {
  background: rgba(244,200,66,0.15);
  color: var(--nx-gold);
}

/* ── Hero Cards Responsive ──────────────────────────────────── */

.nx-hero-card-quote {
  bottom: 15%;
  right: -5%;
  animation: nx-hero-card-2 6s ease-in-out infinite;
  animation-delay: 0.8s;
}

@media (max-width: 767px) {
  .nx-hero-card {
    padding: 10px 14px;
    font-size: 0.78rem;
    gap: 8px;
  }
  .nx-hero-card-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .nx-hero-card-1 {
    top: 2%;
    left: 0;
  }
  .nx-hero-card-2 {
    bottom: 8%;
    left: 0;
  }
}

/* ── Section Eyebrow ───────────────────────────────────────── */

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(123,92,255,0.08);
  border: 1px solid rgba(123,92,255,0.18);
  color: var(--nx-p3);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: nx-eyebrow-slide 0.6s ease-out both;
}

.nx-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-p);
  animation: nx-glow-pulse 2s ease-in-out infinite;
}

/* ── Psycho / Cognitive Lexique Pill ───────────────────────── */

.nx-lexique-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: default;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: nx-pill-pop 0.5s ease-out both;
}

.nx-lexique-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.nx-lexique-pill.purple {
  background: rgba(123,92,255,0.12);
  border: 1px solid rgba(123,92,255,0.2);
  color: var(--nx-p);
}

.nx-lexique-pill.blue {
  background: rgba(79,163,255,0.12);
  border: 1px solid rgba(79,163,255,0.2);
  color: var(--nx-p3);
}

.nx-lexique-pill.green {
  background: rgba(0,230,118,0.12);
  border: 1px solid rgba(0,230,118,0.2);
  color: var(--nx-green);
}

.nx-lexique-pill.gold {
  background: rgba(244,200,66,0.12);
  border: 1px solid rgba(244,200,66,0.2);
  color: var(--nx-gold);
}

.nx-lexique-pill.red {
  background: rgba(255,75,110,0.12);
  border: 1px solid rgba(255,75,110,0.2);
  color: var(--nx-red);
}

/* ── Audience Card ─────────────────────────────────────────── */

.nx-audience-card {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.nx-audience-card:hover {
  border-color: rgba(123,92,255,0.25);
  box-shadow: 0 12px 40px rgba(123,92,255,0.1);
  transform: translateY(-4px);
}

.nx-audience-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nx-audience-card-icon.purple {
  background: rgba(123,92,255,0.12);
  color: var(--nx-p);
}

.nx-audience-card-icon.blue {
  background: rgba(79,163,255,0.12);
  color: var(--nx-p3);
}

.nx-audience-card-icon.green {
  background: rgba(0,230,118,0.12);
  color: var(--nx-green);
}

.nx-audience-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nx-t);
}

.nx-audience-card-desc {
  color: var(--nx-t3);
  font-size: 0.9rem;
  line-height: 1.65;
}

.nx-audience-card-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(123,92,255,0.08);
  font-size: 0.85rem;
  color: var(--nx-t3);
}

.nx-audience-card-stat-value {
  font-weight: 700;
  color: var(--nx-green);
}

/* ── Feature Card (with top gradient line) ──────────────────── */

.nx-feature-card {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

/* Top gradient line */
.nx-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nx-p), var(--nx-p3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.nx-feature-card:hover::before {
  opacity: 1;
}

.nx-feature-card:hover {
  border-color: rgba(123,92,255,0.22);
  box-shadow: 0 12px 40px rgba(123,92,255,0.08);
  transform: translateY(-3px);
}

.nx-feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nx-feature-card-icon.purple {
  background: rgba(123,92,255,0.12);
  color: var(--nx-p);
  box-shadow: 0 0 20px rgba(123,92,255,0.08);
}

.nx-feature-card-icon.blue {
  background: rgba(79,163,255,0.12);
  color: var(--nx-p3);
  box-shadow: 0 0 20px rgba(79,163,255,0.08);
}

.nx-feature-card-icon.green {
  background: rgba(0,230,118,0.12);
  color: var(--nx-green);
  box-shadow: 0 0 20px rgba(0,230,118,0.08);
}

.nx-feature-card-icon.gold {
  background: rgba(244,200,66,0.12);
  color: var(--nx-gold);
  box-shadow: 0 0 20px rgba(244,200,66,0.08);
}

.nx-feature-card-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nx-t);
}

.nx-feature-card-desc {
  color: var(--nx-t3);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Eco Card ──────────────────────────────────────────────── */

.nx-eco-card {
  background: var(--nx-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--nx-glass-border);
  border-radius: var(--nx-r-xl);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.nx-eco-card:hover {
  border-color: rgba(0,230,118,0.22);
  box-shadow: 0 12px 40px rgba(0,230,118,0.06);
  transform: translateY(-3px);
}

.nx-eco-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0,230,118,0.1);
  color: var(--nx-green);
  box-shadow: 0 0 20px rgba(0,230,118,0.06);
}

.nx-eco-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--nx-t);
}

.nx-eco-card-desc {
  color: var(--nx-t3);
  font-size: 0.9rem;
  line-height: 1.65;
}

.nx-eco-card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nx-green);
}

/* ── Founder Section ───────────────────────────────────────── */

.nx-founder-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 80px 24px;
  text-align: center;
}

.nx-founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid rgba(123,92,255,0.3);
  box-shadow: 0 0 40px rgba(123,92,255,0.15);
  object-fit: cover;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.nx-founder-avatar:hover {
  border-color: var(--nx-p);
  box-shadow: 0 0 60px rgba(123,92,255,0.25);
}

.nx-founder-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--nx-t);
}

.nx-founder-role {
  color: var(--nx-p3);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nx-founder-bio {
  color: var(--nx-t3);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
}

.nx-founder-socials {
  display: flex;
  gap: 12px;
}

.nx-founder-social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(123,92,255,0.1);
  border: 1px solid rgba(123,92,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-t3);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nx-founder-social-link:hover {
  background: rgba(123,92,255,0.2);
  color: var(--nx-p3);
  border-color: rgba(123,92,255,0.3);
}

/* ── CTA Section ───────────────────────────────────────────── */

.nx-cta-section {
  position: relative;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.nx-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(123,92,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.nx-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--nx-t);
  margin-bottom: 16px;
}

.nx-cta-subtitle {
  color: var(--nx-t3);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 32px;
}

.nx-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive Breakpoints ────────────────────────────────── */

/* Mobile — < 640px */
@media (max-width: 639px) {
  .nx-section { padding: 48px 16px; }
  .nx-section-sm { padding: 32px 16px; }
  .nx-section-lg { padding: 64px 16px; }

  .nx-sidebar {
    position: fixed !important;
    top: 56px !important;
    left: 0;
    bottom: 0;
    z-index: 100 !important;
    transform: translateX(-100%);
    width: 260px !important;
    min-width: 260px !important;
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1) !important;
  }

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

  .nx-hero-card {
    display: none;
  }

  .nx-cta-title {
    font-size: 1.8rem;
  }

  .nx-cta-subtitle {
    font-size: 0.95rem;
  }

  .nx-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nx-pricing-card {
    padding: 28px 20px;
  }

  .nx-pricing-price {
    font-size: 2.8rem;
  }

  .nyxia-chat-panel {
    width: calc(100vw - 16px);
    right: 8px;
    bottom: 96px;
    height: calc(100vh - 120px);
  }

  .nyxia-chat-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .nx-founder-section {
    padding: 48px 16px;
  }

  .nx-mobile-menu-btn {
    display: flex !important;
  }

  .nx-header-center {
    display: none !important;
  }

  .nx-badge {
    display: none !important;
  }
}

/* Tablet — 640–1023px */
@media (min-width: 640px) and (max-width: 1023px) {
  .nx-section { padding: 64px 24px; }

  .nx-sidebar {
    width: 220px;
    min-width: 220px;
  }

  .nx-hero-card-3 {
    display: none;
  }

  .nx-pricing-card {
    padding: 32px 24px;
  }

  .nyxia-chat-panel {
    width: 360px;
  }
}

/* Desktop — ≥ 1024px */
@media (min-width: 1024px) {
  .nx-mobile-menu-btn {
    display: none !important;
  }

  .nx-pricing-card.nx-featured {
    transform: scale(1.06);
  }

  .nx-pricing-card.nx-featured:hover {
    transform: scale(1.06) translateY(-4px);
  }
}

/* Mobile sidebar toggle helper */
.nx-mobile-menu-btn {
  display: none;
}

/* Sidebar overlay for mobile */
.nx-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}

.nx-sidebar-overlay.nx-sidebar-open {
  display: block;
}

/* ── Mobile Sidebar Responsive ─────────────────────────────── */

@media (max-width: 1023px) {
  .nx-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100vh;
  }

  .nx-mobile-menu-btn {
    display: flex !important;
  }

  .nx-main-content {
    height: auto;
    min-height: 100vh;
  }
}

@media (min-width: 1024px) {
  .nx-sidebar {
    position: sticky !important;
    transform: translateX(0) !important;
  }

  .nx-mobile-menu-btn {
    display: none !important;
  }
}
