/* asset-totem 官网基础样式 */

:root {
    --primary: #2b6cb0;
    --primary-dark: #1a4971;
    --text: #1f2933;
    --muted: #616e7c;
    --bg-alt: #f4f6f9;
    --border: #e4e7eb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.7;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* 顶部导航 */
.header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; }
.nav a { margin-left: 28px; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--primary); }

/* 首屏 */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, #eef4fb 0%, #fff 100%);
}
.hero h1 { font-size: 44px; margin-bottom: 16px; }
.hero p { font-size: 18px; color: var(--muted); margin-bottom: 32px; }
.btn-primary {
    display: inline-block; padding: 12px 40px;
    background: var(--primary); color: #fff;
    border-radius: 8px; text-decoration: none; font-size: 16px;
}
.btn-primary:hover { background: var(--primary-dark); }

/* 区块 */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: 30px; margin-bottom: 48px; }

/* 卡片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 28px 24px;
    text-align: center; font-size: 17px;
}
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card small { color: var(--muted); }
.section-alt .card { border: none; box-shadow: 0 1px 4px rgba(31, 41, 51, .06); }

/* 页脚 */
.footer { padding: 32px 0; border-top: 1px solid var(--border); color: var(--muted); text-align: center; }

/* 移动端 */
@media (max-width: 640px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .nav a { margin-left: 16px; }
}
