/* roulang page: index */
:root {
  --primary: #4A3728;
  --primary-dark: #3A2B20;
  --primary-deeper: #2E211A;
  --accent: #A67B5B;
  --accent-light: rgba(166,123,91,0.12);
  --cta: #B3541E;
  --cta-hover: #C4662E;
  --bg: #F2EBDF;
  --card-bg: #FFFFFF;
  --text: #29251F;
  --text-secondary: #6E665C;
  --text-light: #8A8075;
  --border: #DCD3C5;
  --success: #4D7C4F;
  --white: #FFFFFF;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-xs: 4px;
  --shadow: 0 1px 3px rgba(61,46,35,0.08);
  --shadow-hover: 0 12px 28px rgba(61,46,35,0.14);
  --shadow-hero: 0 8px 32px rgba(0,0,0,0.2);
  --sidebar-width: 262px;
  --header-h: 64px;
  --transition: 0.28s ease;
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  font-family: var(--font-main);
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

a:hover {
  color: var(--cta);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

input, textarea {
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(166,123,91,0.15);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

/* ===== APP SHELL ===== */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--primary);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,0.88);
  overflow-y: auto;
  scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  min-height: var(--header-h);
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.14);
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo-text small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.65;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.sidebar-nav {
  padding: 16px 14px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 4px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.nav-item i {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
}

.nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.nav-item.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-left-color: var(--accent);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.sidebar-bottom {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sidebar-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}

.sidebar-qr img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.5);
  object-fit: cover;
  margin-bottom: 8px;
}

.sidebar-qr span {
  font-size: 0.78rem;
  opacity: 0.75;
  letter-spacing: 0.03em;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition), transform 0.15s ease;
}

.sidebar-btn:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--primary);
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.mobile-logo i {
  color: var(--accent);
  font-size: 1.2rem;
}

.mobile-burger {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  border: none;
}

.mobile-burger:hover {
  background: rgba(255,255,255,0.2);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-sidebar {
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(rgba(30,22,15,0.62), rgba(30,22,15,0.58)), url('/assets/images/backpic/back-1.jpg') no-repeat center center / cover;
  color: #fff;
  padding: 80px 0 90px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 20px 0;
}

.hero-badge .nav-item{border-left:3px solid transparent}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:rgba(77,124,79,0.18);
  border:1px solid rgba(77,124,79,0.4);
  color:#E8F0E8;
  font-size:0.82rem;
  font-weight:500;
  padding:5px 12px;
  border-radius:20px;
  margin-bottom:20px;
}
.hero-badge .dot{
  width:7px;height:7px;border-radius:50%;background:#7EC57F;display:inline-block;animation:pulse 2s infinite;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}

.hero h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.65rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: #fff;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  margin-bottom: 30px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 24px;
}

.hero-stat {
  text-align: left;
}

.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  transform: translateY(16px);
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hero);
  border: 4px solid rgba(255,255,255,0.85);
  aspect-ratio: 7/5;
  object-fit: cover;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 120px;
  height: 120px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  border-radius: 0 12px 0 0;
  opacity: 0.7;
  z-index: -1;
}

/* ===== SECTION ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #FBF7F0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cta);
  letter-spacing: 0.06em;
  background: rgba(179,84,30,0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.35rem, 1.8vw + 0.8rem, 2.1rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ===== PAIN CARDS ===== */
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pain-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pain-card .num {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 14px;
}

