/* ========== 基础重置 ========== */
:root {
  --primary: #E2533E;
  --primary-dark: #C24A36;
  --secondary: #2C3E35;
  --olive: #758C6B;
  --gold: #D9A53F;
  --cream: #F7F1E5;
  --sand: #EBE0CE;
  --paper: #FFFDF7;
  --line: #E5D9C5;
  --ink: #2C3E35;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(226, 83, 62, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  line-height: 1.6;
}

/* ========== 核心布局 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--sand);
}

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(247, 241, 229, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--secondary);
}

.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: 900;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(226, 83, 62, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 4px;
  color: #fff !important;
  font-weight: 800;
  background: var(--primary);
  box-shadow: 0 3px 12px rgba(226, 83, 62, 0.3);
  border-bottom: none !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle::before {
  content: '≡';
}

.menu-toggle.open::before {
  content: '×';
}

/* ========== Hero ========== */
.hero {
  min-height: 75vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: repeating-linear-gradient(90deg,
      var(--primary) 0 14px,
      transparent 14px 28px,
      var(--olive) 28px 42px,
      transparent 42px 56px);
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 15%;
  width: 260px;
  height: 260px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 3px;
  background: var(--secondary);
  color: #fff;
  margin-bottom: 20px;
  transform: rotate(-2deg);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: inline-block;
}

.hero h1::after {
  content: '';
  display: block;
  width: 90px;
  height: 7px;
  background: var(--primary);
  margin-top: 14px;
  border-radius: 2px;
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 34px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand) 0%, #D9C5A6 100%);
  border: 1px solid var(--line);
  box-shadow: 14px 14px 0 rgba(226, 83, 62, 0.14);
  min-height: 420px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-image::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(226, 83, 62, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.3s;
}

.hero-image:hover::after {
  transform: translate(-50%, -50%) scale(1.08);
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(226, 83, 62, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 83, 62, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

/* ========== 标签/标题 ========== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 5px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 2px;
  transform: rotate(-2deg);
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  font-weight: 500;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 28px;
  box-shadow: 5px 5px 0 var(--line);
  transition: all 0.3s;
}

.category-card:nth-child(2) {
  border-top-color: var(--olive);
}

.category-card:nth-child(3) {
  border-top-color: var(--gold);
}

.category-card:nth-child(4) {
  border-top-color: #4A6FA5;
}

.category-card:hover {
  transform: translate(4px, -4px);
  box-shadow: -8px 8px 0 var(--line);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: var(--sand);
  color: var(--primary);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
}

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--olive) 0%, #A8B896 100%);
  min-height: 320px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 10px 10px 0 rgba(117, 140, 107, 0.25);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.feature-text {
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.feature-list li::before {
  content: '✦';
  font-weight: 900;
  color: var(--primary);
  font-size: 1.1rem;
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  overflow: hidden;
}

.stat-item {
  padding: 32px 16px;
  border-right: 2px solid var(--secondary);
  background: var(--paper);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: var(--primary);
  opacity: 0.8;
}

.stat-item:nth-child(2)::before {
  background: var(--olive);
}

.stat-item:nth-child(3)::before {
  background: var(--gold);
}

.stat-item:nth-child(4)::before {
  background: var(--secondary);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.3s;
  box-shadow: 0 2px 0 var(--line);
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(44, 62, 53, 0.12);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-item::after {
  content: '▶';
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  background: rgba(226, 83, 62, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s;
}

.content-wall-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.content-wall-body {
  padding: 20px;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--olive);
  border-radius: 0;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  transition: border-color 0.2s;
}

.faq-item.open {
  border-left-color: var(--primary);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.75;
  font-weight: 500;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeUp 0.3s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 0.75;
    transform: translateY(0);
  }
}

/* ========== CTA横幅 ========== */
.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 16px;
  color: #fff;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44, 62, 53, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80%;
  right: -10%;
  width: 340px;
  height: 340px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.25;
}

.cta-banner::after {
  content: '▶';
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-size: 180px;
  color: rgba(255, 255, 255, 0.06);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--secondary);
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--sand);
  transform: translateY(-2px);
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 64px 0 28px;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-weight: 800;
}

.footer-brand .logo-icon {
  margin-bottom: 12px;
}

.footer-col h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 4px 0;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== 工具类 ========== */
.text-accent {
  color: var(--primary);
  font-weight: 800;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  font-weight: 500;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 100px;
  }

  .hero-image {
    min-height: 320px;
  }

  .hero-image img {
    min-height: 320px;
  }

  .feature-block {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    border: none;
    gap: 12px;
  }

  .stat-item {
    border: 2px solid var(--secondary);
    border-radius: 8px;
    padding: 24px 16px;
  }

  .stat-item:nth-child(2) {
    border-right: 2px solid var(--secondary);
  }

  .stat-item:nth-child(n) {
    border-right: 2px solid var(--secondary);
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 20px 40px rgba(44, 62, 53, 0.15);
  }

  .main-nav.open a {
    font-size: 1.05rem;
  }

  .main-nav.open .nav-cta {
    align-self: stretch;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

@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;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .stat-item:nth-child(n) {
    border-right: none;
    border-bottom: 2px solid var(--secondary);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}