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

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

:root {
  --mint: #99ffcc;
  --green: #00ff41;
  --ink: #001e3c;
  --text: #e9f7ff;
  --dim: #a4c6d8;
  --line: rgba(153, 255, 204, 0.22);
  --line-soft: rgba(153, 255, 204, 0.1);
  --panel: rgba(0, 24, 45, 0.96);
}

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

body {
  margin: 0;
  padding-bottom: 104px;
  background: #00121f;
  color: var(--text);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  filter: blur(30px);
  background:
    radial-gradient(38% 30% at 10% 6%, rgba(0, 255, 65, 0.22), transparent 70%),
    radial-gradient(42% 38% at 90% 26%, rgba(153, 255, 204, 0.15), transparent 72%),
    radial-gradient(52% 44% at 48% 104%, rgba(0, 255, 65, 0.12), transparent 70%);
  animation: breathe 17s ease-in-out infinite alternate;
}

img {
  max-width: 100%;
}

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

small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.22em;
  color: var(--green);
}

.ico {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 58% 42% 46% 54% / 44% 56% 44% 56%;
  background: linear-gradient(140deg, var(--green), var(--mint));
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
  transition: transform 0.28s ease, border-radius 0.4s ease;
  animation: breathe 6s ease-in-out infinite alternate;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  min-height: 100svh;
  padding: clamp(28px, 7vh, 76px) clamp(18px, 5vw, 72px) clamp(112px, 14vh, 150px);
  overflow: hidden;
}

.hero-ghost {
  position: absolute;
  right: -2%;
  bottom: 3%;
  z-index: 0;
  margin: 0;
  font-size: clamp(72px, 19vw, 280px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: rgba(153, 255, 204, 0.06);
  -webkit-text-stroke: 1px rgba(153, 255, 204, 0.16);
  pointer-events: none;
  will-change: transform;
}

.hero-fig {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 72svh;
  overflow: hidden;
  border-radius: 58% 42% 46% 54% / 44% 56% 44% 56%;
  background:
    radial-gradient(60% 60% at 34% 28%, rgba(0, 255, 65, 0.42), transparent 70%),
    radial-gradient(70% 70% at 74% 76%, rgba(153, 255, 204, 0.34), transparent 72%),
    #00192c;
  box-shadow: 0 34px 74px -34px rgba(0, 255, 65, 0.5);
  animation: morph 19s ease-in-out infinite alternate;
  will-change: transform, border-radius;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
}

.hero-blob {
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 46%;
  background: radial-gradient(50% 60% at 50% 40%, rgba(0, 255, 65, 0.32), transparent 72%);
  filter: blur(16px);
  pointer-events: none;
  animation: breathe 9s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: right;
}

.hero-k {
  letter-spacing: 0.3em;
  font-weight: 500;
}

.hero-copy h1 {
  margin: 0.18em 0 0.36em;
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f4fffb;
  text-wrap: balance;
}

.hero-lede {
  margin: 0 0 clamp(18px, 3vw, 30px);
  max-width: 44ch;
  margin-left: auto;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dim);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn {
  color: #00121f;
  background: linear-gradient(120deg, var(--green), var(--mint));
  box-shadow: 0 14px 30px -16px rgba(0, 255, 65, 0.9);
}

.btn-ghost {
  color: var(--mint);
  border: 1px solid var(--line);
  background: rgba(0, 255, 65, 0.06);
}

.btn:hover,
.btn-ghost:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(0, 255, 65, 0.75);
}

/* ---------- 正文 ---------- */

.flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  align-items: start;
  gap: clamp(26px, 4vw, 56px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 88px) clamp(18px, 5vw, 64px);
}

.flow-band {
  position: relative;
  grid-column: 1 / -1;
  height: 104px;
  margin: 0 0 clamp(16px, 3vw, 30px);
  overflow: hidden;
  background-color: rgba(0, 255, 65, 0.07);
  background-image:
    radial-gradient(circle at 18% 58%, rgba(0, 255, 65, 0.4) 0 5px, transparent 6px),
    radial-gradient(circle at 66% 32%, rgba(153, 255, 204, 0.34) 0 8px, transparent 9px),
    radial-gradient(circle at 42% 78%, rgba(153, 255, 204, 0.2) 0 3px, transparent 4px);
  background-size: 132px 108px, 196px 148px, 84px 96px;
  clip-path: polygon(0 32%, 11% 6%, 33% 24%, 52% 0, 74% 26%, 92% 9%, 100% 36%, 100% 100%, 0 100%);
  box-shadow: inset 0 0 60px rgba(0, 255, 65, 0.14);
}

