:root {
  --bg: #fcfbf9;
  --ink: #111111;
  --ink-light: #555555;
  --line: #e0e0e0;
  --orange: #ff5400;
  --gray-bg: #f2f2f2;
  --mono: 'Courier New', Courier, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 20px 20px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -0.05em; line-height: 1.1; }
.mono { font-family: var(--mono); font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-light); }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.text-orange { color: var(--orange); }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--orange);
  color: #ffffff;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid var(--orange);
  transition: transform 0.2s, background-color 0.2s;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); background-color: #e64a00; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-outline { background-color: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); background-color: var(--ink); color: #fff; }

/* 进度条 */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 4px;
  background-color: var(--orange); z-index: 1000; width: 0%;
}

/* Header */
header {
  position: sticky; top: 0; z-index: 900;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-group { display: flex; align-items: center; gap: 12px; }
.logo-group img { height: 32px; width: auto; }
.logo-group span { font-size: 1.2rem; font-weight: bold; letter-spacing: -0.5px; display: none; }
@media(min-width: 400px) { .logo-group span { display: block; } }
.header-nav { display: none; }
@media(min-width: 1024px) {
  .header-nav { display: flex; gap: 16px; align-items: center; overflow-x: auto; }
  .header-nav a { font-size: 0.9rem; font-weight: bold; white-space: nowrap; color: var(--ink-light); transition: color 0.2s; }
  .header-nav a:hover { color: var(--orange); }
  .header-nav a .num { font-family: var(--mono); font-size: 0.75rem; margin-right: 4px; color: var(--line); }
  .header-nav a.active { color: var(--ink); }
  .header-nav a.active .num { color: var(--orange); }
}

/* 全局动效 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 首屏 Hero */
.hero { padding: 60px 0; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media(min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 2fr; align-items: center; }
}
.hero-text h1 { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 24px; }
.hero-text h1 span { color: var(--orange); }
.hero-text p { font-size: 1.1rem; color: var(--ink-light); margin-bottom: 32px; max-width: 400px; }
.btn-group { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.btn-group .btn { width: 100%; }
.trust-row { display: flex; gap: 16px; font-size: 0.85rem; color: var(--ink-light); border-top: 1px solid var(--line); padding-top: 16px; }
.trust-row span { display: flex; flex-direction: column; }
.trust-row span b { color: var(--ink); font-size: 1.2rem; font-family: var(--mono); }

.hero-visual { position: relative; height: 600px; }
.hero-covers { display: flex; gap: 16px; position: absolute; top: 50%; left: 0; transform: translateY(-50%); z-index: 2; width: 100%; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.hero-covers::-webkit-scrollbar { display: none; }
@media(min-width: 1024px) {
  .hero-covers { width: 60%; overflow: visible; }
}
.cover-card {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 3/4;
  position: relative;
  background-color: #fff;
  border: 1px solid var(--ink);
  padding: 8px;
  transition: transform 0.3s;
  cursor: pointer;
}
@media(min-width: 1024px) {
  .cover-card:nth-child(even) { transform: translateY(40px); }
  .cover-card:nth-child(odd) { transform: translateY(-20px); }
}
.cover-card:hover { transform: scale(1.05) !important; z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.cover-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.cover-meta { margin-top: 12px; }
.cover-meta h4 { font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-meta p { font-size: 0.75rem; color: var(--ink-light); display: flex; justify-content: space-between; }
.corner { position: absolute; width: 12px; height: 12px; border-color: var(--ink); border-style: solid; }
.corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.cover-card:hover .corner.tl { top: 4px; left: 4px; }
.cover-card:hover .corner.tr { top: 4px; right: 4px; }
.cover-card:hover .corner.bl { bottom: 4px; left: 4px; }
.cover-card:hover .corner.br { bottom: 4px; right: 4px; }

.hero-rank {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 320px; background: #fff; border: 1px solid var(--ink); padding: 20px;
  z-index: 3; display: none;
}
@media(min-width: 1024px) { .hero-rank { display: block; } }
.hero-rank h3 { font-size: 1.2rem; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.rank-list li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.rank-list img { width: 40px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); }
.rank-info { flex: 1; overflow: hidden; }
.rank-info p { font-size: 0.85rem; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-info span { font-size: 0.75rem; color: var(--ink-light); font-family: var(--mono); }

/* 方向罗盘 */
.section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.sec-header { margin-bottom: 40px; }
.sec-header h2 { font-size: 2.5rem; margin-bottom: 12px; }
.sec-header p { font-size: 1.1rem; color: var(--ink-light); max-width: 600px; }

.compass-layout { display: flex; flex-direction: column; align-items: center; gap: 40px; }
@media(min-width: 1024px) { .compass-layout { flex-direction: row; justify-content: center; } }
.compass-svg { width: 100%; max-width: 400px; height: auto; }
.dir-covers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; flex: 1; }
@media(min-width: 768px) { .dir-covers { grid-template-columns: repeat(3, 1fr); } }
@media(min-width: 1024px) { .dir-covers { grid-template-columns: repeat(4, 1fr); } }

/* 时间带 */
.time-band { display: flex; overflow-x: auto; gap: 24px; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.time-item { flex-shrink: 0; width: 240px; scroll-snap-align: start; position: relative; padding-top: 30px; border-top: 2px dashed var(--line); }
.time-item::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }
.time-label { font-family: var(--mono); font-size: 1rem; margin-bottom: 16px; color: var(--orange); }

/* 学习路线 */
.route-list { display: flex; flex-direction: column; gap: 40px; }
.route-item { border-left: 2px dashed var(--ink); padding-left: 24px; margin-left: 12px; }
.route-item h3 { font-size: 1.5rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.route-item h3 span { background: var(--ink); color: #fff; font-size: 0.8rem; padding: 4px 8px; border-radius: 4px; font-family: var(--mono); }
.route-steps { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 16px; }
.step { flex-shrink: 0; width: 160px; }
.step-img { aspect-ratio: 3/4; background: #eee; margin-bottom: 12px; position: relative; border: 1px solid var(--line); }
.step-img img { width: 100%; height: 100%; object-fit: cover; }

/* 创作者成长 */
.level-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
@media(min-width: 768px) { .level-grid { grid-template-columns: repeat(4, 1fr); } }
.level-card { border: 1px solid var(--line); padding: 24px; background: #fff; }
.level-card h3 { font-size: 1.2rem; color: var(--orange); margin-bottom: 8px; }
.level-card p { font-size: 0.85rem; color: var(--ink-light); }

/* 浏览体验 */
.phone-mockup { width: 100%; max-width: 320px; margin: 0 auto; border: 8px solid var(--ink); border-radius: 32px; padding: 12px; background: #fff; position: relative; }
.phone-screen { aspect-ratio: 9/19; background: var(--gray-bg); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.phone-screen .app-header { padding: 12px; font-weight: bold; font-size: 0.9rem; text-align: center; background: #fff; border-bottom: 1px solid var(--line); }
.phone-feed { flex: 1; padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.feed-item { background: #fff; padding: 8px; border-radius: 8px; }

/* 榜单 */
.board-tabs { display: flex; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tab-btn { padding: 12px 0; font-size: 1.1rem; font-weight: bold; color: var(--ink-light); cursor: pointer; border-bottom: 2px solid transparent; background: none; border: none; }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--orange); }
.board-list { display: none; }
.board-list.active { display: block; }

/* 互动 */
.interactive-compass { position: relative; width: 300px; height: 300px; margin: 0 auto 40px; cursor: pointer; }
.compass-pointer { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-bottom: 40px solid var(--orange); transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67); transform-origin: center 140px; }

/* 收尾下载 */
.footer-download { background-color: var(--ink); color: #fff; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.footer-download h2 { font-size: 3rem; margin-bottom: 24px; color: #fff; }
.footer-download .btn { font-size: 1.2rem; padding: 20px 40px; }
.footer-download .qr { width: 120px; height: 120px; background: #fff; margin: 24px auto; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--ink); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-q { font-size: 1.2rem; font-weight: bold; margin-bottom: 12px; display: flex; justify-content: space-between; }
.faq-a { color: var(--ink-light); }

/* Footer */
footer { background: #fff; padding: 60px 0 40px; font-size: 0.85rem; color: var(--ink-light); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { height: 24px; margin-bottom: 12px; }
.footer-links h4 { color: var(--ink); margin-bottom: 16px; font-size: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 0.8rem; display: flex; flex-direction: column; gap: 8px; }

/* 移动端悬浮 */
.mobile-float { position: fixed; bottom: 0; left: 0; width: 100%; padding: 12px; background: #fff; border-top: 1px solid var(--line); z-index: 900; display: flex; justify-content: center; }
@media(min-width: 768px) { .mobile-float { display: none; } }