/* ============================================
   HALONIC DESIGN SYSTEM — PM Learning Guide
   index.css
   ============================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Dark Mode Colors (default) */
  --bg-primary: #070913;
  --bg-secondary: #0d1224;
  --bg-tertiary: #141a33;
  --bg-card: rgba(13, 18, 36, 0.7);
  --bg-card-hover: rgba(20, 26, 51, 0.85);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.12);

  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --accent-start: #6366f1;
  --accent-end: #06b6d4;
  --accent-solid: #6366f1;

  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Spacing (8pt grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 56px;
  --space-11: 64px;
  --space-12: 80px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
  --shadow-glow-hover: 0 0 30px rgba(99, 102, 241, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Layout */
  --sidebar-width: 300px;
  --header-height: 56px;
  --progress-height: 3px;
  --content-max-width: 860px;
}

/* ---- Light Mode ---- */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 0.95);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(0, 0, 0, 0.15);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.1);
  --shadow-glow-hover: 0 0 30px rgba(99, 102, 241, 0.18);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-padding-top: calc(var(--header-height) + var(--progress-height) + 24px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--duration-slow) var(--ease),
              color var(--duration-slow) var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; margin-bottom: var(--space-6); }
h2 { font-size: 1.875rem; margin-bottom: var(--space-5); }
h3 { font-size: 1.375rem; margin-bottom: var(--space-4); }
h4 { font-size: 1.125rem; margin-bottom: var(--space-3); }
h5 { font-size: 1rem; margin-bottom: var(--space-2); }

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

a {
  color: var(--accent-start);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}
a:hover { color: var(--accent-end); }

strong { color: var(--text-primary); font-weight: 600; }

code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  background: var(--bg-tertiary);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--accent-end);
  border: 1px solid var(--border-color);
}

ul, ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

li::marker {
  color: var(--accent-start);
}

/* ---- Progress Bar (Top) ---- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: var(--progress-height);
  background: var(--accent-gradient);
  z-index: 1001;
  transition: width 100ms linear;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ---- Sticky Header ---- */
#sticky-header {
  position: fixed;
  top: var(--progress-height);
  left: var(--sidebar-width);
  right: 0;
  height: var(--header-height);
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-7);
  z-index: 999;
  transition: left var(--duration-normal) var(--ease),
              background-color var(--duration-slow) var(--ease);
}

[data-theme="light"] #sticky-header {
  background: rgba(248, 250, 252, 0.85);
}

#sticky-header .current-chapter {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--duration-normal) var(--ease),
              transform var(--duration-normal) var(--ease);
}

#sticky-header .current-chapter.visible {
  opacity: 1;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ---- Theme Toggle ---- */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease);
  font-size: 1.125rem;
}
.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  color: var(--text-primary);
}

/* ---- Search ---- */
.search-container {
  position: relative;
}

.search-input {
  width: 220px;
  height: 40px;
  padding: 0 var(--space-4) 0 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  transition: all var(--duration-fast) var(--ease);
  outline: none;
}
.search-input::placeholder {
  color: var(--text-muted);
}
.search-input:focus {
  border-color: var(--accent-start);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  width: 280px;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.875rem;
  pointer-events: none;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
}
.search-results.active { display: block; }

.search-result-item {
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--duration-fast) var(--ease);
}
.search-result-item:hover {
  background: var(--bg-tertiary);
}
.search-result-item:last-child { border-bottom: none; }

.search-result-item .result-chapter {
  font-size: 0.6875rem;
  color: var(--accent-start);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.search-result-item .result-title {
  font-size: 0.8125rem;
  color: var(--text-primary);
  font-weight: 500;
}
.search-result-item .result-snippet {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.search-no-results {
  padding: var(--space-6);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ---- Sidebar ---- */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  z-index: 1000;
  transition: transform var(--duration-normal) var(--ease),
              background-color var(--duration-slow) var(--ease);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: var(--space-5) var(--space-5);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sidebar-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #fff;
  flex-shrink: 0;
}

.sidebar-logo-text h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  margin-bottom: 0;
  color: var(--text-primary);
}
.sidebar-logo-text span {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.sidebar-progress {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.sidebar-progress-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
  display: flex;
  justify-content: space-between;
}

.sidebar-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.sidebar-progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width var(--duration-normal) var(--ease);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) 0;
}

.nav-section-label {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-3) var(--space-5) var(--space-2);
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  position: relative;
  text-decoration: none;
  border-left: 2px solid transparent;
  min-height: 36px;
}

.nav-item:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.05);
}

.nav-item.active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.08);
  border-left-color: var(--accent-start);
}

