@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@100..900&family=Public+Sans:wght@100..900&display=swap');

:root {
  --deep: #0a0a14;
  --ink: #1a1a2e;
  --red: #ff0000;
  --pink: #ff006e;
  --cyan: #00f0ff;
  --paper: #ecebff;
  --dim: #c6c5ee;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.055);
  --r: 28px;
  --rail-w: 250px;
  --display: "Lexend Mega", "Public Sans", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper);
  background:
    radial-gradient(900px 620px at 10% -12%, rgba(255, 0, 110, 0.24), transparent 62%),
    radial-gradient(760px 620px at 94% 6%, rgba(0, 240, 255, 0.14), transparent 64%),
    radial-gradient(720px 520px at 58% 104%, rgba(255, 0, 0, 0.18), transparent 66%),
    var(--deep);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
  opacity: 0.55;
}

img {
  max-width: 100%;
}

a {
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 左侧固定竖栏 ===== */
.site-top {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 20px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.94), rgba(10, 10, 20, 0.96));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 0, 110, 0.65);
  text-decoration: none;
  box-shadow: 0 0 24px rgba(255, 0, 110, 0.45), inset 0 0 18px rgba(255, 0, 0, 0.28);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.brand-mark:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.55), inset 0 0 18px rgba(255, 0, 110, 0.35);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.brand-px {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--red), var(--pink));
  box-shadow: 0 0 14px var(--pink), 0 0 26px rgba(255, 0, 0, 0.7);
}

.site-nav {
  margin-top: 4px;
}

.site-nav p {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 3px;
  margin: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 0, 110, 0.12);
  border-color: rgba(255, 0, 110, 0.55);
  transform: translateX(3px);
  text-shadow: 0 0 12px rgba(255, 0, 110, 0.9);
}

.contact-chip {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.55);
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.contact-chip:hover {
  background: rgba(0, 240, 255, 0.14);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.55);
}

/* ===== 主区 ===== */
main {
  margin-left: var(--rail-w);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 54px clamp(20px, 4vw, 62px);
}

.hero-copy {
  text-align: center;
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 0, 110, 0.85), 0 0 34px rgba(255, 0, 0, 0.55);
  animation: glitch 6.5s infinite steps(1);
}

.hero-lead {
  max-width: 36ch;
  margin: 0 auto;
  color: var(--dim);
  font-size: 1rem;
}

.hero-figure {
  margin: 0;
  height: min(66vh, 560px);
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 44px rgba(0, 240, 255, 0.16), inset 0 0 30px rgba(255, 0, 110, 0.1);
}

.hero-figure:empty::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 0, 110, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.26) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 110, 0.35), transparent 70%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

@keyframes glitch {
  0%, 91%, 100% {
    transform: translate(0, 0) skewX(0deg);
    text-shadow: 0 0 12px rgba(255, 0, 110, 0.85), 0 0 34px rgba(255, 0, 0, 0.55);
  }
  93% {
    transform: translate(-2px, 1px) skewX(-0.7deg);
    text-shadow: 2px 0 var(--cyan), -2px 0 var(--pink);
  }
  95% {
    transform: translate(2px, -1px) skewX(0.7deg);
    text-shadow: -2px 0 var(--cyan), 2px 0 var(--red);
  }
  97% {
    transform: translate(-1px, 0) skewX(-0.3deg);
  }
}

/* ===== 侧栏 + 正文 ===== */
.stage {
  display: grid;
  grid-template-columns: minmax(180px, 234px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(28px, 4vw, 58px) clamp(18px, 4vw, 56px) 62px;
  border-top: 1px solid var(--line);
}

.rail {
  position: sticky;
  top: 28px;
  align-self: start;
  padding: 20px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 30px rgba(255, 0, 110, 0.1);
}

.eyebrow {
  display: block;
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
}

.rail-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

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

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--dim);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rail-list a:hover {
  color: #fff;
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.45);
}

.content {
  min-width: 0;
}

.content > div {
  position: relative;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  scroll-margin-top: 90px;
  overflow: hidden;
}

.content > div::after {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red), var(--pink));
  box-shadow: 0 0 14px var(--pink);
}

.content small {
  display: block;
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.content h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.28rem, 2.1vw, 1.72rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 0, 110, 0.6);
}

.content h3 {
  margin: 22px 0 10px;
  font-family: var(--display);
  font-size: 1.06rem;
  color: #fff;
}

.content p {
  margin: 0 0 14px;
  color: #d6d5f6;
}

.content p:last-child,
.content ul:last-child {
  margin-bottom: 0;
}

.content ul,
.content ol {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #d6d5f6;
}

.content li {
  margin: 0 0 6px;
}

.content a {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 0, 110, 0.55);
  text-underline-offset: 3px;
}

.content a:hover {
  color: var(--cyan);
}

.content figure {
  margin: 0 0 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
}

.content figure img,
.content img {
  display: block;
  width: 100%;
  height: auto;
}

.content blockquote {
  margin: 0 0 14px;
  padding: 12px 18px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 18px 18px 0;
  background: rgba(0, 240, 255, 0.07);
  color: #e2e1ff;
}

.content strong {
  color: #fff;
}

.content code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.12);
  color: #d7fbff;
}

/* ===== 页脚 ===== */
.site-foot {
  margin-left: var(--rail-w);
  padding: clamp(28px, 4vw, 50px) clamp(18px, 4vw, 56px) 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.55), rgba(10, 10, 20, 0.94));
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

.foot-col address {
  font-style: normal;
}

.foot-brand {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 0, 110, 0.55);
}

.foot-host {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #a7a6d4;
  word-break: break-all;
}

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

.foot-col ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--dim);
  font-size: 0.94rem;
  text-decoration: none;
}

.foot-col ul a:hover {
  color: var(--cyan);
}

.foot-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.foot-form input {
  flex: 1 1 140px;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}

.foot-form input::placeholder {
  color: #8d8cba;
}

.foot-form button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  color: #15000b;
  background: linear-gradient(135deg, var(--red), var(--pink));
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 0, 110, 0.5);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.foot-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(255, 0, 110, 0.8);
}

.foot-copy {
  margin: 24px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: #9291be;
}

/* ===== 移动端 ===== */
@media (max-width: 900px) {
  body {
    font-size: 16.5px;
  }

  .site-top {
    position: sticky;
    left: auto;
    top: 0;
    bottom: auto;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-px {
    width: 18px;
    height: 18px;
  }

  .contact-chip {
    margin: 0 0 0 auto;
    padding: 10px 18px;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    margin-top: 0;
  }

  .site-nav p {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .site-nav a {
    padding: 8px 12px;
    font-size: 0.9rem;
    border-color: var(--line);
    transform: none;
  }

  .site-nav a:hover {
    transform: none;
  }

  main {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 22px;
    padding: 22px 16px 34px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.6vw, 2.4rem);
  }

  .hero-figure {
    height: min(46vh, 360px);
  }

  .stage {
    grid-template-columns: 1fr;
    padding: 22px 14px 44px;
  }

  .rail {
    position: static;
  }

  .rail-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .rail-list a {
    padding: 4px 12px;
    border-color: var(--line);
  }

  .content > div {
    scroll-margin-top: 148px;
    padding: 20px 18px;
  }

  .content > div::after {
    top: 20px;
    bottom: 20px;
  }

  .site-foot {
    margin-left: 0;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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