/* ==========================================================================
   问渠 WenQu 官网首页质感强化层（index-extra.css）
   --------------------------------------------------------------------------
   在 style.css 基础上对首页做 App 级精细打磨：
   - 字重/字号/字距拉开层次，标题 WenQuSerif、正文 WenQuSans、数字 WenQuDisplay
   - 配色统一、卡片圆角阴影分层、hover 上浮、间距节奏
   - 滚动淡入/上移动效（仅 transform / opacity）
   - 无 icon、无 CSS 自画图形、无「圆/圆角块 + 单个字」，素材全部来自线上真实图片
   ========================================================================== */

/* —— 首页专用质感变量 —— */
:root {
  --wq-gold-grad:  linear-gradient(120deg, #e2b45c 0%, #c99a3f 55%, #a97a2c 100%);
  --wq-ink-grad:   linear-gradient(160deg, #1a2334 0%, #243149 55%, #2d3b57 100%);
  --wq-paper-grad: linear-gradient(180deg, #fbf7ee 0%, #f4edde 100%);
  --wq-shadow-soft: 0 2px 10px rgba(26, 35, 52, .05), 0 18px 40px rgba(26, 35, 52, .10);
  --wq-shadow-hover: 0 4px 16px rgba(26, 35, 52, .08), 0 28px 60px rgba(26, 35, 52, .17);
  --wq-glow-gold: 0 0 0 1px rgba(214, 162, 63, .38), 0 12px 34px rgba(184, 134, 59, .35);
  --wq-radius-lg: 26px;
  --wq-ease-out: cubic-bezier(.22, .68, .32, 1);
}

/* —— 基础：全局背景微渐变、字距 —— */
body {
  background: var(--wq-paper-grad);
}
::selection {
  background: rgba(184, 134, 59, .22);
  color: var(--ink);
}

/* ==========================================================================
   顶部导航（sticky 精致化）
   ========================================================================== */
.site-header {
  background: rgba(247, 242, 232, .72);
  border-bottom: 1px solid rgba(26, 35, 52, .06);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(247, 242, 232, .92);
  box-shadow: 0 12px 32px rgba(26, 35, 52, .10);
}
.brand-logo {
  transition: transform .3s var(--wq-ease-out);
}
.brand:hover .brand-logo { transform: translateY(-1px); }
.brand-name { letter-spacing: .08em; }

@media (min-width: 901px) {
  .site-nav a {
    border-bottom: 2px solid transparent;
    transition: color .25s ease, border-color .25s ease;
    padding-bottom: 2px;
  }
  .site-nav a:hover,
  .site-nav a.active {
    border-color: var(--gold);
    color: var(--gold-deep);
  }
}

.header-cta {
  box-shadow: 0 8px 20px rgba(184, 134, 59, .34);
  transition: transform .22s var(--wq-ease-out), box-shadow .22s var(--wq-ease-out);
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(184, 134, 59, .46); }

/* —— 下载 App 链接里的 Android 官方 logo（真实素材，非自造） —— */
.dl-android {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 6px;
  object-fit: contain;
  opacity: .92;
  transition: opacity .2s ease;
}
a:hover > .dl-android { opacity: 1; }

/* ==========================================================================
   按钮精致化（仅微调，不新增按钮体系）
   ========================================================================== */
.btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .22s var(--wq-ease-out), box-shadow .22s var(--wq-ease-out), background .22s ease, color .22s ease;
}
.btn-primary {
  background-image: linear-gradient(120deg, #e2b45c 0%, #c99a3f 55%, #a97a2c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 10px 26px rgba(184, 134, 59, .38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 16px 40px rgba(184, 134, 59, .5);
}
.btn-dark {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 26px rgba(26, 35, 52, .30);
}
.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-ghost-dark {
  background: rgba(26, 35, 52, .03);
  border-color: rgba(26, 35, 52, .28);
}
.btn-ghost-dark:hover { background: rgba(26, 35, 52, .06); border-color: var(--ink); }
.btn-lg { letter-spacing: .06em; }

/* ==========================================================================
   Hero（主视觉：层次、入场动效、双 CTA）
   ========================================================================== */
.hero {
  min-height: min(94vh, 900px);
}
.hero-bg {
  opacity: .55;
  transform: scale(1.02);
}
.hero-overlay {
  background:
    radial-gradient(120% 92% at 50% 6%, rgba(26, 35, 52, .10) 0%, rgba(26, 35, 52, .62) 52%, rgba(19, 26, 40, .92) 100%);
}
.hero-content {
  max-width: 900px;
  padding: 132px 24px 108px;
}
.hero-eyebrow {
  font-size: .84rem;
  letter-spacing: .4em;
  text-indent: .4em;
  color: var(--gold-2);
  margin-bottom: 28px;
}
.hero-title {
  letter-spacing: .06em;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .42);
}
.hero-slogan {
  background: linear-gradient(120deg, #ecd28c 0%, #d6a23f 45%, #e8c476 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  letter-spacing: .1em;
  margin: 10px 0 34px;
}
.hero-sub {
  letter-spacing: .04em;
  line-height: 1.9;
}
.hero-actions { gap: 22px; }
.hero-actions .btn-lg { min-width: 168px; }
.hero-note { margin-top: 40px; }
.hero-note b { font-family: var(--serif); font-weight: 700; }
.hero-install {
  margin-top: 18px;
  font-size: .86rem;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .6);
}

/* 入场动效：仅 transform / opacity */
.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: wqHeroUp .9s var(--wq-ease-out) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: .12s; }
.hero-content > *:nth-child(2) { animation-delay: .22s; }
.hero-content > *:nth-child(3) { animation-delay: .32s; }
.hero-content > *:nth-child(4) { animation-delay: .42s; }
.hero-content > *:nth-child(5) { animation-delay: .52s; }
.hero-content > *:nth-child(6) { animation-delay: .62s; }
.hero-content > *:nth-child(7) { animation-delay: .72s; }
@keyframes wqHeroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   分区头（eyebrow + 标题 + 副标题）
   ========================================================================== */
.section {
  padding: 104px 0;
}
.section-eyebrow {
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .36em;
  text-indent: .36em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.section-title {
  letter-spacing: .03em;
  line-height: 1.22;
}
.section-sub {
  margin-bottom: 60px;
  letter-spacing: .02em;
}

/* ==========================================================================
   可信度 / 优势区
   ========================================================================== */
.trust {
  background:
    radial-gradient(140% 120% at 50% 0%, rgba(214, 162, 63, .07) 0%, rgba(214, 162, 63, 0) 55%),
    var(--paper-2);
}
.trust-grid {
  gap: 24px;
  margin-bottom: 56px;
}
.trust-item {
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf2 100%);
  border: 1px solid rgba(26, 35, 52, .05);
  border-radius: var(--wq-radius-lg);
  padding: 30px 26px 28px;
  box-shadow: var(--wq-shadow-soft);
  transition: transform .32s var(--wq-ease-out), box-shadow .32s var(--wq-ease-out);
}
.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--wq-shadow-hover);
}
.trust-index {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .14em;
  color: var(--gold);
  margin: 0 0 12px;
  font-variant-numeric: tabular-nums;
}
.trust-label {
  font-size: 1.22rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.trust-text {
  font-size: .94rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

/* 事实条：纯文字分隔，无图形 */
.trust-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px 22px;
  margin: -18px 0 56px;
  font-family: var(--sans);
  font-size: .96rem;
  color: var(--ink-soft);
  letter-spacing: .03em;
}
.trust-facts b {
  font-family: var(--display);
  font-weight: 700;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.trust-facts .tf-sep { color: var(--line); }

.trust-media {
  border-radius: var(--wq-radius-lg);
  box-shadow: var(--wq-shadow-hover);
}

/* ==========================================================================
   功能（图片 + 文字交错）
   ========================================================================== */
.features {
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(214, 162, 63, .06) 0%, rgba(214, 162, 63, 0) 52%),
    var(--paper);
}
.feature-alt { gap: 88px; }
.fa-row { gap: 64px; }
.fa-media {
  border-radius: 22px;
  box-shadow: var(--wq-shadow-soft);
}
.fa-media img {
  transition: transform .9s var(--wq-ease-out);
}
.fa-row:hover .fa-media img { transform: scale(1.035); }
.fa-kicker {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--gold-deep);
  margin: 0 0 12px;
}
.fa-kicker-num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--gold);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
/* 「敬请期待」标签：纯文字排版，无图形 */
.fa-kicker .wq-soon {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--gold-deep);
  margin-left: 8px;
}
.fa-body h3 { font-size: 1.85rem; letter-spacing: .02em; margin-bottom: 16px; }
.fa-desc { line-height: 1.9; }
.fa-list { gap: 10px; }
.fa-list li {
  line-height: 1.7;
}
.fa-list li::before {
  content: "——";
  color: var(--gold);
  letter-spacing: 0;
}

