:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { background: #06101d; }
body { margin: 0; color: #ecf4ff; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.promo-body { min-height: 100vh; background: var(--page-bg, #07111f); }
.promo-shell { width: min(100%, 760px); min-height: 100vh; margin: 0 auto; background: var(--page-bg, #07111f); box-shadow: 0 0 80px rgba(0,0,0,.22); }
.promo-picture { display: block; width: 100%; background: #050b13; }
.promo-poster { display: block; width: 100%; }
.promo-poster-contain { height: auto; object-fit: contain; }
.promo-poster-cover { max-height: 78vh; object-fit: cover; }
.promo-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-content: center;
  padding: clamp(48px, 10vw, 96px) clamp(24px, 8vw, 72px);
  background:
    radial-gradient(circle at 15% 20%, rgba(28,126,255,.35), transparent 28%),
    radial-gradient(circle at 84% 68%, rgba(44,215,190,.18), transparent 30%),
    linear-gradient(145deg, #07101d 0%, #0c2f5f 48%, #09223b 100%);
}
.promo-placeholder::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.11); pointer-events: none; }
.promo-kicker, .eyebrow, .claim-eyebrow { color: #78b7ff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.promo-placeholder h1 { width: min(660px, 100%); margin: 16px 0 18px; font-size: clamp(38px, 7vw, 74px); line-height: 1.06; letter-spacing: -.04em; }
.promo-placeholder p { width: min(560px, 100%); margin: 0; color: #bdd0e7; font-size: clamp(16px, 2vw, 20px); line-height: 1.8; }
.promo-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.promo-trust span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(5,12,22,.24); color: #dcecff; font-size: 12px; }
.purchase-section { padding: 16px 14px 22px; background: var(--page-bg, #07111f); }
.payment-entry { display: grid; justify-items: center; padding: 0; text-align: center; }
.payment-entry h2 { margin: 8px 0 7px; font-size: clamp(24px, 4vw, 34px); letter-spacing: -.025em; }
.payment-entry > p { margin: 0 0 20px; color: #90a8c2; font-size: 14px; }
.payment-launch { width: min(88%, 300px); min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 16px; border: 0; border-radius: 11px; background: var(--buy-color, #1677ff); color: var(--buy-text, #fff); box-shadow: 0 9px 24px rgba(13,104,230,.25); cursor: pointer; text-align: center; }
.payment-launch strong { font-size: 16px; }
.payment-launch > span { display: flex; align-items: center; gap: 9px; opacity: .9; font-size: 13px; font-weight: 650; }
.payment-launch b { font-size: 17px; font-weight: 500; }
.payment-launch:focus-visible { outline: 3px solid rgba(122,187,255,.7); outline-offset: 3px; }
.payment-entry .secure-label { margin-top: 15px; }
.purchase-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.purchase-heading h2 { margin: 6px 0 0; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
.secure-label { padding: 7px 10px; border-radius: 999px; background: rgba(45,210,159,.1); color: #60e2b5; font-size: 12px; white-space: nowrap; }
.plan-list { display: grid; gap: 12px; }
.plan-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 20px; border: 1px solid rgba(163,195,231,.14); border-radius: 16px; background: rgba(255,255,255,.035); }
.plan-card.is-featured { border-color: rgba(45,135,255,.7); background: linear-gradient(135deg, rgba(28,115,241,.16), rgba(255,255,255,.04)); box-shadow: 0 10px 34px rgba(3,66,151,.18); }
.plan-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plan-title-row h3 { margin: 0; font-size: 18px; }
.plan-badge { padding: 4px 8px; border-radius: 999px; background: #1677ff; color: #fff; font-size: 11px; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin-top: 10px; }
.plan-price > span { color: #74b6ff; font-size: 14px; }
.plan-price strong { font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.plan-price del { margin-left: 7px; color: #657b94; font-size: 13px; }
.plan-copy p { margin: 12px 0 0; color: #90a9c4; font-size: 13px; line-height: 1.55; }
.buy-button, .primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--buy-color, #1677ff); color: var(--buy-text, #fff); font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(13,104,230,.28); }
.buy-button:hover, .primary-action:hover { filter: brightness(1.08); }
.buy-button:focus-visible, .primary-action:focus-visible { outline: 3px solid rgba(122,187,255,.7); outline-offset: 3px; }
.buy-button:disabled { background: #233447; color: #7890a9; box-shadow: none; cursor: not-allowed; }
.purchase-status { min-height: 22px; margin: 14px 0 2px; color: #83bfff; text-align: center; font-size: 13px; }
.purchase-status.is-error { color: #ff9b9b; }
.purchase-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; color: #849ab3; font-size: 12px; }
.purchase-steps li { display: flex; align-items: center; justify-content: center; gap: 7px; }
.purchase-steps span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: #b9d8f8; }
.promo-footer { padding: 24px 20px 34px; color: #688098; text-align: center; font-size: 12px; line-height: 1.7; }
.promo-footer p { margin: 3px 0; }
.plan-dialog { width: min(calc(100% - 28px), 680px); max-height: min(88vh, 780px); padding: 0; border: 0; border-radius: 20px; background: transparent; color: #ecf4ff; overflow: visible; }
.plan-dialog::backdrop { background: rgba(1,7,14,.72); backdrop-filter: blur(5px); }
.plan-dialog-frame { max-height: min(88vh, 780px); overflow-y: auto; padding: clamp(20px, 4vw, 28px); border: 1px solid rgba(151,193,238,.18); border-radius: 20px; background: #0b1a2d; box-shadow: 0 30px 90px rgba(0,0,0,.46); }
.plan-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.plan-dialog-header h2 { margin: 6px 0 5px; font-size: clamp(24px, 5vw, 31px); letter-spacing: -.025em; }
.plan-dialog-header p { margin: 0; color: #8fa6c0; font-size: 13px; }
.plan-dialog-close { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.06); color: #d9e8f8; font-size: 24px; line-height: 1; }
.plan-dialog-note { margin: 8px 0 0; color: #738ba4; text-align: center; font-size: 12px; }
body:has(.plan-dialog[open]) { overflow: hidden; }

.claim-body { min-height: 100vh; background: radial-gradient(circle at 50% 0%, #123d72 0, #071421 42%, #050b12 100%); }
.claim-shell { width: min(100% - 28px, 520px); margin: 0 auto; padding: clamp(40px, 9vh, 90px) 0 32px; }
.claim-card { padding: clamp(26px, 6vw, 42px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(8,22,38,.94); box-shadow: 0 26px 70px rgba(0,0,0,.34); text-align: center; }
.claim-card h1 { margin: 13px 0 10px; font-size: clamp(26px, 7vw, 36px); letter-spacing: -.03em; }
.claim-card > p { margin: 0; color: #93abc3; line-height: 1.7; }
.claim-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; background: rgba(45,210,159,.14); color: #67e3b7; font-size: 25px; font-weight: 800; }
.claim-icon.demo { background: rgba(42,126,255,.14); color: #71b7ff; }
.claim-icon.error { background: rgba(255,88,88,.13); color: #ff9292; }
.browser-guide { margin-top: 24px; }
.browser-steps { display: grid; gap: 9px; margin-bottom: 18px; text-align: left; }
.browser-steps span { padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,.045); color: #bdcde0; font-size: 13px; }
.code-box { margin-top: 26px; padding: 22px; border: 1px solid rgba(103,179,255,.35); border-radius: 14px; background: rgba(23,113,235,.09); }
.code-box > span { display: block; color: #88a3c0; font-size: 12px; }
.code-box strong { display: block; margin: 12px 0 18px; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(22px, 6vw, 30px); letter-spacing: .05em; overflow-wrap: anywhere; }
.claim-actions { margin-top: 12px; }
.claim-actions .primary-action { width: 100%; }
.claim-instructions { margin-top: 18px !important; font-size: 13px; }
.claim-security { color: #60788f; text-align: center; font-size: 12px; }
.demo-amount { margin: 22px 0; color: #fff; font-size: 42px; font-weight: 800; }

@media (max-width: 640px) {
  .promo-shell { box-shadow: none; }
  .promo-poster { width: 100%; height: auto !important; max-height: none; object-fit: contain; }
  .promo-placeholder { min-height: 430px; }
  .purchase-heading { display: block; }
  .secure-label { display: inline-block; margin-top: 12px; }
  .plan-card { grid-template-columns: 1fr; gap: 15px; padding: 17px; }
  .buy-button { width: 100%; }
  .purchase-section { padding: 13px 10px 18px; }
  .payment-launch { width: min(86%, 280px); min-height: 46px; }
  .plan-dialog { width: 100%; max-height: 90vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .plan-dialog-frame { max-height: 90vh; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .purchase-steps { grid-template-columns: 1fr; justify-items: start; width: max-content; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .buy-button, .primary-action, .payment-launch { transition: transform .18s ease, filter .18s ease; }
  .buy-button:hover, .primary-action:hover, .payment-launch:hover { transform: translateY(-1px); filter: brightness(1.06); }
}
