/* =========================================================
   小飞同人 · 同人无边 小飞作翼
   设计语言：风纸张 · 飞羽 / 朱砂 × 青碧 × 宣纸白
========================================================= */

:root {
  --paper: #fdfaf5;
  --paper-deep: #f5efe4;
  --paper-warm: #f8f1e6;
  --white: #ffffff;
  --ink: #263b49;
  --ink-soft: #506372;
  --cinnabar: #d85c50;
  --cinnabar-deep: #bf4438;
  --teal: #2d8f8a;
  --teal-soft: #70c3bd;
  --gold: #d9a44a;
  --pink-soft: #ffdfda;
  --line: rgba(38, 59, 73, 0.10);
  --line-strong: rgba(38, 59, 73, 0.18);
  --shadow-sm: 0 2px 10px rgba(38, 59, 73, 0.04);
  --shadow-md: 0 10px 30px rgba(38, 59, 73, 0.06);
  --shadow-lg: 0 20px 50px rgba(38, 59, 73, 0.08);
  --radius: 14px;
  --radius-lg: 24px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(38, 59, 73, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(38, 59, 73, 0.020) 1px, transparent 1px),
    radial-gradient(circle at 85% 8%, rgba(45, 143, 138, 0.06), transparent 32%),
    radial-gradient(circle at 12% 72%, rgba(216, 92, 80, 0.05), transparent 28%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(216, 92, 80, 0.18);
  color: #3a1e1b;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--paper-deep);
}

.section::after {
  content: '';
  position: absolute;
  width: 90%;
  height: 1px;
  left: 5%;
  bottom: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.section:last-of-type::after {
  display: none;
}

/* =========================================================
   导航
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(38, 59, 73, 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: 12px;
  font-weight: 900;
  font-size: 1.24rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.12em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #e76b5e, #d14a3f);
  box-shadow: 0 4px 12px rgba(216, 92, 80, 0.36);
  transform: rotate(-8deg);
  transition: 0.35s ease;
  letter-spacing: 0;
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.06);
}

.logo em {
  font-style: normal;
  color: var(--cinnabar);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--cinnabar-deep);
  background: rgba(216, 92, 80, 0.08);
}

.nav-cta {
  padding: 9px 22px !important;
  border-radius: 100px;
  background: linear-gradient(130deg, #3a9a94, #2d8f8a);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(45, 143, 138, 0.28);
  transition: 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(45, 143, 138, 0.34);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 4px;
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
  transition: 0.2s ease;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 6%;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(112, 195, 189, 0.16), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: -200px;
  bottom: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(216, 92, 80, 0.10), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
  background: rgba(216, 92, 80, 0.08);
  color: var(--cinnabar-deep);
  border: 1px solid rgba(216, 92, 80, 0.18);
  letter-spacing: 0.16em;
}

.hero-eyebrow::before {
  content: '❋';
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-shadow:
    5px 5px 0 rgba(216, 92, 80, 0.06),
    10px 10px 0 rgba(45, 143, 138, 0.05);
}

.hero h1 .accent {
  color: var(--cinnabar);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  background: rgba(255, 223, 218, 0.85);
  z-index: -1;
  transform: rotate(-1deg);
  border-radius: 3px;
}

.hero p {
  font-size: 1.12rem;
  color: var(--ink-soft);
  opacity: 1;
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 0 420px;
  min-height: 360px;
  max-width: 420px;
  border-radius: 40% 24px 40% 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.92) 0%, transparent 38%),
    linear-gradient(145deg, #ffdfda 0%, #ffb7ac 38%, #70c3bd 100%);
  transform: rotate(2deg);
  box-shadow: 24px 24px 60px rgba(38, 59, 73, 0.10);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 166 C 70 130, 95 92, 165 38 L 150 58 C 130 60, 110 72, 100 90 C 122 82, 150 74, 178 70 L 120 122 C 106 108, 90 104, 78 112' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' opacity='0.35' transform='scale(0.8) translate(20 20)'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity: 0.5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.hero-image::after {
  content: '同人无边';
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 16px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cinnabar-deep);
}

/* 为了让 hero 内部类似两栏 */
.hero:not(:has(.hero-image)) .hero-content {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero:not(:has(.hero-image)) .hero-buttons {
  justify-content: center;
}

.hero:has(.hero-image) {
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

/* =========================================================
   按钮
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.06em;
}

.btn-primary {
  background: linear-gradient(130deg, #e06b5f, #c54a3e);
  color: #fff;
  box-shadow: 0 10px 26px rgba(216, 92, 80, 0.34);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(216, 92, 80, 0.44);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  box-shadow: inset 0 0 0 0 var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(45, 143, 138, 0.28);
}

/* =========================================================
   标题区域
========================================================= */
.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  margin-bottom: 18px;
  padding: 6px 18px 6px 8px;
  color: var(--cinnabar);
  background: linear-gradient(90deg, rgba(216, 92, 80, 0.10), transparent);
  border-radius: 0 20px 20px 0;
  text-transform: uppercase;
}

.text-center .section-label {
  background: linear-gradient(90deg, transparent, rgba(216, 92, 80, 0.12), transparent);
  padding: 6px 16px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.section-desc {
  max-width: 620px;
  color: var(--ink-soft);
  opacity: 1;
  margin-bottom: 48px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.section-title::after {
  content: '。';
  color: var(--gold);
}

.section-title:not(.hero):not(.cta-banner h2) {
  position: relative;
}

/* =========================================================
   卡片网格
========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}

.category-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(38, 59, 73, 0.06);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.category-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
  border-color: rgba(216, 92, 80, 0.22);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: var(--pink-soft);
  color: var(--cinnabar-deep);
  box-shadow: inset 0 -2px 0 rgba(216, 92, 80, 0.16);
  transition: 0.3s ease;
}

.category-card:nth-child(2) .card-icon {
  background: #d7f0ea;
  color: var(--teal);
}

.category-card:nth-child(3) .card-icon {
  background: #f8e9c1;
  color: #b37a1d;
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.7;
}

.card-link {
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.24s ease;
}

.card-link::after {
  content: '→';
  transition: transform 0.24s ease;
}

.category-card:hover .card-link::after {
  transform: translateX(5px);
  color: var(--cinnabar);
}

.card-num {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 0.7rem;
  font-weight: 900;
  color: rgba(38, 59, 73, 0.18);
  letter-spacing: 0.1em;
}

/* =========================================================
   特性区块
========================================================= */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-image {
  border-radius: 20px 60px 20px 60px;
  overflow: hidden;
  min-height: 300px;
  position: relative;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(135deg, #ffdfda, #f9c4bc 55%, #f8e9c1);
  transform: rotate(-1.5deg);
  box-shadow: 20px 20px 0 var(--paper-deep), 20px 20px 60px rgba(38, 59, 73, 0.14);
  transition: transform 0.5s ease;
}

.feature-image:hover {
  transform: rotate(0deg);
}

.feature-image::before {
  content: '✧';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.6);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.feature-block:nth-child(even) .feature-image {
  transform: rotate(1.5deg);
  border-radius: 60px 20px 60px 20px;
}

.feature-text .section-title {
  margin-bottom: 24px;
}

.feature-text > p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 14px;
}

.feature-list li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  border-bottom: 1px dashed rgba(38, 59, 73, 0.08);
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  width: 22px;
  height: 22px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-block + .feature-block {
  margin-top: 80px;
}

/* =========================================================
   数据条
========================================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 34px 20px;
  border-radius: 100px 24px 24px 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.stat-item:nth-child(2n) {
  border-radius: 24px 100px 100px 24px;
}

.stat-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 223, 218, 0.55));
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--cinnabar);
  line-height: 1.1;
  letter-spacing: -0.04em;
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar));
  border-radius: 2px;
  opacity: 0.4;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* =========================================================
   内容墙
========================================================= */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.content-wall-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  position: relative;
  transform: rotate(0deg);
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 143, 138, 0.2);
}

.content-wall-item:nth-child(2n):hover {
  transform: translateY(-6px) rotate(0.4deg);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.45s ease;
  background: linear-gradient(135deg, #d7f0ea, #ffdfda);
  position: relative;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h4 {
  font-weight: 800;
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.content-wall-body p {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wall-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  background: rgba(45, 143, 138, 0.10);
  color: var(--teal);
}

.wall-tag.hot {
  background: rgba(216, 92, 80, 0.10);
  color: var(--cinnabar);
}

/* =========================================================
   FAQ
========================================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item.open {
  border-color: rgba(216, 92, 80, 0.32);
  box-shadow: 0 8px 24px rgba(38, 59, 73, 0.06);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 500;
  width: 34px;
  height: 34px;
  background: var(--paper);
  color: var(--cinnabar);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
}

.faq-item.open .faq-question {
  color: var(--cinnabar-deep);
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  background: var(--cinnabar);
  color: #fff;
}

.faq-answer {
  padding: 0 24px 8px;
  display: none;
  color: var(--ink-soft);
  opacity: 1;
  line-height: 1.8;
  font-size: 0.92rem;
}

.faq-answer p {
  padding-bottom: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* =========================================================
   CTA 横幅
========================================================= */
.cta-banner {
  padding: 72px 56px;
  text-align: center;
  border-radius: 36px 12px 36px 12px;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(135deg, #ce6b5c, #b9443b 50%, #c98a3c);
  box-shadow: 0 24px 60px rgba(185, 68, 59, 0.35);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.04),
    0 0 0 56px rgba(255, 255, 255, 0.035),
    0 0 0 84px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
  max-width: 480px;
  margin: 18px auto 30px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--cinnabar-deep);
  box-shadow: 0 10px 30px rgba(120, 30, 28, 0.2);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(120, 30, 28, 0.28);
  background: #f7ece4;
}

/* =========================================================
   页脚
========================================================= */
.site-footer {
  padding: 80px 0 0;
  background: var(--paper-deep);
  border-top: 3px solid rgba(216, 92, 80, 0.7);
  position: relative;
  color: var(--ink);
}

.site-footer::before {
  content: '同人无边 · 小飞作翼';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 2px solid var(--cinnabar);
  color: var(--cinnabar-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  padding: 4px 24px;
  border-radius: 50px;
  white-space: nowrap;
}

.site-footer .container {
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--ink-soft);
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.18em;
  position: relative;
  display: inline-block;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold));
  border-radius: 8px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: 0.2s;
}

.footer-col a:hover {
  color: var(--cinnabar);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(38, 59, 73, 0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* =========================================================
   工具类
========================================================= */
.text-accent {
  color: var(--cinnabar);
  font-weight: inherit;
}

.text-teal {
  color: var(--teal);
}

.text-gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
  margin-inline: auto;
}

.seo-description {
  max-width: 640px;
  margin: 0 auto 56px;
  opacity: 1;
  color: var(--ink-soft);
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-1 {
  margin-top: 24px;
}

.mb-1 {
  margin-bottom: 24px;
}

/* 印章点缀 */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 0.68rem;
  color: var(--cinnabar);
  border: 2.5px solid var(--cinnabar);
  border-radius: 8px;
  padding: 4px 10px;
  transform: rotate(-5deg);
  letter-spacing: 0.12em;
  line-height: 1;
  opacity: 0.8;
}

.wordmark-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cinnabar), var(--teal), var(--gold));
  margin: 40px 0;
  opacity: 0.22;
  border: none;
}

/* =========================================================
   补充背景装饰
========================================================= */
.section:has(.content-wall)::before,
.section:has(.cards-grid)::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  right: 30px;
  top: 30px;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.8) 0 12%, transparent 13%),
    radial-gradient(circle at 60% 75%, var(--pink-soft) 0 6%, transparent 8%);
  opacity: 0.3;
  pointer-events: none;
}

