/* ==============================================
   JM漫画 · 漫画编辑部风格设计系统
   暖纸底 · 粗描边 · 偏移阴影 · 大胆撞色
   ============================================== */

:root {
  --primary: #FF5C39;
  --secondary: #00A896;
  --tertiary: #FFC845;
  --bg: #FFF8EF;
  --bg-alt: #F5EBDD;
  --card-bg: #FFFFFF;
  --border: #2D2520;
  --text: #2D2520;
  --text-muted: #6E5B4F;
}

/* ============ 基础重置 ============ */
*, *::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-color: var(--bg);
  background-image: radial-gradient(rgba(45,37,32,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--tertiary);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ 核心布局 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 239, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
}

.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: 900;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
}

.logo::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--tertiary);
  border-radius: 50%;
  display: inline-block;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
}

.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: var(--text);
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 700;
  background: var(--primary);
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--border);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--tertiary);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  box-shadow: 2px 2px 0 var(--border);
}

/* ============ Hero 区域 ============ */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 200, 69, 0.3), transparent 22%),
    radial-gradient(circle at 12% 88%, rgba(0, 168, 150, 0.14), transparent 20%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-content {
  max-width: 720px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  background: var(--tertiary);
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
  border-bottom: 6px solid var(--tertiary);
  display: inline-block;
  padding-bottom: 12px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 8px 8px 0 var(--tertiary);
  background: #fff;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero::before {
  content: 'JM';
  position: absolute;
  right: 6%;
  top: 16%;
  width: 84px;
  height: 84px;
  background: var(--tertiary);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 var(--border);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero::before {
    display: none;
  }
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--border);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 4px 4px 0 var(--border);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--border);
}

.btn-outline {
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
}

.btn-outline:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--border);
  background: var(--tertiary);
}

/* ============ 标题与标签 ============ */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--secondary);
  color: #fff;
  border-radius: 30px;
  padding: 6px 16px;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary) 50%, var(--tertiary) 50%);
  border-radius: 3px;
  margin-top: 10px;
}

.section-desc {
  max-width: 600px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ============ 卡片网格 ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 28px;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.category-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--primary);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: var(--tertiary);
  border: 2px solid var(--border);
}

.category-card:nth-child(2) .card-icon {
  background: var(--secondary);
  color: #fff;
}

.category-card:nth-child(3) .card-icon {
  background: var(--primary);
  color: #fff;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  transition: border-color 0.2s;
}

.card-link:hover {
  border-color: transparent;
}

/* ============ 特性块 ============ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 8px 8px 0 var(--secondary);
  background: #fff;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--tertiary);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}

/* ============ 数据条 ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 20px;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  background: var(--card-bg);
  transition: transform 0.2s;
}

.stat-item:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.stat-item:nth-child(1) {
  background: #FFF7F5;
  box-shadow: 4px 4px 0 var(--primary);
}

.stat-item:nth-child(2) {
  background: #F0FAF8;
  box-shadow: 4px 4px 0 var(--secondary);
}

.stat-item:nth-child(3) {
  background: #FEF9E9;
  box-shadow: 4px 4px 0 var(--tertiary);
}

.stat-item:nth-child(4) {
  background: #FFF2EE;
  box-shadow: 4px 4px 0 #FF8A6B;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ============ 内容墙 ============ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--card-bg);
  box-shadow: 4px 4px 0 var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-wall-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--primary);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--border);
  display: block;
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}

.content-wall-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--border);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 3px 3px 0 rgba(45, 37, 32, 0.08);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 3px 3px 0 rgba(255, 92, 57, 0.2);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  color: var(--text);
  gap: 16px;
}

.faq-question::after {
  content: '＋';
  font-weight: 900;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '－';
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: var(--text-muted);
  border-top: 1px dashed #D9CDBF;
  padding-top: 12px;
  margin-top: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ CTA 横幅 ============ */
.cta-banner {
  padding: 56px 24px;
  text-align: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #FF8A6B 60%, #FFB37A 100%);
  border: 2px solid var(--border);
  box-shadow: 8px 8px 0 var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner::after {
  content: '★';
  position: absolute;
  right: 6%;
  bottom: 10%;
  font-size: 2.6rem;
  color: var(--tertiary);
  transform: rotate(-15deg);
  opacity: 0.85;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
}

.cta-banner .btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--border);
}

/* ============ 页脚 ============ */
.site-footer {
  padding: 56px 0 28px;
  background: #F2E8DB;
  border-top: 2px solid var(--border);
  background-image: radial-gradient(rgba(45,37,32,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(45, 37, 32, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============ 工具类 ============ */
.text-accent {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .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: var(--bg);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 12px 24px rgba(45, 37, 32, 0.08);
  }

  .main-nav.open .nav-cta {
    display: inline-flex;
    justify-content: center;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-image {
    width: 100%;
    min-width: 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;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 56px 0;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}