:root {
  --bg: #050816;
  --panel: rgba(255, 255, 255, .08);
  --panel2: rgba(255, 255, 255, .13);
  --text: #eef3ff;
  --muted: #9aa7c7;
  --brand: #6ee7ff;
  --brand2: #a78bfa;
  --accent: #34d399;
  --border: rgba(255, 255, 255, .16);
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --radius: 24px
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(103, 232, 249, .25), transparent 28%), radial-gradient(circle at 85% 0, rgba(167, 139, 250, .22), transparent 30%), linear-gradient(135deg, #040712, #090b22 60%, #050816);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden
}
body.light {
  --panel: rgba(255, 255, 255, .78);
  --panel2: rgba(255, 255, 255, .95);
  --text: #10152b;
  --muted: #53607c;
  --border: rgba(25, 31, 55, .12);
  background: radial-gradient(circle at 10% 10%, rgba(14, 165, 233, .2), transparent 28%), radial-gradient(circle at 85% 0, rgba(124, 58, 237, .14), transparent 30%), linear-gradient(135deg, #f8fbff, #edf2ff)
}
a {
  color: inherit;
  text-decoration: none
}
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: -2
}
.orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(50px);
  opacity: .35;
  z-index: -1;
  animation: float 9s ease-in-out infinite
}
.orb.one {
  left: -120px;
  top: 130px;
  background: #22d3ee
}
.orb.two {
  right: -130px;
  top: 280px;
  background: #8b5cf6;
  animation-delay: -2s
}
.orb.three {
  left: 45%;
  bottom: -160px;
  background: #10b981;
  animation-delay: -4s
}
@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1)
  }
  50% {
    transform: translate3d(30px, -30px, 0) scale(1.12)
  }
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 8, 22, .62);
  border-bottom: 1px solid var(--border)
}
body.light .nav {
  background: rgba(248, 251, 255, .72)
}
.nav-inner {
  max-width: 1180px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .06em
}
.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: grid;
  place-items: center;
  color: #07101f;
  box-shadow: 0 0 30px rgba(110, 231, 255, .4)
}
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center
}
.nav-links a, .ghost-btn, .primary-btn, .tag {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  transition: .25s;
  cursor: pointer
}
.nav-links a:hover, .ghost-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 255, .65);
  box-shadow: 0 12px 40px rgba(34, 211, 238, .12)
}
.primary-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #07101f;
  font-weight: 800;
  border: none
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 45px rgba(110, 231, 255, .25)
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 44px 20px 80px
}
.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center
}
.eyebrow {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase
}
.h1 {
  font-size: clamp(42px, 8vw, 88px);
  line-height: .95;
  margin: 14px 0;
  background: linear-gradient(135deg, #fff, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}
.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px
}
.glass {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px)
}
.hero-card {
  padding: 24px;
  position: relative;
  overflow: hidden
}
.avatar {
  height: 220px;
  border-radius: 24px;
  background: radial-gradient(circle at 35% 25%, #fff, transparent 12%), linear-gradient(135deg, #0ea5e9, #7c3aed 60%, #10b981);
  display: grid;
  place-items: center;
  font-size: 74px;
  font-weight: 950;
  color: white;
  text-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  margin-bottom: 18px
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 34px 0
}
.stat {
  padding: 18px;
  text-align: center
}
.stat b {
  font-size: 28px;
  color: var(--brand)
}
.section {
  margin-top: 48px
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px
}
.section h2 {
  font-size: 34px;
  margin: 0
}
.muted {
  color: var(--muted)
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}
.card {
  padding: 22px;
  transition: .25s;
  position: relative;
  overflow: hidden
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 255, .55)
}
.card h3 {
  margin: 0 0 10px
}
.card p {
  color: var(--muted);
  line-height: 1.7
}
.icon {
  font-size: 30px;
  margin-bottom: 12px
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px
}
.tag {
  font-size: 13px;
  padding: 7px 10px;
  color: var(--muted)
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px
}
.modal.show {
  display: flex
}
.modal-box {
  max-width: 720px;
  width: 100%;
  padding: 26px;
  max-height: 86vh;
  overflow: auto
}
.close {
  float: right;
  font-size: 24px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transform: translateY(30px);
  opacity: 0;
  transition: .25s;
  z-index: 200
}
.toast.show {
  transform: translateY(0);
  opacity: 1
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: .7s
}
.reveal.visible {
  opacity: 1;
  transform: none
}
footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  color: var(--muted)
}
@media(max-width:860px) {
  .hero {
    grid-template-columns: 1fr
  }
  .grid, .stats {
    grid-template-columns: 1fr
  }
  .nav-inner {
    align-items: flex-start;
    flex-direction: column
  }
  .nav-links {
    justify-content: flex-start
  }
  .h1 {
    font-size: 46px
  }
}
/* 精美白天/夜晚主题切换按钮 */ .theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .82), rgba(30, 41, 59, .66));
  color: var(--text);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .06), 0 10px 32px rgba(0, 0, 0, .18)
}
.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 255, .7);
  box-shadow: 0 14px 42px rgba(34, 211, 238, .16), inset 0 0 18px rgba(255, 255, 255, .08)
}
.theme-icon {
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .24));
  transition: opacity .25s ease, transform .25s ease
}
.theme-track {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #172554, #312e81);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35);
  overflow: hidden
}
.theme-track:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  left: 25px;
  top: 5px;
  background: #fff;
  box-shadow: 8px 6px 0 rgba(255, 255, 255, .72), -5px 10px 0 rgba(255, 255, 255, .45);
  opacity: .8;
  transition: .25s
}
.theme-thumb {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  left: 2px;
  top: 2px;
  background: radial-gradient(circle at 35% 35%, #fff, #dbeafe 58%, #93c5fd);
  box-shadow: 0 0 14px rgba(147, 197, 253, .8);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), background .25s ease, box-shadow .25s ease
}
body.light .theme-toggle {
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(224, 242, 254, .86));
  box-shadow: 0 12px 36px rgba(14, 165, 233, .14), inset 0 0 18px rgba(255, 255, 255, .8)
}
body.light .theme-track {
  background: linear-gradient(135deg, #7dd3fc, #fde68a)
}
body.light .theme-track:before {
  opacity: 0
}
body.light .theme-thumb {
  transform: translateX(20px);
  background: radial-gradient(circle at 35% 35%, #fff7ed, #facc15 60%, #fb923c);
  box-shadow: 0 0 16px rgba(250, 204, 21, .9)
}
body.light .theme-icon.moon {
  opacity: .38;
  transform: scale(.86)
}
body:not(.light) .theme-icon.sun {
  opacity: .42;
  transform: scale(.86)
}
