/* ============================================================
   Pricing page — /pricing
   Layered on top of site.css + feature-page.css
   ============================================================ */

/* ============================================================
   Billing toggle — Maandelijks / Jaarlijks
   ============================================================ */
.pr-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--neutral-100);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 4px;
  width: fit-content;
  margin: 0 auto clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-xs);
}

.pr-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--r-full);
  border: none;
  background: transparent;
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  color: var(--fg-3);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.pr-toggle-btn--active {
  background: var(--bg-surface);
  color: var(--brand-navy-800);
  box-shadow: var(--shadow-sm);
}

.pr-toggle-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: color-mix(in oklch, var(--brand-orange) 15%, transparent);
  color: var(--brand-orange-700);
  font-size: var(--fs-12);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
}

.pr-toggle-btn--active .pr-toggle-badge {
  background: var(--brand-orange);
  color: #fff;
}

/* Billing visibility control */
#pr-billing-section[data-billing="monthly"] [data-billing-show="yearly"] {
  display: none;
}
#pr-billing-section[data-billing="yearly"] [data-billing-show="monthly"] {
  display: none;
}

/* Effective monthly price under yearly amount */
.pr-price__sub {
  font-size: var(--fs-13);
  color: var(--fg-3);
  margin-top: calc(var(--s-1) * -1);
  margin-bottom: var(--s-2);
  line-height: 1.4;
}

/* ============================================================
   Section wrapper
   ============================================================ */
.pr-section {
  padding-block: clamp(56px, 6vw, 88px);
}
.pr-section--alt {
  background: var(--neutral-50);
}

.pr-section__head {
  text-align: center;
  margin-bottom: clamp(40px, 4vw, 56px);
}
.pr-section__head h2 {
  font-size: clamp(1.625rem, 1rem + 2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-navy-800);
  margin-bottom: 12px;
}
.pr-section__head p {
  color: var(--fg-3);
  font-size: 1.0625rem;
  max-width: 52ch;
  margin: 0 auto;
}

/* ============================================================
   Pricing grid — 4 cards
   ============================================================ */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

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

/* ============================================================
   Pricing card
   ============================================================ */
.pr-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-sm);
}

.pr-card--featured {
  background: var(--brand-orange-50);
  border-color: var(--brand-orange);
  border-width: 2px;
  box-shadow: 0 12px 32px -8px rgba(235, 120, 14, 0.2), var(--shadow-sm);
}

/* Badge "Meest gekozen" */
.pr-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--brand-orange);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 10px -2px rgba(235, 120, 14, 0.45);
}

/* Tier name */
.pr-card__tier {
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-3);
  margin-bottom: var(--s-3);
}
.pr-card--featured .pr-card__tier {
  color: var(--brand-orange-700);
}

/* Price block */
.pr-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--s-2);
}
.pr-price__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1vw, 2.75rem);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-tight);
  color: var(--brand-navy-800);
  line-height: 1;
}
.pr-price__period {
  font-size: var(--fs-14);
  color: var(--fg-3);
  font-weight: var(--fw-regular);
  line-height: 1;
}
.pr-price__custom {
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  color: var(--brand-navy-800);
  line-height: 1.2;
}

.pr-card__fit {
  font-size: var(--fs-13);
  color: var(--fg-3);
  line-height: 1.4;
  margin-bottom: var(--s-4);
  margin-top: var(--s-2);
  padding: 5px 10px;
  background: var(--neutral-100, #f3f4f6);
  border-radius: 6px;
  display: inline-block;
}
.pr-card--featured .pr-card__fit {
  background: color-mix(in oklch, var(--brand-orange) 12%, transparent);
}

.pr-card__desc {
  font-size: var(--fs-14);
  color: var(--fg-3);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-6);
  margin-top: var(--s-1);
}

/* Divider */
.pr-card__divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: var(--s-5);
}
.pr-card--featured .pr-card__divider {
  background: color-mix(in oklch, var(--brand-orange) 25%, transparent);
}

/* Feature list */
.pr-feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.pr-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--fs-14);
  color: var(--fg-2);
  line-height: var(--lh-snug);
}
.pr-feat-list li svg {
  flex: none;
  margin-top: 2px;
  color: var(--success);
}
.pr-feat-list li b {
  font-weight: var(--fw-medium);
  color: var(--fg-1);
}

/* CTA button */
.pr-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   Feature blocks — Chat / Kennisbank / Incubator
   ============================================================ */
.pr-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .pr-features {
    grid-template-columns: 1fr;
  }
}

.pr-feature-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
}

.pr-feature-block__ico {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--brand-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  box-shadow: 0 6px 14px -4px rgba(235, 120, 14, 0.4);
  font-size: 22px;
  line-height: 1;
}

.pr-feature-block h3 {
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  color: var(--brand-navy-800);
  margin-bottom: var(--s-2);
}

.pr-feature-block p {
  font-size: var(--fs-15);
  color: var(--fg-3);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* ============================================================
   Overage band
   ============================================================ */
.pr-overage {
  padding-block: clamp(28px, 3vw, 40px);
  background: var(--neutral-100);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pr-overage__inner {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  max-width: 740px;
  margin: 0 auto;
}

.pr-overage__ico {
  flex: none;
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--fg-3);
  box-shadow: var(--shadow-xs);
}

.pr-overage__text {
  font-size: var(--fs-14);
  color: var(--fg-3);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.pr-overage__text b {
  color: var(--fg-2);
  font-weight: var(--fw-medium);
}

/* ============================================================
   Meta line — excl. BTW / geen set-up / maandelijks opzegbaar
   ============================================================ */
.pr-meta {
  text-align: center;
  margin-top: clamp(20px, 2.5vw, 28px);
  font-size: var(--fs-13);
  color: var(--fg-4, var(--fg-3));
  letter-spacing: 0.01em;
}

/* ============================================================
   Tooltip icon — ⓘ naast limieten in de tier-cards
   ============================================================ */
.pr-tip {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: help;
  margin-left: 3px;
  vertical-align: middle;
  line-height: 1;
}

.pr-tip > svg {
  display: block;
  color: var(--fg-3);
  opacity: 0.45;
  transition: opacity 0.15s, color 0.15s;
}

.pr-tip:hover > svg,
.pr-tip:focus-visible > svg,
.pr-tip.is-open > svg {
  opacity: 1;
  color: var(--brand-orange);
}

.pr-tip__bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  background: var(--brand-navy-800);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  padding: 9px 12px;
  border-radius: var(--r-md);
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 100;
  white-space: normal;
  text-align: left;
}

.pr-tip:hover .pr-tip__bubble,
.pr-tip:focus-visible .pr-tip__bubble,
.pr-tip.is-open .pr-tip__bubble {
  visibility: visible;
  opacity: 1;
}

/* ============================================================
   FAQ — native <details>/<summary>
   ============================================================ */
.pr-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pr-faq__item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.pr-faq__item[open] {
  border-color: color-mix(in oklch, var(--brand-orange) 40%, transparent);
}

.pr-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-size: var(--fs-15);
  font-weight: var(--fw-medium);
  color: var(--brand-navy-800);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.pr-faq__q::-webkit-details-marker { display: none; }

.pr-faq__q::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233f497f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s ease;
}

.pr-faq__item[open] > .pr-faq__q {
  color: var(--brand-orange);
}

.pr-faq__item[open] > .pr-faq__q::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23eb780e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.pr-faq__a {
  padding: 0 20px 18px;
  font-size: var(--fs-15);
  color: var(--fg-3);
  line-height: var(--lh-relaxed);
}
