/* ===============================
   PRICING WRAPPER
================================ */
.pricing-wrapper {
  display: flex;
  gap: 30px;
  padding: 40px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap; /* 🔑 FIX mobile issue */
}

/* ===============================
   PRICE CARD
================================ */
.price-card {
  position: relative;
  width: 300px;
  max-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(42, 167, 223, 0.2);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Gradient overlay */
.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2aa7df, #1b7fb6);
  opacity: 0;
  transition: 0.4s;
  z-index: 0;
}

.price-card:hover::before {
  opacity: 1;
}

/* Hover effect */
.price-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 40px 80px rgba(42, 167, 223, 0.4);
}

.price-card * {
  position: relative;
  z-index: 1;
}

/* ===============================
   CARD CONTENT
================================ */
.price-card h3 {
  font-size: 22px;
  color: #1b7fb6;
  margin-bottom: 15px;
}

.price {
  font-size: 40px;
  font-weight: bold;
  color: #2aa7df;
  margin-bottom: 20px;
}

/* Feature list */
.price-card ul {
  list-style: none;
  margin-bottom: 25px;
  padding: 0;
}

.price-card ul li {
  margin: 12px 0;
  color: #555;
}

/* Button */
.price-card button {
  padding: 14px 35px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #2aa7df, #1b7fb6);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.4s;
  width: 100%; /* mobile friendly */
}

.price-card button:hover {
  background: #fff;
  color: #1b7fb6;
}

/* Hover text color */
.price-card:hover h3,
.price-card:hover .price,
.price-card:hover ul li {
  color: #fff;
}

/* ===============================
   BADGE
================================ */
.badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: #ffcc00;
  color: #000;
  padding: 5px 45px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

/* ===============================
   ACTIVE CARD FLOAT
================================ */
.active {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================ */

/* TABLET */
@media (max-width: 1024px) {
  .pricing-wrapper {
    padding: 30px 20px;
    gap: 25px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .pricing-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
  }

  .price-card {
    width: 100%;
    max-width: 360px;
  }

  .price-card:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .price-card {
    padding: 30px 20px;
  }

  .price {
    font-size: 32px;
  }

  .badge {
    right: -32px;
    font-size: 11px;
  }
}
