/* ─────────── 基础重置 ─────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #faf8f4; /* 极暖米白 — 所有背景都浅且温暖 */
  color: #1b2a4a;      /* 深海蓝作为正文色 */
  line-height: 1.6;
}

/* ─────────── 核心布局 ─────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #f0ede8; /* 更柔和的暖灰，与奇数行形成微妙交替 */
}

/* ─────────── 导航 ─────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e0d4;
}

.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: #1b2a4a;
  letter-spacing: 1px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a373, #c7a951);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(212, 163, 115, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2c3e60;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.main-nav a:hover {
  color: #d4a373;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, #d4a373, #c7a951);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(212, 163, 115, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(212, 163, 115, 0.35);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #1b2a4a;
  border-radius: 2px;
  transition: 0.2s;
}

/* ─────────── 首页Hero ─────────── */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #faf8f4 0%, #f0ede8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 30px;
  background: #1b2a4a;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #1b2a4a;
  letter-spacing: -0.5px;
}

.hero h1 .text-accent {
  color: #d4a373;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 32px;
  color: #2c3e60;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(27, 42, 74, 0.08);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─────────── 按钮 ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #d4a373, #c7a951);
  color: #fff;
  box-shadow: 0 4px 14px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #1b2a4a;
  color: #1b2a4a;
}

.btn-outline:hover {
  background: #1b2a4a;
  color: #fff;
}

/* ─────────── 标签/标题 ─────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #d4a373;
  text-transform: uppercase;
  position: relative;
}

.section-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: #d4a373;
  margin-top: 6px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #1b2a4a;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.65;
  margin-bottom: 40px;
  color: #2c3e60;
  font-size: 1.05rem;
}

/* ─────────── 卡片网格 ─────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 32px;
  background: #fff;
  border: 1px solid #ede8e0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4a373, #c7a951);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.08);
  border-color: #d4a373;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #1b2a4a;
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1b2a4a;
}

.category-card p {
  font-size: 0.85rem;
  opacity: 0.7;
  color: #2c3e60;
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #d4a373;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ─────────── 特性块 ─────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(27, 42, 74, 0.06);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 16px 0;
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1b2a4a;
}

.feature-text p {
  opacity: 0.7;
  margin-bottom: 20px;
  color: #2c3e60;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #1b2a4a;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #d4a373;
  font-size: 1.1rem;
}

/* ─────────── 数据条 ─────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ede8e0;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.04);
  transition: transform 0.2s;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1b2a4a;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #2c3e60;
  letter-spacing: 0.3px;
}

/* ─────────── 内容墙 ─────────── */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ede8e0;
  transition: all 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.08);
  border-color: #d4a373;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1b2a4a;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.7;
  color: #2c3e60;
}

/* ─────────── FAQ ─────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #ede8e0;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.04);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  color: #1b2a4a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #d4a373;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.75;
  color: #2c3e60;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 0.75; transform: translateY(0); }
}

/* ─────────── CTA 横幅 ─────────── */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #1b2a4a, #2c3e60);
  color: #fff;
  box-shadow: 0 12px 32px rgba(27, 42, 74, 0.15);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #1b2a4a;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  background: #f0ede8;
  transform: translateY(-2px);
}

/* ─────────── 页脚 ─────────── */
.site-footer {
  padding: 64px 0 28px;
  background: #1b2a4a;
  color: rgba(255,255,255,0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  /* 可用于品牌描述 */
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.footer-brand p {
  opacity: 0.65;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-col {
  /* 每个列 */
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #d4a373;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #d4a373;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  color: rgba(255,255,255,0.6);
}

/* ─────────── 工具类 ─────────── */
.text-accent {
  color: #d4a373;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ─────────── 响应式 ─────────── */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .feature-block {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-header {
    background: rgba(255, 253, 250, 0.98);
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .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: 68px;
    left: 0;
    width: 100%;
    background: rgba(255, 253, 250, 0.98);
    padding: 24px 24px 32px;
    box-shadow: 0 8px 20px rgba(27, 42, 74, 0.06);
    gap: 16px;
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }
}

@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 h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* ─────────── 附加装饰（可选趣味点） ─────────── */
/* 用伪元素为卡片添加细腻光晕 */
.category-card::after {
  content: '';
  position: absolute;
  top: -80%;
  right: -80%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.3s;
}

.category-card:hover::after {
  top: -40%;
  right: -40%;
}

/* 菜单打开时调用 */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}