/* =========================================================
   「比较OK的动漫」Manga Halftone Pop Design System
   —— 手绘漫画 · 半调网点 · 热血编辑部
   ========================================================= */

/* ---------- 基础重置 ---------- */
*, *::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: #FDF9F0;
  background-image: radial-gradient(circle, rgba(45, 37, 32, 0.035) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  color: #2D2520;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  letter-spacing: 0.01em;
}

a { color: inherit; }

::selection {
  background: #FFC531;
  color: #2D2520;
}

/* 自定义滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #FDF9F0; }
::-webkit-scrollbar-thumb {
  background: #FF5A5F;
  border-radius: 50px;
  border: 2px solid #2D2520;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* 偶数区段：暖米色 + 彩色漫画条纹 */
.section:nth-child(even) {
  background: #FFF4E3;
  background-image: radial-gradient(circle, rgba(45, 37, 32, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #FF5A5F 0px, #FF5A5F 48px,
    transparent 48px, transparent 72px,
    #00C2A8 72px, #00C2A8 120px,
    transparent 120px, transparent 144px,
    #FFC531 144px, #FFC531 192px,
    transparent 192px, transparent 216px
  );
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

/* ---------- 导航：复古漫画油墨横条 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 249, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid #2D2520;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.3rem;
  text-decoration: none;
  color: #2D2520;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #FF5A5F;
  border: 2px solid #2D2520;
  box-shadow: 3px 3px 0 #2D2520;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transform: rotate(-8deg);
  transition: transform 0.25s ease;
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2D2520;
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #FF5A5F;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-nav a:hover { color: #FF5A5F; }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  background: #2D2520;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 0 #FF5A5F;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #FF5A5F;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 2px solid #2D2520;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  box-shadow: 3px 3px 0 rgba(45, 37, 32, 0.15);
}

.menu-toggle::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
  background: #2D2520;
  box-shadow: 0 -6px 0 #2D2520, 0 6px 0 #2D2520;
  border-radius: 2px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* ---------- Hero：漫画对话框 · OK宣言 ---------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 197, 49, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(0, 194, 168, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 70% 85%, rgba(255, 90, 95, 0.12) 0%, transparent 45%);
}

/* 半调网点泡泡 */
.hero::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: 5%;
  top: 18%;
  border-radius: 50%;
  background-image: radial-gradient(#FF5A5F 2.5px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}

/* 竖排水印：漫有态度 */
.hero::after {
  content: '漫 有 态 度';
  position: absolute;
  right: 4%;
  bottom: 5%;
  writing-mode: vertical-rl;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.8em;
  color: rgba(45, 37, 32, 0.07);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid #2D2520;
  border-radius: 28px 28px 28px 12px;
  padding: 52px 56px;
  box-shadow: 12px 12px 0 #FF5A5F;
  transform: rotate(-0.3deg);
  flex: 1 1 480px;
}

/* 漫画贴纸 "OK!" */
.hero-content::before {
  content: 'OK!';
  position: absolute;
  top: -22px;
  right: 36px;
  background: #FFC531;
  border: 2px solid #2D2520;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  font-style: italic;
  color: #2D2520;
  transform: rotate(12deg);
  box-shadow: 3px 4px 0 #2D2520;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 100px;
  background: #00C2A8;
  color: #fff;
  border: 2px solid #2D2520;
  box-shadow: 3px 3px 0 #2D2520;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #2D2520;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 380px;
  position: relative;
  z-index: 1;
  border: 3px solid #2D2520;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 10px 10px 0 #00C2A8;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 按钮：手绘粗犷 · 错位深影 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid #2D2520;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
}

.btn-primary {
  background: #FF5A5F;
  color: #fff;
  box-shadow: 5px 5px 0 #2D2520;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #2D2520;
  color: #fff;
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #2D2520;
}

.btn-outline {
  background: transparent;
  border: 2px solid #2D2520;
  color: #2D2520;
  box-shadow: 5px 5px 0 rgba(45, 37, 32, 0.2);
}

.btn-outline:hover {
  background: #2D2520;
  color: #fff;
  box-shadow: 5px 5px 0 #00C2A8;
}

/* ---------- 标签 / 标题：漫画印章 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 6px 18px;
  background: #FF5A5F;
  color: #fff;
  border: 2px solid #2D2520;
  border-radius: 100px;
  box-shadow: 3px 3px 0 #2D2520;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.3;
  position: relative;
}

/* 黄色标尺下划线 */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  background: #FFC531;
  border: 2px solid #2D2520;
  border-radius: 100px;
  margin-top: 10px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.72;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

/* ---------- 卡片网格：漫画分镜 · 硬边框 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #FFFFFF;
  border: 2px solid #2D2520;
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 6px 6px 0 rgba(45, 37, 32, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.category-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 #FF5A5F;
}

/* 角落的漫画圆点 */
.category-card::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: #FFC531;
  border-radius: 50%;
  border: 2px solid #2D2520;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #FFF4E3;
  border: 2px solid #2D2520;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 rgba(45, 37, 32, 0.2);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: #FF5A5F;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.card-link:hover { gap: 10px; }

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border: 3px solid #2D2520;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 10px 10px 0 #FFC531;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  width: 24px;
  height: 24px;
  background: #00C2A8;
  color: #fff;
  border: 2px solid #2D2520;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 #2D2520;
}

/* ---------- 数据条：彩色领奖台 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: #FFFFFF;
  border: 2px solid #2D2520;
  border-radius: 20px;
  padding: 32px 20px;
  box-shadow: 6px 6px 0 #00C2A8;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #FFC531;
}

.stat-item:nth-child(1) { box-shadow: 6px 6px 0 #00C2A8; }
.stat-item:nth-child(2) { box-shadow: 6px 6px 0 #FF5A5F; }
.stat-item:nth-child(3) { box-shadow: 6px 6px 0 #FFC531; }
.stat-item:nth-child(4) { box-shadow: 6px 6px 0 #FF5A5F; }
.stat-item:nth-child(1):hover { box-shadow: 9px 9px 0 #00C2A8; }
.stat-item:nth-child(2):hover { box-shadow: 9px 9px 0 #FF5A5F; }
.stat-item:nth-child(3):hover { box-shadow: 9px 9px 0 #00C2A8; }
.stat-item:nth-child(4):hover { box-shadow: 9px 9px 0 #FF5A5F; }

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: "Arial Black", "PingFang SC", sans-serif;
  color: #FF5A5F;
  line-height: 1.1;
  display: block;
}

.stat-item:nth-child(1) .stat-number { color: #00C2A8; }
.stat-item:nth-child(2) .stat-number { color: #FF5A5F; }
.stat-item:nth-child(3) .stat-number { color: #E09300; }
.stat-item:nth-child(4) .stat-number { color: #FF5A5F; }

.stat-label {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 8px;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- 内容墙：漫画栏 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #FFFFFF;
  border: 2px solid #2D2520;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(45, 37, 32, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content-wall-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 #00C2A8;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #2D2520;
  display: block;
}

.content-wall-body {
  padding: 22px 20px;
}

/* ---------- FAQ：可展开对话框 ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 2px solid #2D2520;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 rgba(45, 37, 32, 0.2);
}

.faq-item.open {
  border-color: #FF5A5F;
  box-shadow: 6px 6px 0 rgba(255, 90, 95, 0.35);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 800;
  color: #FF5A5F;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  display: none;
  opacity: 0.75;
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA 横幅：热血全开 ---------- */
.cta-banner {
  position: relative;
  padding: 64px 48px;
  text-align: center;
  border-radius: 28px;
  color: #2D2520;
  background: linear-gradient(135deg, #FFC531 0%, #FF5A5F 100%);
  border: 3px solid #2D2520;
  box-shadow: 10px 10px 0 #2D2520;
  overflow: hidden;
}

/* 半调白点叠加 */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 2px, transparent 2.5px);
  background-size: 22px 22px;
  pointer-events: none;
}

.cta-banner h2 {
  color: #2D2520;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  color: #2D2520;
  opacity: 0.8;
  margin-bottom: 28px;
}

.cta-banner .btn-primary {
  background: #2D2520;
  color: #fff;
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.6);
  z-index: 1;
  position: relative;
}

