/* 慧培官网 · 子页面共用样式 */
:root {
    --hp-navy: #0a2463;
    --hp-navy-light: #1a3a8f;
    --hp-gold: #ff9f1c;
    --hp-gold-light: #ffd100;
    --hp-text: #333;
    --hp-muted: #666;
    --hp-border: #e8ecf2;
    --hp-bg: #f4f6fb;
    --hp-white: #fff;
    --hp-radius: 14px;
    --hp-shadow: 0 8px 32px rgba(10, 36, 99, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--hp-bg);
    color: var(--hp-text);
    line-height: 1.65;
}
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 顶栏 */
.site-header {
    background: var(--hp-navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.site-header .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px;
}
.site-brand { text-decoration: none; color: #fff; }
.site-brand .name { font-size: 1.35rem; font-weight: 700; }
.site-brand .domain { font-size: .82rem; color: var(--hp-gold); margin-top: 2px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; }
.site-nav a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.active { color: #fff; border-bottom-color: var(--hp-gold); }

/* 页头 Hero */
.page-hero {
    padding: 56px 0 48px;
    color: #fff;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: .02em;
}
.page-hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    opacity: .92;
    max-width: 640px;
    margin: 0 auto 20px;
}
.page-hero .badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.page-hero .badge {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .85rem;
}
.hero-xiaowu { background: linear-gradient(135deg, #c45c26 0%, #e8923a 45%, #f5b84a 100%); }
.hero-saas { background: linear-gradient(135deg, #0a2463 0%, #1a4a8f 50%, #2d6ab0 100%); }

/* 内容区块 */
.page-body { padding: 40px 0 56px; }
.section-block { margin-bottom: 48px; }
.section-head {
    text-align: center;
    margin-bottom: 28px;
}
.section-head h2 {
    font-size: 1.55rem;
    color: var(--hp-navy);
    margin-bottom: 8px;
}
.section-head p { color: var(--hp-muted); font-size: .95rem; max-width: 560px; margin: 0 auto; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.feature-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 24px 20px;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(10,36,99,.12); }
.feature-card .icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}
.feature-card h3 { font-size: 1.05rem; color: var(--hp-navy); margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--hp-muted); margin: 0; }

.icon-warm { background: #fff3e6; }
.icon-blue { background: #e8f0fe; }
.icon-green { background: #e8f8ef; }
.icon-purple { background: #f0ebff; }

/* 叙事区 */
.story-panel {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 32px 28px;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
}
.story-panel p { margin-bottom: 14px; color: #444; font-size: .98rem; }
.story-panel p:last-child { margin-bottom: 0; }
.story-panel strong { color: var(--hp-navy); }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

.audience-card {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 22px;
}
.audience-card h3 { color: var(--hp-navy); font-size: 1.1rem; margin-bottom: 10px; }
.audience-card ul { padding-left: 18px; color: var(--hp-muted); font-size: .9rem; }
.audience-card li { margin-bottom: 6px; }

/* 步骤 */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 900px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-row { grid-template-columns: 1fr; } }
.step-item {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
}
.step-item .num {
    width: 36px; height: 36px;
    background: var(--hp-navy);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin: 0 auto 10px;
    font-size: .95rem;
}
.step-item .step-item.warm .num { background: #c45c26; }
.step-item h4 { font-size: .95rem; color: var(--hp-navy); margin-bottom: 6px; }
.step-item p { font-size: .82rem; color: var(--hp-muted); margin: 0; }

/* 下载区 */
.download-zone {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--hp-shadow);
    border: 2px solid var(--hp-gold);
}
.download-zone h2 { color: var(--hp-navy); font-size: 1.4rem; margin-bottom: 10px; }
.download-zone .sub { color: var(--hp-muted); font-size: .92rem; margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn-primary { background: var(--hp-navy); color: #fff; }
.btn-gold { background: var(--hp-gold); color: #fff; }
.btn-outline { background: #fff; color: var(--hp-navy); border: 2px solid var(--hp-navy); }
.btn-ghost { background: #eef1f6; color: var(--hp-navy); }
.note { margin-top: 16px; font-size: .85rem; color: #888; }

/* 产品关系说明 */
.eco-note {
    background: #fff8e6;
    border: 1px solid #ffe0a3;
    border-radius: var(--hp-radius);
    padding: 18px 20px;
    font-size: .9rem;
    color: #7a5c00;
    margin-bottom: 32px;
}
.eco-note a { color: var(--hp-navy); font-weight: 600; }

/* SaaS 模块展示 */
.module-list { display: flex; flex-direction: column; gap: 16px; }
.module-item {
    display: flex;
    gap: 20px;
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    padding: 22px 24px;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    align-items: flex-start;
}
.module-item .m-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #1a4a8f, #2d6ab0);
    color: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.module-item h3 { font-size: 1.05rem; color: var(--hp-navy); margin-bottom: 6px; }
.module-item p { font-size: .88rem; color: var(--hp-muted); margin: 0; }

.cta-band {
    background: linear-gradient(135deg, var(--hp-navy), #1a4a8f);
    color: #fff;
    border-radius: var(--hp-radius);
    padding: 40px 28px;
    text-align: center;
    margin-top: 20px;
}
.cta-band h2 { font-size: 1.45rem; margin-bottom: 10px; }
.cta-band p { opacity: .9; margin-bottom: 22px; font-size: .95rem; }
.cta-band .btn-gold { margin: 0 6px; }

/* 首页产品入口卡 */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}
.product-card {
    background: #fff;
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card .cover { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.product-card .cover.warm { background: linear-gradient(135deg, #ffe8d6, #ffd4a8); }
.product-card .cover.cool { background: linear-gradient(135deg, #dce8ff, #b8cff5); }
.product-card .cover.sync { background: linear-gradient(135deg, #d5f5f0, #9dd9cf); }
.product-card .body { padding: 20px; }
.product-card h3 { color: var(--hp-navy); margin-bottom: 8px; font-size: 1.15rem; }
.product-card p { color: var(--hp-muted); font-size: .88rem; margin-bottom: 12px; }
.product-card .link { color: var(--hp-gold); font-size: .9rem; font-weight: 600; }

.site-footer {
    background: var(--hp-navy);
    color: #fff;
    padding: 28px 0;
    text-align: center;
    margin-top: 0;
}
.site-footer p { margin: 4px 0; font-size: .9rem; }
.site-footer a { color: var(--hp-gold); text-decoration: none; }
.site-footer .copy { color: #aaa; font-size: .82rem; margin-top: 10px; }

@media (max-width: 768px) {
    .site-header .inner { justify-content: center; text-align: center; }
    .site-nav { justify-content: center; }
    .page-hero { padding: 40px 0 36px; }
}
