:root {
  --bg-base: #f7f6f1;
  --bg-card: #fffefa;
  --ink-blue: #1c2942;
  --ink-blue-light: #283a5c;
  --gold: #d3a349;
  --gold-light: #f5ead2;
  --text-main: #2c3242;
  --text-muted: #6b7280;
  --border-color: #e5e0d5;
  --book-line: #eae6db;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 顶部导航 */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 254, 250, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 32px; width: auto; }
.brand-name { font-size: 18px; font-weight: bold; color: var(--ink-blue); letter-spacing: 1px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 15px; color: var(--text-main); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #fff; padding: 8px 20px; border-radius: 4px;
  font-weight: bold; font-size: 15px; transition: background 0.3s;
}
.nav-cta:hover { background: #c08f35; }
.menu-toggle { display: none; font-size: 24px; background: none; border: none; color: var(--ink-blue); cursor: pointer; }

/* 通用区块配置 */
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 28px; color: var(--ink-blue); margin-bottom: 12px; font-weight: bold; text-align: center; }
.section-subtitle { font-size: 16px; color: var(--text-muted); text-align: center; margin-bottom: 48px; }

/* 首屏 */
.hero {
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="24" x2="100%" y2="24" stroke="%23eae6db" stroke-width="1"/></svg>');
  background-size: 100% 24px;
  padding: 100px 24px;
  display: flex; align-items: center; justify-content: center;
}
.hero-content { display: flex; gap: 64px; align-items: center; max-width: 1200px; width: 100%; }
.hero-text { flex: 1; }
.hero-tags { display: flex; gap: 12px; margin-bottom: 20px; }
.hero-tags span {
  font-size: 13px; color: var(--gold); border: 1px solid var(--gold);
  padding: 4px 12px; border-radius: 20px;
}
.hero-text h1 { font-size: 42px; line-height: 1.3; color: var(--ink-blue); margin-bottom: 20px; }
.hero-text p { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 40px; }
.btn-primary {
  background: var(--ink-blue); color: #fff; padding: 14px 32px;
  border-radius: 4px; font-size: 16px; font-weight: bold; transition: opacity 0.3s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  background: transparent; color: var(--ink-blue); border: 1px solid var(--ink-blue);
  padding: 14px 32px; border-radius: 4px; font-size: 16px; font-weight: bold; transition: background 0.3s;
}
.btn-secondary:hover { background: rgba(28,41,66,0.05); }
.hero-stats { display: flex; gap: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: bold; color: var(--gold); }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* 书页封面容器 */
.book-cover {
  width: 320px; aspect-ratio: 3/4; position: relative;
  background: var(--bg-card); box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
  border-radius: 4px 12px 12px 4px;
  border: 1px solid var(--border-color);
  padding: 16px;
  display: flex; flex-direction: column;
}
.book-cover::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(to right, var(--ink-blue-light), var(--ink-blue));
}
.book-img-wrap {
  width: 100%; aspect-ratio: 2/3; border-radius: 4px; overflow: hidden;
  margin-bottom: 16px; position: relative;
}
.book-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.bookmark {
  position: absolute; top: -16px; right: 32px; width: 24px; height: 40px;
  background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
.ch01-stamp {
  position: absolute; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: bold; font-size: 14px; transform: rotate(-15deg);
}
.book-meta { padding-left: 16px; }
.book-meta h3 { font-size: 20px; color: var(--ink-blue); margin-bottom: 8px; }
.book-meta p { font-size: 14px; color: var(--text-muted); }

/* 追剧三步 */
.step-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  background: var(--ink-blue); border-radius: 8px; padding: 32px;
}
.step-item { display: flex; gap: 16px; color: #fff; }
.step-num { font-size: 36px; font-weight: bold; color: var(--gold); line-height: 1; }
.step-info h3 { font-size: 18px; margin-bottom: 8px; }
.step-info p { font-size: 14px; color: rgba(255,255,255,0.7); }

/* 题材书架 */
.shelf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shelf-item {
  display: flex; gap: 20px; background: var(--bg-card); padding: 16px;
  border-radius: 8px; border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}
.shelf-item:hover { transform: translateX(8px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.shelf-thumb { width: 76px; height: 114px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.shelf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shelf-info { display: flex; flex-direction: column; justify-content: center; }
.shelf-info h3 { font-size: 18px; color: var(--ink-blue); margin-bottom: 6px; }
.shelf-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.shelf-tag {
  align-self: flex-start; font-size: 12px; color: var(--gold);
  background: var(--gold-light); padding: 2px 8px; border-radius: 4px;
}

/* 分集目录 */
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.catalog-col h3 { font-size: 20px; color: var(--ink-blue); margin-bottom: 20px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; display: inline-block; }
.catalog-list { display: flex; flex-direction: column; gap: 16px; }
.catalog-item { display: flex; gap: 16px; align-items: center; background: var(--bg-card); padding: 12px; border-radius: 8px; border: 1px solid var(--border-color); }
.catalog-thumb { width: 60px; height: 90px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog-info h4 { font-size: 16px; color: var(--ink-blue); margin-bottom: 6px; }
.catalog-info p { font-size: 13px; color: var(--text-muted); }
.ep-count { font-size: 12px; color: var(--gold); font-weight: bold; border: 1px solid var(--gold); padding: 1px 6px; border-radius: 4px; display: inline-block; margin-top: 6px; }

/* 热播榜 */
.rank-list { display: flex; flex-direction: column; gap: 16px; }
.rank-item {
  display: flex; align-items: center; gap: 20px; padding: 16px;
  background: var(--bg-card); border-radius: 8px; border: 1px solid var(--border-color);
  transition: transform 0.3s;
}
.rank-item:hover { transform: translateX(8px); }
.rank-num { font-size: 24px; font-weight: bold; color: var(--gold); width: 32px; text-align: center; }
.rank-thumb { width: 50px; height: 75px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; }
.rank-info h4 { font-size: 18px; color: var(--ink-blue); margin-bottom: 6px; }
.rank-info p { font-size: 13px; color: var(--text-muted); }
.rank-score { font-size: 18px; font-weight: bold; color: var(--gold); }

/* 竖屏体验 */
.experience-wrap { display: flex; gap: 64px; align-items: center; }
.exp-text { flex: 1; }
.exp-text h2 { font-size: 28px; color: var(--ink-blue); margin-bottom: 16px; }
.exp-text > p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.exp-features { display: flex; flex-direction: column; gap: 24px; }
.exp-feature { display: flex; gap: 16px; }
.exp-icon { width: 40px; height: 40px; background: var(--gold-light); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; flex-shrink: 0; }
.exp-feature h4 { font-size: 16px; color: var(--ink-blue); margin-bottom: 4px; }
.exp-feature p { font-size: 14px; color: var(--text-muted); }
.exp-phone { flex: 1; display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 560px; background: #111; border-radius: 32px;
  padding: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  position: relative; overflow: hidden;
}
.phone-screen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; position: relative; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.swipe-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; background: rgba(0,0,0,0.6); padding: 6px 16px;
  border-radius: 20px; display: flex; align-items: center; gap: 6px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

/* 用户评价 */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--bg-card); padding: 24px; border-radius: 8px;
  border-left: 4px solid var(--gold); position: relative;
}
.review-score { font-size: 20px; font-weight: bold; color: var(--gold); margin-bottom: 12px; }
.review-card p { font-size: 15px; color: var(--text-main); margin-bottom: 16px; line-height: 1.7; }
.review-author { font-size: 13px; color: var(--text-muted); }

/* 常见问题 */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: bold; color: var(--ink-blue); user-select: none;
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--gold); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-answer p { font-size: 15px; color: var(--text-muted); }

/* 下载区 */
.download-box {
  background: var(--ink-blue); border: 2px solid var(--gold); border-radius: 12px;
  padding: 64px 32px; text-align: center; color: #fff; position: relative;
}
.download-box::before, .download-box::after {
  content: '◆'; position: absolute; color: var(--gold); font-size: 24px; top: 50%; transform: translateY(-50%);
}
.download-box::before { left: 24px; }
.download-box::after { right: 24px; }
.download-box h2 { font-size: 32px; margin-bottom: 16px; color: var(--gold-light); }
.download-box p { font-size: 18px; margin-bottom: 32px; color: rgba(255,255,255,0.8); }
.btn-download {
  display: inline-block; background: var(--gold); color: var(--ink-blue);
  font-size: 18px; font-weight: bold; padding: 16px 48px; border-radius: 4px;
  transition: background 0.3s; box-shadow: 0 4px 12px rgba(211,163,73,0.4);
}
.btn-download:hover { background: #f0c46e; }

/* 页脚 */
footer {
  background: #f0efe9; padding: 40px 24px; border-top: 1px solid var(--border-color);
  font-size: 13px; color: var(--text-muted); text-align: center;
}
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--ink-blue); }
.copyright { margin-top: 8px; }
.beian { color: var(--text-muted); }
.update-time { font-size: 12px; color: #999; margin-top: 8px; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column; text-align: center; gap: 48px; }
  .hero-tags, .hero-ctas, .hero-stats { justify-content: center; }
  .book-cover { width: 280px; }
  .shelf-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .experience-wrap { flex-direction: column; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-card); padding: 24px; border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-text h1 { font-size: 32px; }
  .step-bar { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .download-box::before, .download-box::after { display: none; }
}