:root {
  --bg-dark: #0f0f10;
  --bg-panel: #171719;
  --bg-card: #202022;
  --bg-card-hover: #29292c;
  --primary: #ff9900;
  --primary-dim: #e08800;
  --text-main: #f5f5f5;
  --text-muted: #a0a0a5;
  --border: #333333;
  --red-rec: #ff3333;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 导航条 */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(15, 15, 16, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}
.brand-logo img { height: 32px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }
.btn-download {
  background: var(--primary);
  color: #000;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-download:hover { background: var(--primary-dim); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* 首屏 */
.hero {
  padding: 100px 20px 60px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.btn-primary {
  background: var(--primary);
  color: #000;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.1rem;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.hero-stats {
  display: flex;
  gap: 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-stats span { color: var(--primary); font-weight: bold; font-size: 1.2rem; margin-right: 4px; }

/* 摄影机取景框 */
.camera-frame {
  flex: 1;
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
}
.camera-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.focus-corners {
  position: absolute;
  inset: 20px;
  pointer-events: none;
}
.focus-corners::before, .focus-corners::after {
  content: ''; position: absolute; width: 30px; height: 30px; border: 2px solid #fff;
}
.focus-corners::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.focus-corners::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.hud {
  position: absolute;
  font-family: monospace;
  color: #fff;
  font-size: 0.85rem;
  text-shadow: 1px 1px 2px #000;
}
.hud-top-left { top: 16px; left: 16px; display: flex; align-items: center; gap: 8px; }
.rec-dot { width: 10px; height: 10px; background: var(--red-rec); border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hud-top-right { top: 16px; right: 16px; }
.hud-bottom { bottom: 16px; left: 16px; right: 16px; background: rgba(0,0,0,0.6); padding: 8px 12px; border-left: 3px solid var(--primary); display: flex; justify-content: space-between; }

/* 通用区块 */
section { padding: 80px 20px; max-width: 1280px; margin: 0 auto; }
.section-title { font-size: 2rem; margin-bottom: 40px; display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ''; display: block; width: 4px; height: 24px; background: var(--primary); }

/* 热播片库：横向胶片条 */
.film-strip-container { position: relative; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.film-strip-container::-webkit-scrollbar { height: 8px; }
.film-strip-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.film-strip { display: flex; gap: 16px; min-width: min-content; padding: 10px 0; }
.film-frame {
  flex: 0 0 200px; scroll-snap-align: start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  position: relative;
}
.film-frame::before, .film-frame::after {
  content: ''; position: absolute; left: 0; right: 0; height: 12px;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 6px, var(--bg-dark) 6px, var(--bg-dark) 10px);
  background-size: 16px 100%;
}
.film-frame::before { top: 0; }
.film-frame::after { bottom: 0; }
.film-poster { aspect-ratio: 2 / 3; width: 100%; object-fit: cover; }
.film-info { padding: 12px; }
.film-title { font-weight: bold; font-size: 1rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.film-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; justify-content: space-between; }
.shot-tag { position: absolute; top: 16px; left: 8px; background: rgba(0,0,0,0.7); color: var(--primary); font-size: 0.7rem; padding: 2px 6px; border-radius: 2px; font-family: monospace; }

/* 高能分镜榜 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.storyboard-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.storyboard-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.board-header { background: #111; padding: 8px 12px; font-family: monospace; font-size: 0.8rem; color: var(--primary); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.board-img { aspect-ratio: 2 / 3; width: 100%; object-fit: cover; }
.board-content { padding: 12px; }
.board-line { font-size: 0.9rem; font-style: italic; color: var(--text-main); margin-bottom: 12px; border-left: 2px solid var(--primary); padding-left: 8px; }
.heat-bar { height: 4px; background: #333; border-radius: 2px; overflow: hidden; }
.heat-fill { height: 100%; background: var(--primary); width: 80%; }

/* 分场说明 */
.scene-list { display: flex; flex-direction: column; gap: 16px; }
.scene-row {
  display: flex; align-items: flex-start; gap: 20px; padding: 20px;
  background: var(--bg-panel); border-left: 4px solid var(--primary); border-radius: 4px;
}
.scene-num { font-family: monospace; color: var(--primary); font-size: 1.2rem; font-weight: bold; min-width: 80px; }
.scene-text h3 { font-size: 1.1rem; margin-bottom: 4px; }
.scene-text p { color: var(--text-muted); font-size: 0.95rem; }

/* 竖屏体验 */
.split-layout { display: flex; gap: 60px; align-items: center; }
.split-left { flex: 1; }
.split-left ul { list-style: none; margin-top: 20px; }
.split-left li { margin-bottom: 20px; display: flex; gap: 12px; }
.split-left li strong { display: block; font-size: 1.1rem; margin-bottom: 4px; color: var(--primary); }
.split-left li p { color: var(--text-muted); font-size: 0.95rem; }
.split-right { flex: 1; display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 580px; border: 8px solid #333; border-radius: 36px;
  position: relative; overflow: hidden; background: #000;
}
.phone-screen { width: 100%; height: 100%; object-fit: cover; }
.phone-hint { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: 0.8rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 题材筛选 */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chip {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-main);
  padding: 8px 20px; border-radius: 20px; cursor: pointer; transition: all 0.2s;
}
.chip:hover, .chip.active { background: var(--primary); color: #000; border-color: var(--primary); font-weight: bold; }
.search-box {
  width: 100%; max-width: 400px; padding: 12px 20px; margin-bottom: 30px;
  background: var(--bg-card); border: 1px solid var(--border); color: #fff; border-radius: 4px; outline: none;
}
.search-box:focus { border-color: var(--primary); }

/* 分镜片单 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot-card { background: var(--bg-card); border-radius: 4px; overflow: hidden; transition: transform 0.3s; }
.shot-card:hover { transform: translateY(-4px); }
.shot-img-wrap { position: relative; aspect-ratio: 16 / 10; background: #111; }
.shot-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.shot-corner { position: absolute; bottom: 8px; right: 8px; background: var(--primary); color: #000; font-size: 0.75rem; padding: 2px 8px; font-weight: bold; border-radius: 2px; }
.shot-detail { padding: 16px; }
.shot-scene { font-size: 0.8rem; color: var(--text-muted); font-family: monospace; margin-bottom: 4px; }
.shot-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 8px; }
.shot-review { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin-bottom: 12px; }
.shot-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.empty-msg { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--text-muted); display: none; }

/* 用户评价 */
.review-header { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; background: var(--bg-panel); padding: 20px; border-radius: 4px; }
.score-box { font-size: 3rem; font-weight: bold; color: var(--primary); line-height: 1; }
.stars { color: var(--primary); font-size: 1.2rem; }
.slate-card { background: var(--bg-card); border: 1px solid var(--border); padding: 20px; border-radius: 4px; position: relative; overflow: hidden; }
.slate-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(45deg, var(--primary), var(--primary) 10px, #111 10px, #111 20px);
}
.slate-top { display: flex; justify-content: space-between; font-family: monospace; font-size: 0.8rem; color: var(--primary); margin-bottom: 12px; margin-top: 6px; }
.slate-text { font-size: 0.95rem; margin-bottom: 16px; }
.slate-author { font-size: 0.85rem; color: var(--text-muted); text-align: right; }

/* FAQ */
.faq-layout { display: flex; gap: 40px; }
.faq-nav { flex: 0 0 250px; display: flex; flex-direction: column; gap: 8px; }
.faq-nav-item {
  background: var(--bg-panel); border: none; text-align: left; padding: 12px 16px;
  color: var(--text-main); border-radius: 4px; cursor: pointer; transition: background 0.2s;
}
.faq-nav-item:hover, .faq-nav-item.active { background: var(--primary); color: #000; font-weight: bold; }
.faq-content { flex: 1; }
.faq-item { margin-bottom: 16px; background: var(--bg-panel); border-radius: 4px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 16px; background: none; border: none; color: #fff; font-size: 1.05rem; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { padding: 0 16px 16px; color: var(--text-muted); display: none; }
.faq-item.open .faq-a { display: block; }

/* 下载区 */
.download-section { max-width: 800px; margin: 0 auto; }
.clapper-cta { background: var(--bg-card); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.clapper-top { background: #111; padding: 12px 24px; display: flex; justify-content: space-between; font-family: monospace; color: var(--primary); font-weight: bold; border-bottom: 1px solid var(--border); }
.clapper-tape { height: 20px; background: repeating-linear-gradient(45deg, var(--primary), var(--primary) 15px, #111 15px, #111 30px); }
.clapper-body { padding: 40px 24px; text-align: center; }
.clapper-body h2 { font-size: 2rem; margin-bottom: 16px; }
.clapper-body p { color: var(--text-muted); margin-bottom: 30px; }
.clapper-footer { background: #111; padding: 12px; text-align: center; font-family: monospace; color: var(--text-muted); font-size: 0.8rem; }

/* 页脚 */
footer { border-top: 1px solid var(--border); padding: 40px 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
footer p { margin-bottom: 12px; }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--primary); }

/* 响应式 */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split-layout { flex-direction: column; }
  .faq-layout { flex-direction: column; }
  .faq-nav { flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
  .faq-nav-item { white-space: nowrap; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-dark); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.show { display: flex; }
  .menu-toggle { display: block; }
  .hero { flex-direction: column; text-align: center; padding-top: 80px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .camera-frame { width: 100%; margin-top: 30px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .scene-row { flex-direction: column; gap: 8px; }
  .review-header { flex-direction: column; text-align: center; }
}