/* ==========================================================================
   Web 版功能入口
   ========================================================================== */
.app-entry {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(214, 162, 63, .07) 0%, rgba(214, 162, 63, 0) 52%),
    var(--paper-2);
}
.func-card {
  border-radius: var(--wq-radius-lg);
  border: 1px solid rgba(26, 35, 52, .05);
  box-shadow: var(--wq-shadow-soft);
  padding: 30px 26px;
  transition: transform .3s var(--wq-ease-out), box-shadow .3s var(--wq-ease-out);
}
a.func-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--wq-shadow-hover);
}
.func-card.disabled {
  opacity: .62;
  border-top: 3px solid var(--line);
  box-shadow: var(--wq-shadow-soft);
}
.func-card .func-title { font-size: 1.28rem; }
.func-card .func-desc { font-size: .9rem; }
.app-entry .func-grid { margin-bottom: 40px; }
.app-entry-cta { gap: 20px; }

/* ==========================================================================
   定价（三档）
   ========================================================================== */
.pricing {
  background:
    radial-gradient(140% 120% at 50% 0%, rgba(214, 162, 63, .08) 0%, rgba(214, 162, 63, 0) 56%),
    var(--paper-2);
}
.price-grid { gap: 30px; }
.price-card {
  background: linear-gradient(180deg, #ffffff 0%, #fefbf4 100%);
  border: 1px solid rgba(26, 35, 52, .06);
  border-radius: var(--wq-radius-lg);
  padding: 44px 34px 36px;
  box-shadow: var(--wq-shadow-soft);
  transition: transform .32s var(--wq-ease-out), box-shadow .32s var(--wq-ease-out), border-color .32s ease;
}
.price-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--wq-shadow-hover);
}
.price-card.popular {
  border-color: rgba(184, 134, 59, .5);
  background: linear-gradient(180deg, #ffffff 0%, #fbf4e3 100%);
  box-shadow: var(--wq-glow-gold), var(--wq-shadow-hover);
}
.price-card.popular:hover { box-shadow: var(--wq-glow-gold), var(--wq-shadow-hover); }
.popular-badge {
  color: var(--gold-deep);
  letter-spacing: .34em;
  text-indent: .34em;
  margin-bottom: 16px;
}
.price-name { font-size: 1.6rem; letter-spacing: .04em; }
.price-duration { margin-bottom: 30px; letter-spacing: .02em; }
.price-value {
  font-size: clamp(2.4rem, 5vw, 3.05rem);
  letter-spacing: .01em;
}
.price-value .cny {
  font-size: .46em;
  margin-right: 4px;
  color: var(--gold-deep);
  font-weight: 600;
}
.price-period {
  font-size: .86rem;
  letter-spacing: .02em;
}
.price-features { margin: 0 0 30px; }
.price-features li {
  padding: 9px 0;
  line-height: 1.7;
}
.price-card .btn-block { letter-spacing: .08em; }
.pricing-hint { margin-top: 34px; letter-spacing: .02em; }

/* ==========================================================================
   FAQ 手风琴
   ========================================================================== */
.faq { background: var(--paper); }
.faq-list { gap: 16px; }
.faq-item {
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf2 100%);
  border: 1px solid rgba(26, 35, 52, .05);
  border-radius: 16px;
  box-shadow: var(--wq-shadow-soft);
  transition: transform .3s var(--wq-ease-out), box-shadow .3s var(--wq-ease-out), border-color .3s ease;
}
.faq-item:hover { box-shadow: var(--wq-shadow-hover); }
.faq-item.open {
  border-color: rgba(184, 134, 59, .45);
  box-shadow: var(--wq-shadow-hover);
}
.faq-btn { padding: 22px 26px; letter-spacing: .02em; }
.faq-btn::after { color: var(--gold); font-size: 1.1rem; font-weight: 400; }
.faq-a { padding: 0 26px; }
.faq-item.open .faq-a { padding-bottom: 24px; }
.faq-a p { line-height: 1.9; }

