:root {
  /* Dark Theme - Primary Colors */
  --bg-body: #0a0e1a;
  --bg-surface: #151b2e;
  --bg-card: #1a2332;
  --bg-elevated: #1f2937;
  
  /* Accent Colors */
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --primary-light: rgba(139, 92, 246, 0.1);
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --cyan: #06b6d4;
  --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  
  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  
  /* Borders & Effects */
  --border: rgba(148, 163, 184, 0.1);
  --border-light: rgba(148, 163, 184, 0.05);
  --glow-primary: 0 0 20px rgba(139, 92, 246, 0.3);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  
  /* Radius & Transitions */
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Animated Geometric Background */
/* Animated Geometric Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.geometric-shape {
  position: absolute;
  z-index: -1;
  animation: float 40s infinite ease-in-out;
  opacity: 0.25; /* Slightly more visible */
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  pointer-events: auto; /* Enable hover */
  transition: all 0.3s ease; /* Smooth transition for hover */
}

.geometric-shape:hover {
  opacity: 0.8;
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--primary), inset 0 0 20px rgba(139, 92, 246, 0.2);
  z-index: 1; /* Bring to front on hover if possible */
}

/* Vector Shapes - Scattered & Minimal */
.shape-1 { 
  width: 300px; height: 300px; top: -5%; left: -5%; 
  border-radius: 50%; /* Circle */
  border-color: rgba(139, 92, 246, 0.4);
  animation-duration: 45s;
}

.shape-2 { 
  width: 200px; height: 200px; top: 20%; right: 10%; 
  transform: rotate(45deg);
  border-color: rgba(59, 130, 246, 0.4);
  animation-duration: 50s; animation-delay: 5s;
}

.shape-3 { 
  width: 150px; height: 150px; bottom: 15%; left: 10%; 
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%); /* Triangle */
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.1), transparent); /* Slight fill for triangle */
  border: none; /* Clip-path handles shape */
  animation-duration: 35s; animation-delay: 2s;
}

.shape-4 { 
  width: 250px; height: 250px; bottom: -10%; right: -5%; 
  border-radius: 30%; /* Soft Square */
  border-color: rgba(236, 72, 153, 0.4);
  animation-duration: 55s; animation-delay: 8s;
}

.shape-5 { 
  width: 100px; height: 100px; top: 40%; left: 40%; 
  border-radius: 50%; /* Small Circle */
  border: 2px dashed rgba(16, 185, 129, 0.4);
  animation-duration: 60s; animation-delay: 12s;
}

.shape-6 { 
  width: 180px; height: 180px; top: 10%; left: 50%; 
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); /* Hexagon */
  background: linear-gradient(45deg, rgba(245, 158, 11, 0.1), transparent);
  border: none;
  animation-duration: 40s; animation-delay: 15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -50px) rotate(10deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

/* Galaxy Brain Animation */
.brain-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
}

.brain-icon {
  font-size: 100px;
  background: linear-gradient(180deg, #ffffff 0%, #a5f3fc 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 10;
  filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.8)) drop-shadow(0 0 30px rgba(139, 92, 246, 0.6));
  animation: galaxy-pulse 4s infinite ease-in-out;
}

/* Radiating Rays */
.brain-container::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(34, 211, 238, 0.3) 10%, transparent 20%, rgba(139, 92, 246, 0.3) 30%, transparent 40%, rgba(34, 211, 238, 0.3) 50%, transparent 60%, rgba(139, 92, 246, 0.3) 70%, transparent 80%, rgba(34, 211, 238, 0.3) 90%, transparent 100%);
  border-radius: 50%;
  z-index: 1;
  animation: galaxy-spin 20s linear infinite;
  mask: radial-gradient(transparent 30%, black 70%);
  -webkit-mask: radial-gradient(transparent 30%, black 70%);
}

/* Cosmic Halo */
.brain-container::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  z-index: 0;
  animation: galaxy-breathe 5s infinite ease-in-out;
}

/* Energy Ripples */
.brain-energy {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(165, 243, 252, 0.6);
  border-radius: 50%;
  opacity: 0;
  z-index: 5;
  animation: galaxy-ripple 3s infinite ease-out;
}

.brain-energy:nth-child(2) { animation-delay: 1s; border-color: rgba(192, 132, 252, 0.6); }
.brain-energy:nth-child(3) { animation-delay: 2s; border-color: rgba(34, 211, 238, 0.6); }

@keyframes galaxy-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.8)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.6)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(34, 211, 238, 1)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.8)); }
}

@keyframes galaxy-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes galaxy-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

@keyframes galaxy-ripple {
  0% { transform: scale(0.8); opacity: 0.8; border-width: 2px; }
  100% { transform: scale(2); opacity: 0; border-width: 0px; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: 32px; }
h2 { font-size: 24px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 12px; }

p { margin-bottom: 16px; }
.muted { color: var(--text-muted); font-size: 14px; }
.center { text-align: center; }

/* Layout */
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(26, 35, 50, 0.4);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 0 0 1px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple-gradient);
}

