/* ==========================================================================
   Faturalama: fiyatlandırma, ödeme, sonuç, hesap ödemeleri, makbuz
   ========================================================================== */

.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 14px; transition: color .2s; }
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { color: var(--text); }
.btn.is-static { pointer-events: none; opacity: .75; }

/* ---------- Fiyatlandırma: hero ---------- */
.pricing-hero { text-align: center; padding: 28px 0 34px; }
.pricing-hero h1 { font-size: clamp(34px, 5.6vw, 62px); font-weight: 700; margin: 22px auto 16px; max-width: 860px; letter-spacing: -0.04em; }
.pricing-hero p { font-size: clamp(15px, 1.5vw, 17.5px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.period-switch { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.period-switch .segmented { min-width: 260px; }
.period-switch .segmented label { padding: 10px 22px; font-size: 14px; }
.savings-badge {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #a7f3d0; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35);
  animation: savings-pulse 2.8s var(--ease) infinite;
}
.savings-badge svg { width: 15px; height: 15px; }
@keyframes savings-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.35); } 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }

/* Dönem seçimi: diğer dönemin fiyat/CTA öğeleri gizlenir */
.pricing[data-period='monthly'] [data-for='yearly'],
.pricing[data-period='yearly'] [data-for='monthly'] { display: none !important; }
.pricing.is-switching .plan-price, .pricing.is-switching .plan-price-note { animation: price-flip .45s var(--ease); }
@keyframes price-flip { from { opacity: 0; transform: translateY(-8px) scale(.97); } }

/* ---------- Plan kartları ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px; align-items: stretch; }
.plan-card {
  --accent: #8b5cf6;
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 22px 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow); transition: transform .45s var(--ease), border-color .3s, box-shadow .3s;
}
.plan-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .9;
}
.plan-card::after {
  content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; pointer-events: none;
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.plan-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 0 1px var(--border); }
.plan-card:hover::after { opacity: 1; }
.plan-card > * { position: relative; z-index: 1; }
.plan-card.is-featured { border-color: transparent; background:
  linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
  conic-gradient(from var(--angle), var(--accent), #22d3ee, #f472b6, var(--accent)) border-box;
  border: 1.5px solid transparent; animation: border-spin 6s linear infinite; }
.plan-card.is-featured .plan-icon { box-shadow: 0 0 30px -4px var(--accent); }
@keyframes border-spin { to { --angle: 360deg; } }
.plan-card.is-current { border-color: rgba(52, 211, 153, 0.45); box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.25), var(--shadow); }
.plan-card.is-upgrade .plan-cta .btn-primary { box-shadow: 0 12px 30px -10px var(--accent); }
.plan-card.is-guest { background: rgba(12, 12, 22, 0.55); }

.plan-ribbon {
  position: absolute !important; top: 0; right: 18px; display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 10px; border-radius: 0 0 10px 10px; font-size: 11.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #22d3ee));
  box-shadow: 0 6px 18px -6px var(--accent);
}
.plan-ribbon svg { width: 12px; height: 12px; }
.plan-ribbon.is-current { background: linear-gradient(135deg, #10b981, #0ea5e9); box-shadow: 0 6px 18px -6px #10b981; }

.plan-top { display: flex; gap: 12px; align-items: flex-start; }
.plan-icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0;
  color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #0b0b15));
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
}
.plan-icon svg { width: 21px; height: 21px; }
.plan-top h3 { font-size: 20px; font-weight: 700; }
.plan-top p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.plan-price strong { font: 700 clamp(28px, 3vw, 34px)/1.05 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 13.5px; color: var(--muted); }
.plan-price.is-na strong { color: var(--faint); }
.plan-price-note { font-size: 12.5px; color: var(--faint); margin-top: -8px; min-height: 18px; }
.plan-price-note b { color: #a7f3d0; font-weight: 600; white-space: nowrap; }

.plan-limits, .plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan-limits { padding-top: 14px; border-top: 1px solid var(--border); }
.plan-limits li, .plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-soft); line-height: 1.4; }
.plan-limits svg, .plan-features svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.plan-limits li.is-off { color: var(--faint); }
.plan-limits li.is-off span { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.15); }
.plan-limits li.is-off svg { color: var(--faint); }
.plan-features { padding-top: 12px; border-top: 1px dashed var(--border); }
.plan-features svg { color: #fde68a; }
.plan-cta { margin-top: auto; padding-top: 6px; }

/* ---------- Güvenceler ---------- */
.pricing-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--border); }
.trust-item svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Karşılaştırma ---------- */
.cmp-wrap { overflow-x: auto; padding: 6px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.cmp-table thead th { font: 600 15px/1.2 var(--font-display); color: var(--text); white-space: nowrap; }
.cmp-table thead th.is-current { color: #a7f3d0; }
.cmp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--accent, var(--violet)); box-shadow: 0 0 10px var(--accent, var(--violet)); vertical-align: 1px; }
.cmp-table tbody th { text-align: left; font-weight: 500; color: var(--muted); white-space: nowrap; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.cmp-table td { color: var(--text-soft); font-variant-numeric: tabular-nums; }
.cmp-yes, .cmp-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.cmp-yes { color: var(--green); background: rgba(52, 211, 153, 0.12); }
.cmp-no { color: var(--faint); background: rgba(255, 255, 255, 0.04); }
.cmp-yes svg, .cmp-no svg { width: 14px; height: 14px; }

/* ---------- SSS ---------- */
.faq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { border-radius: 18px; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--violet); }
.faq-item[open] { border-color: rgba(139, 92, 246, 0.35); }
.faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.65; animation: fade-up .35s var(--ease); }

