/* =================================================================
 * 惠心聊 — 全局样式 v1.0
 *
 * 设计规范：
 *   主色    #1FC4B0 (青绿 - logo 同款)
 *   辅色    #ffffff / #f5f7fa
 *   文字    #1f2329 / #4e5969 / #86909c
 *   字号    12/14/16/18/24/32/40
 *   行高    1.6
 *   圆角    6px
 *   阴影    0 2px 8px rgba(0,0,0,0.06)
 *   断点    <768 移动   ≥768 平板   ≥1200 桌面
 * ================================================================= */

/* ---------- 0. CSS 变量 + Reset ---------- */
:root {
    --hxl-primary:       #1FC4B0;
    --hxl-primary-hover: #38D0BD;
    --hxl-primary-light: #E0F7F4;
    --hxl-primary-dark:  #159A88;
    --hxl-white:         #ffffff;
    --hxl-bg:            #f5f7fa;
    --hxl-bg-soft:       #fafbfc;
    --hxl-border:        #e5e6eb;
    --hxl-text:          #1f2329;
    --hxl-text-sub:      #4e5969;
    --hxl-text-mute:     #86909c;
    --hxl-success:       #00b42a;
    --hxl-warn:          #ff7d00;
    --hxl-danger:        #f53f3f;
    --hxl-radius:        6px;
    --hxl-radius-lg:     12px;
    --hxl-shadow:        0 2px 8px rgba(0,0,0,0.06);
    --hxl-shadow-hover:  0 6px 20px rgba(31,196,176,0.15);
    --hxl-header-h:      64px;
    --hxl-container:     1200px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hxl-text);
    background: var(--hxl-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--hxl-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--hxl-primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: 600; color: var(--hxl-text); }

/* ---------- 1. 容器 + 通用工具类 ---------- */
.hxl-container {
    max-width: var(--hxl-container);
    margin: 0 auto;
    padding: 0 20px;
}
.hxl-section {
    padding: 80px 0;
}
.hxl-section-sm {
    padding: 48px 0;
}
.hxl-text-center { text-align: center; }
.hxl-mt-10 { margin-top: 10px; }
.hxl-mt-20 { margin-top: 20px; }
.hxl-mt-30 { margin-top: 30px; }
.hxl-mb-10 { margin-bottom: 10px; }
.hxl-mb-20 { margin-bottom: 20px; }
.hxl-mb-30 { margin-bottom: 30px; }

/* ---------- 2. 顶部导航 ---------- */
.hxl-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--hxl-header-h);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hxl-border);
    z-index: 1000;
    transition: box-shadow .2s;
}
.hxl-header.is-scrolled { box-shadow: var(--hxl-shadow); }
.hxl-header-inner {
    max-width: var(--hxl-container);
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hxl-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hxl-text);
    font-weight: 700;
}
.hxl-logo img { height: 32px; width: auto; }
.hxl-logo-text { font-size: 20px; letter-spacing: 1px; }
.hxl-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.hxl-nav-list {
    display: flex;
    gap: 28px;
    align-items: center;
}
.hxl-nav-item a {
    position: relative;
    color: var(--hxl-text);
    font-size: 15px;
    padding: 8px 0;
    transition: color .15s;
}
.hxl-nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--hxl-primary);
    transition: width .2s;
}
.hxl-nav-item:hover a,
.hxl-nav-item.active a { color: var(--hxl-primary); }
.hxl-nav-item.active a::after,
.hxl-nav-item:hover a::after { width: 100%; }
.hxl-nav-cta {
    background: var(--hxl-primary);
    color: var(--hxl-white) !important;
    padding: 8px 20px;
    border-radius: var(--hxl-radius);
    font-size: 14px;
    transition: background .15s, transform .15s;
}
.hxl-nav-cta:hover {
    background: var(--hxl-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--hxl-shadow-hover);
}
.hxl-header-spacer { height: var(--hxl-header-h); }

/* 移动端汉堡 */
.hxl-burger {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.hxl-burger span {
    display: block;
    height: 2px;
    background: var(--hxl-text);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.hxl-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hxl-burger.is-open span:nth-child(2) { opacity: 0; }
.hxl-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
    .hxl-burger { display: flex; }
    .hxl-nav {
        position: absolute;
        top: var(--hxl-header-h);
        left: 0; right: 0;
        background: var(--hxl-white);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        border-bottom: 1px solid var(--hxl-border);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s, transform .2s;
    }
    .hxl-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .hxl-nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .hxl-nav-item { width: 100%; }
    .hxl-nav-item a {
        display: block;
        padding: 14px 20px;
        border-bottom: 1px solid var(--hxl-bg);
    }
    .hxl-nav-cta {
        display: block;
        margin: 16px 20px 0;
        text-align: center;
    }
}

/* ---------- 3. 通用按钮 ---------- */
.hxl-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--hxl-radius);
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid var(--hxl-primary);
    background: var(--hxl-primary);
    color: var(--hxl-white);
    cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.hxl-btn:hover { background: var(--hxl-primary-hover); color: var(--hxl-white); box-shadow: var(--hxl-shadow-hover); transform: translateY(-1px); }
.hxl-btn-outline {
    background: transparent;
    color: var(--hxl-primary);
}
.hxl-btn-outline:hover { background: var(--hxl-primary-light); color: var(--hxl-primary); }
.hxl-btn-lg { padding: 14px 36px; font-size: 16px; }
.hxl-btn-sm { padding: 6px 14px; font-size: 13px; }
.hxl-btn-ghost {
    background: transparent;
    color: var(--hxl-text);
    border: 1px solid var(--hxl-border);
}
.hxl-btn-ghost:hover { border-color: var(--hxl-primary); color: var(--hxl-primary); background: transparent; }

/* ---------- 4. 卡片 ---------- */
.hxl-card {
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    box-shadow: var(--hxl-shadow);
    padding: 32px 24px;
    transition: transform .2s, box-shadow .2s;
}
.hxl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hxl-shadow-hover);
}

/* ---------- 5. 通用文字 ---------- */
.hxl-h1 { font-size: 40px; line-height: 1.3; font-weight: 700; }
.hxl-h2 { font-size: 32px; line-height: 1.35; font-weight: 600; }
.hxl-h3 { font-size: 24px; line-height: 1.4; font-weight: 600; }
.hxl-h4 { font-size: 18px; line-height: 1.5; font-weight: 600; }
.hxl-muted { color: var(--hxl-text-mute); }
.hxl-sub  { color: var(--hxl-text-sub); }
@media (max-width: 768px) {
    .hxl-h1 { font-size: 28px; }
    .hxl-h2 { font-size: 24px; }
    .hxl-h3 { font-size: 20px; }
    .hxl-section { padding: 48px 0; }
}

/* ---------- 6. 首页轮播 ---------- */
.hxl-banner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #159A88, #1FC4B0);
}
.hxl-banner-track { position: relative; width: 100%; height: 100%; }
.hxl-banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hxl-banner-slide.is-active { opacity: 1; }
/* 2026-07-17 移除 banner 图片上的青绿遮罩层（::before gradient），原图直显 */
.hxl-banner-content {
    position: relative;
    max-width: var(--hxl-container);
    width: 100%;
    padding: 0 20px;
    text-align: center;
    color: var(--hxl-white);
    z-index: 2;
}
.hxl-banner-title { font-size: 44px; line-height: 1.3; font-weight: 700; margin-bottom: 16px; }
.hxl-banner-sub   { font-size: 18px; line-height: 1.7; opacity: .92; max-width: 720px; margin: 0 auto 28px; }
.hxl-banner-btn   { display: inline-block; padding: 14px 36px; background: var(--hxl-white); color: var(--hxl-primary); border-radius: var(--hxl-radius); font-size: 16px; font-weight: 500; transition: transform .15s; }
.hxl-banner-btn:hover { transform: translateY(-2px); color: var(--hxl-primary-dark); }

