/* ============================================================
   黄色漫画 · 企业设计系统
   风格：POP-COMIC / 波普漫画杂志  — 亮黄纸感 + 粗描边 + 硬投影
   ============================================================ */

:root {
  --ink: #16150f;
  --ink-soft: #4a4636;
  --paper: #fffbee;
  --paper-2: #fff6d6;
  --yellow: #ffd400;
  --yellow-deep: #ffb300;
  --cyan: #16cddb;
  --magenta: #ff3f7f;
  --violet: #7b5cff;
  --line: 3px solid var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 14px;
  --halftone: radial-gradient(circle, rgba(22,21,15,0.14) 1.4px, transparent 1.5px);
}

/* ---------- 基础重置 ---------- */
*, *::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;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255,212,0,0.42) 0, transparent 42%),
    radial-gradient(circle at 92% 2%, rgba(22,205,219,0.20) 0, transparent 38%),
    linear-gradient(180deg, #fffbee 0%, #fffdf5 100%);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

::selection { background: var(--yellow); color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }

a { color: inherit; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); border-left: 2px solid var(--ink); }
::-webkit-scrollbar-thumb { background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; }

/* ---------- 核心布局 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; position: relative; }

.section:nth-child(even) {
  background: #fffdf3;
  background-image: radial-gradient(circle, rgba(22,21,15,0.09) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
  border-top: var(--line);
  border-bottom: var(--line);
}

/* ---------- 导航（固定顶部） ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,251,238,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  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: 900;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-6deg);
  transition: transform 0.25s cubic-bezier(.3,1.6,.5,1);
}

.logo:hover .logo-icon { transform: rotate(6deg) scale(1.06); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 0;
  transition: 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 8px;
  background: var(--yellow);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
}

.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 22px;
  border-radius: 999px;
  color: var(--ink) !important;
  font-weight: 800;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
  background: var(--magenta) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  color: var(--ink);
}

/* ---------- 首页 Hero ---------- */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 132px 0 84px;
  overflow: hidden;
  border-bottom: var(--line);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid var(--ink);
  opacity: 0.9;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 300px;
  height: 300px;
  background-image: var(--halftone);
  background-size: 14px 14px;
  border-radius: 50%;
  z-index: 0;
}

.hero > .container { position: relative; z-index: 2; }

.hero-content { max-width: 720px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  background: var(--ink);
  color: var(--yellow);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--yellow-deep);
  transform: rotate(-2deg);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  margin-bottom: 22px;
  font-weight: 900;
  text-shadow: 5px 5px 0 rgba(255,212,0,0.85);
}

.hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  border-left: 6px solid var(--yellow);
  padding-left: 18px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.hero-image img { width: 100%; height: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2.5px solid var(--ink);
  text-decoration: none;
  transition: transform 0.16s cubic-bezier(.4,0,.2,1), box-shadow 0.16s ease, background 0.2s ease;
}

.btn-primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--magenta);
  color: #fff;
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-outline {
  background: transparent;
  border: 2.5px solid var(--ink);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--cyan);
}

.btn-outline:hover {
  background: var(--cyan);
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--ink);
}

