@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --red: #ff0000;
  --violet: #8b00ff;
  --ink: #261717;
  --deep: #190f0f;
  --text: #f7efef;
  --muted: #cbb8b8;
  --glass: rgba(255, 255, 255, 0.10);
  --glass-hi: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.20);
  --radius: 18px;
  --shadow: 0 22px 48px -26px rgba(0, 0, 0, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(58vw 58vw at 88% -12%, rgba(255, 0, 0, 0.30), transparent 62%),
    radial-gradient(52vw 52vw at 2% 8%, rgba(139, 0, 255, 0.30), transparent 66%),
    radial-gradient(80vw 46vw at 50% 108%, rgba(255, 0, 0, 0.16), transparent 64%),
    var(--deep);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px clamp(14px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 15, 15, 0.88), rgba(25, 15, 15, 0.62));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand-row {
  display: flex;
  align-items: center;
  padding: 2px 0 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 12px;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--violet));
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.55);
}

.brand-mark img,
.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 9px;
  overflow: hidden;
}

.navrow nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.navrow nav::-webkit-scrollbar {
  display: none;
}

.menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  color: #eadede;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.menu .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--violet));
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.75);
}

.menu a:hover,
.menu a:focus-visible {
  background: var(--glass-hi);
  border-color: var(--line);
  color: #fff;
  transform: translateY(-1px);
}

.menu a[aria-current='true'] {
  background: var(--glass);
  border-color: rgba(255, 0, 0, 0.6);
  color: #fff;
}

.find {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.find input {
  width: 128px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #fff;
  outline: none;
}

.find input::placeholder {
  color: #c9b5b5;
}

.find button {
  min-height: 40px;
  margin-left: 2px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--violet));
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

.find button:hover {
  filter: brightness(1.14);
  transform: translateY(-1px);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 45vh;
  padding: clamp(26px, 6vw, 60px) clamp(16px, 6vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(115%);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(260deg, rgba(25, 15, 15, 0.45), rgba(25, 15, 15, 0.92) 68%),
    radial-gradient(40vw 30vw at 82% 18%, rgba(255, 0, 0, 0.34), transparent 70%),
    radial-gradient(30vw 26vw at 14% 86%, rgba(139, 0, 255, 0.34), transparent 72%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image: radial-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  max-width: 640px;
  text-align: right;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(30px, 6.4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.hero-sub {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  color: #e6d8d8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px -16px rgba(255, 0, 0, 0.9);
  transition: transform 0.25s, background 0.25s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.26);
}

/* ---------- 版心 ---------- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px) clamp(14px, 4vw, 32px);
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.doc {
  min-width: 0;
}

.doc > section {
  position: relative;
  margin: 0 0 24px;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  overflow-wrap: break-word;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.doc > section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 40% at 100% 0, rgba(255, 255, 255, 0.14), transparent 65%);
}

.doc > section::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--violet));
  opacity: 0.9;
}

.doc > section:nth-child(1) { animation-delay: 0.02s; }
.doc > section:nth-child(2) { animation-delay: 0.08s; }
.doc > section:nth-child(3) { animation-delay: 0.14s; }
.doc > section:nth-child(4) { animation-delay: 0.20s; }
.doc > section:nth-child(5) { animation-delay: 0.26s; }
.doc > section:nth-child(6) { animation-delay: 0.32s; }
.doc > section:nth-child(7) { animation-delay: 0.38s; }
.doc > section:nth-child(8) { animation-delay: 0.44s; }

.doc > section[id] {
  scroll-margin-top: 132px;
}

.doc > section:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.doc > section.is-hit {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.doc > section > :last-child {
  margin-bottom: 0;
}

.doc h2 {
  margin: 0.2em 0 0.55em;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.doc h3 {
  margin: 1.1em 0 0.4em;
  font-size: 19px;
  line-height: 1.5;
}

.doc small {
  display: block;
  margin-bottom: 0.1em;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  color: #ffb3b3;
}

.doc p {
  margin: 0 0 0.9em;
}

.doc ul,
.doc ol {
  margin: 0 0 0.9em;
  padding-left: 1.3em;
}

.doc li {
  margin: 0.28em 0;
}

.doc a {
  color: #ff7a7a;
  text-decoration: underline;
  text-decoration-color: rgba(255, 0, 0, 0.5);
  text-underline-offset: 3px;
}

.doc a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.doc strong {
  color: #fff;
}

.doc img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.7em 0;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.doc blockquote {
  margin: 0 0 0.9em;
  padding: 0.6em 0 0.6em 1em;
  border-left: 3px solid var(--violet);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.07);
  color: #e6d9d9;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.doc th,
.doc td {
  padding: 0.5em 0.6em;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.doc hr {
  margin: 1.2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.lead-title {
  margin: 0 0 0.4em;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
}

/* ---------- 侧栏 ---------- */
.rail {
  position: sticky;
  top: 132px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.eyebrow {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: #ffb3b3;
}

.rail-title {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.4;
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list li {
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.rail-list li:nth-child(1) { animation-delay: 0.06s; }
.rail-list li:nth-child(2) { animation-delay: 0.11s; }
.rail-list li:nth-child(3) { animation-delay: 0.16s; }
.rail-list li:nth-child(4) { animation-delay: 0.21s; }
.rail-list li:nth-child(5) { animation-delay: 0.26s; }
.rail-list li:nth-child(6) { animation-delay: 0.31s; }
.rail-list li:nth-child(7) { animation-delay: 0.36s; }

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-left: 2px solid transparent;
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  color: #eadddd;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}

.rail-list a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-left-color: var(--red);
  color: #fff;
  transform: translateX(2px);
}

.rail-list a[aria-current='true'] {
  background: rgba(255, 0, 0, 0.16);
  border-left-color: var(--red);
  color: #fff;
}

.top-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  color: #eadede;
  text-decoration: none;
  transition: background 0.22s, color 0.22s;
}

.top-link:hover {
  background: var(--glass-hi);
  color: #fff;
}

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(28px, 5vw, 58px);
  padding: clamp(26px, 4vw, 46px) clamp(16px, 4vw, 40px) 18px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.34));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.foot-brand {
  margin: 0 0 18px;
  font-size: clamp(44px, 12vw, 122px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #ffffff, rgba(255, 0, 0, 0.8) 56%, rgba(139, 0, 255, 0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.foot-col address {
  margin-bottom: 8px;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}

.foot-desc {
  max-width: 34ch;
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: #e9dcdc;
  text-decoration: none;
}

.foot-list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
}

.copy {
  margin: 0;
  font-size: 16px;
  color: #bda9a9;
}

.foot-mini {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-mini a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: #e9dcdc;
  text-decoration: none;
}

.foot-mini a:hover {
  color: #fff;
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 断点 ---------- */
@media (max-width: 940px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    position: static;
    top: auto;
  }

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

  .doc > section[id] {
    scroll-margin-top: 128px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .find input {
    width: 92px;
  }

  .hero {
    justify-content: flex-start;
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .hero-copy {
    align-items: flex-start;
    max-width: none;
    text-align: left;
  }

  .hero-dots {
    opacity: 0.2;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .foot-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
