/* 重启人生计划 - Neumorphism 风格 */
:root {
  /* 暗色主题 */
  --bg-primary: #1a1d21;
  --bg-high: #2a2f36;
  --bg-shadow: #0a0c0e;
  
  --text-active: #e866a0;
  --text-primary: #e2e8f0;
  --text-stress: #ffffff;
  --text-low: #8b95a5;
  
  /* 柔和阴影 */
  --soft-shadow: 3px;
  --radius-large: 16px;
  --radius-primary: 12px;
  --radius-small: 6px;
  
  /* 布局 */
  --layout-max-width: 1000px;
  --layout-padding: 20px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 浮动装饰 */
.floating-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.float-emoji {
  position: absolute;
  opacity: 0.35;
  animation: floatUp 15s linear infinite;
  font-size: 40px;
  filter: drop-shadow(0 0 15px currentColor) drop-shadow(0 0 30px currentColor);
}

.float-emoji:nth-child(1) { left: 2%; animation-delay: 0s; font-size: 36px; color: #e866a0; }
.float-emoji:nth-child(2) { left: 16%; animation-delay: 2.5s; font-size: 32px; color: #64b4f6; }
.float-emoji:nth-child(3) { left: 32%; animation-delay: 5s; font-size: 44px; color: #fbbf24; }
.float-emoji:nth-child(4) { left: 66%; animation-delay: 1.5s; font-size: 38px; color: #4ade80; }
.float-emoji:nth-child(5) { left: 82%; animation-delay: 4s; font-size: 34px; color: #e866a0; }
.float-emoji:nth-child(6) { left: 95%; animation-delay: 6.5s; font-size: 42px; color: #64b4f6; }

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  5% { opacity: 0.35; transform: translateY(90vh) rotate(20deg) scale(0.8); }
  95% { opacity: 0.35; transform: translateY(-5vh) rotate(340deg) scale(0.8); }
  100% {
    transform: translateY(-10vh) rotate(360deg) scale(0.6);
    opacity: 0;
  }
}

/* 几何装饰 - 更鲜艳 */
.geo-shape {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.geo-shape.geo-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -250px;
  background: radial-gradient(circle, rgba(232, 102, 160, 0.2) 0%, rgba(232, 102, 160, 0.1) 30%, transparent 60%);
  animation: geoPulse 8s ease-in-out infinite;
  filter: blur(1px);
}

.geo-shape.geo-2 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  left: -200px;
  background: radial-gradient(circle, rgba(100, 180, 246, 0.18) 0%, rgba(100, 180, 246, 0.08) 30%, transparent 60%);
  animation: geoPulse 10s ease-in-out infinite 2s;
  filter: blur(1px);
}

.geo-shape.geo-3 {
  width: 350px;
  height: 350px;
  top: 30%;
  right: -80px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.06) 30%, transparent 60%);
  animation: geoPulse 12s ease-in-out infinite 4s;
  filter: blur(1px);
}

@keyframes geoPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover { opacity: 0.7; }

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  z-index: 100;
  background: linear-gradient(145deg, var(--bg-high), var(--bg-primary));
  box-shadow: 
    0 3px 6px var(--bg-shadow),
    0 -1px 3px var(--bg-high);
}

.navbar-content {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--layout-padding);
}

.navbar-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-stress);
}

.navbar-list {
  display: flex;
  gap: 24px;
}

.navbar-list-item a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* 主容器 */
.main {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 74px var(--layout-padding) 40px;
  position: relative;
  z-index: 1;
}

.page { display: none; }
.page.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 区域 */
.hero {
  text-align: center;
  padding: 50px 30px;
  margin-bottom: 30px;
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, var(--bg-high), var(--bg-primary));
  border: 1px solid rgba(232, 102, 160, 0.15);
  box-shadow:
    var(--soft-shadow) var(--soft-shadow) calc(var(--soft-shadow) * 2) var(--bg-shadow),
    calc(-1 * var(--soft-shadow)) calc(-1 * var(--soft-shadow)) calc(var(--soft-shadow) * 2) var(--bg-high),
    0 0 40px rgba(232, 102, 160, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-stress);
}

