* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: linear-gradient(180deg, #0b1020 0%, #121a33 100%);
  color: #f5f7ff;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}
a { text-decoration: none; }
main, header, footer { position: relative; z-index: 1; }
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.45;
  animation: float 16s ease-in-out infinite;
}
.orb-1 {
  width: 360px;
  height: 360px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(91,140,255,0.85) 0%, rgba(91,140,255,0) 70%);
}
.orb-2 {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 140px;
  background: radial-gradient(circle, rgba(123,97,255,0.75) 0%, rgba(123,97,255,0) 70%);
  animation-delay: -5s;
}
.orb-3 {
  width: 320px;
  height: 320px;
  left: 28%;
  bottom: 60px;
  background: radial-gradient(circle, rgba(58,209,255,0.55) 0%, rgba(58,209,255,0) 70%);
  animation-delay: -10s;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 85%);
  opacity: 0.35;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(8, 13, 24, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 22px rgba(0,0,0,0.16);
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #c8d2ee;
  font-size: 15px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #ffffff; }
.lang-switcher {
  position: relative;
}
.lang-switch {
  min-width: 76px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #e7eeff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
}
[hidden] {
  display: none !important;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 140px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 16, 30, 0.96);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  display: grid;
  gap: 6px;
}
.lang-menu button {
  border: 0;
  background: rgba(255,255,255,0.03);
  color: #d7e1fb;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.lang-menu button:hover,
.lang-menu button.active {
  background: linear-gradient(135deg, #4e6fd1, #6280d8);
  color: #fff;
}
.hero { padding: 88px 0 64px; }
.hero.guide-hero { padding: 72px 0 30px; }
.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ced8f5;
  font-size: 14px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 0 0 18px;
}
.hero.guide-hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 0 0 14px; }
.subtitle {
  max-width: 760px;
  font-size: 18px;
  color: #b9c4e3;
  margin-bottom: 28px;
}
.hero.guide-hero .subtitle { font-size: 17px; margin-bottom: 0; }
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #4e6fd1, #6280d8);
  color: #fff;
  box-shadow: 0 12px 30px rgba(58, 82, 138, 0.28);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #eef2ff;
}
.btn:hover { transform: translateY(-1px); }
.panel,
.sidebar,
.content-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.panel { padding: 24px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.card h3,
.content-card h2 {
  margin: 0 0 10px;
}
.card h3 { font-size: 20px; }
.section { padding: 24px 0 64px; }
.section h2 {
  font-size: 30px;
  margin: 0 0 12px;
}
.section p,
.section li,
.content-card p { color: #c4cfe9; font-size: 16px; }
ul { margin: 0; padding-left: 20px; }
.notice {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d8e2fb;
}
.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0 64px;
}
.sidebar {
  padding: 18px;
  position: sticky;
  top: 96px;
  height: fit-content;
}
.sidebar h3 {
  margin: 6px 0 14px;
  font-size: 16px;
  color: #eef2ff;
}
.menu-list { display: flex; flex-direction: column; gap: 10px; }
.menu-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: #d7e1fb;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.menu-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.content { display: grid; gap: 18px; }
.content-card { padding: 26px; }
.content-card h2 { font-size: 26px; }
.content-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tab-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}
.tab-button {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: #dfe7ff;
  cursor: pointer;
  font: inherit;
  transition: 0.2s ease;
}
.tab-button:hover,
.tab-button.active {
  background: linear-gradient(135deg, #4e6fd1, #6280d8);
  color: #fff;
  box-shadow: 0 10px 24px rgba(58, 82, 138, 0.22);
}
.tab-panel {
  margin-top: 10px;
}
.guide-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 18px;
}
.guide-button-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.guide-button-card .tab-button {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.guide-button-card p {
  margin: 0;
  color: #c4cfe9;
  font-size: 15px;
  line-height: 1.8;
}
.guide-inline-note {
  margin-top: 8px;
}
.tab-panel[hidden] {
  display: none;
}
.detail-main {
  padding-bottom: 64px;
}
.detail-card {
  padding: 30px;
}
.detail-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}
.detail-card h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}
.code-block {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
  color: #d8e2fb;
  white-space: pre-wrap;
  font-family: Consolas, Monaco, monospace;
  line-height: 1.6;
  overflow-x: auto;
}
.feature-image {
  margin: 0 0 22px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.placeholder {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
  color: #9fb0d9;
  font-size: 15px;
}
.guide-summary {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(98, 128, 216, 0.12);
  border: 1px solid rgba(98, 128, 216, 0.24);
  color: #dfe8ff;
}
.guide-summary strong {
  display: block;
  color: #ffffff;
  margin-bottom: 6px;
}
.guide-summary p {
  margin: 0;
}
.guide-summary-warn {
  background: rgba(255, 193, 7, 0.10);
  border-color: rgba(255, 193, 7, 0.24);
}
.steps-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.step-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
}
.step-item p {
  margin: 4px 0 0;
}
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4e6fd1, #6280d8);
  color: #fff;
  font-weight: 700;
}
.note-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.note-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d8e2fb;
}
.note-item strong {
  color: #ffffff;
}
.inline-mark {
  color: #ffffff;
  background: rgba(98, 128, 216, 0.2);
  border: 1px solid rgba(98, 128, 216, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.faq-list {
  display: grid;
  gap: 18px;
}
.faq-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}
.faq-card-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.faq-card-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}
.faq-card-body p {
  margin: 0 0 10px;
}
.faq-card-body p:last-child {
  margin-bottom: 0;
}
.faq-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(98, 128, 216, 0.14);
  border: 1px solid rgba(98, 128, 216, 0.24);
  color: #dfe8ff;
  font-size: 13px;
}
.faq-link {
  color: #9fc1ff;
  word-break: break-all;
}
.faq-notice {
  margin-top: 18px;
}
footer {
  padding: 24px 0 40px;
  color: #93a0c9;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { gap: 12px; }
  .note-grid { grid-template-columns: 1fr; }
  .guide-button-grid { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .step-index { width: 32px; height: 32px; }
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(40px, 30px, 0) scale(1.08); }
  50% { transform: translate3d(-20px, 60px, 0) scale(0.96); }
  75% { transform: translate3d(30px, -20px, 0) scale(1.04); }
}
