/*
 * befcrm.com — fiyatlar sayfası (W4). site.css'teki .plans / .plan / .seg / .acc üzerine yalnız sayfaya özel parçalar
 * (.pr-* kapsamında; ana sayfa fiyat özeti etkilenmez): ortalanmış başlık ve güven satırı, büyük dönem anahtarı, ek paket
 * paneli (.addons — anahtarlı kartlar + canlı özet), yükseltilmiş plan kartları (önerilen paket vurgulu; fiyat değişince
 * kısa geçiş), "Hangi paket size uygun?" listesi ve katlanan karşılaştırma tablosu (.cmp; önerilen sütun vurgulu).
 * Renkler site.css belirteçlerinden: beyaz kâğıt, mürekkep, tek vurgu (indigo); marka işareti yalnız ek paket simgesinde.
 */

/* ------------------------------------------------------------ Başlık */
.pr-head { padding-bottom: clamp(24px, 3.4vw, 44px); }
.pr-head .lead { margin-inline: auto; }
.pr-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.pr-facts li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); box-shadow: var(--sh-1);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
}
.pr-facts .ic { width: 16px; height: 16px; color: var(--accent); }

/* ------------------------------------------------------------ Dönem anahtarı */
.pr-plans .pricing-bar { flex-direction: column; justify-content: center; text-align: center; gap: 12px; margin-bottom: 24px; }
.pr-plans .pricing-bar .seg { padding: 5px; gap: 4px; border-radius: 999px; }
.pr-plans .pricing-bar .seg__btn { height: 44px; padding: 0 22px; border-radius: 999px; font-size: 1rem; }
.pr-plans .pricing-bar .seg__btn[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(15, 15, 18, .7); }
.pr-plans .pricing-bar .seg__btn[aria-checked="true"] .seg__save { background: rgba(255, 255, 255, .14); color: #a7f3c4; }
@media (max-width: 479px) {
  .pr-plans .pricing-bar .seg__btn { padding: 0 14px; font-size: var(--fs-sm); }
}

/* ------------------------------------------------------------ Ek paketler */
.addons {
  display: grid; gap: 14px; max-width: 940px; margin: 0 auto 34px;
  padding: clamp(16px, 2vw, 22px); border: 1px solid var(--line); border-radius: 22px; background: var(--bg);
  box-shadow: var(--sh-1);
}
.addons__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.addons__title { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--f-sans); font-size: 1rem; font-weight: 700; letter-spacing: -.005em; color: var(--ink); }
.addons__title .ic { width: 18px; height: 18px; color: var(--accent); }
.addons__text { font-size: var(--fs-sm); color: var(--ink-3); }
.addons__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.addon {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px 16px;
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); cursor: pointer;
  transition: border-color .2s, background-color .25s, box-shadow .3s var(--ease);
}
.addon:hover { border-color: var(--ink-4); }
.addon.is-on, .addon:has(.addon__in:checked) {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 30px -22px rgba(230, 0, 0, .6);
}
.addon:has(.addon__in:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.addon__in { position: absolute; top: 50%; right: 24px; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.addon__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-2); color: var(--ink); }
.addon__ic .ic { width: 24px; height: 24px; }
.addon--whatsapp .addon__ic { background: #e7f6ed; color: var(--wa); }
.addon.is-on .addon__ic, .addon:has(.addon__in:checked) .addon__ic { background: var(--bg); box-shadow: 0 0 0 1px var(--accent-line); }
.addon__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.addon__name { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.addon__desc { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.5; }
.addon__only { font-size: var(--fs-xs); font-weight: 650; color: var(--accent-ink); }
.addon__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon__price > span { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.addon__price b { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.addon__price small { font-size: var(--fs-xs); color: var(--ink-3); }
.addon__sw { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line-2); transition: background-color .25s var(--ease); }
.addon__sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15, 15, 18, .25); transition: transform .35s var(--ease); }
.addon__in:checked ~ .addon__sw { background: var(--accent); }
.addon__in:checked ~ .addon__sw i { transform: translateX(20px); }
@media (max-width: 639px) {
  .addon { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px; }
  .addon__ic { width: 42px; height: 42px; border-radius: 12px; }
  .addon__price { grid-column: 2; grid-row: 2; align-items: flex-start; text-align: left; }
  .addon__price > span { flex-direction: row; align-items: baseline; gap: 6px; }
  .addon__sw { grid-column: 3; grid-row: 1; }
}

.addons__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.addons__sum { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.addons__sum > .ic { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--ink-4); transition: color .2s; }
.addons__sum b { font-weight: 700; color: var(--ink); }
.addons__sum small { font-size: var(--fs-xs); color: var(--ink-3); }
.addons.has-sum .addons__sum { color: var(--ink); font-size: 1rem; }
.addons.has-sum .addons__sum > .ic { color: var(--accent); margin-top: 4px; }

/* ------------------------------------------------------------ Plan kartları */
.pr-plans .plans { gap: 20px; padding-top: 14px; }
.pr-plans .plan {
  gap: 20px; padding: clamp(24px, 2.4vw, 32px); border-radius: 22px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .2s;
}
@media (hover: hover) {
  .pr-plans .plan:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--sh-2); }
}
.pr-plans .plan--hl {
  border: 1.5px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0, var(--bg) 200px);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 36px 64px -36px rgba(230, 0, 0, .55), 0 12px 24px -16px rgba(15, 15, 18, .16);
}
@media (hover: hover) {
  .pr-plans .plan--hl:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 40px 70px -34px rgba(230, 0, 0, .6), 0 14px 28px -16px rgba(15, 15, 18, .18); }
}
@media (min-width: 1080px) {
  .pr-plans .plan--hl { transform: translateY(-10px); }
  .pr-plans .plan--hl:hover { transform: translateY(-14px); }
}
.pr-plans .plan__flag {
  top: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(230, 0, 0, .85);
}
.pr-plans .plan__name { font-size: 1.625rem; }
.pr-plans .plan--hl .plan__name { color: var(--accent-ink); }
.pr-plans .plan__price { gap: 6px; padding-bottom: 20px; }
.pr-plans .plan__amt b { font-size: clamp(2.25rem, 1.85rem + 1.1vw, 2.85rem); letter-spacing: -.035em; }
.pr-plans [data-amt] { display: inline-block; }
@keyframes pr-tick {
  from { opacity: .2; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.pr-plans [data-amt].is-tick, .pr-cmp [data-amt].is-tick { animation: pr-tick .5s var(--ease); }
.plan__addon {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px;
  padding: 5px 11px 5px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
  font-size: var(--fs-xs); font-weight: 650; line-height: 1.3;
}
.plan__addon .ic { flex: none; width: 15px; height: 15px; }
.pr-plans .plan--hl .plan__addon { background: var(--bg); box-shadow: 0 0 0 1px var(--accent-line); }
.pr-plans .plan__limits { padding: 14px 16px; border-radius: 14px; background: var(--bg-2); }
.pr-plans .plan--hl .plan__limits { background: var(--bg); box-shadow: inset 0 0 0 1px var(--accent-line); }
.pr-plans .plan__top .ic { width: 19px; height: 19px; padding: 3.5px; margin-top: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 3; }
.pr-plans .plan--hl .plan__top .ic { background: var(--accent); color: #fff; }
.pr-plans .vat-note { text-align: center; }

/* ------------------------------------------------------------ Hangi paket size uygun? */
.fit { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.fit__item { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fit__who { font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fit__name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 560; line-height: 1.15; letter-spacing: -.012em; }
.fit__item.is-hl .fit__name { color: var(--accent-ink); }
.fit__text { font-size: var(--fs-sm); color: var(--ink-2); max-width: 46ch; }
.fit__item .link { margin-top: auto; padding-top: 6px; font-size: var(--fs-sm); }
.fit__note { margin-top: 28px; font-size: var(--fs-sm); color: var(--ink-3); }
.fit__note a { color: var(--ink); font-weight: 600; }
@media (min-width: 860px) {
  .fit { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 0; }
  .fit__item { padding: 4px 28px 4px 0; border-bottom: 0; }
  .fit__item + .fit__item { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* ------------------------------------------------------------ Karşılaştırma */
.cmp { --cmp-first: minmax(0, 1.7fr); }
.cmp__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.cmp__all { margin-left: auto; }
.cmp__r { display: grid; grid-template-columns: var(--cmp-first) repeat(var(--n, 3), minmax(0, 1fr)); align-items: center; gap: 0 12px; }
.cmp__head {
  position: sticky; top: var(--hdr); z-index: 5; align-items: end;
  padding: 10px 0 0; background: var(--bg); border-bottom: 1px solid var(--ink);
}
.cmp__corner { align-self: center; font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); }
.cmp__plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px 12px; border-radius: 16px 16px 0 0; text-align: center; }
.cmp__plan.is-hl { background: var(--accent-soft); }
.cmp__flag { display: inline-flex; margin-bottom: 4px; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .01em; }
.cmp__pname { font-family: var(--f-display); font-size: 1.25rem; font-weight: 560; line-height: 1.15; letter-spacing: -.01em; }
.cmp__plan.is-hl .cmp__pname { color: var(--accent-ink); }
.cmp__price { font-size: var(--fs-sm); font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.cmp__price small { font-size: var(--fs-xs); font-weight: 450; color: var(--ink-3); }
.cmp__go {
  display: inline-flex; align-items: center; margin-top: 6px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg); color: var(--ink); font-size: var(--fs-xs); font-weight: 650; text-decoration: none;
}
.cmp__go:hover { border-color: var(--ink); color: var(--ink); }
.cmp__plan.is-hl .cmp__go { background: var(--accent); border-color: var(--accent); color: #fff; }
.cmp__plan.is-hl .cmp__go:hover { background: var(--accent-hover); color: #fff; }
.cmp__groups { border-top: 0; }
.cmp__groups > .acc__item > .acc__h .acc__btn { padding: 16px 2px; font-size: 1rem; }
.cmp__t { padding-bottom: 12px; }
.cmp__t .cmp__r { padding: 11px 4px; border-top: 1px solid var(--line); border-radius: 6px; }
.cmp__t .cmp__r:first-child { border-top: 0; }
.cmp__t .cmp__r:hover { background: var(--bg-2); }
.cmp__t .cmp__c.is-hl { align-self: stretch; margin-block: -11px; padding-block: 11px; background: rgba(254, 239, 239, .7); }
.cmp__f { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp__fl { font-size: var(--fs-sm); font-weight: 550; color: var(--ink); line-height: 1.4; }
.cmp__fd { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.45; }
.cmp__c { display: flex; align-items: center; justify-content: center; min-width: 0; text-align: center; }
.cmp__yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); color: var(--ink); }
.cmp__yes .ic { width: 16px; height: 16px; stroke-width: 2.5; }
.cmp__c.is-hl .cmp__yes { background: var(--accent); color: #fff; }
.cmp__no { display: inline-flex; color: var(--ink-4); }
.cmp__lim { font-size: var(--fs-sm); font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.cmp__c.is-hl .cmp__lim { color: var(--accent-ink); }
.cmp__opt { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs); font-weight: 650; color: var(--accent-ink); }
.cmp__opt .ic { width: 16px; height: 16px; }
.cmp__note { margin-top: 18px; font-size: var(--fs-xs); color: var(--ink-3); max-width: 80ch; }

@media (min-width: 760px) {
  .cmp__pick { display: none !important; }
}
@media (max-width: 759px) {
  .cmp { --cmp-first: minmax(0, 1.4fr); }
  .cmp__pname { font-size: 1.0625rem; }
  .cmp__fd { display: none; }
  .cmp__pick { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .cmp__pick .seg__btn { flex: 1 0 auto; justify-content: center; }
  .cmp__all { margin-left: 0; }
  /* JS yoksa: yatay kaydırma */
  .cmp:not(.is-single) .cmp__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp:not(.is-single) .cmp__body { min-width: calc(170px + var(--n, 3) * 104px); }
  .cmp:not(.is-single) .cmp__head { position: static; }
  /* JS ile: seçili paket tek sütun */
  .cmp.is-single .cmp__r { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .cmp.is-single [data-c].is-offcol { display: none; }
}
@media print {
  .cmp__head { position: static; }
  .cmp__tools, .addons__foot .btn { display: none; }
  .pr-plans .plan--hl { transform: none; box-shadow: none; }
}

/* Karşılaştırma tablosu (09.11.2026): gruplar hep açık; grup başlığı bandı; farklı satır işareti; "Yalnız farkları göster" */
.cmp__tools { gap: 10px 18px; }
.cmp__legend { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: var(--fs-xs); color: var(--ink-3); }
.cmp__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.cmp__diff { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); -webkit-user-select: none; user-select: none; }
.cmp__diff input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cmp__sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2); transition: background-color .2s; flex: none; }
.cmp__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 15, 18, .22); transition: transform .22s var(--ease); }
.cmp__diff input:checked + .cmp__sw { background: var(--accent); }
.cmp__diff input:checked + .cmp__sw::after { transform: translateX(16px); }
.cmp__diff input:focus-visible + .cmp__sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.cmp__diff:hover { color: var(--ink); }
.cmp__head { border-bottom-color: var(--line-2); box-shadow: 0 10px 18px -16px rgba(15, 15, 18, .35); }
.cmp__groups { display: grid; gap: 0; }
.cmp__g { scroll-margin-top: calc(var(--hdr) + 140px); }
.cmp__gh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 2px; padding: 11px 14px; border-radius: 12px; background: var(--bg-2); font-size: 1rem; font-weight: 650; letter-spacing: -.005em; line-height: 1.3; color: var(--ink); }
.cmp__g:first-child .cmp__gh { margin-top: 16px; }
.cmp__gc { font-size: var(--fs-xs); font-weight: 550; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmp__t { padding-bottom: 4px; }
.cmp__t .cmp__r { padding: 12px 8px; border-top: 1px solid var(--line); border-radius: 0; transition: background-color .15s; }
.cmp__t .cmp__r:first-child { border-top: 0; }
.cmp__t .cmp__r:hover { background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
.cmp__t .cmp__c.is-hl { margin-block: -12px; padding-block: 12px; background: color-mix(in srgb, var(--accent-soft) 85%, transparent); }
.cmp__t .cmp__r:not([data-same]) .cmp__fl::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.cmp.is-diff .cmp__r[data-same], .cmp.is-diff .cmp__g[data-same] { display: none; }
.cmp.is-diff .cmp__t .cmp__r:not([data-same]) .cmp__fl::before { display: none; }
/* Farklar modunda açıklama gizlenir ama yeri korunur: sağa yaslayan margin-left: auto onda; display: none anahtarı sola kaydırıyordu */
.cmp.is-diff .cmp__legend { visibility: hidden; }
@media (max-width: 759px) {
  .cmp__legend { margin-left: 0; }
  .cmp__gh { margin-top: 20px; padding: 10px 12px; }
}
