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

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  --bg-main: #030305;
  --bg-sidebar: rgba(8, 10, 15, 0.6);
  --bg-card: rgba(10, 12, 18, 0.45);
  --bg-card-hover: rgba(15, 18, 28, 0.6);
  --border-color: rgba(255, 255, 255, 0.05);
  --border-color-active: rgba(99, 102, 241, 0.35);
  
  /* Palette */
  --primary: #6366f1; /* Electric Indigo */
  --primary-glow: rgba(99, 102, 241, 0.3);
  --secondary: #06b6d4; /* Cyber Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.25);
  --accent-purple: #a855f7; /* Neon Violet */
  --accent-purple-glow: rgba(168, 85, 247, 0.2);
  
  /* Dynamic Blob Colors */
  --blob-1: rgba(99, 102, 241, 0.18);
  --blob-2: rgba(6, 182, 212, 0.15);
  --blob-3: rgba(168, 85, 247, 0.12);
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Statuses */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-error: #ef4444;
  --status-info: #3b82f6;

  /* UI Specs */
  --sidebar-width: 280px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --glass-blur: 24px;
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  height: 100vh;
  display: flex;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h2 {
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientText 8s ease infinite;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--secondary);
}

/* Scrollbars styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* --- APP LAYOUT --- */
#app-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
  background: #030305;
  overflow: hidden;
}

/* --- DECORATIVE BACKGROUND ELEMENTS --- */
.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.bg-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  mix-blend-mode: screen;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: var(--blob-1);
  top: -15%;
  left: 15%;
  animation: float-blob-1 25s infinite alternate ease-in-out;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--blob-2);
  bottom: -10%;
  right: 10%;
  animation: float-blob-2 20s infinite alternate ease-in-out;
}

.blob-3 {
  width: 500px;
  height: 500px;
  background: var(--blob-3);
  bottom: 25%;
  left: -5%;
  animation: float-blob-3 18s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
  100% { transform: translate(-60px, 160px) scale(0.9); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-140px, -70px) scale(0.85); }
  100% { transform: translate(80px, -150px) scale(1.1); }
}

@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -100px) scale(1.2); }
  100% { transform: translate(-90px, 50px) scale(0.85); }
}

/* --- SIDEBAR --- */
.sidebar {
  width: var(--sidebar-width);
  height: 100%;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 30px 24px;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: white;
  box-shadow: 0 0 20px var(--primary-glow);
  position: relative;
  animation: logo-glow 3s infinite ease-in-out alternate;
}

@keyframes logo-glow {
  0% { box-shadow: 0 0 10px var(--primary-glow); }
  100% { box-shadow: 0 0 25px var(--secondary-glow); }
}

.logo-text h1 {
  font-size: 20px;
  background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  font-weight: 700;
  display: block;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
}

.nav-link svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-smooth);
}

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

.nav-active-indicator {
  position: absolute;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(255, 255, 255, 0.01);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
  transform: translateY(0);
}

.nav-link.active {
  background: transparent;
  color: var(--text-primary);
  border-color: transparent;
  box-shadow: none;
}

.nav-link.active svg {
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.user-badge:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
  position: relative;
}

.avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--status-success);
  border: 2px solid var(--bg-sidebar);
  border-radius: 50%;
}

.user-details h4 {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}

.user-details span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* --- MAIN CANVAS --- */
.main-canvas {
  flex-grow: 1;
  height: 100%;
  overflow-y: auto;
  padding: 40px 60px;
  position: relative;
  z-index: 5;
}

.view-section {
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 1200px;
  margin: 0 auto;
}

.view-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.view-header {
  margin-bottom: 40px;
  position: relative;
}

.view-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 20%, var(--text-secondary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.view-header p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 700px;
  line-height: 1.6;
}

/* --- UTILITY COMPONENTS --- */
.badge {
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
}
.badge-indigo { background: rgba(99, 102, 241, 0.12); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.25); }
.badge-cyan { background: rgba(6, 182, 212, 0.1); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.25); }
.badge-purple { background: rgba(168, 85, 247, 0.1); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.25); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.18s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1, 1, 1);
}

