/* 提取自 HomeView.vue */
/* ================= HERO：全屏 ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 130px 0 0;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--chart-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--chart-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 95% 80% at 50% 35%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 35%, #000 25%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 30px;
  align-items: center;
  position: relative;
}

/* 巨型 logo：接近全屏高度，靠左放置 */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 10px 0;
  margin-left: -80px;
}

/* 标题排版靠右 */
.hero-copy {
  justify-self: end;
  width: min(100%, 600px);
}

.hero-spark {
  position: absolute;
  bottom: -2%;
  left: 6%;
  width: 44%;
  opacity: 0.9;
  pointer-events: none;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(58px, 9vw, 150px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.94;
}

.hero-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

/* 第二行末尾两个字符（US）亮绿色：随深浅主题自动切换适配
   字符 span 由 JS 动态拆分，需用 :deep() 穿透作用域 */
.hero-title .hero-line:last-child :deep(.char:nth-last-child(-n+2)) {
  color: var(--accent3);
}

.hero-title :deep(.char) {
  cursor: default;
}

/* 章节标题遮罩动画 */
.section-title-anim {
  overflow: hidden;
}

.section-title-anim :deep(.line) {
  will-change: transform;
}

/* 滚动提示 */
.hero-scroll-hint {
  position: absolute;
  bottom: 26px;
  right: 0;
  width: 1px;
  height: 56px;
  background: var(--line-strong);
  overflow: hidden;
}

.hero-scroll-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scroll-drop 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-drop {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(250%); }
}

.hero-sub {
  margin-top: 30px;
  max-width: 540px;
}

.mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-subtitle {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.hero-subtitle > .mask > span {
  display: inline-block;
  will-change: transform;
}

.hero-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ================= 行情滚动条 ================= */
.ticker {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 12px 0;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 30px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.ticker-up {
  color: var(--accent);
  font-size: 10px;
}

/* ================= ABOUT ================= */
.about {
  padding: 140px 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
}

.about-title {
  font-size: clamp(32px, 4.4vw, 56px);
  margin-top: 18px;
}

.about-chart {
  margin-top: 44px;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: var(--bg);
}

.about-p {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.95;
  margin-bottom: 26px;
}

.about-p .line {
  opacity: 0.14;
}

.about-p-accent {
  color: var(--accent);
  font-weight:500;
}

.about-quote {
  margin-top: 46px;
  padding-left: 28px;
  border-left: 2px solid var(--accent);
  font-size: 22px;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ================= MODULES 上下排布 ================= */
.modules {
  padding: 120px 0 40px;
}

.modules-head {
  margin-bottom: 70px;
}

.modules-title {
  font-size: clamp(30px, 4vw, 52px);
  margin-top: 14px;
}

.module-stack {
  display: flex;
  flex-direction: column;
}

.module-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  transition: background 0.35s ease;
}

.module-row:last-child {
  border-bottom: 1px solid var(--line);
}

.module-row.row-reverse {
  direction: rtl;
}

.module-row.row-reverse > * {
  direction: ltr;
}

.module-chart {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--bg-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.module-row:hover .module-chart {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(6, 20, 27, 0.12);
}

.module-num {
  font-size: clamp(54px, 6vw, 88px);
  line-height: 1;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-row:hover .module-num {
  transform: translateX(10px);
}

.module-title {
  font-size: clamp(30px, 4vw, 52px);
  margin-top: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-title em {
  color: var(--accent);
}

.module-row:hover .module-title {
  transform: translateX(14px);
}

.module-subtitle {
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.module-body {
  margin-top: 20px;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.module-tags {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: all 0.3s;
}

.module-row:hover .tag {
  border-color: var(--accent);
  color: var(--accent);
}

.module-link {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 600;
}

.module-link .arrow {
  transition: transform 0.35s;
}

.module-link:hover .arrow {
  transform: translateX(6px) rotate(45deg);
}

/* ================= 一个生态：开放联盟横幅 ================= */
.eco-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  margin-top: 70px;
  padding: 64px clamp(28px, 4vw, 56px);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 85% -20%, var(--accent-soft), transparent 62%),
    radial-gradient(520px 300px at -5% 115%, var(--accent2-soft), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--line);
}

.eco-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.eco-title {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-bottom: 10px;
}

.eco-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent2);
  margin-bottom: 14px;
}

.eco-body {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 640px;
}

.eco-info .module-tags {
  margin-top: 18px;
}

.eco-info .module-link {
  margin-top: 18px;
}

.eco-chart {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--bg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.eco-banner:hover .eco-chart {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(6, 20, 27, 0.12);
}

/* ================= PILLARS ================= */
.pillars {
  padding: 110px 0;
  background: var(--bg-soft);
  transition: background 0.5s ease;
}

.pillars-title {
  font-size: clamp(28px, 3.6vw, 46px);
  margin: 16px 0 56px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.pillar {
  padding: 36px 26px;
  border-left: 1px solid var(--line);
  min-height: 220px;
  transition: background 0.4s ease, transform 0.4s ease;
}

.pillar:first-child {
  border-left: 0;
}

.pillar:hover {
  background: var(--bg);
  transform: translateY(-6px);
}

.pillar-index {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.pillar-name {
  font-size: 34px;
  margin: 18px 0 12px;
}

.pillar-body {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ================= WHY ================= */
.why {
  padding: 130px 0 50px;
}

.why-title {
  font-size: clamp(30px, 4.2vw, 54px);
  margin: 16px 0 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px 34px;
  background: var(--bg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.why-card:hover::after {
  opacity: 1;
}

.why-chart {
  margin: -10px -6px 20px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover .why-chart {
  transform: scale(1.06) rotate(-1deg);
}

.why-index {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.why-name {
  font-size: 26px;
  margin: 12px 0 12px;
}

.why-body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
}

/* ================= MANIFESTO（反色） ================= */
.manifesto {
  position: relative;
  background: var(--bg-invert);
  color: var(--on-invert);
  padding: 170px 0;
  overflow: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

.manifesto-deco {
  position: absolute;
  right: -6%;
  bottom: -20%;
  width: min(560px, 60vw);
  opacity: 0.3;
  pointer-events: none;
}

.manifesto-inner {
  text-align: center;
  position: relative;
}

.manifesto-quote {
  max-width: 1060px;
  margin: 34px auto 0;
  font-size: clamp(26px, 4.4vw, 58px);
  line-height: 1.32;
  font-weight: 480;
}

.manifesto-quote :deep(.char) {
  will-change: transform;
}

.manifesto-sub {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ================= ROADMAP ================= */
.roadmap {
  padding: 130px 0 60px;
}

.roadmap-title {
  font-size: clamp(30px, 4.2vw, 54px);
  margin: 16px 0 60px;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.roadmap-item {
  padding: 36px 28px;
  border-left: 1px solid var(--line);
  position: relative;
  transition: background 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-item:hover {
  transform: translateY(-10px);
}

.roadmap-phase {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
}

.roadmap-item:hover .roadmap-phase {
  color: var(--accent3);
  transform: rotate(-6deg) scale(1.15);
}

.roadmap-item:first-child {
  border-left: 0;
}

.roadmap-item:hover {
  background: var(--accent-soft);
}

.roadmap-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent2);
  margin: 18px 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.roadmap-name {
  font-size: 26px;
  margin-bottom: 12px;
}

.roadmap-body {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.9;
}

/* ================= CTA ================= */
.cta {
  position: relative;
  padding: 140px 0 170px;
  text-align: center;
  overflow: hidden;
}

.cta-deco {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: min(680px, 80vw);
  opacity: 0.5;
  pointer-events: none;
}

.cta-inner {
  position: relative;
}

.cta-title {
  font-size: clamp(32px, 5.2vw, 66px);
  max-width: 920px;
  margin: 0 auto;
}

.cta-body {
  max-width: 660px;
  margin: 30px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.cta-actions {
  margin-top: 46px;
  position: relative;
  display: inline-block;
}

/* 按钮脉冲光环 */
.cta-actions::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: cta-pulse 2.6s ease-out infinite;
}

@keyframes cta-pulse {
  0% { transform: scale(0.96); opacity: 0.7; }
  70%, 100% { transform: scale(1.14); opacity: 0; }
}

.cta-note {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ================= 巨型字标 ================= */
.giant-wordmark {
  border-top: 1px solid var(--line);
  padding: 70px 0 10px;
  overflow: hidden;
}

.gf-wrap {
  display: flex;
  justify-content: center;
}

.gf-line {
  overflow: hidden;
  /* 上方留出空间：波浪动画抬起字符时不被遮罩裁剪 */
  padding-top: 40px;
  margin-top: -40px;
}

.gf-word {
  font-size: clamp(70px, 18vw, 260px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.gf-word :deep(.char) {
  will-change: transform;
  transition: color 0.4s ease;
}

.gf-word:hover :deep(.char) {
  color: var(--accent);
}

/* ================= 多列页脚 ================= */
.site-footer {
  background: #eef3ef;
  border-top: 1px solid var(--line);
  padding: 70px 0 0;
  transition: background 0.5s ease;
}

html.dark .site-footer {
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 60px;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-name {
  font-size: 21px;
  font-weight: 600;
}

.footer-blurb {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 360px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col-title {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-link {
  font-size: 14px;
  color: var(--ink-soft);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding-bottom: 2px;
  transition: color 0.25s, background-size 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover {
  color: var(--accent);
  background-size: 100% 1px;
}

.footer-contact {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.footer-email {
  font-size: 13.5px;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 40px;
  }

  .hero-visual {
    order: -1;
    margin-left: 0;
  }

  .hero-copy {
    justify-self: start;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .eco-banner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .module-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .roadmap-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 110px;
  }

  .hero-visual {
    margin-left: 0;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .roadmap-track {
    grid-template-columns: 1fr;
  }

  .roadmap-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .manifesto {
    padding: 100px 0;
  }

  .cta {
    padding: 100px 0 120px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* DecoChart */
.deco-chart {
  width: 100%;
  height: auto;
  display: block;
}

.pulse-dot {
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { r: 6; }
  50% { r: 9; }
}

/* OrbitLogo */
.orbit-logo {
  position: relative;
  width: min(78vh, 840px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-img {
  width: 68%;
  border-radius: 50%;
  position: relative;
  z-index: 3;
  box-shadow: 0 30px 80px rgba(6, 20, 27, 0.35);
}

.orbit-text {
  position: absolute;
  inset: -7%;
  animation: orbit-rotate 24s linear infinite;
}

.orbit-text text {
  font-size: 8.2px;
  letter-spacing: 0.34em;
  fill: var(--ink-soft);
}

@keyframes orbit-rotate {
  to { transform: rotate(360deg); }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  animation: orbit-rotate 40s linear infinite;
}

.ring-1 {
  inset: 7%;
}

.ring-2 {
  inset: -5%;
  border-style: solid;
  border-color: var(--line);
  animation-duration: 70s;
  animation-direction: reverse;
}

/* 卫星沿轨道公转 */
.orbit-satellites {
  position: absolute;
  inset: 7%;
  animation: orbit-rotate 16s linear infinite;
  z-index: 4;
}

.orbit-satellite {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.satellite-1 {
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.satellite-2 {
  bottom: 3%;
  right: 15%;
  background: var(--accent2);
  width: 8px;
  height: 8px;
}

.orbit-tick {
  position: absolute;
  font-size: 15px;
  color: var(--accent);
  z-index: 4;
}

.tick-a {
  top: -3%;
  right: 18%;
}

.tick-b {
  bottom: 4%;
  left: 8%;
  color: var(--accent2);
}

.tick-c {
  top: 22%;
  right: -3%;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
}
/* 「us」高亮色：金色，深浅色模式下都醒目 */
.hero-title .accent-char {
  color: var(--accent2);
}
