/* 基础重置 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #2d2a26;
  --cream: #faf6f0;
  --coral: #ff4d2e;
  --teal: #00a88f;
  --yellow: #ffd166;
  --mint: #eef5f2;
  --line: 2px solid var(--ink);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(45, 42, 38, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

::selection { background: var(--coral); color: #fff; }

body::-webkit-scrollbar { width: 10px; background: var(--cream); }
body::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 10px; border: 2px solid var(--cream); }

img { display: block; max-width: 100%; }

/* 核心布局 — 必须居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; position: relative; }
.section:nth-child(even) { background: var(--mint); }

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: var(--line);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(135deg, var(--coral) 0, var(--coral) 10px, transparent 10px, transparent 20px);
}

.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.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px 4px 12px 4px;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.25s ease;
}

.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.04); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: color 0.2s;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.main-nav a:not(.nav-cta):hover { color: var(--coral); }

.nav-cta {
  padding: 10px 24px;
  border-radius: 40px;
  background: var(--coral);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 4px;
  transition: 0.25s;
}

/* 首页Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 140px 0 90px;
  background:
    radial-gradient(circle at 85% 25%, rgba(255, 209, 102, 0.45) 0%, transparent 240px),
    linear-gradient(180deg, var(--cream) 0%, #fff7ec 100%);
}

.hero::before {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, var(--coral) 0, var(--coral) 10px, transparent 10px, transparent 22px);
  opacity: 0.18;
  pointer-events: none;
}

.hero::after {
  content: '✱';
  position: absolute;
  top: 22%;
  left: 5%;
  font-size: 3.5rem;
  color: var(--coral);
  opacity: 0.25;
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; flex: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 18px;
  border-radius: 40px;
  background: var(--teal);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero h1 span {
  color: var(--coral);
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 12px;
  background: rgba(255, 209, 102, 0.65);
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-buttons { display: flex; gap: 14px; }

.hero-image {
  flex-shrink: 0;
  width: min(420px, 40%);
  border-radius: 50px 12px 50px 12px;
  overflow: hidden;
  border: var(--line);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.hero-image:hover { transform: rotate(0deg) scale(1.01); }

.hero-image img {
  width: 100%;
  height: auto;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: 4px;
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 16px;
  transform: rotate(-1deg);
  text-transform: uppercase;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}

.section-title::after {
  content: '';
  display: block;
  width: 88px;
  border-bottom: 4px dotted var(--coral);
  margin-top: 10px;
}

.text-center .section-title::after { margin: 10px auto 0; }

.section-desc {
  max-width: 600px;
  opacity: 0.75;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 44px;
  border-left: 4px solid var(--teal);
  padding-left: 18px;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  counter-reset: card;
}

.category-card {
  position: relative;
  background: #fff;
  border-radius: 16px 4px 16px 4px;
  padding: 30px 28px;
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.22s, box-shadow 0.22s;
  overflow: hidden;
}

.category-card::before {
  counter-increment: card;
  content: '0' counter(card);
  position: absolute;
  top: -6px;
  right: 14px;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 168, 143, 0.12);
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.category-card > * { position: relative; z-index: 1; }

.category-card:hover {
  transform: translate(-2px, -4px) rotate(-0.8deg);
  box-shadow: 10px 10px 0 var(--teal);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px 4px 12px 4px;
  background: var(--mint);
  color: var(--teal);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: background 0.2s, color 0.2s;
}

.category-card:hover .card-icon { background: var(--coral); color: #fff; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--coral);
  text-decoration: none;
}

.card-link::after { content: '→'; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(5px); }

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 24px 6px 24px 6px;
  overflow: hidden;
  border: var(--line);
  box-shadow: 7px 7px 0 var(--yellow);
  transform: rotate(-1.5deg);
  transition: transform 0.35s ease;
}

.feature-image:hover { transform: rotate(0deg) scale(1.01); }

.feature-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.feature-image:hover img { transform: scale(1.04); }

.feature-text { font-size: 1.05rem; line-height: 1.7; }
.feature-text p { margin-bottom: 16px; opacity: 0.78; }

.feature-list { list-style: none; margin-top: 20px; }

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  background: var(--teal);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--ink);
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: #fff;
  padding: 32px 20px;
  border-radius: 18px 4px 18px 4px;
  border: var(--line);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.22s, box-shadow 0.22s;
}

.stat-item:nth-child(2) { margin-top: 10px; }
.stat-item:nth-child(4) { margin-top: 10px; }

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--yellow);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--coral);
  line-height: 1;
}

.stat-item:nth-child(2) .stat-number { color: var(--teal); }
.stat-item:nth-child(3) .stat-number { color: #d97706; }

.stat-label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 8px;
  font-weight: 600;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #fff;
  border-radius: 14px 4px 14px 4px;
  overflow: hidden;
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.22s, box-shadow 0.22s;
}

.content-wall-item:hover {
  transform: translateY(-5px) rotate(0.4deg);
  box-shadow: 9px 9px 0 var(--coral);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: var(--line);
  transition: transform 0.4s ease;
}

.content-wall-item:hover img { transform: scale(1.04); }

.content-wall-body { padding: 22px; }
.content-wall-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.content-wall-body p { font-size: 0.9rem; opacity: 0.7; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  position: relative;
  border: var(--line);
  border-radius: 14px 4px 14px 4px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover { box-shadow: 6px 6px 0 var(--teal); }

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item.open .faq-question { background: var(--mint); }

.faq-item .faq-question::after {
  content: '+';
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--coral);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 22px;
  display: none;
  opacity: 0;
  line-height: 1.75;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  padding: 0 22px 20px;
  opacity: 0.78;
  animation: faqSlide 0.3s ease;
}

@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.78; transform: translateY(0); }
}

/* CTA横幅 */
.cta-banner {
  position: relative;
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px 6px 24px 6px;
  background: var(--coral);
  color: #fff;
  border: var(--line);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--yellow);
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* 页脚 */
.site-footer {
  padding: 56px 0 28px;
  background: #f3ecdf;
  color: var(--ink);
  border-top: 4px double var(--ink);
  margin-top: 80px;
}

.site-footer .container { }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p { opacity: 0.72; font-size: 0.9rem; margin-top: 10px; }

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--ink);
  opacity: 0.7;
  text-decoration: none;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: opacity 0.2s, color 0.2s, padding-left 0.2s;
}

.footer-col a:hover { opacity: 1; color: var(--coral); padding-left: 4px; }

.footer-bottom {
  border-top: 2px dashed rgba(45, 42, 38, 0.4);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* 工具类 */
.text-accent { color: var(--coral); }
.text-center { text-align: center; }
.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.72;
  text-align: center;
  line-height: 1.7;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 120px 0 60px;
    text-align: center;
  }

  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }

  .hero-image {
    width: 100%;
    max-width: 420px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .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: 72px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 20px 24px;
    border-bottom: var(--line);
    box-shadow: 6px 6px 0 var(--ink);
    gap: 6px;
  }

  .main-nav.open a {
    width: 100%;
    padding: 12px 4px;
    font-size: 1rem;
  }

  .main-nav.open .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero h1 { font-size: 2.6rem; }
  .section-title { font-size: 2rem; }
  .cta-banner { padding: 48px 20px; }
}

@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: 2.2rem; }

  .hero-eyebrow { font-size: 0.7rem; padding: 6px 14px; }

  .section { padding: 60px 0; }

  .btn { width: 100%; justify-content: center; }
  .hero-buttons .btn { width: 100%; }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) { margin-top: 0; }

  .section-title { font-size: 1.7rem; }
  .cta-banner h2 { font-size: 1.5rem; }
}