/* ============================================================
   Plugin Cards — Unified Next-Gen 2026
   Prefix: plg-
   ============================================================ */

.plgGrid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
  width: calc(100% + 24px);
}

.plgCol {
  width: 33.333%;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
}

@media (max-width: 991px) { .plgCol { width: 50%; } }
@media (max-width: 600px) { .plgCol { width: 100%; } }

/* CARD */
.plgCard {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 8px 32px rgba(30,45,61,0.10),
    0 2px 8px rgba(30,45,61,0.06);
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition:
    transform 0.28s cubic-bezier(.4,0,.2,1),
    box-shadow 0.28s cubic-bezier(.4,0,.2,1),
    border-color 0.28s cubic-bezier(.4,0,.2,1);
}

.plgCard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
  z-index: 0;
}

.plgCard:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 20px 60px rgba(82,186,197,0.18),
    0 8px 24px rgba(30,45,61,0.12);
  border-color: rgba(82,186,197,0.45);
}

/* HEADER */
.plgCardHeader {
  position: relative;
  background: linear-gradient(135deg, #1a2744 0%, #0f1720 100%);
  border-radius: 20px 20px 0 0;
  padding: 22px 130px 22px 24px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  overflow: visible;
}

.plgCardHeader::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #52bac5, #0d838d, transparent);
}

.plgCardHeader::before {
  content: '';
  position: absolute;
  right: 16px; top: -10px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,186,197,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.plgCardName {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -.015em;
  display: block;
  margin-bottom: 2px;
}
.plgCardName:hover { color: #a0eaf3; }

.plgCardMeta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}
.plgCardMetaItem {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.plgCardMetaItem svg { width: 12px; height: 12px; flex-shrink: 0; }
.plgCardMetaStar { color: #fbbf24; }
.plgCardMetaStar svg { color: #fbbf24; }

.plgCardIcon {
  position: absolute;
  right: 16px;
  bottom: -20px;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.28),
    0 2px 8px rgba(82,186,197,0.2);
  display: block;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}
.plgCard:hover .plgCardIcon {
  transform: translateY(-4px) rotate(-2deg);
}

/* BODY */
.plgCardBody {
  position: relative;
  z-index: 1;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.plgCardDesc {
  font-size: 13.5px;
  color: #4a6078;
  line-height: 1.68;
  font-weight: 400;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* BUTTONS */
.plgCardBtns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.plgBtnDownload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #52bac5 0%, #0d838d 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 0 4px 14px rgba(82,186,197,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.plgBtnDownload:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(82,186,197,0.5);
}
.plgBtnDownload svg { width: 13px; height: 13px; flex-shrink: 0; }

.plgBtnBuy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #1a2744 0%, #2e3e58 100%);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 0 4px 14px rgba(30,45,61,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s;
  white-space: nowrap;
}
.plgBtnBuy:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(30,45,61,0.35);
}
.plgBtnBuy svg { width: 13px; height: 13px; flex-shrink: 0; }

.plgBtnMore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(82,186,197,0.1);
  color: #0d838d;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.plgBtnMore:hover { background: rgba(82,186,197,0.2); color: #0a6b74; }

/* RESPONSIVE */
@media (max-width: 1200px) { .plgCardName { font-size: 18px; } }
@media (max-width: 767px) {
  .plgCardHeader { padding: 18px 110px 18px 18px; min-height: 80px; }
  .plgCardIcon { width: 80px; height: 80px; border-radius: 13px; }
  .plgCardName { font-size: 17px; }
  .plgCardBody { padding: 26px 16px 16px; }
}
