/* 全局 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;line-height:1.6;color:#333;background:#fafafa}
a{color:#0366d6;text-decoration:none}
a:hover{text-decoration:underline}

/* 顶部大图 */
.hero{height:100vh;background:url('../img/bg.jpg') center/cover no-repeat;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff}
.hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.45)}
.hero>*{position:relative}
.logo{width:100px;height:100px;border-radius:50%;border:3px solid #fff}
h1{font-size:3rem;margin:.5rem 0}
.btn-scroll{display:inline-block;margin-top:1rem;padding:.75rem 1.5rem;border:2px solid #fff;border-radius:2rem;color:#fff;font-weight:bold;transition:.3s}
.btn-scroll:hover{background:#fff;color:#000;text-decoration:none}

/* 主内容 */
main{max-width:800px;margin:0 auto;padding:2rem 1rem}
section{margin-bottom:3rem}
h2{margin-bottom:1rem;font-size:1.8rem;color:#222}

/* 特性卡片 */
.cards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:1.5rem;transition:.2s}
.card:hover{transform:translateY(-4px);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.card h3{margin-bottom:.5rem}
.card p{color:#666;font-size:.9rem}

/* 最近更新 */
#latest-posts{list-style:none}
#latest-posts li{margin:.5rem 0}
#latest-posts a{font-size:1.1rem}

/* 页脚 */
footer{text-align:center;padding:2rem 1rem;background:#f3f3f3;color:#666;font-size:.9rem}
