/* ── guide.css ── */
.guide-topbar {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 90;
  background: rgba(9, 10, 15, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px; display: flex; justify-content: space-between; align-items: center;
}
.guide-topbar-title { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 10px; color: #fff; }
.guide-topbar-actions { display: flex; gap: 8px; }

.guide-layout {
  display: flex; padding-top: 120px; min-height: 100vh;
}

/* Sidebar */
.guide-sidebar {
  width: 280px; flex-shrink: 0;
  position: sticky; top: 120px; height: calc(100vh - 120px);
  overflow-y: auto; padding: 20px 16px;
  border-right: 1px solid var(--border);
  background: rgba(13, 15, 20, 0.5); backdrop-filter: blur(8px);
}
.guide-sidebar::-webkit-scrollbar { width: 6px; }
.guide-sidebar::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
.guide-sidebar-section { margin-bottom: 12px; }
.guide-sidebar-head {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--blurple); padding: 8px 12px; margin-bottom: 4px;
}
.guide-sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none;
  transition: var(--trans); margin-bottom: 2px;
}
.guide-sidebar-link:hover { background: var(--bg-hover); color: var(--text-primary); }
.guide-sidebar-link.active { background: var(--blurple-dim); color: var(--blurple); font-weight: 700; box-shadow: inset 3px 0 0 var(--blurple); }
.guide-sidebar-link.sub { padding-left: 36px; font-size: 13px; font-weight: 400; }

/* Main content */
.guide-content {
  flex: 1; padding: 40px 60px; max-width: 1000px;
  min-width: 0;
}
.guide-content > :not(:last-child) { margin-bottom: 60px; }

.guide-section { scroll-margin-top: 140px; }
.guide-section-header {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.guide-section-icon { width: 40px; height: 40px; background: var(--blurple-dim); color: var(--blurple); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 0 15px var(--blurple-dim); }
.guide-section-title { font-size: 32px; font-weight: 800; letter-spacing: -1px; }

/* Info callout boxes */
.callout {
  border-radius: var(--radius-sm); padding: 20px 24px; margin: 24px 0;
  border: 1px solid transparent; font-size: 14.5px;
  backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 8px;
}
.callout-blurple { background: rgba(0,229,255,0.05); border-color: rgba(0,229,255,0.2); border-left: 4px solid var(--blurple); }
.callout-green   { background: rgba(57,255,20,0.05); border-color: rgba(57,255,20,0.2); border-left: 4px solid var(--green); }
.callout-yellow  { background: rgba(255,215,0,0.05); border-color: rgba(255,215,0,0.2); border-left: 4px solid var(--yellow); }
.callout-red     { background: rgba(255,42,42,0.05); border-color: rgba(255,42,42,0.2); border-left: 4px solid var(--red); }
.callout-title   { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }

/* Command examples */
.cmd-example {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-hover); border: 1px solid var(--border);
  color: var(--blurple); font-family: 'JetBrains Mono', monospace;
  font-size: 13px; padding: 4px 12px; border-radius: 999px;
  font-weight: 700;
}

/* Resource bars */
.resource-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.resource-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px;
  transition: var(--trans);
}
.resource-item:hover { transform: translateY(-2px); border-color: var(--border-light); }
.resource-name { font-size: 15px; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; color: #fff; }
.resource-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Stats cards */
.stats-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }
.stat-card-sm {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px; text-align: center;
  transition: var(--trans);
}
.stat-card-sm:hover { transform: translateY(-4px); border-color: var(--blurple); box-shadow: 0 4px 20px var(--blurple-dim); }
.stat-card-sm .icon { font-size: 28px; margin-bottom: 12px; color: var(--blurple); display: inline-block; filter: drop-shadow(0 0 8px var(--blurple-dim)); }
.stat-card-sm .name { font-size: 15px; font-weight: 800; margin-bottom: 6px; color: #fff; }
.stat-card-sm .desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Mockup images in guide */
.guide-mockup {
  width: 100%; max-width: 720px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); display: block; margin: 32px 0;
  box-shadow: var(--shadow-lg); transition: var(--trans);
}
.guide-mockup:hover { border-color: var(--border-light); transform: scale(1.01); }

/* Numbered steps */
.steps-list { list-style: none; counter-reset: steps; margin: 24px 0; }
.steps-list li {
  counter-increment: steps;
  display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px;
}
.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--blurple-dim); color: var(--blurple); border: 1px solid var(--blurple);
  border-radius: 50%; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px; box-shadow: 0 0 10px var(--blurple-dim);
}
.steps-list .step-text { flex: 1; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.steps-list .step-text strong { color: #fff; }

/* Location list */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.location-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px; transition: var(--trans);
  display: flex; flex-direction: column;
}
.location-card:hover { border-color: var(--blurple); box-shadow: 0 4px 15px var(--blurple-dim); transform: translateY(-2px); }
.location-name { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: #fff; display: flex; align-items: center; gap: 8px; }
.location-meta { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

/* Full command table */
.cmd-table td:first-child { font-family: 'JetBrains Mono', monospace; color: var(--blurple); font-weight: 700; }
.phase-badge {
  font-size: 11px; font-weight: 800; padding: 4px 10px;
  border-radius: 999px; background: var(--bg-hover); color: var(--text-secondary); border: 1px solid var(--border);
}

/* FAQ */
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: var(--trans);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-q {
  padding: 20px 24px; font-weight: 700; font-size: 15px; color: #fff;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; transition: var(--trans);
}
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-a {
  padding: 0 24px; font-size: 15px; color: var(--text-secondary); line-height: 1.6;
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s;
}
.faq-item.open { border-color: var(--blurple); box-shadow: 0 4px 20px var(--blurple-dim); }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-arrow { transition: transform 0.4s; font-size: 16px; color: var(--blurple); display: flex; align-items: center; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* Print header/footer */
@media print {
  .guide-layout { padding-top: 0; }
  .guide-content { padding: 20px; }
  .guide-section-header { border-bottom: 2px solid #000; }
  .guide-sidebar, .guide-topbar, .site-nav, .site-footer, .callout-green { display: none !important; }
}
