/* 熵策科技官网 共享样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.7; background: #f8fafc; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* 导航 */
header { background: #1e3a5f; color: #fff; }
.nav-inner { max-width: 920px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.brand { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.nav-links a { font-size: 14px; opacity: .85; margin-left: 20px; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; border-bottom: 2px solid #fff; padding-bottom: 2px; }

/* 首屏 hero */
.hero { background: #1e3a5f; color: #fff; padding: 40px 0 48px; }
.hero h1 { font-size: 26px; letter-spacing: 1px; }
.hero p { opacity: .9; margin-top: 10px; }

/* 正文 */
main { padding: 40px 0 56px; }
.card { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 20px; }
.card h2 { font-size: 18px; color: #1e3a5f; margin-bottom: 12px; }
.card h3 { font-size: 15px; color: #1e3a5f; margin-bottom: 8px; }
.card p { font-size: 14px; color: #555; }

/* 功能网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.feat { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.feat h3 { font-size: 15px; color: #1e3a5f; margin-bottom: 6px; }
.feat p { font-size: 13px; color: #666; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: #fff; border-radius: 8px; padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #1e3a5f; color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.step h3 { font-size: 15px; color: #1e3a5f; margin-bottom: 6px; }
.step p { font-size: 13px; color: #666; }

/* 列表 */
ul.tight { font-size: 14px; color: #555; padding-left: 20px; }
ul.tight li { margin-bottom: 6px; }

/* 法律文本页 */
.legal h1 { font-size: 22px; color: #1e3a5f; margin-bottom: 20px; }
.legal h2 { font-size: 16px; color: #1e3a5f; margin: 20px 0 8px; }
.legal p { font-size: 14px; color: #555; margin-bottom: 6px; }
.legal .updated { font-size: 13px; color: #999; margin-top: 24px; }

/* 行动号召按钮 */
.btn { display: inline-block; background: #1e3a5f; color: #fff; padding: 10px 28px; border-radius: 24px; font-size: 15px; margin-top: 16px; }
.btn:hover { background: #2c5282; color: #fff; }
.btn-light { background: #fff; color: #1e3a5f; }
.btn-light:hover { background: #e2e8f0; color: #1e3a5f; }

/* 小程序码 */
.qr-box { margin: 16px 0 4px; }
.qr-img { width: 180px; height: 180px; border-radius: 12px; }
.qr-placeholder { display: inline-flex; align-items: center; justify-content: center; width: 180px; height: 180px; border: 2px dashed #94a3b8; border-radius: 12px; background: #f1f5f9; color: #64748b; font-size: 13px; text-align: center; line-height: 1.5; }

/* 页脚导航 */
.foot-nav { margin-bottom: 12px; }
.foot-nav a { margin: 0 10px; }

/* 页脚 */
footer { background: #fff; border-top: 1px solid #e5e7eb; padding: 24px 0; text-align: center; font-size: 13px; color: #888; }
footer a { color: #666; text-decoration: none; }
footer a:hover { color: #1e3a5f; }
