/* ============================================================
   禁漫官网 — Design System "SOFT BRUTAL EDITORIAL"
   Palette: Cream / Ink / Coral / Mint / Lilac
   ============================================================ */

@import url('');

:root {
  --cream:      #FDFBF6;
  --cream-deep: #F4F0E6;
  --paper:      #FFFFFF;
  --ink:        #23201B;
  --ink-soft:   #5C554B;
  --line:       #E6E0D2;
  --coral:      #FF5B3A;
  --coral-soft: #FFE4DC;
  --mint:       #A9E8CD;
  --lilac:      #C9C2FF;
  --sun:        #FFD166;
  --radius:     18px;
  --radius-sm:  10px;
  --shadow-hard: 5px 5px 0 rgba(35, 32, 27, 0.9);
  --shadow-soft: 0 18px 40px -22px rgba(35, 32, 27, 0.35);
  --font: system-ui, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 基础重置 */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 209, 102, 0.22), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(201, 194, 255, 0.28), transparent 46%),
    radial-gradient(circle at 50% 96%, rgba(169, 232, 205, 0.30), transparent 50%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.72;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--coral); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream-deep); }
::-webkit-scrollbar-thumb {
  background: var(--coral);
  border-radius: 99px;
  border: 3px solid var(--cream-deep);
}

/* ============================================================
   核心布局
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; position: relative; }

.section:nth-child(even) {
  background: linear-gradient(180deg, rgba(244,240,230,0.85), rgba(244,240,230,0.85));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section:nth-child(even)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(35,32,27,0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.section > .container { position: relative; z-index: 1; }

/* ============================================================
   导航 — 固定顶部
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 246, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.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: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, #FF8A5B 55%, var(--sun) 100%);
  box-shadow: 3px 3px 0 rgba(35,32,27,0.85);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.logo:hover .logo-icon { transform: rotate(-12deg) scale(1.06); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s;
  position: relative;
  color: var(--ink);
  padding: 4px 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
}

.main-nav a:hover { color: var(--coral); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  padding: 8px 20px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--coral);
  transition: 0.2s;
}

.nav-cta::after { display: none; }
.nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--coral); color: #fff; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ============================================================
   首页 Hero
   ============================================================ */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 90px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -160px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--lilac), var(--mint), var(--sun), var(--coral-soft), var(--lilac));
  filter: blur(10px);
  opacity: 0.55;
  animation: floaty 18s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  left: -110px; bottom: -150px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 26px dashed rgba(255, 91, 58, 0.30);
  animation: spin 42s linear infinite;
}

@keyframes floaty {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-40px, 50px) scale(1.08); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero > .container { position: relative; z-index: 2; }

.hero-content { max-width: 720px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: var(--mint);
  color: #14432F;
  border: 1.5px solid rgba(35,32,27,0.85);
  box-shadow: 3px 3px 0 rgba(35,32,27,0.85);
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.9rem);
  line-height: 1.12;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero h1 .text-accent,
.hero h1 em {
  font-style: normal;
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.72;
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--ink-soft);
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(35,32,27,0.85);
  box-shadow: var(--shadow-hard);
  background: var(--paper);
}

.hero-image img { width: 100%; height: auto; }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.22s cubic-bezier(.2,.8,.2,1);
  letter-spacing: 0.01em;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #FF7A4D);
  box-shadow: 4px 4px 0 rgba(35,32,27,0.85);
}

.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 rgba(35,32,27,0.85);
}

.btn-outline {
  background: var(--paper);
  border: 1.5px solid rgba(35,32,27,0.85);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(35,32,27,0.12);
}

.btn-outline:hover {
  background: var(--lilac);
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 rgba(35,32,27,0.85);
}

