/* ============================================
   漫蛙 · 漫画设计系统
   「贴纸漫画 / 纸上美术馆」风格
   暖白纸底 × 粗线框 × 贴纸硬阴影
   ============================================ */

/* 基础重置 */
*, *::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: #FBF7F2;
  color: #2C3E50;
  line-height: 1.7;
}

/* ========== 核心布局 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #f8f9fa;
}

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #2C3E50;
}

.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: #2C3E50;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #FF6B35;
  color: #fff;
  border: 2px solid #2C3E50;
  box-shadow: 2px 2px 0 #2C3E50;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #2EC4B6;
  border: 1.5px solid #2C3E50;
  border-radius: 50%;
  bottom: -3px;
  right: -3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2C3E50;
  transition: all 0.2s;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: #FF6B35;
  border-bottom-color: #FF6B35;
}

.nav-cta {
  padding: 8px 20px;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 600;
  background: #2EC4B6;
  border: 2px solid #2C3E50;
  box-shadow: 3px 3px 0 #2C3E50;
  transition: all 0.2s !important;
  border-bottom: 2px solid #2C3E50 !important;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #2C3E50;
  color: #fff !important;
  border-bottom: 2px solid #2C3E50 !important;
}

.menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #2C3E50;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #2C3E50;
  box-shadow: 2px 2px 0 #2C3E50;
}

/* ========== 首页 Hero ========== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  background-image: radial-gradient(rgba(255, 107, 53, 0.10) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  overflow: hidden;
}

.hero::before {
  content: '漫蛙';
  position: absolute;
  right: -20px;
  top: 55%;
  transform: translateY(-50%) rotate(-12deg);
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(44, 62, 80, 0.08);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -10px;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
  background: #fff;
  border: 2px solid #2C3E50;
  box-shadow: 3px 3px 0 rgba(43, 58, 103, 0.2);
  color: #FF6B35;
  position: relative;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 2px solid #2C3E50;
  border-bottom: 2px solid #2C3E50;
  transform: rotate(45deg) skew(-5deg, -5deg);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  position: relative;
}

.hero h1::after {
  content: '';
  display: block;
  width: 96px;
  height: 10px;
  background: #FFCB47;
  border-radius: 5px;
  transform: skewX(-20deg);
  margin-top: 6px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 0 400px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #2C3E50;
  box-shadow: 10px 10px 0 rgba(255, 107, 53, 0.25);
  transform: rotate(2deg);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 14px 14px 0 rgba(46, 196, 182, 0.25);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2.5px solid #2C3E50;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0 #2C3E50;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #2C3E50;
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #2C3E50;
}

.btn-primary {
  background: #FF6B35;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: #2C3E50;
}

/* ========== 标签 / 标题 ========== */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #FF6B35;
  background: rgba(255, 107, 53, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 107, 53, 0.3);
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 6px;
  background: #FFCB47;
  border-radius: 3px;
  transform: skewX(-20deg);
  margin-top: 8px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border: 2.5px solid #2C3E50;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 6px 6px 0 rgba(44, 62, 80, 0.12);
}

.category-card::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  background-image: radial-gradient(#FF6B35 30%, transparent 30%);
  background-size: 8px 8px;
  border-radius: 50%;
  opacity: 0.4;
}

.category-card:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 10px 10px 0 rgba(255, 107, 53, 0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  background: #FBF7F2;
  border: 2px solid #2C3E50;
  color: #FF6B35;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #2EC4B6;
  display: inline-block;
  margin-top: 8px;
}

.card-link::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.2s;
}

