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

:root {
  --ink: #171f26;
  --ink-lo: #121920;
  --ink-hi: #1e2831;
  --ice: #c8e0f4;
  --rose: #f5e0e8;
  --fg: #dde8f2;
  --muted: #9db0c0;
  --line: rgba(200, 224, 244, 0.13);
  --r: 4px;
  --soft: 14px;
  --shadow-out: -6px -6px 16px rgba(200, 224, 244, 0.06), 7px 7px 20px rgba(0, 0, 0, 0.55);
  --shadow-in: inset -3px -3px 9px rgba(200, 224, 244, 0.08), inset 3px 3px 9px rgba(0, 0, 0, 0.55);
  --pill: -3px -3px 8px rgba(200, 224, 244, 0.07), 3px 3px 9px rgba(0, 0, 0, 0.55);
}

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

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

body {
  margin: 0;
  font-family: 'Open Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--fg);
  background-color: var(--ink);
  background-image: radial-gradient(rgba(200, 224, 244, 0.085) 1px, transparent 1.4px);
  background-size: 24px 24px;
  background-attachment: fixed;
  padding-bottom: 104px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand, .hero-brand, .dock-nav a, .foot-brand {
  font-family: 'Poppins', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

::selection { background: var(--rose); color: var(--ink); }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* ---------- 底部软凸导航条 ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(14px, 4vw, 40px);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(30, 40, 49, 0.94), rgba(18, 25, 32, 0.99));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(200, 224, 244, 0.12);
  box-shadow: -4px -4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(200, 224, 244, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 13px;
  border-radius: 12px;
  color: var(--ice);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(145deg, var(--ink-hi), var(--ink-lo));
  box-shadow: var(--pill);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
  flex: none;
}

.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.dock-nav { margin-left: auto; min-width: 0; }

.dock-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.dock-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  background: linear-gradient(145deg, rgba(30, 40, 49, 0.95), rgba(19, 26, 33, 0.95));
  box-shadow: var(--pill);
  transition: transform 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.dock-nav a:hover { color: #ffffff; transform: translateY(-1px); }

.dock-nav a:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-in);
}

/* ---------- 主舞台 ---------- */
.stage {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(56px, 9vh, 110px) 0 clamp(44px, 7vh, 84px);
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

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

.hero-h1 {
  margin: 0 0 0.22em;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0.005em;
  font-weight: 700;
  color: #f4f9fd;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), 0 0 28px rgba(200, 224, 244, 0.16);
}

.hero-copy .hero-brand {
  margin: 0 0 0.85em;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--rose);
}

.hero-copy .hero-brand::before { content: none; }

.hero-copy .subtitle {
  margin: 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-art {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 224, 244, 0.16), transparent 62%),
    linear-gradient(145deg, rgba(245, 224, 232, 0.14), rgba(23, 31, 38, 0.9));
  box-shadow: var(--shadow-out);
  border: 1px solid var(--line);
}

.hero-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.hero-orb {
  position: absolute;
  z-index: 1;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 224, 232, 0.55), rgba(245, 224, 232, 0) 68%);
  filter: blur(14px);
  opacity: 0.75;
  pointer-events: none;
  animation: sway 9s ease-in-out infinite alternate;
}

/* ---------- 正文块 ---------- */
.sheet { display: block; }

.sheet > section:not(.hero) {
  margin: 0 0 clamp(26px, 3.6vw, 46px);
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(200, 224, 244, 0.08), rgba(23, 31, 38, 0.66));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-out);
  scroll-margin-top: 26px;
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

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

.sheet h2 {
  position: relative;
  margin: 0 0 0.55em;
  padding-left: 17px;
  font-size: clamp(21px, 2.7vw, 28px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f2f8fc;
}

.sheet h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.34em;
  bottom: 0.34em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ice), var(--rose));
  box-shadow: 0 0 10px rgba(200, 224, 244, 0.4);
}

.sheet h3 {
  margin: 1.4em 0 0.5em;
  font-size: 19px;
  line-height: 1.45;
  color: #eef6fb;
}

.sheet p { margin: 0 0 1.05em; max-width: 72ch; }

.sheet .subtitle {
  margin: 0 0 1.15em;
  max-width: 66ch;
  color: var(--muted);
  font-size: 17px;
}

.sheet ul, .sheet ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.sheet li { margin: 0 0 0.45em; }

.sheet a {
  color: var(--ice);
  border-bottom: 1px solid rgba(200, 224, 244, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.sheet a:hover { color: var(--rose); border-color: var(--rose); }

.sheet img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: var(--r);
}

.sheet blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-radius: var(--r);
  border-left: 3px solid var(--rose);
  background: rgba(245, 224, 232, 0.07);
  color: #eaf2f8;
}

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

.sheet table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 16px;
}

.sheet th, .sheet td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.sheet strong { color: #f6fbff; }

/* ---------- 页脚 ---------- */
.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px) clamp(16px, 4vw, 32px) clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(18px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.foot-about, .foot-links {
  padding: 22px 22px 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(200, 224, 244, 0.065), rgba(23, 31, 38, 0.62));
  box-shadow: var(--shadow-out);
}

.foot-brand {
  display: inline-block;
  padding: 6px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ice);
}

.foot-desc {
  margin: 0.5em 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 40ch;
}

.foot-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--fg);
  background: linear-gradient(145deg, rgba(30, 40, 49, 0.9), rgba(19, 26, 33, 0.9));
  box-shadow: var(--pill);
  transition: transform 0.15s ease, color 0.15s ease;
}

.foot-links a:hover { color: #ffffff; transform: translateY(-1px); }
.foot-links a:active { transform: scale(0.97); box-shadow: var(--shadow-in); }

.foot-base {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(200, 224, 244, 0.14);
  font-size: 16px;
  color: var(--muted);
}

.foot-top {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--ice);
  background: linear-gradient(145deg, var(--ink-hi), var(--ink-lo));
  box-shadow: var(--pill);
}

.foot-top:active { transform: scale(0.97); box-shadow: var(--shadow-in); }

/* ---------- 动效 ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sway {
  from { transform: translate3d(-6%, 4%, 0) scale(1); }
  to { transform: translate3d(6%, -5%, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .sheet > section, .hero-orb { animation: none; }
  .dock-nav a, .foot-links a, .foot-top { transition: none; }
}

/* ---------- 窄屏 ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 44px 0 40px; }
  .hero-art { aspect-ratio: 16 / 10; order: -1; }
  .hero-h1 { font-size: clamp(30px, 9vw, 42px); }
  .foot { grid-template-columns: 1fr; }
}

@media (max-width: 719px) {
  body { padding-bottom: 196px; }

  .dock {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 9px 12px 12px;
  }

  .brand { align-self: flex-start; }
  .dock-nav { margin-left: 0; }
  .dock-nav ul { justify-content: flex-start; gap: 5px; }
  .dock-nav a { padding: 8px 7px; }

  .hero-art { aspect-ratio: 16 / 11; }
  .sheet > section:not(.hero) { padding: 20px 17px; }
  .foot-about, .foot-links { padding: 18px 16px 14px; }
  .foot-base { font-size: 16px; }
}

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