/* ============================================================
   xmjw.ltd 全站主题：明亮蓝青科技风（Bright Blue Tech）
   与 coilingbinding.com 的「深色海军蓝 + 金」形成差异化：
   浅色底 + 靛蓝渐变 + 青色点缀 + 大圆角 + 柔和阴影
   前缀 xm-
   ============================================================ */
:root {
    --xm-blue-900: #172554;
    --xm-blue-800: #1E3A8A;
    --xm-blue: #1D4ED8;
    --xm-blue-600: #2563EB;
    --xm-blue-500: #3B82F6;
    --xm-blue-100: #DBEAFE;
    --xm-blue-50: #EFF6FF;
    --xm-cyan: #06B6D4;
    --xm-cyan-soft: #CFFAFE;
    --xm-green: #10B981;
    --xm-amber: #F59E0B;
    --xm-ink: #0F172A;
    --xm-ink-2: #1E293B;
    --xm-muted: #64748B;
    --xm-muted-2: #94A3B8;
    --xm-line: #E2E8F0;
    --xm-line-2: #F1F5F9;
    --xm-bg: #FFFFFF;
    --xm-soft: #F8FAFC;
    --xm-blue-tint: #F0F7FF;
    --xm-radius: 18px;
    --xm-radius-sm: 12px;
    --xm-shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
    --xm-shadow: 0 8px 30px rgba(15, 23, 42, .08);
    --xm-shadow-lg: 0 20px 50px rgba(29, 78, 216, .14);
}

.xm-wrap { color: var(--xm-ink); font-family: var(--jw-font, "Inter", "Segoe UI", system-ui, sans-serif); }
.xm-wrap * { box-sizing: border-box; }
.xm-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------- 通用区块 ---------- */
.xm-sec { padding: 70px 0; }
.xm-sec--soft { background: var(--xm-soft); }
.xm-sec--tint { background: linear-gradient(180deg, #F7FBFF 0%, #EFF6FF 100%); }
.xm-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--xm-blue-50); color: var(--xm-blue);
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 14px;
}
.xm-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--xm-cyan); }
.xm-h2 {
    font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; line-height: 1.2;
    letter-spacing: -.025em; color: var(--xm-ink); margin: 0 0 14px;
}
.xm-h2 em { font-style: normal; background: linear-gradient(120deg, var(--xm-blue) 0%, var(--xm-cyan) 100%);
            -webkit-background-clip: text; background-clip: text; color: transparent; }
.xm-sub { font-size: 16px; line-height: 1.75; color: var(--xm-muted); margin: 0; max-width: 780px; }
.xm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 38px; }

/* ---------- 按钮 ---------- */
.xm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 52px; padding: 0 30px; border-radius: 999px;
    font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: all .18s ease;
}
.xm-btn--primary { background: linear-gradient(120deg, var(--xm-blue) 0%, var(--xm-blue-600) 100%); color: #fff;
                   box-shadow: 0 8px 22px rgba(29, 78, 216, .26); }
.xm-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(29, 78, 216, .34); }
.xm-btn--ghost { background: #fff; color: var(--xm-ink); border-color: var(--xm-line); }
.xm-btn--ghost:hover { border-color: var(--xm-blue); color: var(--xm-blue); }
.xm-btn--cyan { background: linear-gradient(120deg, var(--xm-cyan) 0%, #0891B2 100%); color: #fff;
                box-shadow: 0 8px 22px rgba(6, 182, 212, .26); }
.xm-btn--cyan:hover { transform: translateY(-2px); }
.xm-btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ============================================================
   HERO：浅色底 + 蓝青光晕 + 大图卡片
   ============================================================ */
.xm-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(760px 400px at 84% -6%, rgba(6,182,212,.16), transparent 66%),
        radial-gradient(680px 380px at 6% 8%, rgba(29,78,216,.12), transparent 64%),
        linear-gradient(180deg, #FFFFFF 0%, #F7FBFF 100%);
    border-bottom: 1px solid var(--xm-line);
}
.xm-hero-in { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 72px 20px 60px; }
.xm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; }
.xm-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 16px; border-radius: 999px;
    background: #fff; border: 1px solid var(--xm-blue-100);
    color: var(--xm-blue); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    box-shadow: var(--xm-shadow-sm); margin-bottom: 22px;
}
.xm-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--xm-green); display: block;
              box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.xm-h1 {
    font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; line-height: 1.05;
    letter-spacing: -.035em; color: var(--xm-ink); margin: 0 0 20px;
}
.xm-h1 em { font-style: normal; display: block;
            background: linear-gradient(120deg, var(--xm-blue) 0%, var(--xm-cyan) 92%);
            -webkit-background-clip: text; background-clip: text; color: transparent; }