.category-card:hover .card-link::after {
  transform: translateX(5px);
}

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 2.5px solid #2C3E50;
  box-shadow: 8px 8px 0 rgba(46, 196, 182, 0.25);
  transform: rotate(-1.5deg);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-text {
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  background: #2EC4B6;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1.5px solid #2C3E50;
  box-shadow: 1px 1px 0 #2C3E50;
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: #fff;
  border: 2.5px solid #2C3E50;
  border-radius: 18px;
  padding: 28px 16px;
  box-shadow: 5px 5px 0 rgba(44, 62, 80, 0.1);
  position: relative;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 107, 53, 0.2);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -2.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 5px;
  background: #FFCB47;
  border-radius: 0 0 4px 4px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FF6B35;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
  font-weight: 500;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 2.5px solid #2C3E50;
  box-shadow: 5px 5px 0 rgba(44, 62, 80, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-wall-item:hover {
  transform: translate(-2px, -2px) rotate(0.5deg);
  box-shadow: 8px 8px 0 rgba(46, 196, 182, 0.25);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #2C3E50;
  display: block;
}

.content-wall-body {
  padding: 20px;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 2px solid #2C3E50;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.faq-item:hover {
  box-shadow: 4px 4px 0 rgba(44, 62, 80, 0.12);
  transform: translate(-1px, -1px);
}

.faq-item .faq-question {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: #FF6B35;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '–';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  display: none;
  opacity: 0.7;
  font-size: 0.92rem;
  border-top: 1.5px dashed #E0D3C3;
  margin-top: -6px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========== CTA 横幅 ========== */
.cta-banner {
  padding: 56px 32px;
  text-align: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #FF6B35, #FF9F1C);
  border: 3px solid #2C3E50;
  box-shadow: 8px 8px 0 rgba(44, 62, 80, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 2px, transparent 2px);
  background-size: 22px 22px;
  pointer-events: none;
}

.cta-banner::after {
  content: '✦';
  position: absolute;
  right: -25px;
  top: -25px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.12);
  transform: rotate(20deg);
  pointer-events: none;
}

.cta-banner h2,
.cta-banner .section-title {
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-banner .section-title::before {
  content: '';
  position: absolute;
  left: -12px;
  top: -12px;
  width: 20px;
  height: 20px;
  border-top: 4px solid rgba(44, 62, 80, 0.5);
  border-left: 4px solid rgba(44, 62, 80, 0.5);
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6B35;
  border-color: #2C3E50;
  box-shadow: 4px 4px 0 rgba(44, 62, 80, 0.9);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  box-shadow: 1px 1px 0 rgba(44, 62, 80, 0.9);
  transform: translate(3px, 3px);
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 56px 0 28px;
  background: #F1EAE2;
  color: #2C3E50;
  border-top: 2.5px solid #2C3E50;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-col p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 6px;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 3px;
  background: #FF6B35;
  border-radius: 2px;
}

.footer-col a {
  display: block;
  color: #2C3E50;
  text-decoration: none;
  opacity: 0.75;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: opacity 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  padding-left: 6px;
  color: #FF6B35;
}

.footer-bottom {
  border-top: 1.5px dashed rgba(44, 62, 80, 0.25);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ========== 工具类 ========== */
.text-accent {
  color: #FF6B35;
}

.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;
}

/* ========== 额外小点缀 ========== */
.text-accent {
  position: relative;
  display: inline-block;
}

.text-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 0.35em;
  background: rgba(255, 203, 71, 0.55);
  z-index: -1;
  border-radius: 2px;
}

.section-label:empty::before {
  content: '● ';
  color: #2EC4B6;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .site-header {
    background: rgba(251, 247, 242, 0.97);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #FBF7F2;
    padding: 20px 24px;
    border-bottom: 2px solid #2C3E50;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    flex-direction: column;
    padding: 110px 0 60px;
  }

  .hero::before {
    font-size: 8rem;
    right: 0;
  }

  .hero-image {
    flex: none;
    width: 100%;
    margin-top: 40px;
    transform: rotate(0deg);
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .cta-banner {
    padding: 40px 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;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero::before {
    font-size: 5rem;
  }

  .hero-image {
    margin-top: 24px;
  }

  .stat-number {
    font-size: 1.9rem;
  }
}