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

:root {
  --mint: #99ffcc;
  --acid: #00ff41;
  --navy: #001e3c;
  --deep: #00152b;
  --card: rgba(153, 255, 204, 0.06);
  --card-2: rgba(153, 255, 204, 0.1);
  --text: #dff8ee;
  --dim: #90b6b4;
  --line: rgba(153, 255, 204, 0.16);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--text);
  font-family: 'Noto Sans Hebrew', -apple-system, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  position: relative;
  min-height: 100vh;
}

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

a {
  color: var(--mint);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--acid);
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 4px;
}

menu,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

small {
  display: block;
}

/* ---------- 生物光背景 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  display: block;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  animation: breathe 16s ease-in-out infinite;
}

.b1 {
  width: 46vw;
  height: 46vw;
  top: -14vw;
  left: -10vw;
  background: #99ffcc;
}

.b2 {
  width: 38vw;
  height: 38vw;
  top: 34vh;
  right: -14vw;
  background: #00ff41;
  opacity: 0.22;
  animation-delay: -6s;
}

.b3 {
  width: 40vw;
  height: 40vw;
  bottom: -16vw;
  left: 22vw;
  background: #0a6d8f;
  opacity: 0.4;
  animation-delay: -11s;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.32;
  }
  50% {
    transform: scale(1.16) translate3d(2vw, -2vh, 0);
    opacity: 0.5;
  }
}

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 21, 43, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 0;
}

.top-bar {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

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

.brand-name {
  white-space: nowrap;
}

.brand-mark,
.brand-cell {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.brand-cell {
  background: radial-gradient(circle at 32% 30%, var(--mint), var(--acid) 62%, #0c6f52);
  border-radius: 62% 38% 55% 45% / 50% 58% 42% 50%;
  animation: morph 9s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.45);
}

@keyframes morph {
  0%,
  100% {
    border-radius: 62% 38% 55% 45% / 50% 58% 42% 50%;
  }
  50% {
    border-radius: 42% 58% 38% 62% / 58% 42% 58% 42%;
  }
}

.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu summary {
  display: none;
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  border-radius: 4px;
  background: var(--card);
  color: var(--mint);
  font-size: 16px;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  font-size: 16px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--acid);
  background: var(--card);
  transform: translateY(-1px);
}

.call {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--mint);
  color: var(--deep);
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.call:hover,
.call:focus-visible {
  background: var(--acid);
  color: var(--deep);
  transform: translateY(-1px);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 45vh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 64px) 20px;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 40px);
  max-width: 900px;
  text-align: center;
}

.hero-art {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  animation: breathe 11s ease-in-out infinite;
}

.hero-art .cell {
  width: 96px;
  height: 96px;
  display: block;
  background: radial-gradient(circle at 34% 28%, #d5fff0, var(--mint) 40%, #05b96b 78%, rgba(0, 255, 65, 0.2));
  border-radius: 60% 40% 52% 48% / 48% 60% 40% 52%;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.35);
  animation: morph 12s ease-in-out infinite;
}

.hero-art.has-img img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 60% 40% 52% 48% / 48% 60% 40% 52%;
  animation: morph 12s ease-in-out infinite;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(27px, 5.2vw, 46px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mint);
  text-shadow: 0 0 34px rgba(153, 255, 204, 0.28);
}

.hero-lead {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.7;
  max-width: 40ch;
  margin-inline: auto;
}

/* ---------- 主体骨架 ---------- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px clamp(48px, 8vw, 96px);
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}

.rail {
  position: sticky;
  top: 78px;
  padding: 16px 14px;
  background: var(--card);
  border-radius: 4px;
}

.rail small {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--dim);
  margin-bottom: 2px;
}

.rail-h {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--mint);
  letter-spacing: 0.06em;
}

.rail-list {
  counter-reset: railstep;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rail-list li {
  counter-increment: railstep;
}

.rail-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px;
  font-size: 15px;
  color: var(--text);
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.rail-list a::before {
  content: counter(railstep, decimal-leading-zero);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.rail-list a:hover,
.rail-list a:focus-visible,
.rail-list a.is-on {
  color: var(--acid);
  background: var(--card-2);
  padding-left: 12px;
}

.sheet {
  min-width: 0;
}

/* ---------- 正文 ---------- */
.prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.82;
}

.prose > article {
  position: relative;
  padding-bottom: clamp(28px, 4vw, 52px);
  margin-bottom: clamp(28px, 4vw, 52px);
  scroll-margin-top: 92px;
  animation: rise 0.7s ease both;
}

.prose > article > * {
  animation: rise 0.6s ease both;
}

.prose > article::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), rgba(0, 255, 65, 0.18) 58%, transparent);
  opacity: 0.5;
}

