/* ==========================================
   「剧场·纸韵」
   Warm Paper × Cinnabar × Teal × Amber
   ========================================== */

*, *::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: #FAF6EF;
  background-image: radial-gradient(rgba(89, 72, 52, 0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #2D2820;
  line-height: 1.75;
  font-weight: 400;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  background: linear-gradient(90deg, #E0483E 0%, #D99A2C 50%, #175E5C 100%);
}

/* 容器与区块 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #F1EAE0;
}

/* ==========================================
   导航栏
   ========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E4D8C8;
  transition: background 0.3s ease;
}

.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.25rem;
  text-decoration: none;
  color: #2D2820;
  letter-spacing: 0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #FFF8F0;
  background: linear-gradient(135deg, #E0483E, #D99A2C);
  box-shadow: 0 4px 12px rgba(224, 72, 62, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2D2820;
  letter-spacing: 0.03em;
  padding: 4px 0;
  position: relative;
  transition: color 0.25s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #E0483E, #D99A2C);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav a:hover {
  color: #E0483E;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 50px;
  color: #FFF8F0 !important;
  font-weight: 600;
  background: #E0483E;
  box-shadow: 0 3px 12px rgba(224, 72, 62, 0.3);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #C23329;
  color: #FFF !important;
  transform: translateY(-1px);
}

.nav-cta::before {
  content: '▶ ';
  font-size: 0.7rem;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #E4D8C8;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 1.1rem;
  color: #2D2820;
  line-height: 1;
}

/* ==========================================
   Hero 首屏
   ========================================== */

.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(217, 154, 44, 0.1), transparent 50%),
    radial-gradient(ellipse at 92% 85%, rgba(224, 72, 62, 0.07), transparent 42%),
    linear-gradient(135deg, #FBF7EF 0%, #F5EDE1 55%, #FBF7EF 100%);
  overflow: hidden;
}

.hero::before {
  content: '✦';
  position: absolute;
  top: 18%;
  right: 6%;
  font-size: 4.5rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 72, 62, 0.2);
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    rgba(224, 72, 62, 0.08) 14px,
    rgba(224, 72, 62, 0.08) 18px
  );
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  background: #E0483E;
  color: #FFF8F0;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(224, 72, 62, 0.2);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #262019;
  position: relative;
}

.hero h1::after {
  content: '✦';
  display: inline-block;
  font-size: 0.35em;
  color: #D99A2C;
  vertical-align: super;
  margin-left: 0.2em;
  -webkit-text-stroke: 0;
}

.hero p {
  font-size: 1.05rem;
  color: #6B6157;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.9;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(89, 72, 52, 0.18),
    0 0 0 6px #FFFDF9;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   按钮系统
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.02em;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: #E0483E;
  color: #FFF8F0;
  box-shadow: 0 4px 16px rgba(224, 72, 62, 0.28);
}

.btn-primary:hover {
  background: #C23329;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 72, 62, 0.32);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #175E5C;
  color: #175E5C;
}

.btn-outline:hover {
  background: #175E5C;
  color: #F2F7F6;
  transform: translateY(-2px);
}

/* ==========================================
   区块标题
   ========================================== */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  color: #E0483E;
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #E0483E, #D99A2C);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: #2D2820;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-desc {
  max-width: 620px;
  color: #6B6157;
  margin-bottom: 44px;
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ==========================================
   分类卡片
   ========================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: #FFFDF9;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #E8DED0;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #E0483E, #D99A2C);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow: 0 16px 36px rgba(89, 72, 52, 0.13);
  border-color: #D9C9B8;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: #FDE8E8;
  color: #E0483E;
  transition: transform 0.3s ease;
}