/* ==========================================================================
   如何使用（三步/四步）
   ========================================================================== */
.how { background: var(--paper); }
.how-step {
  border-radius: var(--wq-radius-lg);
  padding: 36px 28px;
  box-shadow: var(--wq-shadow-soft);
  border-top: 3px solid var(--gold);
  transition: transform .32s var(--wq-ease-out), box-shadow .32s var(--wq-ease-out);
}
.how-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--wq-shadow-hover);
}
.how-num {
  font-size: 2.2rem;
  letter-spacing: .04em;
}
.how-title { font-size: 1.24rem; }
.how-desc { line-height: 1.85; }

/* ==========================================================================
   CTA 条
   ========================================================================== */
.cta-band {
  background: var(--wq-ink-grad);
}
.cta-band::after {
  background: linear-gradient(180deg, rgba(26, 35, 52, .5) 0%, rgba(26, 35, 52, .86) 100%);
}
.cta-inner { padding: 120px 24px; }
.cta-inner h2 { letter-spacing: .03em; }
.cta-inner p { letter-spacing: .03em; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: var(--wq-ink-grad);
}
.footer-col a { transition: color .2s ease, transform .2s var(--wq-ease-out); }
.footer-col a:hover { transform: translateX(3px); }
.footer-tagline { letter-spacing: .02em; }

