/* ============================================================
   88影视 · 帧藏美好 — 复古胶片 × 奶油纸张 设计系统
   独特视觉：电影纪念册 / 胶片票根 / 暖色印章美学
   ============================================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  overflow-x: hidden;
  background-color: #FAF4E8;
  color: #3A2B25;
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(245, 185, 21, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 77, 46, 0.04) 0%, transparent 50%);
  line-height: 1.6;
}

::selection {
  background: #FF4D2E;
  color: #FFF7EC;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, #FFF8EC 0%, #F3EBDE 100%);
  position: relative;
}

/* 偶数区块顶部加一条电影胶片风格的装饰线 */
.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #E85D30 0 18px,
    #F8F1E5 18px 32px,
    #F2B705 32px 46px,
    #F8F1E5 46px 60px
  );
  opacity: 0.35;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(252, 246, 236, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #EBE0D0;
  box-shadow: 0 4px 30px rgba(58, 43, 37, 0.04);
}

.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: 900;
  font-size: 1.4rem;
  text-decoration: none;
  color: #3A2B25;
  letter-spacing: 1px;
  position: relative;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px 4px 12px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFF7EC;
  background: linear-gradient(135deg, #FF4D2E, #F2B705);
  box-shadow: 0 4px 12px rgba(255, 77, 46, 0.3);
  position: relative;
  z-index: 1;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  border-radius: 8px 2px 8px 2px;
  z-index: -1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3A2B25;
  letter-spacing: 0.5px;
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #FF4D2E, #F2B705);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.main-nav a:not(.nav-cta):hover {
  color: #FF4D2E;
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 40px;
  color: #FFF7EC !important;
  font-weight: 700;
  background: linear-gradient(135deg, #E85D30, #FF4D2E);
  box-shadow: 0 4px 14px rgba(233, 93, 48, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 93, 48, 0.42);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: 10px;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #3A2B25;
  border-radius: 4px;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 29px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
}

/* 巨大的88光影背景字 */
.hero::before {
  content: '88';
  position: absolute;
  right: clamp(-100px, 2vw, 20px);
  top: 50%;
  transform: translateY(-52%) rotate(6deg);
  font-size: clamp(260px, 40vw, 560px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, rgba(242, 183, 5, 0.18), rgba(255, 77, 46, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

/* 胶片方孔装饰 — 左侧竖排 */
.hero::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 120px;
  background: repeating-linear-gradient(
    180deg,
    #E85D30 0 12px,
    transparent 12px 20px
  );
  opacity: 0.12;
  border-radius: 12px;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 60px;
  margin-bottom: 22px;
  background: #FFF7EC;
  color: #E85D30;
  border: 1.5px solid rgba(232, 93, 48, 0.3);
  box-shadow: inset 0 -2px 0 rgba(232, 93, 48, 0.1);
}

.hero-eyebrow::before {
  content: '✦';
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 900;
  color: #2D1F14;
  letter-spacing: 2px;
  text-shadow:
    3px 3px 0 rgba(242, 183, 5, 0.22),
    6px 6px 0 rgba(255, 77, 46, 0.06);
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '帧藏美好';
  position: absolute;
  right: -28px;
  bottom: -8px;
  font-size: 0.2em;
  font-weight: 700;
  letter-spacing: 4px;
  color: #FF4D2E;
  background: #FFF7EC;
  padding: 2px 12px;
  border-radius: 40px;
  border: 1.5px solid rgba(255, 77, 46, 0.3);
  transform: rotate(-4deg);
  white-space: nowrap;
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.7;
  color: #5C4437;
  max-width: 560px;
  margin: 0 auto 38px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow:
    0 20px 50px rgba(58, 43, 37, 0.12),
    0 0 0 6px #FFF7EC,
    0 0 0 6.5px rgba(232, 93, 48, 0.2);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow:
    0 28px 60px rgba(58, 43, 37, 0.16),
    0 0 0 6px #FFF7EC,
    0 0 0 7px rgba(242, 183, 5, 0.4);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 1px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  color: #FFF7EC;
  background: linear-gradient(135deg, #E85D30, #FF4D2E);
  box-shadow: 0 8px 24px rgba(255, 77, 46, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 77, 46, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #3A2B25;
  color: #3A2B25;
  box-shadow: 0 4px 0 #3A2B25;
}

.btn-outline:hover {
  background: #3A2B25;
  color: #FFF7EC;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #2D1F14;
}

/* ---------- 标签 / 标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FF4D2E;
  margin-bottom: 14px;
  padding: 4px 16px;
  border: 1.5px solid rgba(255, 77, 46, 0.28);
  border-radius: 40px;
  background: rgba(255, 247, 236, 0.6);
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #2D1F14;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.section-desc {
  max-width: 620px;
  opacity: 0.7;
  color: #5C4437;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  perspective: 1000px;
}

.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  background: #FFF9EF;
  border: 1.5px solid #EADCC8;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  box-shadow: 0 4px 0 #EADCC8;
}

/* 卡片顶部的"透明胶带"装饰 */
.category-card::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 70px;
  height: 22px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(242, 183, 5, 0.28);
  border-left: 1px dashed rgba(242, 183, 5, 0.5);
  border-right: 1px dashed rgba(242, 183, 5, 0.5);
  opacity: 0.8;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 16px 36px rgba(232, 93, 48, 0.14);
  border-color: rgba(232, 93, 48, 0.4);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px 6px 14px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(145deg, #FFEDD6, #FFE3C2);
  color: #E85D30;
  border: 1px solid rgba(232, 93, 48, 0.2);
  box-shadow: inset 0 -3px 0 rgba(232, 93, 48, 0.15);
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #FF4D2E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 12px;
}

.card-link::after {
  content: '→';
  font-size: 1.1rem;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 18px 40px rgba(58, 43, 37, 0.1),
    0 0 0 8px #FAF4E8,
    0 0 0 10px rgba(242, 183, 5, 0.35);
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
}

.feature-image:hover {
  transform: rotate(0) scale(1.01);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4A3A2E;
  font-weight: 500;
  border-bottom: 1px dashed rgba(58, 43, 37, 0.1);
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: #FFF7EC;
  background: linear-gradient(135deg, #E85D30, #F2B705);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(232, 93, 48, 0.3);
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
  cursor: default;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 16px;
  background: #FFF9EF;
  border: 1.5px solid #EADCC8;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #E85D30 0 10px,
    #F2B705 10px 16px
  );
  opacity: 0.6;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(58, 43, 37, 0.1);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #FF4D2E;
  line-height: 1.2;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  color: #5C4437;
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  background: #FFF9EF;
  border: 1.5px solid #EADCC8;
  box-shadow: 0 4px 0 #EADCC8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* 胶片齿孔装饰 */
.content-wall-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 20px,
    rgba(58, 43, 37, 0.2) 20px 24px
  );
  z-index: 3;
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(0.4deg);
  box-shadow: 0 18px 40px rgba(58, 43, 37, 0.14);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2D1F14;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFF9EF;
  border: 1.5px solid #EADCC8;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(232, 93, 48, 0.4);
}

.faq-item.open {
  border-color: rgba(232, 93, 48, 0.5);
  box-shadow: 0 6px 0 rgba(232, 93, 48, 0.12);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2D1F14;
  transition: color 0.2s;
}

.faq-item.open .faq-question {
  color: #E85D30;
}

/* 自定义展开箭头 */
.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: #E85D30;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  color: #4A3A2E;
  line-height: 1.8;
  font-size: 0.95rem;
  border-top: 1px dashed rgba(58, 43, 37, 0.1);
  padding-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #FF4D2E, #E85D30 50%, #F2B705);
  color: #FFF7EC;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(232, 93, 48, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-banner::after {
  content: '88';
  position: absolute;
  bottom: -70px;
  left: -20px;
  font-size: 200px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFF7EC;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  position: relative;
  z-index: 2;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-banner .btn-primary {
  background: #FFF7EC;
  color: #E85D30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 70px 0 30px;
  background: #F3EBDE;
  border-top: 4px solid #EADCC8;
  position: relative;
  color: #3A2B25;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  opacity: 0.6;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #2D1F14;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: #5C4437;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul a:hover {
  color: #FF4D2E;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(58, 43, 37, 0.1);
  margin-top: 48px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
  letter-spacing: 1px;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: #FF4D2E;
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.text-center .section-desc,
.text-center.seo-description {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: rgba(252, 246, 236, 0.98);
    backdrop-filter: blur(20px);
    padding: 28px 24px;
    border-radius: 0 0 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 24px 50px rgba(58, 43, 37, 0.18);
    border: 1px solid #EBE0D0;
    z-index: 99;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 110px 0 50px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 9vw, 3.6rem);
  }

  .hero h1::after {
    right: 0;
    bottom: -14px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-item .faq-question {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 64px 0;
  }

  .hero::before {
    font-size: 60vw;
    right: -30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-banner {
    padding: 48px 24px;
    border-radius: 16px;
  }

  .stat-item {
    padding: 20px 14px;
  }

  .feature-block {
    gap: 28px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .menu-toggle {
    display: flex;
  }
}