/* ======================================================
   PRICING — 
====================================================== */
.pricing {
  padding: 5rem 1rem 7rem;
  position: relative;
  background: linear-gradient(
    180deg,
    var(--color-blue-grey-900) 0%,
    #0d1315 50%,
    var(--color-blue-grey-900) 100%
  );
}

/* GLOW BACKGROUND */
.pricing::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(86, 133, 160, 0.35),
    transparent 70%
  );
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

/* ======================================================
   HEADER
====================================================== */
.pricing-header__title {
  color: var(--blue-grey-50);
  max-width: 80%;
  text-align: center;
  margin: auto;
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.pricing-header__desc {
  color: var(--blue-grey-50);
  max-width: 80%;
  margin: auto;
  padding-bottom: 3rem;
  font-size: 1.05rem;
  opacity: 0.85;
  text-align: center;
}

/* ======================================================
   GRID
====================================================== */
.pricing__grid {
  padding: 0 3rem;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  position: relative;
  z-index: 2;
}

/* ======================================================
   PRICING CARD (compact)
====================================================== */
.pricing-card {
  background: rgba(21, 29, 32, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);

  padding: 1.8rem;
  display: flex;
  flex-direction: column;

  color: var(--blue-grey-50);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);

  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* HOVER PREMIUM */
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45);
}

/* ======================================================
   LABEL
====================================================== */
.pricing-card__label {
  background: linear-gradient(
    90deg,
    var(--color-dark-blue),
    var(--color-light-blue)
  );
  color: var(--color-white);
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  border-radius: 10px;
  width: fit-content;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  box-shadow: 0 0 18px rgba(86, 133, 160, 0.3);
}

/* ======================================================
   TEXT
====================================================== */
.pricing-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.pricing-card__desc {
  opacity: 0.85;
  margin-bottom: 1rem;
  color: var(--blue-grey-50);
  font-size: 0.92rem;
}

.pricing-card__price {
  color: var(--color-light-blue);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.3rem;
}

/* ======================================================
   ACCORDION (JS-controlled)
====================================================== */

.pricing-acc {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 0;
  color: var(--blue-grey-50);
}

/* SUMMARY (clickable row) */
.pricing-acc__summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.3rem 0;

  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  color: var(--blue-grey-50);
  position: relative;
}

/* DROPDOWN ICON */
.pricing-acc__summary::after {
  content: "▾";
  font-size: 1rem;
  color: var(--color-light-blue);
  transition: transform 0.35s ease;
}

/* when accordion is open */
.pricing-acc.open .pricing-acc__summary::after {
  transform: rotate(180deg);
}

/* CONTENT (animated height controlled by JS) */
.pricing-acc__content {
  /* max-height: 1000px; */
  margin-top: 0.6rem;
  font-size: 0.88rem;

  overflow: hidden;
  opacity: 0;

  transition: max-height 0.45s ease, opacity 0.35s ease;
}

.pricing-acc__content p {
  color: var(--blue-grey-50);
}
/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 768px) {
  .pricing__grid {
    display: block;
    padding-top: 2rem;
  }

  .pricing-card {
    position: sticky;
    top: 1rem;
    z-index: 5;

    max-width: 450px;
    margin: auto;
    margin-bottom: 5rem;
  }

  .pricing {
    padding: 3rem 1rem 7rem;
  }
}