.category-card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.category-card:nth-child(1) .card-icon { background: #FDE8E8; color: #E0483E; }
.category-card:nth-child(2) .card-icon { background: #DFF0EE; color: #175E5C; }
.category-card:nth-child(3) .card-icon { background: #FEF3D9; color: #C98A20; }
.category-card:nth-child(4) .card-icon { background: #EFE8F7; color: #6C48B8; }

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #2D2820;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}

.card-link:hover {
  color: #E0483E;
}

.card-link::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ==========================================
   特性区块
   ========================================== */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 20px 40px rgba(89, 72, 52, 0.16),
    0 0 0 4px #FFFDF9;
}

.feature-image::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(224, 72, 62, 0.92);
  color: #FFF8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(224, 72, 62, 0.4);
  opacity: 0.9;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-image:hover::after {
  transform: translate(-50%, -50%) scale(1.1);
  background: #C23329;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 12px 0;
}

.feature-text .section-label {
  margin-bottom: 14px;
}

.feature-text p {
  color: #6B6157;
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #3D352C;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.7rem;
  color: #FFF;
  background: #175E5C;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(23, 94, 92, 0.25);
}

/* ==========================================
   数据横条
   ========================================== */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  background: #FFFDF9;
  border: 1px solid #E4D8C8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(89, 72, 52, 0.08);
}

.stat-item {
  padding: 34px 24px;
  border-right: 1px solid #E8DED0;
  transition: background 0.3s ease;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: #FBF6EF;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #E0483E;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-item:nth-child(2) .stat-number { color: #175E5C; }
.stat-item:nth-child(3) .stat-number { color: #C98A20; }
.stat-item:nth-child(4) .stat-number { color: #6C48B8; }

.stat-label {
  font-size: 0.85rem;
  color: #8A7B6C;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ==========================================
   内容墙（影视卡片）
   ========================================== */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E4D8C8;
  background: #FFFDF9;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  position: relative;
}

.content-wall-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #E0483E, #D99A2C);
  z-index: 2;
  transition: height 0.35s ease;
  border-radius: 0 4px 4px 0;
}

.content-wall-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(89, 72, 52, 0.14);
  border-color: #D9C9B8;
}

.content-wall-item:hover::before {
  height: 100%;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px 24px 24px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2D2820;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.85rem;
  color: #8A7B6C;
  line-height: 1.7;
}

/* ==========================================
   FAQ 手风琴
   ========================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFDF9;
  border: 1px solid #E4D8C8;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  border-color: #D9A88E;
}

.faq-item.open {
  border-color: #E0483E;
  box-shadow: 0 6px 20px rgba(224, 72, 62, 0.08);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2D2820;
  transition: color 0.25s;
}

.faq-item.open .faq-question {
  color: #E0483E;
  font-weight: 700;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #E0483E;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: #6B6157;
  font-size: 0.92rem;
  line-height: 1.85;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   CTA 横幅
   ========================================== */

.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 24px;
  color: #FFF8F0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #C23329, #E0483E 45%, #C98A20);
  background-size: 220% 220%;
  animation: ctaGradient 10s ease infinite;
  box-shadow: 0 20px 50px rgba(192, 62, 52, 0.25);
}

@keyframes ctaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-banner::before {
  content: '▶';
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 160px;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.cta-banner::after {
  content: '✦';
  position: absolute;
  left: 30px;
  top: 15px;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFF;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #FFF;
  color: #E0483E;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #FEF0E8;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* ==========================================
   页脚
   ========================================== */

.site-footer {
  padding: 64px 0 28px;
  background: #EFE7DB;
  border-top: 3px solid #E0483E;
  margin-top: 80px;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: #2D2820;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
  border-radius: 10px;
}

.footer-brand + p {
  color: #7A6D5F;
  font-size: 0.85rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2D2820;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: #E0483E;
  border-radius: 2px;
}

.footer-col a {
  display: block;
  color: #7A6D5F;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color 0.25s, padding-left 0.25s;
}

.footer-col a:hover {
  color: #E0483E;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(45, 40, 32, 0.12);
  margin-top: 48px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: #8A7B6C;
  letter-spacing: 0.02em;
}

/* ==========================================
   工具类
   ========================================== */

.text-accent { color: #E0483E; }

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 48px;
  color: #6B6157;
  line-height: 1.85;
  font-size: 0.95rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================
   响应式
   ========================================== */

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid #E4D8C8;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #FAF6EF;
    padding: 24px;
    gap: 6px;
    border-bottom: 1px solid #E4D8C8;
    box-shadow: 0 20px 40px rgba(89, 72, 52, 0.12);
  }

  .main-nav.open a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .main-nav.open .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .cta-banner {
    padding: 48px 20px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-bar .stat-item {
    border-right: none;
    border-bottom: 1px solid #E4D8C8;
    padding: 24px;
  }

  .stats-bar .stat-item:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .cta-banner {
    padding: 40px 16px;
  }
}