/* =============================================================
   共享房屋的秘密规则 · 手账漫记风格
   Comic Journal Design System
   配色：奶油纸感 × 墨蓝 × 朱红 × 芥末黄
   ============================================================= */

:root {
  --cream: #faf7f2;
  --cream-deep: #f0ebe3;
  --paper: #fffdf9;
  --ink: #2c3a4f;
  --ink-soft: #5a6a7d;
  --ink-light: #8a9bab;
  --cinnabar: #d4553a;
  --cinnabar-dark: #b8432c;
  --mustard: #e8b84b;
  --matcha: #7a8b6f;
  --line: #d8cfc3;
  --line-dash: #c4b8a8;
  --shadow-warm: rgba(180, 150, 120, 0.18);
}

/* ============ 基础重置 ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* 手账网格纸纹理 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 58, 79, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 58, 79, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 9998;
}

/* 纸面轻微噪点 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(120, 100, 80, 0.04) 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: var(--mustard);
  color: var(--ink);
}

/* ============ 核心布局 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--cream-deep);
}

/* 手账翻页虚线装饰 */
.section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  border-bottom: 2px dashed var(--line-dash);
  opacity: 0.5;
}

.section:last-child::after {
  display: none;
}

/* ============ 导航 — 顶部胶带感 ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px dashed var(--line-dash);
  box-shadow: 0 2px 20px rgba(140, 110, 80, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.5px;
  position: relative;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px 4px 10px 4px;
  background: var(--cinnabar);
  color: #fffdf9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.08);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(3deg) scale(1.05);
}

.logo span {
  position: relative;
}

.logo span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--mustard);
  opacity: 0.35;
  border-radius: 2px;
  z-index: -1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 2px;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 8px 2px 8px 2px;
  background: var(--cinnabar);
  color: #fffdf9 !important;
  font-weight: 600;
  box-shadow: 3px 3px 0 rgba(212, 85, 58, 0.25);
  transition: all 0.3s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--cinnabar-dark);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(212, 85, 58, 0.3);
  color: #fffdf9;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1.5px dashed var(--line-dash);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: 0.3s;
}

/* ============ 首页Hero — 漫画封面感 ============ */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(232, 184, 75, 0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(212, 85, 58, 0.05) 0%, transparent 50%);
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px 4px 20px 4px;
  background: var(--mustard);
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 1px;
  box-shadow: 2px 2px 0 rgba(180, 150, 80, 0.3);
  transform: rotate(-1deg);
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 900;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.hero h1::before {
  content: '📖';
  position: absolute;
  top: -16px;
  left: -32px;
  font-size: 1.8rem;
  transform: rotate(-15deg);
  opacity: 0.8;
}

.hero h1 .text-accent {
  color: var(--cinnabar);
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--mustard);
  opacity: 0.35;
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
  border-left: 3px solid var(--mustard);
  padding-left: 18px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 440px;
  border-radius: 16px 4px 16px 4px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(212, 85, 58, 0.15), rgba(232, 184, 75, 0.2)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.3) 0px, transparent 8px);
  border: 2px dashed var(--line-dash);
  box-shadow: 8px 8px 0 rgba(180, 150, 120, 0.15);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.hero-image::before {
  content: '🏠 共居有密语';
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
  position: absolute;
  bottom: 28px;
  left: 50%;
  margin-left: -80px;
  white-space: nowrap;
  z-index: 3;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--mustard);
  border-radius: 50%;
  opacity: 0.3;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 10px 2px 10px 2px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--cinnabar);
  color: #fffdf9;
  box-shadow: 4px 4px 0 rgba(212, 85, 58, 0.25);
}

.btn-primary:hover {
  background: var(--cinnabar-dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(212, 85, 58, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px dashed var(--ink-soft);
  color: var(--ink);
}

.btn-outline:hover {
  border-style: solid;
  border-color: var(--cinnabar);
  color: var(--cinnabar);
  background: rgba(212, 85, 58, 0.05);
  transform: translateY(-2px);
}

/* ============ 标签 / 标题 ============ */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--cinnabar);
  position: relative;
  padding-left: 20px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--mustard);
  border-radius: 2px;
  transform: translateY(-50%) rotate(15deg);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--cinnabar);
  border-radius: 2px;
}

