/* ============================================================
   共用样式：三个站点使用同一份，只通过 body[data-page] 切换强调色
   ============================================================ */

:root {
  --bg: #0a0d14;
  --bg-2: #0f141e;
  --bg-3: #151b27;
  --ink: #ece6da;
  --ink-2: #b1aa9e;
  --ink-3: #7c776e;
  --accent: #c9a96e;
  --line: rgba(236, 230, 218, 0.1);
  --line-gold: rgba(201, 169, 110, 0.38);
  --latin-serif: "Cormorant Garamond", "Times New Roman", serif;
  --latin-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --header-h: 76px;
}

/* 各语言字体 */
:lang(zh-Hant) {
  --serif: "Cormorant Garamond", "Songti TC", "Noto Serif TC", "Source Han Serif TC", serif;
  --sans: "Inter", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif;
}
:lang(ja) {
  --serif: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}
:lang(ko) {
  --serif: "Cormorant Garamond", "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", serif;
  --sans: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
:lang(ar) {
  --serif: "Geeza Pro", "Noto Naskh Arabic", "Times New Roman", serif;
  --sans: "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
:lang(th) {
  --serif: "Cormorant Garamond", "Thonburi", "Leelawadee UI", "Noto Serif Thai", serif;
  --sans: "Inter", "Thonburi", "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif;
}
:lang(ru) {
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  overflow-wrap: break-word;
}
h3 { hyphens: auto; }

:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3,
:lang(zh-Hant) h1, :lang(zh-Hant) h2, :lang(zh-Hant) h3,
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3,
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 中日韩标题只在标点处换行，避免“决/定”这种断法；放不下时再强制断开 */
:lang(zh-Hans) :is(h1, h2, .statement p),
:lang(zh-Hant) :is(h1, h2, .statement p),
:lang(ja) :is(h1, h2, .statement p),
:lang(ko) :is(h1, h2, h3, .statement p) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--latin-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.7;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s;
}
.site-header.scrolled {
  background: rgba(10, 13, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  font-family: var(--latin-serif);
  font-size: 17px;
  line-height: 1;
  color: var(--accent);
}
.brand-name {
  font-family: var(--latin-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.lang {
  position: relative;
  flex: none;
}
.lang select {
  -webkit-appearance: none;
  appearance: none;
  max-width: 150px;
  padding: 7px 32px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 13, 20, 0.35);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s;
}
.lang select:hover, .lang select:focus-visible { border-color: var(--line-gold); outline: none; }
.lang select option { background: #0f141e; color: #ece6da; }
.lang::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 14px;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
[dir="rtl"] .lang select { padding: 7px 14px 7px 32px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand-name { font-size: 10.5px; letter-spacing: 0.22em; }
  .lang select { max-width: 120px; padding-inline-start: 12px; }
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(120% 90% at 75% 60%, #1d2534 0%, var(--bg) 70%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 桌面端裁掉图片左侧，把人物往右推，给左侧文字让位 */
  object-position: 15% center;
  animation: hero-in 2.4s ease-out both;
}
[dir="rtl"] .hero-media img { transform: scaleX(-1); animation: none; }
@keyframes hero-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 13, 20, 0.94) 0%, rgba(10, 13, 20, 0.86) 30%, rgba(10, 13, 20, 0.55) 48%, rgba(10, 13, 20, 0.12) 72%, rgba(10, 13, 20, 0.04) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 13, 20, 0) 24%),
    linear-gradient(180deg, rgba(10, 13, 20, 0.55) 0%, rgba(10, 13, 20, 0) 18%);
}
[dir="rtl"] .hero::after {
  background:
    linear-gradient(270deg, rgba(10, 13, 20, 0.94) 0%, rgba(10, 13, 20, 0.86) 30%, rgba(10, 13, 20, 0.55) 48%, rgba(10, 13, 20, 0.12) 72%, rgba(10, 13, 20, 0.04) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 13, 20, 0) 24%),
    linear-gradient(180deg, rgba(10, 13, 20, 0.55) 0%, rgba(10, 13, 20, 0) 18%);
}