.template-card, .settings-card, .radar-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1, 1, 1);
  transition: transform 0.18s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card::after, .template-card::after, .settings-card::after, .radar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: overlay;
}

.card::before, .template-card::before, .settings-card::before, .radar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--primary), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.card:hover::after, .template-card:hover::after, .settings-card:hover::after, .radar-card:hover::after,
.card:hover::before, .template-card:hover::before, .settings-card:hover::before, .radar-card:hover::before {
  opacity: 1;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--primary-glow);
}

.btn {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.02);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
  color: white;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px var(--primary-glow), 0 0 20px var(--secondary-glow);
  filter: brightness(1.15);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover::after {
  left: 200%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow), 0 0 15px var(--secondary-glow);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-purple), var(--primary));
  border: none;
  box-shadow: 0 4px 20px var(--accent-purple-glow);
  color: white;
}

.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-accent:hover::after {
  left: 125%;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-purple-glow), 0 0 15px var(--primary-glow);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* --- FORMS & INPUTS --- */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Outfit', sans-serif;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 0 16px var(--primary-glow), inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* --- THE WIZARD VIEW --- */
.wizard-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .wizard-layout {
    grid-template-columns: 1fr;
  }
}

.wizard-steps {
  display: flex;
  margin-bottom: 24px;
  gap: 12px;
}

.step-indicator {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
  transition: var(--transition-smooth);
}

.step-indicator.active {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 12px var(--primary-glow);
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.template-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.template-card {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.template-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.template-card.selected {
  border-color: var(--secondary);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(99, 102, 241, 0.04));
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15), inset 0 0 8px rgba(6, 182, 212, 0.05);
}

.template-card h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.template-card p {
  font-size: 12px;
  color: var(--text-secondary);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

/* Prompt Preview Panel */
.preview-panel {
  position: sticky;
  top: 40px;
  height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-textarea {
  flex-grow: 1;
  background: rgba(5, 5, 8, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  color: #a5f3fc; /* Soft neon cyan code color */
  line-height: 1.6;
  resize: none;
  overflow-y: auto;
  white-space: pre-wrap;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.prompt-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2), inset 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* --- ARCHITECT VIEW --- */
.architect-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .architect-layout {
    grid-template-columns: 1fr;
  }
}

.file-tree-container {
  max-height: 500px;
  overflow-y: auto;
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  background: rgba(5, 5, 8, 0.85);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.6);
}

.tree-folder {
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  font-weight: 500;
}

.tree-file {
  color: var(--text-secondary);
  padding-left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
}

.tree-file-desc {
  color: var(--text-muted);
  font-size: 11px;
  margin-left: 6px;
}

.architect-roadmap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roadmap-step {
  border-left: 2px dashed rgba(255, 255, 255, 0.1);
  padding-left: 24px;
  position: relative;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.roadmap-step:hover {
  border-left-color: var(--primary);
}

.roadmap-step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  transition: var(--transition-smooth);
}

.roadmap-step:hover::before {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.roadmap-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.roadmap-step h4 {
  font-size: 16px;
  color: var(--text-primary);
}

.roadmap-step p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.roadmap-prompt {
  background: rgba(5, 5, 8, 0.65);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  position: relative;
  white-space: pre-wrap;
  transition: var(--transition-smooth);
}

.roadmap-prompt:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 15, 0.8);
}

.roadmap-prompt-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.roadmap-prompt:hover .roadmap-prompt-copy {
  opacity: 1;
}

/* --- COMPONENTS SANDBOX VIEW --- */
.sandbox-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .sandbox-layout {
    grid-template-columns: 1fr;
  }
}

.component-selector-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.component-selector-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.component-selector-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.component-selector-item.active {
  border-color: var(--primary);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
  box-shadow: inset 2px 0 0 var(--primary);
  transform: translateX(6px);
}

.component-selector-item h4 {
  font-size: 14px;
}

.sandbox-preview-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.browser-preview-frame {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #08090c;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
}

