/* Local software overlay — Lock File + homepage card */
body.lf-soft-open { overflow: hidden; }
.lf-soft-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(20, 18, 28, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lf-soft-overlay.hidden { display: none; }
.lf-soft-panel {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  position: relative;
}
.lf-soft-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 4px 8px;
}
.lf-soft-close:hover { color: #333; }
.lf-soft-heading {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: #3d2860;
  font-weight: 800;
  padding-right: 28px;
}
.lf-soft-platforms { display: flex; flex-direction: column; gap: 10px; }
.lf-soft-plat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 2px solid #e0dce8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #3d2860;
  background: #faf9fc;
  cursor: pointer;
  text-align: left;
}
.lf-soft-plat:hover:not(:disabled) { border-color: #a693ef; background: #f6f4fb; }
.lf-soft-plat i { color: #6a5acd; font-size: 0.85rem; }
.lf-soft-plat:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  color: #888;
}
.lf-soft-plat-soon {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b07820;
  background: #fff3e0;
  padding: 4px 8px;
  border-radius: 999px;
}
.lf-soft-download-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 16px;
  padding: 20px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #3d2860 0%, #5a3d8a 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 24px rgba(61, 40, 96, 0.35);
  cursor: pointer;
  line-height: 1.35;
}
.lf-soft-download-hero:hover { filter: brightness(1.08); color: #fff; }
.lf-soft-download-hero i { font-size: 1.35rem; }
.lf-soft-download-meta {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 14px;
}
.lf-soft-download-meta p { margin: 0 0 8px; }
.lf-soft-file { color: #3d2860; font-weight: 600; }
.lf-soft-back {
  border: 1px solid #ccc;
  background: #fff;
  color: #555;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.lf-soft-back:hover { background: #f5f5f5; }
.lf-soft-step.hidden { display: none; }

/* Lock File page button */
.lf-local-soft-wrap { margin: 0 0 16px; }
.lf-btn--local-soft {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 0.95rem;
  border-color: #3d2860;
  color: #3d2860;
  background: linear-gradient(180deg, #f8f6ff 0%, #ebe6f8 100%);
}
.lf-btn--local-soft:hover { background: #e8e2f8; }

/* Homepage Lock File card */
.home-quick-card--with-soft {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  gap: 4px !important;
  padding-bottom: 8px !important;
}
.home-quick-card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}
.home-quick-soft-btn {
  grid-row: 4;
  display: block;
  box-sizing: border-box;
  width: calc(100% - 4px);
  margin: 4px auto 0;
  padding: 7px 8px;
  border: 1px solid rgba(61, 40, 96, 0.35);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8f6ff 0%, #ebe6f8 100%);
  color: #3d2860;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.home-quick-soft-btn:hover {
  background: #e8e2f8;
  border-color: #a693ef;
}
