/* ============================================
   禁漫天堂官网 - 纯净浏览设计系统
   风格: 杂志风 + 柔光渐变 + 圆润卡片
   配色: 浅薄荷绿 (#E8F5E9) + 珊瑚粉 (#FF8A80) + 淡紫灰
   禁止黑色/深色背景，保持明亮通透
   ============================================ */

*, *::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: #F5F9F7; /* 极浅薄荷底色 */
  color: #2D3E3F;       /* 深茶绿字，柔和 */
  line-height: 1.6;
}

/* 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section { padding:80px 0; }
.section:nth-child(even) { background: #F0F7F4; } /* 浅灰绿交替 */

/* 导航 — 磨砂玻璃 + 珊瑚点缀 */
.site-header {
  position: fixed;
  top:0; left:0; width:100%;
  z-index:1000;
  background: rgba(245, 249, 247, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 138, 128, 0.2);
}

.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: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #2D3E3F;
  letter-spacing: 1px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(145deg, #FF8A80, #FFC1B0);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 138, 128, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3D5A5C;
  transition: all 0.25s ease;
  position: relative;
  padding: 4px 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #FF8A80;
  transition: width 0.3s;
}

.main-nav a:hover { color: #FF6F61; }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 9px 24px;
  border-radius: 40px;
  background: linear-gradient(135deg, #FF8A80, #FFB3A0);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 138, 128, 0.3);
  transition: 0.3s;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 138, 128, 0.4); }
.nav-cta::after { display: none !important; }

.menu-toggle { display: none; }

/* 首页Hero — 杂志封面感 */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(120deg, #E8F5E9 0%, #F1F8E9 60%, #FFF3E0 100%);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255,138,128,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 720px; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 40px;
  background: #fff;
  color: #FF6F61;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(255,138,128,0.15);
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  color: #1A2E2F;
  letter-spacing: -0.5px;
}

.hero h1 span { color: #FF6F61; }

.hero p {
  font-size: 1.15rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 34px;
  color: #3D5A5C;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

.hero-image img { width: 100%; height: auto; display: block; }

/* 按钮系统 — 圆润柔和 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #FF8A80, #FF6F61);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 138, 128, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 138, 128, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid #FF8A80;
  color: #FF6F61;
}

.btn-outline:hover {
  background: #FF8A80;
  color: #fff;
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #FF8A80;
  background: rgba(255,138,128,0.1);
  padding: 4px 16px;
  border-radius: 20px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #1A2E2F;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  font-size: 1.05rem;
  color: #4A6A6B;
}

/* 卡片网格 — 杂志卡片风格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(200, 220, 210, 0.4);
  transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #FF8A80, #FFC1B0);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255, 138, 128, 0.12);
  border-color: rgba(255, 138, 128, 0.25);
}

.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: linear-gradient(145deg, #E8F5E9, #F1F8E9);
  color: #FF6F61;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #FF6F61;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  transition: 0.2s;
}

.card-link:hover { gap: 12px; }

/* 特性块 — 左右交错 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.feature-image img { width: 100%; height: auto; display: block; }

.feature-text { }

.feature-list {
  list-style: none;
  margin-top: 10px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #2D3E3F;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #FF8A80;
  font-size: 1.2rem;
}

/* 数据条 — 珊瑚数字 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(200, 220, 210, 0.3);
  transition: 0.3s;
}

.stat-item:hover {
  box-shadow: 0 6px 20px rgba(255,138,128,0.1);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #FF6F61;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
  color: #4A6A6B;
}

/* 内容墙 — 瀑布杂志网格 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(200, 220, 210, 0.3);
  transition: all 0.35s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 138, 128, 0.1);
  border-color: rgba(255, 138, 128, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 24px 22px 26px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1A2E2F;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.65;
  color: #4A6A6B;
}

/* FAQ — 圆润折叠 */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(200, 220, 210, 0.4);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.2s;
}

.faq-item:hover { border-color: rgba(255,138,128,0.3); }

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1A2E2F;
  font-size: 1.05rem;
}

.faq-item .faq-question::after {
  content: '↓';
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #FF8A80;
}

.faq-item.open .faq-question::after { transform: rotate(180deg); }

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  color: #3D5A5C;
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* CTA横幅 — 珊瑚渐变 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #FF8A80, #FF6F61, #FFB3A0);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 138, 128, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6F61;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  background: #FFF5F0;
  transform: translateY(-2px);
}

/* 页脚 — 浅色+珊瑚细节 */
.site-footer {
  padding: 60px 0 28px;
  background: #E8F5E9;
  border-top: 1px solid rgba(255,138,128,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p { opacity: 0.65; margin-top: 8px; color: #3D5A5C; }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1A2E2F;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  text-decoration: none;
  color: #4A6A6B;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col ul li a:hover { color: #FF6F61; }

.footer-bottom {
  border-top: 1px solid rgba(255,138,128,0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #4A6A6B;
  opacity: 0.7;
}

/* 工具类 */
.text-accent { color: #FF6F61; }
.text-center { text-align: center; }
.seo-description { max-width: 600px; margin: 0 auto 48px; opacity: 0.7; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 — 保留杂志感 */
@media (max-width: 768px) {
  .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; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; background: rgba(255,138,128,0.1); border-radius: 12px; border: none; font-size: 1.4rem; color: #FF6F61; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; width: 100%; background: rgba(245, 249, 247, 0.98); backdrop-filter: blur(14px); padding: 24px 28px; gap: 18px; border-bottom: 1px solid rgba(255,138,128,0.2); }
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
}

@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; }
  .hero h1 { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
}