:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --text: #111827;
  --muted: #64748b;
  --line: #dbe4ee;
  --green: #18b761;
  --green-dark: #0f9f52;
  --green-soft: #e9fbf1;
  --blue: #0b63ce;
  --paypal: #ffc439;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}


button,
input,
select,
textarea {
  font: inherit;
}

.checkout-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 28px;
}

.checkout-panel,
.security-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 228, 238, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.checkout-panel {
  border-radius: 28px;
  padding: 32px;
}

.checkout-header {
  margin-bottom: 24px;
}

.eyebrow,
.paddle-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(24, 183, 97, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

.checkout-header p,
.security-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.order-summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, var(--panel-soft));
}

.order-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.summary-label,
.summary-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-price {
  text-align: right;
  white-space: nowrap;
}

.payment-stack {
  display: grid;
  gap: 18px;
}

.paypal-button,
.checkout-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.paypal-button {
  min-height: 76px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: #111827;
  background: linear-gradient(180deg, #ffd96b, var(--paypal));
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(255, 196, 57, 0.28);
}

.paypal-button:hover,
.checkout-button:hover {
  transform: translateY(-2px);
}

.paypal-button:focus-visible,
.checkout-button:focus-visible {
  outline: 4px solid rgba(24, 183, 97, 0.24);
  outline-offset: 3px;
}

.paypal-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
}

.paypal-mark svg {
  width: 32px;
  height: 32px;
}

.button-copy {
  text-align: left;
}

.button-copy strong,
.button-copy small {
  display: block;
}

.button-copy strong {
  font-size: 17px;
}

.button-copy small {
  margin-top: 3px;
  color: rgba(17, 24, 39, 0.66);
  font-weight: 600;
}

.arrow {
  font-size: 24px;
  font-weight: 800;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.or-divider::before,
.or-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.paddle-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
}

.paddle-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.paddle-kicker {
  margin-bottom: 10px;
  padding: 6px 10px;
  font-size: 11px;
}

.paddle-card h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 11px;
  color: var(--green-dark);
  background: #ffffff;
  border: 1px solid rgba(24, 183, 97, 0.24);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.secure-pill svg,
.checkout-button svg,
.trust-item svg,
.security-panel svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secure-pill svg {
  width: 17px;
  height: 17px;
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pay-chip {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #172033;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pay-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 183, 97, 0.38);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.method-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
}

.method-icon svg {
  width: 18px;
  height: 18px;
}

.apple {
  color: #111827;
  background: #f1f5f9;
}

.apple svg {
  fill: currentColor;
}

.google {
  color: #4285f4;
  background: #eef5ff;
  font-weight: 900;
}

.card {
  color: #0f766e;
  background: #ecfdf5;
}

.card svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.checkout-button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  border-radius: 16px;
  box-shadow: 0 3px 0px rgba(24, 183, 97, 0.34);
  font-size: 18px;
  font-weight: 900;
}

.checkout-button:hover {
  box-shadow: 0 5px 0px rgba(24, 183, 97, 0.42);
}

.checkout-button svg {
  width: 21px;
  height: 21px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.trust-item {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--green-dark);
}

.security-panel {
  border-radius: 26px;
  padding: 28px;
}

.shield-badge {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(24, 183, 97, 0.2);
  border-radius: 20px;
}

.shield-badge svg {
  width: 36px;
  height: 36px;
}

.security-panel h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.15;
}

.security-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.security-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 700;
}

.security-list span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 5px var(--green-soft);
}

@media (max-width: 900px) {
  .checkout-shell {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .security-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .checkout-shell {
    width: min(100% - 20px, 1120px);
    padding: 10px 0;
  }

  .checkout-panel,
  .security-panel {
    border-radius: 22px;
    padding: 8px;
  }

  h1 {
    font-size: 34px;
  }

  .order-summary,
  .paddle-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-price {
    text-align: left;
  }

  .pay-methods,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .paypal-button {
    grid-template-columns: auto 1fr;
  }

  .paypal-button .arrow {
    display: none;
  }

  .or-divider {
    text-align: center;
    font-size: 12px;
  }

  .paddle-card h2,
  .security-panel h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