.xm-hero-sub { font-size: 16.5px; line-height: 1.78; color: var(--xm-muted); margin: 0 0 30px; max-width: 620px; }
.xm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
/* 信任小标 */
.xm-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.xm-hero-tags li {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: 10px; background: #fff;
    border: 1px solid var(--xm-line); font-size: 13px; font-weight: 600; color: var(--xm-ink-2);
    box-shadow: var(--xm-shadow-sm);
}
.xm-hero-tags li svg { width: 15px; height: 15px; flex: none; }

/* Hero 右侧视觉 */
.xm-hero-visual { position: relative; }
.xm-hero-shot {
    background: #fff; border-radius: 24px; padding: 14px;
    border: 1px solid var(--xm-line);
    box-shadow: 0 30px 70px rgba(15, 23, 42, .14);
}
.xm-hero-shot img { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 16px; }
.xm-hero-float {
    position: absolute; right: -10px; bottom: -18px;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 16px; padding: 14px 18px;
    border: 1px solid var(--xm-line); box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}
.xm-hero-float .n { font-size: 26px; font-weight: 800; line-height: 1;
                    background: linear-gradient(120deg, var(--xm-blue), var(--xm-cyan));
                    -webkit-background-clip: text; background-clip: text; color: transparent; }
.xm-hero-float .t { font-size: 12px; color: var(--xm-muted); margin-top: 4px; }

/* ============================================================
   分类胶囊条
   ============================================================ */
