/* ─── GRID CARDS DESIGN SYSTEM — CYBERRY SHOP PLUGINS ─── */

/* ── Product Cards ── */
.product-card {
  background: #FFFFFF;
  border: 1px solid #E5E5F0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  height: 100%;
}

/* Spotlight hover glow */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(123, 63, 228, 0.06), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover::after { opacity: 1; }

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(123, 63, 228, 0.15);
  border-color: rgba(123, 63, 228, 0.2);
}

/* Card Banners */
.card-banner {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-purple {
  background: linear-gradient(135deg, #1A0E35 0%, #2D1260 60%, #1A0E35 100%);
}

.banner-blue {
  background: linear-gradient(135deg, #0C1628 0%, #172554 60%, #0C1628 100%);
}

.banner-green {
  background: linear-gradient(135deg, #061A12 0%, #064E3B 60%, #061A12 100%);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}

/* Banner Visuals */
.card-banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Map dots visual */
.banner-map-dots { position: relative; width: 100%; height: 100%; }

.bmd {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.bmd::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
}

.bmd-1 { top: 35%; left: 30%; }
.bmd-2 { top: 55%; left: 60%; background: rgba(96, 165, 250, 0.3); }
.bmd-3 { top: 25%; left: 65%; background: rgba(52, 211, 153, 0.3); }

.banner-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  filter: drop-shadow(0 4px 12px rgba(123, 63, 228, 0.6));
}

/* Terminal lines visual */
.banner-terminal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  width: 100%;
}

.bt-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.bt-line-green { background: rgba(52, 211, 153, 0.4) !important; }

/* Chart visual */
.banner-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 0 28px;
  width: 100%;
}

.bc-bar {
  flex: 1;
  background: rgba(123, 63, 228, 0.6);
  border-radius: 4px 4px 0 0;
}

/* DB visual */
.banner-db {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.db-cylinder {
  width: 64px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.6);
  background: rgba(52, 211, 153, 0.1);
}

.db-line {
  width: 72px;
  height: 2px;
  background: rgba(52, 211, 153, 0.4);
  border-radius: 1px;
}

.db-line.short { width: 50px; opacity: 0.6; }

/* Card Body */
.card-body {
  padding: 28px 24px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 14px;
  width: fit-content;
}

.audience-tag.nocode {
  background: #E6FBF3;
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.audience-tag.dev {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.product-card h3 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111118;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card > .card-body > p {
  font-size: 14px;
  color: #4E4E5A;
  margin-bottom: 18px;
  line-height: 1.65;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #4E4E5A;
  line-height: 1.4;
}

.card-features svg { stroke: #7B3FE4; flex-shrink: 0; margin-top: 1px; }

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #E5E5F0;
  padding-top: 18px;
  margin-top: auto;
}

.price-box { display: flex; flex-direction: column; }

.price-label {
  font-size: 10px;
  color: #838392;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.price-value {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #111118;
  letter-spacing: -0.5px;
}

.card-action-btn {
  background: #EDE9FF;
  color: #7B3FE4;
  border: 1px solid rgba(123, 63, 228, 0.2);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.card-action-btn:hover {
  background: #7B3FE4;
  color: white;
  border-color: #7B3FE4;
  box-shadow: 0 6px 20px rgba(123, 63, 228, 0.15);
  transform: translateY(-1px);
}