/* ================================================
   票根与印章 · 驿站资源站视觉系统
   公交车售票员小镇 · 小镇资源一站直达
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700;900&family=JetBrains+Mono:wght@400;700;800&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, sans-serif;
  overflow-x: hidden;
  background-color: #FBF5EA;
  color: #2B2823;
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(200, 80, 60, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 40%, rgba(61, 107, 95, 0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(226, 165, 56, 0.04) 0%, transparent 40%);
  line-height: 1.6;
}

::selection {
  background: #C8503C;
  color: #FFF9EF;
}

/* ========== 容器 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #F2E9DB;
  background-image:
    linear-gradient(135deg, rgba(200, 80, 60, 0.02) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(225deg, rgba(200, 80, 60, 0.02) 25%, transparent 25%) 0 0 / 32px 32px;
}

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 245, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #2B2823;
  box-shadow: 0 2px 16px rgba(43, 40, 35, 0.06);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: radial-gradient(circle, #C8503C 2px, transparent 2px);
  background-size: 12px 6px;
  background-position: center;
  opacity: 0.6;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: #2B2823;
  letter-spacing: 1px;
  font-family: 'Noto Serif SC', serif;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #C8503C;
  color: #FFF9EF;
  box-shadow: 3px 3px 0 #2B2823;
  transform: rotate(-4deg);
  transition: transform 0.3s;
}

.logo:hover .logo-icon {
  transform: rotate(4deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2B2823;
  letter-spacing: 0.5px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

.main-nav a:hover {
  color: #C8503C;
  border-bottom-color: #C8503C;
  border-bottom-style: dashed;
}

.nav-cta {
  padding: 8px 22px !important;
  border-radius: 4px !important;
  background: #3D6B5F;
  color: #FBF5EA !important;
  font-weight: 700;
  border: none !important;
  box-shadow: 3px 3px 0 rgba(43, 40, 35, 0.85);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(43, 40, 35, 0.85);
  border-bottom: none !important;
  color: #FFF9EF !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid #2B2823;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  color: #2B2823;
  box-shadow: 2px 2px 0 rgba(43, 40, 35, 0.2);
}

/* ========== Hero ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 130px 0 80px;
  background:
    linear-gradient(135deg, rgba(200, 80, 60, 0.035) 25%, transparent 25%) 0 0 / 44px 44px,
    linear-gradient(225deg, rgba(200, 80, 60, 0.035) 25%, transparent 25%) 0 0 / 44px 44px;
}

.hero::before {
  content: 'NO.001';
  position: absolute;
  top: 130px;
  right: 5%;
  font-size: 5.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200, 80, 60, 0.13);
  letter-spacing: 8px;
  user-select: none;
  z-index: 0;
  font-family: 'JetBrains Mono', monospace;
  transform: rotate(-6deg);
}

.hero-content {
  max-width: 740px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
  background: #F2E9DB;
  border: 1.5px dashed #C8503C;
  color: #C8503C;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.12;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #2B2823;
  font-family: 'Noto Serif SC', serif;
}

.hero h1 .text-accent {
  color: #C8503C;
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 6px;
  height: 12px;
  background: rgba(200, 80, 60, 0.16);
  z-index: -1;
  transform: rotate(-1deg);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 38px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #2B2823;
  box-shadow: 8px 8px 0 rgba(43, 40, 35, 0.12);
  transform: rotate(1.2deg);
  position: relative;
  margin-top: 40px;
}

.hero-image::after {
  content: 'TICKET';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #E2A538;
  color: #2B2823;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 12px;
  letter-spacing: 3px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 1px;
}

.btn-primary {
  background: #C8503C;
  color: #FFF9EF;
  box-shadow: 4px 4px 0 #2B2823;
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #2B2823;
}

.btn-outline {
  background: transparent;
  border: 2px solid #2B2823;
  color: #2B2823;
  box-shadow: 3px 3px 0 transparent;
}

.btn-outline:hover {
  background: #2B2823;
  color: #FBF5EA;
}

/* ========== 标签/标题 ========== */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #C8503C;
  position: relative;
  padding-left: 26px;
}

.section-label::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 0.65rem;
  color: #C8503C;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-family: 'Noto Serif SC', serif;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #C8503C 0 10px, transparent 10px 18px);
  opacity: 0.45;
  border-radius: 2px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  line-height: 1.75;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  counter-reset: card;
}

.category-card {
  border-radius: 2px;
  padding: 32px 28px;
  background: #FFFBF3;
  border: 1.5px solid #2B2823;
  position: relative;
  box-shadow: 5px 5px 0 rgba(43, 40, 35, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
  counter-increment: card;
}

.category-card::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 18px;
  bottom: 18px;
  width: 4px;
  background-image: radial-gradient(circle, #C8503C 2.5px, transparent 2.5px);
  background-size: 4px 10px;
  background-position: center;
  opacity: 0.8;
}

.category-card::after {
  content: counter(card, decimal-leading-zero);
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(200, 80, 60, 0.09);
  letter-spacing: 2px;
  font-family: 'JetBrains Mono', monospace;
}

.category-card:hover {
  transform: translateY(-4px) rotate(-0.3deg);
  box-shadow: 8px 8px 0 rgba(43, 40, 35, 0.14);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: #F2E9DB;
  border: 1px solid #DFD1BC;
  box-shadow: 2px 2px 0 rgba(43, 40, 35, 0.08);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: #C8503C;
  transition: letter-spacing 0.2s;
  display: inline-block;
  margin-top: 12px;
}

.card-link:hover {
  letter-spacing: 2px;
}

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid #2B2823;
  box-shadow: 6px 6px 0 rgba(43, 40, 35, 0.1);
  position: relative;
}

