/* Tailwind is loaded via CDN script + inline <style type="text/tailwindcss"> in each HTML file */

/* CSS custom properties — needed by custom CSS below (also defined in @theme for Tailwind utilities) */
:root {
  --color-navy: #0f2b46;
  --color-navy-light: #163a5c;
  --color-navy-dark: #0a1e33;
  --color-accent: #dc3545;
  --color-accent-hover: #c82333;
  --color-bg: #f4f6f8;
  --color-card: #ffffff;
  --color-text-primary: #1a1a2e;
  --color-text-secondary: #6b7280;
  --color-border: #e5e7eb;
  --color-module-a: #dc3545;
  --color-module-b: #0d6efd;
  --color-module-c: #198754;
}

/* Sidebar */
.sidebar {
  width: 256px;
  background: var(--color-navy);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Sidebar nav items */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.15s ease;
  text-decoration: none;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-weight: 600;
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
  user-select: none;
}

.module-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.module-chevron {
  transition: transform 0.2s ease;
}

.module-chevron.collapsed {
  transform: rotate(-90deg);
}

.module-features {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.module-features.collapsed {
  max-height: 0 !important;
}

/* Backdrop */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 30;
}

.sidebar-backdrop.show {
  display: block;
}

/* Content area */
.main-content {
  margin-left: 256px;
  min-height: 100vh;
}

@media (max-width: 767px) {
  .main-content {
    margin-left: 0;
  }
}

/* Header */
.app-header {
  background: white;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

/* Feature page styles */
.feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  min-width: 2.5rem;
}

