.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--primary);
}

/* ── Body ───────────────────────────────────────────── */
.software-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 720px) {
  .software-body {
    grid-template-columns: 1fr;
  }
}

.software-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.software-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.software-icon-lg {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.software-icon-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.software-icon-lg .icon-fallback {
  font-size: 2.8rem;
}

.software-header-info {
  flex: 1;
  min-width: 200px;
}

.software-header-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.4rem;
}

.software-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 0;
}

.section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.description-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

/* ── Sidebar ────────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

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

.info-row .label {
  color: var(--text-muted);
}

.info-row .value {
  color: var(--cream);
  font-weight: 500;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--primary-dim);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-glow);
}

.download-card .section-title {
  border-color: var(--primary-dim);
}

.download-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.download-card .btn:last-child {
  margin-bottom: 0;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
