/* roulang page: index */
:root {
  --paper: #F4F1EA;
  --ink: #101418;
  --accent: #00C896;
  --accent-soft: rgba(0, 200, 150, 0.10);
  --ember: #FF8A5C;
  --line: #E2DCD2;
  --muted: #6F6A62;
  --deep: #0B0E11;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Space Grotesk", "Inter", "SF Mono", monospace;
  --shadow-sm: 0 1px 3px rgba(16, 20, 24, 0.04);
  --shadow-md: 0 12px 32px rgba(16, 20, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 20, 24, 0.12);
  --radius-card: 16px;
  --radius-btn: 999px;
  --radius-tag: 999px;
  --radius-input: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.25s;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; border: none; background: none; outline: none; }
::selection { background: var(--accent-soft); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.display-font { font-family: var(--font-display); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2f36; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ink:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-lg { height: 56px; padding: 0 40px; font-size: 16px; }

/* ===== 标签 ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-tag);
  background: var(--accent-soft);
  color: #0a8f6c;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag-ember { background: rgba(255, 138, 92, 0.12); color: var(--ember); }
.tag-dark { background: var(--ink); color: #fff; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== 区块标题 ===== */
.section-head { margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.section-head p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 520px; }
.section-head .right-link {
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur) var(--ease);
}
.section-head .right-link:hover { color: var(--accent); }
.section-head .right-link .arrow { transition: transform var(--dur) var(--ease); }
.section-head .right-link:hover .arrow { transform: translateX(4px); }

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(244, 241, 234, 0.6);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.logo-text-main {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.logo-text-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  line-height: 1;
  margin-top: 2px;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 24px; }
.main-nav a.active { color: var(--ink); font-weight: 500; }
.main-nav a.active::after { width: 24px; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  transition: background var(--dur) var(--ease);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle:hover { background: var(--accent-soft); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--paper) 0%, var(--paper) 55%, rgba(244, 241, 234, 0.7) 80%, rgba(244, 241, 234, 0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  padding: 96px 0 120px;
}
.hero-left { max-width: 620px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-vline {
  width: 1px;
  height: 48px;
  background: var(--line);
  margin: 12px 0 2px 4px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-top: 8px;
}
.hero-title .highlight { color: #0a8f6c; }
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  color: var(--ink);
  margin-top: 20px;
  line-height: 1.6;
}
.hero-desc {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 460px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* 登录面板 */
.login-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  position: relative;
}
.login-panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.login-panel-sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  height: 48px;
  background: transparent;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  font-size: 15px;
  color: var(--ink);
  padding: 0 4px;
  transition: border-color var(--dur) var(--ease);
}
.form-input:focus { border-bottom-color: var(--accent); }
.form-input::placeholder { color: var(--muted); }
.form-input.error { border-bottom-color: var(--ember); }
.login-panel .btn { width: 100%; margin-top: 12px; }
.identity-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.identity-tag {
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.identity-tag:hover, .identity-tag.selected { border-color: var(--accent); color: #0a8f6c; background: var(--accent-soft); }
.panel-seal {
  position: absolute;
  bottom: -12px;
  left: 24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #0a8f6c;
  background: var(--paper);
  transform: rotate(-8deg);
  box-shadow: var(--shadow-sm);
  line-height: 1.3;
  text-align: center;
  z-index: 3;
}

/* ===== 数据条 ===== */
.stats-bar {
  background: var(--deep);
  padding: 48px 0;
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 16px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--dur) var(--ease);
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-num);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: var(--accent);
  line-height: 1.1;
  transition: color var(--dur) var(--ease);
}
.stat-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
  letter-spacing: 0.06em;
  transition: color var(--dur) var(--ease);
}
.stat-item:hover .stat-num { color: #fff; }
.stat-item:hover .stat-text { color: rgba(255, 255, 255, 0.9); }

/* ===== 故事/理念 ===== */
.philosophy { padding: 110px 0; }
.philosophy-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 110px;
}
.philosophy-item:last-child { margin-bottom: 0; }
.philosophy-item.reverse .philosophy-text { order: -1; }
.philosophy-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  transition: box-shadow var(--dur) var(--ease);
}
.philosophy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.philosophy-img:hover { box-shadow: var(--shadow-lg); }
.philosophy-img:hover img { transform: scale(1.03); }
.philosophy-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}
.philosophy-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.philosophy-divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}
.philosophy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.philosophy-link:hover { color: var(--accent); }
.philosophy-link .arrow { transition: transform var(--dur) var(--ease); }
.philosophy-link:hover .arrow { transform: translateX(4px); }

