/* roulang page: index */
:root {
  --color-bg-primary: #F7F4EF;
  --color-bg-secondary: #EFEAE1;
  --color-bg-dark: #1E2823;
  --color-surface: #FFFFFF;
  --color-text-primary: #1A1D1A;
  --color-text-secondary: #4C554D;
  --color-text-muted: #7A827A;
  --color-accent-primary: #C87941;
  --color-accent-secondary: #2C4A3B;
  --color-border-light: #E4DED4;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(30, 40, 35, 0.06);
  --shadow-hover: 0 12px 28px rgba(30, 40, 35, 0.12);
  --font-heading: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: rgba(247,244,239,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 #E4DED4; }
.logo { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; background: var(--color-accent-primary); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.logo-text { color: var(--color-text-primary); }
.nav-link { position: relative; font-size: .92rem; font-weight: 500; color: var(--color-text-secondary); padding: 8px 2px; margin: 0 14px; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; border-radius: 2px; background: var(--color-accent-secondary); transition: width .25s ease-out; }
.nav-link:hover { color: var(--color-accent-secondary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--color-accent-secondary); }
.nav-link.active::after { width: 100%; background: var(--color-accent-secondary); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 24px;
  background: var(--color-accent-primary); color: #fff; border-radius: 6px; font-weight: 500; font-size: .92rem;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-primary:hover { background: #A96634; box-shadow: 0 6px 18px rgba(200,121,65,.25); transform: translateY(-1px); }
.btn-primary:active { transform: scale(.98); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 24px;
  background: transparent; color: var(--color-accent-secondary); border: 1.5px solid var(--color-accent-secondary); border-radius: 6px; font-weight: 500; font-size: .92rem;
  transition: background .2s, color .2s, transform .15s;
}
.btn-outline:hover { background: var(--color-accent-secondary); color: #fff; transform: translateY(-1px); }
.btn-outline:active { transform: scale(.98); }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--color-accent-secondary); font-weight: 500; font-size: .88rem; transition: gap .2s; }
.link-arrow:hover { gap: 8px; color: var(--color-accent-primary); }
.hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 6px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--color-text-primary); position: relative; transition: all .3s; }
.hamburger span::before, .hamburger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--color-text-primary); transition: all .3s; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.mobile-menu { display: none; }

/* Hero */
.hero { padding: 160px 0 80px; position: relative; background: linear-gradient(180deg, #F7F4EF 0%, #EFEAE1 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#C87941 1px, transparent 1px); background-size: 28px 28px; opacity: .06; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #C8BFAF; border-radius: 999px; padding: 4px 14px; font-size: .78rem; color: var(--color-accent-secondary); font-weight: 500; margin-bottom: 24px; background: rgba(255,255,255,.6); }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; color: var(--color-text-primary); margin-bottom: 18px; }
.hero-title em { font-style: normal; color: var(--color-accent-primary); }
.hero-subtitle { font-size: 1rem; color: var(--color-text-secondary); line-height: 1.8; max-width: 480px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-image-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); height: 420px; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,40,35,.35) 0%, rgba(30,40,35,0) 60%); }
.stat-bar { display: flex; gap: 0; border-top: 1px solid var(--color-border-light); padding-top: 40px; max-width: 520px; }
.stat-item { flex: 1; text-align: left; padding-right: 20px; }
.stat-item + .stat-item { border-left: 1px solid var(--color-border-light); padding-left: 20px; }
.stat-number { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--color-accent-secondary); display: block; line-height: 1.2; }
.stat-label { font-size: .8rem; color: var(--color-text-muted); }

/* Section */
.section { padding: 96px 0; }
.section-bg2 { background: var(--color-bg-secondary); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head-left { max-width: 600px; }
.section-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--color-accent-primary); text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.35; color: var(--color-text-primary); margin-bottom: 10px; }
.section-desc { color: var(--color-text-secondary); font-size: .95rem; line-height: 1.8; }

/* Feature Cards */
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.feature-card { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-card .card-img { overflow: hidden; aspect-ratio: 16/9; }
.feature-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feature-card:hover .card-img img { transform: scale(1.03); }
.feature-card .card-body { padding: 24px; }
.feature-card .card-tag { display: inline-block; border-radius: 999px; border: 1px solid #D8D0C4; padding: 2px 12px; font-size: .75rem; color: var(--color-accent-secondary); background: #FEFEFC; margin-bottom: 12px; }
.feature-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; transition: color .2s; }
.feature-card:hover h3 { color: var(--color-accent-secondary); }
.feature-card p { font-size: .88rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 14px; }

/* Scene */
.scene-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.scene-sticky { position: sticky; top: 100px; }
.scene-cards { display: flex; flex-direction: column; gap: 0; }
.scene-card { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-card); transition: transform .3s, box-shadow .3s; position: relative; }
.scene-card + .scene-card { margin-top: 24px; }
.scene-card:nth-child(2) { margin-top: 24px; transform: translateX(24px); }
.scene-card:hover { transform: translateY(-4px) translateX(0); box-shadow: var(--shadow-hover); }
.scene-card .icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(44,74,59,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--color-accent-secondary); }
.scene-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.scene-card p { font-size: .88rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 14px; }
.scene-card .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.scene-card .tag { font-size: .75rem; border: 1px solid #D8D0C4; border-radius: 999px; padding: 2px 10px; color: var(--color-text-muted); }

/* Case */
.case-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; background: var(--color-bg-dark); border-radius: var(--radius-lg); padding: 48px; color: #EDE8DF; align-items: center; }
.case-left .case-number { font-family: var(--font-heading); font-size: 3.4rem; font-weight: 700; color: #fff; line-height: 1; }
.case-left .case-desc { margin-top: 12px; color: rgba(237,232,223,.75); font-size: .92rem; }
.case-items { display: flex; flex-direction: column; gap: 0; }
.case-item { display: flex; align-items: center; gap: 20px; padding: 18px 16px; border-radius: var(--radius-md); transition: background .2s; border: 1px solid transparent; }
.case-item:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.case-item .client { font-weight: 600; font-size: .98rem; color: #F7F4EF; min-width: 140px; }
.case-item .industry { font-size: .75rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 2px 10px; color: rgba(237,232,223,.7); white-space: nowrap; }
.case-item .result { font-size: .82rem; color: rgba(237,232,223,.85); flex: 1; text-align: right; }
.case-item .result strong { color: var(--color-accent-primary); font-weight: 600; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-card { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; position: relative; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pricing-card.highlight { background: var(--color-bg-dark); color: #F7F4EF; border-color: var(--color-bg-dark); transform: translateY(-12px); }
.pricing-card.highlight:hover { transform: translateY(-16px); }
.pricing-card .plan { font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.pricing-card.highlight .plan { color: var(--color-accent-primary); }
.pricing-card .amount { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin-bottom: 2px; }
.pricing-card .period { font-size: .8rem; color: var(--color-text-muted); margin-bottom: 24px; }
.pricing-card.highlight .period { color: rgba(247,244,239,.6); }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pricing-card li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .88rem; color: var(--color-text-secondary); }
.pricing-card.highlight li { color: rgba(247,244,239,.85); }
.pricing-card li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--color-accent-secondary); }
.pricing-card.highlight li svg { color: var(--color-accent-primary); }
.pricing-card .hot-badge { position: absolute; top: -10px; right: 20px; background: var(--color-accent-primary); color: #fff; border-radius: 999px; padding: 2px 14px; font-size: .72rem; font-weight: 600; }
.pricing-card .btn-outline { width: 100%; justify-content: center; }
.pricing-card .btn-primary { width: 100%; justify-content: center; }

/* News List */
.news-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.news-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.news-items { display: flex; flex-direction: column; gap: 14px; }
.news-item { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); padding: 20px 22px; display: flex; gap: 18px; align-items: center; transition: box-shadow .2s, transform .2s; }
.news-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.news-item .date-block { background: var(--color-accent-secondary); color: #fff; border-radius: var(--radius-sm); width: 52px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.news-item .date-block .day { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; line-height: 1; }
.news-item .date-block .month { font-size: .7rem; opacity: .8; }
.news-item .news-info { flex: 1; min-width: 0; }
.news-item .news-info h3 { font-size: .98rem; font-weight: 600; margin-bottom: 4px; transition: color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item:hover .news-info h3 { color: var(--color-accent-secondary); }
.news-item .news-info p { font-size: .8rem; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.news-item .news-cat { font-size: .72rem; color: var(--color-accent-secondary); border: 1px solid #D8D0C4; border-radius: 999px; padding: 1px 8px; }
.news-item .arrow { color: var(--color-text-muted); flex-shrink: 0; transition: color .2s, transform .2s; }
.news-item:hover .arrow { color: var(--color-accent-primary); transform: translateX(4px); }

/* FAQ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); margin-bottom: 14px; overflow: hidden; }
.faq-item .faq-q { padding: 20px 24px; font-family: var(--font-heading); font-size: 1rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: color .2s; }
.faq-item .faq-q:hover { color: var(--color-accent-secondary); }
.faq-item .faq-q .icon { font-size: 1.2rem; color: var(--color-accent-primary); transition: transform .3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-item .faq-a-inner { padding: 0 24px 20px; color: var(--color-text-secondary); font-size: .9rem; line-height: 1.8; }

/* CTA Banner */
.cta-banner { position: relative; background: var(--color-bg-dark); border-radius: var(--radius-lg); overflow: hidden; padding: 72px 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/backpic/back-2.png') center/cover no-repeat; opacity: .18; }
.cta-banner .cta-content { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-heading); color: #F7F4EF; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.cta-banner p { color: rgba(247,244,239,.7); font-size: .95rem; max-width: 460px; }
.cta-banner .btn-primary { position: relative; z-index: 1; }

/* Footer */
.site-footer { background: var(--color-bg-dark); color: rgba(247,244,239,.8); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-brand .logo-text { color: #F7F4EF; }
.footer-brand p { font-size: .85rem; color: rgba(247,244,239,.6); max-width: 320px; margin-top: 16px; line-height: 1.7; }
.footer-col h4 { font-size: .9rem; color: #F7F4EF; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; font-size: .85rem; color: rgba(247,244,239,.55); padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--color-accent-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .8rem; color: rgba(247,244,239,.4); text-align: center; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.hero-anim { animation: fadeUp .6s ease-out both; }
.hero-anim-delay1 { animation-delay: .1s; }
.hero-anim-delay2 { animation-delay: .2s; }
.hero-anim-delay3 { animation-delay: .3s; }
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { height: 320px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-layout { grid-template-columns: 1fr; gap: 32px; }
  .scene-sticky { position: static; }
  .scene-card:nth-child(2) { transform: none; }
  .case-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.highlight { transform: none; }
  .pricing-card.highlight:hover { transform: translateY(-4px); }
  .news-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header .main-nav, .site-header .header-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; position: fixed; inset: 0; background: var(--color-bg-primary); z-index: 99; padding: 96px 32px 32px; transform: translateX(100%); transition: transform .3s ease; }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { display: block; padding: 14px 0; font-size: 1.3rem; font-family: var(--font-heading); color: var(--color-text-primary); border-bottom: 1px solid var(--color-border-light); }
  .mobile-menu a.active { color: var(--color-accent-primary); }
  .mobile-menu .close-btn { position: absolute; top: 20px; right: 24px; font-size: 2rem; color: var(--color-text-primary); }
  .section { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.highlight { transform: none; }
  .cta-banner { padding: 48px 28px; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-item { flex-wrap: wrap; }
  .news-item .arrow { display: none; }
  .case-item { flex-wrap: wrap; }
  .case-item .result { text-align: left; width: 100%; }
}
@media (max-width: 520px) {
  .hero { padding: 130px 0 56px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { width: 100%; justify-content: center; }
  .stat-bar { flex-direction: column; gap: 16px; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--color-border-light); padding-left: 0; padding-top: 12px; }
  .section-head { flex-direction: column; gap: 16px; }
  .case-layout { padding: 28px 20px; }
}

/* roulang page: category1 */
:root {
    --color-bg-primary: #F7F4EF;
    --color-bg-secondary: #EFEAE1;
    --color-bg-dark: #1E2823;
    --color-surface: #FFFFFF;
    --color-text-primary: #1A1D1A;
    --color-text-secondary: #4C554D;
    --color-text-muted: #7A827A;
    --color-accent-primary: #C87941;
    --color-accent-secondary: #2C4A3B;
    --color-border-light: #E4DED4;
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --shadow-card: 0 4px 20px rgba(30, 40, 35, 0.06);
    --shadow-hover: 0 12px 28px rgba(30, 40, 35, 0.12);
    --font-heading: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
  }

  button,
  input,
  textarea {
    font-family: inherit;
    font-size: inherit;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--font-heading);
    line-height: 1.35;
    color: var(--color-text-primary);
  }

  /* ===== 导航栏 ===== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 76px;
    background: rgba(247, 244, 239, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, box-shadow 0.3s;
  }

  .site-header.scrolled {
    border-bottom-color: var(--color-border-light);
    box-shadow: 0 2px 16px rgba(30, 40, 35, 0.04);
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-accent-primary);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
  }

  .logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 6px 0;
    position: relative;
    letter-spacing: 0.01em;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--color-accent-secondary);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-link:hover {
    color: var(--color-accent-secondary);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .nav-link.active {
    color: var(--color-accent-secondary);
    font-weight: 600;
  }

  .nav-link.active::after {
    width: 100%;
  }

  .header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
  }

  .mobile-toggle span {
    width: 18px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: 0.3s;
  }

  /* ===== 按钮 ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-out;
    border: 1.5px solid transparent;
    white-space: nowrap;
  }

  .btn:active {
    transform: scale(0.98);
  }

  .btn-sm {
    height: 40px;
    padding: 0 20px;
    font-size: 0.85rem;
  }

  .btn-primary {
    background: var(--color-accent-primary);
    color: #fff;
    border-color: var(--color-accent-primary);
  }

  .btn-primary:hover {
    background: #A96634;
    border-color: #A96634;
    box-shadow: 0 6px 18px rgba(200, 121, 65, 0.25);
    transform: translateY(-1px);
  }

  .btn-outline {
    background: transparent;
    color: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
  }

  .btn-outline:hover {
    background: var(--color-accent-secondary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(44, 74, 59, 0.2);
    transform: translateY(-1px);
  }

  .btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
  }

  .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
  }

  .btn-white {
    background: #fff;
    color: var(--color-accent-secondary);
    border-color: #fff;
  }

  .btn-white:hover {
    background: #f0ece5;
    border-color: #f0ece5;
  }

  .btn-arrow {
    transition: all 0.3s ease-out;
  }

  .btn-arrow .arrow-icon {
    transition: transform 0.3s ease-out;
  }

  .btn-arrow:hover .arrow-icon {
    transform: translateX(4px);
  }

  .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
  }

  .link-arrow .arrow-icon {
    transition: transform 0.3s;
  }

  .link-arrow:hover {
    color: var(--color-accent-primary);
  }

  .link-arrow:hover .arrow-icon {
    transform: translateX(4px);
  }

  /* ===== 面包屑 ===== */
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
  }

  .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
  }

  .breadcrumb a:hover {
    color: #fff;
  }

  .breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
  }

  .breadcrumb .current {
    color: #fff;
  }

  /* ===== 分类页 Hero ===== */
  .page-hero {
    position: relative;
    padding: 88px 0 72px;
    background: var(--color-bg-dark);
    background-image: linear-gradient(120deg, rgba(30, 40, 35, 0.92) 0%, rgba(30, 40, 35, 0.72) 60%, rgba(30, 40, 35, 0.4) 100%), url('/assets/images/backpic/back-1.png');
    background-size: cover;
    background-position: center;
    color: #fff;
  }

  .page-hero .hero-inner {
    max-width: 720px;
    animation: fadeInUp 0.6s ease-out;
  }

  .page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 20px 0 16px;
    line-height: 1.2;
  }

  .page-hero .hero-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 32px;
  }

  .page-hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== 内容索引区 ===== */
  .content-index {
    padding: 96px 0 64px;
  }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }

  .sidebar-nav {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    position: sticky;
    top: 100px;
  }

  .sidebar-nav h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    padding: 8px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--color-border-light);
  }

  .sidebar-nav ul {
    list-style: none;
    padding: 8px 0 0;
  }

  .sidebar-nav li {
    margin-bottom: 2px;
  }

  .sidebar-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    transition: all 0.3s;
  }

  .sidebar-nav li a:hover {
    background: var(--color-bg-secondary);
    color: var(--color-accent-secondary);
  }

  .sidebar-nav li a.active {
    background: var(--color-accent-secondary);
    color: #fff;
    font-weight: 500;
  }

  .sidebar-nav li a .count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: color 0.3s;
  }

  .sidebar-nav li a.active .count {
    color: rgba(255, 255, 255, 0.75);
  }

  /* 卡片 */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .content-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .content-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
  }

  .content-card .card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
  }

  .content-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
  }

  .content-card:hover .card-img img {
    transform: scale(1.03);
  }

  .content-card .card-body {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .content-card .card-tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    background: var(--color-surface);
    border: 1px solid #D8D0C4;
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--color-accent-secondary);
    margin-bottom: 10px;
    width: fit-content;
  }

  .content-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s;
  }

  .content-card:hover h3 {
    color: var(--color-accent-secondary);
  }

  .content-card p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    flex: 1;
  }

  .content-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--color-border-light);
  }

  .content-card .card-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
  }

  /* 错落 */
  .card-grid .card-item:nth-child(2) {
    margin-top: 24px;
  }

  .card-grid .card-item:nth-child(4) {
    margin-bottom: 16px;
  }

  @media (max-width: 768px) {
    .card-grid {
      grid-template-columns: 1fr;
    }

    .card-grid .card-item:nth-child(2) {
      margin-top: 0;
    }

    .card-grid .card-item:nth-child(4) {
      margin-bottom: 0;
    }
  }

  /* ===== 服务范围 ===== */
  .service-scope {
    background: var(--color-bg-secondary);
    padding: 80px 0;
  }

  .scope-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .scope-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
  }

  .scope-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
  }

  .scope-content h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 20px;
    color: var(--color-text-primary);
  }

  .scope-content p {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
  }

  .scope-list {
    list-style: none;
    margin-top: 16px;
  }

  .scope-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
  }

  .scope-list li::before {
    content: '●';
    color: var(--color-accent-primary);
    font-size: 0.7rem;
    margin-top: 5px;
  }

  @media (max-width: 768px) {
    .scope-wrap {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .scope-image img {
      height: 240px;
    }
  }

  /* ===== 适用场景 ===== */
  .scenarios {
    padding: 96px 0;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .section-head h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 8px;
  }

  .section-head p {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    max-width: 560px;
    line-height: 1.7;
  }

  .scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
  }

  .scenario-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .scenario-card:nth-child(2) {
    margin-top: 32px;
  }

  .scenario-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
  }

  .scenario-icon {
    width: 52px;
    height: 52px;
    background: var(--color-bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-accent-secondary);
  }

  .scenario-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .scenario-card p {
    font-size: 0.87rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
  }

  .scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    background: var(--color-surface);
    border: 1px solid #D8D0C4;
    border-radius: 999px;
    font-size: 0.74rem;
    color: var(--color-accent-secondary);
    transition: background 0.3s;
  }

  .tag:hover {
    background: var(--color-bg-secondary);
  }

  @media (max-width: 1024px) {
    .scenario-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .scenario-card:nth-child(2) {
      margin-top: 0;
    }
  }

  /* ===== FAQ ===== */
  .faq-section {
    background: var(--color-bg-secondary);
    padding: 96px 0;
  }

  .faq-wrap {
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s;
  }

  .faq-item:hover {
    box-shadow: var(--shadow-card);
  }

  .faq-item.open {
    box-shadow: var(--shadow-card);
  }

  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: color 0.3s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
  }

  .faq-question:hover {
    color: var(--color-accent-secondary);
  }

  .faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 16px;
  }

  .faq-icon::before,
  .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-accent-secondary);
    border-radius: 2px;
    transition: all 0.3s;
  }

  .faq-icon::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
  }

  .faq-icon::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
  }

  .faq-item.open .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
  }

  .faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s;
  }

  .faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 300px;
  }

  .faq-answer p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    border-top: 1px solid var(--color-border-light);
    padding-top: 14px;
  }

  /* ===== CTA ===== */
  .cta-section {
    padding: 96px 0;
  }

  .cta-banner {
    position: relative;
    background: var(--color-bg-dark);
    background-image: linear-gradient(90deg, rgba(30, 40, 35, 0.92) 0%, rgba(30, 40, 35, 0.75) 100%), url('/assets/images/backpic/back-2.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    overflow: hidden;
  }

  .cta-banner h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    margin-bottom: 8px;
  }

  .cta-banner p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
  }

  .cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  @media (max-width: 768px) {
    .cta-banner {
      padding: 40px 24px;
      flex-direction: column;
      align-items: flex-start;
    }
  }

  /* ===== 页脚 ===== */
  .site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 32px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }

  .footer-brand .logo .logo-text {
    color: #fff;
  }

  .footer-brand p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    max-width: 320px;
  }

  .footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s, padding-left 0.3s;
  }

  .footer-col a:hover {
    color: #fff;
    padding-left: 4px;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
  }

  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  /* ===== 移动端导航 ===== */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(247, 244, 239, 0.98);
    backdrop-filter: blur(12px);
    z-index: 99;
    padding: 80px 32px 32px;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text-primary);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    transition: color 0.3s;
  }

  .mobile-menu a:hover {
    color: var(--color-accent-secondary);
  }

  .mobile-menu a.active {
    color: var(--color-accent-secondary);
    font-weight: 600;
  }

  /* ===== 响应式 ===== */
  @media (max-width: 1024px) {
    .main-nav {
      gap: 20px;
    }
  }

  @media (max-width: 768px) {
    .site-header {
      height: 64px;
    }

    .main-nav {
      display: none;
    }

    .mobile-toggle {
      display: flex;
    }

    .header-cta .btn {
      display: none;
    }
  }

  @media (max-width: 520px) {
    .container {
      padding: 0 16px;
    }

    .page-hero {
      padding: 64px 0 48px;
    }

    .hero-actions .btn {
      width: 100%;
    }

    .card-grid {
      grid-template-columns: 1fr;
    }
  }

