:root {
  --primary: #5e75fa;
  --primary-glow: rgba(94, 117, 250, 0.35);
  --accent: #38bdf8;
  --surface: #141b2d;
  --surface-light: #1e2942;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #0b0f19;
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 顶层包裹器 */
.sheath {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

/* 复用首页导航栏样式 */
.visor {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(94, 117, 250, 0.15);
}

.sigil {
  min-width: 0;
  display: flex;
  align-items: center;
}

.sigil img {
  height: 36px;
  width: auto;
}

.passage {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.tether {
  min-width: 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.35s ease;
  padding: 6px 12px;
  border-radius: 8px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.tether:hover,
.tether.active {
  color: #ffffff;
  background: rgba(94, 117, 250, 0.15);
}

.trigger {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5e75fa 0%, #4355d6 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.35s ease;
  word-break: break-word;
  overflow-wrap: break-word;
}

.trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(94, 117, 250, 0.5);
}

/* 主版心容器 */
.harbor {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 60px;
}

/* 首屏 Onboarding Citadel */
.citadel {
  min-width: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 27, 45, 0.9) 0%, rgba(15, 21, 37, 0.95) 100%);
  border: 1px solid rgba(94, 117, 250, 0.2);
  border-radius: var(--radius);
  padding: 48px 36px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 32px;
}

.apex {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 16px;
}

.crest {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(94, 117, 250, 0.12);
  border: 1px solid rgba(94, 117, 250, 0.3);
  border-radius: 30px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  width: fit-content;
}

.rubric {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.rune {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 860px;
  line-height: 1.75;
}

.swathe {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 10px;
}

.slab {
  flex: 1 1 260px;
  min-width: 0;
  background: rgba(30, 41, 66, 0.6);
  border: 1px solid rgba(94, 117, 250, 0.15);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 12px;
  transition: all 0.35s ease;
}

.slab:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 117, 250, 0.4);
  background: rgba(30, 41, 66, 0.85);
}

.glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(94, 117, 250, 0.2) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid rgba(94, 117, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.glyph svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 步骤板块 1: Section */
.haven {
  min-width: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 32px;
}

.stratum {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.vault {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

.node {
  width: 100%;
  background: rgba(30, 41, 66, 0.4);
  border: 1px solid rgba(94, 117, 250, 0.1);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.node:hover {
  border-color: rgba(94, 117, 250, 0.3);
}

/* 模拟 App UI 视图框 */
.prisma {
  flex: 1 1 340px;
  min-width: 0;
  background: #0d1322;
  border: 1px solid rgba(94, 117, 250, 0.25);
  border-radius: 20px;
  padding: 24px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 18px;
}

.lever {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, rgba(94, 117, 250, 0.2) 0%, rgba(94, 117, 250, 0.05) 100%);
  border: 1px dashed rgba(94, 117, 250, 0.4);
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

/* 步骤板块 2: Aside */
.sanctum {
  min-width: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(20, 27, 45, 0.95) 0%, rgba(26, 20, 45, 0.8) 100%);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 32px;
}

.latch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fb7185;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 助记词卡片布局 */
.cluster {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: 16px;
}

.seal {
  flex: 1 1 120px;
  min-width: 0;
  background: rgba(30, 41, 66, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: monospace;
  font-size: 14px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seal span {
  color: #94a3b8;
  font-size: 12px;
}

/* 步骤板块 3: Div */
.capsule {
  min-width: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(94, 117, 250, 0.15);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 32px;
}

/* 页脚 Plinth */
.plinth {
  width: 100%;
  background: #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 32px 40px 32px;
  margin-top: auto;
}

.bedrock {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.anchor {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
}

.anchor h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.depth {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.depth-col {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 12px;
}

.depth-col h4 {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 4px;
}

.depth-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.35s ease;
}

.depth-col a:hover {
  color: var(--primary);
}

.copyright {
  width: 100%;
  max-width: 1240px;
  margin: 40px auto 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .visor {
    padding: 14px 18px;
  }
  .passage {
    display: none;
  }
  .harbor {
    padding: 24px 16px 60px 16px;
    gap: 36px;
  }
  .citadel,
  .haven,
  .sanctum,
  .capsule {
    padding: 28px 20px;
  }
  .swathe,
  .stratum {
    flex-direction: column;
  }
  .depth {
    gap: 24px;
  }
}

.beacon-visor{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(11, 15, 25, 0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 16px 32px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }

.beacon-visor .beacon-sigil{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.beacon-visor .beacon-sigil img{
            height: 38px;
            width: auto;
            display: block;
        }

.beacon-visor .beacon-passage{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 24px;
            min-width: 0;
        }

.beacon-visor .beacon-tether{
            color: #94a3b8;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.35s ease;
            padding: 8px 14px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
        }

.beacon-visor .beacon-tether:hover, .beacon-visor .beacon-tether.active{
            color: #ffffff;
            background: rgba(94, 117, 250, 0.15);
        }

.beacon-visor .beacon-trigger{
            background: linear-gradient(135deg, #5e75fa 0%, #4355d6 100%);
            color: #ffffff;
            border: none;
            padding: 12px 26px;
            border-radius: 14px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(94, 117, 250, 0.35);
            transition: all 0.35s ease;
            min-width: 0;
        }

.beacon-visor .beacon-trigger:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(94, 117, 250, 0.5);
            color: #ffffff;
        }

@media (max-width: 768px){.beacon-visor{
                padding: 12px 20px;
            }

.beacon-visor .beacon-passage{
                display: none; 
            }}

.beacon-visor {
    background: rgb(11, 15, 25);
    background-image: none;
}

.bedrock-plinth {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-main);
}
.bedrock-plinth,
.bedrock-plinth *,
.bedrock-plinth *::before,
.bedrock-plinth *::after {
    box-sizing: border-box;
}

.bedrock-plinth nav,
.bedrock-plinth div,
.bedrock-plinth section,
.bedrock-plinth article,
.bedrock-plinth aside,
.bedrock-plinth p,
.bedrock-plinth h1,
.bedrock-plinth h2,
.bedrock-plinth h3,
.bedrock-plinth h4,
.bedrock-plinth h5,
.bedrock-plinth h6,
.bedrock-plinth a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.bedrock-plinth p,
.bedrock-plinth h1,
.bedrock-plinth h2,
.bedrock-plinth h3,
.bedrock-plinth h4,
.bedrock-plinth h5,
.bedrock-plinth h6 {
    text-decoration: none;
}

.bedrock-plinth img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.bedrock-plinth {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.bedrock-plinth a,
.bedrock-plinth a:hover,
.bedrock-plinth a:focus,
.bedrock-plinth a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.bedrock-plinth .bedrock-rune-body{
            color: #94a3b8;
            font-size: 15px;
            line-height: 1.7;
        }

.bedrock-plinth{
            background: #070a12;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px 24px;
            width: 100%;
        }

.bedrock-plinth .bedrock-bedrock{
            max-width: 1240px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
        }

.bedrock-plinth .bedrock-brand-column{
            max-width: 360px;
        }

.bedrock-plinth .bedrock-brand-rubric{
            font-size: 24px;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 12px;
            letter-spacing: -0.01em;
        }

.bedrock-plinth .bedrock-links-column{
            display: flex;
            flex-wrap: wrap;
            gap: 60px;
        }

.bedrock-plinth .bedrock-stratum-links{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.bedrock-plinth .bedrock-stratum-rubric{
            font-size: 15px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 8px;
        }

.bedrock-plinth .bedrock-plinth-tether{
            color: #94a3b8;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.35s ease;
        }

.bedrock-plinth .bedrock-plinth-tether:hover{
            color: #5e75fa;
        }

.bedrock-plinth .bedrock-copyright-row{
            max-width: 1240px;
            margin: 40px auto 0 auto;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            color: #94a3b8;
            font-size: 13px;
        }

@media (max-width: 768px){.bedrock-plinth .bedrock-links-column{
                gap: 32px;
            }}