/* ==========================================================================
   VebNova — 作品主页
   夜行车厢的深色底 + 暖象牙纸面，黄铜金作强调。
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  /* 浅色（纸面） */
  --paper:    #EEE5D5;
  --paper-2:  #F7F1E6;
  --paper-3:  #FCF9F2;
  --ink:      #1B1810;
  --ink-2:    #4B453A;
  --ink-3:    #857C6B;
  --line:     #E1D5BE;
  --line-2:   #CFBB96;

  /* 深色（夜行） */
  --night:    #0F1A17;
  --night-2:  #14231F;
  --night-3:  #1B2E28;
  --night-line: rgba(214, 190, 132, .18);
  --cream:    #F2E9D8;
  --cream-2:  #CFC5AE;

  /* 品牌 */
  --brass:    #96751F;
  --brass-2:  #B8933A;
  --brass-3:  #D8B968;
  --brass-4:  #F0E2BC;
  --green:    #1C5743;
  --green-2:  #2C7359;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-m: 0 2px 4px rgba(64, 50, 24, .06), 0 12px 28px rgba(64, 50, 24, .10);
  --shadow-l: 0 6px 14px rgba(30, 22, 8, .10), 0 34px 70px rgba(30, 22, 8, .22);

  --font-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;

  --shell: 1160px;
  --nav-h: 68px;
}

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex: none; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* --- 按钮 --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .2px;
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, background-color .22s, color .22s, border-color .22s;
  white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 15.5px; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn:hover { transform: translateY(-1px); }

.btn--brass {
  color: #2A2109;
  background: linear-gradient(170deg, #E4C877 0%, var(--brass-3) 42%, var(--brass-2) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 26px rgba(150, 117, 31, .32);
}
.btn--brass:hover { box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 14px 34px rgba(150, 117, 31, .42); }

.btn--ghost {
  color: var(--cream);
  border-color: rgba(216, 185, 104, .40);
  background: rgba(255, 246, 222, .04);
}
.btn--ghost:hover { background: rgba(255, 246, 222, .09); border-color: rgba(216, 185, 104, .68); }

.btn--outline {
  color: var(--green);
  border-color: rgba(28, 87, 67, .28);
  background: rgba(255,255,255,.5);
}
.btn--outline:hover { background: #fff; border-color: rgba(28, 87, 67, .5); }

/* --- 顶栏 --------------------------------------------------------------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.topbar__inner {
  max-width: var(--shell); width: 100%; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 26px;
}
.topbar.is-solid {
  background: rgba(15, 26, 23, .88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 rgba(214, 190, 132, .16), 0 12px 34px rgba(0, 0, 0, .28);
}

.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  color: #2A2109;
  background: linear-gradient(165deg, #E4C877, var(--brass-2));
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
}
.brand__text {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 700; letter-spacing: .6px;
  color: var(--cream);
}
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a {
  font-size: 14.5px; color: rgba(242, 233, 216, .78);
  transition: color .2s;
}
.topnav a:hover { color: var(--brass-3); }

/* --- 首屏 --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  background: var(--night);
  color: var(--cream);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(760px 520px at 78% 18%, rgba(216, 185, 104, .20), rgba(216, 185, 104, 0) 66%),
    radial-gradient(620px 520px at 12% 8%, rgba(44, 115, 89, .26), rgba(44, 115, 89, 0) 68%),
    radial-gradient(900px 700px at 50% 118%, rgba(150, 117, 31, .16), rgba(150, 117, 31, 0) 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--shell); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px; align-items: center;
}
.hero__copy { max-width: 33rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brass-3);
  padding: 6px 14px 6px 12px;
  border: 1px solid rgba(216, 185, 104, .30);
  border-radius: 999px;
  background: rgba(216, 185, 104, .07);
}
.eyebrow--ink { color: var(--brass); border-color: rgba(150, 117, 31, .26); background: rgba(150, 117, 31, .06); }

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(46px, 6.4vw, 76px);
  line-height: 1.06; font-weight: 700; letter-spacing: 2px;
  margin: 26px 0 0;
  color: #FBF6EA;
  text-shadow: 0 2px 30px rgba(216, 185, 104, .22);
}
.hero__en {
  font-size: 13px; letter-spacing: 3.4px; text-transform: uppercase;
  color: rgba(216, 185, 104, .74); margin-top: 14px;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 25px);
  color: #F0E4C8; margin-top: 22px; letter-spacing: .5px;
}
.hero__summary {
  font-size: 15.5px; line-height: 1.95; color: rgba(242, 233, 216, .72);
  margin-top: 16px; max-width: 30rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.hero__fact {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: rgba(242, 233, 216, .62);
}
.hero__fact svg { color: var(--brass-3); }

/* 真机 */
.hero__device { position: relative; display: flex; justify-content: center; }
.device { position: relative; width: min(336px, 84%); }
.device__frame {
  position: relative; border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #3A3226, #17140F 42%, #2C2519);
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(216, 185, 104, .22),
              0 0 90px rgba(216, 185, 104, .16);
}
.device__frame img { border-radius: 32px; width: 100%; height: auto; }
.device__caption {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px; font-size: 13px; letter-spacing: 1.4px;
  color: rgba(216, 185, 104, .8);
}
.device__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass-3); box-shadow: 0 0 10px var(--brass-3);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }

.hero__badge {
  position: absolute; left: 1%; bottom: 9%;
  width: 92px; height: 92px;
  border-radius: 23px; overflow: hidden;
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(216, 185, 104, .3);
}
.hero__badge img { width: 100%; height: 100%; }

/* --- 通用 section ------------------------------------------------------- */
.section__head { max-width: 44rem; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.3; font-weight: 700; letter-spacing: 1.2px;
  color: var(--ink); margin-top: 22px;
}
.section__lead { font-size: 16px; color: var(--ink-3); margin-top: 16px; }

/* --- 机制 --------------------------------------------------------------- */
.features { padding: 104px 0 96px; background: var(--paper-2); }
.feature__grid {
  max-width: var(--shell); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.feature {
  position: relative;
  padding: 34px 34px 32px;
  border-radius: var(--radius-m);
  background: linear-gradient(178deg, var(--paper-3), var(--paper));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-m);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s, border-color .28s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: var(--line-2); }
.feature__no {
  position: absolute; top: 26px; right: 30px;
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  color: rgba(150, 117, 31, .16);
}
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 13px; margin-bottom: 20px;
  color: var(--brass);
  background: rgba(150, 117, 31, .09);
  border: 1px solid rgba(150, 117, 31, .16);
}
.feature__title {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--ink); letter-spacing: .4px; line-height: 1.5;
}
.feature__body { font-size: 14.8px; color: var(--ink-2); margin-top: 12px; line-height: 1.9; }

/* --- 截图画廊 ----------------------------------------------------------- */
.gallery { padding: 96px 0 104px; background: var(--paper); border-top: 1px solid var(--line); }
.gallery__rail {
  max-width: var(--shell); margin: 0 auto; padding: 6px 28px 8px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
}
.shot { margin: 0; }
.shot__frame {
  border-radius: 30px; padding: 8px;
  background: linear-gradient(160deg, #40372A, #1A1710 46%, #2E2718);
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(150, 117, 31, .22);
}
.shot__frame img { border-radius: 23px; width: 100%; height: auto; }
.shot__label {
  text-align: center; font-size: 13.5px; color: var(--ink-3);
  margin-top: 16px; letter-spacing: .6px;
}

/* --- 沉浸引文 ----------------------------------------------------------- */
.quote {
  position: relative; overflow: hidden;
  padding: 132px 0;
  background: var(--night);
}
.quote__bg { position: absolute; inset: 0; }
.quote__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  opacity: .30; filter: saturate(.9);
}
.quote::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(15,26,23,.34), rgba(15,26,23,.86) 78%),
    linear-gradient(180deg, var(--night), rgba(15,26,23,.55) 30%, var(--night));
}
.quote__inner { position: relative; z-index: 1; text-align: center; padding: 0 28px; }
.quote__mark {
  display: block; font-family: var(--font-serif); font-size: 76px; line-height: .6;
  color: rgba(216, 185, 104, .42);
}
.quote__text {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.62; letter-spacing: 3px; font-weight: 700;
  color: #FAF3E4; margin-top: 22px;
  text-shadow: 0 3px 34px rgba(0,0,0,.5);
  text-wrap: balance;   /* 避免最后一行只剩一个字 */
}
.quote__from {
  display: inline-block; margin-top: 28px;
  font-size: 13px; letter-spacing: 2.6px; color: rgba(216, 185, 104, .76);
}

