:root {
    --tea-900: #2A1D14;
    --gold-500: #A67C52;
    --cream-50: #F7F2EA;
    --dark-900: #211812;
    --ink-900: #33271E;
    --ink-secondary: #7C6A5A;
    --ink-muted: #A89786;
    --line-100: #E6DCCE;
    --line-hover: #D4C5B2;
    --radius-card: 16px;
    --radius-btn: 999px;
    --shadow-card: 0 1px 3px rgba(42,29,20,0.06), 0 8px 24px rgba(42,29,20,0.04);
    --shadow-hover: 0 12px 32px rgba(42,29,20,0.10);
    --transition: all .25s ease;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background-color: var(--cream-50);
    color: var(--ink-900);
    line-height: 1.75;
    overflow-x: hidden;
  }
  h1, h2, h3, .font-serif-cn {
    font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; transition: var(--transition); }
  button { cursor: pointer; font-family: inherit; }
  ul, ol { list-style: none; }
  input, textarea, select { font-family: inherit; font-size: 16px; }

  .container { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
  @media (min-width: 768px) {
    .container { padding-left: 40px; padding-right: 40px; }
  }

  /* 导航 */
  .site-header {
    background: rgba(247,242,234,0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line-100);
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: box-shadow .3s ease;
  }
  .site-header.scrolled { box-shadow: 0 2px 16px rgba(42,29,20,0.06); }
  .nav-chips {
    background: #fff; border: 1px solid var(--line-100);
    border-radius: 999px; padding: 4px; display: inline-flex; align-items: center; gap: 2px;
    box-shadow: 0 1px 3px rgba(42,29,20,0.04);
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    max-width: 100%;
  }
  .nav-chips::-webkit-scrollbar { display: none; }
  .nav-chip {
    padding: 8px 18px; border-radius: 999px; font-size: 14px; color: #7C6A5A;
    white-space: nowrap; transition: var(--transition); font-weight: 400;
  }
  .nav-chip:hover { background: var(--cream-50); color: var(--ink-900); }
  .nav-chip.active { background: var(--tea-900); color: var(--cream-50); font-weight: 500; }
  .btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--tea-900); color: var(--cream-50);
    border-radius: 999px; padding: 12px 30px; font-size: 15px; font-weight: 500;
    transition: all .25s ease; border: 1px solid transparent;
  }
  .btn-primary:hover { background: #3A2A1E; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,29,20,0.18); }
  .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--ink-900);
    border-radius: 999px; padding: 12px 28px; font-size: 15px; font-weight: 500;
    border: 1px solid var(--line-200); transition: all .25s ease;
  }
  .btn-secondary:hover { border-color: var(--gold-500); color: var(--gold-500); }
  .btn-dark-hover:hover { background: #3A2A1E; }

  /* Hero */
  .hero-overlay::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(247,242,234,0.95) 0%, rgba(247,242,234,0.7) 50%, rgba(247,242,234,0.2) 100%);
    z-index: 1;
  }
  .fade-up { opacity: 0; animation: fadeUp .6s ease forwards; }
  .fade-up.delay-1 { animation-delay: .15s; }
  .fade-up.delay-2 { animation-delay: .3s; }
  .fade-up.delay-3 { animation-delay: .45s; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* 服务列表行 */
  .service-row {
    display: grid; grid-template-columns: 64px 160px 1fr 40px;
    align-items: center; gap: 24px; padding: 32px 24px;
    border-bottom: 1px solid var(--line-100);
    transition: all .25s ease; border-radius: 8px;
  }
  .service-row:hover { background: var(--cream-50); }
  .service-row:hover .service-num { color: var(--gold-500); }
  .service-row:hover .service-arrow { opacity: 1; transform: translateX(6px); }
  .service-num { font-size: 48px; font-weight: 300; color: #D4C5B2; font-family: "Noto Serif SC", serif; line-height: 1; transition: var(--transition); }
  .service-arrow { opacity: 0; transform: translateX(0); transition: var(--transition); color: var(--gold-500); }

  @media (max-width: 768px) {
    .service-row { grid-template-columns: 40px 1fr; padding: 24px 16px; gap: 8px 16px; }
    .service-num { font-size: 32px; grid-row: span 2; }
    .service-desc { grid-column: 2; }
    .service-arrow { display: none; }
  }

  /* 卡片 */
  .card { background: #fff; border: 1px solid var(--line-100); border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: var(--transition); }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-200); }
  .card-hover-img img { transition: transform .5s ease; }
  .card-hover-img:hover img { transform: scale(1.03); }

  /* 标签 */
  .badge { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .1em; border: 1px solid var(--line-100); background: var(--cream-50); color: var(--ink-900); }
  .badge-gold { border-color: var(--gold-500); color: var(--gold-500); background: transparent; }

  /* 深色块 */
  .dark-section { background: var(--dark-900); color: #F7F2EA; }
  .dark-section .stat-num { font-size: 56px; font-weight: 300; color: var(--cream-50); font-family: "Noto Serif SC", serif; line-height: 1.1; }
  .stat-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.2); margin: 16px 0; }

  /* FAQ */
  .faq-item { background: #fff; border: 1px solid var(--line-100); border-radius: 12px; overflow: hidden; transition: var(--transition); }
  .faq-item.active { border-color: var(--gold-500); }
  .faq-item .faq-content { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
  .faq-item.active .faq-content { max-height: 500px; }
  .faq-icon { transition: transform .3s ease; }
  .faq-item.active .faq-icon { transform: rotate(45deg); }

  /* 表单 */
  .form-field { width: 100%; background: #fff; border: 1px solid var(--line-100); border-radius: 8px; padding: 12px 16px; font-size: 15px; transition: all .25s ease; color: var(--ink-900); }
  .form-field:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(166,124,82,0.15); }
  .form-field::placeholder { color: var(--ink-muted); }
  .form-label { display: block; font-size: 14px; color: var(--ink-secondary); margin-bottom: 6px; font-weight: 400; }

  /* 空态 */
  .empty-state { border: 1px dashed var(--line-200); border-radius: var(--radius-card); padding: 60px 24px; text-align: center; color: var(--ink-muted); background: rgba(255,255,255,0.4); }

  /* 时间线 */
  .timeline-step { position: relative; }
  .timeline-step:not(:last-child)::after {
    content: ''; position: absolute; top: 40px; left: 20px; right: 0;
    border-top: 1px dashed var(--line-200); z-index: 0;
  }
  @media (max-width: 767px) {
    .timeline-step:not(:last-child)::after { display: none; }
  }
  .timeline-circle {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-200);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 500; color: var(--gold-500); background: #fff; position: relative; z-index: 1;
  }

  /* 页脚 */
  .footer-link { color: rgba(247,242,234,0.65); font-size: 14px; transition: var(--transition); display: inline-block; padding: 3px 0; }
  .footer-link:hover { color: var(--gold-400); }

  /* 段落标题下划线 */
  .section-eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); font-weight: 500; }

  /* 头像/图标 */
  .icon-circle { width: 42px; height: 42px; border-radius: 12px; background: var(--cream-50); border: 1px solid var(--line-100); display: flex; align-items: center; justify-content: center; }

  /* 推荐卡 */
  .featured-plan { border-top: 3px solid var(--gold-500); box-shadow: 0 8px 32px rgba(42,29,20,0.10); }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
  }

