/* roulang page: index */
:root {
  --primary: #9E2B3E;
  --primary-dark: #8A2334;
  --primary-light: #C05A6B;
  --accent: #C9A063;
  --accent-soft: #E5D0AE;
  --bg-warm: #FAF7F4;
  --bg-rose: #F5E6E4;
  --bg-dark: #231A1A;
  --text-main: #2D2323;
  --text-muted: #6B5B5B;
  --text-light: #9B8A8A;
  --border-color: #E8DDD9;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(35,26,26,.06), 0 4px 16px rgba(35,26,26,.04);
  --shadow-md: 0 4px 12px rgba(35,26,26,.08), 0 12px 32px rgba(35,26,26,.06);
  --shadow-lg: 0 12px 28px rgba(35,26,26,.12), 0 20px 48px rgba(35,26,26,.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-custom { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-custom { padding: 0 2rem; } }

.section-pad { padding: 4rem 0; }
@media (min-width: 768px) { .section-pad { padding: 6rem 0; } }

.section-tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(158,43,62,.08);
  color: var(--primary);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.section-title {
  margin-top: .5rem;
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text-main);
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-desc {
  margin-top: .875rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}

/* 按钮体系 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  transition: all .25s ease;
  box-shadow: 0 4px 14px rgba(158,43,62,.25);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(158,43,62,.35);
}
.btn-primary:active { transform: scale(.98); }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  transition: all .25s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.btn-secondary:active { transform: scale(.98); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: .9375rem;
  background: transparent;
  transition: all .25s ease;
}
.btn-outline:hover { background: rgba(158,43,62,.06); border-color: var(--primary-dark); color: var(--primary-dark); }

a:focus, button:focus, input:focus, select:focus, textarea:focus, summary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(158,43,62,.35);
}

/* 导航 */
.nav-link {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .375rem .125rem;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
#mobileMenu { border-top: 1px solid var(--border-color); background: #fff; }
#mobileMenu a {
  display: block;
  padding: .875rem 1.25rem;
  font-size: .9375rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  transition: background .2s, color .2s;
}
#mobileMenu a:hover { background: var(--bg-rose); color: var(--primary); }
#mobileMenu a.active { color: var(--primary); font-weight: 600; background: rgba(158,43,62,.06); }

/* 倒计时 */
.countdown-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .875rem;
  min-width: 4.5rem;
  padding: .75rem .5rem;
  text-align: center;
  backdrop-filter: blur(6px);
}
.countdown-box span {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.countdown-box small {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* 卡片体系 */
.feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(158,43,62,.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -.02em;
}
@media (min-width: 768px) { .stat-num { font-size: 2.5rem; } }
.stat-label { font-size: .875rem; color: var(--text-muted); margin-top: .25rem; }
.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: .625rem;
  font-size: .75rem;
  color: var(--accent);
  background: rgba(201,160,99,.1);
  padding: .25rem .625rem;
  border-radius: 9999px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-color);
}
.tag-chip {
  display: inline-block;
  padding: .375rem .875rem;
  border-radius: 9999px;
  background: var(--bg-rose);
  color: var(--primary);
  font-size: .8125rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.tag-chip:hover { background: rgba(158,43,62,.15); border-color: rgba(158,43,62,.3); }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .25rem;
  font-size: .9375rem;
  color: var(--text-muted);
  transition: color .2s ease, padding-left .2s ease;
}
.sidebar-link:hover { color: var(--primary); padding-left: .75rem; }

/* 资讯列表 */
.news-list {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  padding: 0 1.25rem;
}
.news-list li { border-bottom: 1px solid var(--border-color); }
.news-list li:last-child { border-bottom: none; }
.news-item a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem .5rem;
  border-radius: .75rem;
  transition: all .2s ease;
}
.news-item a:hover { background: var(--bg-rose); padding-left: .875rem; }
.news-item .tag {
  flex-shrink: 0;
  align-self: flex-start;
  font-size: .75rem;
  padding: .25rem .625rem;
  border-radius: 9999px;
  background: rgba(158,43,62,.08);
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  margin-top: .125rem;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: #fff;
  margin-bottom: .875rem;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(158,43,62,.3);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
  font-size: .9375rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .8125rem;
  color: var(--primary);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.8;
}

