/* 拾守社交产品站样式 - 温暖系 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #7c3aed;
  --primary-dark: #4c1d95;
  --accent: #f472b6;
  --bg-soft: #fdf2f8;
  --text: #3f2d4d;
  --text-light: #6d28d9;
  --border: #f3e8ff;
}
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.7; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.muted { color: #a78bfa; }

/* 顶部导航 */
.site-header { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(124,58,237,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; flex-wrap: wrap; gap: 8px; }
.logo a { font-size: 21px; color: var(--primary-dark); font-weight: 700; letter-spacing: 1px; }
.logo b { color: var(--primary); }
.logo span { color: #a78bfa; font-weight: 300; margin-left: 2px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 2px; }
.site-header nav a { color: var(--text-light); font-size: 14px; padding: 6px 10px; border-radius: 8px; transition: all .2s; }
.site-header nav a:hover { background: var(--border); color: var(--primary-dark); }

/* Hero */
.hero { background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 45%, #e0e7ff 100%); padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; top:-40%; right:-10%; width:500px; height:500px; background:radial-gradient(circle, rgba(244,114,182,.15) 0%, transparent 70%); border-radius:50%; }
.hero::after { content:''; position:absolute; bottom:-30%; left:-10%; width:450px; height:450px; background:radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%); border-radius:50%; }
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: 38px; color: var(--primary-dark); margin-bottom: 16px; font-weight: 700; letter-spacing: 1px; }
.hero p { color: var(--text-light); font-size: 18px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }
.btn-primary { display: inline-block; background: var(--primary); color: #fff; font-weight: 700; padding: 12px 30px; border-radius: 30px; transition: all .25s; box-shadow: 0 4px 15px rgba(124,58,237,.35); }
.btn-primary:hover { background: #6d28d9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,.45); color: #fff; }
.btn-ghost { display: inline-block; border: 1px solid #c4b5fd; color: var(--text-light); padding: 12px 30px; border-radius: 30px; transition: all .25s; }
.btn-ghost:hover { border-color: var(--primary); background: rgba(124,58,237,.05); }

/* 通用 */
.section { padding: 60px 0; }
.section-title { text-align: center; font-size: 26px; margin-bottom: 36px; color: var(--primary-dark); font-weight: 700; }
.section-title::after { content:''; display:block; width:50px; height:3px; background:linear-gradient(90deg, var(--primary), var(--accent)); margin:12px auto 0; border-radius:2px; }

/* 五大模式 */
.mode-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.mode-card { flex: 1; min-width: 170px; max-width: 210px; background: #fff; border: 1px solid var(--border); border-top: 4px solid; border-radius: 16px; padding: 26px 18px; text-align: center; transition: all .3s; }
a.mode-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(124,58,237,.15); }
.mode-icon { width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.mode-name { font-size: 17px; font-weight: 700; color: var(--primary-dark); }
.mode-desc { color: #8b5cf6; font-size: 12px; margin-top: 6px; line-height: 1.5; }
.page-mode { justify-content: flex-start; margin-bottom: 10px; }

/* 资讯 */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item { display: block; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; transition: all .25s; }
.news-item:hover { border-color: #c4b5fd; box-shadow: 0 4px 20px rgba(124,58,237,.1); transform: translateX(4px); }
.news-title { font-size: 16px; font-weight: 700; color: var(--primary-dark); }
.ai-tag { display: inline-block; background: #ede9fe; color: #5b21b6; font-size: 11px; border-radius: 4px; padding: 1px 6px; margin-left: 6px; }
.news-summary { color: var(--text-light); font-size: 14px; margin-top: 6px; }
.news-meta { color: #a78bfa; font-size: 12px; margin-top: 8px; }

/* 分页 */
.pager { display: flex; gap: 6px; margin-top: 28px; justify-content:center; }
.pager a, .pager .cur { padding: 6px 14px; border: 1px solid #d8b4fe; border-radius: 8px; font-size: 13px; color: var(--text-light); }
.pager .cur { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 页面 */
.page-title { font-size: 28px; margin-bottom: 20px; color: var(--primary-dark); }
.page p { margin-bottom: 14px; color: var(--text-light); }
.page-sub { font-size: 19px; margin: 28px 0 12px; color: var(--primary); font-weight:600; }

/* 文章 */
.crumb { color: #a78bfa; font-size: 13px; margin-bottom: 16px; }
.crumb a { color: #8b5cf6; }
.article-title { font-size: 30px; line-height: 1.4; margin-bottom: 12px; color: var(--primary-dark); }
.article-meta { color: #a78bfa; font-size: 13px; margin-bottom: 18px; }
.ai-badge { display: inline-block; background: #ede9fe; color: #5b21b6; border-radius: 20px; padding: 2px 10px; font-size: 12px; margin-left: 8px; }
.ai-notice { background: #f5f3ff; border: 1px solid #ddd6fe; color: #5b21b6; border-radius: 10px; padding: 12px 16px; font-size: 13px; margin-bottom: 20px; }
.article-body { color: #4a3f5c; font-size: 16px; }
.article-body h2 { font-size: 21px; margin: 24px 0 12px; color: var(--primary-dark); }
.article-body p { margin-bottom: 14px; }
.article-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; flex-wrap: wrap; }

/* 页脚 */
.site-footer { background: var(--primary-dark); color: #ddd6fe; padding: 36px 0; margin-top: 50px; font-size: 13px; }
.site-footer .wrap { text-align: center; }
.foot-line { margin-top: 8px; }
.foot-line a { color: #fff; }

@media (max-width: 720px) {
  .site-header .wrap { flex-direction: column; gap: 10px; }
  .site-header nav a { margin: 0; font-size:13px; padding:4px 8px; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size:15px; }
  .section { padding: 40px 0; }
  .mode-card { min-width: 140px; padding:20px 12px; }
}
