/* 咻咻漫画 · 帧帧入迷
   漫画手账风设计系统
   配色：奶油底 / 珊瑚红 / 青绿 / 琥珀黄 */

*, *::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-color: #FFF9F0;
  background-image: radial-gradient(rgba(255, 190, 11, 0.16) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  color: #292524;
  position: relative;
  line-height: 1.6;
}

::selection {
  background: #FF6B6B;
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #FFF0E7;
}
::-webkit-scrollbar-thumb {
  background: #FF6B6B;
  border: 2px solid #292524;
  border-radius: 6px;
}

/* ——— 核心布局 ——— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section:nth-child(even) {
  background-color: #FFF0E7;
  background-image: radial-gradient(rgba(255, 107, 107, 0.12) 1.5px, transparent 1.5px);
  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(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2.5px solid #292524;
  box-shadow: 0 3px 0 #FFBE0B;
}

.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.35rem;
  text-decoration: none;
  color: #292524;
  letter-spacing: 1px;
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.02) rotate(-1deg);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50% 8px 50% 8px;
  background: linear-gradient(135deg, #FF6B6B, #FFBE0B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 #292524;
  border: 2px solid #292524;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: #292524;
  padding: 6px 4px;
  position: relative;
  background-image: linear-gradient(to right, rgba(255, 190, 11, 0.45), rgba(255, 190, 11, 0.45));
  background-repeat: no-repeat;
  background-size: 0% 40%;
  background-position: left 80%;
  transition: background-size 0.3s, color 0.2s;
}

.main-nav a:not(.nav-cta):hover {
  color: #292524;
  background-size: 100% 40%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 14px 4px 14px 4px;
  color: #fff !important;
  font-weight: 800;
  background: #FF6B6B;
  border: 2px solid #292524;
  box-shadow: 4px 4px 0 #292524;
  transition: transform 0.2s, box-shadow 0.2s;
  background-image: none;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #292524;
  color: #fff !important;
  background-size: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: #FF6B6B;
  border: 2.5px solid #292524;
  border-radius: 12px 4px 12px 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  box-shadow: 3px 3px 0 rgba(41, 37, 36, 0.5);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
}

/* ——— Hero ——— */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1.1;
  max-width: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px 4px 20px 4px;
  background: #FFBE0B;
  color: #292524;
  border: 2px solid #292524;
  margin-bottom: 20px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 #292524;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
}

.hero h1 .text-accent {
  color: #FF6B6B;
  background: linear-gradient(transparent 60%, rgba(255, 190, 11, 0.5) 60%);
  padding: 0 4px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  flex: 1;
  min-height: 400px;
  border-radius: 24px 6px 24px 6px;
  overflow: hidden;
  border: 3px solid #292524;
  box-shadow: 10px 10px 0 #4ECDC4;
  transform: rotate(2deg);
  background: linear-gradient(135deg, #FFE8D9, #FFBE0B44);
  position: relative;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image::before {
  content: '⭐ 每日四更';
  position: absolute;
  top: 18px;
  right: -6px;
  background: #4ECDC4;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 18px;
  border: 2px solid #292524;
  border-radius: 14px 2px 14px 2px;
  transform: rotate(8deg);
  z-index: 2;
  box-shadow: 3px 3px 0 #292524;
}

.hero::after {
  content: '';
  position: absolute;
  top: 18%;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 190, 11, 0.25);
  border: 2px dashed #292524;
  animation: slow-spin 20s linear infinite;
  pointer-events: none;
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ——— 按钮 ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 14px 4px 14px 4px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2.5px solid #292524;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.btn-primary {
  background: #FF6B6B;
  color: #fff;
  box-shadow: 5px 5px 0 #292524;
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #292524;
}

.btn-outline {
  background: transparent;
  border: 2.5px solid #292524;
  color: #292524;
  box-shadow: 5px 5px 0 #FFBE0B;
}

.btn-outline:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #FFBE0B;
  background: rgba(255, 190, 11, 0.15);
}

/* ——— 标签 & 标题 ——— */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FF6B6B;
  background: rgba(255, 107, 107, 0.1);
  border: 2px solid #FF6B6B;
  padding: 6px 18px;
  border-radius: 20px 4px 20px 4px;
  transform: rotate(-2deg);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #292524;
  position: relative;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ——— 卡片网格 ——— */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border-radius: 20px 6px 20px 6px;
  padding: 30px;
  border: 2.5px solid #292524;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  position: relative;
}