/* 表单 */
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .5rem;
}
.form-input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: .875rem;
  padding: .875rem 1.125rem;
  font-size: .9375rem;
  background: #fff;
  color: var(--text-main);
  transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder { color: #B5A6A6; }
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(158,43,62,.15);
  outline: none;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--text-main);
}
.plan-capsule {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5625rem 1.125rem;
  border-radius: 9999px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: .875rem;
  color: var(--text-muted);
  transition: all .2s ease;
  user-select: none;
}
.plan-capsule:hover { border-color: var(--primary); color: var(--primary); }
.plan-capsule input { display: none; }
.plan-capsule:has(input:checked) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(158,43,62,.25);
}

/* 页脚 */
.footer-link {
  color: #B7A7A7;
  transition: color .2s ease;
  position: relative;
}
.footer-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-link.active { color: #fff; }

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* roulang page: category1 */
:root {
  --primary: #9E2B3E;
  --primary-dark: #8A2334;
  --primary-light: #C05A6B;
  --accent: #C9A063;
  --accent-soft: #E5D0AE;
  --bg-warm: #FAF7F4;
  --bg-rose: #F5E6E4;
  --bg-dark: #231A1A;
  --text-main: #2D2323;
  --text-muted: #6B5B5B;
  --text-light: #9B8A8A;
  --border-color: #E8DDD9;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(35,26,26,.06), 0 4px 16px rgba(35,26,26,.04);
  --shadow-md: 0 4px 12px rgba(35,26,26,.08), 0 12px 32px rgba(35,26,26,.06);
  --shadow-lg: 0 12px 28px rgba(35,26,26,.12), 0 20px 48px rgba(35,26,26,.08);
}
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container-custom { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container-custom { padding: 0 2rem; }
}
.section-pad { padding: 4rem 0; }
@media (min-width: 768px) {
  .section-pad { padding: 6rem 0; }
}
.section-tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(158,43,62,.08);
  color: var(--primary);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.section-title {
  margin-top: .5rem;
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text-main);
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}
.section-desc {
  margin-top: .875rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  transition: all .25s ease;
  box-shadow: 0 4px 14px rgba(158,43,62,.25);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(158,43,62,.35);
}
.btn-primary:active { transform: scale(.98); }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  transition: all .25s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.btn-secondary:active { transform: scale(.98); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: .9375rem;
  background: transparent;
  transition: all .25s ease;
}
.btn-outline:hover { background: rgba(158,43,62,.06); border-color: var(--primary-dark); color: var(--primary-dark); }
a:focus, button:focus, input:focus, select:focus, textarea:focus, summary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(158,43,62,.35);
}
.nav-link {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .375rem .125rem;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
#mobileMenu { border-top: 1px solid var(--border-color); background: #fff; }
#mobileMenu a {
  display: block;
  padding: .875rem 1.25rem;
  font-size: .9375rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  transition: background .2s, color .2s;
}
#mobileMenu a:hover { background: var(--bg-rose); color: var(--primary); }
#mobileMenu a.active { color: var(--primary); font-weight: 600; background: rgba(158,43,62,.06); }
.footer-link { transition: color .2s ease; position: relative; }
.footer-link:hover { color: #fff; }
.footer-link.active { color: var(--accent); }
.list-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.badge-cat {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(201,160,99,.15);
  color: #8C6C38;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid rgba(201,160,99,.3);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.125rem;
  border-radius: 9999px;
  background: #F0ECEA;
  color: #6B5B5B;
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
}
.filter-btn:hover { background: rgba(158,43,62,.1); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(158,43,62,.25); }
.sort-select {
  border: 1px solid var(--border-color);
  border-radius: .75rem;
  font-size: .875rem;
  color: var(--text-muted);
  background: #fff;
  padding: .5rem 2rem .5rem .875rem;
  appearance: none;
  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 fill='%236B5B5B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  transition: border-color .2s, box-shadow .2s;
}
.sort-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(158,43,62,.15); }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  border-radius: .75rem;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  background: #fff;
  transition: all .2s ease;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 10px rgba(158,43,62,.2); }
.cta-strip {
  background: linear-gradient(135deg, var(--bg-rose) 0%, #FDF1EE 100%);
  border: 1px solid rgba(158,43,62,.12);
  border-radius: 1.5rem;
  overflow: hidden;
}
.hero-compact {
  position: relative;
  background-image: linear-gradient(to right, rgba(250,247,244,.97), rgba(250,247,244,.88)), url('/assets/images/backpic/back-2.jpg');
  background-size: cover;
  background-position: center;
}
.hero-card-num {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .list-card:hover, .feature-card:hover, .stat-card:hover, .testimonial-card:hover { transform: none; }
}
