[hidden] { display: none !important; }
html.i18n-pending body,
html.boot-pending body { visibility: hidden; }
html, body {
  margin: 0;
  min-height: 100%;
  font: 15px/1.55 "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #e6edf5;
  background: #0e141b;
}
* { box-sizing: border-box; }

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(61, 126, 184, .22), transparent 60%),
    #0e141b;
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--landing-bg, url("/img/landing-power-bg.jpg")) right center / cover no-repeat;
  opacity: .32;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 18%, rgba(0,0,0,.35) 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0 18%, rgba(0,0,0,.35) 48%, #000 100%);
}
.nav,
.content,
.foot {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8vw;
  border-bottom: 1px solid #2a3848;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e6edf5;
  font-weight: 700;
  text-decoration: none;
  font-size: 17px;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a,
.nav-links button {
  color: #8a9bb0;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links button:hover { color: #e6edf5; }
.lang-switch {
  color: #e6edf5;
  background: #121a24;
  border: 1px solid #2a3848;
  border-radius: 6px;
  padding: 4px 8px;
  font: inherit;
  cursor: pointer;
}

.content {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 8vw 72px;
}

.hero {
  padding: 80px 0 72px;
  max-width: 720px;
}
.kicker {
  margin: 0 0 14px;
  color: #4d90cc;
  letter-spacing: .12em;
  font-size: 12px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.28;
  font-weight: 700;
}
.lead {
  margin: 0;
  color: #8a9bb0;
  font-size: 16px;
  line-height: 1.7;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #3d7eb8;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #4d90cc; }
.btn-ghost {
  background: transparent;
  border-color: #2a3848;
  color: #e6edf5;
}
.btn-ghost:hover { background: #1e2a38; }

.mods {
  padding-top: 48px;
  border-top: 1px solid #2a3848;
}
.mods h2 {
  margin: 0 0 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #8a9bb0;
}
.mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 64px;
  row-gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mod-grid li { min-width: 0; }
.mod-grid h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
}
.mod-grid p {
  margin: 0;
  color: #8a9bb0;
  font-size: 14px;
  line-height: 1.7;
}

.pricing-lead {
  margin: 0 0 24px;
  color: #8a9bb0;
  font-size: 14px;
  line-height: 1.75;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.pricing-grid li {
  background: #121a24;
  border: 1px solid #2a3848;
  border-radius: 10px;
  padding: 16px 18px;
}
.pricing-grid h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}
.pricing-grid p {
  margin: 0;
  color: #8a9bb0;
  font-size: 14px;
  line-height: 1.75;
}
.pricing-card {
  width: min(520px, 100%);
  padding: 26px 28px 28px;
}
.pricing-card .dl-head { margin-bottom: 16px; }
.pricing-card .cta { margin-top: 28px; }
.foot-link {
  color: #8a9bb0;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
.foot-link:hover { color: #e6edf5; }
.contact-block p { margin: 0 0 8px; }
.contact-page {
  max-width: 560px;
  padding: 56px 0 32px;
}
.contact-page h1 {
  margin: 0 0 12px;
  font-size: 28px;
}
.contact-page .lead {
  margin: 0 0 28px;
  color: #8a9bb0;
  line-height: 1.7;
}
.contact-card {
  background: rgba(23, 31, 42, .72);
  border: 1px solid #2a3848;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.contact-page .cta { margin-top: 24px; }

#support-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 10, 16, .72);
}
.support-card {
  width: min(440px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #171f2a;
  border: 1px solid #2a3848;
  border-radius: 12px;
  padding: 22px 24px 24px;
  display: grid;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.support-card h1 { margin: 0; font-size: 18px; }
.support-card label { display: grid; gap: 4px; font-size: 12px; color: #8a9bb0; }
.support-card input,
.support-card select,
.support-card textarea {
  border: 1px solid #2a3848;
  border-radius: 6px;
  padding: 8px 10px;
  background: #121a24;
  color: #e6edf5;
  font: inherit;
}
.support-card .captcha-row { display: flex; gap: 8px; align-items: stretch; }
.support-card .captcha-row input { flex: 1; min-width: 0; }
.support-card .captcha-row button {
  padding: 0;
  background: #121a24;
  color: #e6edf5;
  border: 1px solid #2a3848;
  border-radius: 6px;
  line-height: 0;
}
.support-card .captcha-row button:hover { background: #1e2a38; }
.support-actions { display: flex; gap: 10px; }
.support-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: #3d7eb8;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.support-card button:hover { background: #4d90cc; }
.support-card button.ghost {
  background: #121a24;
  border-color: #2a3848;
  color: #e6edf5;
}
.support-card button.ghost:hover { background: #1e2a38; }
.support-card .error { color: #f07167; margin: 0; }
.support-card .muted { color: #8a9bb0; margin: 0; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  padding: 10px 16px;
  border-top: 1px solid #2a3848;
  text-align: center;
  font-size: 12px;
}
.foot a {
  color: #8a9bb0;
  text-decoration: none;
}
.foot a:hover { color: #e6edf5; }
.foot-ver { color: #8a9bb0; margin-left: 12px; }
.dl-card .muted { color: #8a9bb0; font-size: 13px; margin: 0 0 12px; }

.dl {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}
.dl-mask {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 16, .72);
}
.dl-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #171f2a;
  border: 1px solid #2a3848;
  border-radius: 12px;
  padding: 22px 24px 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.dl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dl-head h2 { margin: 0; font-size: 18px; }
.dl-close {
  background: none;
  border: 0;
  color: #8a9bb0;
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}
.dl-close:hover { color: #e6edf5; }
.dl-card h3 { margin: 0 0 8px; font-size: 15px; }
.dl-card p {
  margin: 0;
  color: #8a9bb0;
  line-height: 1.6;
}
.dl-card .cta { margin-top: 20px; }

@media (max-width: 900px) {
  .hero h1 { font-size: 32px; }
  .mod-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 36px;
  }
  .contact-page { padding-top: 36px; }
  .contact-page h1 { font-size: 24px; }
  .pricing-card { padding: 22px 20px 24px; }
}
@media (max-width: 560px) {
  .page::before {
    opacity: .16;
    -webkit-mask-image: linear-gradient(180deg, transparent 0 6%, rgba(0,0,0,.4) 36%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0 6%, rgba(0,0,0,.4) 36%, #000 100%);
  }
  .nav { padding: 14px 20px; flex-wrap: wrap; gap: 10px; }
  .content { padding: 0 20px 48px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 26px; }
  .mod-grid { grid-template-columns: 1fr; }
}
