/* Tambahan animasi dasar dan responsif */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8fbff;
  margin: 0;
  padding: 0;
  animation: fadeIn 1s ease-in;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.heading {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
  animation: slideDown 0.8s ease-out;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

.icon {
  margin-bottom: 15px;
  width: 50px;
}

.sub {
  color: orange;
  font-weight: bold;
  margin-top: 0;
}

.price {
  color: #1e40af;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.features li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.btn {
  background-color: #1d4ed8;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #2563eb;
  transform: scale(1.05);
}

.footer {
  margin-top: 40px;
  font-size: 0.85rem;
  color: #666;
}

/* Animations */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