.hxl-banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hxl-banner-dot {
    width: 32px; height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: background .15s, width .15s;
}
.hxl-banner-dot.is-active { background: var(--hxl-white); width: 48px; }
.hxl-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    color: var(--hxl-white);
    border: 0;
    border-radius: 50%;
    font-size: 22px;
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.hxl-banner-arrow:hover { background: rgba(255,255,255,0.3); }
.hxl-banner-arrow.prev { left: 24px; }
.hxl-banner-arrow.next { right: 24px; }
@media (max-width: 768px) {
    .hxl-banner { height: 360px; }
    .hxl-banner-title { font-size: 26px; }
    .hxl-banner-sub   { font-size: 14px; }
    .hxl-banner-arrow { width: 36px; height: 36px; font-size: 16px; }
    .hxl-banner-arrow.prev { left: 8px; }
    .hxl-banner-arrow.next { right: 8px; }
}

/* ---------- 7. 首页通用板块 ---------- */
.hxl-home-section {
    padding: 80px 0;
}
.hxl-home-section.is-alt { background: var(--hxl-bg); }
.hxl-home-section-head {
    text-align: center;
    margin-bottom: 48px;
}
.hxl-home-section-head h2 { margin-bottom: 12px; }
.hxl-home-section-head .hxl-muted { font-size: 16px; }

/* 板块 1：核心价值 */
.hxl-value-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hxl-value-img {
    border-radius: var(--hxl-radius-lg);
    box-shadow: var(--hxl-shadow);
    overflow: hidden;
    background: var(--hxl-primary-light);
    aspect-ratio: 4/3;
}
.hxl-value-img img { width: 100%; height: 100%; object-fit: cover; }
.hxl-value-content h2 { margin-bottom: 20px; }
.hxl-value-content p { color: var(--hxl-text-sub); font-size: 16px; line-height: 1.85; margin-bottom: 16px; }
@media (max-width: 768px) {
    .hxl-value-row { grid-template-columns: 1fr; gap: 24px; }
}

/* 板块 2：核心功能 */
.hxl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hxl-feature-item {
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    padding: 32px 24px;
    text-align: left;
    border: 1px solid var(--hxl-border);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hxl-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--hxl-shadow-hover);
    border-color: var(--hxl-primary);
}
.hxl-feature-icon {
    width: 56px; height: 56px;
    background: var(--hxl-primary-light);
    color: var(--hxl-primary);
    border-radius: var(--hxl-radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.hxl-feature-item h3 { margin-bottom: 8px; font-size: 18px; }
.hxl-feature-item p  { color: var(--hxl-text-sub); font-size: 14px; line-height: 1.7; margin: 0; }
@media (max-width: 992px) { .hxl-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 568px) { .hxl-features-grid { grid-template-columns: 1fr; } }

/* 板块 3：套餐预览 */
.hxl-plans-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hxl-plan-mini {
    background: var(--hxl-white);
    border: 1px solid var(--hxl-border);
    border-radius: var(--hxl-radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.hxl-plan-mini:hover { transform: translateY(-4px); box-shadow: var(--hxl-shadow-hover); }
.hxl-plan-mini.is-recommended {
    border-color: var(--hxl-primary);
    box-shadow: 0 4px 16px rgba(31,196,176,0.12);
}
.hxl-plan-tag {
    position: absolute; top: -10px; right: 24px;
    background: var(--hxl-primary); color: var(--hxl-white);
    font-size: 12px; padding: 3px 10px; border-radius: 12px;
}
.hxl-plan-mini h3 { font-size: 22px; margin-bottom: 12px; }
.hxl-plan-price { color: var(--hxl-primary); font-size: 32px; font-weight: 700; margin: 16px 0; }
.hxl-plan-price small { font-size: 14px; color: var(--hxl-text-mute); font-weight: 400; }
.hxl-plan-features { text-align: left; margin: 16px 0 24px; color: var(--hxl-text-sub); }
.hxl-plan-features li { padding: 6px 0; padding-left: 22px; position: relative; }
.hxl-plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--hxl-primary); font-weight: 700; }
@media (max-width: 768px) { .hxl-plans-row { grid-template-columns: 1fr; } }

/* 板块 4：合作 LOGO */
.hxl-partners-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.hxl-partner {
    height: 80px;
    background: var(--hxl-white);
    border: 1px solid var(--hxl-border);
    border-radius: var(--hxl-radius);
    display: flex; align-items: center; justify-content: center;
    padding: 12px;
    transition: border-color .15s, transform .15s;
}
.hxl-partner:hover { border-color: var(--hxl-primary); transform: translateY(-2px); }
.hxl-partner img { max-height: 48px; max-width: 100%; filter: grayscale(.3); transition: filter .15s; }
.hxl-partner:hover img { filter: grayscale(0); }
@media (max-width: 992px) { .hxl-partners-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 568px) { .hxl-partners-row { grid-template-columns: repeat(2, 1fr); } }

/* 板块 5：客户评价 */
.hxl-testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hxl-testimonial {
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--hxl-shadow);
}
.hxl-testimonial-quote {
    color: var(--hxl-text-sub);
    font-size: 15px; line-height: 1.85;
    margin-bottom: 16px;
    position: relative;
    padding-left: 16px;
    border-left: 3px solid var(--hxl-primary);
}
.hxl-testimonial-author { display: flex; align-items: center; gap: 12px; }
.hxl-testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--hxl-primary-light); display: flex; align-items: center; justify-content: center; color: var(--hxl-primary); font-weight: 600; }
.hxl-testimonial-name { font-weight: 600; }
.hxl-testimonial-co { font-size: 12px; color: var(--hxl-text-mute); }
@media (max-width: 768px) { .hxl-testimonials-row { grid-template-columns: 1fr; } }

/* CTA 板块 */
.hxl-cta-section {
    background: linear-gradient(135deg, var(--hxl-primary-dark), var(--hxl-primary));
    color: var(--hxl-white);
    text-align: center;
    padding: 64px 20px;
}
.hxl-cta-section h2 { color: var(--hxl-white); }
.hxl-cta-section p  { color: rgba(255,255,255,0.85); margin: 12px 0 24px; font-size: 16px; }
.hxl-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--hxl-white);
    color: var(--hxl-primary);
    border-radius: var(--hxl-radius);
    font-size: 16px;
    font-weight: 500;
    transition: transform .15s;
}
.hxl-cta-btn:hover { transform: translateY(-2px); color: var(--hxl-primary-dark); }

/* ---------- 8. 关于我们 ---------- */
.hxl-page-hero {
    background: linear-gradient(135deg, var(--hxl-primary-dark), var(--hxl-primary));
    color: var(--hxl-white);
    padding: 80px 20px;
    text-align: center;
}
.hxl-page-hero h1 { color: var(--hxl-white); margin-bottom: 12px; }
.hxl-page-hero p  { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 720px; margin: 0 auto; }
@media (max-width: 768px) { .hxl-page-hero { padding: 48px 20px; } }

