/* ================================================
   POPO动漫 — 漫画感极繁设计系统
   风格关键词: 漫画脚本 / 手作纸感 / 对话框哲学
   ================================================ */

*,
*::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: #F7F3EB; /* 奶白纸感 */
  color: #26324A; /* 墨蓝 */
  letter-spacing: 0.01em;
}

/* 全局选中色 */
::selection {
  background: #FFC745;
  color: #26324A;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F7F3EB;
  border-left: 1px dashed #E4DECE;
}
::-webkit-scrollbar-thumb {
  background: #26324A;
  border-radius: 20px;
  border: 2px solid #F7F3EB;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #FDFBF6; /* 更浅的米白，保持整体纸感 */
}

/* 漫画网点背景装饰 */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  background-image: radial-gradient(#D8D2C2 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ================================================
   导航 — 固定顶部（纸胶带+对话框风格）
   ================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid #26324A;
  box-shadow: 0 4px 0 #FFC745;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.3rem;
  text-decoration: none;
  color: #26324A;
  letter-spacing: -0.02em;
  position: relative;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #FFC745;
  border: 2px solid #26324A;
  box-shadow: 3px 3px 0 #26324A;
  transform: rotate(-6deg);
}

.logo-text span {
  font-size: 0.75rem;
  font-weight: 700;
  background: #FF9F68;
  color: #26324A;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #26324A;
  transition: all 0.2s;
  position: relative;
  padding: 4px 2px;
}

.main-nav a::after {
  content: '●';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  color: #FF5C7A;
  font-size: 10px;
  transition: transform 0.2s;
}

.main-nav a:hover::after {
  transform: translateX(-50%) scale(1);
}

.main-nav a:hover {
  color: #FF5C7A;
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 0px;
  background: #26324A;
  color: #fff !important;
  font-weight: 800;
  border: 2px solid #26324A;
  box-shadow: 4px 4px 0 #FFC745;
  transition: 0.15s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #FFC745;
  color: #FFC745 !important;
}

.menu-toggle {
  display: none;
}

/* ================================================
   Hero — 大片宣言 + 对话框
   ================================================ */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  background: #F7F3EB;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: 'POPO';
  position: absolute;
  top: 60%;
  left: 60%;
  font-size: 20vw;
  font-weight: 900;
  color: rgba(38, 50, 74, 0.04);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 340px;
  height: 340px;
  background-image: radial-gradient(#FF9F68 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.2;
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 0px;
  margin-bottom: 20px;
  background: #FF5C7A;
  color: #fff;
  border: 2px solid #26324A;
  box-shadow: 3px 3px 0 #26324A;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4.2rem;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  position: relative;
}

.hero h1 .highlight {
  background: linear-gradient(180deg, transparent 55%, #FFC745 55%, #FFC745 85%, transparent 85%);
  padding: 0 4px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
  border-left: 4px solid #FF9F68;
  padding-left: 18px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* 对话框装饰 */
.hero-speech-bubble {
  position: absolute;
  right: 8%;
  bottom: 35%;
  background: #fff;
  border: 2px solid #26324A;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 6px 6px 0 #26324A;
  transform: rotate(4deg);
  z-index: 3;
}

.hero-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 30px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-right: 2px solid #26324A;
  border-bottom: 2px solid #26324A;
  transform: rotate(45deg);
}

.hero-image {
  border-radius: 0px;
  overflow: visible;
  position: absolute;
  right: 5%;
  top: 25%;
  width: 380px;
  transform: rotate(3deg);
  z-index: 1;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: #FFC745;
  z-index: -1;
  transform: rotate(-2deg);
  border: 2px solid #26324A;
}

.hero-image img {
  width: 100%;
  height: auto;
  border: 2px solid #26324A;
  filter: saturate(1.1);
}

/* ================================================
   按钮 — 粗边框+硬阴影
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 0px;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid #26324A;
  text-decoration: none;
  transition: 0.15s ease;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #26324A;
  color: #fff;
  box-shadow: 5px 5px 0 #FFC745;
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #FFC745;
  background: #FF5C7A;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #26324A;
  color: #26324A;
  box-shadow: 5px 5px 0 rgba(38, 50, 74, 0.2);
}

.btn-outline:hover {
  background: #FF9F68;
  color: #26324A;
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 rgba(38, 50, 74, 0.2);
}

/* ================================================
   标签 / 标题 — 手写划线风格
   ================================================ */

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #FF5C7A;
  text-transform: uppercase;
  background: rgba(255, 92, 122, 0.08);
  padding: 4px 12px;
  border-left: 3px solid #FF5C7A;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 14px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '✳';
  color: #FFC745;
  font-size: 0.6em;
  margin-left: 10px;
  vertical-align: middle;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ================================================
   卡片网格 — 漫画分镜感
   ================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 0px;
  padding: 30px;
  border: 2px solid #26324A;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(38, 50, 74, 0.12);
  transition: 0.18s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(#FF9F68 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  opacity: 0;
  transition: opacity 0.18s;
}

.category-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 #26324A;
}

.category-card:hover::before {
  opacity: 0.08;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
  background: #FFF3D6;
  border: 2px solid #26324A;
  box-shadow: 3px 3px 0 #26324A;
  transform: rotate(-3deg);
  transition: transform 0.2s;
}

.category-card:nth-child(2n) .card-icon {
  background: #FFE3E8;
  transform: rotate(3deg);
}

.category-card:nth-child(3n) .card-icon {
  background: #DCE7FF;
  transform: rotate(0deg);
}

.category-card:hover .card-icon {
  transform: rotate(-6deg) scale(1.1);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: #26324A;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px dashed transparent;
  transition: 0.2s;
}