.band-cell {
  position: absolute;
  border-radius: 60% 40% 52% 48% / 46% 54% 46% 54%;
  filter: blur(6px);
  animation: breathe 8s ease-in-out infinite alternate;
}

.b1 {
  left: 12%;
  top: 18%;
  width: 76px;
  height: 54px;
  background: rgba(0, 255, 65, 0.3);
}

.b2 {
  left: 54%;
  top: 40%;
  width: 104px;
  height: 62px;
  background: rgba(153, 255, 204, 0.22);
  animation-delay: 1.4s;
}

.b3 {
  right: 8%;
  top: 12%;
  width: 58px;
  height: 46px;
  background: rgba(0, 255, 65, 0.22);
  animation-delay: 2.6s;
}

.reading {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.reading div {
  position: relative;
  padding: clamp(22px, 3.6vw, 40px) 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 28px;
}

.reading div:first-child {
  padding-top: 0;
  border-top: 0;
}

.reading small + h2,
.reading small + h3 {
  margin-top: 0.2em;
}

.reading h2 {
  margin: 0.1em 0 0.7em;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--mint);
}

.reading h3 {
  margin: 1.4em 0 0.55em;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 600;
  line-height: 1.35;
  color: #d9fff0;
}

.reading p {
  margin: 0 0 1.1em;
}

.reading ul,
.reading ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

.reading li {
  margin-bottom: 0.5em;
}

.reading li::marker {
  color: var(--green);
}

.reading a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 65, 0.6);
  text-underline-offset: 4px;
}

.reading a:hover {
  background: rgba(0, 255, 65, 0.16);
}

.reading img {
  display: block;
  height: auto;
  margin: 1.3em 0;
  box-shadow: 0 26px 56px -30px rgba(0, 0, 0, 0.95);
}

.reading figure {
  margin: 1.4em 0;
}

.reading blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--green);
  color: var(--dim);
}

.reading strong {
  color: #ffffff;
  font-weight: 600;
}

.reading table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 16px;
}

.reading th,
.reading td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

/* ---------- 侧栏 ---------- */

.rail {
  grid-column: 2;
  position: sticky;
  top: 24px;
  padding: 22px 20px 18px;
  border-left: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.09), rgba(0, 30, 60, 0.18));
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.95);
}

.rail-h {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mint);
}

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

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.22s ease, padding-left 0.22s ease;
}

.rail-list a::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 60% 40% 52% 48%;
  background: var(--green);
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.rail-list a:hover {
  color: var(--text);
  padding-left: 6px;
}

.rail-list a:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

.rail-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  color: var(--mint);
  text-decoration: none;
}

.rail-top .ico {
  animation: none;
}

.rail-top:hover .ico {
  transform: scale(1.5);
}

/* ---------- 页脚 ---------- */

.site-foot {
  position: relative;
  margin-top: clamp(36px, 7vw, 78px);
  padding: clamp(34px, 6vw, 66px) clamp(18px, 5vw, 64px) 26px;
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.07), rgba(0, 18, 31, 0.94));
  border-top: 1px solid var(--line);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: end;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto clamp(24px, 4vw, 42px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.foot-brand {
  margin: 6px 0 0;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--mint);
}

.signup-l {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--green);
}

.signup-row {
  display: flex;
  gap: 8px;
}

.signup-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(0, 18, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: 0;
}

.signup-row input::placeholder {
  color: rgba(164, 198, 216, 0.75);
}

.signup-row input:focus {
  outline: 2px solid rgba(0, 255, 65, 0.55);
  outline-offset: 1px;
}

.signup-row button {
  min-height: 46px;
  padding: 10px 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #00121f;
  background: linear-gradient(120deg, var(--green), var(--mint));
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.signup-row button:hover {
  transform: translateY(-2px);
}

.signup-msg {
  margin: 8px 0 0;
  min-height: 22px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--green);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  max-width: 1200px;
  margin: 0 auto clamp(22px, 4vw, 36px);
}