.final-cta { text-align: center; display: grid; justify-items: center; gap: 10px; }
.final-cta h2 { font-size: clamp(22px, 3vw, 30px); }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- Ödeme (checkout) ---------- */
.checkout-head { margin-bottom: 22px; }
.checkout-alerts { display: grid; gap: 10px; margin-bottom: 18px; }
.checkout-alerts:empty { display: none; }
.checkout-alerts a { text-decoration: underline; text-underline-offset: 3px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.checkout-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.checkout-side { position: sticky; top: 90px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-head h2 { font-size: 18px; font-weight: 600; }
.step-head h2 .muted { font-size: 13px; font-weight: 400; font-family: var(--font); }
.step-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--font-display); color: #fff; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(139, 92, 246, 0.9); flex-shrink: 0; }

.plan-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.plan-chip { --accent: #8b5cf6; position: relative; cursor: pointer; }
.plan-chip input, .pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-chip-body {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; height: 100%;
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); transition: border-color .2s, background .2s, box-shadow .25s;
}
.plan-chip-body strong { display: block; font-size: 14.5px; }
.plan-chip-body small { display: block; font-size: 12.5px; color: var(--muted); }
.plan-chip-body .badge { margin-left: auto; }
.plan-chip-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.plan-chip:hover .plan-chip-body { border-color: var(--border-strong); }
.plan-chip input:checked + .plan-chip-body { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: color-mix(in srgb, var(--accent) 12%, rgba(0, 0, 0, 0.3)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.plan-chip input:focus-visible + .plan-chip-body, .pay-option input:focus-visible + .pay-option-body { outline: 2px solid var(--violet); outline-offset: 2px; }
.period-pick input:disabled + label { opacity: .4; cursor: not-allowed; }
.seg-save { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; font-size: 11px; color: #a7f3d0; background: rgba(52, 211, 153, 0.15); }

.pay-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pay-option { cursor: pointer; display: block; }
.pay-option-body {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 15px;
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); transition: border-color .2s, background .2s, box-shadow .25s, transform .2s var(--ease);
}
.pay-option:hover .pay-option-body { border-color: var(--border-strong); }
.pay-option:active .pay-option-body { transform: scale(.995); }
.pay-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.3); color: #c4b5fd; }
.pay-icon svg { width: 20px; height: 20px; }
.pay-text { flex: 1; min-width: 0; }
.pay-text strong { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.pay-text small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.pay-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; transition: all .25s var(--spring); }
.pay-check svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.4); transition: all .25s var(--spring); }
.pay-option input:checked + .pay-option-body { border-color: rgba(139, 92, 246, 0.65); background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.05)); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14); }
.pay-option input:checked + .pay-option-body .pay-check { background: var(--violet); border-color: var(--violet); }
.pay-option input:checked + .pay-option-body .pay-check svg { opacity: 1; transform: scale(1); }
.pay-option.is-test .pay-icon { background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.3); color: var(--amber); }