.section-desc {
  max-width: 600px;
  color: var(--ink-soft);
  margin-bottom: 44px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ============ 卡片网格 — 便签贴纸风 ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: var(--paper);
  border-radius: 4px 16px 4px 16px;
  padding: 30px 26px;
  border: 1.5px solid var(--line);
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 3px 3px 0 rgba(180, 150, 120, 0.08);
}

/* 便签折角效果 */
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--cream-deep) transparent transparent;
  border-radius: 0 0 0 6px;
  transition: border-color 0.3s ease;
}

.category-card::after {
  content: '✦ 秘密';
  position: absolute;
  top: 12px;
  right: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--cinnabar);
  opacity: 0.7;
  transform: rotate(15deg);
}

.category-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: 6px 6px 0 rgba(180, 150, 120, 0.15);
  border-color: var(--mustard);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(135deg, var(--mustard), #f2d06b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  box-shadow: 2px 2px 0 rgba(180, 150, 80, 0.25);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.category-card:nth-child(2) .card-icon {
  background: linear-gradient(135deg, var(--cinnabar), #e5735a);
  box-shadow: 2px 2px 0 rgba(212, 85, 58, 0.25);
}

.category-card:nth-child(3) .card-icon {
  background: linear-gradient(135deg, var(--matcha), #9db08f);
  box-shadow: 2px 2px 0 rgba(122, 139, 111, 0.25);
}

.category-card:nth-child(4) .card-icon {
  background: linear-gradient(135deg, #7ba7c4, #a8c8dd);
  box-shadow: 2px 2px 0 rgba(123, 167, 196, 0.25);
}

.category-card:hover .card-icon {
  transform: rotate(3deg) scale(1.1);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--cinnabar);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card-link:hover {
  gap: 10px;
}

.card-link:hover::after {
  transform: translateX(3px);
}

/* ============ 特性块 — 漫画分镜格 ============ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 4px 20px 4px 20px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(232, 184, 75, 0.2), rgba(212, 85, 58, 0.1)),
    repeating-linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 10px);
  min-height: 340px;
  border: 2px dashed var(--line-dash);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 6px 6px 0 rgba(180, 150, 120, 0.12);
}

/* 用 emoji 做特征图 */
.feature-image::before {
  content: '🔑';
  font-size: 6rem;
  filter: drop-shadow(4px 4px 0 rgba(180, 150, 120, 0.2));
  transform: rotate(-5deg);
}

.feature-image::after {
  content: '密语规则 #1';
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--ink);
  color: var(--cream);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.85;
}

.feature-text {
  padding: 20px 0;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.2;
}

.feature-text p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--cinnabar);
  background: rgba(212, 85, 58, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ============ 数据条 — 印章计数器 ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  background: var(--paper);
  border-radius: 4px 16px 4px 16px;
  border: 1.5px solid var(--line);
  position: relative;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 rgba(180, 150, 120, 0.15);
}

.stat-item::before {
  content: '●';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5rem;
  color: var(--mustard);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  position: relative;
}

.stat-number::first-letter {
  font-size: 1em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin-top: 8px;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============ 内容墙 — 漫画格子墙 ============ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: var(--paper);
  border-radius: 4px 16px 4px 16px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  transition: all 0.35s ease;
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow: 5px 5px 0 rgba(180, 150, 120, 0.15);
}

.content-wall-item img,
.content-wall-item [class*="thumb"] {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(44, 58, 79, 0.1), rgba(232, 184, 75, 0.15)),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.2) 0px, transparent 8px);
  display: block;
}

