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

:root {
  --ink: #001e3c;
  --deep: #00121f;
  --mint: #99ffcc;
  --neon: #00ff41;
  --text: #e4fff2;
  --line: rgba(153, 255, 204, 0.18);
  --line-soft: rgba(153, 255, 204, 0.1);
  --radius: 4px;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--deep);
  background-image:
    radial-gradient(70% 46% at 6% -6%, rgba(0, 255, 65, 0.16), transparent 62%),
    radial-gradient(56% 40% at 96% 4%, rgba(153, 255, 204, 0.12), transparent 60%);
  background-repeat: no-repeat;
}

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

a {
  -webkit-tap-highlight-color: rgba(0, 255, 65, 0.2);
}

/* ---------- 顶部导航：品牌居中，两侧有序菜单 ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(0, 18, 31, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}

.nav-side {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-side:first-of-type {
  justify-content: flex-end;
}

.nav-side:last-of-type {
  justify-content: flex-start;
}

.nav-side a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(228, 255, 242, 0.82);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-side a::before {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--neon), rgba(0, 255, 65, 0.18));
  box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.45), 0 0 10px rgba(0, 255, 65, 0.5);
  animation: breathe 4.5s ease-in-out infinite;
}

.nav-side a:hover {
  color: var(--deep);
  background: var(--mint);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 8px;
  padding: 0 18px;
  border: 2px solid rgba(153, 255, 204, 0.4);
  border-radius: 999px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mint);
  text-decoration: none;
  background: radial-gradient(circle at 28% 20%, rgba(0, 255, 65, 0.24), transparent 72%);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.brand:hover {
  border-color: var(--neon);
  color: #ffffff;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 45vh;
  display: grid;
  place-items: center;
  padding: 46px 20px 54px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: '';
  position: absolute;
  inset: -18% -12% auto -12%;
  height: 150%;
  z-index: -2;
  background:
    radial-gradient(44% 54% at 24% 32%, rgba(0, 255, 65, 0.34), transparent 62%),
    radial-gradient(50% 58% at 78% 66%, rgba(153, 255, 204, 0.22), transparent 60%);
  filter: blur(42px);
  animation: drift 19s ease-in-out infinite alternate;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.45;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 18, 31, 0.7), rgba(0, 18, 31, 0.92)),
    radial-gradient(60% 60% at 50% 50%, transparent, rgba(0, 18, 31, 0.6));
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 44rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px 15px;
  border: 1px solid rgba(0, 255, 65, 0.5);
  border-radius: 999px;
  background: rgba(0, 255, 65, 0.1);
  color: var(--mint);
  font-size: 16px;
  letter-spacing: 0.04em;
  animation: breathe 5.5s ease-in-out infinite;
}

.hero-title {
  margin: 0;
  max-width: 24em;
  font-size: clamp(27px, 4.6vw, 46px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mint);
  text-shadow: 0 2px 26px rgba(0, 18, 31, 0.85);
}

.hero-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(228, 255, 242, 0.84);
}

/* ---------- 主体：正文 + 右侧栏 ---------- */
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 18px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 40px;
  align-items: start;
}

.sheet {
  min-width: 0;
}

.sheet > section {
  scroll-margin-top: 104px;
  padding: 38px 0;
  border-top: 1px solid var(--line-soft);
}

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

.sheet small {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--neon);
}

.sheet h2 {
  margin: 0 0 14px;
  padding-left: 15px;
  border-left: 4px solid rgba(0, 255, 65, 0.65);
  border-radius: var(--radius);
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.36;
  font-weight: 700;
  color: var(--mint);
}

.sheet h3 {
  margin: 26px 0 10px;
  font-size: 19px;
  line-height: 1.42;
  font-weight: 500;
  color: var(--mint);
}

.sheet p {
  margin: 0 0 16px;
  color: rgba(228, 255, 242, 0.9);
}

.sheet strong {
  color: #ffffff;
  font-weight: 700;
}

.sheet a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 65, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sheet a:hover {
  color: #ffffff;
  text-decoration-color: var(--neon);
}

.sheet ul,
.sheet ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.sheet li {
  margin: 0 0 8px;
}

.sheet li::marker {
  color: var(--neon);
}

.sheet blockquote {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 4px solid rgba(0, 255, 65, 0.5);
  border-radius: var(--radius);
  background: rgba(153, 255, 204, 0.06);
}

.sheet blockquote p:last-child {
  margin: 0;
}

.sheet img {
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sheet table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 16px;
}

.sheet th,
.sheet td {
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.sheet th {
  color: var(--mint);
  font-weight: 500;
  background: rgba(0, 255, 65, 0.06);
}

/* ---------- 侧栏 ---------- */
.rail {
  position: sticky;
  top: 96px;
  padding: 18px 16px 20px;
  border: 1.5px solid rgba(153, 255, 204, 0.3);
  border-radius: var(--radius);
  background: rgba(0, 30, 60, 0.52);
  backdrop-filter: blur(8px);
}

.rail-eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--neon);
}

.rail-title {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.4;
  color: var(--mint);
}

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

.rail-list li {
  margin: 0 0 2px;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  color: rgba(228, 255, 242, 0.85);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rail-list a:hover {
  color: var(--mint);
  border-color: var(--line);
  background: rgba(0, 255, 65, 0.08);
}

.rail-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  color: var(--mint);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.rail-top:hover {
  background: var(--mint);
  color: var(--deep);
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 54px;
  padding: 44px 18px 24px;
  border-top: 1px solid rgba(153, 255, 204, 0.24);
  background: linear-gradient(180deg, rgba(0, 30, 60, 0.4), rgba(0, 18, 31, 0.94));
}

.foot-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.foot-mark {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mint);
  background: linear-gradient(118deg, var(--mint), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.foot-addr {
  font-style: normal;
  font-size: 16px;
  overflow-wrap: anywhere;
  color: rgba(228, 255, 242, 0.58);
}

.foot-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--neon);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 3px;
  font-size: 16px;
  color: rgba(228, 255, 242, 0.78);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--mint);
}

.foot-col-tail {
  display: flex;
  justify-content: flex-start;
}

.foot-kw {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 2px 14px;
  border: 1px solid rgba(153, 255, 204, 0.32);
  border-radius: 999px;
  font-size: 16px;
  color: var(--mint);
}

.foot-copy {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 16px;
  color: rgba(228, 255, 242, 0.55);
}

/* ---------- 滚动渐显 ---------- */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.rv.in {
  opacity: 1;
  transform: none;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(3%, 2%, 0) scale(1.09);
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .nav {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 2px;
    padding: 10px 12px;
  }

  .brand {
    order: -1;
    margin-bottom: 4px;
  }

  .nav-side:first-of-type,
  .nav-side:last-of-type {
    justify-content: center;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 32px;
  }

  .rail {
    position: static;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .sheet > section {
    scroll-margin-top: 132px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 38px 16px 44px;
  }

  .hero-title {
    max-width: 20em;
    font-size: clamp(24px, 7vw, 32px);
  }

  .nav-side a {
    padding: 0 8px;
    font-size: 16px;
  }

  .shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sheet > section {
    padding: 30px 0;
  }
}

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

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

  .rv {
    opacity: 1;
    transform: none;
  }
}

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