.foot-cols address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dim);
}

.foot-cols address strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.foot-cols address span {
  display: block;
  font-size: 15px;
  color: var(--dim);
  word-break: break-all;
}

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

.foot-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 0;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.foot-list a:hover {
  color: var(--mint);
  transform: translateX(3px);
}

.foot-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.foot-dot {
  width: 34px;
  height: 26px;
  border-radius: 60% 40% 52% 48% / 46% 54% 46% 54%;
  background: linear-gradient(140deg, var(--green), var(--mint));
  box-shadow: 0 0 22px rgba(0, 255, 65, 0.5);
  animation: breathe 7s ease-in-out infinite alternate;
}

.foot-mark a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 16px;
  color: var(--dim);
  text-decoration: none;
}

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

.foot-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(164, 198, 216, 0.8);
}

/* ---------- 底部固定导航 ---------- */

.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px clamp(14px, 4vw, 40px) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 18, 31, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 255, 65, 0.4);
  box-shadow: 0 -20px 44px -24px rgba(0, 255, 65, 0.4);
}

.dock-menu {
  position: relative;
  justify-self: start;
}

.dock-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  list-style: none;
  background: rgba(0, 255, 65, 0.07);
  transition: background 0.24s ease;
}

.dock-menu > summary::-webkit-details-marker {
  display: none;
}

.dock-menu > summary:hover {
  background: rgba(0, 255, 65, 0.18);
}

.dock-menu[open] > summary {
  background: rgba(0, 255, 65, 0.22);
}

.dock-menu[open] > summary .ico {
  transform: scale(1.4);
}

.dock-menu > menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  width: min(80vw, 460px);
  margin: 0;
  padding: 12px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 -28px 64px -26px rgba(0, 0, 0, 0.95);
}

.dock-menu[open] > menu {
  animation: rise 0.24s ease both;
}

.dock-menu > menu li {
  list-style: none;
}

.dock-menu > menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.22s ease, padding-left 0.22s ease;
}

.dock-menu > menu a:hover {
  background: rgba(0, 255, 65, 0.14);
  padding-left: 14px;
}

.dock-menu > menu a:hover .ico {
  transform: scale(1.6);
}

.dock-brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--mint);
  text-decoration: none;
}

.dock-mark {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.dock-cell {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 60% 40% 52% 48% / 46% 54% 46% 54%;
  background: linear-gradient(140deg, var(--green), var(--mint));
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.7);
  animation: breathe 5s ease-in-out infinite alternate;
}

.dock-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  color: #00121f;
  text-decoration: none;
  background: linear-gradient(120deg, var(--green), var(--mint));
  transition: transform 0.22s ease;
}

.dock-call:hover {
  transform: translateY(-2px);
}

.dock-call .ico {
  background: #00121f;
  box-shadow: none;
}

/* ---------- 动效 ---------- */

@keyframes breathe {
  from {
    transform: scale(0.94);
    opacity: 0.72;
  }
  to {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes morph {
  0% {
    border-radius: 58% 42% 46% 54% / 44% 56% 44% 56%;
  }
  50% {
    border-radius: 44% 56% 60% 40% / 58% 42% 58% 42%;
  }
  100% {
    border-radius: 62% 38% 40% 60% / 40% 60% 46% 54%;
  }
}

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

/* ---------- 断点 ---------- */

@media (max-width: 920px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    grid-column: 1;
    position: static;
    margin-top: 8px;
  }

  .foot-top {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 4vw, 26px);
    padding: clamp(22px, 5vh, 40px) clamp(16px, 5vw, 28px) clamp(110px, 14vh, 140px);
  }

  .hero-fig {
    aspect-ratio: 16 / 10;
    max-height: 34svh;
    width: min(100%, 460px);
    justify-self: end;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 8.6vw, 44px);
  }

  .hero-ghost {
    font-size: clamp(58px, 22vw, 150px);
    bottom: auto;
    top: 2%;
  }

  .flow-band {
    height: 74px;
  }

  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .signup-row {
    flex-wrap: wrap;
  }

  .signup-row button {
    flex: 1 1 100%;
  }
}

@media (max-width: 420px) {
  .dock-menu > menu {
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    max-height: 62svh;
    overflow-y: auto;
  }

  .hero-fig {
    max-height: 30svh;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

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