.feature-image::after {
  content: '资源';
  position: absolute;
  top: 14px;
  right: 14px;
  background: #C8503C;
  color: #FFF9EF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 2px;
  transform: rotate(4deg);
  letter-spacing: 1px;
  box-shadow: 2px 2px 0 #2B2823;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-text h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.feature-text p {
  opacity: 0.7;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border-bottom: 1px dashed #D8CDBA;
}

.feature-list li::before {
  content: '✳';
  font-weight: 700;
  color: #3D6B5F;
  font-size: 0.9rem;
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 2px;
  border: 1.5px solid #2B2823;
  background: #FFFBF3;
  box-shadow: 4px 4px 0 rgba(43, 40, 35, 0.1);
  position: relative;
  transition: transform 0.2s;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: #E2A538;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(226, 165, 56, 0.25);
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: #C8503C;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  font-family: 'JetBrains Mono', monospace;
}

.stat-number::before {
  content: '#';
  font-size: 1.1rem;
  vertical-align: super;
  margin-right: 2px;
  color: #3D6B5F;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  counter-reset: wall;
}

.content-wall-item {
  border-radius: 2px;
  border: 1.5px solid #2B2823;
  background: #FFFBF3;
  box-shadow: 5px 5px 0 rgba(43, 40, 35, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  counter-increment: wall;
}

.content-wall-item::after {
  content: 'NO.' counter(wall, decimal-leading-zero);
  position: absolute;
  top: 10px;
  left: -32px;
  background: #3D6B5F;
  color: #FBF5EA;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 34px;
  transform: rotate(-45deg);
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(43, 40, 35, 0.2);
  font-family: 'JetBrains Mono', monospace;
  z-index: 2;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(43, 40, 35, 0.14);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1.5px solid #2B2823;
  border-radius: 2px 2px 0 0;
  display: block;
  filter: sepia(0.18) contrast(1.03);
  transition: filter 0.3s;
}

.content-wall-item:hover img {
  filter: sepia(0) contrast(1);
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1.5px solid #2B2823;
  border-radius: 2px;
  margin-bottom: 12px;
  background: #FFFBF3;
  position: relative;
  transition: box-shadow 0.25s;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background-image: radial-gradient(circle, #3D6B5F 2px, transparent 2px);
  background-size: 4px 10px;
  background-position: center;
  opacity: 0.7;
}

.faq-item.open {
  box-shadow: 4px 4px 0 rgba(43, 40, 35, 0.12);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
}

.faq-item .faq-question:hover {
  color: #C8503C;
}

.faq-item .faq-question::after {
  content: '＋';
  font-size: 1.2rem;
  font-weight: 700;
  color: #C8503C;
  transition: transform 0.3s;
  font-family: 'JetBrains Mono', monospace;
}

.faq-item.open .faq-question::after {
  content: '—';
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.75;
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========== CTA 横幅 ========== */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 4px;
  background: #3D6B5F;
  color: #FBF5EA;
  border: 2px solid #2B2823;
  box-shadow: 8px 8px 0 rgba(43, 40, 35, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(251, 245, 234, 0.07) 30%, transparent 30%);
  background-size: 18px 18px;
}

.cta-banner::after {
  content: '★';
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-size: 3rem;
  color: rgba(251, 245, 234, 0.08);
  transform: rotate(12deg);
}

.cta-banner h2 {
  color: #FBF5EA;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 900;
  font-family: 'Noto Serif SC', serif;
}

.cta-banner p {
  color: rgba(251, 245, 234, 0.8);
  margin-bottom: 28px;
}

.cta-banner .btn-primary {
  background: #FBF5EA;
  color: #2B2823;
  box-shadow: 4px 4px 0 rgba(43, 40, 35, 0.6);
}

.cta-banner .btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(43, 40, 35, 0.6);
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 56px 0 28px;
  background: #F2E9DB;
  border-top: 2px solid #2B2823;
  margin-top: 40px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: radial-gradient(circle, #C8503C 2px, transparent 2px);
  background-size: 12px 6px;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: #2B2823;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #C8503C;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: #2B2823;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  padding-left: 6px;
  color: #C8503C;
}

.footer-bottom {
  border-top: 1px dashed #C8BAA3;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(43, 40, 35, 0.55);
}

/* ========== 工具类 ========== */
.text-accent {
  color: #C8503C;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero::before {
    font-size: 3.8rem;
    top: 110px;
  }

  .feature-block {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #FBF5EA;
    border-bottom: 2px solid #2B2823;
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 16px 30px rgba(43, 40, 35, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px dashed #D8CDBA;
  }

  .nav-cta {
    width: auto;
    text-align: center;
    margin-top: 4px;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero::before {
    font-size: 3rem;
    top: 100px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@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: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero::before {
    font-size: 2.2rem;
    top: 90px;
  }

  .section {
    padding: 44px 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 40px 16px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .feature-block {
    gap: 28px;
  }

  .footer-grid {
    gap: 28px;
  }
}