/* roulang page: article */
:root {
  --color-bg-primary: #F7F4EF;
  --color-bg-secondary: #EFEAE1;
  --color-bg-dark: #1E2823;
  --color-surface: #FFFFFF;
  --color-text-primary: #1A1D1A;
  --color-text-secondary: #4C554D;
  --color-text-muted: #7A827A;
  --color-accent-primary: #C87941;
  --color-accent-secondary: #2C4A3B;
  --color-border-light: #E4DED4;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(30, 40, 35, 0.06);
  --shadow-hover: 0 12px 28px rgba(30, 40, 35, 0.12);
  --font-heading: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.content-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease-out;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 121, 65, 0.2);
}
.btn-primary:hover {
  background: #A96634;
  box-shadow: 0 6px 18px rgba(200, 121, 65, 0.28);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-accent-secondary);
  color: var(--color-accent-secondary);
}
.btn-outline:hover {
  background: var(--color-accent-secondary);
  color: #fff;
}
.btn-outline:active {
  transform: scale(0.98);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s ease-out, color 0.2s ease-out;
}
.link-arrow:hover {
  color: var(--color-accent-primary);
  gap: 10px;
}

/* ========== Header & Nav ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-accent-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 121, 65, 0.25);
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.main-nav {
  gap: 32px;
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: 8px 0;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-out;
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-secondary);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-cta {
  margin-left: 20px;
}
.site-header .nav-link,
.site-header .logo-text {
  color: rgba(255, 255, 255, 0.94);
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #E8B48C;
}
.site-header .nav-link::after {
  background: #E8B48C;
}
.site-header .logo-text {
  color: #fff;
}

.site-header.scrolled {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(30, 40, 35, 0.08);
}
.site-header.scrolled .nav-link,
.site-header.scrolled .logo-text {
  color: var(--color-text-primary);
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--color-accent-secondary);
}
.site-header.scrolled .nav-link::after {
  background: var(--color-accent-secondary);
}
.site-header.scrolled .logo-text {
  color: var(--color-text-primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--color-text-primary);
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  margin: 4px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ========== 移动端菜单 ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 244, 239, 0.98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--color-accent-secondary);
}
.mobile-menu .mobile-cta {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: var(--color-accent-primary);
  padding: 12px 28px;
  border-radius: 6px;
}
body.no-scroll {
  overflow: hidden;
}

/* ========== 文章页 Hero ========== */
.article-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 168px 0 72px;
  color: #fff;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 40, 35, 0.74) 0%, rgba(30, 40, 35, 0.56) 45%, rgba(30, 40, 35, 0.8) 100%);
}
.article-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #E8B48C;
}
.breadcrumb .crumb-current {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  color: rgba(255, 255, 255, 0.82);
}
.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 22px;
  color: #fff;
  letter-spacing: 0.01em;
}
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}
.meta-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #F2E6D8;
}
.meta-source {
  color: rgba(255, 255, 255, 0.85);
}
.meta-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ========== 正文区 ========== */
.article-main {
  padding: 64px 0 48px;
  background: var(--color-bg-primary);
}
.article-content-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text-primary);
}
.article-body p {
  margin-bottom: 1.5em;
}
.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent-secondary);
  margin: 2em 0 0.8em;
  line-height: 1.35;
}
.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-accent-secondary);
  margin: 1.8em 0 0.6em;
}
.article-body ul {
  margin: 0 0 1.5em;
  padding-left: 1.4rem;
  list-style: none;
}
.article-body ul li {
  position: relative;
  margin-bottom: 0.6em;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-primary);
}
.article-body blockquote {
  background: var(--color-bg-secondary);
  border-left: 4px solid var(--color-accent-secondary);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 1.5em 0;
  color: var(--color-text-secondary);
  font-style: italic;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-card);
}
.article-body figcaption,
.article-body .wp-caption-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: -16px;
  margin-bottom: 24px;
}
.article-body a {
  color: var(--color-accent-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.article-body a:hover {
  color: var(--color-accent-primary);
}
.article-body iframe {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.article-body pre,
.article-body code {
  background: var(--color-bg-secondary);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.9em;
}
.article-body pre {
  padding: 16px 20px;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

/* ========== 标签区 ========== */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}
.tag-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #D8D0C4;
  background: #fff;
  color: var(--color-accent-secondary);
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.tag-pill:hover {
  background: var(--color-accent-secondary);
  border-color: var(--color-accent-secondary);
  color: #fff;
}

/* ========== 空态 ========== */
.not-found {
  text-align: center;
  padding: 88px 24px;
}
.not-found .nf-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  color: var(--color-accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 22px;
}
.not-found h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.not-found p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ========== 相关推荐 ========== */
.related-section {
  padding: 64px 0;
  background: var(--color-bg-secondary);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.related-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}
.related-card:hover .related-thumb img {
  transform: scale(1.03);
}
.related-info {
  padding: 16px 18px 18px;
}
.related-info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.related-card:hover .related-info h3 {
  color: var(--color-accent-secondary);
}
.related-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ========== FAQ ========== */
.faq-section {
  padding: 64px 0;
  background: var(--color-bg-primary);
}
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.faq-wrap .section-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 36px;
}
.faq-wrap .section-head h2 {
  font-size: 1.6rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s;
}
.faq-item:hover {
  box-shadow: var(--shadow-hover);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
.faq-q:hover {
  color: var(--color-accent-secondary);
}
.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-accent-secondary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.faq-icon::before {
  width: 14px;
  height: 2px;
  left: 3px;
  top: 9px;
}
.faq-icon::after {
  width: 2px;
  height: 14px;
  left: 9px;
  top: 3px;
}
.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}
.faq-a p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-item.open .faq-a {
  max-height: 320px;
}

/* ========== CTA 横幅 ========== */
.cta-section {
  padding: 56px 0 80px;
  background: var(--color-bg-primary);
}
.cta-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 64px 48px;
  text-align: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 40, 35, 0.92), rgba(44, 74, 59, 0.88));
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn {
  background: var(--color-accent-primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(200, 121, 65, 0.3);
}
.cta-btn:hover {
  background: #B8713B;
  transform: translateY(-2px);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 18px;
  letter-spacing: 0.02em;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #E8B48C;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .main-nav {
    gap: 22px;
  }
  .nav-cta {
    display: none;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 64px;
    background: rgba(247, 244, 239, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(30, 40, 35, 0.06);
  }
  .site-header .nav-link,
  .site-header .logo-text {
    color: var(--color-text-primary);
  }
  .site-header .logo-text {
    color: var(--color-text-primary);
  }
  .header-inner {
    height: 64px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    color: var(--color-text-primary);
  }
  .article-hero {
    padding: 132px 0 52px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .cta-panel {
    padding: 48px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .logo-text {
    font-size: 1.2rem;
  }
  .article-title {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  .article-main {
    padding: 48px 0 36px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cta-content h2 {
    font-size: 1.45rem;
  }
  .cta-panel {
    padding: 40px 20px;
  }
}