.xm-cats { background: #fff; padding: 26px 0; border-bottom: 1px solid var(--xm-line); }
.xm-cats-in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.xm-cats-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--xm-muted-2); flex: none; }
.xm-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; text-decoration: none;
    background: var(--xm-soft); border: 1px solid var(--xm-line);
    color: var(--xm-ink-2); font-size: 14px; font-weight: 600;
    transition: all .16s ease;
}
.xm-chip:hover { background: var(--xm-blue); border-color: var(--xm-blue); color: #fff; transform: translateY(-2px); }
.xm-chip span { font-size: 12px; color: var(--xm-muted-2); font-weight: 600; }
.xm-chip:hover span { color: rgba(255,255,255,.8); }

/* ============================================================
   数据条（浅色，与 coilingbinding 的深色数据带形成对比）
   ============================================================ */
.xm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.xm-stat {
    background: #fff; border: 1px solid var(--xm-line); border-radius: var(--xm-radius);
    padding: 26px 24px; position: relative; overflow: hidden;
    transition: all .18s ease;
}
.xm-stat::after {
    content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
    background: linear-gradient(180deg, var(--xm-blue), var(--xm-cyan));
}
.xm-stat:hover { transform: translateY(-3px); box-shadow: var(--xm-shadow); border-color: var(--xm-blue-100); }
.xm-stat .n { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
              background: linear-gradient(120deg, var(--xm-blue) 0%, var(--xm-cyan) 100%);
              -webkit-background-clip: text; background-clip: text; color: transparent; }
.xm-stat .t { font-size: 13px; font-weight: 600; color: var(--xm-muted); margin-top: 8px; }

/* ============================================================
   产品卡片（3 列大卡，与 coilingbinding 的 4 列紧凑卡区分）
   ============================================================ */
.xm-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.xm-card {
    display: flex; flex-direction: column; text-decoration: none;
    background: #fff; border: 1px solid var(--xm-line); border-radius: 20px; overflow: hidden;
    transition: all .2s ease;
}
.xm-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(15, 23, 42, .13); border-color: var(--xm-blue-100); }
.xm-card-media { position: relative; background: linear-gradient(180deg, #F8FAFC, #F1F5F9); }
.xm-card-media img { display: block; width: 100%; height: 250px; object-fit: contain; padding: 18px; }
.xm-card-tag {
    position: absolute; left: 14px; top: 14px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.95); border: 1px solid var(--xm-line);
    color: var(--xm-blue); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    box-shadow: var(--xm-shadow-sm);
}
.xm-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.xm-card-body h3 {
    font-size: 16.5px; font-weight: 700; line-height: 1.45; margin: 0 0 10px; color: var(--xm-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px;
}
.xm-card-body p { font-size: 13.5px; line-height: 1.65; color: var(--xm-muted); margin: 0 0 16px; flex: 1; }
.xm-card-link { font-size: 14px; font-weight: 700; color: var(--xm-blue); display: inline-flex; align-items: center; gap: 6px; }
.xm-card:hover .xm-card-link { gap: 10px; color: var(--xm-cyan); }

/* ============================================================
   能力/优势（左图右文）
   ============================================================ */
.xm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.xm-split-media { position: relative; }
.xm-split-media img { display: block; width: 100%; border-radius: 22px; box-shadow: 0 26px 60px rgba(15, 23, 42, .16); }
.xm-split-badge {
    position: absolute; left: -18px; bottom: 26px;
    background: #fff; border: 1px solid var(--xm-line); border-radius: 16px;
    padding: 16px 20px; box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}
.xm-split-badge .n { font-size: 24px; font-weight: 800; color: var(--xm-blue); line-height: 1; }
.xm-split-badge .t { font-size: 12px; color: var(--xm-muted); margin-top: 5px; }
.xm-list { list-style: none; margin: 26px 0 30px; padding: 0; }
.xm-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.xm-list .ico {
    flex: none; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
    background: linear-gradient(135deg, var(--xm-blue) 0%, var(--xm-cyan) 100%);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 800;
}
.xm-list b { display: block; font-size: 15px; font-weight: 700; color: var(--xm-ink); margin-bottom: 3px; }
.xm-list span { font-size: 13.5px; line-height: 1.6; color: var(--xm-muted); }

/* ============================================================
   流程时间轴（横向，蓝色序号）
   ============================================================ */
.xm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.xm-steps::before {
    content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px;
    background: linear-gradient(90deg, var(--xm-blue-100), var(--xm-cyan-soft));
}
.xm-step { position: relative; text-align: center; padding-top: 0; }
.xm-step .num {
    width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--xm-blue-100);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 800; color: var(--xm-blue); position: relative; z-index: 1;
    box-shadow: 0 6px 18px rgba(29, 78, 216, .1);
}
.xm-step:hover .num { background: linear-gradient(135deg, var(--xm-blue), var(--xm-cyan)); color: #fff; border-color: transparent; }
.xm-step h3 { font-size: 16px; font-weight: 700; margin: 0 0 9px; color: var(--xm-ink); }
.xm-step p { font-size: 13.5px; line-height: 1.65; color: var(--xm-muted); margin: 0; }

/* ============================================================
   收尾 CTA（蓝青渐变）
   ============================================================ */
.xm-cta {
    position: relative; overflow: hidden; border-radius: 26px; text-align: center; padding: 60px 30px;
    background: linear-gradient(120deg, var(--xm-blue-800) 0%, var(--xm-blue) 52%, var(--xm-cyan) 100%);
    box-shadow: 0 26px 60px rgba(29, 78, 216, .26);
}
.xm-cta::after {
    content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1px);
    background-size: 22px 22px;
}
.xm-cta h2 { position: relative; z-index: 1; font-size: clamp(23px, 2.8vw, 34px); font-weight: 800; color: #fff; margin: 0 0 14px; letter-spacing: -.02em; }
.xm-cta p { position: relative; z-index: 1; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.88); margin: 0 auto 28px; max-width: 680px; }
.xm-cta .xm-btn { position: relative; z-index: 1; background: #fff; color: var(--xm-blue); box-shadow: 0 10px 26px rgba(2, 6, 23, .2); }
.xm-cta .xm-btn:hover { transform: translateY(-2px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .xm-grid3 { grid-template-columns: repeat(2, 1fr); }
    .xm-stats { grid-template-columns: repeat(2, 1fr); }
    .xm-steps { grid-template-columns: repeat(2, 1fr); }
    .xm-steps::before { display: none; }
}
@media (max-width: 900px) {
    .xm-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .xm-hero-shot img { height: 260px; }
    .xm-hero-float { right: 10px; bottom: -14px; }
    .xm-split { grid-template-columns: 1fr; gap: 32px; }
    .xm-split-badge { left: 14px; }
}
@media (max-width: 640px) {
    .xm-sec { padding: 46px 0; }
    .xm-hero-in { padding: 48px 16px 44px; }
    .xm-grid3 { grid-template-columns: 1fr; gap: 18px; }
    .xm-card-media img { height: 200px; }
    .xm-btn { width: 100%; }
}