.hxl-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hxl-intro-text p { color: var(--hxl-text-sub); font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.hxl-intro-img { aspect-ratio: 4/3; background: var(--hxl-primary-light); border-radius: var(--hxl-radius-lg); }
.hxl-intro-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--hxl-radius-lg); }
@media (max-width: 768px) { .hxl-intro-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 发展历程 — 左对齐现代时间轴（2026-07-19）---------- */
.hxl-timeline {
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 920px;
}
/* 中轴线：渐变青绿 */
.hxl-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--hxl-primary) 0%, var(--hxl-primary-light) 100%);
    border-radius: 3px;
}
/* 单行节点：左 dot 列 + 右 content 卡 */
.hxl-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0 0 36px 0;
    transition: transform .25s;
}
.hxl-timeline-item:last-child { padding-bottom: 0; }
.hxl-timeline-item:hover { transform: translateX(4px); }

/* dot 列（固定 160px 宽）*/
.hxl-timeline-dot {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 4px;
}
/* 大圆点：白底 + 青绿描边 + 光晕 */
.hxl-timeline-dot::before {
    content: '';
    position: absolute;
    left: 71px;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hxl-white);
    border: 4px solid var(--hxl-primary);
    box-shadow: 0 0 0 4px var(--hxl-white), 0 0 0 5px var(--hxl-primary-light);
    z-index: 2;
    transition: background .2s, transform .2s;
}
.hxl-timeline-item:hover .hxl-timeline-dot::before {
    background: var(--hxl-primary);
    transform: scale(1.2);
}

/* 年份徽章：青绿胶囊 */
.hxl-timeline-year {
    display: inline-block;
    background: var(--hxl-primary);
    color: var(--hxl-white);
    font-weight: 700;
    font-size: 18px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 4px;
    box-shadow: 0 2px 6px rgba(31,196,176,0.25);
    transition: background .2s, transform .2s;
}
.hxl-timeline-item:hover .hxl-timeline-year {
    background: var(--hxl-primary-dark);
    transform: scale(1.05);
}

/* 内容卡片 */
.hxl-timeline-content {
    flex: 1;
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--hxl-shadow);
    border: 1px solid var(--hxl-border);
    transition: box-shadow .2s, border-color .2s;
    min-width: 0;
}
.hxl-timeline-item:hover .hxl-timeline-content {
    box-shadow: var(--hxl-shadow-hover);
    border-color: var(--hxl-primary);
}
.hxl-timeline-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--hxl-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hxl-timeline-icon { font-size: 22px; }
.hxl-timeline-desc {
    color: var(--hxl-text-sub);
    font-size: 14px;
    line-height: 1.7;
}

/* 空状态 */
.hxl-timeline-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--hxl-text-mute);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hxl-timeline::before { left: 30px; }
    .hxl-timeline-dot { flex: 0 0 60px; }
    .hxl-timeline-dot::before { left: 21px; width: 16px; height: 16px; }
    .hxl-timeline-item { gap: 16px; }
    .hxl-timeline-year { font-size: 14px; padding: 4px 10px; }
    .hxl-timeline-title { font-size: 16px; }
    .hxl-timeline-content { padding: 16px; }
    .hxl-timeline-item:hover { transform: none; }
}

.hxl-team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hxl-team-card { background: var(--hxl-white); border-radius: var(--hxl-radius-lg); box-shadow: var(--hxl-shadow); text-align: center; padding: 24px; }
.hxl-team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; background: var(--hxl-primary-light); display: flex; align-items: center; justify-content: center; color: var(--hxl-primary); font-size: 28px; font-weight: 600; }
.hxl-team-card h4 { margin-bottom: 4px; }
.hxl-team-card .hxl-team-title { color: var(--hxl-primary); font-size: 13px; margin-bottom: 12px; }
.hxl-team-card p { color: var(--hxl-text-sub); font-size: 13px; line-height: 1.7; }
@media (max-width: 992px) { .hxl-team-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 568px) { .hxl-team-row { grid-template-columns: 1fr; } }

.hxl-advantage-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hxl-advantage-item { text-align: center; padding: 24px; }
.hxl-advantage-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--hxl-primary-light); color: var(--hxl-primary); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; }
.hxl-advantage-item h4 { margin-bottom: 8px; }
.hxl-advantage-item p { color: var(--hxl-text-sub); font-size: 14px; }
@media (max-width: 768px) { .hxl-advantage-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hxl-advantage-row { grid-template-columns: 1fr; } }

.hxl-cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hxl-cert-item { aspect-ratio: 4/3; background: var(--hxl-bg); border-radius: var(--hxl-radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hxl-cert-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .hxl-cert-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 9. APP 下载 ---------- */
/* 2026-07-18 改造：4 张卡片(Android/macOS/Windows/iOS)自适应布局
 *   ≥ 1080px: 4 列
 *   768-1080px: 2 列
 *   < 768px: 1 列 */
.hxl-download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1080px) {
    .hxl-download-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
}
.hxl-download-card {
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    box-shadow: var(--hxl-shadow);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--hxl-border);
    transition: transform .2s, box-shadow .2s;
}
.hxl-download-card:hover { transform: translateY(-4px); box-shadow: var(--hxl-shadow-hover); }
.hxl-download-icon { font-size: 48px; margin-bottom: 16px; }
.hxl-download-card h3 { margin-bottom: 8px; }
.hxl-download-card p  { color: var(--hxl-text-sub); margin-bottom: 16px; min-height: 44px; }
.hxl-qr-img { width: 160px; height: 160px; margin: 0 auto 16px; background: var(--hxl-bg); border-radius: var(--hxl-radius); display: flex; align-items: center; justify-content: center; }
.hxl-qr-img img { width: 100%; height: 100%; object-fit: contain; }
.hxl-download-btn { display: inline-block; padding: 10px 24px; background: var(--hxl-primary); color: var(--hxl-white); border-radius: var(--hxl-radius); margin-top: 8px; }
.hxl-download-btn:hover { background: var(--hxl-primary-hover); color: var(--hxl-white); }
@media (max-width: 768px) { .hxl-download-grid { grid-template-columns: 1fr; } }

/* ========== 客户端管理 — 前台卡片 / 后台列表 ========== */
.hxl-client-version { font-size: 18px; font-weight: 600; color: var(--hxl-text); margin: 8px 0 4px; }
.hxl-client-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--hxl-text-sub); font-size: 13px; margin: 6px 0 12px; }
.hxl-client-meta span { white-space: nowrap; }
.hxl-client-changelog { font-size: 13px; color: var(--hxl-text-sub); background: var(--hxl-bg); padding: 10px 12px; border-radius: var(--hxl-radius-sm); margin: 8px 0 12px; line-height: 1.6; max-height: 100px; overflow-y: auto; }
.hxl-client-empty { color: var(--hxl-text-sub); font-size: 13px; padding: 16px 0; }

/* 前台下载卡 — 自定义图标（覆盖默认 emoji）
 * 尺寸选择：64×64 比 emoji 48px 略大（真实 logo 更具识别度），但不会压过下载按钮
 * 圆角 14px：与 12px 卡片内边距比例协调，比 16px 更克制 */
