/* 拾守科技官网样式 - 科技蓝 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #2f80ed;
  --primary-dark: #1e3a5f;
  --accent: #38bdf8;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
}
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-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.muted { color: #94a3b8; }

/* 顶部导航 */
.site-header { background: rgba(15,23,42,.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo a { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: 1px; }
.logo b { color: var(--accent); }
.logo span { color: #94a3b8; font-weight: 300; margin-left: 2px; }
.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a { color: #cbd5e1; margin-left: 6px; font-size: 14px; padding: 6px 12px; border-radius: 8px; transition: all .2s; }
.site-header nav a:hover { color: #fff; background: rgba(56,189,248,.15); }

/* Hero */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2f80ed 100%); color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::before { content:''; position:absolute; top:-50%; right:-10%; width:500px; height:500px; background:radial-gradient(circle, rgba(56,189,248,.15) 0%, transparent 70%); border-radius:50%; }
.hero::after { content:''; position:absolute; bottom:-30%; left:-10%; width:400px; height:400px; background:radial-gradient(circle, rgba(47,128,237,.2) 0%, transparent 70%); border-radius:50%; }
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: 38px; margin-bottom: 16px; font-weight: 700; letter-spacing: 1px; }
.hero p { color: #cbd5e1; font-size: 18px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }
.btn-primary { display: inline-block; background: var(--accent); color: #0f172a; font-weight: 700; padding: 12px 30px; border-radius: 30px; transition: all .25s; box-shadow: 0 4px 15px rgba(56,189,248,.4); }
.btn-primary:hover { background: #7dd3fc; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56,189,248,.5); color: #0f172a; }
.btn-ghost { display: inline-block; border: 1px solid #94a3b8; color: #e2e8f0; padding: 12px 30px; border-radius: 30px; transition: all .25s; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* 通用 section */
.section { padding: 60px 0; }
.section-title { text-align: center; font-size: 26px; margin-bottom: 36px; color: var(--bg-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; }

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1; min-width: 280px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all .3s; position: relative; overflow: hidden; }
.card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--primary), var(--accent)); transform:scaleX(0); transition:transform .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(47,128,237,.15); border-color: var(--primary); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary-dark); }
.card p { color: var(--text-light); font-size: 14px; }

/* 优势数据 */
.stats { display:flex; justify-content:center; gap:40px; flex-wrap:wrap; margin-top:10px; }
.stat-item { text-align:center; }
.stat-num { font-size:32px; font-weight:700; color:var(--primary); }
.stat-label { font-size:13px; color:var(--text-light); margin-top:4px; }

/* 资讯列表 */
.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: var(--primary); box-shadow: 0 4px 20px rgba(47,128,237,.12); transform: translateX(4px); }
.news-title { font-size: 16px; font-weight: 700; color: var(--bg-dark); }
.ai-tag { display: inline-block; background: #ede9fe; color: #5b21b6; font-size: 11px; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.news-summary { color: var(--text-light); font-size: 14px; margin-top: 6px; }
.news-meta { color: #94a3b8; 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 #cbd5e1; border-radius: 8px; font-size: 13px; }
.pager .cur { background: var(--primary); color: #fff; border-color: var(--primary); }

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

/* 文章页 */
.crumb { color: #94a3b8; font-size: 13px; margin-bottom: 16px; }
.crumb a { color: #64748b; }
.article-title { font-size: 30px; line-height: 1.4; margin-bottom: 12px; }
.article-meta { color: #94a3b8; 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: #334155; font-size: 16px; }
.article-body h2 { font-size: 21px; margin: 24px 0 12px; color: var(--bg-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(--bg-dark); color: #94a3b8; padding: 36px 0; margin-top: 50px; font-size: 13px; }
.site-footer .wrap { text-align: center; }
.foot-line { margin-top: 8px; }
.foot-line a { color: var(--accent); }

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