:root {
  --bg: #FBF6EE;
  --bg-alt: #F2EAE0;
  --card: #FFFFFF;
  --ink: #32251B;
  --brand: #E85A2A;
  --brand-deep: #C4431B;
  --teal: #1E5A53;
  --gold: #D8A03D;
  --border: rgba(50, 37, 27, 0.12);
  --shadow: 0 12px 32px rgba(50, 37, 27, 0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
}

*, *::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;
  overflow-x: hidden;
  background: var(--bg);
  background-image: radial-gradient(rgba(50, 37, 27, 0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--brand);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
  scroll-margin-top: 80px;
}

.section:nth-child(even) {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 14px,
      rgba(50, 37, 27, 0.012) 14px 28px
    ),
    var(--bg-alt);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 246, 238, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(50, 37, 27, 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: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 1px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 90, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 7px;
  right: 7px;
  height: 10px;
  transform: translateY(-50%);
  background: linear-gradient(#fff 0 2px, transparent 2px 8px, #fff 8px 10px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s ease;
  position: relative;
  letter-spacing: 1.5px;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--brand);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), #F0783E);
  box-shadow: 0 4px 16px rgba(232, 90, 42, 0.35);
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 90, 42, 0.4);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}

.menu-toggle::before,
.menu-toggle::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.menu-toggle::before {
  top: 12px;
  box-shadow: 0 8px 0 var(--ink);
}

.menu-toggle::after {
  bottom: 12px;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 64px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(216, 160, 61, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 85%, rgba(232, 90, 42, 0.12) 0%, transparent 48%),
    linear-gradient(140deg, #FEFBF4 0%, #F6E7D4 100%);
}

.hero::before {
  content: '';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%) rotate(10deg);
  width: 260px;
  height: 340px;
  border: 3px solid rgba(232, 90, 42, 0.18);
  border-radius: 24px;
  box-shadow: 14px 14px 0 rgba(232, 90, 42, 0.06);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: 'FILM ARCHIVE';
  position: absolute;
  right: calc(5% - 18px);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  letter-spacing: 8px;
  color: var(--teal);
  opacity: 0.35;
  font-weight: 800;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 6px 18px;
  border-radius: 3px;
  background: var(--teal);
  color: #fff;
  margin-bottom: 20px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(30, 90, 83, 0.25);
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--ink);
}

.hero h1::first-letter {
  color: var(--brand);
}

.hero h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  margin-top: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand) 0 6px,
    transparent 6px 12px
  );
}

.hero p {
  font-size: 1.15rem;
  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;
  max-width: 480px;
  min-width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transform: perspective(900px) rotateY(-4deg) rotateX(1deg);
  transition: transform 0.5s ease;
  z-index: 1;
}

.hero-image:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #F0783E 100%);
  box-shadow: 0 8px 24px rgba(232, 90, 42, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 90, 42, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 16px;
  color: var(--brand);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  position: relative;
}

.section-label::before {
  content: '// ';
  color: var(--teal);
  font-weight: 800;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 4px;
}

.section-desc {
  max-width: 620px;
  opacity: 0.65;
  margin-bottom: 48px;
  line-height: 1.8;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-0.7deg);
  box-shadow: var(--shadow);
  border-color: rgba(232, 90, 42, 0.2);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.category-card p {
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.6;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(232, 90, 42, 0.1), rgba(216, 160, 61, 0.16));
  color: var(--brand);
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  transition: gap 0.25s ease;
}

.card-link:hover {
  color: var(--brand-deep);
  gap: 10px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.feature-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 90, 42, 0.15), transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.feature-image:hover img {
  transform: scale(1.04);
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  border-bottom: 1px dashed var(--border);
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--teal);
  background: rgba(30, 90, 83, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -2px;
  color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  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: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.35s ease;
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 90, 42, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.content-wall-item:hover img {
  transform: scale(1.06);
}

.content-wall-item::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: -100%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  transition: bottom 0.4s ease;
  pointer-events: none;
}

.content-wall-item:hover::after {
  bottom: 12px;
}

.content-wall-body {
  padding: 24px;
  border-top: 2px dashed rgba(50, 37, 27, 0.06);
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.6;
  line-height: 1.6;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(232, 90, 42, 0.3);
}

.faq-item.open {
  border-color: rgba(232, 90, 42, 0.4);
  box-shadow: 0 6px 24px rgba(232, 90, 42, 0.08);
  background: linear-gradient(135deg, #FFFDF9, #FFF4EA);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform 0.3s ease;
  font-weight: 400;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

.cta-banner {
  padding: 72px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #E85A2A 0%, #C4431B 50%, #E07B2E 100%);
  box-shadow: 0 20px 60px rgba(232, 90, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 20px,
    rgba(255, 255, 255, 0.04) 20px 40px
  );
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  background: #FFF8F2;
}

.site-footer {
  padding: 80px 0 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-brand p {
  opacity: 0.6;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 3px;
  color: var(--teal);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.65;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: all 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--brand);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
  letter-spacing: 1px;
}

.text-accent {
  color: var(--brand);
}

.text-center {
  text-align: center;
}

.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.8;
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-image {
    width: 100%;
    flex: none;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .site-header {
    background: rgba(251, 246, 238, 0.96);
  }

  .header-inner {
    height: 64px;
  }

  .main-nav {
    display: none;
    gap: 0;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(50, 37, 27, 0.08);
    gap: 8px;
    z-index: 999;
  }

  .main-nav.open a {
    padding: 12px 4px;
    font-size: 1rem;
  }

  .main-nav.open .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 72px;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}

@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: 2.1rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}