/* ============================================
   🎬 小影视 · 孟菲斯拼贴视觉系统
   ============================================ */

:root {
  --coral: #FF5A5F;
  --yellow: #FFD166;
  --mint: #06D6A0;
  --blue: #4CC9F0;
  --cream: #FFF8F0;
  --peach: #FFEDD9;
  --ink: #2D2A26;
  --border: 2px solid #2D2A26;
  --shadow: 4px 4px 0 #2D2A26;
  --shadow-lg: 8px 8px 0 #2D2A26;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(255, 90, 95, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--coral);
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--peach);
  border-top: 3px dashed rgba(45, 42, 38, 0.15);
  border-bottom: 3px dashed rgba(45, 42, 38, 0.15);
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--ink);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0 70px,
    var(--yellow) 70px 140px,
    var(--mint) 140px 210px,
    var(--blue) 210px 280px
  );
  z-index: -1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--yellow);
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.main-nav .nav-cta {
  background: var(--coral);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  color: #fff !important;
  font-weight: 700;
}

.main-nav .nav-cta:hover {
  background: var(--coral);
  color: #fff !important;
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: var(--mint);
  border: var(--border);
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  padding: 0;
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 1;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  padding: 140px 0 90px;
  background: var(--cream);
  overflow: hidden;
  flex-wrap: wrap;
}

.hero::before {
  content: '✦';
  position: absolute;
  font-size: 12rem;
  line-height: 1;
  color: var(--yellow);
  top: 12%;
  right: 6%;
  opacity: 0.7;
  text-shadow: 4px 4px 0 var(--ink);
  animation: float 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 96px;
  height: 96px;
  background: var(--mint);
  border: var(--border);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  bottom: 8%;
  left: 46%;
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

.hero-content {
  flex: 1 1 420px;
  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: 50px;
  margin-bottom: 20px;
  background: var(--mint);
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: '✦ ';
  font-size: 0.8rem;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  display: inline-block;
  border-bottom: 12px solid var(--yellow);
  padding-bottom: 10px;
  transform: rotate(-0.8deg);
  text-shadow: 2px 2px 0 rgba(255, 209, 102, 0.4);
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.72;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 400px;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--blue);
  position: relative;
  transform: rotate(1.2deg);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border: var(--border);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  display: block;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral);
  filter: brightness(1.05);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- 标题区 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  background: var(--blue);
  border: var(--border);
  border-radius: 50px;
  padding: 5px 16px;
  box-shadow: 2px 2px 0 var(--ink);
  text-transform: uppercase;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  display: inline-block;
  border-bottom: 8px solid var(--yellow);
  padding-bottom: 6px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border: var(--border);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.2s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: var(--coral);
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.category-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}

.category-card:nth-child(1) {
  background: #fff;
}
.category-card:nth-child(1):hover {
  background: var(--yellow);
}
.category-card:nth-child(2):hover {
  background: var(--mint);
}
.category-card:nth-child(3):hover {
  background: var(--blue);
}
.category-card:nth-child(4):hover {
  background: var(--coral);
  color: #fff;
}
.category-card:nth-child(4):hover .card-link {
  color: #fff;
  border-color: #fff;
}
.category-card:nth-child(4):hover .card-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  background: var(--yellow);
}

.category-card:nth-child(2) .card-icon { background: var(--mint); }
.category-card:nth-child(3) .card-icon { background: var(--blue); }
.category-card:nth-child(4) .card-icon { background: var(--coral); }

.card-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.card-link::after {
  content: ' →';
  transition: transform 0.2s ease;
  display: inline-block;
}

.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: 20px;
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--blue);
  position: relative;
  transform: rotate(-1.2deg);
}

.feature-image::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border: var(--border);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.feature-text {
  padding: 10px 0;
}

.feature-text .section-title {
  margin-bottom: 14px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  border-bottom: 1px dashed rgba(45, 42, 38, 0.2);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  background: #fff;
  border: var(--border);
  border-radius: 20px;
  padding: 36px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
  transform: rotate(-2deg) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-item:nth-child(1) { background: var(--yellow); }
.stat-item:nth-child(2) { background: var(--mint); }
.stat-item:nth-child(3) { background: var(--blue); }
.stat-item:nth-child(4) { background: var(--coral); }

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.stat-item:nth-child(4) .stat-number {
  color: #fff;
}

.stat-label {
  font-size: 0.92rem;
  opacity: 0.75;
  margin-top: 8px;
  font-weight: 600;
}

.stat-item:nth-child(4) .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  background: #fff;
  border: var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(0.6deg);
  box-shadow: var(--shadow-lg);
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: var(--border);
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.04);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.86rem;
  opacity: 0.7;
  margin-bottom: 12px;
  line-height: 1.6;
}

.content-wall-body a {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.content-wall-body a:hover {
  background: var(--coral);
  color: #fff;
  border-color: transparent;
  padding: 2px 8px;
  border-radius: 4px;
}

.content-wall-item .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  border: var(--border);
  background: var(--yellow);
  margin-bottom: 10px;
}

.content-wall-item .tag.tag-mint { background: var(--mint); }
.content-wall-item .tag.tag-blue { background: var(--blue); }
.content-wall-item .tag.tag-coral { background: var(--coral); color: #fff; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(45, 42, 38, 0.15);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item.open {
  box-shadow: 5px 5px 0 var(--ink);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fff;
  border-bottom: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--coral);
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(90deg);
}

.faq-item.open .faq-question {
  background: var(--yellow);
  border-bottom-color: var(--ink);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.78;
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
  padding-top: 16px;
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: var(--coral);
  border: var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 50%;
  top: 20px;
  left: 30px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background: var(--mint);
  border: var(--border);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  bottom: 18px;
  right: 42px;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 2px 2px 0 var(--ink);
  letter-spacing: -0.5px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--coral);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.cta-banner .btn-primary:hover {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--yellow);
  border-top: 3px solid var(--ink);
  padding: 60px 0 30px;
  color: var(--ink);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0 80px,
    var(--mint) 80px 160px,
    var(--blue) 160px 240px
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.4;
}

.footer-brand .logo-icon {
  margin-bottom: 14px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--coral);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.72;
  transition: all 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-left: 6px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 2px solid rgba(45, 42, 38, 0.25);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: var(--coral);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 52px;
  opacity: 0.7;
  text-align: center;
  line-height: 1.8;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero::before {
    font-size: 6rem;
    top: 6%;
    right: 4%;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-image {
    transform: none;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: 0 8px 0 rgba(45, 42, 38, 0.15);
    z-index: 100;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .main-nav a:hover {
    transform: translateX(4px);
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 70px 0;
  }
}

@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;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.9rem;
    border-bottom-width: 8px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cta-banner {
    padding: 44px 24px;
    border-radius: 18px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .footer-grid {
    gap: 28px;
  }

  .hero-image {
    min-width: 100%;
  }
}