/**
 * ═══════════════════════════════════════════════════════════════════════════════
 * VELLUNOX UNIVERSAL THEME
 * The default theme for ALL pages - clean, professional, modern
 * FONTS: Poppins (headings) + Inter (body) - Consistent across site
 * ═══════════════════════════════════════════════════════════════════════════════
 */

/* Standardized Google Fonts - Same as vellunox-theme.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════════
   CSS VARIABLES - Core Design System
   ═══════════════════════════════════════════════════════════════════════════════ */
:root {
  /* Background Colors - Deep, sophisticated dark palette */
  --bg-primary: #09090b;
  --bg-secondary: #0f0f12;
  --bg-card: #18181b;
  --bg-elevated: #1f1f23;
  --bg-hover: rgba(255, 255, 255, 0.04);
  --bg-active: rgba(255, 255, 255, 0.08);
  
  /* Text Colors - High contrast, easy to read */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dim: #52525b;
  
  /* Accent Colors - Premium, muted tones */
  --accent-orange: #f97316;
  --accent-amber: #f59e0b;
  --accent-coral: #fb7185;
  --accent-green: #10b981;
  --accent-emerald: #34d399;
  --accent-red: #f43f5e;
  --accent-purple: #f59e0b;
  --accent-blue: #60a5fa;
  --accent-cyan: #22d3ee;
  --accent-gold: #fbbf24;
  
  /* Gradients - Subtle, premium feel */
  --gradient-primary: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
  --gradient-heading: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(245, 158, 11, 0.15));
  --gradient-premium: linear-gradient(135deg, #1f1f23 0%, #18181b 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  
  /* Borders - Refined, subtle */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(249, 115, 22, 0.25);
  
  /* Shadows - Soft, layered depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(249, 115, 22, 0.15);
  --shadow-inner: inset 0 1px 2px rgba(0, 0, 0, 0.3);
  
  /* Border Radius - Modern, smooth */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  
  /* Transitions - Smooth, refined */
  --transition-fast: 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography - Consistent across ALL pages */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 1000;
  --z-toast: 1500;
  --z-tooltip: 2000;
}

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

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

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: var(--tracking-normal);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
  font-size: 15px;
}

/* Premium background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(249, 115, 22, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(59, 130, 246, 0.04), transparent 40%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(16, 185, 129, 0.04), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION BAR - Compact & Streamlined
   ═══════════════════════════════════════════════════════════════════════════════ */
.nav-bar, .navbar, header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.5rem;
  height: 56px;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: var(--transition-normal);
}

.nav-bar.scrolled, .navbar.scrolled {
  background: rgba(9, 9, 11, 0.98);
  box-shadow: var(--shadow-sm);
  height: 52px;
}

.nav-logo, .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: var(--tracking-tight);
  transition: var(--transition-fast);
}

