.checkout-page { min-height: 100vh; color: #fff; background: var(--ink); }
.checkout-header { position: relative; z-index: 5; border-bottom: 1px solid rgba(255,255,255,.1); }
.checkout-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.back-link { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; font-weight: 800; }
.back-link:hover { color: var(--lime); }
.checkout-main { position: relative; overflow: hidden; min-height: calc(100vh - 160px); padding: 76px 0 92px; }
.checkout-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; gap: 22px; }
.order-card, .trust-panel { border-radius: 34px; }
.order-card { padding: clamp(32px, 5vw, 64px); color: var(--ink); background: var(--paper); }
.order-card .eyebrow { color: #5c5d68; }
.order-card .eyebrow span { background: var(--blue); }
.order-card h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: .98; letter-spacing: -.065em; }
.checkout-intro { max-width: 620px; margin: 24px 0 34px; color: var(--muted); font-size: 17px; }
.order-summary { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 20px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.course-thumb { width: 82px; height: 82px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; place-items: center; padding: 10px; color: var(--ink); background: var(--lime); border-radius: 17px; transform: rotate(-2deg); }
.course-thumb span { grid-row: 1 / -1; font-size: 34px; }
.course-thumb b { align-self: end; font-size: 24px; line-height: 1; }
.course-thumb small { align-self: start; font-size: 8px; text-transform: uppercase; }
.order-info small, .order-info strong, .order-info span { display: block; }
.order-info small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.order-info strong { margin-top: 5px; font-size: 22px; line-height: 1.2; }
.order-info span { color: var(--muted); font-size: 13px; }
.order-price { text-align: right; }
.order-price strong, .order-price small { display: block; }
.order-price strong { font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.order-price small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.checkout-status { display: flex; align-items: center; gap: 10px; margin: 24px 0 14px; color: var(--muted); font-size: 13px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #e6af3c; box-shadow: 0 0 0 5px rgba(230,175,60,.15); }
.status-ready .status-dot { background: #35a16b; box-shadow: 0 0 0 5px rgba(53,161,107,.15); }
.status-error { color: #9d3d31; }
.status-error .status-dot { background: var(--coral); box-shadow: 0 0 0 5px rgba(255,118,87,.15); }
.checkout-button { width: 100%; min-height: 60px; margin-top: 4px; }
.checkout-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.checkout-help { margin: 13px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.checkout-legal { max-width: 620px; margin: 10px auto 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.checkout-legal a { color: inherit; text-decoration-color: rgba(92,93,104,.42); text-underline-offset: 2px; }
.checkout-legal a:hover { color: var(--blue); }
.checkout-error { color: #9d3d31; font-weight: 800; }
.trust-panel { display: flex; flex-direction: column; padding: clamp(32px, 5vw, 58px); color: #fff; background: linear-gradient(155deg, #5765ff, #3542df); box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.trust-sticker { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; color: var(--ink); background: var(--lime); border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; transform: rotate(-2deg); }
.trust-sticker span { display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: var(--ink); border-radius: 50%; }
.trust-panel h2 { max-width: 480px; margin: 30px 0 34px; font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.055em; }
.trust-panel ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.trust-panel li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.trust-panel li > span { color: var(--lime); font-size: 11px; font-weight: 900; }
.trust-panel li strong { display: block; }
.trust-panel li p { margin: 4px 0 0; color: rgba(255,255,255,.68); font-size: 13px; }
.accepted-methods { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 34px; }
.accepted-methods span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; font-size: 10px; font-weight: 850; }
.checkout-glow { position: absolute; border-radius: 50%; opacity: .25; }
.checkout-glow-one { width: 520px; height: 520px; top: -250px; left: -180px; background: var(--blue); }
.checkout-glow-two { width: 460px; height: 460px; right: -230px; bottom: -220px; background: var(--coral); }
.checkout-footer { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); background: #080917; }
.checkout-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.checkout-footer nav { display: flex; gap: 20px; }
.checkout-footer a, .checkout-footer button { padding: 0; color: inherit; background: none; border: 0; text-decoration: none; cursor: pointer; }
.checkout-footer a:hover, .checkout-footer button:hover { color: var(--lime); }

@media (max-width: 900px) {
  .checkout-main { padding-top: 44px; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .checkout-header-inner { min-height: 68px; }
  .brand > span:last-child { display: none; }
  .order-card, .trust-panel { border-radius: 25px; }
  .order-summary { grid-template-columns: 66px 1fr; }
  .course-thumb { width: 66px; height: 66px; }
  .order-price { grid-column: 2; text-align: left; }
  .checkout-footer-inner { align-items: flex-start; flex-direction: column; }
  .checkout-footer nav { flex-wrap: wrap; gap: 10px 16px; }
}
