:root {
  color-scheme: dark;
  --page-bg: #0d0f14;
  --panel: #13161c;
  --panel-soft: #171a21;
  --panel-strong: #10131a;
  --line: #2b3340;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #9da8b9;
  --muted-deep: #748095;
  --blue: #1769e0;
  --blue-light: #73aaff;
  --green: #46d39a;
  --danger: #fca5a5;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 4%, rgba(24, 92, 198, 0.2), transparent 30%),
    radial-gradient(circle at 12% 26%, rgba(23, 105, 224, 0.08), transparent 24%),
    var(--page-bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 16px auto 0;
  padding: 0 12px 0 20px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #252b35;
  border-radius: 19px;
  background: rgba(13, 15, 20, 0.9);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 7px 16px rgba(23, 105, 224, 0.25);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-copy b {
  letter-spacing: 0.04em;
  font-size: 18px;
}

.brand-copy em {
  color: #8994a6;
  font-size: 12px;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #b6bfcc;
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav-links a:hover {
  color: var(--blue-light);
}

.nav-links .nav-cta {
  padding: 12px 18px;
  color: #fff;
  border-radius: 12px;
  background: var(--blue);
  font-weight: 700;
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: #2f7dff;
  transform: translateY(-1px);
}

.theme-toggle {
  display: flex;
  width: 48px;
  height: 30px;
  flex: none;
  padding: 3px;
  align-items: center;
  justify-content: space-between;
  color: #8390a4;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #f2f5f9;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.theme-toggle span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
}

.theme-toggle svg {
  width: 13px;
  height: 13px;
}

.theme-toggle .sun {
  color: #f59e0b;
  background: #fff;
  box-shadow: 0 2px 7px rgba(30, 50, 80, 0.15);
}

.theme-toggle .moon {
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle {
  color: #aab4c2;
  border-color: #343b47;
  background: #1b1f27;
}

html[data-theme="dark"] .theme-toggle .sun {
  color: #6f7a8c;
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle .moon {
  color: #fff;
  background: #2b6edb;
  box-shadow: 0 2px 8px rgba(23, 105, 224, 0.4);
}

.page-shell {
  overflow: hidden;
}

.purchase-hero {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 48px;
  text-align: center;
}

.purchase-hero h1 {
  margin: 0;
  letter-spacing: -0.05em;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.12;
}

.purchase-hero h1 strong {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #72adff 5%, #2f7dff 54%, #83bcff 96%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.error-tip {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 24px;
  padding: 14px 18px;
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  text-align: center;
  font-size: 14px;
}

.checkout-wrap {
  position: relative;
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto 112px;
  scroll-margin-top: 108px;
}

.checkout-wrap::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -190px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 105, 224, 0.18), transparent 68%);
}

.checkout-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 22, 28, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.checkout-form {
  min-width: 0;
  padding: 34px;
}

.checkout-heading > span {
  color: #88b9ff;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

.checkout-heading h2 {
  margin: 10px 0 8px;
  font-size: 25px;
  line-height: 1.35;
}

.checkout-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.checkout-fields {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.field-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.field-row > label,
.field-label {
  padding-top: 14px;
  color: #f2f5fa;
  font-size: 14px;
  font-weight: 700;
}

.field-control {
  display: grid;
  gap: 7px;
}

.field-control small {
  color: #718096;
  font-size: 11px;
}

.payment-row {
  align-items: center;
}

.payment-row .field-label {
  padding-top: 0;
}

.trial-hint {
  margin: 21px 0 0;
  color: #8290a4;
  font-size: 12px;
  line-height: 1.75;
}

.trial-hint a,
.unavailable-checkout a {
  color: #9bc3ff;
}

.trial-hint a {
  margin: 0 4px;
  font-weight: 700;
}

.order-summary {
  display: flex;
  min-width: 0;
  padding: 34px 28px;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(47, 125, 255, 0.13), transparent 38%),
    var(--panel-soft);
}

.summary-badge {
  align-self: flex-start;
  padding: 6px 10px;
  color: #d7e7ff;
  border: 1px solid rgba(82, 145, 255, 0.35);
  border-radius: 999px;
  background: rgba(47, 125, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
}

.order-summary h2 {
  margin: 16px 0 0;
  font-size: 22px;
}

.summary-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #dce8fb;
  font-size: 13px;
  line-height: 1.55;
}

.summary-list li::before {
  content: "✓";
  flex: none;
  color: var(--green);
  font-weight: 900;
}

.summary-total {
  display: flex;
  margin-top: auto;
  padding: 21px 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.summary-total span {
  color: #dbe3ef;
  font-size: 14px;
}

.summary-total strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  line-height: 1;
}

.unavailable-checkout .checkout-form,
.unavailable-checkout .order-summary {
  min-height: 270px;
}

.email-field {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  outline: none;
  background: rgba(8, 11, 18, 0.74);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.email-field::placeholder {
  color: #718096;
}

.email-field:focus {
  border-color: #4d91ff;
  box-shadow: 0 0 0 3px rgba(47, 125, 255, 0.12);
}

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

.pay-option {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #aebbd0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(8, 11, 18, 0.64);
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pay-option input {
  accent-color: var(--blue);
}

.pay-option.selected {
  color: #fff;
  border-color: #4d91ff;
  background: rgba(47, 125, 255, 0.13);
}

.action-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid #4d8cf5;
  border-radius: 11px;
  background: var(--blue);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: background 0.18s, transform 0.18s;
}

.action-button:hover {
  background: #4d91ff;
  transform: translateY(-1px);
}

.action-button.secondary {
  color: #dce8fb;
  border-color: rgba(255, 255, 255, 0.13);
  background: #222936;
}

.action-button.secondary:hover {
  background: #2a3343;
}

.action-button.disabled {
  opacity: 0.65;
  background: #334155;
  border-color: #475569;
  cursor: not-allowed;
  transform: none;
}

.purchase-notice {
  margin: 12px 0 0;
  color: #8290a4;
  font-size: 11px;
  line-height: 1.7;
}

.purchase-notice a,
.site-footer a {
  color: #9bc3ff;
}

.purchase-notice a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1000px;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--line-soft);
}

.assurance div {
  padding: 18px;
  background: rgba(16, 19, 26, 0.94);
  text-align: center;
}

.assurance b {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.assurance span {
  color: var(--muted-deep);
  font-size: 11px;
}

.content-section {
  padding: 96px 20px;
}

.content-section.alt {
  background: #10131a;
}

.section-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-tag {
  color: #79adff;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 800;
}

.section-head h2 {
  margin: 13px 0 10px;
  letter-spacing: -0.04em;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.process-step span {
  display: block;
  margin-bottom: 30px;
  color: #4d91ff;
  font-size: 13px;
  font-weight: 800;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.process-step p {
  margin: 0;
  color: #929dae;
  font-size: 12px;
  line-height: 1.7;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  padding: 23px 4px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #e5e8ee;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: #8490a2;
  font-size: 23px;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  color: var(--blue-light);
  transform: rotate(45deg);
}

.faq-item p {
  margin: -4px 34px 23px 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer {
  padding: 64px max(5vw, 24px) 24px;
  color: #fff;
  background: #080a0e;
}

.footer-top,
.footer-bottom {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand-copy {
  margin: 19px 0 7px;
  color: #b1bac8;
  font-size: 13px;
}

.footer-studio {
  color: #667085;
  font-size: 11px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 28px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links b {
  margin-bottom: 3px;
  font-size: 12px;
}

.footer-links a {
  color: #8d99aa;
  font-size: 11px;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  margin-top: 48px;
  padding-top: 21px;
  justify-content: space-between;
  gap: 20px;
  color: #667085;
  border-top: 1px solid #252f3f;
  font-size: 10px;
  line-height: 1.7;
}

html[data-theme="light"] {
  color-scheme: light;
  --page-bg: #ffffff;
  --panel: #ffffff;
  --panel-soft: #f5f8fc;
  --panel-strong: #eef3f9;
  --line: #e3eaf3;
  --line-soft: rgba(16, 24, 40, 0.08);
  --text: #101828;
  --muted: #667085;
  --muted-deep: #7b8798;
  --blue-light: #1769e0;
  --green: #0f9f6e;
  --danger: #b42318;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 4%, rgba(24, 92, 198, 0.12), transparent 30%),
    radial-gradient(circle at 12% 26%, rgba(23, 105, 224, 0.06), transparent 24%),
    var(--page-bg);
}

html[data-theme="light"] body::before {
  opacity: 0.28;
  background-image: linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
}

html[data-theme="light"] .site-nav {
  border-color: #dce4ef;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 42px rgba(30, 50, 80, 0.14);
}

html[data-theme="light"] .brand-copy em,
html[data-theme="light"] .nav-links,
html[data-theme="light"] .field-control small,
html[data-theme="light"] .trial-hint,
html[data-theme="light"] .purchase-notice,
html[data-theme="light"] .process-step p {
  color: #667085;
}

html[data-theme="light"] .checkout-panel {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(30, 50, 80, 0.14);
}

html[data-theme="light"] .checkout-heading > span,
html[data-theme="light"] .section-tag,
html[data-theme="light"] .process-step span,
html[data-theme="light"] .trial-hint a,
html[data-theme="light"] .unavailable-checkout a,
html[data-theme="light"] .purchase-notice a {
  color: #1769e0;
}

html[data-theme="light"] .field-row > label,
html[data-theme="light"] .field-label,
html[data-theme="light"] .summary-list li,
html[data-theme="light"] .summary-total span,
html[data-theme="light"] .faq-item summary {
  color: #344054;
}

html[data-theme="light"] .order-summary {
  background:
    radial-gradient(circle at 100% 0, rgba(47, 125, 255, 0.1), transparent 38%),
    var(--panel-soft);
}

html[data-theme="light"] .summary-badge {
  color: #175cd3;
  border-color: rgba(23, 105, 224, 0.24);
  background: rgba(23, 105, 224, 0.08);
}

html[data-theme="light"] .summary-total strong {
  color: #101828;
}

html[data-theme="light"] .email-field {
  color: #101828;
  border-color: #d0d9e5;
  background: #fff;
}

html[data-theme="light"] .email-field::placeholder {
  color: #98a2b3;
}

html[data-theme="light"] .pay-option {
  color: #475467;
  border-color: #d0d9e5;
  background: #fff;
}

html[data-theme="light"] .pay-option.selected {
  color: #175cd3;
  border-color: #4d91ff;
  background: rgba(47, 125, 255, 0.08);
}

html[data-theme="light"] .action-button.secondary {
  color: #344054;
  border-color: #d0d9e5;
  background: #eef3f9;
}

html[data-theme="light"] .action-button.secondary:hover {
  background: #e4ebf4;
}

html[data-theme="light"] .assurance div {
  background: rgba(255, 255, 255, 0.96);
}

html[data-theme="light"] .content-section.alt {
  background: #f5f8fc;
}

@media (max-width: 860px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .purchase-hero {
    padding-top: 82px;
  }

  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .order-summary {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-nav {
    top: 10px;
    width: calc(100% - 20px);
    height: 62px;
    margin-top: 10px;
    padding-left: 14px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-copy b {
    font-size: 16px;
  }

  .brand-copy em {
    display: none;
  }

  .nav-links .nav-cta {
    padding: 10px 13px;
    font-size: 12px;
  }

  .nav-links {
    gap: 9px;
  }

  .purchase-hero {
    width: calc(100% - 28px);
    padding: 70px 0 42px;
  }

  .purchase-hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .checkout-wrap {
    width: calc(100% - 24px);
    margin-bottom: 72px;
  }

  .checkout-panel {
    border-radius: 19px;
  }

  .checkout-form,
  .order-summary {
    padding: 25px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field-row > label,
  .field-label,
  .payment-row .field-label {
    padding-top: 0;
  }

  .summary-total strong {
    font-size: 28px;
  }

  .assurance {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 72px 16px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step span {
    margin-bottom: 18px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer-bottom span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .action-button,
  .nav-links a {
    transition: none;
  }
}