.hxl-download-icon .hxl-download-icon-img,
.hxl-download-icon img.hxl-download-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
}

/* 后台平台卡 — 自定义图标 */
.hxl-client-icon .hxl-client-icon-img,
.hxl-client-icon img.hxl-client-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}
.hxl-client-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
}

/* 后台 — 图标上传区 */
.hxl-client-icon-uploader {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--hxl-bg);
    border-radius: var(--hxl-radius-sm);
    margin: 8px 0 12px;
}
.hxl-icon-form { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.hxl-icon-file-label { cursor: pointer; display: inline-block; }
.hxl-icon-file-label input[type="file"] { display: none; }
.hxl-icon-file-label .hxl-btn:hover { background: var(--hxl-primary-light); color: var(--hxl-primary); }

/* 后台管理 — 3 张平台卡 */
.hxl-client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.hxl-client-card { background: var(--hxl-white); border: 1px solid var(--hxl-border); border-radius: var(--hxl-radius); padding: 20px; }
.hxl-client-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hxl-border); }
.hxl-client-card-head h2 { margin: 0; font-size: 18px; flex: 1; }
.hxl-client-icon { font-size: 28px; }
.hxl-client-info { margin-bottom: 16px; }
.hxl-client-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hxl-client-archived { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--hxl-border); font-size: 13px; }
.hxl-client-archived summary { cursor: pointer; color: var(--hxl-text-sub); padding: 4px 0; user-select: none; }
.hxl-client-archived summary:hover { color: var(--hxl-primary); }
.hxl-client-archived ul { list-style: none; padding: 8px 0 0; margin: 0; }
.hxl-client-archived li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--hxl-border); }
.hxl-client-archived li:last-child { border-bottom: none; }
.hxl-client-archived li .hxl-muted { flex: 1; }

.hxl-scenes-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hxl-scene-card { background: var(--hxl-white); padding: 24px; border-radius: var(--hxl-radius-lg); box-shadow: var(--hxl-shadow); }
.hxl-scene-card h4 { margin-bottom: 8px; color: var(--hxl-primary); }
.hxl-scene-card p  { color: var(--hxl-text-sub); font-size: 14px; }
@media (max-width: 768px) { .hxl-scenes-row { grid-template-columns: 1fr; } }

/* ---------- 10. 套餐价格表 ---------- */
.hxl-plans-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.hxl-plan-full {
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    box-shadow: var(--hxl-shadow);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hxl-border);
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.hxl-plan-full:hover { transform: translateY(-4px); box-shadow: var(--hxl-shadow-hover); }
.hxl-plan-full.is-recommended {
    border-color: var(--hxl-primary);
    box-shadow: 0 8px 24px rgba(31,196,176,0.18);
    transform: scale(1.02);
}
.hxl-plan-full h3 { font-size: 24px; margin-bottom: 4px; }
.hxl-plan-full-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--hxl-primary); color: var(--hxl-white);
    padding: 4px 16px; border-radius: 16px; font-size: 12px;
}
.hxl-plan-full-price { color: var(--hxl-primary); font-size: 40px; font-weight: 700; margin: 16px 0 8px; line-height: 1; }
.hxl-plan-full-price small { font-size: 14px; color: var(--hxl-text-mute); font-weight: 400; margin-left: 4px; }
.hxl-plan-full-meta { color: var(--hxl-text-mute); font-size: 13px; margin-bottom: 20px; }
.hxl-plan-full-features { margin: 16px 0 24px; flex: 1; }
.hxl-plan-full-features li { padding: 8px 0; color: var(--hxl-text-sub); font-size: 14px; padding-left: 22px; position: relative; }
.hxl-plan-full-features li::before { content: '✓'; position: absolute; left: 0; color: var(--hxl-primary); font-weight: 700; }
.hxl-plan-full-cta { text-align: center; margin-top: 16px; }
@media (max-width: 992px) { .hxl-plans-full { grid-template-columns: 1fr; } .hxl-plan-full.is-recommended { transform: none; } }

.hxl-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    overflow: hidden;
    box-shadow: var(--hxl-shadow);
}
.hxl-pricing-table th, .hxl-pricing-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--hxl-border);
    font-size: 14px;
}
.hxl-pricing-table th {
    background: var(--hxl-primary-light);
    color: var(--hxl-primary-dark);
    font-weight: 600;
}
.hxl-pricing-table tr:last-child td { border-bottom: 0; }

/* ---------- 11. 购买流程 ---------- */
.hxl-process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
}
.hxl-process-step {
    text-align: center;
    padding: 24px 12px;
    position: relative;
}
.hxl-process-step::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 36px;
    color: var(--hxl-primary);
    font-size: 24px;
    font-weight: 700;
}
.hxl-process-step:last-child::after { display: none; }
.hxl-process-num {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--hxl-primary);
    color: var(--hxl-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(31,196,176,0.3);
}
.hxl-process-step h4 { margin-bottom: 8px; font-size: 16px; }
.hxl-process-step p  { color: var(--hxl-text-sub); font-size: 13px; }
@media (max-width: 992px) {
    .hxl-process-steps { grid-template-columns: repeat(3, 1fr); }
    .hxl-process-step::after { display: none; }
}
@media (max-width: 568px) { .hxl-process-steps { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 12. FAQ ---------- */
.hxl-faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; justify-content: center; }
.hxl-faq-tab {
    padding: 8px 18px;
    background: var(--hxl-bg);
    color: var(--hxl-text-sub);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.hxl-faq-tab.is-active, .hxl-faq-tab:hover { background: var(--hxl-primary); color: var(--hxl-white); }
.hxl-faq-list { max-width: 860px; margin: 0 auto; }
.hxl-faq-group { margin-bottom: 32px; }
.hxl-faq-group-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--hxl-primary); }
.hxl-faq-item {
    background: var(--hxl-white);
    border: 1px solid var(--hxl-border);
    border-radius: var(--hxl-radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .15s;
}
.hxl-faq-item.is-open { border-color: var(--hxl-primary); }
.hxl-faq-q {
    padding: 16px 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 15px; font-weight: 500;
}
.hxl-faq-q::after {
    content: '+';
    color: var(--hxl-primary);
    font-size: 20px;
    transition: transform .2s;
}
.hxl-faq-item.is-open .hxl-faq-q::after { content: '−'; }
.hxl-faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    color: var(--hxl-text-sub);
    line-height: 1.85;
    transition: max-height .25s, padding .25s;
}
.hxl-faq-item.is-open .hxl-faq-a { padding: 0 20px 16px; max-height: 600px; }