.content-wall-item:nth-child(1) img,
.content-wall-item:nth-child(1) [class*="thumb"] {
  background:
    linear-gradient(135deg, #e8c47a, #c99b4a);
}

.content-wall-item:nth-child(2) img,
.content-wall-item:nth-child(2) [class*="thumb"] {
  background:
    linear-gradient(135deg, #d48a75, #b85a3a);
}

.content-wall-item:nth-child(3) img,
.content-wall-item:nth-child(3) [class*="thumb"] {
  background:
    linear-gradient(135deg, #8aa88a, #5a7a5a);
}

.content-wall-item::after {
  content: 'EP.' attr(data-ep);
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  z-index: 2;
}

.content-wall-body {
  padding: 22px 20px;
}

.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.content-wall-body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}

.content-wall-body .card-link {
  font-size: 0.8rem;
}

/* ============ FAQ — 手账问答记录 ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 4px 12px 4px 12px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-item:hover {
  border-color: var(--mustard);
}

.faq-item::before {
  content: 'Q';
  position: absolute;
  left: -14px;
  top: 16px;
  width: 28px;
  height: 28px;
  background: var(--mustard);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 6px 2px 6px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.faq-question {
  padding: 18px 22px 18px 36px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease;
  position: relative;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cinnabar);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 18px 36px;
  display: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqSlide 0.3s ease;
}

@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ CTA 横幅 ============ */
.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 4px 24px 4px 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 184, 75, 0.3), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 85, 58, 0.3), transparent 50%),
    linear-gradient(135deg, #2c3a4f, #3d5068);
  color: var(--cream);
  position: relative;
  box-shadow: 8px 8px 0 rgba(180, 150, 120, 0.2);
  overflow: hidden;
  border: 2px dashed rgba(255, 255, 255, 0.25);
}

.cta-banner::before {
  content: '🔮';
  position: absolute;
  top: -16px;
  left: -10px;
  font-size: 4rem;
  opacity: 0.4;
  transform: rotate(-15deg);
}

.cta-banner::after {
  content: '✦';
  position: absolute;
  bottom: -24px;
  right: -12px;
  font-size: 5rem;
  opacity: 0.25;
}

.cta-banner h2 {
  color: var(--cream);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: var(--mustard);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #f2d06b;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

/* ============ 页脚 ============ */
.site-footer {
  padding: 64px 0 32px;
  background: var(--cream-deep);
  border-top: 2px dashed var(--line-dash);
  position: relative;
}

.site-footer::before {
  content: '🏷️ 规则最后的秘密：互相尊重，共享快乐';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 4px 20px;
  border-radius: 20px;
  border: 1.5px dashed var(--line-dash);
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--cinnabar);
  border-radius: 1px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  transition: all 0.25s ease;
}

.footer-col a:hover {
  color: var(--cinnabar);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px dashed var(--line);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .footer-links {
  display: flex;
  gap: 18px;
}

.footer-bottom .footer-links a {
  color: var(--ink-light);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-bottom .footer-links a:hover {
  color: var(--cinnabar);
}

/* ============ 工具类 ============ */
.text-accent {
  color: var(--cinnabar);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 额外装饰元素 — 手账贴纸 */
.section .container > .section-title,
.section .container > .section-desc {
  position: relative;
  z-index: 1;
}

.section .container > .section-label {
  position: relative;
  z-index: 1;
}

/* 漫画对话框风格引用块 */
.quote-sticker {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  padding: 28px 36px;
  text-align: center;
  max-width: 380px;
  margin: 20px auto;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 rgba(180, 150, 120, 0.12);
  position: relative;
}

.quote-sticker::before {
  content: '❝';
  font-size: 2.5rem;
  color: var(--cinnabar);
  position: absolute;
  top: -8px;
  left: 16px;
}

/* 印章效果标签 */
.seal-stamp {
  display: inline-block;
  padding: 4px 12px;
  border: 2.5px solid var(--cinnabar);
  color: var(--cinnabar);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 4px;
  transform: rotate(-6deg);
  letter-spacing: 2px;
  position: relative;
  background: transparent;
  opacity: 0.85;
  box-shadow: inset 0 0 0 1px transparent;
}

/* 手绘下划线 */
.hand-underline {
  position: relative;
  display: inline-block;
}

.hand-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--mustard);
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-0.5deg);
}

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .hero-image {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .feature-image {
    min-height: 260px;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 2px dashed var(--line-dash);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero {
    min-height: auto;
    padding: 110px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .cta-banner {
    padding: 48px 24px;
  }
  
  .cta-banner h2 {
    font-size: 1.6rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 1.9rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .footer-bottom {
    font-size: 0.75rem;
  }
}

/* 打印支持 */
@media print {
  .site-header {
    position: static;
    border-bottom: 2px dashed #ccc;
  }
  
  .hero {
    min-height: auto;
    padding: 40px 0;
  }
  
  .site-footer {
    position: static;
  }
  
  .menu-toggle {
    display: none !important;
  }
}