/* ============================================================
   黑料网 漫画 — "纸感·锐利" 设计系统
   一画开扒 / 浅色纸纹 + 硬边描线 + 番摊式错位阴影
   ============================================================ */

:root{
  --paper:#FFF9F0;
  --paper-deep:#FFF0DC;
  --ink:#17161B;
  --ink-soft:#6A6478;
  --red:#FF4A2E;
  --blue:#2A3FE0;
  --sun:#FFD23F;
  --mint:#8FE8C6;
  --pink:#E1519B;
  --green:#0E9E6A;
  --line:2px solid #17161B;
  --line-thin:1.5px solid #17161B;
}

/* 基础重置 */
*, *::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;
  color: var(--ink);
  line-height:1.65;
  font-size:16px;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23,22,27,.09) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; }

::selection{ background: var(--sun); color: var(--ink); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible{
  outline: 3px dashed var(--blue);
  outline-offset: 3px;
}

/* 核心布局 — 必须居中 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section { padding:80px 0; position:relative; }

.section:nth-child(even) {
  background: var(--paper-deep);
  border-top: var(--line);
  border-bottom: var(--line);
}

/* 导航 — 固定顶部 */
.site-header {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  background: rgba(255,249,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 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:10px;
  font-weight:800; font-size:1.15rem; text-decoration:none;
  color: var(--ink); letter-spacing:-.02em;
}

.logo-icon {
  width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; background: var(--red); color:#fff;
  border: var(--line); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}

.logo:hover .logo-icon{ transform: rotate(-9deg) translate(-2px,-2px); }

.main-nav { display:flex; align-items:center; gap:26px; list-style:none; }

.main-nav a {
  text-decoration:none; font-size:.9rem; font-weight:600;
  color: var(--ink); position:relative; padding:4px 0;
  transition: color .2s ease;
}

.main-nav a::after{
  content:''; position:absolute; left:0; bottom:0;
  width:0; height:2px; background: var(--red);
  transition: width .26s cubic-bezier(.65,0,.35,1);
}

.main-nav a:hover{ color: var(--red); }
.main-nav a:hover::after{ width:100%; }

.nav-cta {
  padding:9px 22px !important; border-radius:999px;
  color:#fff !important; font-weight:700;
  background: var(--red); border: var(--line);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}

.nav-cta::after{ display:none; }

.nav-cta:hover{
  transform: translate(2px,2px);
  box-shadow: 1px 1px 0 var(--ink);
  color:#fff !important;
}

.menu-toggle {
  display:none; align-items:center; justify-content:center;
  width:42px; height:42px; background:#fff; border: var(--line);
  border-radius:12px; font-size:1.05rem; cursor:pointer;
  box-shadow: 3px 3px 0 var(--ink); color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.menu-toggle:hover{ transform: translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }

/* 首页 Hero */
.hero {
  position:relative;
  min-height:70vh;
  display:flex; align-items:center;
  padding:148px 0 96px;
  overflow:hidden;
}

.hero::before{
  content:'扒';
  position:absolute; right:-3%; bottom:-16%;
  font-size:34vw; font-weight:900; line-height:1;
  color: var(--red); opacity:.055;
  pointer-events:none; user-select:none;
}

.hero::after{
  content:''; position:absolute; top:110px; right:9%;
  width:130px; height:130px; border-radius:50%;
  background: var(--sun); opacity:.55;
  pointer-events:none;
}

.hero .container{ position:relative; z-index:2; }

.hero-content { max-width:720px; }

.hero-eyebrow {
  display:inline-block; font-size:.78rem; font-weight:800;
  padding:5px 16px; border-radius:999px; margin-bottom:22px;
  background: var(--sun); border: var(--line);
  letter-spacing:.16em; transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 4.2rem);
  line-height:1.13; margin-bottom:22px;
  font-weight:900; letter-spacing:-.035em;
}

.hero p {
  font-size:1.08rem; opacity:.72;
  max-width:560px; margin-bottom:34px;
}

.hero-buttons { display:flex; gap:14px; flex-wrap:wrap; }

.hero-image {
  border-radius:20px; overflow:hidden;
  border: var(--line);
  box-shadow: 10px 10px 0 var(--blue);
}

.hero-image img { width:100%; height:auto; display:block; }

/* 按钮 */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 30px; border-radius:999px;
  font-weight:700; font-size:.95rem; cursor:pointer;
  border: var(--line); text-decoration:none; font-family:inherit;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
}

.btn-primary {
  color:#fff; background: var(--red);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(3px,3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-outline {
  background:transparent; color: var(--ink);
  border: var(--line); box-shadow: 5px 5px 0 var(--mint);
}

.btn-outline:hover {
  transform: translate(3px,3px);
  box-shadow: 2px 2px 0 var(--mint);
  background:#fff;
}

/* 标签/标题 */
.section-label {
  display:inline-block; font-size:.74rem; font-weight:800;
  letter-spacing:.2em; margin-bottom:16px;
  padding:5px 14px; border-radius:999px;
  background: var(--mint); border: var(--line);
  color: var(--ink);
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  margin-bottom:14px;
  font-weight:900; letter-spacing:-.025em; line-height:1.22;
}

.section-desc {
  max-width:600px; opacity:.72; margin-bottom:44px;
}

.text-center .section-desc{ margin-left:auto; margin-right:auto; }

/* 卡片网格 */
.cards-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:26px;
}

