/* ============================================================
   月光之旅 · 官网样式
   纯手写 CSS，无任何外部依赖（不引 CDN、不引字体服务）
   设计基调：夜色 + 月光，深色底、柔和光晕、克制留白
   ============================================================ */

:root {
  --bg-top: #070b16;
  --bg-bottom: #0b1220;
  --ink: #e8ecf7;
  --ink-soft: #b9c4da;   /* 正文灰：提亮一档，长段落才不会吃力 */
  --ink-dim: #939fba;    /* 标签灰：页脚/元信息用，仍需可读 */
  --moon: #dfe6ff;
  --moon-glow: rgba(190, 206, 255, 0.55);
  --line: rgba(190, 206, 255, 0.14);
  --card: rgba(255, 255, 255, 0.035);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
          "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--moon); }

/* ---------- 夜空背景（纯 CSS 星点 + 月亮） ---------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 星点：多层径向渐变模拟稀疏星空 */
.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1.2px 1.2px at 78% 12%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.8px 1.8px at 63% 34%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1.1px 1.1px at 28% 62%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 58%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.2px 1.2px at 44% 82%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 8% 88%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 70% 76%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 92% 26%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.0px 1.0px at 36% 8%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 55% 52%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.0px 1.0px at 18% 44%, rgba(255,255,255,.4), transparent 60%);
  opacity: 1;
}

/* 月亮本体 */
.moon {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  /* 左上亮、右下暗 + 内阴影，做出球体感，不再是一块纯白光盘 */
  background: radial-gradient(circle at 36% 32%, #fbfcff 0%, #e9eefc 40%, #c3ccdf 70%, #96a1bb 100%);
  box-shadow:
    inset -34px -26px 90px rgba(28, 38, 62, 0.55),
    0 0 80px 24px rgba(190, 206, 255, 0.22),
    0 0 200px 70px rgba(140, 160, 230, 0.12);
  opacity: .82;
}

/* 月亮外围柔光 */
.glow {
  position: absolute;
  top: -260px;
  right: -220px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 180, 255, 0.20) 0%, rgba(120, 145, 230, 0.10) 38%, transparent 68%);
  filter: blur(6px);
}

/* ---------- 页头 ---------- */

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 28px 0;
}

.brand { display: inline-flex; align-items: baseline; gap: 12px; }

.brand-cn {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .22em;
}

.brand-en {
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.brand-mail {
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--ink);
  /* 月亮在右上角，浅色文字压在亮区上会糊 → 给一枚半透明暗底「药丸」，任何底色都能读 */
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.45);
  border: 1px solid rgba(190, 206, 255, 0.10);
  backdrop-filter: blur(4px);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.brand-mail:hover { color: var(--moon); border-color: rgba(190, 206, 255, 0.32); background: rgba(8, 12, 22, 0.62); }

/* ---------- 主体布局 ---------- */

main {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 40px;
}

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

.hero {
  padding: clamp(96px, 17vh, 190px) 0 clamp(72px, 12vh, 140px);
}

.hero-kicker {
  margin: 0 0 26px;
  font-size: 12.5px;
  letter-spacing: .30em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 6.2vw, 68px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: .06em;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 10%, #c8d4ff 55%, #93a6e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 34em;
  margin: 30px 0 0;
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  color: var(--ink-soft);
}

.hero-line {
  width: 84px;
  height: 1px;
  margin-top: 52px;
  background: linear-gradient(90deg, var(--moon-glow), transparent);
}

/* ---------- 通用区块 ---------- */

.section { padding: clamp(56px, 9vh, 104px) 0; }

.section-title {
  margin: 0 0 40px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: .14em;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 14px;
  vertical-align: 4px;
  border-radius: 50%;
  background: var(--moon);
  box-shadow: 0 0 12px 2px var(--moon-glow);
}

/* ---------- 理念卡片 ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 30px 26px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  backdrop-filter: blur(2px);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}

.card:hover {
  border-color: rgba(190, 206, 255, 0.30);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 14px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: .12em;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- 关于 ---------- */

.section-about {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.section-about .section-title { margin-bottom: 26px; }

.about-text p {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.about-meta {
  margin: 0;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 3vw, 34px);
}

.about-meta > div {
  display: grid;
  grid-template-columns: 5.2em 1fr;   /* 标签定宽，值左对齐，长短文案都不松散 */
  gap: 10px 18px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(190, 206, 255, 0.10);
}

.about-meta > div:last-child { border-bottom: 0; }

.about-meta dt {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: .08em;
  white-space: nowrap;
}

.about-meta dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
  text-align: left;
  word-break: break-word;
}

/* ---------- 联系 ---------- */

.section-contact {
  border-top: 1px solid var(--line);
  text-align: left;
}

.contact-text {
  margin: 0 0 26px;
  font-size: 15px;
  color: var(--ink-soft);
}

.contact-mail {
  display: inline-block;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: .04em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s ease, color .25s ease;
}

.contact-mail:hover { border-color: var(--moon); }

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

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 28px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--ink-soft);        /* 备案号是合规展示项，不能暗到看不清 */
}

.footer-inner p { margin: 0; }

.footer-filing a {
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.footer-filing a:hover { border-color: var(--line); }

/* ---------- 响应式 ---------- */

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .section-about { grid-template-columns: 1fr; }
  .about-meta {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 10px;
  }
  .moon { width: 320px; height: 320px; top: -120px; right: -120px; }
  .glow { width: 560px; height: 560px; top: -220px; right: -200px; }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 26px;
  }
  .brand-en { display: none; }
  .hero { padding-top: 64px; }
  .hero-title { letter-spacing: .02em; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* 尊重系统「减少动效」设置 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
