@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --green: #00ff80;
  --blue: #0000ff;
  --line: rgba(255, 255, 255, 0.22);
  --soft: rgba(255, 255, 255, 0.06);
  --r: 4px;
}

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

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

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 186px;
}

h1,
h2,
h3,
h4,
.dock,
.foot-brand,
.side-title {
  font-family: Poppins, "Open Sans", system-ui, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

::selection {
  background: var(--green);
  color: #000;
}

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

/* 头图 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 70vh;
  min-height: 70svh;
  overflow: hidden;
  border-bottom: 4px solid var(--green);
  background: repeating-linear-gradient(45deg, #000 0 14px, #0b0b0b 14px 28px);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.6) 46%,
    rgba(0, 255, 128, 0.18) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(640px, 92%);
  margin: 0 clamp(14px, 4vw, 56px) clamp(22px, 6vh, 60px) auto;
  padding: clamp(16px, 3vw, 34px);
  text-align: right;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border: 3px solid var(--green);
  border-radius: var(--r);
  box-shadow: 12px 12px 0 var(--blue);
}

.hero-h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5.6vw, 4.1rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  word-break: break-word;
}

.hero-desc {
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.87);
}

/* 滚动色条 */
.ticker {
  overflow: hidden;
  padding: 10px 0;
  background: var(--green);
  color: #000;
  border-bottom: 4px solid #000;
}

.ticker-run {
  display: flex;
  width: max-content;
  animation: tick 24s linear infinite;
}

.tick {
  padding-right: 36px;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-run {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* 版心 */
.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 60px) clamp(16px, 4vw, 32px);
  align-items: start;
}

@media (min-width: 900px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 46px;
  }
}

/* 正文 */
.doc section {
  padding: 34px 0;
  border-top: 3px solid var(--green);
  scroll-margin-top: 20px;
}

.doc section:first-child {
  padding-top: 0;
  border-top: 0;
}

.doc h2 {
  margin: 0 0 14px;
  padding-left: 14px;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-left: 8px solid var(--green);
}

.doc h3 {
  margin: 26px 0 10px;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--green);
}

.doc p {
  margin: 0 0 16px;
  line-height: 1.85;
  color: #e9e9e9;
}

.doc a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 1.85;
  color: #e9e9e9;
}

.doc li {
  margin-bottom: 8px;
}

.doc strong {
  color: #fff;
}

.doc img {
  margin: 18px 0;
  border: 3px solid #fff;
}

.doc blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 8px solid var(--blue);
  background: var(--soft);
}

.doc table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
}

.doc th,
.doc td {
  padding: 10px;
  text-align: left;
  border: 2px solid var(--line);
}

.doc th {
  background: rgba(0, 255, 128, 0.12);
  color: #fff;
}

.doc hr {
  margin: 26px 0;
  border: 0;
  border-top: 2px solid var(--line);
}

/* 侧栏 */
.col-side {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--green);
  border-radius: var(--r);
  box-shadow: 8px 8px 0 rgba(0, 0, 255, 0.9);
}

@media (min-width: 900px) {
  .col-side {
    position: sticky;
    top: 24px;
  }
}

.side-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
}

.rule {
  margin: 10px 0 12px;
  border: 0;
  border-top: 3px solid #fff;
}

.side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-list li {
  border-bottom: 1px dashed var(--line);
}

.side-list li:last-child {
  border-bottom: 0;
}

.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.side-list a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* 页脚 */
.foot {
  padding: clamp(30px, 5vw, 56px) clamp(16px, 4vw, 32px) 28px;
  background: #000;
  border-top: 4px solid var(--green);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.foot-brand {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--green);
}

.foot-form {
  flex: 1 1 260px;
  max-width: 420px;
}

.foot-label {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.foot-field {
  display: flex;
  border: 2px solid #fff;
  background: #000;
}

.foot-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.foot-input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}

.foot-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  background: var(--green);
  color: #000;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.foot-btn:hover {
  background: #fff;
}

.foot-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.foot-nav dl {
  margin: 0;
}

.foot-nav dt {
  margin-bottom: 8px;
  padding-bottom: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  border-bottom: 2px solid rgba(0, 255, 128, 0.4);
}

.foot-nav dd {
  margin: 0;
}

.foot-nav dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.foot-nav dd a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.foot-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 18px;
  text-align: center;
  border-top: 2px solid var(--line);
}

.foot-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* 底部固定条 */
.dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  padding: 8px 12px;
  background: #000;
  border-top: 3px solid var(--green);
  box-shadow: 0 -6px 0 rgba(0, 255, 128, 0.14);
}

.dock-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid var(--green);
}

.dock-brand:hover {
  background: var(--green);
  color: #000;
}

.dock-links {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  width: 100%;
}

.dock-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}

.dock-link:hover,
.dock-link.is-on {
  color: var(--green);
  border-color: var(--green);
}

.dot {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--green);
}

.dock-link:hover .dot,
.dock-link.is-on .dot {
  background: #fff;
}

.dock-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 14px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--blue);
}

.dock-contact:hover {
  background: var(--blue);
  color: #fff;
}

@media (min-width: 760px) {
  .dock {
    gap: 8px;
    padding: 10px 20px;
  }
  .dock-links {
    order: 2;
    width: auto;
    margin-left: auto;
  }
  .dock-contact {
    order: 3;
    margin-left: 0;
  }
  body {
    padding-bottom: 84px;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 76vh;
  }
  .hero-copy {
    box-shadow: 8px 8px 0 var(--blue);
  }
  .foot-nav {
    gap: 12px;
  }
}

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