/* =========================================================
   响应式
========================================================= */
@media (max-width: 1024px) {
  .hero-image {
    flex: 0 0 360px;
  }

  .feature-block {
    gap: 48px;
  }

  .footer-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 16px;
    background: rgba(250, 246, 238, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 36px rgba(38, 59, 73, 0.08);
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav a {
    padding: 13px 22px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .main-nav a:not(.nav-cta):hover {
    background: rgba(216, 92, 80, 0.07);
  }

  .main-nav .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.is-open::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 80px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-image {
    flex: 1 1 100%;
    min-height: 280px;
    max-width: 100%;
  }

  .hero p {
    font-size: 1.04rem;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .section {
    padding: 70px 0;
  }

  .cta-banner {
    padding: 56px 28px;
    border-radius: 24px 8px 24px 8px;
  }

  .stat-item {
    border-radius: 60px 18px 18px 60px;
  }

  .stat-item:nth-child(2n) {
    border-radius: 18px 60px 60px 18px;
  }

  .section-title::after,
  .section-label::before {
    display: inline-block;
  }
}

@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;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
    text-align: center;
  }

  .header-inner {
    padding: 0 16px;
  }

  .container {
    padding: 0 18px;
  }

  .hero h1 {
    letter-spacing: 0.02em;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .category-card {
    padding: 26px 24px;
  }

  .stats-bar {
    gap: 14px;
  }

  .stat-item {
    padding: 24px 14px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 48px 22px;
  }

  .cta-banner .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .feature-image {
    min-height: 220px;
  }

  .site-footer {
    padding-top: 60px;
  }
}