/* ==========================================================
   禁漫天堂 · 漫画波普设计系统
   禁绝滥俗 / 漫享天堂
   ========================================================== */

*, *::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: #FDF8EF;
  color: #2D2D2D;
  line-height: 1.6;
  background-image:
    radial-gradient(circle, rgba(45, 45, 45, 0.035) 1px, transparent 1px);
  background-size: 16px 16px;
}

::selection {
  background: #FFD166;
  color: #2D2D2D;
}

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #FDF8EF;
}
::-webkit-scrollbar-thumb {
  background: #E63946;
  border: 3px solid #FDF8EF;
  border-radius: 6px;
}

/* ==========================================================
   容器 / 区块
   ========================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #F4EEE2;
}

/* ==========================================================
   站点导航
   ========================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid #2D2D2D;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  color: #2D2D2D;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: #FFD166;
  border: 2.5px solid #2D2D2D;
  box-shadow: 2px 2px 0 #2D2D2D;
  transform: rotate(-8deg);
  font-weight: 900;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(8deg) 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: 600;
  color: #2D2D2D;
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 10px;
  background: #FFD166;
  z-index: -1;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 700;
  background: #E63946;
  border: 2.5px solid #2D2D2D;
  box-shadow: 3px 3px 0 #2D2D2D;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: #4A90D9;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #2D2D2D;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2.5px solid #2D2D2D;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #2D2D2D;
  transition: all 0.2s ease;
}

.menu-toggle:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #2D2D2D;
}

.menu-toggle span {
  width: 20px;
  height: 2.5px;
  background: #2D2D2D;
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

/* ==========================================================
   Hero 首屏
   ========================================================== */

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
  background: #FDF8EF;
  padding: 140px 24px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 4px dashed rgba(74, 144, 217, 0.3);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  background: #FFD166;
  border: 2px solid #2D2D2D;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 #2D2D2D;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #2D2D2D;
  text-shadow: 4px 4px 0 #FFD166, 8px 8px 0 rgba(230, 57, 70, 0.12);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
  border-left: 4px solid #E63946;
  padding-left: 18px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 0 38%;
  border-radius: 0;
  overflow: hidden;
  border: 3px solid #2D2D2D;
  box-shadow: 10px 10px 0 #FFD166, 14px 14px 0 #2D2D2D;
  transform: rotate(2deg);
  background: #fff;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.hero-image::before {
  content: '✦';
  position: absolute;
  top: -20px;
  left: -14px;
  width: 48px;
  height: 48px;
  background: #4A90D9;
  border: 2.5px solid #2D2D2D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  z-index: 3;
  font-weight: 900;
  box-shadow: 2px 2px 0 #2D2D2D;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}

/* ==========================================================
   按钮
   ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: 2.5px solid #2D2D2D;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
}

.btn-primary {
  background: #E63946;
  color: #fff;
  box-shadow: 5px 5px 0 #2D2D2D;
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #2D2D2D;
  background: #d32f3c;
}

.btn-outline {
  background: transparent;
  color: #2D2D2D;
  border: 2.5px solid #2D2D2D;
  box-shadow: 5px 5px 0 #2D2D2D;
}

.btn-outline:hover {
  background: #FFD166;
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #2D2D2D;
}

/* ==========================================================
   区块标题
   ========================================================== */

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: #E63946;
  text-transform: uppercase;
  border-bottom: 2px dashed #2D2D2D;
  padding-bottom: 6px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '●';
  font-size: 0.5em;
  vertical-align: super;
  color: #FFD166;
  -webkit-text-stroke: 1.5px #2D2D2D;
  margin-left: 8px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.section-desc {
  max-width: 640px;
  opacity: 0.75;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================================
   卡片网格
   ========================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 0;
  padding: 30px;
  border: 3px solid #2D2D2D;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 6px 6px 0 #2D2D2D;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    #E63946,
    #E63946 8px,
    #FFD166 8px,
    #FFD166 16px
  );
  border-bottom: 2px solid #2D2D2D;
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 12px 12px 0 #2D2D2D;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: #FFD166;
  border: 2.5px solid #2D2D2D;
  box-shadow: 2px 2px 0 #2D2D2D;
  transition: transform 0.3s;
}

.category-card:hover .card-icon {
  transform: rotate(-10deg) scale(1.05);
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #E63946;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 2px solid #E63946;
  padding-bottom: 2px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
}

/* ==========================================================
   特性块
   ========================================================== */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 0;
  overflow: hidden;
  border: 3px solid #2D2D2D;
  box-shadow: 10px 10px 0 #4A90D9;
  position: relative;
  background: #fff;
}

.feature-image::after {
  content: '★';
  position: absolute;
  top: -18px;
  right: -12px;
  font-size: 1.1rem;
  color: #E63946;
  transform: rotate(15deg);
  background: #FFD166;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #2D2D2D;
  border-radius: 50%;
  box-shadow: 2px 2px 0 #2D2D2D;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 12px 0;
  position: relative;
}

.feature-text .section-title {
  margin-bottom: 20px;
}

