/* ========================================
   影视大全 · 孟菲斯胶片印相设计系统
   浅色暖底 + 硬边阴影 + 彩色胶片元素
   ======================================== */

:root {
  --primary: #FF4A3D;
  --secondary: #FFC531;
  --accent: #00A8A8;
  --bg: #FFF9F2;
  --bg-alt: #FFEEDD;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: rgba(26, 26, 46, 0.1);
  --white: #FFFFFF;
}

/* ========== 基础重置 ========== */
*, *::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: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* 胶片颗粒质感 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(26, 26, 46, 0.045) 0.5px, transparent 0.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: var(--secondary);
  color: var(--text);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text); border-radius: 20px; border: 3px solid var(--bg); }

/* ========== 核心布局 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

/* ========== 导航 — 固定顶部 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--text);
  box-shadow: 0 2px 0 var(--secondary);
}

.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;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 4px 12px 4px 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid var(--text);
  box-shadow: 3px 3px 0 var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  padding: 4px 2px;
  position: relative;
  transition: 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 24px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, var(--primary), #FF7A5C);
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 4px 4px 0 var(--text);
  transition: 0.2s !important;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--text);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--text);
  border-radius: 4px 12px 4px 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.menu-toggle::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--text);
  box-shadow: 0 -5px 0 var(--text), 0 5px 0 var(--text);
}

/* ========== 首页 Hero ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.14;
  top: 18%;
  right: 8%;
  filter: blur(70px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.08;
  bottom: 12%;
  left: 24%;
  filter: blur(90px);
  z-index: 0;
}

.hero-content {
  flex: 1.2;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px 12px 2px 12px;
  margin-bottom: 20px;
  box-shadow: 4px 4px 0 var(--primary);
}

.hero-eyebrow::before {
  content: '▶';
  font-size: 0.55rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 strong {
  color: var(--primary);
  font-weight: 900;
  position: relative;
  display: inline-block;
}

.hero h1 strong::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--secondary);
  border-radius: 4px;
  z-index: -1;
}

.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
}

.hero p {
  font-size: 1.12rem;
  color: var(--text);
  opacity: 0.75;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0.8;
  max-width: 480px;
  position: relative;
  border-radius: 24px 4px 24px 4px;
  overflow: hidden;
  border: 2px solid var(--text);
  box-shadow: 12px 12px 0 var(--secondary);
  background: linear-gradient(135deg, #FFE69A 0%, var(--primary) 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  border-radius: 18px 4px 18px 4px;
  z-index: 1;
  pointer-events: none;
}

.hero-image::after {
  content: '▶';
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text);
  box-shadow: 5px 5px 0 rgba(26, 26, 46, 0.85);
  position: relative;
  z-index: 2;
  transition: 0.3s;
}

.hero-image:hover::after {
  transform: scale(1.06);
  box-shadow: 8px 8px 0 rgba(26, 26, 46, 0.85);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn .icon {
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #FF7A5C);
  color: #fff;
  box-shadow: 4px 4px 0 var(--text);
  border: 2px solid var(--text);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--text);
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--text);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text);
  border-radius: 50px;
  color: var(--text);
  box-shadow: 4px 4px 0 transparent;
}

.btn-outline:hover {
  background: var(--text);
  color: var(--secondary);
  box-shadow: 4px 4px 0 var(--primary);
  transform: translate(-2px, -2px);
}

/* ========== 标签 / 标题 ========== */
.section-label {
  display: inline-block;
  background: var(--text);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px 12px 2px 12px;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 3px 3px 0 var(--primary);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 6px;
  background: var(--primary);
  border-radius: 3px;
  box-shadow: 10px 0 0 var(--secondary);
}

.section-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
}

.section-desc {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.category-card {
  background: var(--white);
  border-radius: 4px 24px 4px 24px;
  padding: 32px 28px 28px;
  border: 2px solid var(--text);
  box-shadow: 6px 6px 0 var(--text);
  transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.category-card::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--text) 0 6px, transparent 6px 12px);
  border-radius: 2px;
  opacity: 0.12;
}

.category-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--primary);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 4px 16px 4px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: var(--secondary);
  border: 2px solid var(--text);
  box-shadow: 3px 3px 0 var(--text);
}

.category-card:nth-child(2) .card-icon {
  background: var(--primary);
  color: #fff;
}

.category-card:nth-child(3) .card-icon {
  background: var(--accent);
  color: #fff;
}