.browser-header {
  background: rgba(10, 12, 18, 0.6);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-address {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  font-family: monospace;
}

.sandbox-iframe {
  width: 100%;
  height: 320px;
  border: none;
  background: #08090c;
}

.sandbox-sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 8px var(--primary-glow);
  transition: transform 0.1s;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sandbox-code-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.sandbox-code-tab {
  padding: 10px 18px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.sandbox-code-tab:hover {
  color: var(--text-primary);
}

.sandbox-code-tab.active {
  color: var(--primary);
  border-color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.sandbox-code-container {
  position: relative;
}

.sandbox-code-snippet {
  background: rgba(5, 5, 8, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  color: #a5f3fc;
  white-space: pre;
  overflow-x: auto;
  max-height: 250px;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* --- VIBE COACH VIEW --- */
.coach-layout {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.coach-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 17, 23, 0.4);
  backdrop-filter: blur(10px);
}

.coach-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coach-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-success);
  box-shadow: 0 0 8px var(--status-success);
}

.coach-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(0, 0, 0, 0.15);
}

.chat-message {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  animation: messageIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
}

.message-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
}

.chat-message.bot .message-bubble {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.chat-message.user .message-bubble {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.message-meta {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-left: 4px;
}

.chat-message.user .message-meta {
  align-self: flex-end;
  margin-right: 4px;
}

.coach-input-area {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 12, 18, 0.6);
  display: flex;
  gap: 16px;
  align-items: center;
}

.coach-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coach-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow), inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* --- SETTINGS VIEW --- */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.settings-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.toast {
  background: rgba(15, 17, 23, 0.9);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--primary-glow);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.toast.show {
  transform: translateX(0);
}

.toast svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.toast.success { border-color: var(--status-success); color: var(--status-success); }
.toast.info { border-color: var(--status-info); color: var(--status-info); }
.toast.error { border-color: var(--status-error); color: var(--status-error); }

/* --- VIBE RADAR CLASSES --- */
.radar-filter-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.radar-filter-tab.active {
  color: #fff !important;
  background: var(--primary) !important;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.radar-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(15, 17, 23, 0.5);
  transition: var(--transition-smooth);
}

/* Border Accents */
.radar-card.twitter-border { border-left: 3px solid #1da1f2; }
.radar-card.hackernews-border { border-left: 3px solid #ff6600; }
.radar-card.reddit-border { border-left: 3px solid #ff4500; }

.radar-card.twitter-border:hover {
  border-color: #1da1f2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(29, 161, 242, 0.25);
}

.radar-card.hackernews-border:hover {
  border-color: #ff6600;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 102, 0, 0.25);
}

.radar-card.reddit-border:hover {
  border-color: #ff4500;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 69, 0, 0.25);
}

.radar-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.radar-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-source-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.radar-source-icon.twitter-bg { background-color: #1da1f2; }
.radar-source-icon.hackernews-bg { background-color: #ff6600; }
.radar-source-icon.reddit-bg { background-color: #ff4500; }

.radar-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.radar-source-name {
  font-size: 10px;
  color: var(--text-muted);
}

.radar-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.radar-card-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.radar-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.radar-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--secondary);
}

.radar-link:hover {
  text-decoration: underline;
}

.radar-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Spinner Rotate Keyframe */
.spinner-icon {
  animation: spin 1.2s infinite linear;
}

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

/* Syncing Button Style overrides */
.btn.syncing {
  filter: brightness(0.9);
  pointer-events: none;
}

/* Ambient Plexus & Cursor Glow */
#ambient-plexus-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

#cyber-cursor-glow {
  position: fixed;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
  transform: translate(-50%, -50%);
}

body:hover #cyber-cursor-glow {
  opacity: 1;
}

/* Radar HUD Scanner Widget */
.radar-scanner-hud {
  padding: 20px !important;
  background: rgba(8, 10, 15, 0.6) !important;
  border-color: rgba(6, 182, 212, 0.15) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.radar-hud-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.radar-hud-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-hud-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.25);
  position: relative;
  background: 
    radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 80%),
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 10px 10px, 10px 10px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1), inset 0 0 15px rgba(6, 182, 212, 0.15);
}

