/* ============================ PLANS ============================ */
.plans {
  background: var(--bg-secondary);
  padding: clamp(20px, 3vw, 25px);
}

.plans__head {
  max-width: 620px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}

.plans__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 36px) clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
  box-shadow: 20px 5px 40px rgba(0, 5, 1, 0.356);
}

.plans__card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.plans__card--featured {
  background: linear-gradient(
    170deg,
    rgba(34, 197, 94, 0.1),
    rgba(34, 197, 94, 0.015)
  );
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 30px 5px 30px rgba(0, 5, 1, 0.356);
  /*box-shadow: 10px 20px 60px rgba(34, 197, 94, 0.08);*/
}

.plans__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--brand);
  color: #062b13;
  white-space: nowrap;
}

.plans__name {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plans__ideal {
  margin-top: 6px;
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: var(--text-muted);
}

.plans__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: clamp(18px, 3vw, 26px);
  margin-block: clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plans__price-value {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.plans__price-unit {
  font-size: clamp(0.75rem, 1vw, 0.82rem);
  color: var(--text-dim);
}

.plans__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plans__features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.plans__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.plans__cta {
  width: 100%;
  position: unset;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
    margin-inline: auto;
  }
  .plans__card--featured {
    order: -1;
  }
}

@media (max-width: 680px) {
  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .plans__card--featured {
    order: -1;
  }
}

@media (min-width: 1440px) {
  .plans__grid {
    gap: 28px;
  }
  .plans__card {
    padding: 40px 36px;
  }
  .plans__price-value {
    font-size: 2.8rem;
  }
}

@media (min-width: 1920px) {
  .plans__grid {
    max-width: 1400px;
    margin-inline: auto;
    gap: 32px;
  }
}