.feature-text p {
  opacity: 0.75;
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: #fff;
  background: #E63946;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid #2D2D2D;
  flex-shrink: 0;
  box-shadow: 1px 1px 0 #2D2D2D;
}

/* ==========================================================
   数据条
   ========================================================== */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px;
  border-radius: 0;
  border: 3px solid #2D2D2D;
  background: #fff;
  box-shadow: 6px 6px 0 #2D2D2D;
  transform: rotate(-1deg);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #FFD166;
  border-top: 2px solid #2D2D2D;
}

.stat-item:nth-child(2) {
  transform: rotate(0.8deg);
}

.stat-item:nth-child(3) {
  transform: rotate(-0.6deg);
}

.stat-item:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 8px 8px 0 #2D2D2D;
}

.stat-number {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: #E63946;
  letter-spacing: -2px;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================
   内容墙
   ========================================================== */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 0;
  overflow: hidden;
  border: 3px solid #2D2D2D;
  background: #fff;
  box-shadow: 5px 5px 0 #2D2D2D;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.content-wall-item::after {
  content: '↗';
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FFD166;
  border: 2px solid #2D2D2D;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  opacity: 0;
  transform: rotate(-20deg);
  transition: all 0.3s;
  color: #2D2D2D;
}

.content-wall-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #2D2D2D;
}

.content-wall-item:hover::after {
  opacity: 1;
  transform: rotate(0deg);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #2D2D2D;
  display: block;
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================
   FAQ 手风琴
   ========================================================== */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 3px solid #2D2D2D;
  border-radius: 0;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 4px 4px 0 #2D2D2D;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 6px 6px 0 #2D2D2D;
}

.faq-item.open {
  transform: translateX(2px);
  box-shadow: 2px 2px 0 #2D2D2D;
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  border-left: 6px solid transparent;
}

.faq-item.open .faq-question {
  border-left-color: #E63946;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 900;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #E63946;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0;
  display: none;
  opacity: 0.7;
  border-top: 2px dashed rgba(45, 45, 45, 0.2);
  padding: 16px 24px 20px;
  line-height: 1.75;
  background: #FDF8EF;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================
   CTA 横幅
   ========================================================== */

.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 0;
  color: #2D2D2D;
  background: #FFD166;
  border: 3px solid #2D2D2D;
  box-shadow: 10px 10px 0 #2D2D2D;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 14px,
    rgba(45, 45, 45, 0.04) 14px,
    rgba(45, 45, 45, 0.04) 28px
  );
  pointer-events: none;
}

.cta-banner::after {
  content: '✦ ✦ ✦';
  position: absolute;
  bottom: 12px;
  right: 20px;
  font-size: 1.2rem;
  letter-spacing: 6px;
  opacity: 0.4;
  color: #2D2D2D;
}

.cta-banner h2 {
  color: #2D2D2D;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
  letter-spacing: -1px;
  position: relative;
}

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 28px;
  opacity: 0.7;
  font-size: 1.05rem;
  position: relative;
}

.cta-banner .btn-primary {
  background: #E63946;
  color: #fff;
  border: 2.5px solid #2D2D2D;
  box-shadow: 5px 5px 0 #2D2D2D;
  position: relative;
}

.cta-banner .btn-primary:hover {
  background: #d32f3c;
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #2D2D2D;
}

/* ==========================================================
   页脚
   ========================================================== */

.site-footer {
  padding: 64px 0 32px;
  background: #F4EEE2;
  border-top: 3px solid #2D2D2D;
  color: #2D2D2D;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.footer-brand p {
  margin-top: 14px;
  opacity: 0.65;
  line-height: 1.7;
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-col {
  font-size: 0.9rem;
}

.footer-col h4 {
  font-weight: 900;
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid #2D2D2D;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: inherit;
  text-decoration: none;
  opacity: 0.65;
  transition: all 0.2s ease;
  font-weight: 400;
}

.footer-col a:hover {
  opacity: 1;
  color: #E63946;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 2px dashed rgba(45, 45, 45, 0.2);
  margin-top: 40px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  letter-spacing: 0.5px;
}

/* ==========================================================
   工具类
   ========================================================== */

.text-accent {
  color: #E63946;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ==========================================================
   响应式
   ========================================================== */

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    gap: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #FDF8EF;
    padding: 24px;
    border-bottom: 3px solid #2D2D2D;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }

  .main-nav.open li {
    width: 100%;
  }

  .main-nav.open a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
  }

  .main-nav.open .nav-cta {
    display: inline-block;
    padding: 10px 22px;
    margin-top: 8px;
  }

  .hero {
    flex-direction: column;
    padding: 120px 24px 60px;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  .hero-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .section {
    padding: 64px 0;
  }

  .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;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-item {
    padding: 24px 12px;
  }

  .hero-image {
    box-shadow: 8px 8px 0 #FFD166, 11px 11px 0 #2D2D2D;
  }

  .faq-item .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-item .faq-answer {
    padding: 14px 18px 16px;
  }

  .cta-banner {
    box-shadow: 7px 7px 0 #2D2D2D;
  }
}