/* ============================================================
   "囧次元" 设计系统 — 漫画切角 · 次元穿越
   ============================================================ */

*, *::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: #FDF8F2;
  background-image: radial-gradient(rgba(45, 52, 54, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #2D3436;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #FFE66D;
  color: #2D3436;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- 布局 ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background:
    radial-gradient(rgba(78, 205, 196, 0.07) 1px, transparent 1px),
    #F0F7F4;
  background-size: 20px 20px;
}

/* ---------- 导航 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #2D3436;
}

.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: 9px;
  font-weight: 900;
  font-size: 1.3rem;
  text-decoration: none;
  color: #2D3436;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px 4px 10px 4px;
  background: linear-gradient(135deg, #FF6B6B 50%, #FFE66D 50%);
  border: 2px solid #2D3436;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #2D3436;
  box-shadow: 2px 2px 0 #2D3436;
  transform: rotate(-3deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  color: #2D3436;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.main-nav a:hover {
  background: #FFE66D;
  border-color: #2D3436;
  box-shadow: 2px 2px 0 #2D3436;
  transform: translate(-1px, -1px);
}

.nav-cta {
  padding: 8px 20px !important;
  border-radius: 8px !important;
  background: #4ECDC4 !important;
  color: #2D3436 !important;
  font-weight: 700 !important;
  border: 2px solid #2D3436 !important;
  box-shadow: 2px 2px 0 #2D3436;
}

.nav-cta:hover {
  background: #FF6B6B !important;
  color: #fff !important;
  border-color: #2D3436 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  border: 2px solid #2D3436;
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 2px 2px 0 #2D3436;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #2D3436;
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 50px;
  width: 260px;
  height: 260px;
  background: rgba(255, 230, 109, 0.35);
  border-radius: 45% 55% 60% 40% / 40% 50% 50% 60%;
  z-index: 0;
  animation: morph 12s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  right: 260px;
  bottom: 30px;
  width: 70px;
  height: 70px;
  border: 4px solid #4ECDC4;
  border-radius: 8px;
  transform: rotate(20deg);
  z-index: 0;
  opacity: 0.5;
}

@keyframes morph {
  0% { border-radius: 45% 55% 60% 40% / 40% 50% 50% 60%; }
  100% { border-radius: 60% 40% 40% 60% / 55% 45% 55% 45%; }
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 18px;
  background: #FFE66D;
  border: 2px solid #2D3436;
  box-shadow: 2px 2px 0 #2D3436;
  color: #2D3436;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
  text-shadow: 3px 3px 0 rgba(255, 230, 109, 0.5);
}

.hero h1 .text-accent {
  color: #FF6B6B;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 24px 4px 24px 4px;
  overflow: hidden;
  border: 3px solid #2D3436;
  box-shadow: 10px 10px 0 rgba(78, 205, 196, 0.55);
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid #2D3436;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}

.btn-primary {
  background: #FF6B6B;
  color: #fff;
  box-shadow: 3px 3px 0 #2D3436;
}

.btn-primary:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #2D3436;
  background: #FF5252;
}

.btn-outline {
  background: transparent;
  border: 2px solid #2D3436;
  color: #2D3436;
  box-shadow: 3px 3px 0 #2D3436;
}

.btn-outline:hover {
  background: #FFE66D;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #2D3436;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* ---------- 标签 / 标题 ---------- */

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
  padding: 5px 14px;
  background: #FFE66D;
  border: 2px solid #2D3436;
  border-radius: 6px 2px 6px 2px;
  box-shadow: 2px 2px 0 #2D3436;
  color: #2D3436;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  font-size: 1.05rem;
}