/* ---------- 13. 底部 ---------- */
.hxl-footer {
    background: #1f2329;
    color: #c9cdd4;
    padding: 56px 0 0;
}
.hxl-footer-inner { max-width: var(--hxl-container); margin: 0 auto; padding: 0 20px; }
.hxl-footer-cols {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: start;
}
.hxl-footer-col h4 { color: var(--hxl-white); font-size: 15px; margin-bottom: 16px; }
.hxl-footer-col ul li { padding: 4px 0; }
.hxl-footer-col ul li a { color: #c9cdd4; font-size: 14px; transition: color .15s; }
.hxl-footer-col ul li a:hover { color: var(--hxl-white); }
.hxl-footer-logo { font-size: 22px; font-weight: 700; color: var(--hxl-white); margin-bottom: 12px; }
.hxl-footer-desc { color: #8c8c8c; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.hxl-footer-social { display: flex; flex-direction: column; gap: 8px; }
.hxl-footer-social-item { font-size: 13px; color: #8c8c8c; }
.hxl-footer-social-item strong { color: #c9cdd4; margin-right: 8px; }
.hxl-footer-social-item a { color: #c9cdd4; }
.hxl-footer-social-item a:hover { color: var(--hxl-white); }
.hxl-footer-qr-img {
    width: 110px; height: 110px;
    background: var(--hxl-white);
    border-radius: var(--hxl-radius);
    padding: 6px;
    margin-bottom: 8px;
}
.hxl-footer-qr-img img { width: 100%; height: 100%; object-fit: contain; }
.hxl-footer-qr p { color: #8c8c8c; font-size: 13px; }
.hxl-footer-address { padding: 20px 0; color: #8c8c8c; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hxl-footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    padding: 20px 0; gap: 12px;
}
.hxl-footer-copy { color: #8c8c8c; font-size: 13px; }
.hxl-footer-license { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.hxl-footer-license a { color: #8c8c8c; }
.hxl-footer-license a:hover { color: var(--hxl-white); }
.hxl-footer-police { display: inline-flex; align-items: center; gap: 4px; }
.hxl-footer-police img { width: 16px; height: 16px; }
@media (max-width: 768px) {
    .hxl-footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hxl-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) { .hxl-footer-cols { grid-template-columns: 1fr; } }

/* ---------- 14. 右侧悬浮按钮 ---------- */
.hxl-floating {
    position: fixed;
    right: 16px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}
.hxl-float-btn {
    width: 56px; height: 56px;
    background: var(--hxl-white);
    border: 1px solid var(--hxl-border);
    border-radius: 50%;
    box-shadow: var(--hxl-shadow);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--hxl-text-sub);
    transition: transform .15s, color .15s, box-shadow .15s, background .15s;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
.hxl-float-btn:hover { transform: translateY(-2px); box-shadow: var(--hxl-shadow-hover); color: var(--hxl-primary); }
.hxl-float-icon { font-size: 22px; }
.hxl-float-label { font-size: 10px; margin-top: 2px; }
.hxl-float-wx .hxl-float-popup {
    position: absolute;
    right: 64px; top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--hxl-white);
    border: 1px solid var(--hxl-border);
    border-radius: var(--hxl-radius);
    box-shadow: var(--hxl-shadow);
    padding: 12px;
    width: 140px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.hxl-float-wx:hover .hxl-float-popup { opacity: 1; transform: translateY(-50%) translateX(0); }
.hxl-float-popup img { width: 120px; height: 120px; margin: 0 auto 4px; }
.hxl-float-popup p { font-size: 12px; color: var(--hxl-text-sub); margin: 0; }
.hxl-back-top {
    position: fixed; right: 16px; bottom: 16px;
    width: 40px; height: 40px;
    background: var(--hxl-primary);
    color: var(--hxl-white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    box-shadow: var(--hxl-shadow-hover);
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .15s;
    z-index: 998;
    text-decoration: none;
}
.hxl-back-top.is-show { opacity: 1; pointer-events: auto; }
.hxl-back-top:hover { transform: translateY(-2px); color: var(--hxl-white); }
@media (max-width: 768px) {
    .hxl-floating { right: 8px; bottom: 64px; }
    .hxl-float-btn { width: 48px; height: 48px; }
    .hxl-float-icon { font-size: 18px; }
    .hxl-float-label { display: none; }
}

/* ---------- 15. 后台通用 ---------- */
.hxl-admin-wrap { min-height: 100vh; background: var(--hxl-bg); }
.hxl-admin-header {
    background: var(--hxl-white);
    border-bottom: 1px solid var(--hxl-border);
    padding: 0 24px;
    height: 60px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.hxl-admin-brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.hxl-admin-brand .hxl-logo-text { color: var(--hxl-primary); }
.hxl-admin-user { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--hxl-text-sub); }
.hxl-admin-user a { color: var(--hxl-text-sub); }
.hxl-admin-user a:hover { color: var(--hxl-primary); }

.hxl-admin-body { display: flex; min-height: calc(100vh - 60px); }
.hxl-admin-sidebar {
    width: 220px;
    background: var(--hxl-white);
    border-right: 1px solid var(--hxl-border);
    padding: 20px 0;
    flex-shrink: 0;
}
.hxl-admin-sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 24px;
    color: var(--hxl-text);
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
}
.hxl-admin-sidebar a:hover { background: var(--hxl-primary-light); color: var(--hxl-primary); }
.hxl-admin-sidebar a.is-active { background: var(--hxl-primary-light); color: var(--hxl-primary); border-left-color: var(--hxl-primary); font-weight: 500; }
.hxl-admin-main { flex: 1; padding: 24px; overflow-x: auto; }

.hxl-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hxl-page-head h1 { font-size: 22px; }
.hxl-page-head .hxl-muted { font-size: 14px; margin-top: 4px; }

.hxl-panel {
    background: var(--hxl-white);
    border-radius: var(--hxl-radius-lg);
    box-shadow: var(--hxl-shadow);
    padding: 20px 24px;
    margin-bottom: 16px;
}
.hxl-panel h2 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hxl-border); }
.hxl-form-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.hxl-form-item { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 200px; }
.hxl-form-item label { font-size: 13px; color: var(--hxl-text-sub); }
.hxl-form-item input[type=text],
.hxl-form-item input[type=password],
.hxl-form-item input[type=number],
.hxl-form-item input[type=url],
.hxl-form-item textarea,
.hxl-form-item select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--hxl-border);
    border-radius: var(--hxl-radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.hxl-form-item input:focus,
.hxl-form-item textarea:focus,
.hxl-form-item select:focus {
    border-color: var(--hxl-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(31,196,176,0.1);
}
.hxl-form-item textarea { min-height: 120px; resize: vertical; }
.hxl-form-actions { display: flex; gap: 12px; align-items: center; padding-top: 12px; border-top: 1px solid var(--hxl-border); }
.hxl-form-error { color: var(--hxl-danger); font-size: 13px; }
.hxl-form-success { color: var(--hxl-success); font-size: 13px; }

.hxl-table { width: 100%; border-collapse: collapse; background: var(--hxl-white); border-radius: var(--hxl-radius-lg); overflow: hidden; box-shadow: var(--hxl-shadow); }
.hxl-table th, .hxl-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--hxl-border); font-size: 14px; }
.hxl-table th { background: var(--hxl-bg-soft); font-weight: 600; color: var(--hxl-text-sub); }
.hxl-table tr:last-child td { border-bottom: 0; }
.hxl-table tr:hover td { background: var(--hxl-bg-soft); }
.hxl-table-actions { display: flex; gap: 8px; }

.hxl-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.hxl-tag-primary { background: var(--hxl-primary-light); color: var(--hxl-primary-dark); }
.hxl-tag-success { background: rgba(0,180,42,0.1); color: var(--hxl-success); }
.hxl-tag-warn { background: rgba(255,125,0,0.1); color: var(--hxl-warn); }
.hxl-tag-mute { background: var(--hxl-bg); color: var(--hxl-text-mute); }

.hxl-alert { padding: 12px 16px; border-radius: var(--hxl-radius); margin-bottom: 16px; font-size: 14px; }
.hxl-alert-info { background: var(--hxl-primary-light); color: var(--hxl-primary-dark); }
.hxl-alert-warn { background: rgba(255,125,0,0.1); color: var(--hxl-warn); }
.hxl-alert-success { background: rgba(0,180,42,0.1); color: var(--hxl-success); }
.hxl-alert-danger { background: rgba(245,63,63,0.1); color: var(--hxl-danger); }

.hxl-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: var(--hxl-radius); }

.hxl-pagination { display: flex; gap: 4px; justify-content: center; padding: 16px; }
.hxl-pagination a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 32px; height: 32px;
    padding: 0 8px;
    background: var(--hxl-white);
    border: 1px solid var(--hxl-border);
    border-radius: var(--hxl-radius);
    color: var(--hxl-text-sub);
    font-size: 13px;
}
.hxl-pagination a.active,
.hxl-pagination a:hover { background: var(--hxl-primary); color: var(--hxl-white); border-color: var(--hxl-primary); }

.hxl-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.hxl-media-item {
    background: var(--hxl-white);
    border: 1px solid var(--hxl-border);
    border-radius: var(--hxl-radius);
    overflow: hidden;
    position: relative;
    transition: transform .15s, box-shadow .15s;
}
.hxl-media-item:hover { transform: translateY(-2px); box-shadow: var(--hxl-shadow-hover); }
.hxl-media-img { width: 100%; aspect-ratio: 4/3; background: var(--hxl-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hxl-media-img img { width: 100%; height: 100%; object-fit: cover; }
.hxl-media-info { padding: 8px 12px; font-size: 12px; color: var(--hxl-text-mute); }
.hxl-media-actions { padding: 8px 12px; display: flex; gap: 6px; border-top: 1px solid var(--hxl-border); }
.hxl-media-actions a, .hxl-media-actions button { flex: 1; padding: 4px 0; text-align: center; font-size: 12px; border: 0; background: var(--hxl-bg); color: var(--hxl-text-sub); border-radius: 4px; cursor: pointer; }
.hxl-media-actions a:hover, .hxl-media-actions button:hover { background: var(--hxl-primary-light); color: var(--hxl-primary); }

.hxl-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #159A88, #1FC4B0); padding: 20px; }
.hxl-login-box { background: var(--hxl-white); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); padding: 40px; width: 100%; max-width: 400px; }
.hxl-login-box h1 { text-align: center; margin-bottom: 8px; color: var(--hxl-primary); }
.hxl-login-box p  { text-align: center; color: var(--hxl-text-mute); margin-bottom: 24px; }
.hxl-login-box .hxl-form-item { margin-bottom: 16px; }
.hxl-login-box .hxl-btn { width: 100%; padding: 12px; font-size: 15px; }

@media (max-width: 768px) {
    .hxl-admin-sidebar { display: none; }
    .hxl-admin-main { padding: 16px; }
}

/* 富文本编辑器 */
.hxl-editor { border: 1px solid var(--hxl-border); border-radius: var(--hxl-radius); background: var(--hxl-white); }
.hxl-editor-toolbar {
    display: flex; flex-wrap: wrap; gap: 4px;
    padding: 8px;
    border-bottom: 1px solid var(--hxl-border);
    background: var(--hxl-bg-soft);
    border-radius: var(--hxl-radius) var(--hxl-radius) 0 0;
}
.hxl-editor-toolbar button {
    background: transparent; border: 1px solid transparent;
    padding: 4px 10px; border-radius: 4px;
    font-size: 13px; color: var(--hxl-text);
    cursor: pointer;
}
.hxl-editor-toolbar button:hover { background: var(--hxl-primary-light); color: var(--hxl-primary); border-color: var(--hxl-primary); }
.hxl-editor-content {
    min-height: 240px;
    padding: 16px;
    outline: none;
    font-size: 14px;
    line-height: 1.7;
}
.hxl-editor-content img { max-width: 100%; }
.hxl-editor-content[contenteditable=true]:empty::before { content: attr(data-placeholder); color: var(--hxl-text-mute); }

/* ===== 2026-07-17 惠心聊后台 — 简单 HTML 富文本编辑器（page_edit.php 使用） ===== */
.hxl-rich-mode-switch { float: right; font-size: 12px; display: inline-flex; gap: 4px; }
.hxl-rich-mode-btn {
    background: #f0f2f5; border: 1px solid #d9d9d9; border-radius: 4px;
    padding: 3px 10px; cursor: pointer; color: #595959; font-size: 12px; line-height: 18px;
}
.hxl-rich-mode-btn.is-active { background: var(--hxl-primary); color: #fff; border-color: var(--hxl-primary); }
.hxl-rich-mode-btn:hover { border-color: var(--hxl-primary); color: var(--hxl-primary); }
.hxl-rich-mode-btn.is-active:hover { color: #fff; }

.hxl-rich-editor {
    border: 1px solid #d9d9d9; border-radius: 6px; background: #fff;
    transition: border-color .15s;
}
.hxl-rich-editor:focus-within { border-color: var(--hxl-primary); box-shadow: 0 0 0 2px rgba(31,196,176,0.12); }
.hxl-rich-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
    padding: 6px 8px; border-bottom: 1px solid #e8e8e8; background: #fafbfc; border-radius: 6px 6px 0 0;
}
.hxl-rich-tool {
    min-width: 28px; height: 28px; padding: 0 6px; border: 1px solid transparent;
    background: transparent; cursor: pointer; border-radius: 4px; font-size: 13px;
    color: #333; transition: all .12s; display: inline-flex; align-items: center; justify-content: center;
}
.hxl-rich-tool:hover { background: #fff; border-color: #d9d9d9; }
.hxl-rich-tool:active, .hxl-rich-tool.is-active { background: var(--hxl-primary); color: #fff; border-color: var(--hxl-primary); }
.hxl-rich-select {
    height: 28px; padding: 0 6px; border: 1px solid #d9d9d9; border-radius: 4px;
    background: #fff; font-size: 12px; cursor: pointer; color: #333;
}
.hxl-rich-sep { color: #d9d9d9; user-select: none; padding: 0 2px; }

.hxl-rich-body {
    min-height: 200px; max-height: 600px; overflow-y: auto; padding: 12px 14px;
    font-size: 14px; line-height: 1.7; color: #333; outline: none;
    background: #fff; border-radius: 0 0 6px 6px;
}
.hxl-rich-body:empty::before {
    content: attr(data-placeholder); color: #bfbfbf; pointer-events: none;
}
.hxl-rich-body h2, .hxl-rich-body h3, .hxl-rich-body h4 { margin: 14px 0 8px; font-weight: 600; color: #1a1a1a; }
.hxl-rich-body h2 { font-size: 20px; }
.hxl-rich-body h3 { font-size: 17px; }
.hxl-rich-body h4 { font-size: 15px; }
.hxl-rich-body p  { margin: 6px 0; }
.hxl-rich-body ul, .hxl-rich-body ol { margin: 6px 0; padding-left: 24px; }
.hxl-rich-body blockquote { margin: 8px 0; padding: 6px 12px; border-left: 3px solid var(--hxl-primary); background: #f8f9fa; color: #595959; }
.hxl-rich-body pre  { background: #f5f5f5; padding: 8px 10px; border-radius: 4px; font-family: Consolas,Monaco,monospace; font-size: 13px; overflow-x: auto; }
.hxl-rich-body a    { color: var(--hxl-primary); text-decoration: underline; }
.hxl-rich-body img  { max-width: 100%; border-radius: 4px; }
.hxl-rich-body table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.hxl-rich-body table td, .hxl-rich-body table th { border: 1px solid #e8e8e8; padding: 6px 10px; }

/* ===== 2026-07-17 站点配置 — LOGO 预览容器（避免 SVG/任意比例被拉伸） ===== */
.hxl-logo-preview {
    display: inline-flex; align-items: center; justify-content: center;
    width: 200px; height: 48px;
    background: #f5f7fa; padding: 4px; border-radius: 4px;
    border: 1px solid #ebeef5;
}
.hxl-logo-preview img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
}

/* ===== 2026-07-17 页面内容编辑 v2 — 整体布局 ===== */
.hxl-edit-topbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; padding: 12px 16px; background: #fff;
    border: 1px solid #ebeef5; border-radius: 8px;
}
.hxl-edit-crumbs { font-size: 14px; color: #595959; display: flex; align-items: center; flex-wrap: wrap; }
.hxl-edit-crumbs a { color: #1FC4B0; text-decoration: none; }
.hxl-edit-crumbs a:hover { text-decoration: underline; }
.hxl-crumb-sep { margin: 0 8px; color: #d9d9d9; }
.hxl-crumb-current { color: #262626; font-weight: 500; }
.hxl-edit-topbar-actions { display: flex; gap: 8px; }

.hxl-status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 10px; border-radius: 12px; font-size: 12px; line-height: 18px;
    border: 1px solid transparent;
}
.hxl-status-badge .hxl-dot { width: 6px; height: 6px; border-radius: 50%; }
.hxl-status-badge.is-published { background: #f6ffed; color: #389e0d; border-color: #b7eb8f; }
.hxl-status-badge.is-published .hxl-dot { background: #52c41a; }
.hxl-status-badge.is-draft     { background: #fff7e6; color: #d46b08; border-color: #ffd591; }
.hxl-status-badge.is-draft     .hxl-dot { background: #fa8c16; }
.hxl-status-badge.is-empty     { background: #f5f5f5; color: #8c8c8c; border-color: #d9d9d9; }
.hxl-status-badge.is-empty     .hxl-dot { background: #bfbfbf; }

.hxl-edit-actionbar {
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 50; margin-bottom: 20px;
    padding: 10px 16px; background: #fff; border: 1px solid #e6f7f4;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(31,196,176,0.08);
}
.hxl-edit-actionbar-left, .hxl-edit-actionbar-right { display: flex; align-items: center; gap: 8px; }

/* ===== 左右分栏 ===== */
.hxl-edit-grid {
    display: grid; grid-template-columns: 1fr 320px; gap: 20px;
    align-items: start;
}
@media (max-width: 1100px) { .hxl-edit-grid { grid-template-columns: 1fr; } }
.hxl-edit-side .hxl-panel + .hxl-panel { margin-top: 16px; }

/* ===== 面板头 ===== */
.hxl-panel-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin: -4px 0 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0;
}
.hxl-panel-head h2 { font-size: 15px; color: #262626; margin: 0; display: flex; align-items: center; gap: 8px; }
.hxl-panel-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--hxl-primary); color: #fff; font-size: 12px; font-weight: 600;
}
.hxl-panel-tip { background: #f6ffed; border-color: #b7eb8f; }
.hxl-panel-tip h2 { color: #389e0d; }

/* ===== 字段提示（字数） ===== */
.hxl-field-hint {
    text-align: right; font-size: 11px; color: #bfbfbf; margin-top: 4px;
}
.hxl-field-hint span { color: #1FC4B0; font-weight: 500; }

/* ===== 元信息 dl ===== */
.hxl-meta { display: grid; grid-template-columns: 80px 1fr; gap: 10px 12px; margin: 0; }
.hxl-meta dt { color: #8c8c8c; font-size: 13px; line-height: 24px; }
.hxl-meta dd { margin: 0; font-size: 13px; color: #262626; line-height: 24px; word-break: break-all; }
.hxl-meta code { background: #f5f5f5; padding: 1px 6px; border-radius: 3px; font-size: 11px; color: #595959; }

/* ===== 同页板块切换 ===== */
.hxl-sec-list { list-style: none; margin: 0; padding: 0; }
.hxl-sec-list li { margin-bottom: 4px; }
.hxl-sec-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; border-radius: 6px; text-decoration: none;
    color: #262626; font-size: 13px; transition: all .12s;
    border: 1px solid transparent;
}
.hxl-sec-list a:hover { background: #f6ffed; border-color: #b7eb8f; }
.hxl-sec-list li.is-current a { background: #e6f7f4; border-color: var(--hxl-primary); color: var(--hxl-primary); font-weight: 500; }
.hxl-sec-key { font-size: 11px; color: #8c8c8c; }
.hxl-sec-list li.is-current .hxl-sec-key { color: var(--hxl-primary); }

/* ===== 流程提示 ===== */
.hxl-flow { margin: 0; padding-left: 20px; font-size: 13px; color: #595959; line-height: 1.8; }
.hxl-flow li { margin-bottom: 4px; }
.hxl-flow strong { color: var(--hxl-primary); }

/* ===== 编辑器底部状态栏 ===== */
.hxl-rich-statusbar {
    display: flex; align-items: center;
    padding: 6px 12px; background: #fafbfc; border-top: 1px solid #e8e8e8;
    font-size: 11px; color: #595959; border-radius: 0 0 6px 6px;
}
#hxl-json-status { font-weight: 500; }

/* ===== 编辑器全屏 ===== */
.hxl-rich-editor.is-fullscreen {
    position: fixed; inset: 0; z-index: 9999;
    width: 100vw !important; height: 100vh !important;
    border-radius: 0; border: none;
    background: #fff; display: flex; flex-direction: column;
}
.hxl-rich-editor.is-fullscreen .hxl-rich-body { flex: 1; max-height: none; min-height: 0; font-size: 16px; }
.hxl-rich-editor.is-fullscreen .hxl-rich-toolbar { padding: 10px 16px; }
.hxl-rich-editor.is-fullscreen .hxl-rich-statusbar { padding: 8px 16px; }
body.hxl-no-scroll { overflow: hidden; }

/* ===== HTML 源码编辑器 ===== */
.hxl-source-editor { border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; }
.hxl-source-editor:focus-within { border-color: var(--hxl-primary); box-shadow: 0 0 0 2px rgba(31,196,176,0.12); }
.hxl-source-toolbar {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 8px; background: #fafbfc; border-bottom: 1px solid #e8e8e8;
    border-radius: 6px 6px 0 0;
}
.hxl-btn-xs { padding: 2px 8px; font-size: 12px; line-height: 20px; border-radius: 4px; }
#hxl-source-textarea {
    width: 100%; border: none; outline: none; padding: 12px 14px;
    font-family: Consolas,Monaco,monospace; font-size: 13px; line-height: 1.7;
    color: #262626; background: #fff; border-radius: 0 0 6px 6px;
    resize: vertical;
}

/* ===== 配图拖拽区 ===== */
.hxl-image-drop {
    position: relative; min-height: 100px; padding: 16px;
    border: 2px dashed #d9d9d9; border-radius: 6px;
    background: #fafbfc; text-align: center; cursor: pointer;
    transition: all .15s;
}
.hxl-image-drop:hover, .hxl-image-drop.is-dragover {
    border-color: var(--hxl-primary); background: #e6f7f4;
}
.hxl-image-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hxl-image-drop-inner { color: #595959; pointer-events: none; }

.hxl-image-preview {
    position: relative; display: inline-block; max-width: 100%;
    border: 1px solid #ebeef5; border-radius: 6px; padding: 4px; background: #fff;
}
.hxl-image-preview img {
    display: block; max-width: 240px; max-height: 160px;
    object-fit: contain; border-radius: 4px;
}
.hxl-image-preview.is-broken { background: #fff1f0; border-color: #ffa39e; }
.hxl-image-clear {
    position: absolute; top: -8px; right: -8px; width: 22px; height: 22px;
    border-radius: 50%; background: #ff4d4f; color: #fff; border: 2px solid #fff;
    cursor: pointer; line-height: 1; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hxl-image-clear:hover { background: #cf1322; }
.hxl-image-meta { font-size: 11px; color: #8c8c8c; margin-top: 6px; }

/* ===== 内容使用提示 ===== */
.hxl-content-tip {
    margin-top: 12px; padding: 10px 14px;
    background: #f0f9ff; border: 1px solid #bae7ff; border-radius: 6px;
    color: #0050b3; font-size: 12px; line-height: 1.8;
}
.hxl-content-tip strong { color: #003eb3; }
.hxl-content-tip code {
    background: rgba(0,80,179,0.08); padding: 1px 6px; border-radius: 3px;
    color: #002c8c; font-size: 11px;
}

/* ===== 2026-07-17 页面内容管理 v3 — 极简版 ===== */

/* 6 张大卡片 */
.hxl-page-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px; margin-top: 20px;
}
.hxl-page-card {
    background: #fff; border: 1px solid #ebeef5; border-radius: 8px;
    padding: 20px; transition: all .15s;
    display: flex; flex-direction: column; min-height: 200px;
}
.hxl-page-card:hover { border-color: var(--hxl-primary); box-shadow: 0 4px 16px rgba(31,196,176,0.08); }
.hxl-page-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.hxl-page-card-head h2 { font-size: 18px; color: #262626; margin: 0; }
.hxl-page-card-view { font-size: 12px; color: #8c8c8c; text-decoration: none; }
.hxl-page-card-view:hover { color: var(--hxl-primary); }
.hxl-page-card-stats { font-size: 12px; color: #8c8c8c; margin-bottom: 12px; }
.hxl-page-card-stats strong { color: var(--hxl-primary); font-size: 16px; margin-right: 2px; }
.hxl-page-card-stats span + span { margin-left: 6px; }
.hxl-page-card-sections { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.hxl-pill {
    display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; line-height: 18px;
    border: 1px solid transparent; white-space: nowrap;
}
.hxl-pill.is-filled { background: #e6f7f4; color: #1FC4B0; border-color: #b7ebe0; }
.hxl-pill.is-empty { background: #f5f5f5; color: #bfbfbf; border-color: #e8e8e8; border-style: dashed; }
.hxl-page-card-btn {
    display: block; padding: 10px 16px; background: var(--hxl-primary); color: #fff;
    text-align: center; border-radius: 6px; text-decoration: none; font-size: 14px;
    transition: background .15s;
}
.hxl-page-card-btn:hover { background: #159A88; color: #fff; }

/* 编辑页头部 */
.hxl-edit-bar {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #ebeef5;
}
.hxl-edit-bar a { color: #1FC4B0; text-decoration: none; font-size: 13px; }
.hxl-edit-bar a:hover { text-decoration: underline; }
.hxl-edit-bar h1 { font-size: 22px; color: #262626; }

/* 板块分区卡片 */
.hxl-section-card {
    background: #fff; border: 1px solid #ebeef5; border-radius: 8px;
    margin-bottom: 16px; overflow: hidden;
}
.hxl-section-head {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; background: #fafbfc; border-bottom: 1px solid #ebeef5;
}
.hxl-section-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--hxl-primary); color: #fff; font-size: 12px; font-weight: 600;
}
.hxl-section-name { font-size: 15px; color: #262626; font-weight: 500; }
.hxl-section-key { font-size: 11px; color: #8c8c8c; background: #fff; padding: 1px 6px; border-radius: 3px; border: 1px solid #ebeef5; }
.hxl-section-body { padding: 20px; }

/* 表单行 */
.hxl-row { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.hxl-row .hxl-field { flex: 1; min-width: 200px; margin-bottom: 0; }
.hxl-field { margin-bottom: 16px; }
.hxl-field label { display: block; font-size: 13px; color: #595959; margin-bottom: 6px; font-weight: 500; }
.hxl-field input[type="text"], .hxl-field input[type="file"], .hxl-field textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px;
    font-size: 14px; color: #262626; background: #fff; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.hxl-field input[type="text"]:focus, .hxl-field textarea:focus {
    outline: none; border-color: var(--hxl-primary); box-shadow: 0 0 0 3px rgba(31,196,176,0.1);
}
.hxl-field textarea { font-family: Consolas,Monaco,monospace; line-height: 1.6; resize: vertical; min-height: 80px; }
.hxl-muted { color: #8c8c8c; font-weight: normal; font-size: 12px; }

/* 列表项编辑器 */
.hxl-items { background: #fafbfc; border: 1px solid #ebeef5; border-radius: 6px; padding: 8px; margin-bottom: 8px; }
.hxl-item {
    display: flex; gap: 8px; align-items: stretch;
    background: #fff; border: 1px solid #ebeef5; border-radius: 6px;
    padding: 10px; margin-bottom: 8px;
}
.hxl-item:last-child { margin-bottom: 0; }
.hxl-item-grid { flex: 1; display: grid; grid-template-columns: 120px 1fr 2fr; gap: 8px; align-items: start; }
.hxl-item-icon { font-size: 12px; padding: 6px 10px; }
.hxl-item-title { font-size: 13px; font-weight: 500; padding: 6px 10px; }
.hxl-item-desc  { font-size: 12px; padding: 6px 10px; min-height: 36px; resize: vertical; }
.hxl-item-remove {
    flex: 0 0 30px; align-self: flex-start; margin-top: 2px;
    background: #fff; border: 1px solid #ffa39e; color: #ff4d4f;
    border-radius: 4px; cursor: pointer; height: 30px; font-size: 14px;
    transition: all .12s;
}
.hxl-item-remove:hover { background: #ff4d4f; color: #fff; }
.hxl-item-add {
    display: inline-block; padding: 6px 14px; background: #fff; color: var(--hxl-primary);
    border: 1px dashed var(--hxl-primary); border-radius: 4px; cursor: pointer; font-size: 13px;
}
.hxl-item-add:hover { background: #e6f7f4; }
@media (max-width: 768px) {
    .hxl-item-grid { grid-template-columns: 1fr; }
}

/* 底部保存栏 */
.hxl-savebar {
    display: flex; justify-content: flex-end; align-items: center; gap: 12px;
    padding: 16px 20px; background: #fff; border: 1px solid #e6f7f4;
    border-radius: 8px; margin-top: 20px;
    position: sticky; bottom: 0; z-index: 10;
    box-shadow: 0 -2px 8px rgba(31,196,176,0.06);
}
.hxl-btn-lg { padding: 10px 28px; font-size: 15px; }
