/* =========================================================
   影视工厂 · Film Factory
   Style system: "The Illuminated Film Studio"
   浅色胶片工业美学 — 米白 / 朱红橘 / 藏蓝 / 金色
   ========================================================= */

:root {
  --bg-cream: #FFF9F0;
  --bg-warm: #FFF3E2;
  --bg-even: #FDF6EC;
  --ink: #26221C;
  --brand: #F5462F;
  --deep: #123A5F;
  --gold: #FFC531;
  --muted: #8A8478;
  --line: #E7DDCC;
  --card: #ffffff;
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
  overflow-x: hidden;
  background: var(--bg-cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand);
  color: #fff;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-even);
}

/* 导航 — 固定在顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px dashed 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: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px 10px 10px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 900;
  background: var(--brand);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(245, 70, 47, 0.2);
  letter-spacing: -0.08em;
}

.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;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600;
  background: var(--brand);
  box-shadow: 0 6px 14px -6px rgba(245, 70, 47, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(245, 70, 47, 0.55);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.menu-toggle::after {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* 首页 Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 0 72px;
  position: relative;
  background:
    radial-gradient(circle at 84% 30%, rgba(255, 197, 49, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 62% 76%, rgba(245, 70, 47, 0.1) 0%, transparent 30%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(18, 58, 95, 0.015) 18px 19px, transparent 19px 40px);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: var(--gold);
  color: var(--ink);
  letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 rgba(38, 34, 28, 0.1);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.72;
  max-width: 560px;
  margin-bottom: 36px;
  padding-left: 18px;
  border-left: 3px solid var(--brand);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex-shrink: 0;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(245, 70, 47, 0.35);
  border: 3px solid #fff;
  transform: rotate(1.6deg);
  position: relative;
  background: linear-gradient(135deg, #FFE9D2, var(--bg-warm));
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 197, 49, 0.22) 0%, transparent 42%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(245, 70, 47, 0.65);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(245, 70, 47, 0.6);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--deep);
  color: var(--deep);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* 标签 / 标题 */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  padding: 6px 18px 6px 36px;
  position: relative;
  background: var(--bg-cream);
  border: 1.5px dashed rgba(245, 70, 47, 0.5);
  border-radius: 999px;
  color: var(--brand);
}

.section-label::before {
  content: '／';
  position: absolute;
  left: 12px;
  font-weight: 900;
  color: var(--brand);
  font-size: 0.9rem;
}

.section-title {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--deep);
}

.section-desc {
  max-width: 600px;
  opacity: 0.68;
  margin-bottom: 44px;
  font-size: 0.98rem;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -18px rgba(38, 34, 28, 0.3);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.25rem;
  background: var(--bg-warm);
  color: var(--brand);
}

.card-link {
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.card-link:hover {
  gap: 10px;
  transition: gap 0.2s ease;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 20px 36px -24px rgba(18, 58, 95, 0.35);
  position: relative;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.98rem;
}

.feature-list li::before {
  content: 'FILM';
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  background: var(--bg-warm);
  color: var(--brand);
  border-radius: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(245, 70, 47, 0.2);
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -20px rgba(38, 34, 28, 0.3);
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), #FF9A5C);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 500;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -20px rgba(38, 34, 28, 0.28);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 20px 22px;
}

.content-wall-body .card-link {
  margin-top: 10px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(245, 70, 47, 0.4);
}

.faq-item.open {
  border-color: rgba(245, 70, 47, 0.6);
  box-shadow: 0 12px 22px -18px rgba(38, 34, 28, 0.2);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqSlide 0.28s ease;
}

@keyframes faqSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* CTA 横幅 */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 14px, transparent 14px 28px),
    linear-gradient(125deg, #D83829, #FF6B30);
  box-shadow: 0 22px 44px -20px rgba(216, 56, 41, 0.5);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--brand) !important;
  box-shadow: 0 10px 22px -10px rgba(38, 34, 28, 0.4);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
  padding: 60px 0 28px;
  background: var(--bg-warm);
  border-top: 1px dashed var(--line);
  color: #3A352C;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  opacity: 0.65;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--deep);
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: #5A5348;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px dashed rgba(58, 53, 44, 0.25);
  margin-top: 40px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.84rem;
  opacity: 0.7;
}

/* 工具类 */
.text-accent {
  color: var(--brand);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ⚠️ 响应式 */
@media (max-width: 960px) {
  .hero .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-image {
    max-width: 100%;
    width: 100%;
  }
}

@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: 28px;
  }

  .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: var(--bg-cream);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px dashed var(--line);
    box-shadow: 0 20px 30px -24px rgba(38, 34, 28, 0.3);
    align-items: flex-start;
  }

  .main-nav.open .nav-cta {
    margin-top: 4px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 120px 0 56px;
  }
}

@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;
  }

  .btn {
    justify-content: center;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}