/* ==========================================================
   首页 · 客户端下载引导区块
   作用域限定在 #homeClient，避免影响首页其它区域
   ========================================================== */

#homeClient {
    width: 100%;
    margin-top: 2.2rem;
}

#homeClient .hc-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    padding: 40px 46px;
    border: 1px solid #e9eef7;
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 10%, rgba(118, 87, 255, 0.06), transparent 46%),
        radial-gradient(circle at 2% 94%, rgba(63, 139, 254, 0.05), transparent 42%),
        #fff;
    box-shadow: 0 20px 50px rgba(45, 67, 110, 0.08);
}

/* ---------- 左侧：安装引导 ---------- */
#homeClient .hc-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

#homeClient .hc-hero-title {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -2px;
}

#homeClient .hc-hero-title span {
    color: #3f8bfe;
}

#homeClient .hc-hero-lead {
    max-width: 420px;
    margin: 0 0 26px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- 下载按钮 ---------- */
#homeClient .hc-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    min-width: 258px;
    padding: 13px 16px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #387ef4 0%, #6a56ff 100%);
    box-shadow: 0 14px 30px rgba(62, 120, 246, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#homeClient .hc-download:hover,
#homeClient .hc-download:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(62, 120, 246, 0.32);
}

#homeClient .hc-win {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 24px;
    height: 24px;
    padding: 2px;
    flex: 0 0 auto;
}

#homeClient .hc-win i {
    display: block;
    background: #fff;
}

#homeClient .hc-download strong {
    display: block;
    font-size: 15px;
    line-height: 1.3;
}

#homeClient .hc-download small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
}

#homeClient .hc-download > svg {
    width: 18px;
    height: 18px;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- 支持平台 ---------- */
#homeClient .hc-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

#homeClient .hc-platforms span {
    padding: 6px 10px;
    border: 1px solid #e7ebf2;
    border-radius: 999px;
    background: #fff;
    color: #5f6c80;
    font-size: 10.5px;
    font-weight: 700;
}

/* ---------- 右侧：优势介绍 ---------- */
#homeClient .hc-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

#homeClient .hc-title {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -1px;
}

#homeClient .hc-sub {
    margin: 0 0 20px;
    color: #7c8aa0;
    font-size: 13px;
    line-height: 1.7;
}

#homeClient .hc-adv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#homeClient .hc-adv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #edf1f8;
    border-radius: 16px;
    background: #f8fafd;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

#homeClient .hc-adv:hover {
    border-color: #d9e6ff;
    transform: translateY(-2px);
}

#homeClient .hc-adv b {
    display: block;
    font-family: "Bahnschrift", "Segoe UI", sans-serif;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

#homeClient .hc-adv small {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

#homeClient .hc-adv .is-blue { color: #3f8bfe; }
#homeClient .hc-adv .is-violet { color: #7657ff; }
#homeClient .hc-adv .is-orange { color: #f59e0b; }
#homeClient .hc-adv .is-green { color: #18b777; }

#homeClient .hc-adv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(45, 67, 110, 0.07);
}

#homeClient .hc-adv-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#homeClient .hc-adv-icon.is-blue { color: #3f8bfe; }
#homeClient .hc-adv-icon.is-violet { color: #7657ff; }
#homeClient .hc-adv-icon.is-orange { color: #f59e0b; }
#homeClient .hc-adv-icon.is-green { color: #18b777; }

#homeClient .hc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

#homeClient .hc-more {
    color: #3f8bfe;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

#homeClient .hc-more:hover,
#homeClient .hc-more:focus {
    color: #1761d9;
    text-decoration: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199.98px) {
    #homeClient .hc-card {
        gap: 32px;
        padding: 32px 30px;
    }

    #homeClient .hc-hero-title {
        font-size: 38px;
    }

    #homeClient .hc-title {
        font-size: 26px;
    }
}

@media (max-width: 991.98px) {
    #homeClient .hc-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px 24px;
    }

    #homeClient .hc-hero-title {
        font-size: 34px;
    }

    #homeClient .hc-hero-lead {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    #homeClient {
        margin-top: 1.5rem;
    }

    #homeClient .hc-card {
        padding: 22px 16px;
        border-radius: 20px;
    }

    #homeClient .hc-hero-title {
        font-size: 30px;
        letter-spacing: -1.4px;
    }

    #homeClient .hc-download {
        width: 100%;
    }

    #homeClient .hc-platforms {
        gap: 6px;
        margin-top: 18px;
    }

    #homeClient .hc-platforms span {
        padding: 6px 10px;
        font-size: 10px;
    }

    #homeClient .hc-adv-grid {
        gap: 10px;
    }

    #homeClient .hc-adv {
        gap: 8px;
        padding: 12px 13px;
        border-radius: 13px;
    }

    #homeClient .hc-adv b {
        font-size: 16px;
    }

    #homeClient .hc-adv small {
        margin-top: 5px;
        font-size: 11px;
    }

    #homeClient .hc-adv-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    #homeClient .hc-adv-icon svg {
        width: 16px;
        height: 16px;
    }
}
