/* ==========================================================
   电影天堂 · Cinema Paradise
   银幕之上，即是天堂 — Awwwards级设计系统
   主题：日光影戏 / Sunlit Silver Screen
   ========================================================== */

:root {
  --cream: #FFF9F2;
  --cream-deep: #F5EDE3;
  --coral: #FF5A4E;
  --coral-deep: #E8402F;
  --teal: #147F7F;
  --teal-tint: #E3F2F0;
  --amber: #F5B83D;
  --amber-deep: #C98A00;
  --ink: #2E2C2A;
  --ink-soft: #80776B;
  --line: rgba(46, 44, 42, 0.10);
  --shadow: rgba(255, 90, 78, 0.16);
  --gradient-main: linear-gradient(135deg, #FF5A4E 0%, #FF8E66 100%);
  --gradient-warm: linear-gradient(135deg, #FF5A4E, #F5B83D);
  --max-w: 1200px;
  --header-h: 68px;
  color-scheme: light;
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

/* 页面纹理 — 电影颗粒 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: radial-gradient(rgba(46, 44, 42, 0.035) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

/* 页面顶部 — 霓虹檐线 */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10000;
  background: linear-gradient(90deg, var(--coral) 0%, var(--amber) 50%, var(--teal) 100%);
}

::selection {
  background: var(--coral);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--coral), var(--amber));
  border-radius: 4px;
}

/* 核心布局 */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  scroll-margin-top: var(--header-h);
  position: relative;
}

.section:nth-child(even) {
  background: var(--cream-deep);
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 242, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 14px var(--shadow);
}

.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(--ink-soft);
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transition: width 0.28s cubic-bezier(0.65, 0, 0.35, 1);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--ink);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 24px !important;
  border-radius: 50px;
  background: var(--gradient-main);
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s;
}

.menu-toggle:hover {
  border-color: var(--coral);
}

/* 首页Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 560px 420px at 85% 20%, rgba(245, 184, 61, 0.16), transparent 70%),
    radial-gradient(ellipse 520px 520px at 8% 88%, rgba(20, 127, 127, 0.08), transparent 70%),
    var(--cream);
}

/* 电影胶片边饰 */
.hero::before {
  content: '';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 70%;
  border-radius: 20px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 22px,
    rgba(255, 90, 78, 0.10) 22px 30px,
    transparent 30px 52px
  );
  pointer-events: none;
}

.hero-content {
  flex: 1 1 55%;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 7px 18px;
  border-radius: 40px;
  margin-bottom: 18px;
  background: rgba(255, 90, 78, 0.08);
  border: 1px dashed rgba(255, 90, 78, 0.35);
  color: var(--coral);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero h1 .text-accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.68;
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 42%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: rotate(1.2deg);
  box-shadow:
    22px 22px 0 rgba(255, 90, 78, 0.08),
    0 30px 70px rgba(46, 44, 42, 0.10);
  border: 6px solid #fff;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.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: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 6px 20px var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--shadow);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 127, 127, 0.2);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--coral);
  padding: 4px 0;
  border-bottom: 2px solid var(--amber);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}

.section-desc {
  max-width: 640px;
  opacity: 0.68;
  margin-bottom: 44px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(255, 90, 78, 0.10);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:nth-child(2n)::before {
  background: linear-gradient(90deg, var(--teal), #2EA8A0);
}

.category-card:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--amber), var(--coral));
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: rgba(255, 90, 78, 0.10);
}

.category-card:nth-child(2n) .card-icon {
  background: rgba(20, 127, 127, 0.10);
}

.category-card:nth-child(3n) .card-icon {
  background: rgba(245, 184, 61, 0.15);
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.25s;
}

.category-card:nth-child(2n) .card-link {
  color: var(--teal);
}

.category-card:hover .card-link {
  gap: 10px;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 50px rgba(46, 44, 42, 0.08);
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px rgba(255, 249, 242, 0.25);
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  font-size: 1rem;
  color: var(--ink-soft);
}

.feature-text .section-title {
  color: var(--ink);
}

.feature-list {
  list-style: none;
  margin-top: 10px;
}

.feature-list li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 90, 78, 0.10);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  border-radius: 0 3px 3px 0;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--coral);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.62;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* 内容墙 */
.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 var(--line);
  background: #fff;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(46, 44, 42, 0.10);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.content-wall-item:hover img {
  transform: scale(1.06);
}

.content-wall-item::after {
  content: '▶';
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--coral);
  box-shadow: 0 6px 18px rgba(46, 44, 42, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.content-wall-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: rgba(255, 90, 78, 0.25);
}

.faq-item.open {
  border-color: rgba(255, 90, 78, 0.35);
  box-shadow: 0 8px 24px rgba(255, 90, 78, 0.08);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--coral);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item.open .faq-question {
  color: var(--coral);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.72;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink);
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqFade 0.35s ease forwards;
}

/* CTA横幅 */
.cta-banner {
  position: relative;
  padding: 64px 40px;
  text-align: center;
  border-radius: 20px;
  background: var(--gradient-warm);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(255, 90, 78, 0.28);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 220%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.22), transparent 58%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}

.cta-banner p {
  position: relative;
  z-index: 2;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--coral);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.45);
}

.cta-banner .text-accent {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* 页脚 */
.site-footer {
  padding: 60px 0 28px;
  position: relative;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--teal), var(--coral));
  background-size: 300% 100%;
  opacity: 0.7;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 280px;
  line-height: 1.8;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: var(--coral);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(46, 44, 42, 0.10);
  margin-top: 48px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* 工具类 */
.text-accent {
  color: var(--coral);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.68;
  color: var(--ink-soft);
  line-height: 1.8;
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 关键帧 */
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 0.72; transform: translateY(0); }
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.hero-eyebrow {
  animation: heroGlow 3.2s ease-in-out infinite;
}

/* ═════════ 响应式 ═════════ */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding-top: 140px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .hero::before {
    display: none;
  }

  .feature-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .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: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    gap: 6px;
    box-shadow: 0 20px 32px rgba(46, 44, 42, 0.10);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open a {
    padding: 12px 8px;
    border-radius: 8px;
  }

  .main-nav.open a:not(.nav-cta):hover {
    background: rgba(255, 90, 78, 0.06);
  }

  .main-nav.open .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 48px 24px;
  }
}

@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;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
  }

  .stat-item {
    padding: 22px 14px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    border-radius: 14px;
  }
}