/* ============================================
   PrepAI — Design System
   Dark industrial + orange accent theme
   Font: Cabinet Grotesk + DM Mono
============================================ */

:root {
  --bg: #0c0c0e;
  --surface: #111114;
  --card: #18181c;
  --card-border: #252529;
  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-dim: rgba(249, 115, 22, 0.12);
  --accent-glow: rgba(249, 115, 22, 0.25);
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --blue: #3b82f6;
  --text: #e8e8ee;
  --text-muted: #888899;
  --text-faint: #555566;
  --mono: 'DM Mono', monospace;
  --sans: 'Cabinet Grotesk', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  line-height: 1.6;
}

/* Subtle grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ============ LOADER ============ */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,12,14,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-overlay.hidden { display: none !important; }

.loader-box {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 40px 48px;
  border-radius: var(--radius);
}

.loader-box p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--card-border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.mini-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--card-border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

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

/* ============ TOAST ============ */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  z-index: 9998;
  box-shadow: var(--shadow);
  animation: slideUp 0.3s ease;
  max-width: 320px;
}

.toast-msg.hidden { display: none; }
.toast-msg.success { border-left: 3px solid var(--green); }
.toast-msg.error { border-left: 3px solid var(--red); }
.toast-msg.info { border-left: 3px solid var(--accent); }

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

/* ============ NAV ============ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,14,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand span { color: var(--accent); }

.nav-chip {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--mono);
}

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.session-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 4px 12px;
  border-radius: 20px;
}

.nav-btn {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s;
}

.nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-btn.danger:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  justify-content: center;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ============ FORMS ============ */
.custom-input {
  background: var(--surface) !important;
  border: 1px solid var(--card-border) !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 14px !important;
  font-family: var(--sans) !important;
  font-size: 0.9rem !important;
  transition: border-color 0.2s !important;
  width: 100%;
}

.custom-input:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-dim) !important;
  background: var(--surface) !important;
}

.custom-input option {
  background: var(--card);
  color: var(--text);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-family: var(--mono);
}

.form-group { margin-bottom: 18px; }

.form-row {
  display: flex;
  gap: 16px;
}

.flex-1 { flex: 1; }

/* ============ HERO ============ */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tag-pill {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--mono);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 16px 0;
  letter-spacing: -1.5px;
}

.accent-text { color: var(--accent); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 48px;
}

/* ============ MODE CARDS ============ */
.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.mode-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.mode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.mode-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mode-card:hover::before { opacity: 1; }

.active-card { border-color: var(--accent); }
.active-card::before { opacity: 1; }

.soon-card { opacity: 0.75; }

.mode-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  position: relative;
}

.mode-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.mode-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.card-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
}

.card-cta.coming { color: var(--text-muted); }

/* ============ PANEL OVERLAY ============ */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.panel-overlay.hidden { display: none; }

.panel-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.panel-close:hover { color: var(--text); border-color: var(--text-muted); }

.panel-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* ============ TABS ============ */
.tab-switcher {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--sans);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
}

/* ============ PAGE CONTAINER ============ */
.page-container {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
}

/* ============ LESSON PAGE ============ */
.state-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 64px 40px;
  text-align: center;
}

.state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.state-icon.spin { animation: spin 2s linear infinite; display: block; }

.state-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.state-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.lesson-header {
  margin-bottom: 24px;
}

.lesson-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.skill-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.lesson-meta { display: flex; gap: 8px; flex-wrap: wrap; }

.meta-chip {
  font-family: var(--mono);
  font-size: 0.72rem;
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
}

.status-chip { color: var(--green); border-color: rgba(34,197,94,0.3); background: var(--green-dim); }

.content-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.accent-card { border-left: 3px solid var(--accent); }

.card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: var(--mono);
}

.lesson-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-wrap;
}

.code-block {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent-light);
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  white-space: pre-wrap;
  margin: 0;
}

.question-card { border-left: 3px solid var(--blue); }

.question-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text);
}

/* ============ ANSWER PANEL ============ */
.answer-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 80px;
}

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

.panel-head h4 {
  font-size: 1rem;
  font-weight: 800;
}

.char-count {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.answer-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 180px;
  transition: border-color 0.2s;
  display: block;
  margin-bottom: 14px;
}

.answer-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.answer-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.answer-actions .btn-primary,
.answer-actions .btn-secondary {
  flex: 1;
  font-size: 0.85rem;
  padding: 10px 16px;
}

/* ============ EVAL RESULT ============ */
.eval-block {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 4px;
  animation: fadeIn 0.3s ease;
}

.eval-block.hidden { display: none; }

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

.eval-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-family: var(--mono);
}

.score-display { display: flex; align-items: baseline; gap: 2px; }

.score-num {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.score-max {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.score-bar-wrap {
  height: 6px;
  background: var(--card-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  transition: width 0.6s ease;
}

.eval-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.eval-recommendation {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}

.eval-recommendation.hidden { display: none; }

.rec-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
  font-family: var(--mono);
}

/* ============ STATS ============ */
.stats-block {
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
  margin-top: 16px;
}

.stats-block.hidden { display: none; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.stat-item {}

.stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-num.green { color: var(--green); }
.stat-num.orange { color: var(--accent); }

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============ SUMMARY PAGE ============ */
.summary-header {
  text-align: center;
  padding: 40px 0 48px;
}

.summary-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 12px 0 8px;
}

.summary-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .mode-cards { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

.ov-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.ov-card:hover { border-color: var(--accent); }

.ov-icon { font-size: 1.8rem; margin-bottom: 10px; }

.ov-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.ov-num.green { color: var(--green); }
.ov-num.accent { color: var(--accent); }

.ov-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}

.info-head {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
}

.head-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(37,37,41,0.6);
  font-size: 0.88rem;
  gap: 12px;
}

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

.info-key { color: var(--text-muted); flex-shrink: 0; }

.info-val { color: var(--text); text-align: right; word-break: break-all; }
.info-val.mono { font-family: var(--mono); font-size: 0.78rem; }

/* ============ RECOMMENDATIONS ============ */
.rec-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 8px 0;
}

.rec-list.hidden { display: none; }
.rec-empty.hidden { display: none; }

.rec-empty {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 32px 0;
}

.rec-item {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 10px;
}

.rec-item:last-child { margin-bottom: 0; }

.rec-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.rec-item-skill {
  font-weight: 700;
  font-size: 0.88rem;
}

.rec-priority {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.priority-high { background: rgba(239,68,68,0.15); color: #ef4444; }
.priority-medium { background: rgba(249,115,22,0.15); color: var(--accent); }
.priority-low { background: var(--green-dim); color: var(--green); }

.rec-item-text {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ SKILLS ============ */
.skill-list {}

.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(37,37,41,0.6);
}

.skill-item:last-child { border-bottom: none; }

.skill-name {
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 120px;
  flex-shrink: 0;
}

.skill-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--card-border);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.skill-score {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 40px;
  text-align: right;
}

/* ============ COMING SOON ============ */
.coming-soon-wrap {
  max-width: 640px;
  margin: 80px auto;
  text-align: center;
}

.coming-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--mono);
  margin-bottom: 20px;
}

.coming-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.coming-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
  margin-top: 40px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}

.feat-icon { font-size: 1.6rem; margin-bottom: 12px; }

.feature-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ UTILITIES ============ */
.hidden { display: none !important; }
.mono { font-family: var(--mono); }

.w-100 { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }
