/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --brand: #FF6B81;
  --brand-hover: #f54e6c;
  --brand-light: rgba(255,107,129,.12);
  --accent: #F2A57A;
  --neon: #FF3D81;
  --dark: #181114;
  --bg-warm: #FFF8F3;
  --bg-gray: #F8F4F2;
  --card-white: #FFFFFF;
  --text-main: #241B1E;
  --text-secondary: #776A6E;
  --text-placeholder: #B8A8AC;
  --border-color: #EAD5CF;
  --error-color: #D63A5A;
  --radius-lg: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 12px rgba(30,23,25,.06), 0 2px 4px rgba(30,23,25,.04);
  --shadow-hover: 0 8px 30px rgba(255,107,129,.14), 0 2px 6px rgba(30,23,25,.06);
  --font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
  --transition: all .25s var(--ease);
}
/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-family); background: var(--bg-warm); color: var(--text-main); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
/* ===== 基础排版 ===== */
h1, h2, h3, h4 { line-height: 1.3; color: var(--text-main); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { color: var(--text-secondary); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1rem; color: var(--text-secondary); }
/* ===== 容器 / 栅格 ===== */
.grid-container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
/* ===== 导航 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(24,17,20,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,61,129,.4);
  height: 72px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 700; color: #fff; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px rgba(255,107,129,.8); flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; height: 72px;
  padding: 0 16px; color: #C8B8BD; font-size: .9375rem; font-weight: 500;
  transition: var(--transition);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 2px; background: var(--neon); box-shadow: 0 2px 12px rgba(255,61,129,.6);
}
.main-nav a.active { color: #fff; text-shadow: 0 0 8px rgba(255,61,129,.8); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 2px; background: var(--neon); box-shadow: 0 2px 12px rgba(255,61,129,.8);
}
.nav-cta { margin-left: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); font-weight: 600;
  transition: var(--transition); text-align: center;
}
.btn-primary {
  background: var(--brand); color: #fff; padding: 0 24px; height: 44px;
  border-radius: var(--radius-pill);
}
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 0 20px rgba(255,107,129,.5); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 3px solid rgba(255,107,129,.4); outline-offset: 2px; }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--accent); color: #fff; padding: 0 24px; height: 44px;
}
.btn-secondary:hover { filter: brightness(1.05); box-shadow: 0 0 16px rgba(242,165,122,.5); }
.btn-dark {
  background: var(--dark); color: #fff; padding: 0 24px; height: 44px;
}
.btn-dark:hover { background: #2a1d22; }
.btn-lg { height: 52px; padding: 0 40px; font-size: 1rem; }
.nav-cta .btn { height: 40px; padding: 0 20px; font-size: .9375rem; }
.mobile-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 8px; color: #fff; font-size: 1.5rem;
}
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 999;
  background: #181114; border-bottom: 1px solid rgba(255,61,129,.3);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 16px 24px; color: #C8B8BD; font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06); transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; background: rgba(255,107,129,.08); }
.mobile-menu a.active { text-shadow: 0 0 8px rgba(255,61,129,.8); }
.mobile-menu .btn { margin: 16px 24px; width: calc(100% - 48px); }
/* ===== Hero 指标看板 ===== */
.hero {
  position: relative; background: var(--dark); padding: 160px 0 90px;
  border-bottom: 1px solid rgba(255,61,129,.3);
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon) 30%, var(--brand) 70%, transparent);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,17,20,.92) 0%, rgba(24,17,20,.85) 50%, rgba(24,17,20,.95) 100%);
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0; background: url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
  opacity: .06; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,129,.12); border: 1px solid rgba(255,107,129,.35);
  border-radius: var(--radius-pill); padding: 6px 18px;
  color: #FF8A9A; font-size: .8125rem; margin-bottom: 24px;
}
.hero-badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.15;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.125rem; color: #B8A8AC; max-width: 640px; margin: 0 auto 48px;
  line-height: 1.8;
}
.hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 48px; padding: 0 24px;
}
.metric { text-align: center; padding: 20px 8px 16px; position: relative; }
.metric::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 4px; border-radius: 2px; background: var(--neon);
  box-shadow: 0 0 12px rgba(255,61,129,.6);
}
.metric-num {
  font-size: 2.8rem; font-weight: 800; color: var(--brand);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.metric-label { font-size: .9rem; color: #B8A8AC; margin-top: 6px; }
.hero-cta { display: flex; justify-content: center; gap: 16px; }
/* ===== 服务矩阵 ===== */
.services-section { background: var(--bg-warm); position: relative; }
.services-grid { row-gap: 28px; }
.service-card {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border-color);
  background: var(--card-white); padding: 24px; height: 100%;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column; overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--brand);
}
.card-icon {
  display: inline-flex; width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--brand-light); color: var(--brand); align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  color: var(--brand); font-weight: 600; font-size: .9375rem;
}
.card-link .arrow { transition: transform .25s var(--ease); display: inline-block; }
.card-link:hover .arrow { transform: translateX(4px); }
.card-link:hover { color: var(--brand-hover); }
/* Card A 横向不对称 */
.card-asym { flex-direction: row; padding: 0; }
.card-asym-text { flex: 0 0 55%; padding: 24px; display: flex; flex-direction: column; }
.card-asym-img { flex: 0 0 45%; min-height: 220px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; overflow: hidden; }
.card-asym-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .3s var(--ease); }
.card-asym:hover .card-asym-img img { transform: scale(1.03); }
/* Card B 纵向叠加 */
.card-stack { }
.card-stack-top {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(242,165,122,.15); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 20px;
}
.stack-num {
  font-size: 1.75rem; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stack-icon { color: var(--accent); }
.card-metrics {
  display: flex; gap: 0; margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.card-metrics span {
  flex: 1; text-align: center; font-size: .8125rem; color: var(--text-secondary);
  padding: 0 4px; position: relative;
}
.card-metrics span + span::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 16px; background: var(--border-color);
}
.card-metrics span strong { display: block; font-size: 1.1rem; color: var(--text-main); font-variant-numeric: tabular-nums; }
/* Card C 深色对比 */
.card-dark {
  background: var(--dark); border-color: rgba(255,255,255,.08); color: #fff;
}
.card-dark h3, .card-dark p { color: #fff; }
.card-dark p { color: rgba(255,255,255,.65); }
.card-dark .card-dark-visual { margin-bottom: 20px; }
.progress-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.progress-label { width: 40px; font-size: .8125rem; color: rgba(255,255,255,.8); text-align: right; }
.progress-bar {
  flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1);
  overflow: hidden; position: relative;
}
.progress-bar::after {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 3px;
  width: var(--w, 50%); box-shadow: 0 0 8px rgba(255,107,129,.4);
}
.progress-val { font-size: .8125rem; color: var(--brand); font-width: 700; }
/* ===== 结果对比 ===== */
.compare-section { background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-gray) 100%); }
.compare-badge {
  display: flex; justify-content: center; margin-bottom: 44px;
}
.compare-badge span {
  display: inline-block; background: var(--brand-light); color: #D94F63;
  border: 1px solid var(--brand); border-radius: var(--radius-pill);
  padding: 8px 22px; font-size: .9375rem; font-weight: 500; text-align: center;
  background: rgba(255,107,129,.12);
}
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 960px; margin: 0 auto;
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
}
.compare-grid::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--neon); transform: translateX(-50%); z-index: 2;
  box-shadow: 0 0 16px rgba(255,61,129,.4);
}
.compare-col { padding: 32px 28px; }
.compare-col.left { background: #F8F4F2; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.compare-col.right { background: #FFF8F3; border: 1px solid var(--brand); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.compare-col h3 {
  font-size: 1.0625rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color); color: var(--text-main);
}
.compare-col.right h3 { color: var(--brand); }
.compare-col ul li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: .9375rem; color: var(--text-secondary);
  line-height: 1.5;
}
.compare-col.right ul li { color: var(--text-main); }
.dot-gray {
  width: 6px; height: 6px; border-radius: 50%; background: #B8A8AC;
  margin-top: 8px; flex-shrink: 0;
}
.check-brand { flex-shrink: 0; color: var(--brand); margin-top: 2px; }
/* ===== FAQ ===== */
.faq-section { background: var(--bg-warm); }
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 36px;
}
.faq-tab {
  padding: 10px 28px; border-radius: 8px; font-size: .9375rem; font-weight: 600;
  color: var(--text-secondary); background: transparent; border: 1px solid var(--border-color);
  transition: var(--transition);
}
.faq-tab:hover { border-color: var(--brand); color: var(--brand); }
.faq-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 4px 16px rgba(255,107,129,.3); }
.faq-list { display: none; }
.faq-list.active { display: block; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:first-child { border-top: 1px solid var(--border-color); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 4px; text-align: left;
  font-size: 1.0625rem; font-weight: 600; color: var(--text-main);
  transition: var(--transition); position: relative;
}
.faq-q:hover { color: var(--brand); border-bottom: 1px solid transparent; }
.faq-q::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.faq-q:hover::after { transform: scaleX(1); }
.faq-item.open .faq-q { color: var(--brand); }
.faq-item.open .faq-q::after { transform: scaleX(1); }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--text-secondary); transition: var(--transition);
}
.faq-icon::before { width: 18px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 18px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--brand); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s var(--ease), opacity .25s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; opacity: 1; }
.faq-a p { padding: 0 4px 20px; font-size: .9375rem; color: var(--text-secondary); line-height: 1.8; }
/* ===== 转化表单 ===== */
.contact-section { background: var(--bg-gray); position: relative; }
.contact-wrap { align-items: center; max-width: 1000px; margin: 0 auto; }
.contact-left h2 { margin-bottom: 20px; }
.contact-points { margin-top: 8px; }
.contact-points li {
  position: relative; padding-left: 24px; margin-bottom: 16px;
  color: var(--text-secondary); font-size: .9375rem; line-height: 1.8;
}
.contact-points li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 12px; height: 2px; border-radius: 1px; background: var(--brand);
}
.contact-form {
  background: var(--card-white); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .8125rem; font-weight: 500; color: var(--text-main); margin-bottom: 8px; }