.nav-item .nav-icon {
  font-size: 0.875rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav-item .nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item .nav-time {
  font-size: 0.625rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.nav-item .nav-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  transition: all var(--duration-fast) var(--ease);
}

.nav-item .nav-check.completed {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

/* ---- Mobile Menu Toggle ---- */
.mobile-menu-btn {
  display: none;
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1002;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: transform var(--duration-fast) var(--ease);
}
.mobile-menu-btn:hover { transform: scale(1.05); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease);
}
.sidebar-overlay.active {
  opacity: 1;
}

/* ---- Main Content ---- */
#main-content {
  margin-left: var(--sidebar-width);
  padding-top: calc(var(--header-height) + var(--progress-height));
  min-height: 100vh;
  transition: margin-left var(--duration-normal) var(--ease);
}

.content-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-9) var(--space-7);
}

/* ---- Chapter Section ---- */
.chapter {
  margin-bottom: var(--space-12);
  animation: fadeInUp 0.5s var(--ease) both;
}

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

.chapter-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
}

.chapter-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-start);
  font-weight: 700;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.chapter-label .reading-time {
  color: var(--text-muted);
  font-weight: 400;
}

.chapter-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.chapter-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  transition: all var(--duration-normal) var(--ease);
}
.card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-glow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.card-grid .card {
  margin-bottom: 0;
}

/* ---- Callout Boxes ---- */
.callout {
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  border-left: 3px solid;
}

.callout-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-content {
  flex: 1;
}

.callout-content p:last-child { margin-bottom: 0; }

.callout-content .callout-title {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-1);
}

.callout-note {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: var(--info);
}
.callout-note .callout-icon,
.callout-note .callout-title { color: var(--info); }

.callout-tip {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: var(--success);
}
.callout-tip .callout-icon,
.callout-tip .callout-title { color: var(--success); }

.callout-important {
  background: rgba(99, 102, 241, 0.08);
  border-left-color: var(--accent-start);
}
.callout-important .callout-icon,
.callout-important .callout-title { color: var(--accent-start); }

.callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: var(--warning);
}
.callout-warning .callout-icon,
.callout-warning .callout-title { color: var(--warning); }

/* ---- Tables ---- */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

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

thead th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-color);
}

tbody td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

tbody tr {
  transition: background var(--duration-fast) var(--ease);
}

tbody tr:hover {
  background: rgba(99, 102, 241, 0.04);
}

/* ---- Code Blocks ---- */
.code-block {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  position: relative;
}

.code-block .code-label {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.code-block .code-keyword { color: #c084fc; }
.code-block .code-string { color: #34d399; }
.code-block .code-comment { color: var(--text-muted); font-style: italic; }
.code-block .code-field { color: #60a5fa; }
.code-block .code-value { color: #fbbf24; }

/* ---- Accordions ---- */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease);
}
.accordion:hover {
  border-color: var(--border-color-hover);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  background: var(--bg-card);
  transition: background var(--duration-fast) var(--ease);
  user-select: none;
}
.accordion-header:hover {
  background: var(--bg-card-hover);
}

.accordion-header h4 {
  margin-bottom: 0;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.accordion-icon {
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: transform var(--duration-normal) var(--ease);
  flex-shrink: 0;
}

.accordion.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease);
}

.accordion-body-inner {
  padding: 0 var(--space-5) var(--space-5);
}

/* ---- Tabs ---- */
.tabs {
  margin-bottom: var(--space-5);
}

.tab-list {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-5);
  overflow-x: auto;
}

.tab-btn {
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--text-primary);
}
.tab-btn.active {
  color: var(--accent-start);
  border-bottom-color: var(--accent-start);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s var(--ease);
}
.tab-panel.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Quizzes ---- */
.quiz {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
}

.quiz-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.quiz-header h4 {
  margin-bottom: 0;
}

.quiz-question {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-color);
}
.quiz-question:last-of-type { border-bottom: none; }

.quiz-question p.question-text {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.quiz-option:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-tertiary);
}

.quiz-option.selected {
  border-color: var(--accent-start);
  background: rgba(99, 102, 241, 0.08);
}

.quiz-option.correct {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
}

.quiz-option.incorrect {
  border-color: var(--error);
  background: rgba(239, 68, 68, 0.08);
  color: var(--error);
}

.quiz-option .option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease);
}
.quiz-option.selected .option-radio {
  border-color: var(--accent-start);
  background: var(--accent-start);
}
.quiz-option.correct .option-radio {
  border-color: var(--success);
  background: var(--success);
}
.quiz-option.incorrect .option-radio {
  border-color: var(--error);
  background: var(--error);
}

.quiz-feedback {
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  display: none;
}
.quiz-feedback.show { display: block; }
.quiz-feedback.correct {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.quiz-feedback.incorrect {
  background: rgba(239, 68, 68, 0.08);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.quiz-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  border: none;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  margin-top: var(--space-3);
}
.quiz-btn:hover {
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-1px);
}

