/* ================================
   WHITE NOISE — 数字时代的沉思集
   ================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --bg-card: #161616;
  --text: #e8e8e8;
  --text-dim: #888;
  --text-faint: #555;
  --accent: #5eead4;
  --accent-dim: #2dd4bf;
  --line: #222;
  --serif: 'Georgia', 'Noto Serif SC', serif;
  --sans: 'Helvetica Neue', 'Noto Sans SC', Arial, sans-serif;
  --mono: 'SF Mono', 'Fira Code', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.75; }

/* ===== 顶部导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10,10,10,0.75);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.nav-inner {
  max-width: 960px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { height: 28px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-dim); font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); opacity: 1; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px; position: relative; overflow: hidden;
}
.hero-wave { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.06; }
.hero h1 {
  font-family: var(--sans); font-size: clamp(40px, 8vw, 88px);
  font-weight: 200; letter-spacing: 12px; margin-bottom: 24px;
  text-indent: 12px;
}
.hero h1 .accent { font-weight: 700; color: var(--accent); }
.hero-sub {
  color: var(--text-dim); font-size: 16px; letter-spacing: 6px;
  text-transform: uppercase; margin-bottom: 48px;
}
.hero-desc {
  max-width: 520px; color: var(--text-faint); font-size: 15px;
  line-height: 2.2; font-family: var(--serif);
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: var(--text-faint); font-size: 11px; letter-spacing: 3px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== 通用容器 ===== */
.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-label {
  color: var(--accent); font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-size: 32px; font-weight: 300; margin-bottom: 48px; letter-spacing: 2px;
}

/* ===== 文章卡片列表 ===== */
.essay-grid { display: flex; flex-direction: column; gap: 0; }
.essay-card {
  display: block; padding: 36px 0; border-top: 1px solid var(--line);
  transition: padding-left .3s;
}
.essay-card:last-child { border-bottom: 1px solid var(--line); }
.essay-card:hover { padding-left: 16px; }
.essay-card:hover .essay-arrow { opacity: 1; transform: translateX(0); }
.essay-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  font-size: 12px; color: var(--text-faint);
}
.essay-tag {
  color: var(--accent); border: 1px solid var(--accent-dim);
  padding: 2px 10px; border-radius: 2px; font-size: 10px; letter-spacing: 1px;
}
.essay-title {
  font-size: 24px; font-weight: 400; margin-bottom: 8px; color: var(--text);
}
.essay-excerpt {
  color: var(--text-dim); font-size: 14px; font-family: var(--serif);
  line-height: 1.9;
}
.essay-arrow {
  display: inline-block; color: var(--accent); opacity: 0;
  transform: translateX(-8px); transition: all .3s; margin-left: 8px;
}

/* ===== 箴言区 ===== */
.axioms { display: flex; flex-direction: column; gap: 48px; }
.axiom {
  text-align: center; padding: 24px;
}
.axiom-text {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  color: var(--text); line-height: 1.8; margin-bottom: 12px;
}
.axiom-num {
  color: var(--text-faint); font-size: 11px; letter-spacing: 3px;
  font-family: var(--mono);
}
.axiom-divider {
  width: 40px; height: 1px; background: var(--accent-dim); margin: 0 auto;
}

/* ===== 文章正文页 ===== */
.article { padding: 140px 0 100px; }
.article-header { text-align: center; margin-bottom: 64px; }
.article-tag {
  color: var(--accent); font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 20px;
}
.article-title {
  font-size: clamp(28px, 5vw, 44px); font-weight: 300; line-height: 1.4;
  margin-bottom: 24px;
}
.article-meta { color: var(--text-faint); font-size: 13px; }
.article-body { font-family: var(--serif); font-size: 17px; line-height: 2.1; color: var(--text); }
.article-body p { margin-bottom: 28px; }
.article-body h2 {
  font-family: var(--sans); font-size: 20px; font-weight: 600;
  color: var(--accent); margin: 48px 0 20px; letter-spacing: 1px;
}
.article-body blockquote {
  border-left: 2px solid var(--accent); padding-left: 24px;
  margin: 32px 0; color: var(--text-dim); font-style: italic;
}
.article-body em { color: var(--accent); font-style: normal; }
.article-back {
  display: inline-block; margin-top: 64px; color: var(--text-dim);
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  transition: color .2s;
}
.article-back:hover { color: var(--accent); }

/* ===== 页脚 ===== */
.footer {
  border-top: 1px solid var(--line); padding: 48px 24px; text-align: center;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-logo { height: 32px; margin-bottom: 16px; }
.footer-text { color: var(--text-faint); font-size: 12px; line-height: 2; }
.footer-text a { color: var(--text-dim); }

/* ===== 动画 ===== */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn .8s ease forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

/* ===== 装饰波形 ===== */
.deco-wave { width: 100%; height: 80px; opacity: 0.15; margin: 40px 0; }

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; }
  .hero h1 { letter-spacing: 8px; }
  .section { padding: 64px 0; }
  .article-body { font-size: 16px; }
}