.form-group input[type="text"],
.form-group select,
.form-group textarea {
  width: 100%; height: 46px; border: 1px solid var(--border-color);
  border-radius: 10px; padding: 0 14px; font-size: .9375rem;
  background: #fff; color: var(--text-main); transition: var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-group textarea { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,107,129,.15);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23776A6E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-placeholder); }
.btn-full { width: 100%; height: 48px; font-size: 1rem; }
.form-privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 16px; font-size: .75rem; color: #8E7F83; text-align: center;
}
.form-privacy svg { flex-shrink: 0; color: #B8A8AC; }
/* ===== 页脚 ===== */
.footer {
  background: var(--dark); color: #C8B8BD; padding: 64px 0 0;
  border-top: 1px solid rgba(255,61,129,.4);
}
.footer-grid { padding-bottom: 48px; row-gap: 32px; }
.footer h4 { color: #fff; font-size: .9375rem; font-weight: 600; margin-bottom: 18px; }
.footer p { color: #8E7F83; font-size: .875rem; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #C8B8BD; font-size: .875rem; transition: var(--transition); position: relative; padding-bottom: 2px; }
.footer-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--brand); transition: width .3s var(--ease);
}
.footer-nav a:hover { color: var(--brand); }
.footer-nav a:hover::after { width: 100%; }
.footer-contact li { color: #C8B8BD; font-size: .875rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact svg { color: var(--brand); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: #6E5F63; font-size: .8125rem; }
.footer-bottom-links { display: flex; align-items: center; gap: 12px; }
.footer-bottom-links a { color: #6E5F63; font-size: .8125rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--brand); }
.footer-bottom-links span { color: #4A3F42; }
/* ===== 动效 ===== */
@keyframes pulse {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}
/* ===== 响应式 ===== */
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .services-grid .cell { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 639px) {
  .grid-container { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 140px 0 64px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 32px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; }
  .metric-num { font-size: 2rem; }
  .card-asym { flex-direction: column; }
  .card-asym-img { flex: none; min-height: 160px; order: -1; border-radius: 0 0 0 0; border-radius: 0; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-grid::before { left: 0; right: 0; top: 50%; width: auto; height: 2px; transform: translateY(-50%); }
  .compare-col { border-radius: 0 !important; }
  .compare-col.right { border-left: 1px solid var(--border-color); border-top: none; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .contact-form { padding: 24px 20px; }
  .footer-grid .cell { flex: 0 0 100%; max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .card-metrics span { font-size: .75rem; }
}

/* roulang page: category1 */
/* ===== 设计变量 ===== */
:root {
  --brand: #FF6B81;
  --brand-hover: #f54e6c;
  --brand-light: rgba(255,107,129,.12);
  --accent: #F2A57A;
  --neon: #FF3D81;
  --dark: #181114;
  --bg-warm: #FFF8F3;
  --bg-gray: #F8F4F2;
  --card-white: #FFFFFF;
  --text-main: #241B1E;
  --text-secondary: #776A6E;
  --text-placeholder: #B8A8AC;
  --border-color: #EAD5CF;
  --error-color: #D63A5A;
  --radius-lg: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 12px rgba(30,23,25,.06), 0 2px 4px rgba(30,23,25,.04);
  --shadow-hover: 0 8px 30px rgba(255,107,129,.14), 0 2px 6px rgba(30,23,25,.06);
  --font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
  --transition: all .25s var(--ease);
}

/* ===== Reset & 基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-family);
  background: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul, ol { list-style: none; }

/* ===== 容器 / 栅格 ===== */
.grid-container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.category-page { padding-top: 72px; }

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(24,17,20,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,61,129,.4);
  height: 72px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 700; color: #fff; white-space: nowrap; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px rgba(255,107,129,.8); flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 72px;
  padding: 0 16px;
  color: #C8B8BD;
  font-size: .9375rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 2px 12px rgba(255,61,129,.6);
}
.main-nav a.active {
  color: #fff;
  text-shadow: 0 0 8px rgba(255,61,129,.8);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 2px 12px rgba(255,61,129,.8);
}
.nav-cta { margin-left: 12px; }
.nav-cta .btn { height: 40px; padding: 0 20px; font-size: .9375rem; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 0 24px;
  height: 44px;
  border-radius: var(--radius-pill);
}
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 0 20px rgba(255,107,129,.5); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 3px solid rgba(255,107,129,.4); outline-offset: 2px; }
.btn-primary:active { transform: translateY(0); }
.btn-lg { height: 52px; padding: 0 40px; font-size: 1rem; }

/* ===== 移动端菜单 ===== */
.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 1.5rem;
  background: transparent;
}
.mobile-toggle:focus-visible { outline: 2px solid rgba(255,107,129,.6); outline-offset: 2px; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 999;
  background: #181114;
  border-bottom: 1px solid rgba(255,61,129,.3);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 24px;
  color: #C8B8BD;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; background: rgba(255,107,129,.08); }
.mobile-menu a.active { text-shadow: 0 0 8px rgba(255,61,129,.8); }
.mobile-menu .btn { margin: 16px 24px; width: calc(100% - 48px); }

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--bg-warm);
  padding: 20px 0 0;
  font-size: .8125rem;
  color: var(--text-placeholder);
}
.breadcrumb .grid-container { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--text-placeholder); }

/* ===== 分类首屏条 ===== */
.category-hero {
  position: relative;
  background: var(--dark);
  min-height: 180px;
  display: flex;
  align-items: center;
  padding: 48px 0;
  margin-top: 20px;
  border-top: 3px solid var(--neon);
  border-bottom: 1px solid rgba(255,61,129,.3);
  overflow: hidden;
}
.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,61,129,.08), transparent 40%, rgba(255,107,129,.04));
  pointer-events: none;
}
.category-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.jpg') center/cover no-repeat;
  opacity: .05;
  pointer-events: none;
}
.category-hero-inner { position: relative; z-index: 2; width: 100%; }
.category-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.category-hero .hero-desc {
  color: #B8A8AC;
  font-size: .9375rem;
  max-width: 460px;
  margin-bottom: 0;
  line-height: 1.7;
}
.category-stats {
  display: flex;
  gap: 28px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.category-stat {
  text-align: left;
  padding-left: 16px;
  border-left: 2px solid rgba(255,61,129,.5);
}
.category-stat .stat-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.category-stat .stat-label {
  font-size: .8125rem;
  color: #8E7F83;
  margin-top: 4px;
  display: block;
}

/* ===== 主内容区 ===== */
.category-main { padding-top: clamp(48px, 6vw, 80px); }
.sidebar {
  position: sticky;
  top: 96px;
  background: var(--card-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 8px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px 0 20px;
  border-radius: var(--radius-pill);
  font-size: .9375rem;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}
.sidebar-nav a:hover {
  background: var(--brand-light);
  color: var(--brand);
  padding-left: 24px;
}
.sidebar-nav a:hover::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: var(--brand);
  border-radius: 2px;
}
.sidebar-nav a.active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding-left: 24px;
  box-shadow: 0 4px 16px rgba(255,107,129,.3);
}
.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: #fff;
  border-radius: 2px;
}
.sidebar-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.sidebar-note p {
  font-size: .8125rem;
  color: var(--text-placeholder);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== 内容卡片列表 ===== */
.content-list { display: flex; flex-direction: column; gap: 20px; }
.content-card {
  display: flex;
  gap: 20px;
  background: var(--card-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}
.content-card-img {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-gray);
}
.content-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s var(--ease);
}
.content-card:hover .content-card-img img { transform: scale(1.03); }
.content-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}
.content-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-main);
}
.content-card-body p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8125rem;
  color: var(--text-placeholder);
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  background: #FFE8EC;
  color: #D94F63;
  font-size: .75rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
}
.meta-views { display: inline-flex; align-items: center; gap: 4px; }

/* ===== 分页器 ===== */
.pagination-nav {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.pagination li { margin: 0; }
.pagination a, .pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--card-white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.pagination a:hover {
  background: var(--brand-light);
  color: var(--brand);
  border-color: var(--brand);
}
.pagination a:focus-visible, .pagination .current:focus-visible {
  outline: 3px solid rgba(255,107,129,.4);
  outline-offset: 2px;
}
.pagination .current {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255,107,129,.3);
}

/* ===== 列表底部 CTA 条 ===== */
.list-cta { padding: 40px 0 80px; }
.list-cta-box {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  background: var(--card-white);
  box-shadow: var(--shadow-sm);
}
.list-cta-box p {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 500;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,61,129,.4);
  padding: 64px 0 0;
  color: #C8B8BD;
}
.footer-grid { padding-bottom: 40px; gap: 32px 0; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(255,107,129,.8);
}
.footer p { font-size: .875rem; line-height: 1.7; color: #C8B8BD; margin-bottom: 0; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.footer-nav, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-nav li, .footer-contact li { margin-bottom: 12px; }
.footer-nav a, .footer-contact a { color: #C8B8BD; font-size: .875rem; transition: var(--transition); position: relative; display: inline-block; }
.footer-nav a::after, .footer-contact a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--brand);
  transition: width .25s var(--ease);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--brand); }
