/* Getting Started Guide — Styles */

/* Step header: number badge + title */
.guide-step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--cyan);
}

/* Prerequisite cards */
.guide-prereq {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px 20px;
}

.guide-prereq .icon-card {
  font-size: 20px;
  color: var(--cyan);
  flex-shrink: 0;
}

.guide-prereq-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-prereq-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.guide-prereq-desc {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-dim);
}

/* Code blocks */
.guide-code {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  position: relative;
}

.guide-code .copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.guide-code:hover .copy-btn {
  opacity: 1;
}

.guide-code .copy-btn:hover {
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.1);
}

.guide-code .copy-btn.copied {
  color: var(--cyan);
  opacity: 1;
}

.guide-code .copy-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: none) {
  .guide-code .copy-btn {
    opacity: 1;
  }
}

.guide-code pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: #E2E8F0;
  white-space: pre;
}

.guide-code .comment {
  color: var(--text-dim);
}

/* OS tabs */
.guide-os-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-os-tab {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: background 0.2s, color 0.2s;
}

.guide-os-tab.active {
  background: var(--cyan);
  color: var(--bg-dark);
  font-weight: 600;
}

.guide-os-content {
  display: none;
}

.guide-os-content.active {
  display: block;
}

/* Tip / Note boxes */
.guide-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-header);
  border-radius: 6px;
  padding: 12px 16px;
}

.guide-tip i {
  font-size: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-tip p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.guide-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-header);
  border-radius: 6px;
  padding: 12px 16px;
}

.guide-note i {
  font-size: 16px;
  color: var(--text-dim);
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-note p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Recommended badge */
.guide-recommend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--bg-header);
  border: 1px solid var(--cyan);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  width: fit-content;
}

.guide-recommend i {
  font-size: 14px;
}

/* Benefits grid */
.guide-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.guide-benefit-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
}

.guide-benefit-card i {
  font-size: 20px;
  color: var(--cyan);
}

.guide-benefit-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Next steps cards */
.guide-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.guide-next-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
}

.guide-next-card i {
  font-size: 20px;
  color: var(--cyan);
}

.guide-next-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.guide-next-card p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-dim);
}

/* Screenshot in guide */
.guide-screenshot {
  max-width: 280px;
}

.guide-screenshot img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #334155;
}

/* Sub-section title */
.guide-sub-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* Section description */
.guide-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .guide-benefits {
    grid-template-columns: 1fr;
  }

  .guide-next-grid {
    grid-template-columns: 1fr;
  }

  .guide-code {
    padding: 16px;
  }

  .guide-code pre {
    font-size: 12px;
  }

  .guide-step-title {
    font-size: 18px;
  }
}
