:root {
  --ink: #0d0f14;
  --ink-soft: #3d4454;
  --paper: #f7f5f0;
  --paper-2: #eeebe4;
  --white: #ffffff;
  --accent: #c45c26;
  --accent-soft: #e8a87c;
  --gold: #8b6914;
  --line: rgba(13, 15, 20, 0.08);
  --line-strong: rgba(13, 15, 20, 0.14);
  --shadow: 0 24px 60px rgba(13, 15, 20, 0.08);
  --shadow-lg: 0 40px 80px rgba(13, 15, 20, 0.12);
  --max: 1200px;
  --radius: 14px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Cormorant Garamond", "Noto Serif SC", "Songti SC", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
}

body.page-body {
  padding-top: 0;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

/* —— 顶栏（全站） —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 22, 0.75) 0%,
    rgba(8, 12, 22, 0.35) 55%,
    transparent 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  min-height: 3.5rem;
}

.logo {
  font-family: var(--font-display);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-header--hero .logo {
  color: var(--white);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-header--hero .nav-main a {
  color: rgba(255, 255, 255, 0.88);
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--accent);
}

.site-header--hero .nav-main a:hover,
.site-header--hero .nav-main a[aria-current="page"] {
  color: var(--accent-soft);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.btn-primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(196, 92, 38, 0.35);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.site-header--hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-header--hero .btn-ghost:hover {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}

/* —— Hero（首页） —— */
.hero {
  min-height: 92vh;
  position: relative;
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 18, 28, 0.82) 0%,
    rgba(12, 18, 28, 0.45) 50%,
    rgba(12, 18, 28, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: clamp(7rem, 18vw, 11rem) 0 clamp(4rem, 10vw, 6rem);
  max-width: var(--max);
  width: min(92%, var(--max));
}

.hero .eyebrow {
  color: var(--accent-soft);
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  color: var(--white);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  color: var(--ink);
  margin-bottom: 0.35rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1rem;
  color: var(--ink);
}

.hero-text {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-top: 1rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

/* —— 区块 —— */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-title-wrap {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-title-wrap .eyebrow {
  margin-bottom: 0.5rem;
}

.section-title-wrap p:not(.eyebrow) {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  max-width: 36rem;
}

.section-dark {
  background: linear-gradient(180deg, #ebe6dc 0%, #e5dfd3 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

p,
li {
  color: var(--ink-soft);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.text-link:hover {
  text-decoration: underline;
}

/* —— 栅格 —— */
.grid {
  display: grid;
  gap: 1.25rem;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* —— 编辑风卡片（图+文） —— */
.card-editorial {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-editorial__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-editorial:hover .card-editorial__media img {
  transform: scale(1.04);
}

.card-editorial__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.card-editorial__tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.card-editorial__body p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

/* 简单卡片 */
.card {
  padding: 1.35rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.85);
}

/* —— 内页顶图 —— */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--line-strong);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 15, 20, 0.25) 0%,
    rgba(13, 15, 20, 0.75) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin: 0;
}

.page-hero .eyebrow {
  color: var(--accent-soft);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0 0;
  max-width: 36rem;
}

/* —— BGC 特色块 —— */
.bgc-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.bgc-feature img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.bgc-copy {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .bgc-feature {
    grid-template-columns: 1fr;
  }
  .bgc-copy {
    padding: 1.5rem;
  }
}

/* —— BGC / 长文资讯页 —— */
.bgc-page .page-hero {
  min-height: 320px;
}

.bgc-page .page-hero p {
  max-width: 42rem;
}

.article-lede {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.toc-bar {
  position: sticky;
  top: 56px;
  z-index: 50;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  margin-top: -1px;
}

.toc-bar__inner {
  display: flex;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.82rem;
}

.toc-bar__label {
  font-weight: 700;
  color: var(--ink);
  margin-right: 0.25rem;
}

.toc-bar a {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.toc-bar a:hover {
  color: var(--accent);
}

.section-block {
  scroll-margin-top: 6.5rem;
}

.section-block__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.section-block__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.section-block__head h2 {
  margin: 0;
}

.section-block__head .section-summary {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  max-width: 48rem;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.split-block--reverse .split-block__visual {
  order: 2;
}

.split-block--reverse .split-block__text {
  order: 1;
}

.split-block__visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-block__visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.split-block__text .card {
  height: 100%;
}

.split-block__text ul {
  margin-top: 0.5rem;
}

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card--icon h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card__note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  color: var(--ink);
}

.price-row span {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--paper-2);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(196, 92, 38, 0.12);
  color: var(--accent);
}

.faq-block {
  max-width: 720px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item__body {
  padding: 0 1.15rem 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq-item__body p {
  margin: 0 0 0.65rem;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

.figure-caption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
  padding: 0 0.25rem;
}

@media (max-width: 1024px) {
  .four-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-block {
    grid-template-columns: 1fr;
  }

  .split-block--reverse .split-block__visual {
    order: 1;
  }

  .split-block--reverse .split-block__text {
    order: 2;
  }
}

@media (max-width: 768px) {
  .toc-bar {
    top: 0;
    position: relative;
  }

  .four-col {
    grid-template-columns: 1fr;
  }
}

/* —— 表单（注册/登录） —— */
.auth-panel {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-panel h1 {
  color: var(--ink);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.auth-panel .eyebrow {
  margin-bottom: 1.25rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  background: var(--paper);
}

.form-field input:focus {
  outline: 2px solid rgba(196, 92, 38, 0.35);
  outline-offset: 1px;
}

.auth-panel .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

/* —— 咨询悬浮 —— */
.consult-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
}

.consult-main {
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  font-family: inherit;
  font-size: 0.88rem;
}

.consult-menu {
  position: absolute;
  right: 0;
  bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.consult-menu a {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.consult-fab:hover .consult-menu,
.consult-fab:focus-within .consult-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* —— 页脚 —— */
.footer {
  padding: 3.5rem 0 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.45rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— 兼容旧类名 —— */
.page-nav {
  margin: 0;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* —— 响应式 —— */
@media (max-width: 1024px) {
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-main {
    justify-content: center;
  }

  .nav-auth {
    justify-content: center;
  }

  .three-col,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 6.5rem;
  }

  .consult-fab {
    right: 14px;
    bottom: 14px;
  }
}

.qr-box{
  margin-top:12px;
  text-align:center;
}

.qr-box img{
  width:120px;
  border-radius:12px;
  display:block;
  margin:0 auto;
}

.qr-box p{
  font-size:12px;
  color:#999;
  margin-top:6px;
}