/* Pricing page — sits on landing.css */

.pricing-page {
  padding-top: 64px;
}

.pricing-hero {
  padding: 64px 0 8px;
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(199, 210, 254, 0.8);
  border-radius: 999px;
  background: var(--px-primary-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--px-indigo-950);
}

.pricing-eyebrow span {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--px-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-page .section {
  padding: 48px 0 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: var(--px-shadow-card);
}

.plan-featured {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.28), var(--px-shadow-card);
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.08) 0%, transparent 70%),
    #fff;
}

.plan-soon {
  background: #fff;
}

.plan-featured .plan-head,
.plan-soon .plan-head {
  padding-right: 72px;
}

.plan-head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--px-slate-900);
}

.plan-price {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--px-slate-900);
  line-height: 1.15;
}

.plan-price span:not(.plan-price-now) {
  margin-left: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--px-slate-600);
}

.plan-price .plan-price-now {
  font-size: 22px;
  font-weight: 800;
  color: var(--px-slate-900);
}

.plan-price-was {
  font-size: 13px;
  font-weight: 600;
  color: var(--px-slate-400);
  text-decoration: line-through;
}

.plan-price-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--px-slate-600);
}

.plan-head p.plan-vat,
.plan-head p.plan-promo {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--px-slate-600);
}

.plan-head p.plan-promo {
  color: var(--px-primary);
}

.plan-head p:not(.plan-price) {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--px-slate-600);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--px-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plan-badge-soon {
  background: var(--px-slate-100);
  color: var(--px-slate-600);
}

.plan-facts {
  margin: 20px 0 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--px-slate-100);
  border-radius: 12px;
}

.plan-featured .plan-facts {
  background: rgba(79, 70, 229, 0.08);
}

.plan-facts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}

.plan-facts dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--px-slate-600);
  flex-shrink: 0;
}

.plan-facts dd {
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  line-height: 1.35;
  color: var(--px-slate-900);
}

.plan-features {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-head + .plan-features {
  margin-top: 24px;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--px-slate-800);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--px-primary);
  border-bottom: 2px solid var(--px-primary);
  transform: rotate(-45deg);
}

.plan-cta {
  width: 100%;
}

.pricing-faq {
  padding-top: 8px;
  background: var(--px-canvas);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 4px 20px 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: var(--px-shadow-card);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 8px 0;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--px-slate-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--px-slate-400);
  border-bottom: 2px solid var(--px-slate-400);
  transform: rotate(45deg);
}

.faq-item[open] summary::after {
  top: 26px;
  transform: rotate(-135deg);
}

.faq-item p {
  margin: 0;
  padding-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--px-slate-600);
}

.nav-links > li > a[aria-current="page"] {
  color: var(--px-slate-900);
  background: var(--px-primary-light);
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pricing-hero {
    padding: 40px 0 8px;
  }

  .pricing-page .section {
    padding: 36px 0 64px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
