/* ============ 设计变量 ============ */
:root {
  --ink: #0F1B2D;
  --ink-2: #162A44;
  --ink-3: #1F3554;
  --ink-soft: #2C3E50;
  --ink-mute: #6B7B8C;

  --paper: #F5F1E8;
  --paper-2: #FBF6E6;
  --paper-mute: #E6DFCB;

  --gold: #C9A961;
  --gold-soft: #E8D4A0;
  --gold-deep: #A8884A;

  --seal: #B23A48;

  --line: rgba(201, 169, 97, 0.22);
  --line-strong: rgba(201, 169, 97, 0.45);

  --shadow-soft: 0 10px 40px -12px rgba(15, 27, 45, 0.35);
  --shadow-card: 0 1px 0 rgba(201,169,97,.15) inset, 0 24px 60px -28px rgba(15,27,45,.55);

  --max: 1200px;
  --pad: clamp(20px, 4vw, 56px);

  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-brush: "Ma Shan Zheng", var(--font-serif);
}

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }

/* 选择文本时的色彩呼应 */
::selection { background: var(--gold); color: var(--ink); }

/* ============ 通用 ============ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.muted { color: var(--ink-mute); font-weight: 400; font-size: 0.7em; letter-spacing: 0.02em; }

.section__head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}
.section__head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  color: var(--paper);
}

/* 滚动渐入 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ 顶栏 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: rgba(15, 27, 45, 0.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.12);
  transition: background .35s ease, border-color .35s ease;
}
.nav.is-scrolled {
  background: rgba(15, 27, 45, 0.88);
  border-bottom-color: rgba(201, 169, 97, 0.22);
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
}
.nav__mark { display: inline-flex; }
.nav__word {
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav__word strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.16em;
  color: var(--paper);
}
.nav__word em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
}
.nav__links {
  display: flex; align-items: center; gap: 36px;
}
.nav__links a {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 232, 0.78);
  transition: color .25s ease;
  position: relative;
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  border-radius: 999px;
  transition: background .3s ease, color .3s ease;
}
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }

.nav__toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--paper);
  transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero__bg svg { width: 100%; height: 100%; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 20%, rgba(232, 212, 160, 0.08), transparent 60%),
    radial-gradient(800px 500px at 20% 80%, rgba(178, 58, 72, 0.06), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  text-align: center;
  max-width: 880px;
  position: relative;
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--gold); vertical-align: middle; margin: 0 14px;
  opacity: 0.6;
}

.hero__title {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-bottom: 32px;
}
.hero__title-cn {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 168px);
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--paper);
  text-shadow: 0 0 80px rgba(232, 212, 160, 0.25);
  background: linear-gradient(180deg, #FBF6E6 0%, #E8D4A0 60%, #C9A961 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 0.2em;
}
.hero__title-en {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 20px);
  letter-spacing: 0.6em;
  color: rgba(232, 212, 160, 0.7);
  padding-left: 0.6em;
}

.hero__lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.7;
  color: var(--paper);
  margin-bottom: 18px;
}
.hero__sub {
  font-size: 14px;
  letter-spacing: 0.36em;
  color: rgba(245, 241, 232, 0.6);
  margin-bottom: 48px;
}

.hero__cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.14em;
  transition: transform .25s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  font-weight: 600;
}
.btn--primary:hover:not(.is-disabled) { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245, 241, 232, 0.4);
}
.btn--ghost:hover:not(.is-disabled) {
  border-color: var(--gold);
  color: var(--gold);
}
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.hero__hint {
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(245, 241, 232, 0.42);
  letter-spacing: 0.16em;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 32px;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid rgba(245, 241, 232, 0.35);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 2px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ 产品特色 ============ */
.features {
  position: relative;
  background: linear-gradient(180deg, #0F1B2D 0%, #0B1422 100%);
  padding: 120px var(--pad);
}
.features::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(31, 53, 84, 0.4), rgba(15, 27, 45, 0.6));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 28px;
  transition: transform .4s ease, border-color .4s ease, background .4s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(135deg, transparent 40%, rgba(232, 212, 160, 0.18) 70%, transparent);
  border-radius: 18px;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(31, 53, 84, 0.55), rgba(15, 27, 45, 0.75));
}
.card:hover::before { opacity: 1; }
.card__icon { margin-bottom: 24px; }
.card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--paper);
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.card p {
  color: rgba(245, 241, 232, 0.65);
  font-size: 14.5px;
  line-height: 1.85;
}
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 400;
}

/* ============ 关于 ============ */
.about {
  position: relative;
  padding: 140px var(--pad);
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(232, 212, 160, 0.06), transparent 60%),
    linear-gradient(180deg, #0B1422 0%, #0F1B2D 100%);
}
.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about__visual {
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
}
.about__text h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.25;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  color: var(--paper);
}
.about__text p {
  font-size: 16px;
  color: rgba(245, 241, 232, 0.72);
  margin-bottom: 16px;
  line-height: 1.95;
}
.about__text p strong {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.about__points {
  margin-top: 28px;
  display: flex; gap: 28px; flex-wrap: wrap;
}
.about__points li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--paper);
}
.about__points .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
}

/* ============ 联系 ============ */
.contact {
  position: relative;
  padding: 140px var(--pad);
  text-align: center;
  background: linear-gradient(180deg, #0F1B2D 0%, #08101D 100%);
}
.contact::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: min(80%, 800px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.contact__inner { max-width: 720px; margin: 0 auto; }
.contact h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  color: var(--paper);
}
.contact__lead {
  color: rgba(245, 241, 232, 0.65);
  font-size: 16px;
  margin-bottom: 40px;
}
.contact__mail {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--gold);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.contact__mail:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.contact__note {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(245, 241, 232, 0.4);
  letter-spacing: 0.12em;
}

/* ============ 页脚 ============ */
.footer {
  background: #06101D;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  padding: 36px var(--pad);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer__brand {
  display: flex; align-items: baseline; gap: 14px;
}
.footer__brand strong {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--paper);
}
.footer__brand span {
  font-size: 12px;
  color: rgba(245, 241, 232, 0.35);
  letter-spacing: 0.16em;
}
.footer__meta {
  display: flex; gap: 18px;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.5);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}
.footer__meta a { transition: color .25s ease; }
.footer__meta a:hover { color: var(--gold); }

/* ============ 响应式 ============ */
@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { max-width: 280px; }
  .features, .about, .contact { padding-top: 80px; padding-bottom: 80px; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 60px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(8, 16, 29, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.18);
    padding: 12px var(--pad) 24px;
    transform: translateY(-110%);
    transition: transform .35s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.08);
    font-size: 15px;
  }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta {
    margin-top: 14px;
    align-self: flex-start;
  }
  .nav__toggle { display: flex; }

  .hero { padding-top: 100px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 16px; margin: 0 8px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