.card-link:hover {
  color: #FF5C7A;
  border-bottom: 2px dashed #FF5C7A;
}

/* ================================================
   特性块 — 左右分栏倾斜阴影
   ================================================ */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 0;
  overflow: hidden;
  border: 2px solid #26324A;
  box-shadow: 12px 12px 0 #FFC745;
  transform: rotate(-1.5deg);
  transition: 0.2s;
}

.feature-image:hover {
  box-shadow: 8px 8px 0 #FF5C7A;
  transform: rotate(0deg);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  position: relative;
  padding: 20px;
}

.feature-text::before {
  content: '「';
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 4rem;
  font-weight: 900;
  color: #FFC745;
  line-height: 1;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border-bottom: 1px dashed #E4DECE;
}

.feature-list li::before {
  content: '★';
  font-weight: 700;
  color: #FFC745;
  font-size: 1.2rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

/* ================================================
   数据条 — 印章/标识风格
   ================================================ */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 16px;
  border-radius: 0;
  border: 2px solid #26324A;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(38, 50, 74, 0.1);
  position: relative;
  transition: 0.2s;
}

.stat-item:nth-child(odd) {
  transform: rotate(-1deg);
}

.stat-item:nth-child(even) {
  transform: rotate(1deg);
}

.stat-item:hover {
  background: #26324A;
  color: #fff;
  transform: translateY(-4px) rotate(0deg);
  box-shadow: 6px 6px 0 #FFC745;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.stat-item:hover .stat-number {
  color: #FFC745;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: 6px;
  font-weight: 600;
}

.stat-item:hover .stat-label {
  color: #fff;
  opacity: 0.8;
}

/* ================================================
   内容墙 — 分镜格
   ================================================ */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 0;
  overflow: hidden;
  border: 2px solid #26324A;
  transition: 0.2s;
  background: #fff;
  position: relative;
}

.content-wall-item::after {
  content: '↗';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #FFC745;
  border: 2px solid #26324A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transform: rotate(45deg) scale(0);
  transition: 0.2s;
}

.content-wall-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 rgba(38, 50, 74, 0.25);
}

.content-wall-item:hover::after {
  transform: rotate(0deg) scale(1);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #26324A;
  filter: saturate(0.9);
  transition: filter 0.3s;
}

.content-wall-item:hover img {
  filter: saturate(1.2);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-wall-body span {
  font-size: 0.85rem;
  color: #9E978D;
  font-weight: 600;
}

/* ================================================
   FAQ — 对话框式折叠
   ================================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #26324A;
  border-radius: 0;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.2s;
  position: relative;
}

.faq-item:hover {
  box-shadow: 4px 4px 0 #FFC745;
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.faq-question::before {
  content: 'Q';
  font-weight: 900;
  color: #FF5C7A;
  margin-right: 12px;
  font-size: 1.2rem;
}

.faq-question span:last-child::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 700;
  color: #26324A;
  transition: transform 0.3s;
  display: inline-block;
}

.faq-item.open .faq-question span:last-child::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px 50px;
  display: none;
  opacity: 0.75;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeSlide 0.3s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.75; transform: translateY(0); }
}

/* ================================================
   CTA横幅 — 纸上便利店
   ================================================ */

.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 0;
  background: #26324A;
  border: 3px solid #26324A;
  box-shadow: 8px 8px 0 #FFC745;
  position: relative;
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner h2::after {
  content: '❗';
  display: inline-block;
  margin-left: 8px;
  font-size: 1.8rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #26324A;
  border-color: #26324A;
  box-shadow: 4px 4px 0 #FFC745;
}

.cta-banner .btn-primary:hover {
  background: #FFC745;
  color: #26324A;
}

/* ================================================
   页脚 — 牛皮纸+涂鸦
   ================================================ */

.site-footer {
  padding: 64px 0 28px;
  background-color: #26324A;
  color: #DCE7FF;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    45deg,
    #FFC745 0,
    #FFC745 10px,
    #FF5C7A 10px,
    #FF5C7A 20px,
    #FF9F68 20px,
    #FF9F68 30px
  );
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-brand .logo-icon {
  background: #FFC745;
  box-shadow: 3px 3px 0 #FF5C7A;
}

.footer-brand p {
  margin-top: 16px;
  line-height: 1.7;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: #FFC745;
}

.footer-col a {
  text-decoration: none;
  color: inherit;
  opacity: 0.6;
  font-size: 0.95rem;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  opacity: 1;
  color: #FFC745;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 48px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ================================================
   工具类
   ================================================ */

.text-accent {
  color: #FF5C7A;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 额外趣味：鼠标悬停旋转 */
.hover-rotate:hover {
  transform: rotate(2deg);
}

/* ================================================
   响应式
   ================================================ */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .hero-image {
    position: relative;
    right: 0;
    top: 0;
    width: 70%;
    margin: 32px auto 0;
    transform: rotate(2deg);
  }
  
  .hero-speech-bubble {
    display: none;
  }
  
  .feature-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .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: #FDFBF6;
    border-bottom: 2px solid #26324A;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 0 rgba(38, 50, 74, 0.1);
  }
  
  .main-nav.open a:not(.nav-cta) {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-banner {
    padding: 48px 24px;
  }
  
  .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;
    gap: 32px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .stat-item {
    padding: 20px 12px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .header-inner {
    height: 64px;
  }
  
  .section {
    padding: 50px 0;
  }
}

/* 打印时隐藏装饰 */
@media print {
  .site-header,
  .hero-speech-bubble,
  .cta-banner,
  .site-footer::before {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}