.category-card:nth-child(4n+1) { box-shadow: 6px 6px 0 #FF6B6B; }
.category-card:nth-child(4n+2) { box-shadow: 6px 6px 0 #4ECDC4; }
.category-card:nth-child(4n+3) { box-shadow: 6px 6px 0 #FFBE0B; }
.category-card:nth-child(4n+4) { box-shadow: 6px 6px 0 #A78BFA; }

.category-card:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 9px 9px 0 #292524;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px 4px 14px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: #FFF0E7;
  border: 2px solid #292524;
  transform: rotate(-8deg);
  transition: transform 0.3s;
}

.category-card:hover .card-icon {
  transform: rotate(8deg) scale(1.1);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: #FF6B6B;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 10px;
}

/* ——— 特性块 ——— */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 24px 6px 24px 6px;
  overflow: hidden;
  border: 3px solid #292524;
  box-shadow: 8px 8px 0 #FFBE0B;
  transform: rotate(-2deg);
  background: #FFE8D9;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-text > p {
  opacity: 0.7;
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
}

.feature-list li::before {
  content: '✔';
  font-weight: 900;
  color: #fff;
  background: #4ECDC4;
  width: 24px;
  height: 24px;
  border-radius: 8px 2px 8px 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid #292524;
  flex-shrink: 0;
}

/* ——— 数据条 ——— */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  background: #fff;
  padding: 32px 20px;
  border-radius: 20px 6px 20px 6px;
  border: 2.5px solid #292524;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 6px 6px 0 #292524;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #FFBE0B;
  border: 2px solid #292524;
  border-radius: 50%;
}

.stat-item:nth-child(2)::after { background: #FF6B6B; }
.stat-item:nth-child(3)::after { background: #4ECDC4; }
.stat-item:nth-child(4)::after { background: #A78BFA; }

.stat-item:hover {
  transform: rotate(-2deg) scale(1.03);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: #FF6B6B;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.75;
  margin-top: 10px;
  color: #57534E;
}

/* ——— 内容墙 ——— */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #fff;
  border-radius: 20px 6px 20px 6px;
  overflow: hidden;
  border: 2.5px solid #292524;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  box-shadow: 5px 5px 0 #292524;
}

.content-wall-item:hover {
  transform: translate(-3px, -3px) rotate(1deg);
  box-shadow: 8px 8px 0 #FF6B6B;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 2.5px solid #292524;
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  background: #FFF0E7;
  color: #FF6B6B;
  border: 1.5px solid #FF6B6B;
  padding: 2px 10px;
  border-radius: 20px 2px 20px 2px;
  margin-bottom: 10px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 2.5px solid #292524;
  border-radius: 16px 4px 16px 4px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  transform: translateX(5px);
}

.faq-item.open {
  box-shadow: 5px 5px 0 #4ECDC4;
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.98rem;
}

.faq-item .faq-question::after {
  content: '＋';
  width: 30px;
  height: 30px;
  background: #FFBE0B;
  border: 2px solid #292524;
  border-radius: 10px 2px 10px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.75;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ——— CTA横幅 ——— */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 28px 8px 28px 8px;
  color: #fff;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  border: 3px solid #292524;
  box-shadow: 10px 10px 0 #292524;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '📖';
  position: absolute;
  top: 24px;
  left: 36px;
  font-size: 3rem;
  transform: rotate(-15deg);
  opacity: 0.3;
}

.cta-banner::after {
  content: '✨';
  position: absolute;
  bottom: 24px;
  right: 36px;
  font-size: 2.5rem;
  transform: rotate(15deg);
  opacity: 0.3;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.5px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #292524;
  border-color: #292524;
  box-shadow: 5px 5px 0 #292524;
}

.cta-banner .btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #292524;
}

/* ——— 页脚 ——— */
.site-footer {
  padding: 64px 0 28px;
  background: #FFE8D9;
  color: #292524;
  border-top: 3px dashed #292524;
  margin-top: 100px;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  opacity: 0.7;
  margin-top: 12px;
  line-height: 1.7;
  font-size: 0.92rem;
}

.footer-col h3 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #292524;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: #FF6B6B;
  border-radius: 3px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: #57534E;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: #FF6B6B;
  padding-left: 8px;
}

.footer-bottom {
  border-top: 2px solid rgba(41, 37, 36, 0.15);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #57534E;
  font-weight: 500;
}

/* ——— 工具类 ——— */
.text-accent {
  color: #FF6B6B;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.7;
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ——— 响应式 ——— */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero .container {
    flex-direction: column;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    min-height: 260px;
    width: 100%;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .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: 72px;
    left: 0;
    width: 100%;
    background: #FFF9F0;
    padding: 24px;
    border-bottom: 2.5px solid #292524;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.05);
    gap: 18px;
  }

  .main-nav.open a {
    font-size: 1.05rem;
    padding: 8px 4px;
  }
}

@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-buttons .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .btn {
    padding: 12px 24px;
  }
}