:root {
  color-scheme: dark;
  --bg: #01040a;
  --panel: rgba(7, 15, 28, 0.74);
  --panel-strong: rgba(10, 23, 40, 0.88);
  --line: rgba(130, 200, 255, 0.22);
  --line-hot: rgba(255, 195, 91, 0.62);
  --text: #f4f8ff;
  --muted: rgba(218, 231, 250, 0.68);
  --soft: rgba(218, 231, 250, 0.48);
  --gold: rgba(255, 195, 91, 0.96);
  --cyan: #37e7ff;
  --green: #5dffd3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 184, 76, 0.08), transparent 22%),
    radial-gradient(circle at 76% 18%, rgba(55, 231, 255, 0.09), transparent 24%),
    linear-gradient(120deg, #01040a 0%, #030913 56%, #01040a 100%);
  overflow-x: hidden;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(112, 178, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 178, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at 8% 94%, rgba(255, 184, 76, 0.08), transparent 28%);
}

.topbar,
.content,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(28px, 5vw, 74px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-size: 23px;
  font-weight: 760;
}

.mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.22),
    0 0 42px rgba(55, 231, 255, 0.18);
}

.nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  color: rgba(220, 235, 255, 0.72);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.nav a {
  position: relative;
  line-height: 1;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 16px;
  height: 1px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: rgba(255, 195, 91, 0.92);
  box-shadow: 0 0 14px rgba(255, 184, 76, 0.64);
  transition: transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: rgba(255, 195, 91, 0.95);
  text-shadow: 0 0 16px rgba(255, 184, 76, 0.32);
  outline: none;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.signal {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 220px;
  color: rgba(211, 245, 255, 0.66);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.content {
  width: min(1180px, calc(100vw - 56px));
  margin: 42px auto 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

.official-line {
  margin-bottom: 12px;
  color: #fff3bf;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 18px rgba(255, 195, 91, 0.42),
    0 0 36px rgba(255, 195, 91, 0.2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, #ffb84c, transparent);
  box-shadow: 0 0 16px rgba(255, 184, 76, 0.72);
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  font-weight: 830;
  letter-spacing: 0;
  text-shadow:
    0 0 30px rgba(55, 126, 255, 0.34),
    0 0 80px rgba(55, 231, 255, 0.2);
}

.gold {
  color: var(--gold);
  text-shadow:
    0 0 18px rgba(255, 184, 76, 0.42),
    0 0 34px rgba(255, 184, 76, 0.18);
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.7;
}

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

.stat,
.card,
.table-panel,
.doc-card,
.faq-item {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--panel);
  box-shadow:
    0 0 34px rgba(55, 231, 255, 0.06),
    inset 0 0 24px rgba(120, 209, 255, 0.04);
  backdrop-filter: blur(14px);
}

.stat {
  min-height: 96px;
  padding: 16px;
  border-radius: 8px;
}

.stat-highlight {
  border-color: rgba(255, 195, 91, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 195, 91, 0.2), rgba(93, 255, 211, 0.08) 48%, rgba(255, 255, 255, 0.035)),
    var(--panel-strong);
  box-shadow:
    0 0 42px rgba(255, 195, 91, 0.15),
    inset 0 0 24px rgba(255, 195, 91, 0.08);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: clamp(22px, 2.1vw, 26px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.stat-highlight strong {
  color: #fff3bf;
  font-size: clamp(28px, 3vw, 38px);
  text-shadow: 0 0 24px rgba(255, 195, 91, 0.38);
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
}

.rate-emphasis {
  color: #fff3bf;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(255, 195, 91, 0.34);
}

.section {
  margin-top: 32px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.table-panel {
  overflow: hidden;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid rgba(130, 200, 255, 0.14);
  text-align: left;
  vertical-align: top;
}

th {
  color: rgba(211, 245, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(9, 24, 42, 0.72);
}

td {
  color: rgba(236, 246, 255, 0.88);
  line-height: 1.45;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.model {
  display: block;
  color: #fff;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 195, 91, 0.32);
  border-radius: 999px;
  color: var(--gold);
  font-size: 11px;
}

.price-main {
  display: block;
  color: #fff4c7;
  font-weight: 800;
}

.price-sub {
  color: var(--soft);
  font-size: 12px;
}

.save {
  color: #6cffd9;
  font-weight: 800;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 780;
  letter-spacing: 0.04em;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 5px;
  opacity: 0.94;
}

.btn.primary {
  color: #130b03;
  border-color: rgba(255, 207, 106, 0.72);
  box-shadow: 0 0 28px rgba(255, 178, 43, 0.32);
}

.btn.primary::before {
  background: linear-gradient(135deg, #fff1a5, #ffb22b 52%, #ff7b1c);
}

.btn.secondary {
  color: rgba(231, 246, 255, 0.94);
  border-color: rgba(120, 209, 255, 0.42);
  box-shadow: 0 0 26px rgba(55, 231, 255, 0.16);
}

.btn.secondary::before {
  background:
    linear-gradient(135deg, rgba(22, 42, 68, 0.68), rgba(5, 12, 24, 0.72)),
    linear-gradient(90deg, rgba(55, 231, 255, 0.12), rgba(255, 184, 76, 0.1));
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 16, 29, 0.72);
}

.toc a {
  display: block;
  padding: 9px 0;
  color: rgba(220, 235, 255, 0.72);
  font-size: 14px;
}

.toc a:hover {
  color: var(--gold);
}

.doc-stack {
  display: grid;
  gap: 16px;
}

.doc-card {
  padding: 24px;
  border-radius: 8px;
}

.doc-start {
  border-color: rgba(255, 195, 91, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 195, 91, 0.15), rgba(93, 255, 211, 0.08) 46%, rgba(255, 255, 255, 0.035)),
    var(--panel-strong);
  box-shadow:
    0 0 44px rgba(255, 195, 91, 0.14),
    0 0 34px rgba(93, 255, 211, 0.08),
    inset 0 0 24px rgba(255, 195, 91, 0.07);
}

.doc-start h2 {
  color: #fff3bf;
  font-size: clamp(30px, 3vw, 42px);
  text-shadow: 0 0 24px rgba(255, 195, 91, 0.28);
}

.doc-start ol {
  margin: 18px 0 0;
  padding-left: 24px;
}

.doc-start li {
  padding: 7px 0;
  font-size: 17px;
}

.doc-start strong {
  color: #fff3bf;
  font-weight: 950;
  text-shadow: 0 0 18px rgba(255, 195, 91, 0.28);
}

.doc-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.doc-card p,
.doc-card li {
  color: var(--muted);
  line-height: 1.7;
}

.endpoint,
pre {
  margin: 14px 0 0;
  padding: 16px;
  border: 1px solid rgba(255, 195, 91, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #dff7ff;
  overflow-x: auto;
}

code,
pre {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: 8px;
}

.faq-item h2 {
  margin: 0;
  font-size: 20px;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  width: min(1180px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 0 0 38px;
  color: rgba(183, 229, 255, 0.48);
  font-size: 13px;
}

.footer-with-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.friend-link {
  color: rgba(183, 229, 255, 0.36);
  text-decoration: none;
  white-space: nowrap;
}

.friend-link:hover {
  color: rgba(183, 229, 255, 0.72);
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    padding: 24px 22px;
  }

  .brand,
  .signal {
    min-width: 0;
  }

  .signal {
    display: none;
  }

  .content {
    width: min(100% - 36px, 720px);
    margin-top: 32px;
  }

  .hero,
  .docs-layout {
    grid-template-columns: 1fr;
  }

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

  .toc {
    position: static;
  }

  table {
    min-width: 760px;
  }

  .table-panel {
    overflow-x: auto;
  }

  .footer-with-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 46px;
  }

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

  .btn {
    width: 100%;
  }
}