:root {
    --tea-900: #2A1D14;
    --gold-500: #A67C52;
    --gold-400: #C49A6C;
    --cream-50: #F7F2EA;
    --dark-900: #211812;
    --ink-900: #33271E;
    --ink-secondary: #7C6A5A;
    --ink-muted: #A89786;
    --line-100: #E6DCCE;
    --line-200: #D4C5B2;
    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --radius-card: 16px;
    --radius-btn: 999px;
    --shadow-card: 0 1px 3px rgba(42,29,20,0.06), 0 8px 24px rgba(42,29,20,0.04);
    --shadow-hover: 0 12px 32px rgba(42,29,20,0.10);
    --transition: all .25s ease;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-sans);
    background-color: var(--cream-50);
    color: var(--ink-900);
    line-height: 1.75;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }

  button {
    cursor: pointer;
    font-family: inherit;
  }

  input,
  textarea,
  select {
    font-family: inherit;
    font-size: 16px;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .font-serif-cn {
    font-family: var(--font-serif);
  }

  /* 导航 */
  .site-header {
    background: rgba(247, 242, 234, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line-100);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: box-shadow .3s ease;
  }

  .site-header.scrolled {
    box-shadow: 0 2px 16px rgba(42, 29, 20, 0.06);
  }

  .nav-chips {
    background: #fff;
    border: 1px solid var(--line-100);
    border-radius: 999px;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 1px 3px rgba(42, 29, 20, 0.04);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
  }

  .nav-chips::-webkit-scrollbar {
    display: none;
  }

  .nav-chip {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    color: #7C6A5A;
    white-space: nowrap;
    transition: var(--transition);
    font-weight: 400;
  }

  .nav-chip:hover {
    background: var(--cream-50);
    color: var(--ink-900);
  }

  .nav-chip.active {
    background: var(--tea-900);
    color: var(--cream-50);
    font-weight: 500;
  }

  /* 按钮 */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tea-900);
    color: var(--cream-50);
    border-radius: 999px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all .25s ease;
    border: 1px solid transparent;
  }

  .btn-primary:hover {
    background: #3A2A1E;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 29, 20, 0.18);
  }

  .btn-primary:focus-visible {
    outline: 3px solid rgba(166, 124, 82, 0.35);
    outline-offset: 2px;
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--ink-900);
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--line-200);
    transition: all .25s ease;
  }

  .btn-secondary:hover {
    border-color: var(--gold-500);
    color: var(--gold-500);
  }

  .btn-secondary:focus-visible {
    outline: 3px solid rgba(166, 124, 82, 0.25);
    outline-offset: 2px;
  }

  /* 标签 / 徽章 */
  .badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .1em;
    border: 1px solid var(--line-100);
    background: var(--cream-50);
    color: var(--ink-900);
    transition: var(--transition);
  }

  .badge-gold {
    border-color: var(--gold-500);
    color: var(--gold-500);
    background: transparent;
  }

  /* 卡片 */
  .card {
    background: #fff;
    border: 1px solid var(--line-100);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--line-200);
  }

  .card-hover-img img {
    transition: transform .5s ease;
  }

  .card-hover-img:hover img {
    transform: scale(1.03);
  }

  /* 文章头部区 */
  .article-hero {
    background:
      linear-gradient(to bottom, rgba(247, 242, 234, 0.95), rgba(247, 242, 234, 0.98)),
      url('/assets/images/backpic/back-1.webp') center / cover no-repeat;
  }

  .article-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 面包屑 */
  .breadcrumb a:hover,
  .breadcrumb span:hover {
    color: var(--gold-500);
  }

  /* 文章正文排版 */
  .article-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--ink-900);
    word-break: break-word;
  }

  .article-body p {
    margin-bottom: 24px;
  }

  .article-body h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin: 48px 0 16px;
  }

  .article-body h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin: 36px 0 12px;
  }

  .article-body h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 10px;
  }

  .article-body blockquote {
    border-left: 3px solid var(--gold-500);
    background: var(--cream-50);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 12px 12px 0;
    color: var(--ink-secondary);
    font-size: 16px;
  }

  .article-body blockquote p:last-child {
    margin-bottom: 0;
  }

  .article-body ul,
  .article-body ol {
    margin-bottom: 24px;
    padding-left: 1.6em;
  }

  .article-body ul {
    list-style: disc;
  }

  .article-body ol {
    list-style: decimal;
  }

  .article-body li {
    margin-bottom: 8px;
    padding-left: 4px;
  }

  .article-body a {
    color: var(--gold-500);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .article-body a:hover {
    color: var(--tea-900);
  }

  .article-body img {
    border-radius: 12px;
    margin: 28px auto;
    max-width: 100%;
  }

  .article-body figure {
    margin: 28px 0;
  }

  .article-body figure img {
    margin-bottom: 10px;
  }

  .article-body figcaption {
    font-size: 13px;
    color: var(--ink-muted);
    text-align: center;
    margin-top: 8px;
  }

  .article-body hr {
    border: none;
    border-top: 1px solid var(--line-100);
    margin: 40px 0;
  }

  .article-body code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .9em;
    background: var(--cream-50);
    border: 1px solid var(--line-100);
    padding: 2px 6px;
    border-radius: 6px;
  }

  .article-body pre {
    background: var(--dark-900);
    color: var(--cream-50);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 28px 0;
    font-size: 14px;
    line-height: 1.7;
  }

  .article-body pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
  }

  .article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
  }

  .article-body th,
  .article-body td {
    border: 1px solid var(--line-100);
    padding: 10px 14px;
    text-align: left;
  }

  .article-body th {
    background: var(--cream-50);
    font-weight: 600;
  }

  /* CTA 区 */
  .cta-block {
    background: var(--dark-900);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
  }

  /* 页脚 */
  .footer-link {
    color: rgba(247, 242, 234, 0.65);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
    padding: 3px 0;
  }

  .footer-link:hover {
    color: var(--gold-400);
  }

  /* 响应式 */
  @media (min-width: 768px) {
    .container {
      padding-left: 40px;
      padding-right: 40px;
    }
  }

  @media (max-width: 768px) {
    .nav-chips {
      max-width: calc(100vw - 110px);
    }

    .nav-chip {
      padding: 8px 14px;
      font-size: 13px;
    }

    .article-body {
      font-size: 16px;
      line-height: 1.85;
    }

    .article-body h2 {
      font-size: 23px;
      margin-top: 36px;
    }

    .article-body h3 {
      font-size: 19px;
      margin-top: 28px;
    }

    .cta-block {
      padding: 36px 24px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
