:root {
  --bg-base: #f6fbf5;
  --bg-white: #ffffff;
  --mint-light: #eef7ec;
  --leaf-light: #e2f2dc;
  --primary: #5ba85c;
  --primary-dark: #3f8a48;
  --lemon: #a8cf6a;
  --amber: #f0b95c;
  --text-main: #2c3b2d;
  --text-muted: #647a65;
  --shadow: 0 8px 24px rgba(91, 168, 92, 0.08);
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 导航 */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(91, 168, 92, 0.05);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 20px;
  color: var(--text-main);
}
.brand img { height: 32px; width: auto; border-radius: 8px; }
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
}
.nav-links a { color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-dark); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-nav {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.3s;
}
.btn-nav:hover { background: var(--primary-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--primary-dark); cursor: pointer; }

/* 按钮通用 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(91,168,92,0.2); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--mint-light); }

/* 布局 */
section { padding: 64px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 28px; margin-bottom: 16px; color: var(--primary-dark); display: flex; align-items: center; gap: 10px; }
.section-subtitle { color: var(--text-muted); margin-bottom: 40px; font-size: 16px; }

/* 1. 首屏 */
.hero { padding: 80px 20px 60px; background: linear-gradient(180deg, var(--mint-light) 0%, var(--bg-base) 100%); }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 { font-size: 42px; line-height: 1.3; margin-bottom: 20px; color: var(--text-main); }
.hero-badge {
  display: inline-block;
  background: var(--leaf-light);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-desc { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--leaf-light);
  padding-top: 24px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 24px; font-weight: bold; color: var(--primary-dark); }
.stat-label { font-size: 13px; color: var(--text-muted); }