.module-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.module-tag-a { background: #fef2f2; color: #dc3545; }
.module-tag-b { background: #eff6ff; color: #0d6efd; }
.module-tag-c { background: #f0fdf4; color: #198754; }

.intensity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #fef3c7;
  color: #92400e;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  background: #f0f4ff;
  color: #3b5998;
  letter-spacing: 0.025em;
}

/* Accordion */
.accordion-card {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: white;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: white;
  transition: background 0.15s ease;
  user-select: none;
}

.accordion-header:hover {
  background: #f9fafb;
}

.accordion-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.accordion-chevron.collapsed {
  transform: rotate(-90deg);
}

.accordion-body {
  padding: 0 1.25rem 1.25rem;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-body.collapsed {
  max-height: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}

/* Example blockquote */
.example-block {
  border-left: 3px solid var(--color-accent);
  background: #fef9f9;
  padding: 1rem 1.25rem;
  border-radius: 0 0.375rem 0.375rem 0;
  font-size: 0.875rem;
  line-height: 1.625;
}

.example-block code {
  background: #f1f5f9;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
}

/* Data flow — arrows attached to steps via ::after so step+arrow wrap as a unit */
.data-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0;
}

.data-flow-step {
  background: var(--color-navy);
  color: white;
  padding: 0.625rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  position: relative;
  margin-right: 1.75rem;
}

.data-flow-step:last-child {
  margin-right: 0;
}

/* Arrow rendered as pseudo-element so it stays attached to its step during wrapping */
.data-flow-step::after {
  content: '\2192';
  color: var(--color-accent);
  font-size: 1.25rem;
  position: absolute;
  left: calc(100% + 0.25rem);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.data-flow-step:last-child::after {
  content: none;
}

/* Hide standalone arrow elements — replaced by ::after pseudo-elements */
.data-flow-arrow {
  display: none;
}

@media (max-width: 767px) {
  .data-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .data-flow-step {
    white-space: normal;
    margin-right: 0;
    margin-bottom: 1.75rem;
  }
  .data-flow-step:last-child {
    margin-bottom: 0;
  }
  .data-flow-step::after {
    content: '\2193';
    left: 50%;
    top: auto;
    bottom: -1.35rem;
    transform: translateX(-50%);
  }
  .data-flow-step:last-child::after {
    content: none;
  }
}

/* Prev/Next nav */
.prev-next-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.prev-next-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--color-navy);
  transition: all 0.15s ease;
  max-width: 50%;
}

.prev-next-link:hover {
  border-color: var(--color-accent);
  background: #fef9f9;
}

/* Dashboard cards */
.feature-card {
  display: block;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Module summary cards */
.module-card {
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.module-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* Landing page styles */
.hero-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: white;
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 7rem 2rem;
  }
}

.stat-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Landing page navbar */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: var(--color-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1.5rem;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Print styles */
@media print {
  .sidebar, .app-header, .prev-next-nav {
    display: none !important;
  }
  .main-content {
    margin-left: 0 !important;
  }
}

/* ================================================================
   DEMO SYSTEM — shared styles for all 19 feature demos
   ================================================================ */

/* Demo section container */
.demo-section {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* "LIVE DEMO" badge */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #f0fdf4;
  color: #15803d;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid #bbf7d0;
}

.demo-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: demoPulse 2s ease-in-out infinite;
}

@keyframes demoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

/* Demo buttons */
.demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.demo-btn:hover { background: #f9fafb; border-color: #d1d5db; }

.demo-btn.active {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

.demo-btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.demo-btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.demo-btn-sm {
  padding: 0.3rem 0.625rem;
  font-size: 0.75rem;
}

/* Processing overlay */
.demo-processing {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 0.375rem;
  backdrop-filter: blur(2px);
}

.processing-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}

.processing-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: demoSpin 0.7s linear infinite;
}

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

.processing-dots::after {
  content: '';
  animation: demoDots 1.4s steps(4, end) infinite;
}

@keyframes demoDots {
  0%  { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

/* Typing cursor */
.typing-active::after {
  content: '|';
  color: var(--color-accent);
  animation: demoBlink 0.7s step-end infinite;
  margin-left: 1px;
}

@keyframes demoBlink { 50% { opacity: 0; } }

/* ── Stepper ──────────────────────────────────────────── */

.demo-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 1.25rem 0;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.demo-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #f3f4f6;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.demo-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #9ca3af;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.demo-step.active {
  background: #fef2f2;
  color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

.demo-step.active .demo-step-icon {
  background: var(--color-accent);
  color: white;
  animation: stepPulse 1s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
}

.demo-step.completed {
  background: #f0fdf4;
  color: #15803d;
}

.demo-step.completed .demo-step-icon {
  background: #22c55e;
  color: white;
}

.demo-step-arrow {
  color: #d1d5db;
  font-size: 0.875rem;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

/* ── Tabs ─────────────────────────────────────────────── */

.demo-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1rem;
  overflow-x: auto;
}

.demo-tab {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

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

.demo-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.demo-tab-content {
  display: none;
}

.demo-tab-content.active {
  display: block;
  animation: demoFadeIn 0.3s ease;
}

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

/* ── Chat UI ──────────────────────────────────────────── */

.demo-chat {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
}

.chat-message {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--color-navy);
  color: white;
  border-bottom-right-radius: 0.25rem;
}

.chat-message.ai {
  align-self: flex-start;
  background: white;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 0.25rem;
}

.chat-sender {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* ── Bar chart ────────────────────────────────────────── */

.demo-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.demo-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.demo-bar-label {
  width: 140px;
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-primary);
  text-align: right;
}

.demo-bar-track {
  flex: 1;
  height: 22px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
}

.demo-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
  min-width: 0;
}

.demo-bar-value {
  width: 48px;
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* ── Radar chart ──────────────────────────────────────── */

.demo-radar {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ── Scatter plot ─────────────────────────────────────── */

.demo-scatter {
  display: block;
  max-width: 100%;
  height: auto;
}

.demo-scatter-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.demo-scatter-legend {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── JSON viewer ──────────────────────────────────────── */

.demo-json {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 0;
}

.demo-json code { background: none; padding: 0; color: inherit; }
.json-key { color: #7dd3fc; }
.json-string { color: #86efac; }
.json-number { color: #fbbf24; }
.json-bool { color: #c084fc; }

/* ── Score badges & circles ───────────────────────────── */

.score-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
}

/* ── Tags ─────────────────────────────────────────────── */

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: #f3f4f6;
  color: var(--color-text-primary);
  border: 1px solid #e5e7eb;
  transition: transform 0.15s ease;
}

.demo-tag:hover { transform: translateY(-1px); }

.demo-tag.cert {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.demo-tag.tool {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.demo-tag.sm {
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
}

.demo-tag-level {
  font-size: 0.625rem;
  font-weight: 700;
  opacity: 0.6;
  text-transform: uppercase;
}

/* ── A1 demo-specific ─────────────────────────────────── */

.demo-skill-group { margin-bottom: 1rem; }

.demo-skill-category {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.demo-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.demo-inferred-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.demo-inferred-item {
  animation: demoFadeIn 0.4s ease both;
}

.demo-inferred-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.demo-inferred-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.demo-inferred-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.demo-inferred-reason {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
  font-style: italic;
  line-height: 1.5;
}

/* ── Demo table ───────────────────────────────────────── */

.demo-table-wrap {
  overflow-x: auto;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.demo-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  border-bottom: 2px solid var(--color-border);
}

.demo-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.demo-table td code {
  background: #f1f5f9;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: #6366f1;
}

/* ── CV Input area ────────────────────────────────────── */

.demo-cv-textarea {
  width: 100%;
  min-height: 140px;
  max-height: 240px;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--color-text-primary);
  background: #f9fafb;
  resize: vertical;
}

.demo-cv-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* ── Responsive overrides ─────────────────────────────── */

@media (max-width: 767px) {
  .demo-stepper {
    gap: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .demo-step {
    padding: 0.375rem 0.5rem;
    font-size: 0.625rem;
  }

  .demo-step-icon {
    width: 18px;
    height: 18px;
    font-size: 0.5625rem;
  }

  .demo-bar-label {
    width: 100px;
    font-size: 0.6875rem;
  }

  .demo-tab {
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
  }

  .demo-section {
    padding: 1rem;
  }
}
