/* ==========================================
   思思速看 · 纸墨漫画风设计系统
   观微知著 · 暖纸墨蓝朱砂配色
   ========================================== */

:root {
  --paper: #FDF8F0;
  --ink: #2C4A68;
  --cinnabar: #D4543C;
  --sage: #8DAF9C;
  --sand: #F5EAD8;
  --clay: #E8A87C;
  --line: #E5D5B8;
}

/* 基础重置 */
*, *::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: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  background-image: radial-gradient(rgba(229, 213, 184, 0.28) 0.5px, transparent 0.5px);
  background-size: 18px 18px;
}

::selection {
  background: var(--cinnabar);
  color: var(--paper);
}

/* 核心布局 — 必须居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--sand);
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--ink);
}

.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: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 1px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--cinnabar);
  color: var(--paper);
  font-weight: 800;
  box-shadow: 3px 3px 0 rgba(44, 74, 104, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color 0.25s;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cinnabar);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--cinnabar);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 2px;
  color: var(--paper) !important;
  font-weight: 600;
  background: var(--cinnabar);
  border: 2px solid var(--cinnabar);
}

.nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper) !important;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 2px;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* 首页Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 70px;
  position: relative;
  background: linear-gradient(180deg, rgba(212, 84, 60, 0.05) 0%, transparent 45%, transparent 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 12%;
  right: -140px;
  width: 380px;
  height: 380px;
  border: 3px solid rgba(212, 84, 60, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 6%;
  left: -60px;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(44, 74, 104, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  flex: 1 1 400px;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  background: rgba(212, 84, 60, 0.1);
  color: var(--cinnabar);
  border: 1px solid rgba(212, 84, 60, 0.35);
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(120deg, var(--ink) 0%, var(--ink) 48%, var(--cinnabar) 48%, var(--cinnabar) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  color: var(--ink);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  flex: 1 1 300px;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--ink);
  box-shadow: 16px 16px 0 rgba(212, 84, 60, 0.22);
  position: relative;
  z-index: 1;
  background: var(--sand);
}

.hero-image::before {
  content: '观';
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 70px;
  height: 70px;
  background: var(--cinnabar);
  color: var(--paper);
  font-size: 1.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--paper);
  z-index: 2;
  box-shadow: 4px 4px 0 rgba(44, 74, 104, 0.3);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--cinnabar);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 rgba(212, 84, 60, 0.25);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: rgba(44, 74, 104, 0.06);
  border-color: var(--cinnabar);
  color: var(--cinnabar);
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 rgba(44, 74, 104, 0.12);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: var(--cinnabar);
  background: var(--sand);
  padding: 4px 14px;
  border-left: 3px solid var(--cinnabar);
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--cinnabar);
  border-radius: 2px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: var(--ink);
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 30px 28px 26px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 5px 5px 0 rgba(44, 74, 104, 0.14);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 6px;
  background: var(--cinnabar);
}

.category-card:hover {
  transform: translate(-2px, -6px) rotate(-1deg);
  border-color: var(--cinnabar);
  box-shadow: 10px 10px 0 rgba(44, 74, 104, 0.18);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: var(--sand);
  color: var(--cinnabar);
  border: 1px solid var(--line);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card p {
  font-size: 0.88rem;
  opacity: 0.7;
  margin-bottom: 18px;
  color: var(--ink);
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--cinnabar);
  border-bottom: 2px solid var(--cinnabar);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.card-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-block:nth-child(even) {
  direction: ltr;
}

.feature-block:nth-child(even) .feature-text {
  order: -1;
}

.feature-image {
  border: 2px solid var(--ink);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
  box-shadow: 9px 9px 0 rgba(141, 175, 156, 0.35);
  position: relative;
  padding: 0;
}

.feature-image::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-top: 2px solid var(--cinnabar);
  border-right: 2px solid var(--cinnabar);
  z-index: 2;
}

.feature-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}

.feature-text {
  padding: 0 10px;
}

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-text p {
  opacity: 0.75;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--cinnabar);
  font-size: 1rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 34px 20px 30px;
  border-radius: 2px;
  border: none;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(212, 84, 60, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 rgba(212, 84, 60, 0.25);
}

.stat-item::after {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(253, 248, 240, 0.1);
  border-radius: 50%;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--clay);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  opacity: 0.7;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #FFFFFF;
  border-radius: 2px;
  overflow: hidden;
  border: 2px solid var(--line);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.content-wall-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cinnabar) 0%, var(--clay) 100%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(141, 175, 156, 0.35);
  border-color: var(--ink);
}

.content-wall-item:hover::before {
  opacity: 1;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--ink);
}

.content-wall-body {
  padding: 22px 20px 18px;
  background: #fff;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.content-wall-body p {
  font-size: 0.84rem;
  opacity: 0.65;
  color: var(--ink);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: var(--sage);
}

.faq-item.open {
  border-color: var(--cinnabar);
  box-shadow: 5px 5px 0 rgba(212, 84, 60, 0.12);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}

.faq-question::after {
  content: '＋';
  font-size: 1.3rem;
  color: var(--cinnabar);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '－';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink);
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  padding: 60px 40px;
  text-align: center;
  border-radius: 2px;
  color: var(--paper);
  background: var(--cinnabar);
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(44, 74, 104, 0.18);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 25%, rgba(253, 248, 240, 0.07) 25%, rgba(253, 248, 240, 0.07) 50%, transparent 50%, transparent 75%, rgba(253, 248, 240, 0.07) 75%, rgba(253, 248, 240, 0.07));
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-banner::after {
  content: '速看';
  position: absolute;
  right: 18px;
  bottom: 0;
  font-size: 8.5rem;
  font-weight: 800;
  color: rgba(253, 248, 240, 0.1);
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--paper);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-banner .btn-primary {
  background: var(--ink);
  border: 2px solid var(--ink);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(44, 74, 104, 0.35);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 28px;
  background: var(--sand);
  border-top: 3px solid var(--ink);
  color: var(--ink);
  margin-top: 40px;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  opacity: 0.68;
  font-size: 0.92rem;
  max-width: 300px;
  margin-top: 12px;
}

.footer-col h4 {
  color: var(--cinnabar);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-col a {
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  opacity: 0.72;
  transition: opacity 0.2s, color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--cinnabar);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(44, 74, 104, 0.18);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* 工具类 */
.text-accent {
  color: var(--cinnabar);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: var(--ink);
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ⚠️ 响应式 */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-image {
    max-width: 360px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-block:nth-child(even) .feature-text {
    order: 0;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--paper);
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 8px 24px rgba(44, 74, 104, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-image {
    max-width: 100%;
  }
}

@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 h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stats-bar {
    gap: 16px;
  }

  .stat-item {
    padding: 24px 12px;
  }

  .stat-number {
    font-size: 1.9rem;
  }

  .cta-banner {
    padding: 44px 20px;
  }

  .cta-banner::after {
    font-size: 5.5rem;
    right: 8px;
  }
}