/* 
 * EliteMindPro - Lab UI Design System (Premium v3.0)
 * Modern, High-Performance, Glassmorphic
 */

:root {
  /* Color Palette - Cyber / Pro Sport */
  --bg-deep: #0a0e1a;
  --bg-card: rgba(23, 30, 48, 0.7);
  --accent-primary: #3b82f6; /* Electric Blue */
  --accent-secondary: #06b6d4; /* Cyan */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  /* Shadows & Glass effects */
  --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --blur: blur(12px);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --radius-lg: 24px;
  --radius-md: 16px;
  --container-max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Layout Containers */
.lab-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
}

/* Fullscreen Task Screen */
.screen-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg-deep);
  z-index: 9999;
  display: flex !important;
  align-items: center;
  justify-content: center;
}


/* Shared Components: Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Typography */
.pro-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.pro-subtitle {
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Buttons */
.btn-pro {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.125rem;
}

.btn-pro:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

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

/* Inputs */
.pro-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: white;
  width: 100%;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.pro-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

.input-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Progress / Indicators */
.pro-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin: 1rem 0;
}

.pro-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
  transition: width 0.3s ease;
}

/* State management utility */
.hidden { display: none !important; }

/* Micro-animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Stimulus Styles (Shared) */
.fixation-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-size: 2.5rem;
  opacity: 0.8;
  z-index: 1001;
  pointer-events: none;
}


.stim-main {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.stim-rt {
  background: #fbbf24;
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
}