.hero-title .accent { 
  color: var(--text-active); 
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-primary);
  opacity: 0.9;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-active);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-primary);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 区块标题 */
.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-stress);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--text-active);
  border-radius: 2px;
}

/* 方向卡片 */
.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.dir-card {
  padding: 24px;
  border-radius: var(--radius-primary);
  background: var(--bg-primary);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.dir-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dir-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.dir-card:hover::before {
  opacity: 0.3;
}

/* AI-Agent - 粉紫色 */
.dir-card:nth-child(1) {
  border-color: rgba(232, 102, 160, 0.5);
  box-shadow: 0 0 30px rgba(232, 102, 160, 0.2), 0 8px 20px rgba(0,0,0,0.3);
}
.dir-card:nth-child(1)::before {
  background: linear-gradient(135deg, rgba(232, 102, 160, 0.3) 0%, rgba(168, 85, 247, 0.2) 100%);
}
.dir-card:nth-child(1):hover {
  border-color: rgba(232, 102, 160, 1);
  box-shadow: 0 0 50px rgba(232, 102, 160, 0.4), 0 0 100px rgba(232, 102, 160, 0.2), 0 15px 40px rgba(0,0,0,0.4);
}

/* 小游戏 - 蓝色 */
.dir-card:nth-child(2) {
  border-color: rgba(100, 180, 246, 0.5);
  box-shadow: 0 0 30px rgba(100, 180, 246, 0.2), 0 8px 20px rgba(0,0,0,0.3);
}
.dir-card:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(100, 180, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
}
.dir-card:nth-child(2):hover {
  border-color: rgba(100, 180, 246, 1);
  box-shadow: 0 0 50px rgba(100, 180, 246, 0.4), 0 0 100px rgba(100, 180, 246, 0.2), 0 15px 40px rgba(0,0,0,0.4);
}

/* 自媒体 - 金橙色 */
.dir-card:nth-child(3) {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.2), 0 8px 20px rgba(0,0,0,0.3);
}
.dir-card:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.2) 100%);
}
.dir-card:nth-child(3):hover {
  border-color: rgba(251, 191, 36, 1);
  box-shadow: 0 0 50px rgba(251, 191, 36, 0.4), 0 0 100px rgba(251, 191, 36, 0.2), 0 15px 40px rgba(0,0,0,0.4);
}

/* 一人公司 - 绿色 */
.dir-card:nth-child(4) {
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.2), 0 8px 20px rgba(0,0,0,0.3);
}
.dir-card:nth-child(4)::before {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.3) 0%, rgba(34, 197, 94, 0.2) 100%);
}
.dir-card:nth-child(4):hover {
  border-color: rgba(74, 222, 128, 1);
  box-shadow: 0 0 50px rgba(74, 222, 128, 0.4), 0 0 100px rgba(74, 222, 128, 0.2), 0 15px 40px rgba(0,0,0,0.4);
}

.dir-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.dir-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-stress);
}

.dir-card p {
  font-size: 13px;
  color: var(--text-primary);
  opacity: 0.85;
  margin-bottom: 10px;
}

.dir-card .arrow {
  font-size: 12px;
  color: var(--text-active);
}

/* 报告列表 */
.report-list-section {
  padding: 24px;
  border-radius: var(--radius-primary);
  background: linear-gradient(145deg, var(--bg-high), var(--bg-primary));
  border: 1px solid rgba(100, 180, 246, 0.1);
  box-shadow:
    var(--soft-shadow) var(--soft-shadow) calc(var(--soft-shadow) * 2) var(--bg-shadow),
    calc(-1 * var(--soft-shadow)) calc(-1 * var(--soft-shadow)) calc(var(--soft-shadow) * 2) var(--bg-high),
    0 0 30px rgba(100, 180, 246, 0.05);
}

