:root {
  color-scheme: dark;
  --bg: #0d0e12;
  --panel: #17191d;
  --panel-2: #1e2126;
  --panel-3: #23262c;
  --sunken: #0f1115;
  --hairline: rgba(255, 255, 255, .075);
  --hairline-2: rgba(255, 255, 255, .14);
  --text: #e8eaed;
  --muted: #878d97;
  --faint: #5e646d;
  --green: #6effa5;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }

.site {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 24px 28px 32px;
  background: var(--bg);
}

.galaxy-canvas { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; }

.site-header {
  position: sticky;
  top: 24px;
  z-index: 100;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: min(100%, 1000px);
  min-height: 66px;
  margin: 0 auto;
  padding: 10px 10px 10px 27px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 40px;
  background: rgba(17, 18, 23, .68);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.site-nav:hover {
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .34);
}

.language-control {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.glide-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(17, 18, 23, .68);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .1s ease, border-color .3s ease, transform .16s cubic-bezier(.23, 1, .32, 1);
}

.glide-select__trigger:hover,
.glide-select__trigger[aria-expanded="true"] { background: rgba(27, 28, 34, .8); border-color: rgba(255, 255, 255, .16); }
.glide-select__trigger:active { transform: scale(.97); }
.glide-select__trigger svg { width: 16px; height: 16px; flex: none; }

.glide-select__chevron {
  width: 12px;
  height: 12px;
  color: rgba(245, 245, 245, .55);
  transition: transform .2s cubic-bezier(.23, 1, .32, 1);
}

.glide-select__trigger[aria-expanded="true"] .glide-select__chevron { transform: rotate(180deg); }

.glide-select__menu {
  position: absolute;
  right: 0;
  z-index: 120;
  width: max(176px, 100%);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(17, 18, 23, .92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .42);
  opacity: 0;
  transform: scale(.95);
  transform-origin: top right;
  transition: opacity .18s cubic-bezier(.23, 1, .32, 1), transform .18s cubic-bezier(.23, 1, .32, 1);
}

.glide-select__menu[data-state="open"] { opacity: 1; transform: none; }
.glide-select__menu[data-state="closed"] { pointer-events: none; }
.glide-select__menu[data-side="bottom"] { top: calc(100% + 6px); }
.glide-select__menu[data-side="top"] { bottom: calc(100% + 6px); transform-origin: bottom right; }
.glide-select__list { position: relative; display: grid; gap: 1px; touch-action: none; }

.glide-select__pill {
  position: absolute;
  inset: 0 0 auto;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s cubic-bezier(.23, 1, .32, 1), opacity .15s ease;
}

.glide-select__option {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 8px 0 10px;
  border-radius: 6px;
  color: #f5f5f5;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.glide-select__option[aria-selected="true"] { background: rgba(255, 255, 255, .05); }
.glide-select__list[data-live] .glide-select__option[aria-selected="true"] { background: transparent; }
.glide-select__check { visibility: hidden; color: #f5f5f5; }
.glide-select__check svg { display: block; width: 14px; height: 14px; }
.glide-select__option[aria-selected="true"] .glide-select__check { visibility: visible; }
.glide-select__label[data-swap] { animation: gs-swap .16s ease; }
@keyframes gs-swap { from { opacity: .6; filter: blur(2px); } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.055em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s ease;
}

.brand:hover { transform: scale(1.04); }
.brand-mark { display: block; width: 46px; height: 46px; flex: none; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 6px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .055); }
.nav-link:active { transform: translateY(1px); }

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 24px;
  background: #6effa5;
  color: #082215;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-action:hover {
  background: #96ffbe;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(110, 255, 165, .28);
}

.nav-action:active { transform: translateY(0); }

.buy-main { position: relative; z-index: 1; width: min(100%, 1040px); margin: 70px auto 0; }
.purchase-legal-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 22px; }
.purchase-legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.purchase-legal-links a:hover { color: var(--green); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.purchase-grid { display: grid; grid-template-columns: minmax(0, 468fr) minmax(0, 634fr); gap: 20px; }
.purchase-card { display: flex; flex-direction: column; min-height: 520px; min-width: 0; padding: 28px; border: 1px solid #2a2d33; border-radius: 10px; scroll-margin-top: 150px; animation: fadeUp .6s ease both; }
.license-card { color: #fff; }
.license-card h1 { margin: 0; padding-bottom: 20px; border-bottom: 1px solid #2a2d33; font-size: 22px; font-weight: 600; line-height: 30px; }
.license-price { display: block; margin-top: 20px; color: #fff; font-size: 44px; font-weight: 600; line-height: 54px; }
.license-summary { margin: 10px 0 0; color: #ffffff99; font-size: 14px; font-weight: 400; line-height: 22px; }
.check-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; min-height: 24px; color: #fff; font-size: 14px; font-weight: 400; line-height: 22px; }
.check-list li::before { width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14' cy='14' r='14' fill='%236EFFA5'/%3E%3Cpath d='M8.5 14.125L12.3749 18L19.9999 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; content: ''; }
.config-status { margin: auto 0 0; padding-top: 24px; color: #ffffff99; font-size: 13px; line-height: 20px; }
.contact-card { background: #fff; color: #0d0e12; }
.contact-card h2 { margin: 0; color: #0d0e12; font-size: 22px; font-weight: 600; line-height: 30px; }
.contact-description { margin: 10px 0 0; color: #656a73; font-size: 14px; font-weight: 400; line-height: 22px; }
.qr-frame { display: grid; place-items: center; flex: none; width: min(100%, 288px); aspect-ratio: 1; margin: 20px auto 0; border: 1px solid #ededed; border-radius: 10px; background: #fff; overflow: hidden; }
.qr-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder { display: grid; place-items: center; width: 100%; height: 100%; padding: 16px; color: #656a73; font-size: 14px; line-height: 22px; text-align: center; }
.wechat-row { display: flex; align-items: center; gap: 8px; width: min(100%, 288px); min-height: 56px; margin: 20px auto 0; padding: 6px 6px 6px 16px; border-radius: 10px; background: #ededed; color: #5e6571; font-size: 14px; font-weight: 600; line-height: 22px; text-align: left; }
.wechat-row > span { flex: none; white-space: nowrap; }
.wechat-row strong { min-width: 0; flex: 1; overflow-wrap: anywhere; color: #0d0e12; font-weight: 600; }
.wechat-row button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #747b86; transition: color .18s ease, transform .18s ease; }
.wechat-row button svg { width: 24px; height: 24px; }
.wechat-row button:hover { color: #454b55; }
.wechat-row button:active { transform: scale(.96); }
.delivery-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; min-height: 68px; margin-top: 20px; padding: 18px 28px; border: 1px solid #2a2d33; border-radius: 10px; color: #fff; animation: fadeUp .6s ease .25s both; }
.license-card, .delivery-card, .support-tile { border-color: rgba(255, 255, 255, .08); background: rgba(17, 18, 23, .35); box-shadow: 0 12px 40px rgba(0, 0, 0, .28); backdrop-filter: blur(6px) saturate(160%); -webkit-backdrop-filter: blur(6px) saturate(160%); transition: border-color .3s ease, box-shadow .3s ease; }
.license-card:hover, .delivery-card:hover, .support-tile:hover { border-color: rgba(255, 255, 255, .16); box-shadow: 0 14px 44px rgba(0, 0, 0, .34); }
.delivery-card h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.delivery-steps { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; margin: 0; padding: 0; list-style: none; }
.delivery-steps li { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 24px; font-size: 14px; font-weight: 400; line-height: 22px; }
.delivery-steps .delivery-arrow { flex: none; justify-content: center; width: 20px; color: var(--green); }
.delivery-arrow svg { display: block; width: 20px; height: 20px; }
.delivery-step-icon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; color: var(--green); }
.delivery-step-icon svg { display: block; width: 24px; height: 24px; }
a:focus-visible, button:focus-visible { outline: 2px solid #6effa5; outline-offset: 3px; }
@media (max-width: 1360px) {
  .language-control { position: relative; top: auto; right: auto; width: max-content; margin: 12px 0 0 auto; transform: none; }
  .buy-main { margin-top: 62px; }
}
@media (max-width: 1177px) {
  .delivery-card { grid-template-columns: 1fr; gap: 16px; }
  .delivery-steps { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 16px; }
  .delivery-arrow:nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  .purchase-grid { grid-template-columns: 1fr; }
  .purchase-card { min-height: 0; }
}
@media (max-width: 680px) {
  .site { padding: 16px 16px 28px; }
  .site-header { top: 16px; }
  .site-nav { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 10px 12px; border-radius: 26px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; gap: 2px; }
  .nav-link { flex: 1; min-width: 0; padding: 8px 6px; }
  .nav-action { padding: 0 12px; }
  .buy-main { margin-top: 42px; }
  .purchase-card { padding: 24px; }
  .license-card h1, .contact-card h2 { font-size: 20px; }
  .license-card h1 { padding-bottom: 20px; }
  .license-price { margin-top: 20px; font-size: 38px; line-height: 48px; }
  .check-list { margin-top: 28px; }
  .delivery-card { padding: 24px; }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps .delivery-arrow { display: flex; margin-left: 2px; transform: rotate(90deg); }
}
@media (max-width: 360px) {
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-action { padding: 0 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .galaxy-canvas { display: none; }
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
