/* ==========================================================
   Pricing
   ========================================================== */

.pricing-wrap {
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: clamp(28px, 6vw, 64px) 16px;
  background: #ffffff;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin: 0 auto clamp(16px, 3vw, 28px);
  max-width: 900px;
}

.pricing-title {
  font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.1;
  color: #111827;
  margin: 0 0 6px;
}

.pricing-sub {
  color: #4b5563;
  font-weight: 700;
  font-size: clamp(14px, 2.6vw, 18px);
  margin: 0 0 12px;
}

.pricing-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #9a5b2c;
  background: #fff3ea;
  box-shadow: inset 0 0 0 1px rgba(242, 161, 115, 0.35);
}

.chip svg {
  width: 12px;
  height: 12px;
  color: #f2a173;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.toggle-label {
  font-weight: 700;
  color: #6b7280;
  font-size: 14px;
}

.switch {
  position: relative;
  width: 64px;
  height: 32px;
  background: linear-gradient(180deg, #cfc9ff 0%, #a99fff 100%);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(125, 101, 253, 0.35);
}

.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transform: translateX(33px);
}

.save-note {
  font-size: 12px;
  font-weight: 800;
  color: #7d65fd;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 24px);
  margin-top: clamp(18px, 3vw, 26px);
}

.plan-card {
  background: #ffffff;
  border-radius: 18px;
  padding: clamp(16px, 2.6vw, 22px);
  box-shadow: 0 24px 40px rgba(17, 24, 39, 0.08),
              0 10px 22px rgba(125, 101, 253, 0.12);
}

.plan-title {
  font-weight: 800;
  color: #111827;
  font-size: 18px;
  margin: 2px 0 2px;
}

.plan-sub {
  color: #7a7e87;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
}

.price {
  font-weight: 900;
  color: #111827;
  font-size: clamp(26px, 4.2vw, 34px);
  margin: 0 0 6px;
}

.price small {
  font-weight: 800;
  color: #6b7280;
  font-size: 14px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px 0;
  display: grid;
  gap: 8px;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1f2937;
  font-size: 14px;
}

.icon-check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7d65fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(125, 101, 253, 0.25);
}

.icon-check svg {
  width: 10px;
  height: 10px;
  color: #fff;
}

.plan-cta {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.btn-plan {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(180deg, #8f94fb 0%, #7d65fd 100%);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(125, 101, 253, 0.35);
}

.btn-plan:hover {
  filter: brightness(0.98);
}

.pricing-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  justify-items: center;
}

.btn-plan-outline {
  background: transparent;
  color: #7d65fd;
  border: 2px solid #7d65fd;
  box-shadow: none;
}

.btn-plan-outline:hover {
  background: rgba(125, 101, 253, 0.08);
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-buttons {
    grid-template-columns: 1fr;
  }

  .switch .knob {
    transform: translateX(29px);
  }
}
