/* ================================================
   禁漫天堂 · jm发布页 · 糖果漫画解构系统
   鲜奶油底色 × 泡泡糖粉 × 蓝绿 × 明黄
   大胆漫画面板语言 · 轻快明亮 · 禁止深色
   ================================================ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  overflow-x:hidden;
  background-color:#FFF8F2;
  background-image: radial-gradient(rgba(45,42,50,0.035) 1px, transparent 1px);
  background-size:32px 32px;
  color:#2D2A32;
  line-height:1.7;
}

body::selection { background:#FFD60A; color:#2D2A32; }
::selection { background:#FFD60A; color:#2D2A32; }

::-webkit-scrollbar { width:8px; height:8px; }
::-webkit-scrollbar-track { background:#FFF8F2; }
::-webkit-scrollbar-thumb { background:#FF4D6D; border-radius:20px; }
::-webkit-scrollbar-thumb:hover { background:#2EC4B6; }

/* ============ 核心布局 ============ */
.container {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

.section {
  padding:80px 0;
  position:relative;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, #FFF0E8 0%, #FDEAF2 100%);
}

/* ============ 顶部导航 ============ */
.site-header {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(255,248,242,0.92);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:2px solid rgba(255,77,109,0.15);
  box-shadow:0 2px 24px rgba(255,77,109,0.06);
}

.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;
  letter-spacing:.5px;
  text-decoration:none;
  color:#2D2A32;
}

