/* layout / grid */
#pricing {
  padding-bottom: 20px;
}
.container-xl {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* header */
#pricing .section-header {
  margin-bottom: 64px;
  text-align: center;
}
#pricing .section-title {
  margin-top: 16px;
  font-size: 2.25rem;
  font-weight: 800;
  color: #000;
  line-height: 1.1;
  margin-bottom: 8px;
}
#pricing .section-sub {
  margin-top: 16px;
  font-size: 1.125rem;
  color: #9ca3af;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* responsive grid */
#pricing .plans-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(1, 1fr);
  align-items: start;
}
@media (min-width: 640px) {
  #pricing .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #pricing .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* plan wrapper and overlay */
.plan-wrap {
  position: relative;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  filter: blur(6px);
  transition: opacity 0.3s ease;
  pointer-events: none;
  opacity: 0.5;
}
/* default blue overlay, individual plans can override with inline style or extra class */
.bg-overlay.blue {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2),
    rgba(30, 58, 138, 0.2)
  );
}
.bg-overlay.green {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08),
    rgba(6, 95, 70, 0.08)
  );
}
.bg-overlay.orange {
  background: linear-gradient(
    135deg,
    rgba(234, 88, 12, 0.1),
    rgba(153, 27, 27, 0.08)
  );
}

/* card */
.plan-card {
  position: relative;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid #2563eb; /* slim border */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12);
}
.plan-wrap:hover .bg-overlay {
  opacity: 0.85;
}

/* header inside card */
.plan-card .plan-head {
  text-align: center;
  margin-bottom: 20px;
}
.plan-card .plan-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.plan-card .plan-rate {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2944b5;
  margin-top: 14px;
  line-height: 1;
}
.plan-card .plan-interval {
  color: #333;
  font-size: 0.875rem;
  margin-top: 6px;
}

/* feature list */
.plan-card .features {
  margin: 0 0 18px 0;
  padding: 0;
  list-style: none;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.6;
}
.plan-card .features li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.plan-card .features li i {
  margin-right: 8px;
  color: #2944b5;
}

/* min/max row */
.plan-card .min-max {
  border-top: 1px solid rgba(156, 163, 175, 0.35);
  padding-top: 12px;
  color: #000;
  font-weight: 600;
  margin-top: 12px;
}

/* CTA */
.plan-card .cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.plan-card .cta:hover {
  background: #1e4fcf;
}

/* small helpers */
.icon-primary {
  color: #2944b5;
}
