/**
 * NAWADER ENTERPRISE HOLOGRAPHIC DESIGN SYSTEM (2026 LTS)
 * Luxury Glassmorphism, Neon Ambient Accents, 60fps Micro-interactions
 */

:root {
  --bg-deep: #030712;
  --bg-surface: rgba(15, 23, 42, 0.75);
  --bg-surface-elevated: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(0, 242, 254, 0.3);
  --border-gold: rgba(246, 211, 101, 0.4);

  --accent-cyan: #00f2fe;
  --accent-sapphire: #4facfe;
  --accent-gold: #f6d365;
  --accent-emerald: #00f5a0;
  --accent-purple: #9d4edd;
  --accent-rose: #ff4b72;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-arabic: 'Tajawal', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Tajawal', -apple-system, sans-serif;

  --shadow-holo: 0 10px 30px -10px rgba(0, 242, 254, 0.15);
  --shadow-gold: 0 10px 30px -10px rgba(246, 211, 101, 0.15);
  --shadow-elevation: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Glassmorphism Containers */
.holo-glass {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-elevation);
}

.holo-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.holo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.holo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-bright);
  box-shadow: 0 12px 36px -8px rgba(0, 242, 254, 0.2), 0 0 0 1px rgba(0, 242, 254, 0.2);
}

.holo-card:hover::before {
  opacity: 1;
}

/* Holographic Gradients */
.holo-gradient-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

.holo-gradient-gold {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.holo-gradient-emerald {
  background: linear-gradient(135deg, #00f5a0 0%, #00d9f5 100%);
}

.holo-gradient-purple {
  background: linear-gradient(135deg, #9d4edd 0%, #7f00ff 100%);
}

.holo-text-gradient {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #f6d365 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.holo-text-gold {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Neon Glow Badges */
.holo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px -3px rgba(0, 242, 254, 0.2);
}

.holo-badge.gold {
  background: rgba(246, 211, 101, 0.08);
  border-color: rgba(246, 211, 101, 0.25);
  color: var(--accent-gold);
  box-shadow: 0 0 15px -3px rgba(246, 211, 101, 0.2);
}

.holo-badge.emerald {
  background: rgba(0, 245, 160, 0.08);
  border-color: rgba(0, 245, 160, 0.25);
  color: var(--accent-emerald);
  box-shadow: 0 0 15px -3px rgba(0, 245, 160, 0.2);
}

/* Pulse Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Luxury Interactive Buttons */
.holo-btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #030712;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.875rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  position: relative;
  overflow: hidden;
}

.holo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.holo-btn-primary:active {
  transform: translateY(0);
}

.holo-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.holo-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Inputs & Search */
.holo-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.holo-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15), 0 0 20px rgba(0, 242, 254, 0.2);
  background: rgba(15, 23, 42, 0.8);
}

/* Category Filter Pills */
.filter-pill {
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
}

.filter-pill.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.15));
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
  box-shadow: 0 0 15px -3px rgba(0, 242, 254, 0.3);
}

/* Shimmer Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

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

/* Toast Notifications */
#holo-toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.holo-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-bright);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.2);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: toast-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

@keyframes toast-slide-in {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.holo-toast.toast-exit {
  transform: translateY(10px) scale(0.95);
  opacity: 0;
}

/* QR Modal & Overlay */
.holo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(16px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.holo-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.holo-modal-content {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.holo-modal-overlay.active .holo-modal-content {
  transform: scale(1);
}