.report-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(68, 76, 86, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.report-item:last-child { border-bottom: none; }

.report-item:hover { padding-left: 8px; }

.report-item:hover .report-title { color: var(--text-active); }

.report-date {
  min-width: 85px;
  font-size: 13px;
  color: var(--text-stress);
}

.report-title {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
}

.report-summary {
  font-size: 12px;
  color: var(--text-primary);
  opacity: 0.7;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 详情页 */
.page-header {
  margin-bottom: 24px;
}

.page-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-stress);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-primary);
  background: var(--bg-primary);
  box-shadow:
    var(--soft-shadow) var(--soft-shadow) calc(var(--soft-shadow) * 2) var(--bg-shadow),
    calc(-1 * var(--soft-shadow)) calc(-1 * var(--soft-shadow)) calc(var(--soft-shadow) * 2) var(--bg-high);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.back-btn:hover { opacity: 1; }

.back-btn:active {
  box-shadow:
    inset var(--soft-shadow) var(--soft-shadow) calc(var(--soft-shadow) * 2) var(--bg-shadow),
    inset calc(-1 * var(--soft-shadow)) calc(-1 * var(--soft-shadow)) calc(var(--soft-shadow) * 2) var(--bg-high);
}

.detail-content {
  padding: 30px;
  border-radius: var(--radius-large);
  background: var(--bg-primary);
  box-shadow:
    var(--soft-shadow) var(--soft-shadow) calc(var(--soft-shadow) * 2) var(--bg-shadow),
    calc(-1 * var(--soft-shadow)) calc(-1 * var(--soft-shadow)) calc(var(--soft-shadow) * 2) var(--bg-high);
}

/* Markdown 内容 */
.md-body h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(68, 76, 86, 0.3);
  color: var(--text-stress);
}

.md-body h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 14px;
  color: var(--text-stress);
}

.md-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 10px;
  color: var(--text-stress);
}

.md-body p {
  margin: 12px 0;
  color: var(--text-primary);
  line-height: 1.9;
}

.md-body ul, .md-body ol {
  margin: 12px 0;
  padding-left: 24px;
}

.md-body li {
  margin: 6px 0;
  color: var(--text-primary);
}

.md-body code {
  background: var(--bg-high);
  color: var(--text-active);
  padding: 2px 6px;
  border-radius: var(--radius-small);
  font-size: 90%;
}

.md-body pre {
  background: var(--bg-high);
  padding: 16px;
  border-radius: var(--radius-primary);
  overflow-x: auto;
  margin: 16px 0;
  box-shadow: inset 2px 2px 4px var(--bg-shadow);
}

.md-body pre code {
  background: none;
  color: var(--text-primary);
}

.md-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.md-body th, .md-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(68, 76, 86, 0.3);
}

.md-body th {
  background: var(--bg-high);
  color: var(--text-stress);
  font-weight: 600;
}

.md-body blockquote {
  border-left: 3px solid var(--text-active);
  padding: 10px 16px;
  margin: 16px 0;
  color: var(--text-primary);
  opacity: 0.8;
  background: var(--bg-high);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.md-body hr {
  border: none;
  border-bottom: 1px solid rgba(68, 76, 86, 0.3);
  margin: 24px 0;
}

/* 加载状态 */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-low);
}

/* 响应式 */
@media (max-width: 768px) {
  :root {
    --layout-padding: 12px;
    --radius-large: 12px;
    --radius-primary: 10px;
  }
  
  .hero { padding: 36px 20px; }
  .hero-title { font-size: 24px; }
  .stats-row { gap: 30px; }
  .stat-num { font-size: 28px; }
  .direction-grid { grid-template-columns: 1fr; gap: 16px; }
  .navbar-list { gap: 16px; }
  
  .floating-bg, .geo-shape { display: none; }
}

/* 滚动条 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-low); border-radius: 3px; }