.coupon-form { display: flex; gap: 10px; }
.coupon-form .input { text-transform: uppercase; letter-spacing: .08em; }
.coupon-form .btn { flex-shrink: 0; height: 46px; }
.coupon-applied { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(52, 211, 153, 0.08); border: 1px dashed rgba(52, 211, 153, 0.45); animation: pop-in .35s var(--spring); }
.coupon-applied > svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.coupon-applied div { flex: 1; min-width: 0; }
.coupon-applied strong { display: block; font-family: var(--font-mono); letter-spacing: .06em; color: #a7f3d0; }
.coupon-applied span { font-size: 12.5px; color: var(--muted); }

/* Özet kartı */
.summary-card { --accent: #8b5cf6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: hidden; }
.summary-card::after { content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); pointer-events: none; }
.summary-plan { display: flex; gap: 14px; align-items: center; }
.summary-plan h2 { font-size: 24px; margin: 2px 0; }
.summary-plan .muted { font-size: 13px; }
.summary-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--accent, #8b5cf6), color-mix(in srgb, var(--accent, #8b5cf6) 35%, #0b0b15)); box-shadow: 0 10px 30px -10px var(--accent, #8b5cf6); }
.summary-icon svg { width: 24px; height: 24px; }
.summary-icon.is-amber { --accent: #f59e0b; }
.summary-limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.summary-limits li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-soft); }
.summary-limits svg { width: 15px; height: 15px; color: var(--accent); }
.summary-lines { margin: 0; display: grid; gap: 2px; border-top: 1px solid var(--border); padding-top: 12px; }
.summary-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-lines .is-discount dd, .summary-lines .is-discount dt { color: var(--green); }
.summary-lines .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--border-strong); align-items: baseline; }
.summary-lines .is-total dt { color: var(--text); font-weight: 600; font-size: 15px; }
.summary-lines .is-total dd { font: 700 28px/1 var(--font-display); letter-spacing: -0.02em; }
.summary-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 13px; font-size: 13px; line-height: 1.5; color: var(--text-soft); background: var(--surface-soft); border: 1px solid var(--border); }
.summary-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--muted); }
.summary-note.is-info { background: rgba(99, 102, 241, 0.08); border-color: rgba(99, 102, 241, 0.3); }
.summary-note.is-info svg { color: #a5b4fc; }
.summary-note.is-warn { background: rgba(251, 191, 36, 0.07); border-color: rgba(251, 191, 36, 0.3); color: #fde68a; }
.summary-note.is-warn svg { color: var(--amber); }
.summary-terms { font-size: 13px; line-height: 1.45; align-items: flex-start; }
.summary-terms a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.summary-terms .check-box { margin-top: 1px; }
.pay-btn { height: 56px; font-size: 16px; }
.summary-secure { font-size: 12px; line-height: 1.55; color: var(--faint); text-align: center; text-wrap: balance; }
.summary-secure svg { display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; color: var(--green); }

/* Ödeme adımı (iframe / havale) */
.checkout-stage { max-width: 860px; margin: 0 auto; }
.stage-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.stage-head { display: flex; gap: 14px; align-items: center; }
.stage-head > div:nth-child(2) { flex: 1; min-width: 0; }
.stage-head h2 { font-size: 22px; }
.stage-head p { font-size: 13.5px; margin-top: 3px; }
.paytr-wrap { position: relative; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--border-strong); min-height: 600px; }
.paytr-frame { display: block; width: 100%; height: 680px; border: 0; }
.paytr-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #475569; font-size: 14px; background: #f8fafc; }
.paytr-loading .spinner { border-color: rgba(71, 85, 105, 0.2); border-top-color: #6366f1; }
.manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bank-box { position: relative; border-radius: 14px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border); padding: 16px 16px 16px 18px; }
.bank-box pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 500 13.5px/1.75 var(--font-mono); color: #e0e7ff; padding-right: 96px; }
.bank-box .btn { position: absolute; top: 10px; right: 10px; }
.manual-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-soft); font-size: 14px; }
.manual-steps li::marker { color: var(--violet); font-weight: 700; }
.stage-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pending-transfer { border-color: rgba(251, 191, 36, 0.3); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pending-transfer .card-header { margin-bottom: 0; }
.pending-transfer > p { margin: 0 !important; }

/* ---------- Ödeme sonucu ---------- */
.result-page { max-width: 640px; margin: 20px auto 0; }
.result-card { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; overflow: hidden; }
.result-card h1 { font-size: clamp(26px, 4vw, 34px); }
.result-text { color: var(--text-soft); max-width: 500px; line-height: 1.6; }
.result-text .muted { display: block; margin-top: 6px; font-size: 13.5px; }
.result-visual { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 4px; }
.result-check { width: 96px; height: 96px; }
.result-card.is-success::before { background: linear-gradient(180deg, rgba(52, 211, 153, 0.18), transparent 45%); }
.result-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; animation: pop-in .5s var(--spring); }
.result-icon svg { width: 40px; height: 40px; }
.result-icon.is-red { color: var(--red); background: rgba(248, 113, 113, 0.12); border: 2px solid rgba(248, 113, 113, 0.4); }
.result-icon.is-amber { color: var(--amber); background: rgba(251, 191, 36, 0.12); border: 2px solid rgba(251, 191, 36, 0.4); }
.result-icon.is-neutral { color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 2px solid var(--border-strong); }
.result-icon.is-cyan { color: var(--cyan); background: rgba(34, 211, 238, 0.1); border: 2px solid rgba(34, 211, 238, 0.4); }
.result-spinner { display: flex; gap: 8px; }
.result-spinner span { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); animation: dot-bounce 1.2s var(--ease) infinite; }
.result-spinner span:nth-child(2) { animation-delay: .15s; }
.result-spinner span:nth-child(3) { animation-delay: .3s; }
@keyframes dot-bounce { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1.1); opacity: 1; } }
.confetti { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; width: 8px; height: 12px; border-radius: 2px; background: var(--c); opacity: 0; animation: confetti-burst 1.3s var(--ease) var(--d) forwards; }
@keyframes confetti-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 60px)) rotate(var(--r)) scale(1); }
}
.result-summary { width: 100%; margin: 6px 0 0; display: grid; gap: 1px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--border); text-align: left; }
.result-summary > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; background: rgba(9, 9, 18, 0.92); font-size: 13.5px; }
.result-summary dt { color: var(--muted); }
.result-summary dd { margin: 0; font-weight: 600; text-align: right; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.result-actions:empty { display: none; }
.result-bank { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: left; }

/* ---------- Test ödeme ---------- */
.test-pay { max-width: 580px; margin: 10px auto 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.test-banner {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; color: #fde68a;
  background: repeating-linear-gradient(135deg, rgba(251, 191, 36, 0.14) 0 14px, rgba(251, 191, 36, 0.06) 14px 28px);
  border: 1px solid rgba(251, 191, 36, 0.45);
}
.test-banner svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--amber); }
.test-banner strong { color: #fff; letter-spacing: .04em; }
.test-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.test-head { display: flex; gap: 14px; align-items: center; }
.test-head h1 { font-size: 26px; margin: 2px 0; }
.test-head p { font-size: 13.5px; }
.fake-card {
  position: relative; aspect-ratio: 1.586; max-width: 340px; width: 100%; margin: 0 auto; border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #4c1d95, #1e3a8a 55%, #0e7490); box-shadow: 0 30px 60px -25px rgba(99, 102, 241, 0.8);
  animation: card-float 6s ease-in-out infinite;
}
.fake-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 66%); transform: translateX(-100%); animation: sheen 4.5s ease-in-out infinite; }
.fake-card-chip { position: absolute; top: 22px; left: 22px; width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #fde68a, #d97706); }
.fake-card-number { font: 600 clamp(16px, 4vw, 21px)/1 var(--font-mono); letter-spacing: .14em; }
.fake-card-row { display: flex; justify-content: space-between; font: 600 12px/1 var(--font-mono); letter-spacing: .1em; opacity: .85; }
@keyframes card-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
.test-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* ---------- Hesap: abonelik ve ödemeler ---------- */
.billing-head { margin: 0; }
.billing-app { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.plan-hero {
  --accent: #8b5cf6;
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 18px 28px; align-items: center; padding: 26px; overflow: hidden;
}
.plan-hero::after { content: ''; position: absolute; top: -120px; left: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); pointer-events: none; }
.plan-hero > * { position: relative; z-index: 1; }
.plan-hero-main { display: flex; gap: 16px; align-items: flex-start; }
.plan-hero-icon { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #0b0b15)); box-shadow: 0 12px 30px -10px var(--accent); }
.plan-hero-icon svg { width: 26px; height: 26px; }
.plan-hero h2 { font-size: 28px; margin: 4px 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-hero h2 .badge { font-family: var(--font); letter-spacing: 0; }
.plan-hero p { font-size: 14px; max-width: 520px; }
.hero-time { display: flex; gap: 16px; align-items: center; }
.hero-time strong { display: block; font: 600 20px/1.2 var(--font-display); margin: 2px 0; font-variant-numeric: tabular-nums; }
.hero-time .muted { display: block; font-size: 12.5px; }
.hero-ring {
  --p: 1; width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--bg-elev) 78%, transparent 80% 100%), conic-gradient(var(--accent) calc(var(--p) * 360deg), rgba(255, 255, 255, 0.08) 0);
}
.hero-ring span { font: 700 22px/1 var(--font-display); }
.hero-ring small { font-size: 10.5px; color: var(--muted); }
.plan-hero-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
.usage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.limit-chips { margin-top: 18px; }

.sub-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.sub-row {
  --accent: #8b5cf6;
  display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); border-left: 3px solid var(--accent);
}
.sub-row.is-past { opacity: .7; }
.sub-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex-shrink: 0; }
.sub-main { flex: 1; min-width: 0; }
.sub-main strong { display: block; font-size: 14.5px; }
.sub-main span { font-size: 12.5px; color: var(--muted); }
.sub-dates { text-align: right; font-size: 12.5px; color: var(--muted); }
.sub-dates strong { display: block; color: var(--text); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.past-subs { margin-top: 14px; }
.past-subs summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.past-subs summary::-webkit-details-marker { display: none; }
.past-subs summary svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.past-subs[open] summary svg:last-child { transform: rotate(180deg); }
.billing-app .table-wrap { position: relative; }
.orders-table td { white-space: nowrap; }
.orders-table td .cell-main strong { max-width: 200px; }
.orders-table s { font-size: 12px; }
.mono-ref { font: 600 12.5px/1 var(--font-mono); letter-spacing: .03em; color: var(--text-soft); }

/* ---------- Makbuz ---------- */
.receipt-toolbar { max-width: 860px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.receipt-toolbar .back-link { margin: 0; }
.receipt { position: relative; max-width: 860px; margin: 0 auto; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; overflow: hidden; }
.receipt-watermark {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); pointer-events: none; z-index: 0;
  font: 800 clamp(40px, 9vw, 88px)/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: rgba(248, 113, 113, 0.08); border: 6px solid rgba(248, 113, 113, 0.08); padding: 6px 24px; border-radius: 20px;
}
.receipt > *:not(.receipt-watermark) { position: relative; z-index: 1; }
.receipt-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.receipt-brand { display: flex; align-items: center; gap: 12px; }
.receipt-brand strong { display: block; font: 700 20px/1.2 var(--font-display); }
.receipt-brand span:not(.brand-mark) { font-size: 13px; color: var(--muted); }
.receipt-meta { display: grid; gap: 6px; text-align: right; font-size: 13.5px; }
.receipt-meta h1 { font-size: 28px; margin-bottom: 4px; letter-spacing: -0.02em; }
.receipt-meta div { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.receipt-meta div > span:first-child { color: var(--muted); }
.receipt-parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.receipt-parties h2 { font: 700 11.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.receipt-parties p { font-size: 14px; line-height: 1.65; color: var(--text-soft); word-break: break-word; }
.receipt-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.receipt-lines th, .receipt-lines td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.receipt-lines thead th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.receipt-lines .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-lines td strong { display: block; }
.receipt-lines td span { font-size: 12.5px; color: var(--muted); }
.receipt-lines .is-discount td { color: var(--green); }
.receipt-lines tfoot th { text-align: right; font-size: 15px; border-bottom: 0; padding-top: 18px; }
.receipt-lines tfoot td { font: 700 26px/1 var(--font-display); border-bottom: 0; padding-top: 16px; }
.receipt-info { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--border); }
.receipt-info > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 14px; background: rgba(9, 9, 18, 0.92); font-size: 13.5px; }
.receipt-info dt { color: var(--muted); }
.receipt-info dd { margin: 0; font-weight: 600; text-align: right; }
.receipt-foot { font-size: 12px; color: var(--faint); line-height: 1.6; padding-top: 18px; border-top: 1px dashed var(--border); }
.receipt.is-paid .receipt-watermark { display: none; }

@media print {
  @page { margin: 14mm; }
  html, body { background: #fff !important; color: #111 !important; }
  .bg, .site-header, .site-footer, .announcement, .toasts, .no-print { display: none !important; }
  .site-main { padding: 0 !important; max-width: none !important; }
  .receipt { max-width: none; padding: 0 6px; box-shadow: none !important; border: 0 !important; background: #fff !important; backdrop-filter: none !important; color: #111; }
  .receipt::before { display: none; }
  .receipt, .receipt * { color: #111 !important; animation: none !important; }
  .receipt .brand-mark { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .receipt .brand-mark svg { color: #fff !important; }
  .receipt-head, .receipt-lines th, .receipt-lines td, .receipt-foot { border-color: #d4d4d8 !important; }
  .receipt-info { border-color: #d4d4d8; background: #d4d4d8; }
  .receipt-info > div { background: #fff !important; }
  .receipt-parties p, .receipt-lines td span, .receipt-meta div > span:first-child, .receipt-info dt { color: #52525b !important; }
  .receipt .badge { border-color: #a1a1aa !important; background: #f4f4f5 !important; }
  .receipt-watermark { color: rgba(220, 38, 38, 0.12) !important; border-color: rgba(220, 38, 38, 0.12) !important; }
}

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-side { position: static; }
  .pricing-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .pricing-hero { padding-top: 12px; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-trust { grid-template-columns: minmax(0, 1fr); }
  .manual-grid, .usage-grid, .receipt-parties, .receipt-info, .test-actions { grid-template-columns: minmax(0, 1fr); }
  .coupon-form { flex-direction: column; }
  .bank-box pre { padding-right: 0; padding-top: 34px; }
  .stage-head { flex-wrap: wrap; }
  .paytr-frame { height: 780px; }
  .receipt { padding: 22px; }
  .receipt-meta { text-align: left; }
  .receipt-meta div { justify-content: flex-start; }
  .sub-row { flex-wrap: wrap; }
  .sub-dates { text-align: left; width: 100%; padding-left: 24px; }
  .plan-hero { padding: 20px; }
  .plan-hero h2 { font-size: 23px; }
  .result-actions .btn { width: 100%; }
}
