/* Checkout — charcoal left / white right (site system) */
:root {
  --ink: #000000;
  --charcoal: #111111;
  --panel: #161616;
  --line: #2a2a2a;
  --muted: #a3a3a3;
  --white: #ffffff;
  --soft: #f6f6f6;
  --border: #e5e5e5;
  --font: "Inter", system-ui, sans-serif;
  --pp-blue: #003087;
  --pp-sky: #009cde;
  --rzp: #072654;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.ck-body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.ck-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.ck-left {
  background: var(--charcoal);
  color: var(--white);
  padding: 40px 48px 48px;
  display: flex;
  flex-direction: column;
}

.ck-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
}
.ck-back:hover { color: var(--white); }

.ck-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 28px;
}
.ck-brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.ck-kicker { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.ck-price-hero {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  line-height: 1.1;
}

.ck-test {
  display: none;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: #e5e5e5;
  background: #1a1a1a;
}
.ck-test.on { display: block; }
.ck-test.ck-trust {
  border-color: #2f2f2f;
  color: #d4d4d4;
  background: #141414;
}
.ck-test.ck-practice {
  border-color: #3f3a1a;
  color: #f5e8a3;
  background: #1a180e;
}

.ck-currency {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.ck-currency button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ck-currency button.active {
  background: var(--white);
  color: var(--ink);
}
.ck-fx-note { color: #777; font-size: 12px; margin: 0 0 24px; }

.ck-plan-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ck-plan-pills button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ck-plan-pills button.active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.ck-product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 28px;
}
.ck-product-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ck-product-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ck-product h2 { margin: 0 0 4px; font-size: 16px; }
.ck-product p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ck-product-price {
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.ck-annual {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.ck-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.ck-switch input { opacity: 0; width: 0; height: 0; }
.ck-switch span {
  position: absolute; inset: 0; background: #333; border-radius: 999px; cursor: pointer;
}
.ck-switch span::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 3px;
  transition: 0.2s;
}
.ck-switch input:checked + span { background: #fff; }
.ck-switch input:checked + span::after { transform: translateX(18px); background: #111; }

.ck-breakdown { margin-top: auto; }
.ck-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
}
.ck-row strong { color: #fff; font-weight: 600; }
.ck-row.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 16px;
  color: #fff;
}
.ck-row.total strong { font-size: 20px; font-weight: 800; }

.ck-right {
  background: var(--white);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.ck-right h1 {
  font-size: 22px;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.ck-express { display: grid; gap: 12px; margin-bottom: 18px; }

.ck-btn {
  appearance: none;
  border: 0;
  border-radius: 4px;
  padding: 14px 16px;
  min-height: 48px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: filter 120ms ease-out, box-shadow 120ms ease-out, transform 120ms ease-out;
}
.ck-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ck-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* Official PayPal gold checkout button */
.ck-btn-paypal {
  background: #ffc439;
  color: #003087;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.ck-btn-paypal:hover:not(:disabled) { filter: brightness(0.97); }
.ck-btn-paypal:active:not(:disabled) { filter: brightness(0.94); }

/* Official Razorpay mark on light button (logo colors need light bg) */
.ck-btn-rzp {
  background: #ffffff;
  color: #072654;
  border: 1px solid #d6d9de;
  box-shadow: 0 1px 0 rgba(7, 38, 84, 0.06);
}
.ck-btn-rzp:hover:not(:disabled) { background: #f7f8fa; }
.ck-btn-rzp:active:not(:disabled) { background: #eef0f3; }

.ck-btn-dark { background: #111; color: #fff; }
.ck-btn-dark:hover:not(:disabled) { filter: brightness(1.08); }

.ck-brand-logo {
  display: block;
  height: 26px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}
.ck-brand-logo-pp { height: 24px; }
.ck-brand-logo-rzp { height: 28px; }

.ck-or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #888;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 6px 0 18px;
}
.ck-or::before, .ck-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ck-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.ck-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  font: inherit;
  font-size: 15px;
  margin-bottom: 18px;
}
.ck-input:focus { outline: 2px solid #111; outline-offset: 1px; }

.ck-card-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--soft);
  margin-bottom: 14px;
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ck-card-box .ck-brand-logo { height: 22px; flex-shrink: 0; }
.ck-card-box strong { color: #111; }

.ck-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 14px 0 20px;
  color: #333;
}

.ck-legal {
  margin-top: 18px;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}
.ck-legal a { color: #111; }
.ck-powered {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: #999;
  flex-wrap: wrap;
}
.ck-powered img {
  height: 18px;
  width: auto;
  opacity: 0.9;
}
.ck-status {
  margin-top: 14px;
  font-size: 13px;
  color: #666;
  min-height: 1.2em;
}
.ck-status.error { color: #b42318; }
.ck-status.ok { color: #027a48; }

.ck-success-wrap {
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 8vh auto;
  text-align: center;
}
.ck-success { text-align: center; padding: 24px 0; }
.ck-success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 22px;
  font-weight: 700;
}
.ck-success-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #027a48;
}
.ck-success h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}
.ck-success-lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: #444;
}
.ck-success-steps {
  text-align: left;
  margin: 0 auto 20px;
  padding: 16px 16px 16px 36px;
  max-width: 420px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.ck-success-steps li + li { margin-top: 10px; }
.ck-success-cta {
  display: inline-flex;
  min-width: 260px;
  justify-content: center;
  margin-top: 4px;
}
.ck-success-test {
  color: #b45309;
  font-size: 13px;
  margin: 0 0 16px;
}
.ck-success-meta {
  margin: 18px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.ck-success-meta code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  word-break: break-all;
}
.ck-success-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #888;
}
.ck-success-home {
  margin-top: 20px;
}
.ck-success-home a {
  color: #666;
  font-size: 13px;
}
.ck-success .ck-key {
  font-family: ui-monospace, monospace;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
  word-break: break-all;
}

@media (max-width: 900px) {
  .ck-shell { grid-template-columns: 1fr; }
  .ck-left { padding: 28px 24px; }
  .ck-right { padding: 28px 24px 40px; max-width: none; }
}
