/* =============================================
   禁漫天堂 · 设计系统
   风格：暖陶土 × 蓝绿 · 复古未来杂志感
   域：jinmantiantang.qh.cn
   ============================================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #E85D5C;
  --primary-soft: #FCE8E4;
  --secondary: #2E9E8F;
  --secondary-soft: #DFF2EE;
  --accent: #F5B841;
  --accent-soft: #FFF1D6;
  --bg: #FFF9F0;
  --bg-alt: #F4EDE3;
  --card: #FFFFFF;
  --ink: #4A3333;
  --ink-light: #7B6666;
  --radius: 20px;
  --shadow-sm: 0 2px 8px rgba(74, 51, 51, 0.05);
  --shadow-md: 0 10px 30px rgba(74, 51, 51, 0.08);
  --shadow-lg: 0 18px 44px rgba(74, 51, 51, 0.12);
  --border-color: rgba(74, 51, 51, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #D8C9B8;
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ========== 核心布局 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--bg-alt);
  background-image: radial-gradient(rgba(232, 93, 92, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 12px rgba(74, 51, 51, 0.03);
}

.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.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 93, 92, 0.35);
  transform: rotate(-6deg);
  transition: transform 0.3s;
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 50px;
  color: #fff !important;
  background: var(--secondary);
  box-shadow: 0 4px 14px rgba(46, 158, 143, 0.3);
  transition: all 0.25s;
}

.nav-cta:hover {
  background: #26897D;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(46, 158, 143, 0.4);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--primary-soft);
}

/* ========== Hero ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 60% at 82% 25%, rgba(245, 184, 65, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 35% 45% at 10% 75%, rgba(46, 158, 143, 0.12) 0%, transparent 70%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 36px;
  right: 36px;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.25;
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '漫';
  position: absolute;
  bottom: 10px;
  right: 40px;
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  color: rgba(232, 93, 92, 0.05);
  pointer-events: none;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: -0.05em;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 680px;
}

.hero-image {
  flex: 1;
  max-width: 440px;
  max-height: 440px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  border: 6px solid #fff;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.04);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: var(--primary-soft);
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.85;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  border-radius: 2px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #F2796A 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 93, 92, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 93, 92, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* ========== 标签 / 标题 ========== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: var(--secondary);
  text-transform: uppercase;
  padding: 4px 16px;
  background: var(--secondary-soft);
  border-radius: 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 6px;
  margin-top: 10px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.65;
  margin-bottom: 48px;
  line-height: 1.8;
  font-size: 1.02rem;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-sm);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 93, 92, 0.3);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  transition: transform 0.3s;
}

.category-card:nth-child(2n) .card-icon {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.category-card:nth-child(3n) .card-icon {
  background: var(--accent-soft);
  color: #D0972A;
}

.category-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
}

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #fff;
  transition: transform 0.4s;
}

.feature-image:hover {
  transform: scale(1.01);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-text > p {
  opacity: 0.7;
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-item:nth-child(1) .stat-number { color: var(--primary); }
.stat-item:nth-child(2) .stat-number { color: var(--secondary); }
.stat-item:nth-child(3) .stat-number { color: #E0A526; }
.stat-item:nth-child(4) .stat-number { color: #B587D6; }

.stat-label {
  font-size: 0.9rem;
  opacity: 0.58;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-sm);
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 158, 143, 0.3);
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: var(--bg-alt);
  transition: transform 0.5s;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px 24px 24px;
}

.content-wall-body h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.6;
  line-height: 1.7;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: rgba(232, 93, 92, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0;
  color: var(--ink-light);
  line-height: 1.8;
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  display: block;
  opacity: 1;
  animation: fadeSlideDown 0.3s ease forwards;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CTA 横幅 ========== */
.cta-banner {
  padding: 60px 48px;
  text-align: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #D4574E 60%, #E8A24A 120%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(232, 93, 92, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 64px 0 28px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--ink-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-col a {
  display: block;
  color: var(--ink-light);
  text-decoration: none;
  padding: 5px 0;
  font-size: 0.92rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(74, 51, 51, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

.footer-bottom a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

/* ========== 工具类 ========== */
.text-accent {
  color: var(--primary);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.6;
  line-height: 1.8;
  font-size: 1.02rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== 响应式 ========== */
@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
    border-left: none;
    padding-left: 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 100%;
    transform: rotate(0);
  }

  .hero::after {
    font-size: 140px;
    right: 10px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 249, 240, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px 24px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 24px 40px rgba(74, 51, 51, 0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav a {
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-banner {
    padding: 48px 28px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}