/* AlCashLabs Software Manager — frontend (v1.2.0, light professional) */

/* ---------- Cards grid ---------- */
.alc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.alc-card {
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.alc-card:hover {
  transform: translateY(-5px);
  border-color: #ffc46b;
  box-shadow: 0 18px 44px rgba(16,21,29,.10);
}
.alc-card-img { display: block; background: #0e0e11; aspect-ratio: 16 / 9; overflow: hidden; }
.alc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.alc-card:hover .alc-card-img img { transform: scale(1.04); }
.alc-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.alc-card-body h3 { margin: 0; font-size: 18px; color: #10151d; }
.alc-card-body p { margin: 0; color: #5d6675; font-size: 14.5px; line-height: 1.6; flex: 1; }
.alc-badge {
  align-self: flex-start;
  font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.alc-badge.paid { background: linear-gradient(135deg, #ffc233, #ff8a1f 55%, #ff6a00); color: #fff; }
.alc-badge.free { background: #e8f7ee; color: #1faa53; }
.alc-card-link { color: #d96c00; font-weight: 700; font-size: 14.5px; margin-top: 6px; }
.alc-card:hover .alc-card-link { color: #ff8a00; }

/* ---------- Single product page ---------- */
.alc-sp { max-width: 1180px; margin: 0 auto; padding: 36px 20px 90px; }
.alc-sp-crumb { font-size: 13.5px; color: #8a93a3; margin-bottom: 22px; }
.alc-sp-crumb a { color: #8a93a3; text-decoration: none; }
.alc-sp-crumb a:hover { color: #d96c00; }
.alc-sp-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }

.alc-sp-banner {
  border: 1px solid #e7eaf0; border-radius: 20px; overflow: hidden;
  background: #0e0e11; box-shadow: 0 18px 50px rgba(16,21,29,.10); margin-bottom: 26px;
}
.alc-sp-banner img { width: 100%; height: auto; display: block; }

.alc-sp-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.alc-sp-title h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.8px; }

.alc-sp-tabs { display: flex; gap: 8px; border-bottom: 2px solid #eef1f6; margin-bottom: 24px; }
.alc-sp-tab {
  background: none; border: none; padding: 14px 6px; margin-right: 22px; margin-bottom: -2px;
  font-size: 15.5px; font-weight: 700; color: #8a93a3; cursor: pointer; border-bottom: 2.5px solid transparent;
}
.alc-sp-tab:hover { color: #10151d; }
.alc-sp-tab.active { color: #d96c00; border-bottom-color: #ff8a00; }
/* Theme gives every button a dark hover/focus background — keep tabs clean in all states */
.alc-sp-tabs .alc-sp-tab,
.alc-sp-tabs .alc-sp-tab:hover,
.alc-sp-tabs .alc-sp-tab:focus,
.alc-sp-tabs .alc-sp-tab:active {
  background: none;
  background-color: transparent;
  box-shadow: none;
}
.alc-sp-tabs .alc-sp-tab:hover { color: #10151d; }
.alc-sp-tabs .alc-sp-tab.active,
.alc-sp-tabs .alc-sp-tab.active:hover,
.alc-sp-tabs .alc-sp-tab.active:focus {
  color: #d96c00;
  border-bottom-color: #ff8a00;
  background: none;
  background-color: transparent;
}
.alc-sp-panel { display: none; }
.alc-sp-panel.active { display: block; }
.alc-sp-panel .alc-sp-content { color: #3c4350; font-size: 16.5px; line-height: 1.75; }
.alc-sp-panel .alc-sp-content p { margin: 0 0 16px; }
.alc-sp-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 16px; overflow: hidden; border: 1px solid #e7eaf0; box-shadow: 0 10px 30px rgba(16,21,29,.08); }
.alc-sp-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.alc-sp-novideo { background: #f6f7f9; border: 1px dashed #dfe3ea; border-radius: 14px; padding: 34px; text-align: center; color: #8a93a3; }

/* Multiple self-hosted instruction videos */
.alc-sp-vid { margin-bottom: 30px; }
.alc-sp-vid:last-child { margin-bottom: 0; }
.alc-sp-vid-title { margin: 0 0 12px; font-size: 18px; color: #10151d; }
.alc-sp-vid-wrap { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #e7eaf0; box-shadow: 0 10px 30px rgba(16,21,29,.08); background: #000; }
.alc-sp-vid-wrap video { display: block; width: 100%; aspect-ratio: 16/9; background: #000; }
.alc-sp-latest {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: linear-gradient(135deg, #ff9d00, #ff6a00); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 14px rgba(255,106,0,.45);
}

/* Features (mind-map images) gallery */
.alc-sp-features { display: flex; flex-direction: column; gap: 22px; }
.alc-sp-feat { display: block; border-radius: 16px; overflow: hidden; border: 1px solid #e7eaf0; box-shadow: 0 10px 30px rgba(16,21,29,.08); transition: transform .2s ease, box-shadow .2s ease; }
.alc-sp-feat:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,21,29,.14); }
.alc-sp-feat img { display: block; width: 100%; height: auto; }
.alc-sp-feat-hint { margin: 16px 0 0; font-size: 13px; color: #8a93a3; text-align: center; }

.alc-sp-updates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.alc-sp-updates li { border-left: 2.5px solid #ffd9a0; padding: 0 0 22px 22px; margin-left: 8px; position: relative; }
.alc-sp-updates li::before {
  content: ""; position: absolute; left: -8px; top: 4px; width: 13px; height: 13px;
  border-radius: 50%; background: linear-gradient(135deg, #ffc233, #ff6a00); border: 2.5px solid #fff;
  box-shadow: 0 0 0 2px #ffd9a0;
}
.alc-sp-updates .ver { font-weight: 800; color: #10151d; font-size: 15.5px; }
.alc-sp-updates .date { color: #8a93a3; font-size: 13px; margin-left: 8px; }
.alc-sp-updates .note { color: #5d6675; font-size: 14.5px; margin-top: 4px; line-height: 1.6; }

/* Blinking NEW badge on the Updates tab (shows when latest update is fresh) */
.alc-sp-newbadge {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #ff9d00, #ff6a00); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  vertical-align: 2px; animation: alc-blink 1.1s ease-in-out infinite;
}
@keyframes alc-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Buy box */
.alc-sp-buy {
  background: #fff; border: 1px solid #e7eaf0; border-radius: 20px; padding: 28px;
  box-shadow: 0 18px 50px rgba(16,21,29,.10); position: sticky; top: 96px;
}
.alc-sp-buy h3 { margin: 0 0 4px; font-size: 18px; }
.alc-sp-buy .alc-sp-secure { font-size: 13px; color: #8a93a3; margin-bottom: 18px; }
.alc-plan {
  border: 1.5px solid #e7eaf0; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.alc-plan:first-of-type { border-color: #ffc46b; background: #fffdf8; }
.alc-plan .pname { font-weight: 700; font-size: 15px; color: #10151d; }
.alc-plan .pprice { font-weight: 800; font-size: 19px; color: #d96c00; }
.alc-sp-free { background: #e8f7ee; color: #1faa53; font-weight: 800; text-align: center; border-radius: 14px; padding: 16px; margin-bottom: 14px; font-size: 17px; }
.alc-sp-buybtn {
  display: block; text-align: center; background: linear-gradient(135deg, #ffc233, #ff8a1f 55%, #ff6a00);
  color: #fff !important; font-weight: 800; font-size: 16.5px; padding: 15px; border-radius: 12px;
  text-decoration: none !important; margin-bottom: 10px; box-shadow: 0 8px 22px rgba(255,138,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.alc-sp-buybtn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,138,0,.45); }
.alc-sp-wabtn {
  display: block; text-align: center; background: #1faa53; color: #fff !important;
  font-weight: 700; font-size: 15.5px; padding: 13px; border-radius: 12px;
  text-decoration: none !important; transition: transform .15s ease;
}
.alc-sp-wabtn:hover { transform: translateY(-2px); background: #178a43; }
.alc-sp-buy-note { font-size: 13px; color: #8a93a3; text-align: center; margin: 14px 0 0; line-height: 1.5; }

/* ---------- Archive ---------- */
.alc-archive { max-width: 1180px; margin: 0 auto; padding: 56px 20px 90px; }
.alc-archive h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -.5px; margin: 0 0 8px; text-align: center; }
.alc-archive .alc-sec-sub { text-align: center; color: #5d6675; margin: 0 0 40px; font-size: 16.5px; }

@media (max-width: 960px) {
  .alc-sp-layout { grid-template-columns: 1fr; }
  .alc-sp-buy { position: static; }
}
