/**
 * NOMAD SYSTEM Mail Theme v3.0 - ULTRA EDITION
 * Features: Glassmorphism, Neon Glow, 3D Effects, Particle Background
 * Brand: NOMAD SYSTEM (nsystem.kg)
 * Philosophy: Born to Move. Built to Lead.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors - Enhanced */
  --ns-primary: #2563EB;
  --ns-primary-light: #3B82F6;
  --ns-primary-glow: rgba(37, 99, 235, 0.4);
  --ns-accent: #DC2626;
  --ns-accent-glow: rgba(220, 38, 38, 0.4);
  
  /* Glassmorphism Colors */
  --ns-bg: #e8ecf1;
  --ns-bg-alpha: rgba(232, 236, 241, 0.85);
  --ns-glass: rgba(255, 255, 255, 0.25);
  --ns-glass-border: rgba(255, 255, 255, 0.4);
  
  /* Shadows */
  --ns-shadow-light: #ffffff;
  --ns-shadow-dark: #b8c0c8;
  --ns-shadow-dark-alpha: rgba(184, 192, 200, 0.5);
  
  /* Text */
  --ns-text: #0f172a;
  --ns-text-secondary: #475569;
  --ns-text-muted: #64748b;
  
  /* Semantic */
  --ns-success: #10B981;
  --ns-success-glow: rgba(16, 185, 129, 0.4);
  --ns-warning: #F59E0B;
  --ns-warning-glow: rgba(245, 158, 11, 0.4);
  --ns-danger: #EF4444;
  --ns-purple: #8B5CF6;
  --ns-purple-glow: rgba(139, 92, 246, 0.4);
  --ns-cyan: #06B6D4;
  
  /* Gradients */
  --ns-gradient-brand: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #DC2626 100%);
  --ns-gradient-blue: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 50%, #60A5FA 100%);
  --ns-gradient-aurora: linear-gradient(135deg, #2563EB, #8B5CF6, #DC2626);
  --ns-gradient-mesh: radial-gradient(at 40% 20%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
                      radial-gradient(at 80% 0%, rgba(220, 38, 38, 0.1) 0px, transparent 50%),
                      radial-gradient(at 0% 50%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
  
  /* Spacing */
  --ns-radius: 24px;
  --ns-radius-lg: 32px;
  --ns-radius-sm: 16px;
  --ns-radius-xs: 12px;
  
  /* Effects */
  --ns-glass-blur: blur(20px);
  --ns-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --ns-bg: #0f172a;
  --ns-bg-alpha: rgba(15, 23, 42, 0.9);
  --ns-glass: rgba(30, 41, 59, 0.5);
  --ns-glass-border: rgba(255, 255, 255, 0.1);
  --ns-shadow-light: rgba(255, 255, 255, 0.05);
  --ns-shadow-dark: rgba(0, 0, 0, 0.5);
  --ns-text: #f8fafc;
  --ns-text-secondary: #cbd5e1;
}

/* ============================================
   BASE & RESET
   ============================================ */
* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

body {
  background: var(--ns-bg) !important;
  background-image: var(--ns-gradient-mesh) !important;
  background-attachment: fixed !important;
  color: var(--ns-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   PARTICLE BACKGROUND
   ============================================ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Animated floating orbs */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* ============================================
   NAVBAR - GLASSMORPHISM EDITION
   ============================================ */
.ns-navbar {
  background: var(--ns-glass) !important;
  backdrop-filter: var(--ns-glass-blur);
  -webkit-backdrop-filter: var(--ns-glass-blur);
  border-bottom: 1px solid var(--ns-glass-border) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
  padding: 12px 0 !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.ns-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 10px 20px !important;
  background: var(--ns-glass) !important;
  backdrop-filter: blur(10px);
  border: 1px solid var(--ns-glass-border) !important;
  border-radius: var(--ns-radius-sm) !important;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  transition: var(--ns-transition) !important;
  margin-left: 15px !important;
  position: relative;
  overflow: hidden;
}

.ns-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.7s;
}

.ns-brand:hover::before {
  left: 100%;
}

.ns-brand:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 30px rgba(37, 99, 235, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
}

.ns-brand-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ns-brand-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--ns-primary);
  opacity: 0.2;
  filter: blur(10px);
  animation: pulse-glow 3s ease-in-out infinite;
}

.ns-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.ns-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ns-brand-title {
  font-size: 20px;
  font-weight: 900;
  background: var(--ns-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.ns-brand-subtitle {
  font-size: 9px;
  font-weight: 700;
  color: var(--ns-text-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Navigation Items */
.ns-nav-main > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 20px !important;
  margin: 5px 3px;
  border-radius: var(--ns-radius-xs) !important;
  color: var(--ns-text-secondary) !important;
  font-weight: 600;
  font-size: 14px;
  transition: var(--ns-transition) !important;
  position: relative;
  overflow: hidden;
}

.ns-nav-main > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--ns-gradient-brand);
  border-radius: 3px 3px 0 0;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.ns-nav-main > li > a i:first-child {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.ns-nav-main > li > a:hover i:first-child {
  transform: scale(1.2) rotate(-5deg);
}

.ns-nav-main > li > a:hover,
.ns-nav-main > li.active > a {
  color: var(--ns-primary) !important;
  background: rgba(37, 99, 235, 0.05) !important;
}

.ns-nav-main > li > a:hover::after,
.ns-nav-main > li.active > a::after {
  width: 60%;
}

/* Dropdown Menu - Glass */
.ns-dropdown {
  background: var(--ns-glass) !important;
  backdrop-filter: var(--ns-glass-blur);
  -webkit-backdrop-filter: var(--ns-glass-blur);
  border: 1px solid var(--ns-glass-border) !important;
  border-radius: var(--ns-radius-sm) !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  padding: 16px !important;
  margin-top: 15px !important;
  min-width: 240px !important;
  animation: fadeInUp 0.3s ease;
}

.ns-dropdown > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  border-radius: var(--ns-radius-xs) !important;
  color: var(--ns-text) !important;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease !important;
  margin-bottom: 4px;
}

.ns-dropdown > li > a i {
  font-size: 20px;
  color: var(--ns-primary);
  transition: transform 0.3s ease;
}

.ns-dropdown > li > a:hover {
  background: rgba(37, 99, 235, 0.1) !important;
  color: var(--ns-primary) !important;
  transform: translateX(5px);
}

.ns-dropdown > li > a:hover i {
  transform: scale(1.2);
}

.ns-dropdown .dropdown-header {
  color: var(--ns-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 18px;
  margin-bottom: 8px;
}

.ns-dropdown .divider {
  background: rgba(0,0,0,0.05);
  margin: 12px 0;
}

/* Right Nav */
.ns-nav-right > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  margin: 5px 2px;
  border-radius: var(--ns-radius-xs) !important;
  color: var(--ns-text-secondary) !important;
  font-size: 13px;
  font-weight: 600;
  transition: var(--ns-transition) !important;
  background: transparent !important;
}

.ns-nav-right > li > a i {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.ns-nav-right > li > a:hover {
  color: var(--ns-primary) !important;
  background: rgba(37, 99, 235, 0.05) !important;
  transform: translateY(-2px);
}

.ns-nav-right > li > a:hover i {
  transform: scale(1.2);
}

/* Logout Button */
.ns-logout > a {
  background: var(--ns-gradient-brand) !important;
  color: white !important;
  box-shadow: 
    0 4px 20px rgba(37, 99, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.ns-logout > a:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 
    0 8px 30px rgba(37, 99, 235, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* ============================================
   HERO SECTION - 3D EFFECTS
   ============================================ */
.ns-hero {
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
}

.ns-hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 30px;
  padding: 20px;
  background: var(--ns-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ns-glass-border);
  border-radius: 50%;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 60px rgba(37, 99, 235, 0.1);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.ns-hero-logo::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--ns-gradient-brand);
  opacity: 0.2;
  filter: blur(20px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

.ns-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.2));
}

.ns-hero-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: -2px;
  perspective: 1000px;
}

.ns-gradient-text {
  background: var(--ns-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: shimmer 3s linear infinite;
  background-size: 200% auto;
}

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

.ns-hero-subtitle {
  font-size: 20px;
  color: var(--ns-text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.ns-hero-tagline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ns-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--ns-primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
  animation: fadeInUp 0.8s ease both;
}

.ns-tag:nth-child(1) { animation-delay: 0.2s; }
.ns-tag:nth-child(3) { animation-delay: 0.4s; }

.ns-divider {
  color: var(--ns-text-muted);
  font-weight: 200;
  font-size: 20px;
  opacity: 0.5;
}

/* ============================================
   STATS SECTION - NEON CARDS
   ============================================ */
.ns-stats-section {
  padding: 30px 20px;
  margin-bottom: 20px;
}

.ns-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.ns-stat-card {
  background: var(--ns-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ns-glass-border);
  border-radius: var(--ns-radius);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: var(--ns-transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ns-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ns-gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ns-stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 40px var(--ns-primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ns-stat-card:hover::before {
  opacity: 1;
}

.ns-stat-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--ns-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.ns-stat-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(10px);
  opacity: 0.5;
}

.ns-stat-domains .ns-stat-icon-wrap {
  background: var(--ns-gradient-blue);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.ns-stat-mailboxes .ns-stat-icon-wrap {
  background: var(--ns-gradient-brand);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.ns-stat-aliases .ns-stat-icon-wrap {
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.ns-stat-quota .ns-stat-icon-wrap {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.ns-stat-icon-wrap i {
  font-size: 32px;
  color: white;
  position: relative;
  z-index: 1;
}

.ns-stat-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ns-stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--ns-text);
  line-height: 1;
  background: var(--ns-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ns-stat-label {
  font-size: 14px;
  color: var(--ns-text-secondary);
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ns-stat-arrow {
  color: var(--ns-text-muted);
  opacity: 0;
  transform: translateX(-15px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ns-stat-arrow i {
  font-size: 24px;
}

.ns-stat-card:hover .ns-stat-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
  color: var(--ns-primary);
}

/* ============================================
   ACTIONS SECTION - 3D CARDS
   ============================================ */
.ns-actions-section {
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.ns-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ns-text);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ns-section-title i {
  font-size: 28px;
  color: var(--ns-warning);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.ns-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.ns-action-card {
  background: var(--ns-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ns-glass-border);
  border-radius: var(--ns-radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: var(--ns-transition);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.ns-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.ns-action-card:hover::before {
  transform: translateX(100%);
}

.ns-action-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ns-action-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ns-action-card:hover::after {
  opacity: 1;
}

.ns-action-primary:hover { box-shadow: 0 30px 60px rgba(37, 99, 235, 0.25); }
.ns-action-success:hover { box-shadow: 0 30px 60px rgba(16, 185, 129, 0.25); }
.ns-action-info:hover { box-shadow: 0 30px 60px rgba(8, 145, 178, 0.25); }
.ns-action-warning:hover { box-shadow: 0 30px 60px rgba(245, 158, 11, 0.25); }
.ns-action-purple:hover { box-shadow: 0 30px 60px rgba(139, 92, 246, 0.25); }
.ns-action-dark:hover { box-shadow: 0 30px 60px rgba(55, 65, 81, 0.25); }

.ns-action-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--ns-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.ns-action-card:hover .ns-action-icon {
  transform: scale(1.1) rotate(-10deg);
}

.ns-action-icon::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: inherit;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ns-action-card:hover .ns-action-icon::before {
  opacity: 0.6;
}

.ns-action-primary .ns-action-icon {
  background: var(--ns-gradient-blue);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.ns-action-success .ns-action-icon {
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.ns-action-info .ns-action-icon {
  background: linear-gradient(135deg, #0891B2 0%, #22D3EE 100%);
  box-shadow: 0 10px 30px rgba(8, 145, 178, 0.4);
}

.ns-action-warning .ns-action-icon {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.ns-action-purple .ns-action-icon {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.ns-action-dark .ns-action-icon {
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.4);
}

.ns-action-icon i {
  font-size: 36px;
  color: white;
  position: relative;
  z-index: 1;
}

.ns-action-content {
  flex: 1;
}

.ns-action-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ns-text);
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}

.ns-action-content p {
  font-size: 14px;
  color: var(--ns-text-secondary);
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

.ns-action-arrow {
  color: var(--ns-text-muted);
  opacity: 0;
  transform: translateX(-20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ns-action-arrow i {
  font-size: 28px;
}

.ns-action-card:hover .ns-action-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
  color: var(--ns-primary);
}

/* ============================================
   INFO SECTION
   ============================================ */
.ns-info-section {
  padding: 30px 20px;
  max-width: 1400px;
  margin: 40px auto;
}

.ns-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.ns-info-card {
  background: var(--ns-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ns-glass-border);
  border-radius: var(--ns-radius);
  padding: 30px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: var(--ns-transition);
}

.ns-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ns-info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.ns-info-header i {
  font-size: 28px;
  color: var(--ns-primary);
  animation: float 3s ease-in-out infinite;
}

.ns-info-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ns-text);
  margin: 0;
}

.ns-info-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ns-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.ns-info-row:last-child {
  border-bottom: none;
}

.ns-info-label {
  font-size: 14px;
  color: var(--ns-text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ns-info-value {
  font-size: 14px;
  color: var(--ns-text);
  font-weight: 700;
}

.ns-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ns-status-online {
  background: rgba(16, 185, 129, 0.15);
  color: var(--ns-success);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.ns-status-online i {
  font-size: 18px;
  animation: pulse 2s ease-in-out infinite;
}

.ns-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ns-badge-primary {
  background: rgba(37, 99, 235, 0.15);
  color: var(--ns-primary);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.ns-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ns-quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--ns-radius-xs);
  color: var(--ns-text) !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--ns-transition);
  background: transparent;
  border: 1px solid transparent;
}

.ns-quick-link:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--ns-primary) !important;
  transform: translateX(10px);
}

.ns-quick-link i:first-child {
  font-size: 24px;
  color: var(--ns-primary);
  transition: transform 0.3s ease;
}

.ns-quick-link:hover i:first-child {
  transform: scale(1.2);
}

.ns-link-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--ns-text-muted);
  transition: transform 0.3s ease;
}

.ns-quick-link:hover .ns-link-arrow {
  transform: translateX(5px);
  color: var(--ns-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ns-stat-card,
.ns-action-card,
.ns-info-card {
  animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
}

.ns-stat-card:nth-child(1) { animation-delay: 0.1s; }
.ns-stat-card:nth-child(2) { animation-delay: 0.2s; }
.ns-stat-card:nth-child(3) { animation-delay: 0.3s; }
.ns-stat-card:nth-child(4) { animation-delay: 0.4s; }

.ns-action-card:nth-child(1) { animation-delay: 0.1s; }
.ns-action-card:nth-child(2) { animation-delay: 0.15s; }
.ns-action-card:nth-child(3) { animation-delay: 0.2s; }
.ns-action-card:nth-child(4) { animation-delay: 0.25s; }
.ns-action-card:nth-child(5) { animation-delay: 0.3s; }
.ns-action-card:nth-child(6) { animation-delay: 0.35s; }

.ns-info-card:nth-child(1) { animation-delay: 0.3s; }
.ns-info-card:nth-child(2) { animation-delay: 0.4s; }
.ns-info-card:nth-child(3) { animation-delay: 0.5s; }

/* ============================================
   SCROLLBAR & UTILS
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ns-primary), var(--ns-purple));
  border-radius: 5px;
  border: 2px solid var(--ns-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--ns-primary-light), var(--ns-purple));
}

/* Selection */
::selection {
  background: rgba(37, 99, 235, 0.3);
  color: var(--ns-text);
}

/* Focus effects */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--ns-primary);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .ns-hero-title {
    font-size: 36px;
  }
  
  .ns-stats-grid,
  .ns-actions-grid,
  .ns-info-grid {
    grid-template-columns: 1fr;
  }
  
  .ns-brand-text {
    display: none;
  }
  
  .ns-action-card {
    padding: 24px;
  }
  
  .ns-action-icon {
    width: 56px;
    height: 56px;
  }
}