.prose > article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.prose > article:last-child::after {
  display: none;
}

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

.prose h2 {
  margin: 0 0 14px;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.4;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: -0.005em;
}

.prose h2 > small,
.prose small.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--acid);
  margin-bottom: 8px;
}

.prose h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--mint);
}

.prose p {
  margin: 0 0 15px;
}

.prose a {
  color: var(--mint);
  border-bottom: 1px solid rgba(0, 255, 65, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.prose a:hover,
.prose a:focus-visible {
  color: var(--acid);
  border-color: var(--acid);
}

.prose strong {
  color: var(--mint);
  font-weight: 700;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.15em;
}

.prose li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 4px;
  animation: rise 0.5s ease both;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: -0.95em;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 60% 40% 55% 45%;
  opacity: 0.75;
}

.prose ol {
  list-style: decimal;
}

.prose ol li::marker {
  color: var(--acid);
  font-size: 14px;
}

.prose li:nth-child(2) {
  animation-delay: 0.05s;
}
.prose li:nth-child(3) {
  animation-delay: 0.1s;
}
.prose li:nth-child(4) {
  animation-delay: 0.15s;
}
.prose li:nth-child(5) {
  animation-delay: 0.2s;
}
.prose li:nth-child(6) {
  animation-delay: 0.25s;
}
.prose li:nth-child(7) {
  animation-delay: 0.3s;
}
.prose li:nth-child(8) {
  animation-delay: 0.35s;
}

.prose blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  background: var(--card);
  border-radius: 4px;
  border-left: 3px solid var(--acid);
  color: #eafff7;
}

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

.prose img {
  border-radius: 4px;
  margin: 0 0 16px;
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}

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

.prose th,
.prose td {
  padding: 9px 12px;
  text-align: left;
  background: var(--card);
}

.prose th {
  color: var(--mint);
  font-weight: 500;
}

.prose code {
  font-size: 15px;
  background: rgba(0, 255, 65, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 21, 43, 0) 0%, rgba(0, 15, 30, 0.94) 32%);
  padding: clamp(40px, 7vw, 76px) 20px 26px;
}

.foot-cta {
  max-width: 1140px;
  margin: 0 auto clamp(28px, 5vw, 48px);
}

.foot-cta a {
  display: block;
  padding: 20px 24px;
  border-radius: 4px;
  background: var(--card-2);
  color: var(--mint);
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.foot-cta a:hover,
.foot-cta a:focus-visible {
  background: var(--acid);
  color: var(--deep);
  transform: translateY(-2px);
}

.foot-cols {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.foot dt {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--dim);
  margin-bottom: 10px;
}

.foot dd {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 16px;
}

.foot dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  color: var(--text);
}

.foot dd a:hover,
.foot dd a:focus-visible {
  color: var(--acid);
}

.foot-base {
  max-width: 1140px;
  margin: clamp(26px, 4vw, 44px) auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.copy {
  margin: 0;
  font-size: 14px;
  color: var(--dim);
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--card);
  color: var(--mint);
  font-size: 15px;
}

.to-top:hover,
.to-top:focus-visible {
  background: var(--card-2);
  color: var(--acid);
}

/* ---------- 中等与移动端 ---------- */
@media (max-width: 900px) {
  .wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rail {
    position: static;
    padding: 12px 12px 8px;
  }

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

  .rail-list li {
    flex: 0 0 auto;
  }

  .rail-list a {
    padding: 6px 10px;
    font-size: 14px;
    background: var(--card);
  }

  .rail-list a::before {
    display: none;
  }
}

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

  .top-bar {
    gap: 10px;
    padding: 8px 16px;
    justify-content: space-between;
  }

  .brand {
    font-size: 16px;
  }

  .menu {
    order: 3;
    margin-left: 0;
  }

  .menu summary {
    display: flex;
  }

  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 16px 14px;
    background: #001a33;
    border-bottom: 1px solid var(--line);
    max-height: 72vh;
    overflow-y: auto;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  }

  .nav-list a {
    padding: 0 12px;
    min-height: 44px;
  }

  .call {
    order: 2;
    margin-left: auto;
    padding: 0 14px;
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 30px 18px 34px;
  }

  .hero-row {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .hero-art,
  .hero-art .cell,
  .hero-art.has-img img {
    width: 84px;
    height: 84px;
  }

  .hero-art {
    width: 84px;
    height: 84px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .wrap {
    padding: 0 16px 56px;
  }

  .prose {
    font-size: 16.5px;
  }

  .prose h2 {
    font-size: 21px;
  }

  .foot {
    padding: 38px 16px 22px;
  }

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

  .foot dd a {
    min-height: 44px;
  }

  .foot-cta a {
    padding: 16px 18px;
  }
}

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

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

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