.nav-logo span, .logo span {
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo:hover, .logo:hover {
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--accent-orange);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BUTTONS - Premium, refined styling
   ═══════════════════════════════════════════════════════════════════════════════ */
.btn, button[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary, .btn-cta {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover, .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.6rem 1rem;
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-success {
  background: var(--gradient-success);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-danger {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CARDS - Elegant, premium styling
   ═══════════════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-featured {
  border: 1px solid transparent;
  background: 
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--gradient-card-border) border-box;
  box-shadow: var(--shadow-glow);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADINGS & TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.gradient-text {
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FORMS & INPUTS
   ═══════════════════════════════════════════════════════════════════════════════ */
input, textarea, select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #1a1a20;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

/* Select dropdown styling for dark themes */
select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Fix dropdown options visibility on dark backgrounds */
select option {
  background: #1a1a20;
  color: #ffffff;
  padding: 0.75rem 1rem;
}

select option:hover,
select option:focus,
select option:checked {
  background: #2563eb;
  color: #ffffff;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

/* Dark theme dropdown styling - prevents white background on select options */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f97316'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  cursor: pointer;
  color-scheme: dark;
}

select option {
  background: var(--bg-secondary, #12121a);
  color: var(--text-primary, #ffffff);
  padding: 0.5rem;
}

select option:hover,
select option:focus,
select option:checked {
  background: var(--accent-orange, #f97316);
  color: #ffffff;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero, .hero-section {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1, .hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero p, .hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTIONS & CONTAINERS
   ═══════════════════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GRIDS
   ═══════════════════════════════════════════════════════════════════════════════ */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CHRISTMAS BANNER
   ═══════════════════════════════════════════════════════════════════════════════ */
.christmas-banner, .holiday-banner {
  background: var(--gradient-christmas);
  color: white;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SEASONAL EFFECTS DISABLED
   Snowflakes and other seasonal particles removed for professional appearance
   ═══════════════════════════════════════════════════════════════════════════════ */
.snow-container, .snowflake, #snow, .snowfall, [class*="snow"], [id*="snow"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes fall {
  0%, 100% { opacity: 0; display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer, footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-orange);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BADGES & TAGS
   ═══════════════════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-orange);
}

.badge-success {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--accent-green);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-toast);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-success { border-left: 4px solid var(--accent-green); }
.toast-error { border-left: 4px solid var(--accent-red); }
.toast-warning { border-left: 4px solid #eab308; }
.toast-info { border-left: 4px solid var(--accent-blue); }

/* ═══════════════════════════════════════════════════════════════════════════════
   LOADING STATES
   ═══════════════════════════════════════════════════════════════════════════════ */
.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

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

/* ═══════════════════════════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

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

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-bar, .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════════ */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.pointer { cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════════════════════
   CRITICAL FIXES - Scroll, Click, and Interactivity
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Ensure body can scroll */
html, body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
  min-height: 100vh !important;
  pointer-events: auto !important;
  touch-action: auto !important;
}

/* Background elements must not block interactions */
.ai-ops-background, .grid-overlay, .orb, .holiday-particles,
.premium-particle, .premium-background {
  pointer-events: none !important;
  z-index: 0 !important;
}

/* All interactive elements must be clickable */
button, a, input, textarea, select, [onclick], [role="button"],
.clickable, .btn, .card, .service-card, .quick-action, .stat-card {
  pointer-events: auto !important;
}

/* Main content above backgrounds */
main, .main-content, .hero-section, .features-section, .pricing-section, footer {
  position: relative !important;
  z-index: 10 !important;
}

/* Navigation on top - but NOT .vx-header which must stay fixed */
nav:not(.vx-header), .nav-container, header:not(.vx-header) {
  position: relative !important;
  z-index: 100 !important;
}

/* Universal header must stay fixed at top */
.vx-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
}

/* Footer must be clickable */
footer, .footer, [role="contentinfo"] {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 100 !important;
}

footer a, .footer a {
  pointer-events: auto !important;
  z-index: 101 !important;
  position: relative !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HIDE SEASONAL & DEPRECATED ELEMENTS (Christmas, Santa, Snow, etc.)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Santa elements - disabled after Dec 27 */
.santa-fab, .santa-modal-overlay, .santa-modal-content, #santa-fab, #santa-modal,
.santa-modal, #christmas-music-player, .music-toggle, .music-controls {
  display: none !important;
  visibility: hidden !important;
}

/* Snow/Holiday particles - permanently disabled */
.holiday-particles, .snow-container, .snowflake, #snow, .snowfall,
.vx-snowflakes, .vx-snowflake, [class*="snow"], [id*="snow"],
.falling-leaf, .petal, .cherry-blossom, .particle-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable all snowfall animations */
@keyframes snowfall { 0%, 100% { opacity: 0; display: none; } }
@keyframes vx-fall { 0%, 100% { opacity: 0; display: none; } }
@keyframes snowflake-rotate { 0%, 100% { opacity: 0; display: none; } }

/* Brain hologram and status panels - hidden by default */
#vellunox-brain-hologram, .brain-hologram-container, .brain-hologram,
.brain-status-button, .brain-status-panel, #brain-stats-panel {
  display: none !important;
}

/* Particle systems */
.particle-system, #particle-canvas, .particles,
#webgl-canvas, #advanced-viz-canvas {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MODAL FIXES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Hidden modals should not interfere */
.modal-overlay:not([style*="display: flex"]):not(.visible):not(.show) {
  pointer-events: none !important;
  visibility: hidden !important;
  display: none !important;
}

/* Visible modals should capture clicks */
.modal-overlay[style*="display: flex"],
.modal-overlay.visible,
.modal-overlay.show {
  pointer-events: auto !important;
  z-index: 10000 !important;
}

/* Toast notifications highest z-index */
.toast-notification-container, .toast {
  z-index: 99999 !important;
}