.pain-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pain-card h3 i {
  color: var(--accent);
  font-size: 0.95rem;
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.pain-cta {
  text-align: center;
  margin-top: 36px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.pain-cta a {
  color: var(--cta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== BRAND STORY ===== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content h2 {
  text-align: left;
  margin-bottom: 16px;
}

.story-content > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 30px;
}

.service-list {
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1rem;
}

.service-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.service-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.story-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}

.story-visual figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 14px;
  padding-bottom: 4px;
}

.story-visual figcaption i {
  color: var(--accent);
  margin-right: 5px;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 45px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step-item {
  position: relative;
  text-align: center;
  flex: 1;
  z-index: 1;
  background: var(--bg);
  padding: 0 8px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border);
}

.step-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.step-item p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.stat-item:first-child {
  border-left: none;
}

.stat-item .stat-num {
  font-size: 2.3rem;
  font-weight: 700;
  color: #F2EBDF;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.03em;
}

.stats-note {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-top: 30px;
  letter-spacing: 0.04em;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.testimonial-card .quote-mark {
  font-size: 2rem;
  line-height: 0.6;
  color: var(--accent);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 16px;
  font-weight: 400;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 22px;
  min-height: 60px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card .author .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card .author .name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card .author .region {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8px;
  background: transparent;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--cta);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
  background: var(--cta);
  color: #fff;
}

.faq-item.active .faq-question {
  color: var(--cta);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 8px 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--cta);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 2.2vw + 0.8rem, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cta-inner > p {
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  margin-bottom: 34px;
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-qr-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}

.cta-qr {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.cta-qr-text {
  text-align: left;
}

.cta-qr-text p {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cta-qr-text .wechat-id {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: monospace;
  margin-bottom: 12px;
}

.copy-btn {
  background: var(--primary);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
}

.copy-btn:hover {
  background: var(--primary-dark);
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 560px;
  margin: 10px auto 0;
  text-align: left;
  width: 100%;
}

.cta-form input {
  background: #fff;
  border: none;
}

.cta-form .form-full {
  grid-column: 1 / -1;
}

.cta-form .form-submit {
  grid-column: 1 / -1;
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.cta-form .form-submit:hover {
  background: var(--primary-dark);
}

.cta-form input:focus {
  border-color: var(--accent);
}

/* ===== LATEST POSTS ===== */
.latest-section {
  background: #FBF7F0;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
}

.post-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .post-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.post-meta i {
  margin-right: 3px;
  font-size: 0.72rem;
}

.post-meta .cat {
  background: var(--accent-light);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.72rem;
}

.latest-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-secondary);
}

.latest-empty i {
  font-size: 2.4rem;
  color: var(--border);
  margin-bottom: 16px;
  display: block;
}

.latest-empty p {
  font-size: 0.92rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-deeper);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 24px;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .footer-logo i {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
}

.footer ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  line-height: 1.4;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

.btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(179,84,30,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--accent);
}

.btn-outline-dark:hover {
  background: var(--accent-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .hero-stats {
    gap: 18px;
  }
}

@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .drawer-overlay.show {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .mobile-header {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-visual::before {
    display: none;
  }

  .story-grid {
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .stat-item:nth-child(odd) {
    border-left: none;
  }
  
  .stat-item:nth-child(3) {
    border-left: 1px solid rgba(255,255,255,0.12);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 72px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual {
    transform: none;
  }

  .hero-visual img {
    aspect-ratio: 16/10;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-stat .num {
    font-size: 1.3rem;
  }

  .pain-cards {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-steps {
    flex-direction: column;
    gap: 8px;
  }

  .process-steps::before {
    display: none;
  }

  .step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: transparent;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  .step-item:last-child {
    border-bottom: none;
  }

  .step-num {
    margin: 0;
    flex-shrink: 0;
  }

  .step-item h4 {
    margin-bottom: 2px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }

  .cta-qr-wrap {
    flex-direction: column;
    padding: 20px;
  }

  .latest-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    border-left: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 14px 0;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* roulang page: article */
:root {
  --primary: #4A3728;
  --primary-dark: #3A2B20;
  --secondary: #A67B5B;
  --accent: #B3541E;
  --accent-hover: #C4662E;
  --bg: #F2EBDF;
  --card-bg: #FFFFFF;
  --text: #29251F;
  --text-secondary: #6E665C;
  --border: #DCD3C5;
  --success: #4D7C4F;
  --radius-card: 10px;
  --radius-btn: 6px;
  --radius-input: 4px;
  --shadow-sm: 0 1px 3px rgba(61,46,35,0.08);
  --shadow-lg: 0 12px 28px rgba(61,46,35,0.14);
  --sidebar-width: 260px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid rgba(179,84,30,0.35); outline-offset: 2px; }
button { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 左侧导航栏 ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--primary);
  color: #F2EBDF;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px;
  border-bottom: 1px solid rgba(242, 235, 223, 0.12);
  min-height: 80px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary), #C8A285);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 19px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #F2EBDF;
}

.sidebar-nav {
  padding: 24px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(242, 235, 223, 0.82);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  border-left: 3px solid transparent;
}

.nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1.05rem;
  color: rgba(242, 235, 223, 0.6);
  transition: color 0.2s;
}

.nav-item:hover {
  background: rgba(242, 235, 223, 0.08);
  color: #fff;
  transform: translateX(2px);
}

.nav-item:hover i { color: var(--secondary); }

.nav-item.active {
  background: rgba(166, 123, 91, 0.18);
  color: #fff;
  border-left-color: var(--secondary);
}

.nav-item.active i { color: var(--secondary); }

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(242, 235, 223, 0.12);
  text-align: center;
}

.sidebar-qr {
  width: 78px;
  height: 78px;
  margin: 0 auto 10px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--primary);
  border: 2px solid rgba(242, 235, 223, 0.3);
}

.sidebar-wechat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(242, 235, 223, 0.7);
  margin-bottom: 2px;
}

.sidebar-wechat-id {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #F2EBDF;
}

/* ===== 右侧主区域 ===== */
.site-main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-area {
  flex: 1;
  padding: 48px 32px 60px;
}

/* ===== 移动端头部 ===== */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 90;
  height: 56px;
  background: var(--primary);
  color: #F2EBDF;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(58, 43, 32, 0.25);
}

.mobile-logo {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-logo i { color: var(--secondary); font-size: 1.2rem; }

.mobile-toggle {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}

.mobile-toggle:hover { background: rgba(242, 235, 223, 0.12); }

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #F2EBDF;
  border-radius: 2px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(41, 37, 31, 0.5);
  z-index: 95;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.show { opacity: 1; }

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb-divider { color: var(--border); }

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

/* ===== 文章头部 ===== */
.article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-item i { font-size: 0.85rem; color: var(--secondary); }

.meta-divider { color: var(--border); }

/* ===== 文章正文 ===== */
.article-body {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.article-body p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 600;
  margin: 36px 0 16px;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--primary);
}

.article-body img {
  width: 100%;
  border-radius: 8px;
  margin: 24px 0;
  border: 1px solid var(--border);
}

.article-body blockquote {
  border-left: 3px solid var(--secondary);
  padding: 12px 20px;
  background: rgba(166, 123, 91, 0.07);
  color: var(--text-secondary);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: normal;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body li { margin-bottom: 8px; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.article-body th {
  background: rgba(74, 55, 40, 0.06);
  font-weight: 600;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.article-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== 内容未找到 ===== */
.not-found {
  text-align: center;
  padding: 80px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.not-found-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(166, 123, 91, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--secondary);
}

.not-found p { color: var(--text-secondary); margin-bottom: 20px; }

/* ===== 文章底部 ===== */
.article-bottom {
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.btn i { font-size: 0.9em; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(179, 84, 30, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(179, 84, 30, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--secondary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(166, 123, 91, 0.1);
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ===== 相关推荐 ===== */
.related-section {
  background: #EAE2D3;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.35rem, 1.8vw + 0.8rem, 1.7rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 32px;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--secondary);
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.related-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--text);
}

.related-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8e0d0;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-card:hover .related-card-img img { transform: scale(1.03); }

.related-card-body { padding: 16px 18px 18px; }

.related-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.related-card:hover .related-card-body h3 { color: var(--accent); }

.related-date {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.related-date i { font-size: 0.78rem; color: var(--secondary); }

/* ===== 页脚 ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(242, 235, 223, 0.85);
  padding: 32px 0 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(242, 235, 223, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #F2EBDF;
  margin-bottom: 12px;
}

.footer-logo i { color: var(--secondary); }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(242, 235, 223, 0.65);
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #F2EBDF;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 8px; }

.footer ul a {
  color: rgba(242, 235, 223, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer ul a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-contact-col ul li {
  color: rgba(242, 235, 223, 0.7);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-contact-col ul li i { color: var(--secondary); font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(242, 235, 223, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(242, 235, 223, 0.5);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: rgba(242, 235, 223, 0.5); }

.footer-bottom a:hover { color: var(--secondary); }

/* ===== 响应式断点 ===== */
@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .site-main { margin-left: 0; }

  .mobile-header { display: flex; }
  .mobile-header.open ~ .overlay { display: block; }
  .overlay { display: block; }

  .content-area { padding: 32px 20px 48px; }

  .container { padding: 0 16px; }
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .article-header h1 { font-size: 1.6rem; }

  .article-bottom { gap: 10px; }
  .btn { padding: 10px 18px; font-size: 0.88rem; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .content-area { padding: 24px 14px 40px; }

  .article-meta { gap: 6px; font-size: 0.8rem; }

  .breadcrumb-current { max-width: 180px; }

  .article-body {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .article-body h2 { font-size: 1.25rem; }

  .btn { width: 100%; }
  .article-bottom { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
