* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0a0e1a;
  color: #e8ecf5;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.9;
  font-weight: 400;
}

a { color: #37e6d0; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Sidebar (desktop) ---------- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 248px;
  background: #101526;
  border-right: 1px solid rgba(55, 230, 208, .18);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  overflow-y: auto;
}
.site-brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .5px;
  color: #ff2e63;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 20px;
}
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-nav a {
  padding: 11px 14px;
  border-radius: 8px;
  color: #9aa6bd;
  font-size: 15px;
  transition: all .2s ease;
}
.side-nav a:hover { color: #e8ecf5; background: rgba(255, 46, 99, .10); }
.side-nav a.active { color: #ff2e63; background: rgba(255, 46, 99, .14); font-weight: 700; }
.side-note {
  margin-top: 18px;
  font-size: 13px;
  color: #5d6a85;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 16px;
}

/* ---------- Main content ---------- */
.content {
  margin-left: 248px;
  max-width: 980px;
  padding: 40px 44px 60px;
}
.section { scroll-margin-top: 24px; padding: 30px 0; }
h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ff2e63;
  margin-bottom: 10px;
}
#subtitle { font-size: 18px; color: #37e6d0; font-weight: 700; margin-bottom: 20px; }
h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 16px;
  border-left: 4px solid #ff2e63;
  padding-left: 14px;
  color: #e8ecf5;
}
h3 { font-size: 19px; font-weight: 700; color: #37e6d0; margin: 22px 0 10px; }
.lead { color: #9aa6bd; margin-bottom: 22px; }
.hero-summary { color: #c7d0e2; margin-bottom: 22px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all .2s ease;
}
.btn-primary { background: #ff2e63; color: #fff; }
.btn-primary:hover { box-shadow: 0 0 18px rgba(255, 46, 99, .55); transform: translateY(-1px); }
.btn-ghost { border: 1px solid #37e6d0; color: #37e6d0; }
.btn-ghost:hover { background: rgba(55, 230, 208, .12); }
.hero-img { border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); }

.block-img { border-radius: 12px; margin: 8px 0 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 14px 0 10px; }
.card {
  background: #131a2c;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 18px 18px;
}
.card h3 { color: #ff2e63; margin-bottom: 6px; font-size: 17px; }
.card p { color: #9aa6bd; font-size: 15px; }

.steps, .checklist { padding-left: 22px; color: #c7d0e2; }
.steps li, .checklist li { margin-bottom: 8px; }

.table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.table th, .table td { border: 1px solid rgba(255, 255, 255, .1); padding: 10px 12px; text-align: left; font-size: 15px; }
.table th { background: #131a2c; color: #ff2e63; }
.table td { color: #c7d0e2; }

.longtail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.longtail-grid a {
  background: #131a2c;
  border: 1px solid rgba(55, 230, 208, .25);
  border-radius: 10px;
  padding: 12px 14px;
  color: #e8ecf5;
  font-size: 15px;
  transition: all .2s ease;
}
.longtail-grid a:hover { border-color: #ff2e63; color: #ff2e63; transform: translateY(-2px); }

.faq dt { font-weight: 700; color: #ff2e63; margin-top: 14px; }
.faq dd { color: #9aa6bd; margin-left: 0; padding-left: 2px; }

.footer {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 22px;
  color: #5d6a85;
  font-size: 14px;
  text-align: center;
}
.footer a { color: #37e6d0; }

/* ---------- Mobile menu controls (hidden on desktop) ---------- */
.menu-toggle, .drawer-mask { display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  body.lock { overflow: hidden; }
  .menu-toggle {
    display: block;
    position: fixed;
    top: 12px; left: 12px;
    z-index: 50;
    width: 42px; height: 42px;
    border: 1px solid rgba(55, 230, 208, .4);
    border-radius: 10px;
    background: rgba(16, 21, 38, .9);
    color: #37e6d0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
  }
  .drawer-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 25;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .drawer-mask.show { opacity: 1; pointer-events: auto; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: 6px 0 30px rgba(0, 0, 0, .5);
    border-right: none;
  }
  .sidebar.open { transform: translateX(0); }
  .content { margin-left: 0; padding: 54px 16px 40px; max-width: none; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  #subtitle { font-size: 16px; }
  .section { padding: 22px 0; }
  .cards { grid-template-columns: 1fr; }
  .btn { padding: 10px 16px; font-size: 14px; }
  .table { font-size: 13px; }
  .table th, .table td { padding: 8px; }
  .longtail-grid { grid-template-columns: 1fr; }
}