/* ---- Skill Checklist ---- */
.skill-checklist {
  margin-bottom: var(--space-5);
}

.skill-category {
  margin-bottom: var(--space-4);
}

.skill-category-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.skill-category-title.must-know { color: var(--success); }
.skill-category-title.should-know { color: var(--warning); }
.skill-category-title.good-to-know { color: var(--info); }

.skill-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
  margin-bottom: var(--space-1);
}
.skill-item:hover { background: var(--bg-tertiary); }

.skill-checkbox {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease);
  font-size: 0.6875rem;
  color: transparent;
}

.skill-item.checked .skill-checkbox {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.skill-item.checked .skill-label {
  text-decoration: line-through;
  color: var(--text-muted);
}

.skill-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease);
}

/* ---- Flow Diagrams (CSS animated) ---- */
.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
  overflow-x: auto;
}

.flow-node {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  min-width: 110px;
  opacity: 0;
  animation: flowNodeIn 0.5s var(--ease) forwards;
  transition: all var(--duration-fast) var(--ease);
  cursor: default;
}
.flow-node:hover {
  border-color: var(--accent-start);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.flow-node.accent {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1.25rem;
  opacity: 0;
  animation: flowNodeIn 0.5s var(--ease) forwards;
}

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

.flow-node:nth-child(1) { animation-delay: 0.1s; }
.flow-node:nth-child(2), .flow-arrow:nth-child(2) { animation-delay: 0.2s; }
.flow-node:nth-child(3), .flow-arrow:nth-child(3) { animation-delay: 0.3s; }
.flow-node:nth-child(4), .flow-arrow:nth-child(4) { animation-delay: 0.4s; }
.flow-node:nth-child(5), .flow-arrow:nth-child(5) { animation-delay: 0.5s; }
.flow-node:nth-child(6), .flow-arrow:nth-child(6) { animation-delay: 0.6s; }
.flow-node:nth-child(7), .flow-arrow:nth-child(7) { animation-delay: 0.7s; }
.flow-node:nth-child(8), .flow-arrow:nth-child(8) { animation-delay: 0.8s; }
.flow-node:nth-child(9), .flow-arrow:nth-child(9) { animation-delay: 0.9s; }
.flow-node:nth-child(10), .flow-arrow:nth-child(10) { animation-delay: 1.0s; }
.flow-node:nth-child(11), .flow-arrow:nth-child(11) { animation-delay: 1.1s; }
.flow-node:nth-child(12), .flow-arrow:nth-child(12) { animation-delay: 1.2s; }
.flow-node:nth-child(13), .flow-arrow:nth-child(13) { animation-delay: 1.3s; }

/* Cycle flow */
.flow-cycle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  margin-bottom: var(--space-5);
  position: relative;
}

/* ---- Kanban Board ---- */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  overflow-x: auto;
}

.kanban-column {
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  min-width: 180px;
}

.kanban-column-title {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: var(--space-2) var(--space-2);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.kanban-column-title .count {
  background: var(--bg-secondary);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  color: var(--text-muted);
}

.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease);
}
.kanban-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.kanban-card .kanban-tag {
  display: inline-block;
  font-size: 0.625rem;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.kanban-tag.feature { background: rgba(99, 102, 241, 0.15); color: var(--accent-start); }
.kanban-tag.bug { background: rgba(239, 68, 68, 0.15); color: var(--error); }
.kanban-tag.improvement { background: rgba(16, 185, 129, 0.15); color: var(--success); }

/* ---- Bug Report Builder ---- */
.bug-form {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
}

.bug-form .form-group {
  margin-bottom: var(--space-4);
}

.bug-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.bug-form input,
.bug-form select,
.bug-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease);
}

.bug-form input:focus,
.bug-form select:focus,
.bug-form textarea:focus {
  border-color: var(--accent-start);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.bug-form textarea {
  min-height: 80px;
  resize: vertical;
  font-family: var(--font-mono);
}

.bug-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.bug-preview {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-wrap;
}

/* ---- Badges / Tags ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
}
.badge-success { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.badge-warning { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.badge-error { background: rgba(239, 68, 68, 0.12); color: var(--error); }
.badge-info { background: rgba(59, 130, 246, 0.12); color: var(--info); }
.badge-accent { background: rgba(99, 102, 241, 0.12); color: var(--accent-start); }

/* ---- Funnel ---- */
.funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
  padding: var(--space-5) 0;
}

.funnel-step {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  transition: all var(--duration-fast) var(--ease);
  position: relative;
}
.funnel-step:hover {
  transform: scale(1.03);
}

.funnel-drop {
  font-size: 0.6875rem;
  color: var(--error);
  font-weight: 600;
}

/* ---- Scroll-to-Top ---- */
#scroll-top {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--duration-normal) var(--ease);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#scroll-top:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-color-hover);
}