.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  background: var(--leaf-light);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.hero-banner:hover img { transform: scale(1.03); }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}
.banner-tag { background: var(--amber); color: #333; font-size: 12px; padding: 2px 8px; border-radius: 4px; align-self: flex-start; margin-bottom: 8px; font-weight: bold; }
.banner-title { font-size: 24px; margin-bottom: 12px; font-weight: bold; }
.banner-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.banner-tags span { font-size: 12px; padding: 2px 8px; background: rgba(255,255,255,0.2); border-radius: 12px; }
.banner-btn { background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 20px; text-align: center; font-weight: bold; }

/* 2. 四种剧种 */
.genre-list { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.genre-item {
  display: flex;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--mint-light);
  transition: background 0.3s;
}
.genre-item:last-child { border-bottom: none; }
.genre-item:hover { background: var(--mint-light); }
.genre-num { font-size: 24px; font-weight: bold; color: var(--lemon); width: 60px; font-style: italic; }
.genre-info { flex: 1; }
.genre-name { font-size: 18px; font-weight: bold; margin-bottom: 4px; }
.genre-desc { font-size: 14px; color: var(--text-muted); }
.genre-data { text-align: right; font-size: 13px; color: var(--primary-dark); white-space: nowrap; }

/* 3. 热播榜单 */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(91, 168, 92, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.rank-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rank-num { width: 40px; font-size: 20px; font-weight: bold; color: var(--text-muted); text-align: center; }
.rank-item:nth-child(1) .rank-num { color: #e74c3c; }
.rank-item:nth-child(2) .rank-num { color: #f39c12; }
.rank-item:nth-child(3) .rank-num { color: #d35400; }
.rank-img { width: 48px; height: 64px; border-radius: 6px; object-fit: cover; margin-right: 16px; }
.rank-info { flex: 1; }
.rank-title { font-size: 16px; font-weight: bold; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.rank-tag { font-size: 11px; background: var(--mint-light); color: var(--primary-dark); padding: 2px 6px; border-radius: 4px; font-weight: normal; }
.rank-bar-bg { height: 6px; background: var(--mint-light); border-radius: 3px; width: 100%; max-width: 200px; overflow: hidden; }
.rank-bar-fill { height: 100%; background: linear-gradient(90deg, var(--lemon), var(--primary)); border-radius: 3px; }
.rank-score { font-size: 14px; color: var(--primary-dark); font-weight: bold; margin-left: 16px; width: 60px; text-align: right; }

/* 4. AI魔改 */
.ai-section { background: var(--bg-white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ai-features { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.ai-feature { display: flex; gap: 16px; }
.ai-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--leaf-light); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary-dark); flex-shrink: 0; }
.ai-text h3 { font-size: 16px; margin-bottom: 4px; }
.ai-text p { font-size: 14px; color: var(--text-muted); }
.ai-demo { background: var(--mint-light); border-radius: 12px; padding: 24px; border: 1px dashed var(--primary); }
.ai-step { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; font-weight: bold; color: var(--primary-dark); }
.ai-step-arrow { color: var(--lemon); }
.ai-caps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ai-cap { background: var(--bg-white); padding: 6px 12px; border-radius: 16px; font-size: 13px; color: var(--primary-dark); border: 1px solid var(--leaf-light); }

/* 5. 题材筛选 & 6. 内容流 */
.filter-bar { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 24px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.chip { padding: 8px 20px; background: var(--bg-white); border: 1px solid var(--leaf-light); border-radius: 20px; color: var(--text-muted); cursor: pointer; white-space: nowrap; transition: all 0.3s; }
.chip.active, .chip:hover { background: var(--primary); color: white; border-color: var(--primary); }
.search-box { margin-bottom: 32px; }
.search-box input { width: 100%; max-width: 400px; padding: 12px 20px; border-radius: 24px; border: 1px solid var(--leaf-light); font-size: 15px; outline: none; transition: border 0.3s; }
.search-box input:focus { border-color: var(--primary); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.content-card {
  display: flex;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(91, 168, 92, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 140px;
}
.content-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.content-img { width: 100px; height: 100%; object-fit: cover; }
.content-info { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.content-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.content-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.content-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.content-tag { font-size: 11px; background: var(--mint-light); color: var(--primary-dark); padding: 2px 8px; border-radius: 4px; }
.empty-state { text-align: center; padding: 40px; color: var(--text-muted); grid-column: 1 / -1; display: none; }

/* 7. 竖屏体验 */
.phone-section { background: var(--primary-dark); color: white; border-radius: var(--radius); padding: 60px 40px; overflow: hidden; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.phone-text h2 { color: white; margin-bottom: 24px; }
.phone-features { display: flex; flex-direction: column; gap: 20px; }
.phone-feature { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.phone-feature-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--lemon); }
.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: #000;
  border-radius: 40px;
  border: 8px solid #333;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}
.phone-slide.active { opacity: 1; }
.phone-slide img { width: 100%; height: 100%; object-fit: cover; }
.phone-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}
.indicator { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background 0.3s; }
.indicator.active { background: var(--lemon); }
.swipe-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: white; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; animation: bounce 2s infinite; z-index: 10;}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }

/* 8. 心愿榜 */
.wish-list { display: flex; flex-direction: column; gap: 16px; }
.wish-item { display: flex; align-items: center; background: var(--bg-white); padding: 16px; border-radius: 12px; box-shadow: 0 2px 10px rgba(91, 168, 92, 0.04); }
.wish-info { flex: 1; }
.wish-title { font-size: 16px; font-weight: bold; margin-bottom: 8px; }
.wish-bar-wrap { display: flex; align-items: center; gap: 12px; }
.wish-bar-bg { flex: 1; height: 8px; background: var(--mint-light); border-radius: 4px; overflow: hidden; max-width: 300px; }
.wish-bar-fill { height: 100%; background: var(--amber); border-radius: 4px; transition: width 0.3s; }
.wish-count { font-size: 13px; color: var(--text-muted); width: 60px; text-align: right; }
.btn-wish { margin-left: 20px; padding: 6px 16px; border-radius: 16px; border: 1px solid var(--primary); background: transparent; color: var(--primary-dark); cursor: pointer; transition: all 0.3s; font-size: 13px; }
.btn-wish:hover { background: var(--mint-light); }
.btn-wish.done { background: var(--primary); color: white; border-color: var(--primary); cursor: default; }

/* 9. 用户评价 */
.reviews-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.score-card { background: var(--primary); color: white; padding: 16px 32px; border-radius: 16px; text-align: center; }
.score-num { font-size: 32px; font-weight: bold; line-height: 1; }
.score-label { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--lemon);
  box-shadow: 0 2px 10px rgba(91, 168, 92, 0.04);
}
.review-text { font-size: 15px; color: var(--text-main); margin-bottom: 12px; }
.review-author { font-size: 13px; color: var(--text-muted); text-align: right; }

/* 10. 常见问题 */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(91, 168, 92, 0.04); }
.faq-q { padding: 20px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.faq-q::after { content: '+'; font-size: 20px; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; font-size: 15px; color: var(--text-muted); }
.faq-item.active .faq-a { max-height: 200px; padding-bottom: 20px; }

/* 11. 下载区 */
.download-section { text-align: center; background: var(--leaf-light); border-radius: var(--radius); padding: 60px 20px; }
.download-section h2 { font-size: 32px; margin-bottom: 16px; color: var(--primary-dark); }
.download-section p { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }
.download-btn { font-size: 18px; padding: 16px 40px; }

/* 页脚 */
footer { padding: 40px 20px; border-top: 1px solid var(--leaf-light); text-align: center; font-size: 13px; color: var(--text-muted); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.footer-info { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-time { font-size: 12px; color: #999; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-banner { aspect-ratio: 16/9; max-height: 500px; }
  .ai-grid { grid-template-columns: 1fr; }
  .phone-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-text { text-align: center; }
  .phone-features { align-items: center; }
  .phone-mockup { width: 240px; height: 480px; }
  .content-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-white); padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); gap: 16px; }
  .menu-toggle { display: block; }
  .nav-actions .btn-nav { display: none; }
  .hero-text h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .section-title { font-size: 24px; }
  .genre-item { flex-wrap: wrap; gap: 10px; }
  .genre-num { width: auto; font-size: 18px; }
  .genre-info { width: 100%; order: 3; }
  .genre-data { order: 2; width: 100%; text-align: left; }
  .rank-bar-bg { max-width: 100px; }
  .phone-mockup { width: 200px; height: 400px; }
  .score-card { padding: 12px 20px; }
  .score-num { font-size: 24px; }
}