.hero-content {
  max-width: 620px;
  padding-block: calc(var(--header-h) + 64px) 120px;
}
.hero h1 {
  margin: 28px 0 24px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.14;
  text-wrap: balance;
}
.hero-sub {
  max-width: 480px;
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-top: 44px;
}
.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s;
}
.scroll-link:hover { color: var(--ink); }
.scroll-link .line {
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

@media (max-width: 720px) {
  .hero { align-items: flex-start; }
  .hero-media img { object-position: center; }
  .hero::after {
    background: linear-gradient(180deg, rgba(10, 13, 20, 0.9) 0%, rgba(10, 13, 20, 0.66) 38%, rgba(10, 13, 20, 0.12) 64%, rgba(10, 13, 20, 0.35) 84%, var(--bg) 100%);
  }
  [dir="rtl"] .hero::after {
    background: linear-gradient(180deg, rgba(10, 13, 20, 0.9) 0%, rgba(10, 13, 20, 0.66) 38%, rgba(10, 13, 20, 0.12) 64%, rgba(10, 13, 20, 0.35) 84%, var(--bg) 100%);
  }
  .hero-content { padding-block: calc(var(--header-h) + 40px) 72px; }
  .hero h1 { margin: 22px 0 18px; }
  .hero-actions { margin-top: 32px; }
}

/* ---------- 按钮 ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 30px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: #15120c;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.cta:hover { background: transparent; color: var(--accent); }
.cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cta .arrow { display: inline-block; transition: transform 0.3s; }
.cta:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .cta .arrow { transform: scaleX(-1); }
[dir="rtl"] .cta:hover .arrow { transform: scaleX(-1) translateX(4px); }

@media (max-width: 560px) {
  .hero .cta { width: 100%; }
  .scroll-link { display: none; }
  /* 中日文主标题每行约 10 个字，手机上按屏宽缩小，保证一行放得下 */
  :lang(zh-Hans) .hero h1,
  :lang(zh-Hant) .hero h1,
  :lang(ja) .hero h1 { font-size: min(30px, 8vw); }
}

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

.section { padding-block: clamp(72px, 9vw, 124px); }

.section-head {
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 720px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.2;
  text-wrap: balance;
}
.section-head p { color: var(--ink-2); }

/* 引言 */
.statement {
  padding-block: clamp(72px, 9vw, 124px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.statement .ornament {
  display: block;
  width: 1px;
  height: 52px;
  margin: 0 auto 34px;
  background: linear-gradient(180deg, transparent, var(--accent));
}
.statement p {
  max-width: 880px;
  margin-inline: auto;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.55;
  text-wrap: balance;
}

/* 价值点 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
}
.value {
  padding-top: 28px;
  border-top: 1px solid var(--line-gold);
}
.value .num {
  display: block;
  margin-bottom: 24px;
  font-family: var(--latin-serif);
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
}
.value h3 {
  margin-bottom: 14px;
  font-size: clamp(21px, 1.75vw, 25px);
  line-height: 1.3;
}
.value p { font-size: 15px; color: var(--ink-2); }

@media (max-width: 980px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
}

/* 图文分栏 */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split .section-head { margin-bottom: 36px; }

.split-media {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: linear-gradient(145deg, #1b2231, #0d1119);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(236, 230, 218, 0.16);
  pointer-events: none;
}

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
}

.format {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.format:first-child { border-top: 1px solid var(--line); }
.format .num {
  grid-row: span 2;
  padding-top: 4px;
  font-family: var(--latin-serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--accent);
}
.format h3 { margin-bottom: 6px; font-size: 22px; line-height: 1.35; }
.format p { font-size: 15px; color: var(--ink-2); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 9px 18px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.5;
}

/* 加入流程 */
.process { background: var(--bg-2); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 62px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: var(--bg-2);
  font-family: var(--latin-serif);
  font-size: 15px;
  color: var(--accent);
}
.step::after {
  content: "";
  position: absolute;
  top: 20px;
  inset-inline-start: 52px;
  inset-inline-end: -12px;
  height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.35; }
.step p { font-size: 15px; color: var(--ink-2); }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { padding: 0 0 36px; padding-inline-start: 62px; }
  .step::after {
    display: block;
    top: 48px;
    bottom: 8px;
    inset-inline-start: 20px;
    inset-inline-end: auto;
    width: 1px;
    height: auto;
  }
  .step:last-child { padding-bottom: 0; }
}

/* 常见问题 */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-block: 26px;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--latin-sans);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.faq-item p { max-width: 720px; padding-bottom: 28px; color: var(--ink-2); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 结尾号召 */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(100px, 13vw, 180px);
  text-align: center;
}
.final-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg-3);
}
.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 80% at 50% 50%, rgba(10, 13, 20, 0.4), rgba(10, 13, 20, 0.92));
}
.final .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.final h2 {
  max-width: 820px;
  margin: 26px auto 20px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.22;
  text-wrap: balance;
}
.final p { margin-bottom: 42px; color: var(--ink-2); }

/* 页脚 */
.site-footer {
  padding-block: 56px 44px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-top .brand-name { color: var(--ink); }
.footer-circles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}
.footer-circles .label {
  font-size: 12px;
  color: var(--ink-3);
}
.footer-circles a {
  color: var(--ink-2);
  transition: color 0.2s;
}
.footer-circles a:hover { color: var(--ink); }
#footer-links { display: contents; }
.disclaimer {
  max-width: 900px;
  padding-top: 28px;
  line-height: 1.85;
}
.copyright { margin-top: 14px; }

/* 图片缺失时显示底色而不是破图 */
img.missing { visibility: hidden; }

/* 进场动画 */
.js main { opacity: 0; transition: opacity 0.5s ease; }
.js body.ready main { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
