* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; background: #070B18; color: #F2F5FF; line-height: 1.8; }

/* ---- Sidebar (desktop: fixed left) ---- */
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 264px; background: rgba(17,26,52,.72); backdrop-filter: blur(14px); border-right: 1px solid rgba(122,92,255,.28); display: flex; flex-direction: column; padding: 34px 22px; z-index: 50; overflow-y: auto; }
.sidebar .brand { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 26px; font-weight: 700; color: #F2F5FF; letter-spacing: 2px; margin-bottom: 30px; }
.side-nav { display: flex; flex-direction: column; gap: 10px; }
.side-nav a { display: block; padding: 10px 14px; color: rgba(242,245,255,.72); text-decoration: none; font-size: 15px; border-radius: 8px; border-left: 2px solid transparent; transition: all .25s; }
.side-nav a:hover { color: #F5C86B; border-left-color: #7A5CFF; background: rgba(122,92,255,.08); }
.side-sig { margin-top: auto; font-size: 12px; color: rgba(242,245,255,.38); padding-top: 20px; }

/* ---- Nav toggle + overlay (mobile) ---- */
.nav-toggle { display: none; position: fixed; top: 14px; left: 14px; z-index: 70; padding: 10px 16px; background: rgba(17,26,52,.88); color: #F2F5FF; border: 1px solid rgba(122,92,255,.4); border-radius: 8px; font-size: 15px; cursor: pointer; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(7,11,24,.55); z-index: 45; }
.nav-overlay.show { display: block; }

/* ---- Main ---- */
.main { margin-left: 264px; }
.section { scroll-margin-top: 24px; padding: 60px 56px; max-width: 980px; }
.section h2 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 28px; color: #F2F5FF; margin-bottom: 18px; letter-spacing: 1px; position: relative; padding-left: 16px; }
.section h2::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: linear-gradient(#7A5CFF,#38D6E8); border-radius: 2px; }
.section h3 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 20px; color: #F5C86B; margin: 22px 0 10px; }
.section p { margin-bottom: 14px; color: rgba(242,245,255,.82); }
.section img { width: 100%; max-width: 100%; height: auto; border-radius: 12px; margin: 14px 0 20px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.section ul { margin: 0 0 16px 20px; }
.section li { margin-bottom: 8px; color: rgba(242,245,255,.82); }
strong { color: #F2F5FF; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { border: 1px solid rgba(122,92,255,.28); padding: 10px 12px; text-align: left; }
th { background: rgba(122,92,255,.14); color: #F2F5FF; }
td { color: rgba(242,245,255,.8); }
details { background: rgba(17,26,52,.4); border: 1px solid rgba(122,92,255,.22); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
summary { cursor: pointer; color: #F2F5FF; font-weight: 600; }
details p { margin: 10px 0 0; }

/* ---- Hero ---- */
.hero { position: relative; padding: 0; max-width: none; min-height: 92vh; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; margin: 0; box-shadow: none; border-radius: 0; }
.hero-cover { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,11,24,.2), rgba(7,11,24,.92)); }
.hero-body { position: relative; z-index: 1; padding: 70px 56px; max-width: 760px; }
.hero h1 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 58px; font-weight: 700; letter-spacing: 6px; color: #F2F5FF; margin-bottom: 8px; text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.hero #subtitle { font-size: 18px; color: #F5C86B; margin-bottom: 22px; letter-spacing: 1px; }
.hero-lead { font-size: 17px; color: rgba(242,245,255,.88); margin-bottom: 26px; }
.hero-stats { display: flex; gap: 28px; margin: 0 0 30px; flex-wrap: wrap; }
.hero-stats div { background: rgba(17,26,52,.65); border: 1px solid rgba(122,92,255,.3); padding: 14px 20px; border-radius: 10px; }
.hero-stats strong { display: block; font-size: 22px; color: #38D6E8; }
.hero-stats span { font-size: 13px; color: rgba(242,245,255,.7); }
.btn { display: inline-block; padding: 12px 28px; background: linear-gradient(90deg,#7A5CFF,#38D6E8); color: #070B18; font-weight: 700; text-decoration: none; border-radius: 8px; font-size: 16px; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }

/* ---- Footer ---- */
.footer { margin-left: 264px; padding: 46px 56px 60px; border-top: 1px solid rgba(122,92,255,.2); color: rgba(242,245,255,.6); font-size: 14px; }
.foot-brand { font-family: "Noto Serif SC", "Songti SC", serif; color: #F2F5FF; font-size: 18px; margin-bottom: 8px; }
.footer a { color: #38D6E8; text-decoration: none; }

/* ---- Long tail ---- */
.longtail-list { list-style: none; margin-left: 0 !important; }
.longtail-list li { padding: 12px 14px; margin-bottom: 8px; background: rgba(17,26,52,.4); border: 1px solid rgba(122,92,255,.2); border-radius: 8px; }
.longtail-list strong { color: #38D6E8; }

/* ---- Tablet ---- */
@media (max-width: 1023px) {
  .sidebar { width: 220px; }
  .main, .footer { margin-left: 220px; }
  .section { padding: 44px 34px; }
  .hero-body { padding: 56px 34px; }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .sidebar { transform: translateX(-100%); transition: transform .28s ease; width: 264px; }
  .sidebar.open { transform: translateX(0); }
  .main, .footer { margin-left: 0; }
  .main { width: 100%; }
  .footer { padding: 32px 16px; }
  body { font-size: 16px; }
  .section { padding: 34px 16px; max-width: 100%; }
  .section h2 { font-size: 22px; }
  .section img { max-width: 100%; height: auto; }
  .hero { min-height: 74vh; }
  .hero-body { padding: 60px 16px 40px; }
  .hero h1 { font-size: 36px; letter-spacing: 3px; }
  .hero #subtitle { font-size: 15px; }
  .hero-lead { font-size: 16px; }
  .hero-stats { gap: 12px; }
  .hero-stats div { padding: 10px 14px; }
  .hero-stats strong { font-size: 18px; }
  table { font-size: 13px; }
  th, td { padding: 8px 6px; }
}
