:root {
    --paper: #e8dcc4;
    --ink: #1a1a1a;
    --peach: #f4c76b;
    --leaf: #4a6b3f;
    --dark: #141414;
    --paper-light: #f2ead8;
    --border: #c4b59a;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
      linear-gradient(90deg, transparent 50%, rgba(0,0,0,0.02) 50%),
      radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 100% 100%, 12px 12px;
  }

  h1, h2, h3, h4 {
    font-family: "Songti SC", SimSun, serif;
    font-weight: 800;
    line-height: 1.2;
  }

  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }

  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Progress Bar */
  .progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--ink);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s;
  }

  /* Header */
  header {
    position: sticky;
    top: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 10px 0;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
  }

  .brand img {
    height: 32px;
  }

  .nav-tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-tabs::-webkit-scrollbar { display: none; }

  .nav-tabs a {
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    background: var(--paper-light);
    border: 1px solid var(--border);
  }

  .nav-tabs a::before {
    content: '';
    display: block;
    width: 20px;
    height: 4px;
    background: var(--peach);
    margin-bottom: 4px;
  }

  .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--peach);
    padding: 0 20px;
    height: 44px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
  }
  .btn-download:hover { transform: translateY(-2px); }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* Hero */
  .hero {
    padding: 40px 0;
    position: relative;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #444;
  }

  .hero-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .hero-cards {
    position: relative;
    height: 400px;
  }

  .cover-card {
    background: var(--paper-light);
    border: 1px solid var(--border);
    padding: 10px;
    position: absolute;
    width: 200px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
  }

  .cover-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 1px solid var(--border);
  }

  .cover-card h3 {
    font-size: 14px;
    margin-top: 10px;
  }

  /* AI Section */
  .ai-section {
    background: var(--peach);
  }

  /* Reader */
  .dark-section {
    background: var(--dark);
    color: var(--paper);
  }

  .dark-section h2, .dark-section h3 {
    color: var(--peach);
  }

  /* Footer */
  footer {
    padding: 40px 0;
    font-size: 12px;
    color: #666;
    text-align: center;
    border-top: 1px solid var(--border);
  }

  /* Responsive */
  @media (min-width: 768px) {
    .hero-grid {
      grid-template-columns: 1fr 1fr;
    }
    .section-title { font-size: 40px; }
    .hero-text h1 { font-size: 56px; }
    .hero-cards { height: 500px; }
    .cover-card { width: 240px; }
  }

  @media (min-width: 1024px) {
    .hero-grid {
      grid-template-columns: 1fr 2fr;
    }
  }

  /* Mobile floating bar */
  .mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--ink);
    color: var(--peach);
    text-align: center;
    padding: 10px;
    z-index: 1000;
    display: flex;
    justify-content: center;
  }

  @media (min-width: 768px) {
    .mobile-bar { display: none; }
  }

  /* Utilities */
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .card {
    background: var(--paper-light);
    border: 1px solid var(--border);
    padding: 20px;
  }