.category-card {
  position:relative; overflow:hidden;
  border-radius:18px; padding:30px;
  border: var(--line); background:#fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

.category-card::before{
  content:''; position:absolute; top:-44px; right:-44px;
  width:96px; height:96px; border-radius:50%;
  background: var(--sun); opacity:.35;
}

.category-card:nth-child(3n+2)::before{ background: var(--mint); opacity:.6; }
.category-card:nth-child(3n+3)::before{ background: var(--red); opacity:.24; }

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 var(--ink);
}

.category-card h3{
  position:relative; z-index:1;
  font-size:1.1rem; font-weight:800; margin-bottom:8px;
}

.category-card p{
  position:relative; z-index:1;
  font-size:.9rem; opacity:.7; margin-bottom:18px;
}

.card-icon {
  width:50px; height:50px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; font-size:1.25rem;
  background: var(--blue); color:#fff;
  border: var(--line); position:relative; z-index:1;
}

.category-card:nth-child(2) .card-icon{ background: var(--red); }
.category-card:nth-child(3) .card-icon{ background: var(--sun); color: var(--ink); }
.category-card:nth-child(4) .card-icon{ background: var(--mint); color: var(--ink); }

.card-link {
  position:relative; z-index:1;
  font-weight:700; font-size:.85rem; text-decoration:none;
  color: var(--blue); border-bottom:2px solid var(--blue);
  padding-bottom:1px; transition: color .2s ease, border-color .2s ease;
}

.card-link:hover{ color: var(--red); border-color: var(--red); }

/* 特性块 */
.feature-block {
  display:grid; grid-template-columns:1fr 1fr;
  gap:56px; align-items:center;
}

.feature-image {
  border-radius:20px; overflow:hidden;
  border: var(--line);
  box-shadow: 9px 9px 0 var(--sun);
}

.feature-image img { width:100%; height:auto; display:block; }

.feature-text h3{
  font-size:1.6rem; font-weight:900;
  margin-bottom:14px; letter-spacing:-.025em; line-height:1.25;
}

.feature-text p{ opacity:.72; margin-bottom:22px; }

.feature-list { list-style:none; }

.feature-list li {
  padding:8px 0; display:flex; align-items:center; gap:11px;
  font-weight:500;
}

.feature-list li::before {
  content:'✓';
  flex:0 0 auto;
  width:22px; height:22px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:.72rem; font-weight:800; color: var(--ink);
  background: var(--mint); border: var(--line-thin);
}

/* 数据条 */
.stats-bar {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:24px; text-align:center;
}

.stat-item {
  padding:28px 20px; border-radius:18px;
  border: var(--line); background:#fff;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .22s ease;
}

.stat-item:hover{ transform: translate(-3px,-3px); }

.stat-number {
  font-size:2.3rem; font-weight:900;
  letter-spacing:-.035em; line-height:1.1;
}

.stat-item:nth-child(1) .stat-number{ color: var(--red); }
.stat-item:nth-child(2) .stat-number{ color: var(--blue); }
.stat-item:nth-child(3) .stat-number{ color: var(--pink); }
.stat-item:nth-child(4) .stat-number{ color: var(--green); }

.stat-label {
  font-size:.88rem; opacity:.62; margin-top:8px; font-weight:600;
}

/* 内容墙 */
.content-wall {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:26px;
}

.content-wall-item {
  border-radius:18px; overflow:hidden;
  border: var(--line); background:#fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 var(--blue);
}

.content-wall-item img {
  width:100%; height:200px; object-fit:cover; display:block;
  border-bottom: var(--line);
}

