:root {
  --bg: #07131b;
  --bg-soft: #0c1a23;
  --surface: rgba(10, 26, 36, 0.68);
  --surface-strong: rgba(7, 19, 27, 0.84);
  --surface-light: rgba(248, 244, 234, 0.09);
  --line: rgba(210, 228, 239, 0.14);
  --line-strong: rgba(229, 186, 122, 0.26);
  --text: #f6efe3;
  --muted: #b5c3ca;
  --accent: #f29a52;
  --accent-strong: #ff6b35;
  --accent-cool: #57c7bf;
  --success: #6fd2a2;
  --danger: #ff8c7b;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: min(1240px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 154, 82, 0.16), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(87, 199, 191, 0.14), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 107, 53, 0.12), transparent 34%),
    linear-gradient(160deg, #040c11 0%, #07131b 35%, #0a1620 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 85%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  width: var(--content-width);
  margin: 14px auto 0;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 18, 25, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 19px;
  color: #09131a;
  background: linear-gradient(145deg, #ffd8b2, #f29a52 58%, #ff6b35);
  box-shadow: 0 10px 24px rgba(242, 154, 82, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #0a1116;
  background: linear-gradient(135deg, #ffd4a7, #f29a52 45%, #ff6b35 100%);
  box-shadow: 0 18px 38px rgba(255, 107, 53, 0.24);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button.subtle {
  color: var(--text);
  background: rgba(87, 199, 191, 0.12);
  border: 1px solid rgba(87, 199, 191, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: #ffd9b4;
  background: rgba(242, 154, 82, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(10, 26, 36, 0.82), rgba(7, 19, 27, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.page-footer {
  width: var(--content-width);
  margin: 32px auto 44px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100% - 20px, 100%);
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 14px;
  }

  .button {
    width: 100%;
  }
}