.category-card:nth-child(4) .card-icon {
  background: var(--text);
  color: var(--secondary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 16px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: 0.2s;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card-link:hover {
  border-bottom-color: var(--primary);
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 4px 32px 4px 32px;
  overflow: hidden;
  border: 2px solid var(--text);
  box-shadow: 10px 10px 0 var(--accent);
  min-height: 340px;
  background: linear-gradient(135deg, rgba(0, 168, 168, 0.25), rgba(255, 197, 49, 0.35)), var(--accent);
  position: relative;
}

.feature-image::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 24px 4px 24px 4px;
  z-index: 2;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.feature-block:hover .feature-image img {
  transform: scale(1.04);
}

.feature-text {
  font-size: 1.02rem;
}

.feature-text .section-title {
  margin-bottom: 18px;
}

.feature-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  border-bottom: 1px dashed var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1.5px solid var(--text);
  box-shadow: 2px 2px 0 var(--text);
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--text);
  border-radius: 20px 4px 20px 4px;
  padding: 32px 8px;
  box-shadow: 10px 10px 0 var(--secondary);
}

.stat-item {
  padding: 20px 16px;
  border: none;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 2px;
  background: var(--text);
  opacity: 0.12;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.stat-item:nth-child(2) .stat-number { color: var(--accent); }
.stat-item:nth-child(3) .stat-number { color: var(--text); }
.stat-item:nth-child(4) .stat-number { color: var(--primary); }

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 8px;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: var(--white);
  border-radius: 24px 4px 24px 4px;
  overflow: hidden;
  border: 2px solid var(--text);
  box-shadow: 5px 5px 0 var(--text);
  transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 9px 9px 0 var(--secondary);
}

.content-wall-item:nth-child(even):hover {
  transform: translateY(-6px) rotate(0.6deg);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--text);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: block;
}

.content-wall-item:nth-child(3n+2) img {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.content-wall-item:nth-child(3n+3) img {
  background: linear-gradient(135deg, var(--text), var(--accent));
}

.content-wall-body {
  padding: 22px 24px 26px;
}

.content-wall-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 6px;
  line-height: 1.6;
}

.content-wall-body a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--secondary);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--text);
  border-radius: 4px 16px 4px 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--text);
  transition: 0.2s;
}

.faq-item:hover {
  box-shadow: 5px 5px 0 var(--secondary);
}

.faq-item.open {
  box-shadow: 5px 5px 0 var(--accent);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  display: none;
  padding: 4px 24px 20px;
  color: var(--text);
  opacity: 0.75;
  line-height: 1.7;
  border-top: 1px dashed var(--border);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========== CTA 横幅 ========== */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 32px 4px 32px 4px;
  background: linear-gradient(135deg, var(--primary), #FF7A5C);
  color: #fff;
  border: 2px solid var(--text);
  box-shadow: 10px 10px 0 var(--text);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  background: var(--secondary);
  border-radius: 50%;
  top: -30px;
  right: -30px;
  opacity: 0.2;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  bottom: -40px;
  left: -20px;
  opacity: 0.18;
}

.cta-banner h2 {
  color: #fff !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--text);
  box-shadow: 5px 5px 0 var(--text);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  box-shadow: 8px 8px 0 var(--text);
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--bg-alt);
  padding: 64px 0 28px;
  margin-top: 100px;
  position: relative;
  border-top: none;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0 10px,
    var(--secondary) 10px 20px,
    var(--accent) 20px 30px,
    var(--text) 30px 40px
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
}

.footer-col a {
  color: var(--text);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.92rem;
  transition: 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  border-top: 2px dashed rgba(26, 26, 46, 0.15);
  margin-top: 48px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ========== 工具类 ========== */
.text-accent {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    gap: 40px;
    padding: 110px 24px 56px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-image {
    max-width: 100%;
    min-height: 260px;
  }

  .hero-image::after {
    width: 72px;
    height: 72px;
    font-size: 1.4rem;
  }

  .block {
    grid-template-columns: 1fr;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .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);
    border-bottom: 2px solid var(--text);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(26, 26, 46, 0.08);
  }

  .main-nav.open .nav-cta {
    display: inline-flex;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .category-card {
    box-shadow: 4px 4px 0 var(--text);
  }

  .category-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--primary);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    padding: 16px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .main-nav.open {
    top: 66px;
    padding: 20px;
    gap: 14px;
  }

  .faq-item .faq-question {
    font-size: 0.9rem;
    padding: 14px 18px;
  }

  .faq-item .faq-answer {
    padding: 4px 18px 16px;
    font-size: 0.88rem;
  }
}