:root {
    --paper: #FDFCF9;
    --ink: #1a1a1a;
    --line: #333;
    --blue: #2b7fff;
    --pink: #ff7eb3;
    --cyan: #00c9a7;
    --bg-card: #ffffff;
    --shadow: 4px 4px 0 rgba(0,0,0,0.1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  /* 网点纹理 */
  .halftone-bg {
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 8px 8px;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; }

  /* 通用容器 */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .section-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
  }
  .section-title::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--pink);
    opacity: 0.4;
    z-index: -1;
    border-radius: 4px;
  }

  /* 顶部导航 */
  header {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
  }
  .brand img { height: 32px; width: auto; }
  .nav-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
  }
  .nav-links li { cursor: pointer; transition: color 0.2s; }
  .nav-links li:hover { color: var(--blue); }

  /* 首屏 */
  .hero {
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
  }
  .hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .badge {
    padding: 4px 12px;
    border: 2px solid var(--line);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
  }
  .badge.blue { color: var(--blue); border-color: var(--blue); }
  .badge.pink { color: var(--pink); border-color: var(--pink); }
  .badge.cyan { color: var(--cyan); border-color: var(--cyan); }

  .hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  .hero h1::before {
    content: attr(data-text);
    position: absolute;
    top: 4px;
    left: 4px;
    color: var(--pink);
    z-index: -1;
    opacity: 0.5;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-sub {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 40px;
  }

  /* 下载按钮 */
  .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: var(--blue);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    border-radius: 50px;
    position: relative;
    box-shadow: 6px 6px 0 var(--line);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid var(--line);
  }
  .download-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--line);
  }
  .download-btn::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--blue) transparent transparent transparent;
  }

  /* 探索发现 - 分镜墙 */
  .explore { padding: 60px 0; }
  .tags-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
  .tag-hand {
    font-size: 16px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ddd;
    transform: rotate(-2deg);
  }
  .tag-hand:nth-child(2n) { transform: rotate(2deg); background: #fdf2f8; border-color: var(--pink); color: var(--pink); }
  .tag-hand:nth-child(3n) { transform: rotate(-1deg); background: #eff6ff; border-color: var(--blue); color: var(--blue); }

  .masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  .masonry-item {
    position: relative;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s;
    aspect-ratio: 3/4;
  }
  .masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .masonry-item:hover {
    transform: rotate(-2deg) scale(1.02);
    z-index: 10;
  }
  .masonry-item:hover img { transform: scale(1.05); }
  .masonry-item:hover::after {
    content: 'BOOM!';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--pink);
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 2px solid var(--line);
    transform: rotate(10deg);
    z-index: 11;
    pointer-events: none;
  }
  /* 错落高度 */
  .masonry-item:nth-child(2) { margin-top: 30px; }
  .masonry-item:nth-child(4) { margin-top: 20px; }
  .masonry-item:nth-child(6) { margin-top: 40px; }
  .masonry-item:nth-child(8) { margin-top: 10px; }
  .masonry-item:nth-child(10) { margin-top: 30px; }
  .masonry-item:nth-child(12) { margin-top: 20px; }
  .masonry-item:nth-child(14) { margin-top: 40px; }
  .masonry-item:nth-child(16) { margin-top: 10px; }

  /* 核心功能 - 四宫格 */
  .features { padding: 60px 0; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .feature-card {
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 8px;
    background: var(--paper);
    position: relative;
  }
  .feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: inline-block;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 4px;
  }
  .feature-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
  .feature-card p { font-size: 15px; color: #555; }

  /* 平台优势 - 对话框 */
  .advantages { padding: 60px 0; background: #F5F8FA; }
  .adv-list { display: flex; flex-direction: column; gap: 20px; }
  .adv-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  .adv-title {
    background: #fff;
    border: 2px solid var(--line);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 800;
    position: relative;
    flex-shrink: 0;
    min-width: 120px;
    text-align: center;
  }
  .adv-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: var(--line) transparent transparent transparent;
  }
  .adv-title::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 21px;
    border-width: 9px 9px 0 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 1;
  }
  .adv-desc {
    font-size: 15px;
    color: #444;
    padding-top: 12px;
  }

  /* 榜单与更新 */
  .rankings { padding: 60px 0; background: #fff; }
  .rank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .notebook-paper {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 4px;
    background-image: repeating-linear-gradient(transparent, transparent 31px, #eee 31px, #eee 32px);
    line-height: 32px;
  }
  .notebook-paper h3 {
    font-size: 18px;
    margin-bottom: 16px;
    background: #fff;
    display: inline-block;
    padding-right: 10px;
  }
  .rank-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-bottom: 10px;
    background: #fff;
    padding: 4px 0;
  }
  .rank-num {
    font-weight: 900;
    width: 30px;
    color: #999;
    text-align: center;
  }
  .rank-num.top {
    color: var(--pink);
    border: 2px solid var(--pink);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 20px;
    font-size: 14px;
    margin-right: 6px;
    text-align: center;
  }
  .rank-name { font-weight: 700; margin-left: 10px; flex: 1; }
  .rank-tag { font-size: 12px; padding: 2px 6px; border-radius: 4px; color: #fff; font-weight: 700; }
  .tag-up { background: var(--cyan); }
  .tag-hot { background: var(--pink); }

  /* 读者互动 - 评论区 */
  .comments { padding: 60px 0; background: #FDFCF9; border-top: 1px solid #eee; }
  .comment-list { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
  .comment-item { display: flex; gap: 16px; }
  .comment-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    flex-shrink: 0;
    overflow: hidden;
  }
  .comment-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
  .comment-bubble {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 12px 16px;
    position: relative;
    font-size: 14px;
  }
  .comment-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 16px;
    border-width: 6px 10px 6px 0;
    border-style: solid;
    border-color: transparent var(--line) transparent transparent;
  }
  .comment-bubble::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 17px;
    border-width: 5px 8px 5px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
    z-index: 1;
  }
  .comment-name { font-weight: 800; margin-bottom: 4px; color: var(--blue); }

  /* 常见问题 */
  .faq { padding: 60px 0; background: #fff; }
  .faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid #eee; }
  .faq-item { border-bottom: 1px solid #eee; }
  .faq-q {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .faq-q::after { content: '+'; font-size: 24px; font-weight: 300; transition: transform 0.3s; }
  .faq-item.open .faq-q::after { transform: rotate(45deg); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    color: #555;
    font-size: 15px;
    padding: 0 0 0 0;
  }
  .faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

  /* 安装步骤与下载 - 书签样式 */
  .install {
    padding: 80px 0;
    background: #FDFCF9;
    text-align: center;
  }
  .bookmark-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.05);
    position: relative;
  }
  .bookmark-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: var(--pink);
    border-radius: 0 0 10px 10px;
  }
  .install h2 { font-size: 24px; margin-bottom: 20px; }
  .steps { text-align: left; margin-bottom: 30px; }
  .step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  .step-num {
    background: var(--cyan);
    color: #fff;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .step-text { font-size: 15px; font-weight: 600; }
  .install .download-btn { width: 100%; padding: 14px 0; font-size: 18px; }

  /* 百度拦截弹窗 */
  .baidu-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  .baidu-modal.show { display: flex; }
  .modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    border: 3px solid var(--line);
  }
  .modal-box p { margin-bottom: 16px; font-size: 15px; font-weight: 600; }
  .copy-btn {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
  }
  .modal-close {
    margin-top: 12px;
    background: none;
    border: none;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
  }

  /* 页脚 */
  footer {
    padding: 30px 0;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 13px;
    color: #999;
  }

  /* 响应式 */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .rank-grid { grid-template-columns: 1fr; }
    .adv-item { flex-direction: column; gap: 8px; }
    .adv-title { width: 100%; }
    .adv-title::after { left: 30px; }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .masonry-item:nth-child(n) { margin-top: 0; }
    .download-btn { padding: 14px 32px; font-size: 18px; }
  }
  @media (min-width: 1024px) {
    .masonry-grid { grid-template-columns: repeat(4, 1fr); }
  }