/* Strony płatności — styl jak w Unlimited AI Images (ciemny granat, fiolet, pomarańcz). */
:root {
  --co-bg: #040d30; --co-surface: #181b3a; --co-surface-2: #1f2347;
  --co-line: rgba(181, 26, 252, .35); --co-line-soft: rgba(255, 255, 255, .10);
  --co-purple: #b51afc; --co-purple-deep: #6a14d1; --co-orange: #f28e27;
  --co-green: #29c07a; --co-muted: #b3b6d3; --co-radius: 20px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
.co-page {
  min-height: 100vh; color: #fff; font: 400 15px/1.55 Inter, system-ui, sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(181, 26, 252, .22), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(242, 142, 39, .10), transparent 60%),
    var(--co-bg);
}
a { color: #f5a642; }
[hidden] { display: none !important; }

/* górny pasek */
.co-topbar {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 12px 24px; background: rgba(4, 13, 48, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--co-line-soft);
}
.co-back { color: var(--co-muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.co-back:hover { color: #fff; }
.co-logo { text-decoration: none; justify-self: center; }
.co-logo .vbl-logo { font-size: 24px; color: #fff; }
.co-logo .vbl-logo-mark { width: 40px; height: 40px; }
.co-logo .vbl-logo-text { background: linear-gradient(90deg, #fff 0%, #ffd7ef 45%, #ffb36b 100%); -webkit-background-clip: text; background-clip: text; }
.co-secure { justify-self: end; color: var(--co-muted); font-size: 13px; font-weight: 600; }

/* siatka */
.co-shell {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start;
  max-width: 1320px; margin: 0 auto; padding: 32px 24px 48px;
}
.co-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.co-col-pay { position: sticky; top: 96px; }

.co-card {
  background: var(--co-surface); border: 1px solid var(--co-line-soft);
  border-radius: var(--co-radius); padding: 26px 28px;
}
.co-card-order { border: 2px dotted var(--co-line); background: linear-gradient(160deg, #1d1547, #181b3a 60%); }
.co-eyebrow { color: var(--co-orange); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; }
.co-plan-name { font: 800 30px/1.15 K2D, sans-serif; margin: 8px 0 6px; }
.co-plan-sub { color: var(--co-muted); margin: 0 0 18px; }
.co-summary { list-style: none; margin: 0; padding: 0; }
.co-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--co-line-soft); }
.co-summary strong { white-space: nowrap; }
.co-summary-total span { font-weight: 700; }
.co-summary-total strong { font: 800 30px/1 K2D, sans-serif; color: var(--co-orange); }
.co-coupon {
  margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px;
  color: #bff5d9; background: rgba(41, 192, 122, .12); border: 1px solid rgba(41, 192, 122, .35);
}
.co-once { margin: 16px 0 0; color: var(--co-muted); font-size: 14px; }
.co-badge-once {
  display: inline-block; margin-right: 6px; padding: 3px 12px; border-radius: 999px;
  color: #fff; font-weight: 700; font-size: 12px; background: linear-gradient(90deg, var(--co-purple-deep), var(--co-purple));
}
.co-h2 { font: 800 20px/1.25 Outfit, sans-serif; margin: 0 0 14px; }

.co-features { list-style: none; margin: 0 0 16px; padding: 0; columns: 2; column-gap: 24px; }
.co-features li { break-inside: avoid; position: relative; padding: 4px 0 4px 26px; font-size: 14px; }
.co-features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--co-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.co-switch { font-weight: 700; text-decoration: none; }
.co-switch:hover { text-decoration: underline; }

.co-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.co-pay { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--co-surface-2); }
.co-pay strong { display: block; margin-bottom: 2px; }
.co-pay p { margin: 0; color: var(--co-muted); font-size: 13px; }
.co-pay-strip { height: 36px; width: auto; max-width: 100%; }

.co-ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: #f5f3ff; color: #6d28d9;
}
.co-ico-blik { background: #111; color: #fff; font: 800 13px/1 Inter, sans-serif; }

.co-card-guarantee { display: flex; gap: 20px; align-items: center; }
.co-guarantee-badge {
  flex: none; width: 84px; height: 84px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, #ffd36b, #f28e27 70%); color: #2b1400;
  box-shadow: 0 0 0 6px rgba(242, 142, 39, .18);
}
.co-guarantee-badge b { font: 800 30px/1 K2D, sans-serif; }
.co-guarantee-badge small { font-weight: 800; }
.co-card-guarantee p { margin: 0; color: var(--co-muted); }

.co-faq { margin: 0; }
.co-faq dt { font-weight: 700; margin-top: 12px; }
.co-faq dt:first-child { margin-top: 0; }
.co-faq dd { margin: 4px 0 0; color: var(--co-muted); font-size: 14px; }
.co-legal { color: var(--co-muted); font-size: 13px; margin: 0 4px; }

/* okno płatności (jasne, jak widżet operatora) */
.co-paybox {
  background: #fff; color: #111827; border: 2px dotted var(--co-line);
  border-radius: var(--co-radius); padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.co-paybox-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.co-paybox-head h2 { font: 800 22px/1.2 Outfit, sans-serif; margin: 0; }
.co-amount { font: 800 26px/1 K2D, sans-serif; color: #6d28d9; white-space: nowrap; }
.co-label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
.co-label-sm { font-size: 13px; margin-top: 10px; }
.co-input {
  width: 100%; height: 48px; padding: 0 14px; font: 500 16px Inter, sans-serif; color: #111827;
  border: 1.5px solid #e5e7eb; border-radius: 12px; background: #fff; outline: none;
}
.co-input:focus { border-color: #6d28d9; box-shadow: 0 0 0 3px rgba(109, 40, 217, .15); }
.co-blik-input {
  height: 56px; max-width: none; font: 700 24px/1 K2D, monospace; letter-spacing: 6px; text-align: center;
  border: 2px solid rgba(109, 40, 217, .25);
}

.co-methods { display: flex; flex-direction: column; gap: 10px; }
.co-method {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px;
  border: 1.5px solid #e5e7eb; border-radius: 14px; background: #fff; cursor: pointer;
  text-align: left; font: inherit; color: inherit;
}
.co-method:hover { border-color: #c4b5fd; }
.co-method[aria-checked="true"] { border-color: #6d28d9; background: #faf5ff; }
.co-method-txt { flex: 1; display: flex; flex-direction: column; }
.co-method-txt small { color: #6b7280; font-size: 12.5px; }
.co-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d1d5db; }
.co-method[aria-checked="true"] .co-radio { border: 6px solid #6d28d9; }
.co-method-panel {
  padding: 16px; border: 1.5px solid #e5e7eb; border-radius: 14px; background: #fff;
  display: grid; gap: 12px; animation: co-panel-in .18s ease-out;
}
@keyframes co-panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.co-blik-hint { margin: 0; color: #6b7280; font-size: 12px; text-align: center; }
.co-panel-guarantee { margin: 0; color: #6b7280; font-size: 11px; line-height: 1.5; text-align: center; }
.co-panel-legal { margin: 0; color: #9ca3af; font-size: 10px; line-height: 1.5; text-align: center; }
.co-panel-legal a { color: inherit; text-decoration: underline; }
.co-info { margin: 12px 0 0; font-size: 13.5px; color: #4b5563; }

.co-consent {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px;
  border-radius: 12px; background: #f5f3ff; border: 1px solid #ddd6fe; font-size: 13px; line-height: 1.45; cursor: pointer;
}
.co-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #6d28d9; }
.co-consent a { color: #6d28d9; }

.co-error {
  margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 13px;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
}

.co-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px;
  margin-top: 18px; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 17px/1.2 Inter, sans-serif; color: #fff; background: linear-gradient(90deg, #7c3aed, #db2777);
  box-shadow: 0 10px 24px rgba(219, 39, 119, .3); transition: transform .12s, filter .12s;
}
.co-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.co-method-panel .co-submit { margin-top: 0; }
.co-submit svg { width: 20px; height: 20px; }
.co-submit:disabled { opacity: .7; cursor: progress; transform: none; }

.co-blik-wait {
  margin-top: 14px; padding: 14px; border-radius: 12px; background: #f5f3ff; text-align: center;
  display: flex; flex-direction: column; gap: 4px; font-size: 14px;
}
.co-blik-wait span { color: #6b7280; font-size: 13px; }
.co-blik-cancel { margin-top: 10px; align-self: center; background: #fff; border: 1px solid #c4b5fd; color: #5b21b6; border-radius: 10px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.co-blik-cancel:disabled { opacity: .6; cursor: progress; }
.co-progress { height: 6px; border-radius: 6px; background: #e9e5ff; overflow: hidden; margin-top: 8px; }
.co-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7c3aed, #db2777); animation: co-progress 3s linear forwards; }
@keyframes co-progress { to { width: 100%; } }

.co-fine { margin: 12px 0 0; font-size: 12.5px; color: #6b7280; text-align: center; }
.co-fine-guarantee { color: #047857; font-weight: 600; margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.co-fine-guarantee svg { width: 16px; height: 16px; }
.co-trust { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f0f0f3; text-align: center; }
.co-trust-h { font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.co-trust img { height: 30px; width: auto; max-width: 100%; }
.co-paybox-foot { margin: 12px 0 0; font-size: 12px; color: #6b7280; }
.co-demo { margin: 10px 0 0; padding: 6px 10px; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 12px; text-align: center; }

.co-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px;
  padding: 24px; color: var(--co-muted); font-size: 13px; border-top: 1px solid var(--co-line-soft);
}
.co-footer p { margin: 0; }

/* potwierdzenie */
.co-shell-narrow { display: block; max-width: 720px; }
.pc-card { text-align: center; padding: 40px 36px; }
.pc-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.pc-icon-paid { background: rgba(41, 192, 122, .16); color: var(--co-green); }
.pc-icon-pending { background: rgba(242, 142, 39, .16); color: var(--co-orange); }
.pc-icon-failed { background: rgba(239, 68, 68, .16); color: #f87171; }
.pc-card h1 { font: 800 30px/1.2 K2D, sans-serif; margin: 0 0 10px; }
.pc-card > p { color: var(--co-muted); margin: 0 auto 22px; max-width: 520px; }
.pc-table { width: 100%; border-collapse: collapse; text-align: left; margin: 0 0 22px; }
.pc-table th, .pc-table td { padding: 11px 0; border-top: 1px solid var(--co-line-soft); }
.pc-table th { color: var(--co-muted); font-weight: 500; }
.pc-table td { text-align: right; font-weight: 700; word-break: break-all; }
.pc-next { text-align: left; background: var(--co-surface-2); border-radius: 14px; padding: 16px 18px; margin-bottom: 22px; }
.pc-next h2 { font: 800 17px Outfit, sans-serif; margin: 0 0 6px; }
.pc-next p { margin: 0; color: var(--co-muted); font-size: 14px; }
.pc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 12px; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 15px;
  border: 1.5px solid var(--co-line); color: #fff; background: transparent;
}
.pc-btn-primary { border: 0; background: linear-gradient(90deg, #7c3aed, #db2777); }
.pc-help { margin: 24px 0 0; color: var(--co-muted); font-size: 14px; }
.pc-home { display: inline-block; margin-top: 8px; font-size: 14px; }
.pc-spinner { width: 34px; height: 34px; border: 4px solid rgba(242, 142, 39, .3); border-top-color: var(--co-orange); border-radius: 50%; animation: pc-spin 1s linear infinite; }
@keyframes pc-spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .co-shell { grid-template-columns: 1fr; }
  .co-col-pay { position: static; order: -1; }
}
@media (max-width: 640px) {
  .co-topbar { grid-template-columns: auto 1fr; padding: 10px 16px; }
  .co-secure { display: none; }
  .co-logo { justify-self: end; }
  .co-logo .vbl-logo { font-size: 19px; }
  .co-logo .vbl-logo-mark { width: 32px; height: 32px; }
  .co-shell { padding: 18px 16px 36px; gap: 18px; }
  .co-card { padding: 20px; }
  .co-plan-name { font-size: 24px; }
  .co-features { columns: 1; }
  .co-pay-grid { grid-template-columns: 1fr; }
  .co-paybox { padding: 18px 16px; }
  .pc-card { padding: 30px 20px; }
}
.co-faq > div + div > dt { margin-top: 12px; }
