/* 中歌门窗渠道管理服务平台 · 站点首页 */

:root {
    --brand: #2563eb;
    --brand-2: #7c3aed;
    --grad: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --grad-brand: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    --ink: #111827;
    --text: #374151;
    --text-2: #5b6b82;
    --text-3: #93a1b5;
    --line: #e5e9f0;
    --soft: #f6f8fb;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 24, 40, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; color: var(--text); background: #fff;
    font-family: "HarmonyOS Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei UI", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.35; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 图标 */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 15px; height: 15px; }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
    font-size: 14px; font-weight: 500; cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn-lg { height: 46px; padding: 0 26px; font-size: 15px; border-radius: 12px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .22); }
.btn-primary:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 10px 26px rgba(37, 99, 235, .3); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* 顶栏 */
.nav {
    position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
    width: 34px; height: 34px; border-radius: 9px; background: var(--grad-brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; letter-spacing: -.5px;
}
.brand-text { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--brand); }
.nav-act { display: flex; align-items: center; gap: 14px; }
.nav-hi { font-size: 13px; color: var(--text-3); }

/* Hero */
.hero {
    position: relative; padding: 72px 0 64px; overflow: hidden;
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(59, 130, 246, .16), transparent 60%),
        radial-gradient(800px 400px at 88% 0%, rgba(124, 58, 237, .14), transparent 62%),
        #fff;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.badge {
    display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
    color: var(--brand); background: rgba(37, 99, 235, .1); border: 1px solid rgba(37, 99, 235, .18);
}
.hero-copy h1 { margin: 18px 0 16px; font-size: 40px; font-weight: 700; letter-spacing: -.6px; }
.hero-copy > p { color: var(--text-2); font-size: 16px; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; margin: 28px 0 20px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-2); }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand);
}

/* Hero 数据面板 */
.hero-panel {
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
    box-shadow: var(--shadow);
}
.panel-head { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: .4px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 16px; }
.stat { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.stat-v { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; }
.stat-l { font-size: 12.5px; color: var(--text-2); }
.panel-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--text-3);
}
.panel-foot a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }

/* 通用区块 */
.sec { padding: 72px 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 720px; margin-bottom: 34px; }
.sec-head h2 { font-size: 28px; font-weight: 700; letter-spacing: -.4px; }
.sec-head p { margin-top: 10px; color: var(--text-2); font-size: 15px; }

/* 能力卡片 */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.mod-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mod-card:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .35); box-shadow: var(--shadow); }
.mod-ico {
    width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: #fff;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .22);
}
.mod-card h3 { font-size: 16px; font-weight: 600; }
.mod-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }

/* 流程条 */
.flow-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.flow-step {
    padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
    font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-xs, 0 1px 2px rgba(16, 24, 40, .04));
}
.flow-step:not(:last-child)::after {
    content: "→"; margin-left: 16px; color: var(--text-3); font-weight: 500;
}

/* 角色卡 */
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.role-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow-xs, 0 1px 2px rgba(16, 24, 40, .04));
}
.role-tag {
    display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
    color: var(--brand); background: rgba(37, 99, 235, .1);
}
.role-card h3 { margin-top: 12px; font-size: 17px; font-weight: 600; }
.role-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }

/* 加盟步骤 */
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.join-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.join-no {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 12px; background: rgba(37, 99, 235, .1); color: var(--brand); font-weight: 700; font-size: 15px;
}
.join-card h3 { margin-top: 14px; font-size: 16px; font-weight: 600; }
.join-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }

/* 底部 CTA */
.cta { padding: 56px 0; background: var(--grad-brand); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -.3px; }
.cta p { margin-top: 8px; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.cta .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.cta .btn-primary:hover { color: var(--brand); filter: none; opacity: .94; }

/* 页脚 */
.foot { background: #0f172a; color: #94a3b8; padding: 40px 0 24px; font-size: 13.5px; }
.foot-in { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: flex-start; gap: 12px; max-width: 620px; }
.foot-brand p { color: #94a3b8; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: #cbd5e1; }
.foot-links a:hover { color: #fff; }
.foot-copy {
    margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08);
    color: #64748b; font-size: 12.5px;
}
.foot-copy a { color: #94a3b8; }
.foot-copy a:hover { color: #fff; }
/* 公安备案：徽标 + 备案号，链接至公安备案查询网站 */
.foot-copy .beian-ga { display: inline-flex; align-items: center; gap: 5px; }
.foot-copy .beian-ga img {
    width: 14px; height: 14px; display: inline-block;
    vertical-align: middle; margin-top: -2px;
}

/* 响应式 */
@media (max-width: 991px) {
    .hero-in { grid-template-columns: 1fr; gap: 32px; }
    .hero-copy h1 { font-size: 32px; }
    .nav-links { display: none; }
    .sec { padding: 56px 0; }
}
/* 登录超时提示条 */
.zg-expired-tip {
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 14px;
}
.zg-expired-tip .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.zg-expired-tip a {
    color: #c2410c;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .wrap { padding: 0 16px; }
    .brand-text { display: none; }
    .hero { padding: 48px 0 40px; }
    .hero-copy h1 { font-size: 26px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .sec-head h2 { font-size: 22px; }
    .cta h2 { font-size: 21px; }
    .btn-lg { height: 44px; padding: 0 20px; }
}
