/* Fiyatlandırma — plan kartları, şube hesaplayıcı, karşılaştırma, ek hizmetler.
   Yalnız / ve /fiyat yükler. Renk/ölçü token'ları tokens.css'te. */

.price-section-head { max-width: 60ch; margin: 0 auto; text-align: center; }
.price-section-head .lead { margin: 0 auto; }
.plan-section { padding-top: 48px; }
.plan-section-alt { background: var(--bg); }

/* ---------- Kampanya şeridi ---------- */
.plan-kampanya {
  display: flex; align-items: center; gap: 12px;
  max-width: 760px; margin: 0 auto 28px; padding: 12px 16px;
  background: var(--brand-050); border: 1px solid var(--brand-100); border-radius: var(--radius);
  color: var(--brand-800); font-size: 14px; line-height: 1.5;
}
.plan-kampanya i { color: var(--brand-600); font-size: 18px; flex: none; }
.plan-kampanya p { margin: 0; }

/* ---------- Plan kartları ---------- */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  margin-top: 32px; align-items: stretch;
}
.plan-section .plan-grid { margin-top: 0; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 22px; box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.plan-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.plan-card.is-featured {
  border: 2px solid var(--brand-600); box-shadow: var(--shadow-lg);
  padding: 25px 23px 21px;
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px;
  background: var(--brand-700); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  box-shadow: var(--shadow-emerald);
}
.plan-badge i { font-size: 10px; color: var(--brand-300); }
.plan-head { display: flex; align-items: flex-start; gap: 12px; }
.plan-ico {
  width: 40px; height: 40px; flex: none; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-700); font-size: 19px;
  border: 1px solid var(--brand-100);
}
.plan-name { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
.plan-slogan { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.plan-price { margin: 20px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-amt { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; color: var(--ink); line-height: 1.05; font-variant-numeric: tabular-nums; }
.plan-per { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-price-note { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.plan-cta { width: 100%; margin-top: 18px; }
.plan-card:not(.is-featured) .plan-cta {
  background: var(--surface); color: var(--brand-700); border-color: var(--brand-200);
}
.plan-card:not(.is-featured) .plan-cta:hover { background: var(--brand-050); color: var(--brand-800); border-color: var(--brand-500); }
.plan-card.is-featured .plan-cta { box-shadow: var(--shadow-emerald); }
.plan-feats { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 9px; flex: 1; align-content: start; }
.plan-feats li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.plan-feats li i { color: var(--brand-600); font-size: 15px; margin-top: 1px; flex: none; }
.plan-branch {
  margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 7px;
}
.plan-branch i { color: var(--brand-600); }

.plan-trust {
  list-style: none; padding: 0; margin: 26px auto 0; max-width: 980px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
}
.plan-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.plan-trust i { color: var(--brand-600); }

/* ---------- Şube hesaplayıcı ---------- */
.plan-calc { display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: 40px; align-items: center; }
.plan-calc-copy .lead { max-width: 52ch; }
.plan-calc-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.plan-calc-plans { border: 0; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.plan-calc-plans legend, .plan-calc-row label {
  font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; padding: 0; float: none; width: auto;
  text-transform: none; letter-spacing: 0;
}
.plan-calc-plans legend { grid-column: 1 / -1; }
.plan-calc-opt { position: relative; display: block; cursor: pointer; margin: 0; }
.plan-calc-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.plan-calc-opt span {
  display: block; text-align: center; padding: 9px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--surface);
  transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.plan-calc-opt:hover span { border-color: var(--brand-200); }
.plan-calc-opt input:checked + span { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.plan-calc-opt input:focus-visible + span { box-shadow: var(--ring); }
.plan-calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-calc-row label { margin: 0; }
.plan-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.plan-stepper button {
  width: 38px; height: 38px; border: 0; background: var(--bg); color: var(--ink); font-size: 18px; cursor: pointer;
  display: grid; place-items: center; transition: background var(--dur);
}
.plan-stepper button:hover { background: var(--brand-050); color: var(--brand-700); }
.plan-stepper input {
  width: 54px; height: 38px; border: 0; border-inline: 1px solid var(--line); text-align: center;
  font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); -moz-appearance: textfield; appearance: textfield;
}
.plan-stepper input::-webkit-outer-spin-button, .plan-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.plan-stepper input:focus { outline: none; box-shadow: inset var(--ring); }
.plan-calc-out { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-2); }
.plan-calc-total { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.8px; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-calc-break { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.plan-calc-cta { width: 100%; margin-top: 16px; }

/* ---------- Karşılaştırma tablosu ---------- */
.plan-table-wrap { margin: 28px auto 0; max-width: 920px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; background: var(--surface); }
.plan-table th, .plan-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: center; }
.plan-table tbody tr:last-child th, .plan-table tbody tr:last-child td { border-bottom: 0; }
.plan-table thead th { font-size: 13px; font-weight: 800; color: var(--ink); background: var(--bg); position: sticky; top: 0; }
.plan-table thead th:first-child, .plan-table tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.plan-table thead th:first-child { font-weight: 700; color: var(--muted); }
.plan-table .is-featured { background: color-mix(in srgb, var(--brand-050) 55%, transparent); }
.plan-table thead th.is-featured { color: var(--brand-800); background: var(--brand-050); }
.plan-table-price td { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-table .yes { color: var(--brand-600); font-size: 17px; }
.plan-table .no { color: #b7c3c0; font-size: 17px; }
.plan-table tbody tr:hover th, .plan-table tbody tr:hover td { background-color: var(--brand-050); }

/* ---------- Ek hizmetler ---------- */
.plan-addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.plan-addon { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.plan-addon h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.plan-addon p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.plan-addon a { color: var(--brand-700); font-weight: 600; }
.plan-addon .plan-addon-price { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.plan-addon-price small { font-weight: 500; color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 26px; }
  .plan-calc { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .plan-card { padding: 22px 18px 18px; }
  .plan-card.is-featured { padding: 21px 17px 17px; }
  .plan-amt { font-size: 30px; }
  .plan-calc-box { padding: 18px 16px; }
}