.cta-banner .btn-primary:hover {
  box-shadow: 7px 7px 0 #fff;
  background: #FF5A5F;
  color: #fff;
}

/* ---------- 页脚：编辑部底栏 ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: #FFF4E3;
  background-image: radial-gradient(circle, rgba(45, 37, 32, 0.035) 1px, transparent 1.2px);
  background-size: 24px 24px;
  border-top: 3px solid #2D2520;
  color: #2D2520;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(45, 37, 32, 0.2);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #2D2520;
  opacity: 0.7;
  font-size: 0.85rem;
  padding: 5px 0;
  transition: opacity 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: #FF5A5F;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 2px dashed rgba(45, 37, 32, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* ---------- 工具类 ---------- */
.text-accent {
  position: relative;
  display: inline-block;
  color: #2D2520;
  font-weight: 900;
}

.text-accent::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 14px;
  background: #FFC531;
  z-index: -1;
  border-radius: 4px;
  opacity: 0.8;
}

.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #FDF9F0;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 3px solid #2D2520;
    box-shadow: 0 10px 20px rgba(45, 37, 32, 0.15);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 80px;
    min-height: auto;
  }

  .hero-content {
    padding: 40px 32px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-image {
    min-width: 280px;
  }
}

@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;
  }

  .btn {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .hero-content {
    padding: 28px 24px;
    box-shadow: 8px 8px 0 #FF5A5F;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .cta-banner {
    padding: 44px 24px;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}