:root { color-scheme: dark; font-family: Inter, Montserrat, system-ui, -apple-system, Segoe UI, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; color: #f6f6ff; background: radial-gradient(circle at 17% 0%, #2b2453 0, transparent 35%), radial-gradient(circle at 100% 12%, #172b46 0, transparent 30%), #0d1020; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.checkout-header { max-width: 1210px; margin: auto; padding: 21px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand img { display: block; width: 170px; max-height: 48px; object-fit: contain; object-position: left; }
.checkout-header-note { font-size: 13px; color: #cac9db; letter-spacing: .02em; }
.checkout-header-note span { color: #91edcf; padding-right: 6px; }
.checkout-shell { max-width: 1210px; margin: auto; padding: 40px 28px 90px; }
.checkout-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.back-link { color: #c5c2e8; text-decoration: none; font-size: 14px; }
.back-link:hover { color: #fff; }
.step-label, .section-mark, .summary-tag { font-size: 11px; letter-spacing: .14em; font-weight: 800; color: #a49bed; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(295px, .8fr); gap: 24px; align-items: start; }
.payment-panel, .order-panel { background: rgba(22,24,46,.92); border: 1px solid rgba(166,157,245,.2); border-radius: 22px; box-shadow: 0 28px 90px rgba(0,0,0,.19); }
.payment-panel { padding: clamp(24px, 4vw, 44px); }
.payment-panel h1 { margin: 12px 0 6px; font-size: clamp(31px, 4vw, 43px); letter-spacing: -.035em; }
.lead { margin: 0 0 28px; color: #b9bbd2; line-height: 1.55; max-width: 610px; }
.period-title { font-size: 16px; margin: 0 0 12px; }
.checkout-cycle-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-cycle-picker button { text-align: left; border: 1px solid #555472; border-radius: 13px; background: #11152b; color: #f6f6ff; padding: 14px; transition: border-color .2s, background .2s; }
.checkout-cycle-picker strong, .checkout-cycle-picker span { display: block; }
.checkout-cycle-picker strong { font-size: 16px; }
.checkout-cycle-picker span { margin-top: 6px; font-size: 12px; color: #b9bbd2; line-height: 1.4; }
.checkout-cycle-picker b { margin-left: 4px; font-size: 11px; color: #a8edce; }
.checkout-cycle-picker button:hover, .checkout-cycle-picker button[aria-pressed="true"] { background: #2b254b; border-color: #aa97ff; }
.checkout-cycle-picker button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #aa97ff; }
.checkout-cycle-picker button:focus-visible { outline: 3px solid #b1a7ff; outline-offset: 3px; }
.checkout-cycle-picker button:disabled { opacity: .65; cursor: progress; }
.checkout-period { margin-bottom: 25px; }
.alert { padding: 12px 15px; border-radius: 12px; line-height: 1.45; margin: 0 0 22px; font-size: 14px; }
.alert-info { background: rgba(117,98,231,.13); border: 1px solid rgba(141,124,255,.25); color: #dad6ff; }
.alert-error { background: rgba(219,83,94,.11); border: 1px solid rgba(250,125,128,.35); color: #ffc1c5; }
.alert-error a { color: #fff; text-decoration: underline; }
.pending-discard { display: block; margin-top: 12px; padding: 9px 12px; }
.email-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 9px; }
.email-row { display: flex; gap: 10px; }
.email-row input { width: 100%; min-width: 0; border: 1px solid #555472; border-radius: 11px; padding: 13px 15px; color: #fff; background: #11152b; outline: 0; }
.email-row input:focus { border-color: #a594fb; box-shadow: 0 0 0 3px rgba(147,122,240,.17); }
.small-button { padding: 0 16px; border: 1px solid #676289; border-radius: 11px; color: #f1eeff; background: #24233f; }
.small-button:hover { background: #313052; }
.checkout-reminder { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #68618088; border-radius: 12px; color: #d7d0e6; font-size: 13px; line-height: 1.5; }
.checkout-reminder input { flex: none; margin-top: 3px; width: 18px; height: 18px; accent-color: #b298ef; }
.checkout-reminder small { display: block; color: #a9a0bd; margin-top: 4px; }
.field-help, .security-caption { font-size: 12px; color: #aaaac2; line-height: 1.5; margin: 9px 0 25px; }
.section-title { margin: 30px 0 13px; font-size: 18px; }
.method-list { display: grid; gap: 11px; }
.method { width: 100%; display: flex; align-items: center; gap: 15px; text-align: left; color: #f8f7ff; background: #1b1d37; border: 1px solid #454462; border-radius: 14px; padding: 16px; }
.method:hover, .method[aria-pressed="true"] { border-color: #a696fa; background: #25233f; }
.method[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #a696fa; }
.method-icon { display: grid; place-items: center; flex: none; height: 39px; width: 43px; border-radius: 9px; color: #d7d0ff; background: #3a345f; font-size: 23px; }
.method-icon.method-mp { font-size: 13px; font-weight: 900; color: #041a26; background: #7bd8f3; }
.method strong, .method small { display: block; }
.method strong { font-size: 14px; }
.method small { color: #b4b4ca; margin-top: 4px; font-size: 12px; line-height: 1.4; }
.method-chevron { margin-left: auto; font-size: 25px; color: #b4aecb; }
.method-pane { margin-top: 22px; padding-top: 23px; border-top: 1px solid #3a3a55; }
.pane-heading { margin: 0 0 15px; font-size: 16px; font-weight: 700; }
.muted { color: #b4b5ca; line-height: 1.5; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 11px; padding: 15px 22px; font-weight: 800; color: #130d29; background: #b5a4ff; text-decoration: none; }
.primary-button:hover { background: #c9beff; }
.primary-button:disabled { opacity: .6; cursor: progress; }
.payment-result { text-align: center; padding: 34px 6px 16px; }
.result-icon { margin: auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #0b3029; background: #93edc9; font-size: 28px; font-weight: 900; }
.payment-result h2 { margin: 19px 0 8px; }
.payment-result p { color: #b9bbd2; line-height: 1.55; max-width: 490px; margin: 0 auto 24px; }
.order-panel { padding: 29px; position: sticky; top: 20px; }
.order-panel h2 { margin: 13px 0 3px; font-size: 24px; }
.order-panel > .muted { margin: 0; font-size: 13px; }
.summary-divider { height: 1px; background: #42415c; margin: 23px 0; }
.summary-line, .summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.summary-line { color: #c1bfd3; margin: 13px 0; font-size: 14px; }
.summary-line strong { color: #efeeff; white-space: nowrap; }
.discount-line, .discount-line strong { color: #a8edce; }
.summary-total { font-weight: 700; }
.summary-total strong { font-size: 26px; color: #fff; white-space: nowrap; }
.renewal-note { font-size: 12px; line-height: 1.5; color: #abaac4; margin: 12px 0 0; }
.trust-box { display: flex; gap: 12px; border-radius: 12px; background: rgba(161,148,244,.09); border: 1px solid rgba(161,148,244,.16); padding: 13px; margin-top: 25px; }
.trust-box span { color: #a8edce; font-size: 23px; }
.trust-box p { margin: 0; color: #c4c4dc; font-size: 12px; line-height: 1.5; }
@media (max-width: 800px) { .checkout-grid { grid-template-columns: 1fr; } .order-panel { grid-row: 1; position: static; } .checkout-shell { padding-top: 24px; } }
@media (max-width: 520px) { .checkout-header { padding: 17px; } .brand img { width: 135px; } .checkout-shell { padding: 20px 15px 65px; } .payment-panel, .order-panel { border-radius: 16px; } .payment-panel { padding: 21px; } .order-panel { padding: 21px; } .step-label { display: none; } .email-row { flex-direction: column; } .small-button { padding: 12px; } .method { padding: 12px; } }
@media (max-width: 640px) { .checkout-cycle-picker { grid-template-columns: minmax(0, 1fr); } }
