* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #e4edf5);
  color: #1f2937;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  font-size: 1rem;
}

/* GRID */

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* CARD */

.package {
  background: #fff;
  border-radius: 16px;
  padding-bottom: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
  position: relative;
}

.package:hover {
  transform: translateY(-1px);
}

/* FEATURED */

.featured {
  border: 2px solid #ff3b30;
}

.badge {
  position: absolute;
  top: -12px;
  right: 15px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: bold;
}

/* HEADER */

.pkg-header {
  background: linear-gradient(45deg,#007bff,#00c6ff);
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  border-radius: 16px 16px 0 0;
}

/* BODY */

.pkg-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pkg-body h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* LIST */

.pkg-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.pkg-body li {
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
  font-size: 0.9rem;
}

.pkg-body li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* PRICE */

.price {
  text-align: center;
  margin: 15px 0;
}

.price .new {
  font-size: 1.8rem;
  font-weight: 900;
  color: #22c55e;
}

/* BONUS */

.bonus {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #f59e0b;
  font-weight: bold;
}

/* BUTTON */

.order-btn {
  display: block;
  text-align: center;
  padding: 12px;
  margin: 0 10px;
  background: linear-gradient(45deg,#ff3b30,#ff5722);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: 0.2s;
}

.order-btn:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 25px rgba(255,59,48,0.3);
}

/* MOBILE */

@media (max-width: 600px) {
  header h1 {
    font-size: 1.4rem;
  }

  .featured {
    transform: none;
  }
}

.footer { text-align: center; padding: 11px 7px; color: #718096; font-size: .91rem } .footer a { color: #007bff; text-decoration: none }

.package {
  position: relative;
}

/* ALAP BADGE */
.badge {
  position: absolute;
  top: 6px;
  right: 12px;
  transform: none;

  font-size: 0.65rem;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;

  color: #fff;
  z-index: 3;
}

/* STANDARD */
.badge-standard {
  background: #22c55e;
}

/* VIP */
.badge-vip {
  background: #ff3b30;
}

/* ELITE */
.badge-elite {
  background: #111;
}

.pkg-header {
  position: relative;
  z-index: 1;
}

.order-btn {
  position: relative;
  z-index: 9999;
  margin: 0 10px 15px;
  pointer-events: auto;
}

.pkg-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px;
}

.pkg-body ul {
  margin-bottom: 20px;
  max-height: 360px;
}

.price {
  margin-top: 10px;
}

.bonus {
  margin-bottom: 10px;
}

.package {
  padding-bottom: 20px;
}

.badge-vip {
  box-shadow: 0 0 8px rgba(255,59,48,0.4);
}