.content-wall-body { padding:22px; }

.content-wall-body h3{
  font-size:1.05rem; font-weight:800; margin-bottom:8px;
}

.content-wall-body p{ font-size:.9rem; opacity:.7; }

/* FAQ */
.faq-list { max-width:800px; margin:0 auto; }

.faq-item {
  border: var(--line); border-radius:14px;
  margin-bottom:12px; overflow:hidden; cursor:pointer;
  background:#fff;
  transition: box-shadow .22s ease, background .22s ease;
}

.faq-item:hover{ box-shadow: 5px 5px 0 var(--ink); }

.faq-item .faq-question {
  padding:18px 22px; font-weight:700;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-size:1rem;
}

.faq-item .faq-question::after{
  content:'+'; font-size:1.35rem; font-weight:800;
  color: var(--red); line-height:1;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}

.faq-item.open .faq-question::after{ transform: rotate(135deg); }

.faq-item .faq-answer {
  padding:0 22px 18px; display:none;
  opacity:.7; font-size:.95rem;
}

.faq-item.open .faq-answer { display:block; }

.faq-item.open {
  background:#FFFBE8;
  box-shadow: 5px 5px 0 var(--sun);
}

/* CTA横幅 */
.cta-banner {
  position:relative; overflow:hidden;
  padding:64px 32px 68px; text-align:center;
  border-radius:24px; color:#fff;
  background: linear-gradient(120deg, #2A3FE0 0%, #6A3AF0 52%, #FF4A2E 100%);
  border: var(--line);
  box-shadow: 10px 10px 0 var(--ink);
}

.cta-banner::before{
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.5px, transparent 1.5px);
  background-size:18px 18px;
  opacity:.55; pointer-events:none;
}

.cta-banner h2 {
  position:relative; color:#fff;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight:900; letter-spacing:-.025em;
  margin-bottom:14px; line-height:1.2;
}

.cta-banner p{
  position:relative; opacity:.92;
  max-width:520px; margin:0 auto 30px;
}

.cta-banner .btn-primary {
  position:relative;
  background:#fff; color: var(--ink);
  box-shadow: 5px 5px 0 rgba(23,22,27,.85);
}

/* 页脚 */
.site-footer {
  padding:64px 0 28px;
  background: var(--paper-deep);
  border-top: var(--line);
}

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
}

.footer-brand .logo{ margin-bottom:18px; }

.footer-brand p{
  font-size:.9rem; opacity:.68; max-width:300px;
}

.footer-col h4{
  font-size:.95rem; font-weight:800;
  margin-bottom:16px; letter-spacing:.02em;
}

.footer-col ul{ list-style:none; }

.footer-col li{ margin-bottom:10px; }

.footer-col a{
  text-decoration:none; color: var(--ink);
  opacity:.7; font-size:.9rem;
  transition: opacity .2s ease, color .2s ease, padding-left .2s ease;
}

.footer-col a:hover{
  opacity:1; color: var(--red); padding-left:4px;
}

.footer-bottom {
  border-top: 1px solid rgba(23,22,27,.16);
  margin-top:44px; padding-top:22px;
  text-align:center; font-size:.85rem; opacity:.62;
}

/* 工具类 */
.text-accent{ color: var(--red); }
.text-center{ text-align:center; }
.seo-description{ max-width:600px; margin:0 auto 48px; opacity:.7; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }

/* ⚠️ 响应式 */
@media (max-width: 992px){
  .feature-block{ gap:40px; }
  .footer-grid{ grid-template-columns:1.4fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .section{ padding:64px 0; }
  .feature-block { grid-template-columns:1fr; gap:36px; }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .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:#fff; padding:22px; gap:18px;
    border-bottom: var(--line);
    box-shadow: 0 12px 0 rgba(23,22,27,.06);
  }
  .main-nav.open a{ font-size:1rem; }
  .main-nav.open .nav-cta{ width:100%; justify-content:center; }
  .hero{ padding:120px 0 76px; }
  .hero::after{ width:90px; height:90px; top:96px; right:6%; }
  .cta-banner{ padding:52px 22px; border-radius:20px; }
}

@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{ letter-spacing:-.02em; }
  .container{ padding:0 20px; }
  .header-inner{ padding:0 20px; }
  .stat-item{ box-shadow: 4px 4px 0 var(--ink); }
  .cta-banner{ box-shadow: 6px 6px 0 var(--ink); }
}