/* ===== 精选内容卡 ===== */
.featured { padding: 0 0 110px; }
.featured-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
}
.featured-card-large {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  transition: box-shadow var(--dur) var(--ease);
}
.featured-card-large img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.featured-card-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}
.featured-card-large:hover { box-shadow: var(--shadow-lg); }
.featured-card-large:hover img { transform: scale(1.03); }
.featured-card-large .card-info {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: #fff;
}
.featured-card-large .tag {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  margin-bottom: 12px;
}
.featured-card-large h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.featured-card-large .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--dur) var(--ease);
}
.featured-card-large .card-link:hover { color: var(--accent); }
.featured-card-large .card-link .arrow { transition: transform var(--dur) var(--ease); }
.featured-card-large .card-link:hover .arrow { transform: translateX(4px); }

.featured-side { display: flex; flex-direction: column; gap: 24px; }
.featured-card-small {
  display: grid;
  grid-template-columns: 40% 60%;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  min-height: 152px;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.featured-card-small:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.featured-card-small .card-img { overflow: hidden; }
.featured-card-small .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.featured-card-small:hover .card-img img { transform: scale(1.05); }
.featured-card-small .card-body { padding: 20px 18px; display: flex; flex-direction: column; }
.featured-card-small .tag { align-self: flex-start; margin-bottom: 10px; height: 24px; font-size: 11px; padding: 0 10px; }
.featured-card-small h3 { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.featured-card-small .date { font-size: 12px; color: var(--muted); font-family: var(--font-num); margin-top: auto; }

/* ===== 最新动态 ===== */
.updates-section { padding: 0 0 110px; }
.updates-list { border-top: 1px solid var(--line); }
.update-row {
  display: grid;
  grid-template-columns: 100px 110px 1.5fr 0.8fr 24px;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  transition: background var(--dur) var(--ease);
  cursor: pointer;
}
.update-row:hover { background: var(--accent-soft); }
.update-row:hover .update-title { color: #0a8f6c; }
.update-date {
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--muted);
}
.update-cat {
  font-size: 12px;
  color: #0a8f6c;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  text-align: center;
  width: fit-content;
}
.update-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.update-excerpt {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.update-arrow {
  font-size: 18px;
  color: var(--muted);
  text-align: right;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.update-row:hover .update-arrow { color: var(--accent); transform: translateX(4px); }
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-bottom: 1px solid var(--line);
  padding: 40px;
}
.empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 12px;
}
.empty-state p { font-size: 14px; color: var(--muted); }

/* ===== 信任背书 ===== */
.trust { background: var(--deep); color: #fff; padding: 90px 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.trust-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}
.trust-quote blockquote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  line-height: 0;
  display: block;
  margin-bottom: 20px;
}
.trust-quote .quote-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.trust-quote .quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--deep);
  font-weight: 600;
}
.trust-quote .quote-name { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.trust-quote .quote-role { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.trust-logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-logo {
  width: 80px;
  height: 48px;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--dur) var(--ease);
  filter: grayscale(1);
}
.trust-logo:hover { opacity: 1; filter: grayscale(0); }
.logo-symbol {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: background var(--dur) var(--ease);
}
.logo-symbol.symbol-1 { border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.logo-symbol.symbol-2 { border-radius: 4px; transform: rotate(45deg); background: rgba(255, 255, 255, 0.18); }
.logo-symbol.symbol-3 { border-radius: 50% 50% 0 0; background: rgba(255, 255, 255, 0.16); }
.logo-symbol.symbol-4 { border-radius: 12px 0 12px 0; background: rgba(255, 255, 255, 0.14); }
.trust-logo:hover .logo-symbol { background: rgba(255, 255, 255, 0.35); }

/* ===== FAQ ===== */
.faq { padding: 110px 0; }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq-question:hover { color: #0a8f6c; }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.faq-icon::before { width: 16px; height: 2px; top: 9px; left: 2px; }
.faq-icon::after { width: 2px; height: 16px; top: 2px; left: 9px; transition: opacity 0.2s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-icon::after { opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}

/* ===== CTA ===== */
.cta-section { padding: 0 0 110px; }
.cta-panel {
  background: var(--ink);
  border-radius: 24px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-panel::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background-image: url('/assets/images/coverpic/cover-2.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.cta-left { position: relative; z-index: 2; max-width: 420px; }
.cta-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
}
.cta-left p { font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.8; }
.cta-form { position: relative; z-index: 2; display: flex; gap: 12px; align-items: flex-end; min-width: 380px; }
.cta-form-group { flex: 1; }
.cta-form-group label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.cta-input {
  width: 100%;
  height: 48px;
  background: transparent;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 14px;
  transition: border-color var(--dur) var(--ease);
  padding: 0 4px;
}
.cta-input:focus { border-bottom-color: var(--accent); }
.cta-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.cta-note {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 14px;
}

/* ===== 页脚 ===== */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.7); padding: 72px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text-main { color: #fff; }
.footer-brand .logo-text-sub { color: rgba(255, 255, 255, 0.5); }
.footer-brand .logo-mark { background: #fff; }
.footer-brand .logo-mark::after { background: var(--accent); }
.footer-brand-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 280px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== 滚动渐显 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img, .philosophy-img img, .featured-card-large img, .featured-card-small img { transition: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; padding: 80px 0 100px; }
  .login-panel { margin: 0 auto; }
  .hero-bg::after { background: linear-gradient(to right, var(--paper) 0%, var(--paper) 60%, rgba(244, 241, 234, 0.5) 100%); }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-side { flex-direction: row; }
  .featured-card-small { min-height: 140px; }
  .philosophy-item { gap: 40px; }
  .trust-grid { grid-template-columns: 1fr; gap: 48px; }
  .trust-logo-row { justify-content: flex-start; }
  .cta-form { min-width: 0; width: 100%; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  .cta-panel::before { width: 100%; opacity: 0.2; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 32px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 16px; padding: 8px 0; width: 100%; }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: #0a8f6c; }
  .nav-cta { margin: 12px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-left: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .philosophy-item, .philosophy-item.reverse { grid-template-columns: 1fr; gap: 32px; }
  .philosophy-item.reverse .philosophy-text { order: 0; }
  .featured-side { flex-direction: column; }
  .updates-section { padding-bottom: 80px; }
  .update-row { grid-template-columns: 90px 1fr 24px; gap: 12px; padding: 12px; min-height: 64px; }
  .update-cat { grid-column: 2; grid-row: 1; }
  .update-title { grid-column: 2; grid-row: 2; }
  .update-date { grid-column: 1; grid-row: 1 / 3; }
  .update-excerpt { display: none; }
  .update-arrow { grid-column: 3; grid-row: 1 / 3; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-panel { padding: 40px 24px; }
  .cta-form { flex-direction: column; gap: 16px; }
  .cta-form-group { width: 100%; }
  .philosophy, .faq, .featured { padding: 80px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { min-height: auto; }
  .hero-content { padding: 120px 0 80px; }
  .login-panel { padding: 32px 24px; max-width: 100%; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .hero-title { font-size: 36px; }
  .cta-panel { border-radius: 16px; }
  .phone-col { flex-direction: column; }
  .panel-seal { width: 60px; height: 60px; font-size: 10px; }
  .featured-card-small { grid-template-columns: 1fr; min-height: auto; }
  .featured-card-small .card-img { height: 120px; }
  .featured-card-small .card-body { padding: 16px; }
}

/* roulang page: article */
:root {
  --paper: #F4F1EA;
  --ink: #101418;
  --accent: #00C896;
  --accent-soft: rgba(0, 200, 150, 0.10);
  --ember: #FF8A5C;
  --line: #E2DCD2;
  --muted: #6F6A62;
  --deep: #0B0E11;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Space Grotesk", "Inter", monospace;
  --shadow-sm: 0 1px 3px rgba(16, 20, 24, 0.04);
  --shadow-md: 0 12px 32px rgba(16, 20, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 20, 24, 0.12);
  --radius-card: 16px;
  --radius-btn: 999px;
  --radius-input: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
::selection { background: var(--accent-soft); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 500; letter-spacing: 0.04em;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--ink); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 14px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 500; border: 1px solid transparent;
}
.chip-sm { height: 22px; padding: 0 10px; font-size: 12px; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all 0.3s var(--ease);
}
.site-header.scrolled { background: rgba(244, 241, 234, 0.92); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--ink);
  position: relative; display: inline-block; flex-shrink: 0;
}
.logo-mark::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent);
}
.logo-text-main { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.logo-text-sub { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); margin-top: 1px; }
.main-nav { display: flex; align-items: center; }
.main-nav > a {
  position: relative; font-size: 14px; letter-spacing: 0.08em; color: var(--muted);
  padding: 8px 0; margin: 0 18px; transition: color 0.25s var(--ease);
}
.main-nav > a:hover { color: var(--ink); }
.main-nav > a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav > a:hover::after { transform: scaleX(1); }
.main-nav > a.active { color: var(--ink); font-weight: 500; }
.main-nav > a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 28px; }
.nav-login-btn { height: 42px; padding: 0 24px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 24px 24px 32px;
    gap: 8px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: all 0.35s var(--ease); max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav > a { margin: 0; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .nav-cta { margin: 20px 0 0; }
  .nav-toggle { display: flex; }
}

.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.65); padding: 80px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand { max-width: 400px; }
.footer-brand .logo-text-main { color: #fff; }
.footer-brand .logo-text-sub { color: rgba(255, 255, 255, 0.5); }
.footer-brand-text { margin-top: 20px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.5); }
.footer-links { display: flex; gap: 80px; }
.footer-col h4 { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 20px; letter-spacing: 0.06em; }
.footer-col a { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.65); padding: 6px 0; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

.article-page { padding-top: 72px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; padding: 40px 0 20px;
  font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.breadcrumb a { transition: color 0.25s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .separator { color: var(--line); font-size: 12px; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

.article-layout {
  display: grid;
  grid-template-columns: 720px 260px;
  gap: 48px;
  justify-content: center;
  align-items: start;
  padding: 16px 0 80px;
}
.article-main-col { min-width: 0; }
.article-head { padding: 24px 0 40px; }
.article-head-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.article-head-meta .chip { background: var(--accent-soft); color: #0b8e6b; }
.article-date, .article-source { font-size: 14px; color: var(--muted); }
.article-date { font-family: var(--font-num); letter-spacing: 0.04em; }
.article-source { display: flex; align-items: center; gap: 6px; }
.article-source::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.article-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.article-body p { margin-bottom: 24px; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--ink);
}
.article-body a {
  color: #0b8e6b;
  border-bottom: 1px dashed rgba(0, 139, 106, 0.4);
}
.article-body a:hover { color: var(--accent); border-bottom-style: solid; }
.article-body img { border-radius: 12px; margin: 24px 0; box-shadow: var(--shadow-sm); }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  background: #F8F6F2;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body ul, .article-body ol { margin: 16px 0 24px; padding-left: 24px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; padding-left: 4px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; padding-left: 4px; }
.article-body strong { font-weight: 500; color: var(--ink); }

.article-empty {
  text-align: center; padding: 80px 20px; border-top: 1px solid var(--line);
}
.empty-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 2px solid var(--line); border-radius: 50%;
  color: var(--accent); font-size: 22px; margin: 0 auto 16px;
}
.article-empty p { margin-bottom: 24px; color: var(--muted); }
.article-empty .btn { width: 140px; }

.article-pager {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); margin-top: 56px; padding-top: 32px;
}
.pager-item {
  display: flex; flex-direction: column; gap: 6px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 12px;
  transition: all 0.25s var(--ease); flex: 1; max-width: 320px;
}
.pager-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pager-item:hover .pager-direction { color: var(--accent); }
.pager-direction { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }
.pager-title { font-size: 14px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.pager-item.is-next .pager-direction { text-align: right; }
.pager-item.is-next .pager-title { justify-content: flex-end; }
@media (max-width: 520px) {
  .article-pager { flex-direction: column; }
  .pager-item { max-width: 100%; }
}

.article-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 32px; }
.side-block { background: transparent; }
.side-block h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--ink); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line); letter-spacing: 0.04em;
}
.page-toc ul li { margin-bottom: 4px; }
.page-toc ul li a {
  display: block; padding: 8px 0; font-size: 14px; line-height: 1.5;
  color: var(--muted); border-bottom: 1px solid rgba(226, 220, 210, 0.6);
  transition: all 0.25s var(--ease);
}
.page-toc ul li a:hover { color: var(--accent); padding-left: 6px; }
.page-toc ul li a.is-active { color: var(--ink); font-weight: 500; }

.related-posts { display: flex; flex-direction: column; gap: 16px; }
.related-card {
  display: flex; height: 120px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: all 0.25s var(--ease); align-items: stretch;
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.related-thumb {
  width: 40%; background-size: cover; background-position: center; flex-shrink: 0;
}
.related-info { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.related-title { font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card:hover .related-title { color: var(--accent); }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-side { display: none; }
  .article-main-col { max-width: 720px; margin: 0 auto; }
  .article-head { padding-top: 12px; }
}
@media (max-width: 768px) {
  .article-page { padding-top: 64px; }
  .breadcrumb { padding: 24px 0 12px; font-size: 12px; }
  .article-head { padding: 16px 0 28px; }
  .article-head-meta { gap: 12px; margin-bottom: 14px; }
  .article-date, .article-source { font-size: 13px; }
  .article-title { font-size: 26px; line-height: 1.35; }
  .article-body { font-size: 15px; line-height: 1.85; padding-top: 28px; }
  .article-body p { margin-bottom: 20px; }
  .article-body h2 { font-size: 20px; margin-top: 36px; }
  .article-body h3 { font-size: 17px; }
  .article-body blockquote { padding: 16px 18px; font-size: 14px; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* roulang page: category1 */
:root {
  --paper: #F4F1EA;
  --ink: #101418;
  --accent: #00C896;
  --accent-soft: rgba(0, 200, 150, 0.10);
  --ember: #FF8A5C;
  --line: #E2DCD2;
  --muted: #6F6A62;
  --deep: #0B0E11;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Space Grotesk", "Inter", "SF Mono", "Consolas", monospace;
  --shadow-sm: 0 1px 3px rgba(16,20,24,0.04);
  --shadow-md: 0 12px 32px rgba(16,20,24,0.08);
  --shadow-lg: 0 24px 60px rgba(16,20,24,0.12);
  --radius-lg: 16px;
  --radius-md: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--accent); }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent-soft); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,255,255,0.06); }
.btn-lg { height: 56px; padding: 0 40px; font-size: 15px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--ink);
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.logo-text-main {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.logo-text-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 8px 0;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 600; }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.main-nav a:not(.nav-login-btn)::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.25s var(--ease);
}
.main-nav a:not(.nav-login-btn):hover::before { width: 100%; }
.main-nav a.active::before { display: none; }
.nav-cta { margin-left: 8px; }
.nav-login-btn { height: 40px; padding: 0 22px; font-size: 13px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  transition: background 0.25s var(--ease);
}
.nav-toggle:hover { background: var(--accent-soft); }
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.category-hero {
  position: relative;
  padding: 160px 0 64px;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, var(--paper) 52%, rgba(244, 241, 234, 0.82) 78%, rgba(244, 241, 234, 0.5)),
    url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--line); }
.breadcrumb-current { color: var(--ink); font-weight: 500; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.category-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  line-height: 1.15;
  margin: 16px 0 12px;
  color: var(--ink);
}
.hero-subline {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.filter-tag {
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: transparent;
  transition: all 0.25s var(--ease);
}
.filter-tag:hover { border-color: var(--accent); color: var(--accent); }
.filter-tag.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.filter-tag.active:hover { color: var(--paper); }
.filter-tag:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.guide-list-section {
  padding: 100px 0;
  background: var(--paper);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.section-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  margin-top: 12px;
  line-height: 1.2;
  color: var(--ink);
}
.section-note {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  text-align: right;
  line-height: 1.7;
}
.guide-list {
  border-top: 1px solid var(--ink);
  margin-bottom: 40px;
}
.guide-row {
  display: grid;
  grid-template-columns: 96px 180px minmax(220px, 1fr) minmax(260px, 30%) 44px;
  grid-template-areas: "thumb meta title desc arrow";
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  transition: background 0.25s var(--ease);
}
.guide-row:hover { background: var(--accent-soft); }
.guide-thumb {
  grid-area: thumb;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 96px;
}
.guide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.guide-row:hover .guide-thumb img { transform: scale(1.05); }
.guide-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 12px;
}
.guide-date {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid rgba(0, 200, 150, 0.3);
  white-space: nowrap;
}
.badge-new {
  background: var(--ember);
  color: #fff;
  border: none;
}
.guide-title {
  grid-area: title;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.guide-row:hover .guide-title { color: var(--accent); }
.guide-desc {
  grid-area: desc;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-arrow {
  grid-area: arrow;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink);
  transition: all 0.25s var(--ease);
  justify-self: end;
}
.guide-row:hover .guide-arrow {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.pagination-info {
  font-size: 13px;
  color: var(--muted);
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.page-item:hover { border-color: var(--accent); color: var(--accent); }
.page-item.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.page-item.active:hover { color: var(--ink); }
.page-item.page-next { padding: 0 14px; }
.page-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.faq-section {
  padding: 100px 0;
  background: #FBF9F5;
  border-top: 1px solid var(--line);
}
.section-head.center {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 56px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform 0.35s var(--ease), background 0.25s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: var(--ink); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item.open .faq-answer { max-height: 240px; }
.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 24px;
  max-width: 660px;
}
.faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.cta-section {
  padding: 100px 0 120px;
  background: var(--paper);
}
.cta-panel {
  position: relative;
  border-radius: 24px;
  background: var(--deep);
  padding: 64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-art {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 260px;
  height: 200px;
  opacity: 0.3;
  transform: rotate(-6deg);
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
}
.cta-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  max-width: 320px;
}
.site-footer .logo-mark {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.site-footer .logo-text-main { color: #fff; }
.site-footer .logo-text-sub { color: rgba(255, 255, 255, 0.45); }
.footer-brand-text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}
.footer-links {
  display: flex;
  gap: 80px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .guide-row {
    grid-template-columns: 80px 150px 1fr 44px;
    grid-template-areas: "thumb meta title arrow";
  }
  .guide-desc { display: none; }
  .footer-links { gap: 48px; }
  .cta-panel { padding: 48px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a { width: 100%; }
  .nav-cta { width: 100%; margin-left: 0; }
  .nav-login-btn { width: 100%; }
  .category-hero { padding: 120px 0 48px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-note { text-align: left; }
  .guide-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "title arrow" "meta meta";
    gap: 12px 16px;
    padding: 18px 0;
  }
  .guide-thumb { display: none; }
  .guide-title { font-size: 16px; }
  .guide-arrow { width: 36px; height: 36px; }
  .cta-panel {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-art { display: none; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pagination { justify-content: center; }
}
@media (max-width: 520px) {
  .category-hero h1 { font-size: 36px; }
  .hero-subline { font-size: 16px; }
  .filter-tags { gap: 8px; }
  .filter-tag { height: 36px; padding: 0 16px; font-size: 12px; }
  .guide-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-links { flex-direction: column; gap: 24px; }
  .page-item { min-width: 32px; height: 32px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease;
  }
  .guide-row:hover .guide-thumb img { transform: none; }
  .cta-art { transform: none; }
  .guide-row:hover .guide-arrow { transform: none; }
}