/* ---- Glossary ---- */
.glossary-grid {
  display: grid;
  gap: var(--space-2);
}

.glossary-item {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--duration-fast) var(--ease);
}
.glossary-item:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-card);
}

.glossary-term {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--accent-end);
  margin-bottom: 2px;
}

.glossary-def {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.glossary-filter {
  margin-bottom: var(--space-5);
}

.glossary-filter input {
  width: 100%;
  max-width: 400px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease);
}
.glossary-filter input:focus {
  border-color: var(--accent-start);
}

/* ---- Utility Classes ---- */
.mt-1 { margin-top: var(--space-2); }
.mt-2 { margin-top: var(--space-4); }
.mt-3 { margin-top: var(--space-6); }
.mt-4 { margin-top: var(--space-8); }
.mb-1 { margin-bottom: var(--space-2); }
.mb-2 { margin-bottom: var(--space-4); }
.mb-3 { margin-bottom: var(--space-6); }
.mb-4 { margin-bottom: var(--space-8); }

.text-center { text-align: center; }
.text-accent { color: var(--accent-start); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-info { color: var(--info); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.hidden { display: none !important; }

/* ---- Metric Cards ---- */
.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: var(--space-7);
  margin-bottom: var(--space-5);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-5);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-7) + 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--bg-primary);
}

.timeline-item h5 {
  margin-bottom: var(--space-1);
}

/* ---- Hero Section ---- */
.hero {
  text-align: center;
  padding: var(--space-12) 0 var(--space-9);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: var(--accent-gradient);
  filter: blur(120px);
  opacity: 0.15;
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-start);
  margin-bottom: var(--space-5);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-6);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-6);
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Section divider ---- */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin: var(--space-8) 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 280px;
  }

  #sidebar {
    transform: translateX(-100%);
  }
  #sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.active {
    display: block;
  }

  .mobile-menu-btn {
    display: flex;
  }

  #sticky-header {
    left: 0;
  }

  #main-content {
    margin-left: 0;
  }

  .content-wrapper {
    padding: var(--space-6) var(--space-4);
  }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .chapter-title { font-size: 1.75rem; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: var(--space-5); }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .kanban-board {
    grid-template-columns: 1fr;
  }

  .flow-diagram {
    flex-direction: column;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }

  .search-input {
    width: 160px;
  }
  .search-input:focus {
    width: 200px;
  }
  .search-results {
    width: 300px;
    right: -40px;
  }

  .tab-list {
    gap: 0;
  }
  .tab-btn {
    padding: var(--space-2) var(--space-3);
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: var(--space-5) var(--space-3);
  }
  .hero h1 { font-size: 1.625rem; }
  .hero-stats {
    flex-direction: column;
    gap: var(--space-3);
  }
  .search-container { display: none; }
}

/* ---- Print Styles ---- */
@media print {
  #sidebar,
  #sticky-header,
  #progress-bar,
  #scroll-top,
  .mobile-menu-btn,
  .sidebar-overlay,
  .theme-toggle,
  .search-container,
  .quiz-btn,
  .header-actions {
    display: none !important;
  }

  #main-content {
    margin-left: 0 !important;
    padding-top: 0 !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .card, .quiz, .bug-form {
    background: #fff;
    border: 1px solid #ddd;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    break-inside: avoid;
  }

  .chapter {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .accordion-body {
    max-height: none !important;
    overflow: visible !important;
  }

  .tab-panel { display: block !important; }

  h1, h2, h3, h4, h5, h6 { color: #000; }
  p, li, td { color: #333; }

  .gradient-text {
    -webkit-text-fill-color: #000;
    background: none;
  }

  a { color: #333; text-decoration: underline; }
}

/* ---- Animations ---- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Roadmap ---- */
.roadmap {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: var(--space-3) 0;
  margin-bottom: var(--space-5);
}

.roadmap-quarter {
  min-width: 220px;
  flex-shrink: 0;
}

.roadmap-quarter-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-start);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--accent-start);
}

.roadmap-item {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-2);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ---- Priority Matrix ---- */
.matrix-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.matrix-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
}

.matrix-cell {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  min-height: 80px;
}

.matrix-cell h5 {
  font-size: 0.75rem;
  margin-bottom: var(--space-2);
}
.matrix-cell p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

/* ---- Action Plan ---- */
.action-plan {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.action-day {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: all var(--duration-fast) var(--ease);
}
.action-day:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-glow);
}

.action-day-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}

.action-day-content h5 {
  margin-bottom: var(--space-1);
}
.action-day-content p {
  margin-bottom: 0;
  font-size: 0.8125rem;
}

/* ---- Misc ---- */
.separator {
  width: 48px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.emoji-icon {
  font-size: 1.25rem;
}

.subsection {
  margin-bottom: var(--space-7);
}

.subsection > h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