/* ==========================================================================
   滚动进入动效：分层节奏 + 交错延迟（仅 transform / opacity）
   ========================================================================== */
.reveal {
  transition: opacity .8s var(--wq-ease-out), transform .8s var(--wq-ease-out);
}

/* 交错：网格/列表按顺序递增延迟 */
.trust-grid .trust-item:nth-child(1),
.price-grid .price-card:nth-child(1),
.how-grid .how-step:nth-child(1),
.func-grid .func-card:nth-child(1) { transition-delay: .05s; }
.trust-grid .trust-item:nth-child(2),
.price-grid .price-card:nth-child(2),
.how-grid .how-step:nth-child(2),
.func-grid .func-card:nth-child(2) { transition-delay: .12s; }
.trust-grid .trust-item:nth-child(3),
.price-grid .price-card:nth-child(3),
.how-grid .how-step:nth-child(3),
.func-grid .func-card:nth-child(3) { transition-delay: .19s; }
.trust-grid .trust-item:nth-child(4),
.how-grid .how-step:nth-child(4),
.func-grid .func-card:nth-child(4) { transition-delay: .26s; }
.func-grid .func-card:nth-child(5) { transition-delay: .33s; }
.func-grid .func-card:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   响应式细化
   ========================================================================== */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .feature-alt { gap: 64px; }
  .fa-row { gap: 28px; }
  .trust-facts { gap: 8px 16px; font-size: .9rem; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section-eyebrow { font-size: .74rem; letter-spacing: .28em; text-indent: .28em; }
  .section-title { font-size: 1.7rem; line-height: 1.3; }
  .section-sub { font-size: 1rem; margin-bottom: 34px; line-height: 1.8; }
  .trust-facts { margin: -10px 0 40px; }
  .hero-content { padding: 92px 20px 84px; }
  .hero-actions .btn-lg { min-width: 100%; }
  .cta-inner { padding: 84px 20px; }
  .price-card { padding: 30px 22px 28px; }

  /* —— 首页移动端精修（≤640px） —— */
  .hero-title { font-size: clamp(2rem, 9vw, 3.1rem); }
  .hero-slogan { font-size: clamp(1.28rem, 5vw, 1.8rem); margin: 8px 0 26px; }
  .hero-sub { font-size: 1rem; line-height: 1.85; }
  .hero-note { font-size: .9rem; line-height: 1.8; }
  .trust-grid { gap: 14px; margin-bottom: 36px; }
  .trust-item { padding: 24px 20px; border-radius: 20px; }
  .trust-label { font-size: 1.14rem; }
  .trust-text { font-size: .97rem; line-height: 1.8; }
  .trust-facts { font-size: .9rem; line-height: 1.9; gap: 6px 14px; }
  .trust-media { aspect-ratio: 4 / 3; }
  .feature-alt { gap: 44px; }
  .fa-row { gap: 18px; }
  .fa-body h3 { font-size: 1.32rem; margin-bottom: 12px; }
  .fa-desc { font-size: .98rem; line-height: 1.85; }
  .fa-list li { font-size: .95rem; line-height: 1.7; }
  .func-grid { gap: 14px; }
  .func-card { padding: 24px 20px; border-radius: 20px; }
  .func-title { font-size: 1.18rem; }
  .func-desc { font-size: .94rem; line-height: 1.7; }
  .price-grid { gap: 18px; }
  .price-name { font-size: 1.4rem; }
  .price-duration { font-size: .9rem; line-height: 1.6; }
  .price-value { font-size: clamp(2rem, 9vw, 2.4rem); }
  .price-features li { font-size: .95rem; line-height: 1.7; }
  .pricing-hint { font-size: .92rem; line-height: 1.8; }
  .how-grid { gap: 16px; }
  .how-step { padding: 26px 22px; }
  .how-title { font-size: 1.16rem; }
  .how-desc { font-size: .96rem; line-height: 1.8; }
  .faq-list { gap: 12px; }
  .faq-btn { padding: 18px 20px; font-size: 1.02rem; line-height: 1.5; }
  .faq-a p { font-size: .95rem; line-height: 1.85; }
  .app-entry-cta .btn-lg { min-width: 100%; }
  .cta-inner h2 { font-size: 1.6rem; line-height: 1.35; }
  .cta-inner p { font-size: 1rem; line-height: 1.8; }
}