/* ============================================================
   标签 / 标题
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  color: var(--coral);
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--coral-soft);
  border: 1px dashed rgba(255,91,58,0.5);
}

.section-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.section-desc {
  max-width: 600px;
  opacity: 0.72;
  margin-bottom: 40px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ============================================================
   卡片网格
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid rgba(35,32,27,0.85);
  background: var(--paper);
  transition: 0.26s cubic-bezier(.2,.8,.2,1);
  box-shadow: 4px 4px 0 rgba(35,32,27,0.08);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0;
  transition: 0.4s;
}

.category-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 rgba(35,32,27,0.85);
}

.category-card:hover::after { opacity: 0.35; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  background: var(--lilac);
  border: 1.5px solid rgba(35,32,27,0.85);
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.category-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: 0.2s;
}

.card-link::after { content: '→'; transition: transform 0.25s; }
.card-link:hover::after { transform: translateX(5px); }

/* ============================================================
   特性块
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(35,32,27,0.85);
  box-shadow: var(--shadow-hard);
  background: var(--paper);
  position: relative;
}

.feature-image img { width: 100%; height: auto; }

.feature-text h2 { margin-bottom: 16px; }

.feature-text p { color: var(--ink-soft); margin-bottom: 18px; }

.feature-list { list-style: none; }

.feature-list li {
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--ink);
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: #14432F;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border: 1px solid rgba(35,32,27,0.6);
}

/* ============================================================
   数据条
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(35,32,27,0.85);
  background: var(--paper);
  transition: 0.25s cubic-bezier(.2,.8,.2,1);
  box-shadow: 4px 4px 0 rgba(35,32,27,0.08);
}

.stat-item:nth-child(4n+1) { background: linear-gradient(160deg, #FFFFFF, #FFF3EF); }
.stat-item:nth-child(4n+2) { background: linear-gradient(160deg, #FFFFFF, #EEFBF3); }
.stat-item:nth-child(4n+3) { background: linear-gradient(160deg, #FFFFFF, #F1EFFF); }
.stat-item:nth-child(4n+4) { background: linear-gradient(160deg, #FFFFFF, #FFF8E3); }

.stat-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(35,32,27,0.85);
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--coral);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-weight: 600;
}

/* ============================================================
   内容墙
   ============================================================ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid rgba(35,32,27,0.85);
  transition: 0.26s cubic-bezier(.2,.8,.2,1);
  background: var(--paper);
  box-shadow: 4px 4px 0 rgba(35,32,27,0.08);
}

.content-wall-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 rgba(35,32,27,0.85);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1.5px solid rgba(35,32,27,0.85);
}

.content-wall-body { padding: 20px; }

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.content-wall-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1.5px solid rgba(35,32,27,0.85);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  transition: 0.25s;
  box-shadow: 3px 3px 0 rgba(35,32,27,0.08);
}

.faq-item:hover { box-shadow: 5px 5px 0 rgba(35,32,27,0.85); }

.faq-item .faq-question {
  padding: 16px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--ink);
}

.faq-item .faq-question::after {
  content: '+';
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sun);
  border: 1.5px solid rgba(35,32,27,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  transition: 0.3s;
}

.faq-item.open .faq-question::after { transform: rotate(135deg); background: var(--coral); color: #fff; }

.faq-item .faq-answer {
  padding: 0 20px 16px;
  display: none;
  opacity: 0.75;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer { display: block; animation: fadeUp 0.35s ease both; }

.faq-item.open {
  background: linear-gradient(180deg, #FFFFFF, #FFFBF3);
  box-shadow: 6px 6px 0 rgba(35,32,27,0.85);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 0.75; transform: translateY(0); }
}

/* ============================================================
   CTA 横幅
   ============================================================ */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.35), transparent 45%),
    linear-gradient(120deg, var(--coral) 0%, #FF8A5B 42%, #B9A6FF 100%);
  border: 1.5px solid rgba(35,32,27,0.85);
  box-shadow: 8px 8px 0 rgba(35,32,27,0.85);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.10) 0 2px, transparent 2px 12px);
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-banner p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 26px; }

.cta-banner .btn-primary {
  background: #fff;
  color: var(--coral);
  box-shadow: 4px 4px 0 rgba(35,32,27,0.85);
}

.cta-banner .btn-primary:hover { box-shadow: 7px 7px 0 rgba(35,32,27,0.85); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  padding: 56px 0 28px;
  background: var(--cream-deep);
  border-top: 1.5px solid rgba(35,32,27,0.85);
  color: var(--ink);
}

.site-footer .container { }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand { }

.footer-brand .logo { margin-bottom: 14px; }

.footer-brand p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--coral);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: 0.2s;
}

.footer-col ul a:hover { color: var(--coral); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(35,32,27,0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============================================================
   工具类
   ============================================================ */
.text-accent { color: var(--coral); }

.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.72;
  color: var(--ink-soft);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   ⚠️ 响应式
   ============================================================ */
@media (max-width: 960px) {
  .feature-block { gap: 36px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }

  .section { padding: 60px 0; }

  .feature-block { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .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: var(--cream);
    padding: 24px;
    gap: 18px;
    border-bottom: 1.5px solid rgba(35,32,27,0.85);
    box-shadow: 0 20px 40px -22px rgba(35,32,27,0.5);
    align-items: flex-start;
  }

  .main-nav.open .nav-cta { align-self: stretch; text-align: center; justify-content: center; display: flex; }

  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero::before { width: 400px; height: 400px; right: -160px; top: -120px; }
  .cta-banner { padding: 48px 22px; }
}

@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; }
  .hero-buttons .btn { justify-content: center; }

  .hero h1 { font-size: 2rem; }
  .container { padding: 0 18px; }
}