.radar-hud-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(6, 182, 212, 0.2);
}

.radar-hud-circle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(6, 182, 212, 0.2);
}

.radar-hud-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(6, 182, 212, 0.3) 0deg, transparent 180deg);
  animation: radar-sweep 4s linear infinite;
  transform-origin: center;
}

.radar-scanner-hud.active-scan .radar-hud-sweep {
  animation-duration: 1.2s;
  background: conic-gradient(from 0deg, rgba(244, 63, 94, 0.4) 0deg, transparent 180deg);
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-blip .blip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.radar-blip.twitter .blip-dot { background-color: #1da1f2; box-shadow: 0 0 8px #1da1f2; }
.radar-blip.hackernews .blip-dot { background-color: #ff6600; box-shadow: 0 0 8px #ff6600; }
.radar-blip.reddit .blip-dot { background-color: #ff4500; box-shadow: 0 0 8px #ff4500; }

.radar-blip::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  animation: blip-ring 2s infinite ease-out;
}

.radar-blip.twitter::after { color: rgba(29, 161, 242, 0.5); }
.radar-blip.hackernews::after { color: rgba(255, 102, 0, 0.5); }
.radar-blip.reddit::after { color: rgba(255, 69, 0, 0.5); }

@keyframes blip-ring {
  0% { transform: scale(0.5); opacity: 0; }
  25% { opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.radar-blip .blip-label {
  position: absolute;
  top: -12px;
  left: 10px;
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  font-weight: bold;
  color: var(--text-secondary);
  opacity: 0.7;
}

.radar-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.3);
  animation: radar-ping-expand 3s infinite ease-out;
  pointer-events: none;
}

@keyframes radar-ping-expand {
  0% { transform: scale(0.1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

.radar-hud-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hud-stat-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-label {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hud-value {
  font-family: 'Fira Code', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.glowing-text {
  color: var(--secondary) !important;
  text-shadow: 0 0 8px var(--secondary-glow);
}

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

.radar-scanner-hud.active-scan {
  border-color: rgba(244, 63, 94, 0.3) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(244, 63, 94, 0.2);
}

.radar-scanner-hud.active-scan .glowing-text {
  color: #f43f5e !important;
  text-shadow: 0 0 8px rgba(244, 63, 94, 0.5);
}

/* Cyber Tech Details */
.logo-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 1px solid var(--secondary);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-container:hover .logo-icon::before {
  opacity: 1;
}

.logo-container:hover .logo-icon {
  animation: glitch-skew 1s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-3deg); }
  40% { transform: skew(3deg); }
  60% { transform: skew(-1deg); }
  80% { transform: skew(2deg); }
  100% { transform: skew(0deg); }
}

/* Glitch Heading text */
.view-header h2:hover {
  text-shadow: 
    -2px 0 #ff007f, 
    2px 0 #00f0ff;
  animation: glitch-anim 0.3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { text-shadow: -1px 0 #ff007f, 1px 0 #00f0ff; }
  50% { text-shadow: 1px 0 #ff007f, -1px 0 #00f0ff; }
  100% { text-shadow: -2px 0 #ff007f, 2px 0 #00f0ff; }
}

/* Cyber Boot Diagnostics Screen */
#cyber-boot-screen {
  position: fixed;
  inset: 0;
  background: #030308;
  z-index: 12000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Fira Code', monospace;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#cyber-boot-screen.fade-out {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

.boot-container {
  width: 520px;
  max-width: 90%;
  padding: 24px 30px;
  background: rgba(10, 12, 20, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.boot-header {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary-glow);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.boot-terminal {
  height: 200px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-y: auto;
  padding-right: 8px;
}

/* Custom scrollbar for boot terminal */
.boot-terminal::-webkit-scrollbar {
  width: 4px;
}
.boot-terminal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.01);
}
.boot-terminal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.boot-line {
  margin-bottom: 6px;
  white-space: pre-wrap;
  opacity: 0.9;
}
.boot-line.success {
  color: var(--status-success, #10b981);
  text-shadow: 0 0 4px rgba(16, 185, 129, 0.25);
}
.boot-line.info {
  color: var(--secondary, #06b6d4);
}
.boot-line.warning {
  color: #f59e0b;
}

.boot-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.boot-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 8px var(--primary);
  transition: width 0.1s linear;
}

.boot-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 11px;
  padding: 8px 16px;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  align-self: center;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.boot-skip-btn:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  box-shadow: 0 0 10px var(--primary-glow);
  background: rgba(99, 102, 241, 0.05);
}

/* Animated Sound Wave Equalizer */
.sound-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 12px;
  height: 10px;
}

.sound-equalizer .eq-bar {
  width: 2px;
  height: 100%;
  background-color: var(--primary);
  animation: eq-bounce 0.8s ease-in-out infinite alternate;
  transform-origin: bottom;
  border-radius: 1px;
}

.sound-equalizer .eq-bar:nth-child(2) {
  animation-duration: 0.5s;
  animation-delay: -0.15s;
}

.sound-equalizer .eq-bar:nth-child(3) {
  animation-duration: 0.7s;
  animation-delay: -0.3s;
}

.sound-equalizer.muted .eq-bar {
  animation: none !important;
  height: 2px !important;
  background-color: var(--text-muted) !important;
}

@keyframes eq-bounce {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

/* CRT SCANLINE FILTER & OVERLAY */
#crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 15000;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
    linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.04)),
    radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.5) 120%);
  background-size: 100% 4px, 3px 100%, 100% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#crt-overlay.enabled {
  opacity: 0.65;
  animation: scanline-scroll 8s linear infinite;
}

@keyframes scanline-scroll {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 400px, 0 0, 0 0; }
}

/* SCREEN GLITCH CHROMATIC ABERRATION */
.screen-glitch {
  animation: screen-shake 0.35s cubic-bezier(.36,.07,.19,.97) both;
  filter: contrast(1.15) saturate(1.1);
  position: relative;
}

.screen-glitch::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(99, 102, 241, 0.03);
  z-index: 14999;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  animation: chromatic-shift 0.15s infinite;
}

@keyframes screen-shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, -1px, 0); }
  40%, 60% { transform: translate3d(3px, 1px, 0); }
}

