/* ============================================
   THEME: "CINEMA MARQUEE"
   A warm, playful, memorable light theme
   ============================================ */

:root {
  --bg: #FDF9F3;
  --bg-even: #F6EFE6;
  --bg-card: #FFFFFF;
  --ink: #2A2A2E;
  --muted: #6B6B6B;
  --accent: #FF4E5A;
  --accent-dark: #E63E4A;
  --secondary: #00A8A8;
  --tertiary: #FFB627;
  --line: #E8DDD2;
  --shadow: 0 8px 28px rgba(42, 42, 46, 0.12);

  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 68px;
}

*,
*::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(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Core Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-even);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 249, 243, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px dashed var(--line);
  box-shadow: 0 1px 0 rgba(42, 42, 46, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--tertiary));
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 78, 90, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.logo span:last-child {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 40px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 78, 90, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 78, 90, 0.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 32px);
  position: relative;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 182, 39, 0.2), transparent 32%),
    radial-gradient(circle at 85% 72%, rgba(0, 168, 168, 0.16), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-even) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 37px,
    rgba(0, 168, 168, 0.05) 37px,
    rgba(0, 168, 168, 0.05) 38px
  );
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 40px;
  background: var(--tertiary);
  color: var(--ink);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero h1 .text-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--tertiary);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.6;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  border: 6px solid #fff;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image::before {
  content: '🎬';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(255, 78, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 78, 90, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* ---------- Section labels ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--secondary);
  background: rgba(0, 168, 168, 0.1);
  padding: 4px 14px;
  border-radius: 40px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  font-size: 1rem;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--radius);
  padding: 32px;
  background: var(--bg-card);
  border: 2px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--tertiary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(255, 78, 90, 0.12), rgba(255, 182, 39, 0.12));
}

.category-card p {
  font-size: 0.92rem;
  opacity: 0.68;
  margin-top: 8px;
  margin-bottom: 18px;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
  color: var(--accent);
}

/* ---------- Feature Block ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  pointer-events: none;
}

.feature-text {
  padding: 16px 0;
}

.feature-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-text p {
  opacity: 0.75;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--secondary);
  background: rgba(0, 168, 168, 0.1);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---------- Stats ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  background: var(--bg-card);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
}

.stat-number::after {
  content: '+';
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Content Wall ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: var(--shadow);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.65;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(0, 168, 168, 0.08);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
  gap: 12px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 72px 32px;
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--accent), var(--tertiary));
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(255, 78, 90, 0.25);
}

.cta-banner::before {
  content: '一起看';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 12rem;
  font-weight: 900;
  opacity: 0.08;
  color: #fff;
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  position: relative;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--accent) !important;
  box-shadow: none;
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 0 28px;
  background: #F3EBE1;
  border-top: 2px dashed var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-brand span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 2px dashed var(--line);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--secondary);
  text-decoration: none;
}

/* ---------- Utilities ---------- */
.text-accent {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.65;
  font-size: 1.02rem;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- Mobile menu open ---------- */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: var(--bg);
  padding: 24px;
  gap: 18px;
  box-shadow: 0 20px 40px rgba(42, 42, 46, 0.08);
  border-bottom: 2px solid var(--line);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@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;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .stat-number {
    font-size: 2.4rem;
  }
}