/* ---------- 标签 / 标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 5px 14px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1.5deg);
}

.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  margin-bottom: 16px;
  font-weight: 900;
}

.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 8px;
  margin-top: 16px;
  background: var(--magenta);
  border-radius: 2px;
}

.text-center .section-title::after { margin-left: auto; margin-right: auto; }

.section-desc {
  max-width: 600px;
  margin-bottom: 44px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 28px;
  background: #fff;
  border: var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s cubic-bezier(.3,1.2,.5,1), box-shadow 0.2s ease;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
}

.category-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 20px;
  font-size: 1.35rem;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--yellow);
}

.cards-grid > :nth-child(4n+2) .card-icon { background: var(--cyan); }
.cards-grid > :nth-child(4n+3) .card-icon { background: var(--magenta); }
.cards-grid > :nth-child(4n+4) .card-icon { background: var(--violet); }

.cards-grid > :nth-child(4n+2)::before { background: var(--cyan); }
.cards-grid > :nth-child(4n+3)::before { background: var(--magenta); }
.cards-grid > :nth-child(4n+4)::before { background: var(--violet); }

.category-card h3 { font-size: 1.16rem; margin-bottom: 10px; font-weight: 900; }

.category-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 16px; }

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 3px solid var(--yellow);
  transition: 0.2s ease;
}

.card-link::after { content: '→'; transition: transform 0.2s ease; }

.card-link:hover { border-bottom-color: var(--magenta); color: var(--magenta); }
.card-link:hover::after { transform: translateX(5px); }

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--line);
  box-shadow: 10px 10px 0 var(--yellow);
  background: #fff;
}

.feature-image img { width: 100%; height: auto; }

.feature-text h2, .feature-text .section-title { margin-bottom: 18px; }

.feature-text p { color: var(--ink-soft); margin-bottom: 22px; }

.feature-list { list-style: none; margin-top: 8px; }

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.96rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--ink);
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: var(--radius);
  border: var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-shadow: 4px 4px 0 rgba(255,212,0,0.9);
}

.stats-bar > :nth-child(2) .stat-number { text-shadow: 4px 4px 0 rgba(22,205,219,0.65); }
.stats-bar > :nth-child(3) .stat-number { text-shadow: 4px 4px 0 rgba(255,63,127,0.6); }
.stats-bar > :nth-child(4) .stat-number { text-shadow: 4px 4px 0 rgba(123,92,255,0.55); }

.stat-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.content-wall-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s cubic-bezier(.3,1.2,.5,1), box-shadow 0.2s ease;
}

.content-wall-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: var(--line);
  filter: saturate(1.15) contrast(1.05);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}

.content-wall-item:hover img { transform: scale(1.05); }

.content-wall-body { padding: 22px; }

.content-wall-body h3 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 900; }

.content-wall-body p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.faq-item:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s ease;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item.open .faq-question { background: var(--paper-2); }
.faq-item.open .faq-question::after { content: '–'; transform: rotate(180deg); background: var(--cyan); }

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.8;
  border-top: 2px dashed rgba(22,21,15,0.22);
  padding-top: 16px;
  margin: 0 22px 18px;
  padding-left: 0;
  padding-right: 0;
}

.faq-item.open .faq-answer { display: block; }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--yellow);
  background-image: radial-gradient(circle, rgba(22,21,15,0.13) 1.4px, transparent 1.5px);
  background-size: 14px 14px;
  border: var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-bottom: 12px;
  font-weight: 900;
}

.cta-banner p { color: rgba(22,21,15,0.75); max-width: 520px; margin: 0 auto 26px; font-weight: 600; }

.cta-banner .btn-primary {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 rgba(255,255,255,0.85);
}

.cta-banner .btn-primary:hover {
  background: var(--magenta);
  color: #fff;
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 rgba(255,255,255,0.85);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: var(--paper-2);
  border-top: var(--line);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 900;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--yellow);
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
  transition: 0.2s ease;
}

.footer-col a:hover { color: var(--ink); background: var(--yellow); padding: 2px 6px; border-radius: 4px; }

.footer-bottom {
  border-top: 2px dashed rgba(22,21,15,0.25);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* ---------- 工具类 ---------- */
.text-accent { color: var(--magenta); }

.text-center { text-align: center; }

.text-center .section-desc { margin-left: auto; margin-right: auto; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 116px 0 64px; min-height: auto; }
  .hero::before { width: 300px; height: 300px; top: -110px; right: -120px; }
  .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;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--paper);
    padding: 24px;
    border-bottom: var(--line);
    box-shadow: 0 12px 0 rgba(22,21,15,0.12);
  }
  .main-nav.open a { font-size: 1rem; }
  .main-nav.open .nav-cta { align-self: flex-start; }
}

@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 { text-shadow: 3px 3px 0 rgba(255,212,0,0.9); }
  .cta-banner { padding: 44px 20px; }
  .stat-number { font-size: 2rem; }
}