/* --- 下载 CTA ----------------------------------------------------------- */
.cta { padding: 0 0 104px; background: var(--night); }
.cta__card {
  max-width: 920px; margin: 0 auto; padding: 58px 48px 52px;
  text-align: center; border-radius: var(--radius-l);
  background: linear-gradient(170deg, var(--night-3), #11201C);
  border: 1px solid var(--night-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .4), 0 0 0 1px rgba(216, 185, 104, .06) inset;
  position: relative; overflow: hidden;
}
.cta__card::before {
  content: ""; position: absolute; inset: -60% -20% auto -20%; height: 150%;
  background: radial-gradient(520px 360px at 50% 8%, rgba(216, 185, 104, .16), rgba(216, 185, 104, 0) 70%);
  pointer-events: none;
}
.cta__icon {
  width: 92px; height: 92px; border-radius: 23px; margin: 0 auto 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,.42), 0 0 0 1px rgba(216, 185, 104, .26);
  position: relative;
}
.cta__title {
  font-family: var(--font-serif); font-size: clamp(25px, 3.2vw, 34px);
  font-weight: 700; letter-spacing: 1.4px; color: #FAF3E4; position: relative;
}
.cta__lead { font-size: 15.5px; color: rgba(242, 233, 216, .70); margin-top: 16px; position: relative; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; position: relative; }
.cta__actions .btn--outline { color: var(--cream); background: rgba(255,246,222,.05); border-color: rgba(216,185,104,.32); }
.cta__actions .btn--outline:hover { background: rgba(255,246,222,.1); border-color: rgba(216,185,104,.6); }
.cta__meta { font-size: 13px; color: rgba(242, 233, 216, .46); margin-top: 24px; position: relative; }

/* --- 页脚 --------------------------------------------------------------- */
.footer { background: var(--night); color: rgba(242, 233, 216, .62); padding: 72px 0 30px; }
.footer__inner {
  max-width: var(--shell); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.brand--footer { margin-bottom: 18px; }
.footer__pitch { font-size: 14.5px; line-height: 1.95; color: rgba(242, 233, 216, .52); }
.footer__contact h4 {
  font-size: 13px; font-weight: 600; letter-spacing: 1.6px;
  color: var(--brass-3); text-transform: uppercase; margin-bottom: 16px;
}
.footer__mail {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15.5px; color: rgba(242, 233, 216, .84); transition: color .2s;
}
.footer__mail:hover { color: var(--cream); }
.footer__note { font-size: 13.5px; line-height: 1.8; color: rgba(242, 233, 216, .40); margin-top: 12px; }
.footer__base {
  max-width: var(--shell); margin: 52px auto 0; padding: 22px 28px 0;
  border-top: 1px solid var(--night-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(242, 233, 216, .42);
}
.footer__base a:hover { color: var(--brass-3); }

/* --- 滚动淡入 ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}

/* --- 响应式 ------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__copy { max-width: none; }
  .hero__summary { max-width: none; }
  /* 窄屏先看到 App 名与下载入口，真机图跟在文案后面 */
  .hero__device { order: 0; }
  .device { width: min(284px, 74%); }
  .hero__badge { left: 6%; bottom: 2%; width: 76px; height: 76px; border-radius: 20px; }
  .feature__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  /* 窄屏改成横向滑动，一张一张看 */
  .gallery__rail {
    display: flex; gap: 18px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 30px;
    scrollbar-width: thin;
  }
  .gallery__rail::-webkit-scrollbar { height: 6px; }
  .gallery__rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }
  .shot { flex: 0 0 min(242px, 66vw); scroll-snap-align: center; }
}

@media (max-width: 720px) {
  .shell, .topbar__inner, .hero__inner, .feature__grid, .footer__inner, .footer__base {
    padding-left: 20px; padding-right: 20px;
  }
  .topnav { display: none; }
  .topbar__cta span { display: none; }
  .topbar__cta { padding: 9px 12px; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 72px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .features, .gallery { padding-top: 72px; padding-bottom: 76px; }
  .quote { padding: 96px 0; }
  /* 窄屏这个字号配合 3px 字距会挤到每行只剩几个字，收一收 */
  .quote__text { font-size: 23px; letter-spacing: 1.4px; line-height: 1.78; }
  .quote__mark { font-size: 56px; }
  .cta { padding-bottom: 76px; }
  .cta__card { padding: 44px 26px 40px; }
  .feature { padding: 26px 24px; }
  .gallery__rail { padding-left: 20px; padding-right: 20px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .device__dot { animation: none; }
  .btn:hover, .feature:hover { transform: none; }
}

/* 2026-10-06: app branding, policy access and language navigation */
.brand__mark { object-fit: cover; flex: none; }
.language-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--cream); font-size: 13px; font-weight: 600; border-radius: 999px; }
.language-link:hover { background: rgba(255,255,255,.1); }
.policy-links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.policy-links a { color: var(--cream); font-size: 14px; }
.hero__copy, .feature, .footer__contact { min-width: 0; }
.hero__summary, .feature__body, .footer__mail { overflow-wrap: anywhere; }
html[lang="en"] .hero__title { font-size: clamp(42px, 7vw, 84px); letter-spacing: -.025em; }
@media (max-width: 720px) { .topbar__inner { gap: 8px; } .topnav { display: none; } .brand__text { font-size: 17px; } .hero__facts { flex-wrap: wrap; } }