/* ---------- 卡片网格 ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border: 2px solid #2D3436;
  border-radius: 16px 4px 16px 4px;
  padding: 30px 28px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 4px 4px 0 rgba(45, 52, 54, 0.12);
}

.category-card::after {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: #4ECDC4;
  border: 2px solid #2D3436;
  border-radius: 4px;
  opacity: 0;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(45, 52, 54, 0.2);
}

.category-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px 3px 12px 3px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  border: 2px solid #2D3436;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 2px 2px 0 #2D3436;
}

.category-card:nth-child(2n) .card-icon {
  background: linear-gradient(135deg, #4ECDC4, #A8E6CF);
}

.category-card:nth-child(3n) .card-icon {
  background: linear-gradient(135deg, #FFE66D, #FFB347);
  color: #2D3436;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FF6B6B;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s;
}

.card-link:hover {
  border-bottom-color: #FF6B6B;
}

/* ---------- 特性块 ---------- */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 20px 4px 20px 4px;
  overflow: hidden;
  border: 3px solid #2D3436;
  box-shadow: 8px 8px 0 rgba(255, 230, 109, 0.6);
}

.feature-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.feature-image:hover img {
  transform: scale(1.04) rotate(-1deg);
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.feature-text p {
  opacity: 0.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: #2D3436;
  background: #4ECDC4;
  width: 24px;
  height: 24px;
  border-radius: 7px 2px 7px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1.5px solid #2D3436;
  flex-shrink: 0;
}

/* ---------- 数据条 ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border: 2px solid #2D3436;
  border-radius: 14px 4px 14px 4px;
  box-shadow: 5px 5px 0 #2D3436;
  position: relative;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #2D3436;
}

.stat-item:nth-child(1) {
  background: #FFE66D;
}

.stat-item:nth-child(2) {
  background: #4ECDC4;
}

.stat-item:nth-child(3) {
  background: #FF6B6B;
  color: #fff;
}

.stat-item:nth-child(4) {
  background: #A8E6CF;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 8px;
}

/* ---------- 内容墙 ---------- */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #fff;
  border: 2px solid #2D3436;
  border-radius: 14px 3px 14px 3px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 rgba(45, 52, 54, 0.1);
}

.content-wall-item:hover {
  transform: translate(-2px, -3px);
  box-shadow: 7px 7px 0 rgba(45, 52, 54, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #2D3436;
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.65;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 2px solid #2D3436;
  border-radius: 12px 3px 12px 3px;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 3px 3px 0 rgba(45, 52, 54, 0.08);
}

.faq-item:hover {
  box-shadow: 5px 5px 0 rgba(45, 52, 54, 0.15);
  transform: translate(-1px, -1px);
}

.faq-item.open {
  background: #FFFDF5;
  border-color: #2D3436;
  box-shadow: 5px 5px 0 #FFE66D;
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
}

.faq-question::after {
  content: '＋';
  font-size: 1.3rem;
  font-weight: 900;
  color: #FF6B6B;
  transition: all 0.3s ease;
  margin-left: 12px;
}

.faq-item.open .faq-question::after {
  content: '－';
  color: #4ECDC4;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.75;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA 横幅 ---------- */

.cta-banner {
  padding: 56px 32px;
  text-align: center;
  border-radius: 20px 4px 20px 4px;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #fff;
  border: 3px solid #2D3436;
  box-shadow: 8px 8px 0 #2D3436;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30% 70% 50% 50% / 50% 40% 60% 50%;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #FF6B6B;
  border-color: #2D3436;
  box-shadow: 4px 4px 0 #2D3436;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  box-shadow: 2px 2px 0 #2D3436;
  transform: translate(2px, 2px);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: #F0F7F4;
  padding: 56px 0 28px;
  border-top: 2px solid #2D3436;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.6;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(45, 52, 54, 0.15);
  padding-bottom: 8px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: #2D3436;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: #FF6B6B;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 2px solid rgba(45, 52, 54, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ---------- 工具类 ---------- */

.text-accent {
  color: #FF6B6B;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
  line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 响应式 ---------- */

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .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: rgba(253, 248, 242, 0.98);
    padding: 24px;
    border-bottom: 2px solid #2D3436;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero {
    padding-top: 100px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@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;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 56px 0;
  }

  .stat-item {
    padding: 22px 12px;
  }
}

/* ---------- 滚动条美化 ---------- */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #FDF8F2;
  border-left: 1px solid rgba(45, 52, 54, 0.1);
}

::-webkit-scrollbar-thumb {
  background: #4ECDC4;
  border: 2px solid #2D3436;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF6B6B;
}