.footer-nav a:hover::after, .footer-contact a:hover::after { width: 100%; }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: #C8B8BD; }
.footer-contact li svg { color: var(--brand); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: #776A6E;
  gap: 16px;
}
.footer-bottom p { margin: 0; font-size: .8125rem; color: #776A6E; }
.footer-bottom a { color: #C8B8BD; transition: var(--transition); display: inline-block; }
.footer-bottom a:hover { color: var(--brand); }
.footer-bottom-links { display: flex; gap: 12px; align-items: center; }
.footer-bottom-links span { color: rgba(255,255,255,.2); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .main-nav a { padding: 0 10px; font-size: .875rem; }
  .nav-cta { margin-left: 8px; }
  .category-stats { justify-content: flex-start; margin-top: 24px; gap: 20px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .site-header { height: 64px; }
  .header-inner { height: 64px; }
  .mobile-menu { top: 64px; }
  .category-page { padding-top: 64px; }
  .sidebar { position: static; margin-bottom: 24px; }
  .category-hero { padding: 36px 0; }
  .category-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .category-stat { padding-left: 12px; }
  .category-stat .stat-num { font-size: 1.4rem; }
  .content-card { padding: 16px; gap: 16px; }
  .list-cta-box { padding: 28px 20px; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 640px) {
  .grid-container { padding-left: 16px; padding-right: 16px; }
  .category-hero h1 { font-size: 1.7rem; }
  .category-stats { flex-direction: column; gap: 12px; margin-top: 20px; }
  .content-card { flex-direction: column; }
  .content-card-img { width: 100%; height: auto; aspect-ratio: 16/10; }
  .content-card-body h3 { font-size: 1rem; }
  .content-card-body p { font-size: .8125rem; }
  .pagination a, .pagination .current { min-width: 36px; height: 36px; padding: 0 10px; font-size: .8125rem; }
  .footer { padding-top: 48px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