.top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 50%);
  pointer-events: none;
}

.banner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.banner > div:first-child {
  position: relative;
}

.banner > div:first-child::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--purple-gradient);
  border-radius: 14px;
  opacity: 0.3;
  filter: blur(8px);
  z-index: -1;
}

.brand h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  background: var(--purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand .lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

/* User Box */
.userbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(21, 27, 46, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 0 0 1px rgba(139, 92, 246, 0.1);
}

.userbox .info {
  text-align: right;
}

.userbox strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.userbox .role {
  font-size: 11px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  flex: 1;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .userbox { width: 100%; justify-content: space-between; }
  .userbox .info { text-align: left; }
}

/* Cards with Enhanced Glassmorphism */
.card {
  background: rgba(26, 35, 50, 0.3);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
              0 2px 8px rgba(139, 92, 246, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 0 0 1px rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::after {
  opacity: 1;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Forms */
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

label:first-child { margin-top: 0; }

input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: var(--transition);
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light), var(--glow-primary);
  background: var(--bg-elevated);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

/* Buttons */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  background: var(--purple-gradient);
  color: white;
  gap: 8px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: var(--transition);
}

button:hover::before {
  opacity: 1;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary), var(--shadow-lg);
}

button:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-ghost:hover {
  background: var(--primary-light);
  box-shadow: var(--glow-primary);
}

.small {
  padding: 8px 16px;
  font-size: 12px;
}

/* Lists & Items */
.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(21, 27, 46, 0.3);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: var(--transition);
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--purple-gradient);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius) 0 0 var(--radius);
}

.item:hover::before {
  opacity: 1;
}

.item:hover {
  border-color: var(--primary);
  background: var(--bg-elevated);
  transform: translateX(4px);
}

.item strong {
  color: var(--text-primary);
  font-size: 15px;
}

.item .muted {
  margin-top: 4px;
}

/* Exam Specifics */
.question {
  background: rgba(21, 27, 46, 0.4);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.15);
  margin-bottom: 16px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.question:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.question strong {
  display: block;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choices label {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--text-primary);
}

.choices label:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  transform: translateX(4px);
}

.choices input[type="radio"]:checked + span {
  color: var(--primary);
  font-weight: 600;
}

.choices input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

.timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--purple-gradient);
  padding: 8px 20px;
  border-radius: var(--radius);
  box-shadow: var(--glow-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead {
  background: var(--bg-surface);
}

th {
  text-align: left;
  padding: 14px 16px;
  color: var(--text-secondary);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

tr {
  transition: var(--transition);
}

tbody tr:hover {
  background: var(--bg-surface);
}

tr:last-child td { border-bottom: none; }

/* Sidebar Navigation */
#sidebar {
  position: sticky;
  top: 24px;
  height: fit-content;
}

#sidebar .list { gap: 6px; }

#sidebar .item {
  padding: 12px 16px;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  justify-content: flex-start;
  gap: 12px;
}

#sidebar .item:hover {
  background: var(--bg-surface);
  transform: translateX(0);
}

#sidebar .item button {
  width: 100%;
  justify-content: flex-start;
  background: transparent;
  color: var(--text-primary);
  padding: 0;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

#sidebar .item button:hover {
  background: transparent;
  color: var(--primary);
  transform: none;
  box-shadow: none;
}

#sidebar .item.active {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
}

#sidebar .item.active::before {
  opacity: 1;
}

#sidebar .item.active button {
  color: var(--primary);
  font-weight: 700;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding: 10px 16px;
  background: rgba(21, 27, 46, 0.3);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.breadcrumb span {
  cursor: pointer;
  transition: var(--transition);
}

.breadcrumb span:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--text-muted);
  font-size: 12px;
  cursor: default;
}

.breadcrumb .curr {
  color: var(--text-primary);
  font-weight: 600;
  cursor: default;
}

.breadcrumb .curr:hover {
  color: var(--text-primary);
}

/* Form Row */
.form-row {
  display: flex;
  gap: 16px;
}

.form-row > * { flex: 1; }

/* Utilities */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
  border: 1px solid var(--success);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.badge-info {
  background: rgba(6, 182, 212, 0.2);
  color: var(--info);
  border: 1px solid var(--info);
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: rgba(21, 27, 46, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.15);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 
              inset 0 1px 0 rgba(255, 255, 255, 0.06),
              0 0 0 1px rgba(139, 92, 246, 0.1);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  background: var(--purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Landing Page Styles */
.landing-hero {
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.landing-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  background: var(--purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
}

.landing-hero .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.feature-card {
  background: rgba(21, 27, 46, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.1);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), var(--glow-primary);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.about-section {
  margin-top: 60px;
  padding: 40px;
  background: rgba(21, 27, 46, 0.3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-content {
  flex: 1;
}

.about-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vector-illustration {
  font-size: 180px;
  color: rgba(139, 92, 246, 0.2);
  filter: drop-shadow(0 0 50px rgba(139, 92, 246, 0.2));
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 64px;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* Selection */
::selection {
  background: var(--primary);
  color: white;
}