@keyframes chromatic-shift {
  0% {
    box-shadow: 2px 0 0 rgba(255,0,0,0.4), -2px 0 0 rgba(0,0,255,0.4);
  }
  50% {
    box-shadow: -1px 2px 0 rgba(255,0,0,0.3), 2px -1px 0 rgba(0,255,255,0.3);
  }
  100% {
    box-shadow: 1px -1px 0 rgba(255,0,255,0.4), -2px 1px 0 rgba(0,255,0,0.3);
  }
}

/* Architecture Interactive Canvas Graph styles */
.node-inspector-hud {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(8, 10, 16, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.node-inspector-hud.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.node-inspector-hud h4 {
  margin: 0;
  font-size: 13px;
  color: var(--primary);
  font-family: 'Fira Code', monospace;
}
.node-inspector-hud p {
  margin: 0;
  font-size: 11px;
  color: var(--text-secondary);
}

.canvas-container-relative {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: rgba(5, 6, 10, 0.6);
  overflow: hidden;
}
#arch-node-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}
#arch-node-canvas:active {
  cursor: grabbing;
}

.radar-hud-canvas {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1), inset 0 0 15px rgba(6, 182, 212, 0.15);
  background: rgba(5, 6, 10, 0.6);
  cursor: pointer;
}

/* Sequenced Prompt Highlight Style */
.roadmap-step {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.roadmap-step.active-highlight {
  border-left-color: var(--secondary) !important;
  background: rgba(6, 182, 212, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 12px 12px 24px;
}
.roadmap-step.active-highlight::before {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
  box-shadow: 0 0 10px var(--secondary-glow) !important;
}

/* Radar Feed Blip Card Highlight Style */
.radar-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.radar-card.radar-card-highlight {
  transform: scale(1.02) translate3d(0, -4px, 0);
  border-color: var(--primary) !important;
  box-shadow: 0 12px 30px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}




