/* ---------- Premium Product Cards ---------- */
.product-cards-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: fixed;
  margin-top: 40px;
}

/* Card base */
.product-card {
  position: relative;
  width: 255px;
  padding: 28px 20px 20px;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #555, #222);
}

/* Gradient per tier */
.product-card.bronze { background: linear-gradient(135deg, #1a124981, #273b25); }
.product-card.silver { background: linear-gradient(135deg, #1a124981, #3c3c3c); color: #ffffff; }
.product-card.gold   { background: linear-gradient(135deg, #1a124981, #534700); color: #ffffff; }

/* Card hover effect */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

/* Ribbon */
.ribbon {
  position: absolute;
  top: 12px;
  left: -20px;
  background: #29395c;
  color: #fff;
  font-weight: 600;
  padding: 6px 24px;
  transform: rotate(-45deg);
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.ribbon.best-value { background: #4b7153; }

/* Icon */
.icon {
  font-size: 48px;
  margin-bottom: 8px;
}

/* Heading */
.product-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

/* Description */
.product-card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Feature list */
.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.product-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.product-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
}

/* Buttons */
.product-button {
  margin-top: auto;
  padding: 12px 22px;
  border-radius: 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
.product-button:hover {
  background: rgba(0,0,0,1);
  transform: translateY(-2px);
}

/* Responsive */
@media(max-width: 768px){
  .product-cards-container { flex-direction: column; align-items: center; }
  .product-card { width: 80%; max-width: 300px; }
}
/* ---------- Price Display ---------- */
.price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 12px;
}

/* ---------- Toggle Switch ---------- */
.plan-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 24px;
  gap: 12px;
  font-weight: bold;
  color: #f5f3f3;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}
