/* ══════════════════════════════════════════════════════════════
   EOS Web3 Hero —— 设计令牌
   ══════════════════════════════════════════════════════════════ */

:root {
  /* 纯黑 */
  --eos-bg:        #000000;
  --eos-fg:        #ffffff;

  /* 透明度 */
  --eos-fg-60:     rgba(255, 255, 255, 0.60);
  --eos-fg-70:     rgba(255, 255, 255, 0.70);
  --eos-white-10:  rgba(255, 255, 255, 0.10);
  --eos-white-20:  rgba(255, 255, 255, 0.20);

  /* 遮罩 */
  --eos-overlay:   rgba(0, 0, 0, 0.50);   /* bg-black/50 */

  /* 字体 */
  --eos-font: 'General Sans', ui-sans-serif, system-ui, sans-serif;

  /* 渐变文字 */
  --eos-grad: linear-gradient(144.5deg, #ffffff 28%, rgba(0,0,0,0) 115%);

  /* 布局 */
  --eos-nav-px: 120px;
  --eos-nav-py: 20px;
  --eos-hero-pt: 280px;
  --eos-hero-pb: 102px;
  --eos-gap: 40px;

  /* 药丸按钮 */
  --eos-radius-pill: 9999px;
  --eos-btn-border: 0.6px;
  --eos-btn-px: 29px;
  --eos-btn-py: 11px;
}

@media (max-width: 767px) {
  :root {
    --eos-nav-px: 20px;
    --eos-hero-pt: 200px;
  }
}

/* ══════════════════════════════════════════════════════════════
   EOS Web3 Hero —— 样式
   ══════════════════════════════════════════════════════════════ */

/* ── General Sans(Fontshare,3 字重)── */
@font-face { font-family: 'General Sans'; src: url('/fonts/eos/GeneralSans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/fonts/eos/GeneralSans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/fonts/eos/GeneralSans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

/* ══ ① 外层 ══ */
.eos {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--eos-bg);
  color: var(--eos-fg);
  font-family: var(--eos-font);
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.eos__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.eos__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: var(--eos-overlay);
}

/* ══ ② 导航栏 ══ */
.eos-nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: var(--eos-nav-py) var(--eos-nav-px);
  flex: 0 0 auto;
}
.eos-nav__left { display: flex; align-items: center; gap: 30px; }

/* Logo 词标 */
.eos-logo {
  width: 187px; height: 25px;
  display: inline-flex; align-items: center;
  color: #fff;
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex: 0 0 auto;
}

/* 导航链接 */
.eos-nav__links { display: none; align-items: center; gap: 30px; }
@media (min-width: 768px) { .eos-nav__links { display: flex; } }
.eos-nav__link {
  display: inline-flex; align-items: center; gap: 14px;
  color: #fff;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: opacity .2s ease;
}
.eos-nav__link:hover { opacity: .7; }
.eos-nav__link svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* ══ ③ 分层药丸按钮 ══ */
.eos-pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--eos-radius-pill);
  border: var(--eos-btn-border) solid #fff;
  padding: var(--eos-btn-py) var(--eos-btn-px);
  font-family: var(--eos-font);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
  transition: filter .2s ease;
}
.eos-pill:hover { filter: brightness(1.12); }

/* 顶部光带 */
.eos-pill::before {
  content: '';
  position: absolute;
  top: -12px; left: 18%;
  width: 56%; height: 20px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
  filter: blur(7px);
  pointer-events: none;
  z-index: 2;
}
.eos-pill__inner {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
}

/* 深色版(导航栏用) */
.eos-pill--dark { background: #000; color: #fff; }
/* 白色版(CTA 用) */
.eos-pill--light { background: #fff; color: #000; }

/* ══ ④ Hero 内容(居中)══ */
.eos-hero {
  position: relative; z-index: 10;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: var(--eos-hero-pt) var(--eos-nav-px) var(--eos-hero-pb);
  gap: var(--eos-gap);
}

/* 徽章 */
.eos-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--eos-white-10);
  border: 1px solid var(--eos-white-20);
  border-radius: 20px;
  padding: 8px 16px;
  font-family: var(--eos-font);
  font-size: 13px; font-weight: 500;
  color: var(--eos-fg-60);
}
.eos-badge__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}
.eos-badge__strong { color: #fff; }

/* 大标题(渐变文字) */
.eos-h1 {
  margin: 0;
  max-width: 613px;
  font-family: var(--eos-font);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.28;
  /* 渐变填充 */
  background: var(--eos-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (min-width: 768px) { .eos-h1 { font-size: 56px; } }

/* 副标题 */
.eos-sub {
  margin: 24px 0 0;
  max-width: 680px;
  font-family: var(--eos-font);
  font-size: 15px; font-weight: 400;
  line-height: 1.7;
  color: var(--eos-fg-70);
}

/* CTA */
.eos-cta { margin-top: 8px; }
.eos-cta .eos-pill { padding: 11px 29px; }

/* ══ ⑤ 响应式 ══ */
@media (max-width: 767px) {
  .eos-nav { padding: 16px 20px; }
  .eos-nav__left { gap: 0; }
  .eos-logo { width: auto; }
  .eos-hero { padding: 200px 20px 102px; gap: 32px; }
  .eos-h1 { font-size: 36px; }
}

/* ══ ⑥ 无障碍 ══ */
.eos-pill:focus-visible, .eos-nav__link:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .eos-pill { transition: none; }
}