.logo-icon {
  width:40px;
  height:40px;
  background:linear-gradient(135deg, #FF4D6D, #FF8C42);
  border:2px solid #2D2A32;
  border-radius:14px 14px 14px 4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  color:#fff;
  font-weight:800;
  transform:rotate(-8deg);
  box-shadow:3px 3px 0 #FFD60A;
  transition:transform .3s;
}

.logo:hover .logo-icon { transform:rotate(0deg) scale(1.05); }

.main-nav {
  display:flex;
  align-items:center;
  gap:26px;
  list-style:none;
}

.main-nav a {
  text-decoration:none;
  font-size:.92rem;
  font-weight:600;
  color:#2D2A32;
  position:relative;
  padding:4px 2px;
  transition:color .2s;
}

.main-nav a::after {
  content:'';
  position:absolute;
  bottom:-2px;
  left:0;
  width:0%;
  height:3px;
  background:#FF4D6D;
  border-radius:4px;
  transition:width .3s ease;
}

.main-nav a:hover {
  color:#FF4D6D;
}

.main-nav a:hover::after { width:100%; }

.nav-cta {
  padding:10px 24px !important;
  background:#FF4D6D;
  color:#fff !important;
  border-radius:50px;
  box-shadow:0 4px 14px rgba(255,77,109,0.35);
  transition:all .25s !important;
}

.nav-cta::after { display:none !important; }

.nav-cta:hover {
  background:#2EC4B6;
  color:#fff !important;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(46,196,182,0.4);
}

.menu-toggle {
  display:none;
  width:46px;
  height:46px;
  background:#FFF8F2;
  border:2px solid #2D2A32;
  border-radius:14px;
  cursor:pointer;
  position:relative;
  box-shadow:2px 2px 0 #FFD60A;
}

.menu-toggle::before {
  content:'';
  position:absolute;
  left:10px;
  top:10px;
  width:22px;
  height:2px;
  background:#2D2A32;
  border-radius:2px;
  box-shadow:0 7px 0 #2D2A32, 0 14px 0 #2D2A32;
}

/* ============ Hero ============ */
.hero {
  min-height:80vh;
  display:flex;
  align-items:center;
  gap:60px;
  flex-wrap:wrap;
  max-width:1200px;
  margin:0 auto;
  padding:140px 24px 80px;
  position:relative;
  overflow:hidden;
}

.hero::before {
  content:'JM';
  position:absolute;
  top:10%;
  right:-2%;
  font-size:22rem;
  font-weight:900;
  line-height:1;
  color:rgba(255,77,109,0.05);
  z-index:0;
  pointer-events:none;
  letter-spacing:-8px;
}

.hero::after {
  content:'✦';
  position:absolute;
  bottom:15%;
  right:8%;
  font-size:4rem;
  color:rgba(255,214,10,0.4);
  z-index:0;
  pointer-events:none;
}

.hero-content {
  flex:1;
  min-width:300px;
  max-width:620px;
  position:relative;
  z-index:1;
}

.hero-eyebrow {
  display:inline-block;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:1px;
  padding:6px 18px;
  border-radius:30px;
  background:#FFD60A;
  border:2px solid #2D2A32;
  box-shadow:3px 3px 0 #FF4D6D;
  margin-bottom:18px;
  transform:rotate(-3deg);
  white-space:nowrap;
}

.hero h1 {
  font-size:clamp(2.4rem, 5vw, 4rem);
  font-weight:900;
  line-height:1.12;
  letter-spacing:-2px;
  margin-bottom:20px;
  color:#2D2A32;
}

.hero h1 .text-accent {
  color:#FF4D6D;
  position:relative;
  z-index:1;
}

.hero h1 .text-accent::after {
  content:'';
  position:absolute;
  bottom:4px;
  left:0;
  width:100%;
  height:10px;
  background:rgba(255,214,10,.55);
  z-index:-1;
  border-radius:6px;
}

.hero p {
  font-size:1.1rem;
  opacity:.72;
  max-width:540px;
  margin-bottom:34px;
  line-height:1.8;
}

.hero-buttons {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-image {
  flex:1;
  min-width:300px;
  border-radius:28px;
  overflow:hidden;
  position:relative;
  border:3px solid #2D2A32;
  box-shadow:12px 12px 0 #2EC4B6;
  transform:rotate(2deg);
  background:linear-gradient(135deg, #FFD60A, #FF4D6D, #2EC4B6);
  transition:transform .4s;
}

.hero-image:hover {
  transform:rotate(0deg) translateY(-4px);
  box-shadow:16px 16px 0 rgba(46,196,182,.8);
}

.hero-image::before {
  content:'JM 2024';
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) rotate(-12deg);
  font-size:3rem;
  font-weight:900;
  letter-spacing:6px;
  color:rgba(255,255,255,.35);
  white-space:nowrap;
  z-index:2;
  pointer-events:none;
}

.hero-image img {
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  display:block;
  position:relative;
  z-index:1;
}

/* ============ 按钮 ============ */
.btn {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 30px;
  border-radius:50px;
  font-weight:700;
  font-size:.95rem;
  cursor:pointer;
  border:none;
  text-decoration:none;
  transition:all .25s ease;
  white-space:nowrap;
}

.btn-primary {
  background:#FF4D6D;
  color:#fff;
  box-shadow:0 4px 16px rgba(255,77,109,.35);
}

.btn-primary:hover {
  transform:translateY(-3px) rotate(-1deg);
  box-shadow:0 10px 24px rgba(255,77,109,.45);
}

.btn-outline {
  background:transparent;
  border:2px solid #2D2A32;
  color:#2D2A32;
  box-shadow:3px 3px 0 #FFD60A;
}

.btn-outline:hover {
  background:#FFD60A;
  color:#2D2A32;
  transform:translate(-2px, -2px);
  box-shadow:6px 6px 0 #FF4D6D;
}

/* ============ 章节标题 ============ */
.section-label {
  display:inline-block;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:3px;
  color:#FF4D6D;
  background:rgba(255,77,109,.1);
  padding:6px 16px;
  border-radius:20px;
  margin-bottom:12px;
  text-transform:uppercase;
}

.section-title {
  font-size:2.2rem;
  font-weight:900;
  line-height:1.2;
  margin-bottom:14px;
  color:#2D2A32;
  position:relative;
  display:inline-block;
  letter-spacing:-1px;
}

.section-title::after {
  content:'';
  position:absolute;
  bottom:-6px;
  left:0;
  width:64px;
  height:7px;
  background:#2EC4B6;
  border-radius:8px;
}

.section-desc {
  max-width:600px;
  opacity:.75;
  margin-bottom:44px;
  font-size:1rem;
  line-height:1.8;
}

/* ============ 卡片网格 ============ */
.cards-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:28px;
}

.category-card {
  background:#fff;
  border-radius:18px 18px 18px 6px;
  padding:30px 28px;
  border:2px solid #2D2A32;
  position:relative;
  transition:all .3s cubic-bezier(.2,.8,.2,1);
  box-shadow:6px 6px 0 rgba(255,77,109,.75);
  overflow:hidden;
}

.category-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:6px;
  background:linear-gradient(90deg, #FF4D6D, #FF8C42);
  z-index:1;
}

.category-card:nth-child(2n) {
  box-shadow:6px 6px 0 rgba(46,196,182,.75);
}

.category-card:nth-child(3n) {
  box-shadow:6px 6px 0 rgba(255,214,10,.9);
}

.category-card:nth-child(2n)::before {
  background:linear-gradient(90deg, #2EC4B6, #6FE3D8);
}

.category-card:nth-child(3n)::before {
  background:linear-gradient(90deg, #FFD60A, #FFA500);
}

.category-card:hover {
  transform:translateY(-8px) rotate(-1.2deg);
  box-shadow:10px 10px 0 rgba(255,77,109,.85);
  border-color:#2D2A32;
}

.category-card:nth-child(2n):hover {
  box-shadow:10px 10px 0 rgba(46,196,182,.85);
}

.category-card:nth-child(3n):hover {
  box-shadow:10px 10px 0 rgba(255,214,10,1);
}

.card-icon {
  width:52px;
  height:52px;
  border-radius:16px 16px 16px 4px;
  background:rgba(255,77,109,.12);
  border:2px solid rgba(255,77,109,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  font-size:1.4rem;
  font-weight:900;
  color:#FF4D6D;
  transition:transform .3s;
}

.category-card:hover .card-icon {
  transform:rotate(-10deg) scale(1.08);
}

.category-card h3 {
  font-size:1.25rem;
  font-weight:800;
  margin-bottom:8px;
}

.category-card p {
  font-size:.88rem;
  opacity:.65;
  line-height:1.7;
  margin-bottom:16px;
}

.card-link {
  font-weight:800;
  font-size:.85rem;
  text-decoration:none;
  color:#FF4D6D;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:gap .25s;
}

.card-link::after {
  content:'';
  width:7px;
  height:7px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:rotate(45deg);
  transition:transform .25s;
}

.card-link:hover {
  gap:12px;
  color:#2EC4B6;
}

.card-link:hover::after {
  transform:rotate(45deg) translate(2px, -2px);
}

/* ============ 特性区块 ============ */
.feature-block {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}

.feature-image {
  border-radius:24px;
  overflow:hidden;
  border:3px solid #2D2A32;
  box-shadow:10px 10px 0 #FF4D6D;
  position:relative;
  transform:rotate(-2deg);
}

.feature-image::before {
  content:'';
  position:absolute;
  top:-14px;
  right:-14px;
  width:48px;
  height:48px;
  background:#FFD60A;
  border:2px solid #2D2A32;
  border-radius:50%;
  z-index:2;
}

.feature-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  min-height:300px;
}

.feature-text { position:relative; }

.feature-text .section-label { margin-bottom:10px; }

.feature-text h3 {
  font-size:1.8rem;
  font-weight:900;
  line-height:1.3;
  margin-bottom:16px;
  color:#2D2A32;
}

.feature-text p {
  font-size:1rem;
  opacity:.7;
  line-height:1.8;
  margin-bottom:24px;
}

.feature-list {
  list-style:none;
}

.feature-list li {
  padding:8px 0;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1.02rem;
  font-weight:500;
}

.feature-list li::before {
  content:'✓';
  font-weight:900;
  color:#FF4D6D;
  background:rgba(255,77,109,.12);
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:.75rem;
  flex-shrink:0;
  border:1.5px solid rgba(255,77,109,.3);
}

/* ============ 数据条 ============ */
.stats-bar {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
  text-align:center;
}

.stat-item {
  --shadow-color:#FF4D6D;
  --rot:-2deg;
  padding:32px 20px;
  border-radius:20px;
  background:#fff;
  border:2px solid #2D2A32;
  transform:rotate(var(--rot));
  transition:all .3s ease;
  box-shadow:6px 6px 0 var(--shadow-color);
  position:relative;
}

.stat-item:nth-child(1) { --rot:-2deg;   --shadow-color:#FF4D6D; background:#FFE8F0; }
.stat-item:nth-child(2) { --rot:1.5deg;  --shadow-color:#2EC4B6; background:#E8FFF8; }
.stat-item:nth-child(3) { --rot:-1deg;   --shadow-color:#FFD60A; background:#FFF9E8; }
.stat-item:nth-child(4) { --rot:2deg;    --shadow-color:#9B5DE5; background:#F4EBFF; }

.stat-item:hover {
  transform:rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow:10px 10px 0 var(--shadow-color);
}

.stat-number {
  font-size:2.6rem;
  font-weight:900;
  line-height:1;
  letter-spacing:-2px;
  color:#2D2A32;
}

.stat-label {
  font-size:.88rem;
  opacity:.6;
  margin-top:8px;
  font-weight:600;
  letter-spacing:.5px;
}

/* ============ 内容墙 ============ */
.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 #2D2A32;
  background:#fff;
  transition:all .3s cubic-bezier(.2,.8,.2,1);
  position:relative;
  box-shadow:5px 5px 0 rgba(45,42,50,.1);
}

.content-wall-item:hover {
  transform:translateY(-6px) rotate(1deg);
  box-shadow:9px 9px 0 rgba(255,77,109,.8);
}

.content-wall-item:nth-child(2n):hover {
  box-shadow:9px 9px 0 rgba(46,196,182,.8);
}

.content-wall-item:nth-child(3n):hover {
  box-shadow:9px 9px 0 rgba(255,214,10,.9);
}

.content-wall-item img {
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  border-bottom:2px solid #2D2A32;
  transition:transform .4s;
}

.content-wall-item:hover img {
  transform:scale(1.03);
}

.content-wall-body {
  padding:22px 20px;
}

.content-wall-body h3 {
  font-size:1.1rem;
  font-weight:800;
  margin-bottom:6px;
}

.content-wall-body p {
  font-size:.87rem;
  opacity:.65;
  line-height:1.7;
}

/* ============ FAQ ============ */
.faq-list {
  max-width:800px;
  margin:0 auto;
}

.faq-item {
  border:2px solid #F0C9D4;
  border-radius:18px;
  margin-bottom:12px;
  overflow:hidden;
  cursor:pointer;
  background:#fff;
  transition:all .3s ease;
}

.faq-item:hover {
  border-color:#FF4D6D;
  box-shadow:0 4px 14px rgba(255,77,109,.12);
}

.faq-item .faq-question {
  padding:20px 24px;
  font-weight:700;
  font-size:1.02rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  color:#2D2A32;
}

.faq-item .faq-question::after {
  content:'+';
  font-size:1.6rem;
  font-weight:400;
  line-height:1;
  color:#FF4D6D;
  transition:transform .35s;
  flex-shrink:0;
}

.faq-item.open .faq-question::after {
  transform:rotate(45deg);
}

.faq-item.open {
  border-color:#FF4D6D;
  box-shadow:0 6px 18px rgba(255,77,109,.15);
}

.faq-item .faq-answer {
  padding:0 24px 22px;
  display:none;
  opacity:.72;
  line-height:1.8;
  font-size:.95rem;
}

.faq-item.open .faq-answer {
  display:block;
  animation:faqIn .3s ease;
}

@keyframes faqIn {
  from { opacity:0; transform:translateY(-6px); }
  to { opacity:.72; transform:translateY(0); }
}

/* ============ CTA ============ */
.cta-banner {
  padding:60px 32px;
  text-align:center;
  border-radius:28px;
  color:#fff;
  background:linear-gradient(135deg, #FF4D6D 0%, #FF8C42 100%);
  border:3px solid #2D2A32;
  box-shadow:10px 10px 0 #FFD60A;
  position:relative;
  overflow:hidden;
}

.cta-banner::before {
  content:'✦ ✦';
  position:absolute;
  top:-10px;
  left:20px;
  font-size:3rem;
  opacity:.15;
  letter-spacing:10px;
}

.cta-banner::after {
  content:'';
  position:absolute;
  bottom:-40px;
  right:-40px;
  width:140px;
  height:140px;
  background:rgba(255,255,255,.1);
  border-radius:50%;
}

.cta-banner h2 {
  color:#fff;
  font-size:2rem;
  font-weight:900;
  letter-spacing:-1px;
  margin-bottom:10px;
  position:relative;
  z-index:1;
}

.cta-banner p {
  color:rgba(255,255,255,.9);
  position:relative;
  z-index:1;
  margin-bottom:24px;
  font-size:1rem;
}

.cta-banner .btn-primary {
  background:#fff;
  color:#FF4D6D;
  box-shadow:0 4px 16px rgba(0,0,0,.18);
  position:relative;
  z-index:1;
}

.cta-banner .btn-primary:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}

/* ============ 页脚 ============ */
.site-footer {
  padding:56px 0 28px;
  background:#FFFDF8;
  border-top:3px dashed #FFD60A;
  color:#2D2A32;
  margin-top:40px;
}

.site-footer .container { }

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
}

.footer-brand .logo {
  margin-bottom:12px;
}

.footer-brand p {
  font-size:.9rem;
  opacity:.65;
  line-height:1.8;
  max-width:300px;
}

.footer-col h4 {
  font-size:.82rem;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#FF4D6D;
  margin-bottom:16px;
}

.footer-col a {
  display:block;
  color:#2D2A32;
  text-decoration:none;
  padding:3px 0;
  font-size:.9rem;
  opacity:.72;
  transition:all .2s;
}

.footer-col a:hover {
  opacity:1;
  color:#FF4D6D;
  transform:translateX(5px);
}

.footer-bottom {
  border-top:1px solid rgba(45,42,50,.08);
  margin-top:40px;
  padding-top:20px;
  text-align:center;
  font-size:.85rem;
  opacity:.65;
}

/* ============ 工具类 ============ */
.text-accent { color:#FF4D6D; }
.text-center { text-align:center; }

.seo-description {
  max-width:600px;
  margin:0 auto 48px;
  opacity:.72;
  line-height:1.8;
}

.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .hero { gap:40px; padding-top:110px; }
  .hero::before { font-size:14rem; }
  .stats-bar { gap:16px; }
  .footer-grid { gap:24px; }
}

@media (max-width: 768px) {
  .feature-block { grid-template-columns:1fr; gap:40px; }
  .stats-bar { grid-template-columns:repeat(2, 1fr); gap:16px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }

  .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:#FFF8F2;
    padding:20px;
    gap:4px;
    border-bottom:3px solid #FF4D6D;
    box-shadow:0 16px 32px rgba(45,42,50,.12);
  }

  .main-nav.open a {
    display:block;
    padding:10px 14px;
    font-size:1rem;
    border-radius:12px;
  }

  .main-nav.open a:hover {
    background:rgba(255,77,109,.08);
    color:#FF4D6D;
  }

  .main-nav.open .nav-cta {
    text-align:center;
    color:#fff !important;
    margin-top:6px;
    background:#FF4D6D;
  }

  .hero {
    flex-direction:column;
    text-align:center;
    padding-top:110px;
  }

  .hero p {
    margin-left:auto;
    margin-right:auto;
  }

  .hero-buttons {
    justify-content:center;
  }

  .hero-image {
    width:100%;
    flex:none;
    transform:rotate(1deg);
  }
}

@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%; }

  .btn { width:100%; justify-content:center; }

  .hero h1 { font-size:2.2rem; }

  .hero-image img { min-height:240px; }

  .section-title { font-size:1.7rem; }

  .cta-banner { padding:40px 20px; }
}