/* ============================================================================
   Sohelp Modern — 商邦官网营销/落地页现代设计系统
   风格：Technical / Precise + Refined（参考 sohelp-doc/sohelp-mes 设计语言）
   主色 #2563eb（蓝）· Slate 中性 · 渐变点缀 · JetBrains Mono eyebrow · 深色 footer
   独立于 layui，仅依赖系统字体栈（不外链 Google Fonts，保证国内访问与 LCP）
   作用域前缀 sx- ，可与旧 layui 页面共存
   ============================================================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-pale: #eff6ff;
    --accent: #0ea5e9;
    --accent-cyan: #06b6d4;

    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-mute: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-darker: #0a0f1e;

    --text: #0f172a;
    --text-soft: #475569;
    --text-mute: #94a3b8;

    --border: #e2e8f0;
    --border-light: #eef2f6;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
    --shadow-lg: 0 12px 40px rgba(15,23,42,0.12);
    --shadow-glow: 0 0 40px rgba(37,99,235,0.15);

    --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;

    --maxw: 1200px;
    --nav-h: 66px;
}

/* ---------- reset ---------- */
.sx *, .sx *::before, .sx *::after { box-sizing: border-box; }
.sx {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.sx img { max-width: 100%; height: auto; display: block; }
.sx a { color: inherit; text-decoration: none; }
.sx h1, .sx h2, .sx h3, .sx h4, .sx p { margin: 0; }

.sx-container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航（sticky + 毛玻璃） ---------- */
.sx-nav {
    position: sticky; top: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border-light);
}
.sx-nav .sx-container { display: flex; align-items: center; gap: 32px; width: 100%; }
.sx-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.sx-logo .dot { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: var(--shadow-glow); }
.sx-navlinks { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sx-navlinks a {
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-size: 14.5px; font-weight: 500; color: var(--text-soft);
    transition: color .18s, background .18s;
}
.sx-navlinks a:hover { color: var(--text); background: var(--bg-mute); }
.sx-navlinks a.active { color: var(--primary); }
.sx-nav-cta {
    padding: 8px 18px !important; border-radius: var(--radius-pill) !important;
    background: var(--primary); color: #fff !important; font-weight: 600 !important;
}
.sx-nav-cta:hover { background: var(--primary-dark) !important; }
.sx-burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.sx-burger span, .sx-burger span::before, .sx-burger span::after { content: ''; display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.sx-burger span::before { position: absolute; top: -6px; } .sx-burger span::after { position: absolute; top: 6px; }

/* ---------- eyebrow / badge（mono 小标签） ---------- */
.sx-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
    color: var(--primary); background: var(--primary-pale);
    border: 1px solid #dbe6fe; padding: 6px 14px; border-radius: var(--radius-pill);
}
.sx-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }

/* ---------- Hero ---------- */
.sx-hero {
    position: relative; overflow: hidden;
    padding: 88px 0 76px;
    background:
        radial-gradient(1100px 460px at 78% -8%, rgba(37,99,235,.14), transparent 60%),
        radial-gradient(820px 420px at 6% 8%, rgba(6,182,212,.10), transparent 55%),
        var(--bg);
    border-bottom: 1px solid var(--border-light);
}
.sx-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.sx-hero h1 {
    font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800;
    margin: 22px 0 0;
}
.sx-hero h1 .grad {
    background: linear-gradient(120deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sx-hero-lead { margin-top: 22px; font-size: 18px; line-height: 1.75; color: var(--text-soft); max-width: 560px; }
.sx-hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.sx-hero-meta { margin-top: 30px; display: flex; gap: 28px; flex-wrap: wrap; }
.sx-hero-meta .item .n { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.sx-hero-meta .item .l { font-size: 13px; color: var(--text-mute); margin-top: 2px; }

/* hero 右侧：终端/代码风视觉卡片 */
.sx-hero-visual {
    background: var(--bg-darker);
    border: 1px solid #1e293b; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.sx-term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #1e293b; }
.sx-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.sx-term-bar i:nth-child(1){ background:#ef4444aa;} .sx-term-bar i:nth-child(2){ background:#f59e0baa;} .sx-term-bar i:nth-child(3){ background:#22c55eaa;}
.sx-term-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: #64748b; }
.sx-term-body { padding: 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.95; color: #cbd5e1; }
.sx-term-body .k { color: #38bdf8; } .sx-term-body .s { color: #34d399; } .sx-term-body .c { color: #64748b; } .sx-term-body .m { color: #a5b4fc; }

/* ---------- buttons ---------- */
.sx-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 24px; border-radius: var(--radius-pill);
    font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
    transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.sx-btn svg { width: 17px; height: 17px; }
.sx-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.sx-btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,99,235,.36); }
.sx-btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.sx-btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.sx-btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.sx-btn-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

/* ---------- sections ---------- */
.sx-section { padding: 84px 0; }
.sx-section.alt { background: var(--bg-soft); }
.sx-section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sx-section-head.left { margin-left: 0; text-align: left; }
.sx-section-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.025em; font-weight: 800; margin-top: 14px; line-height: 1.18; }
.sx-section-head p { margin-top: 14px; font-size: 16.5px; color: var(--text-soft); line-height: 1.7; }

/* ---------- 富文本正文 ---------- */
.sx-prose { max-width: 820px; margin: 0 auto; }
.sx-prose p { font-size: 16.5px; line-height: 1.95; color: var(--text-soft); margin-bottom: 18px; }
.sx-prose strong { color: var(--text); font-weight: 700; }
.sx-prose .lead { font-size: 19px; color: var(--text); line-height: 1.9; }

/* ---------- 卡片网格 ---------- */
.sx-grid { display: grid; gap: 22px; }
.sx-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.sx-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.sx-grid.c4 { grid-template-columns: repeat(4, 1fr); }

.sx-card {
    position: relative; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sx-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #c7d7fe; }
.sx-ico {
    width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-pale), #e0eafe); color: var(--primary); margin-bottom: 18px;
}
.sx-ico svg { width: 24px; height: 24px; }
.sx-card h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 9px; }
.sx-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.72; }

/* 链接卡（首页/hub 方案卡） */
.sx-linkcard { display: block; }
.sx-linkcard .more { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; color: var(--primary); font-size: 13.5px; font-weight: 600; }
.sx-linkcard:hover .more { gap: 9px; }

/* ---------- 标签云（行业/关键词/相关方案） ---------- */
.sx-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.sx-tags span, .sx-tags a {
    padding: 10px 20px; border-radius: var(--radius-pill); font-size: 14.5px; font-weight: 500;
    background: #fff; border: 1px solid var(--border); color: var(--text-soft); transition: .2s;
}
.sx-tags a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- 本地优势（深色渐变统计条） ---------- */
.sx-stats {
    border-radius: var(--radius-lg); padding: 48px 44px; color: #fff;
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 55%, var(--accent) 130%);
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.sx-stats::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% -20%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.sx-stats h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 30px; }
.sx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.sx-stats-grid .item .n { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.sx-stats-grid .item .l { font-size: 14px; opacity: .92; margin-top: 6px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.sx-faq { max-width: 840px; margin: 0 auto; }
.sx-faq details {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.sx-faq details[open] { border-color: #c7d7fe; box-shadow: var(--shadow-md); }
.sx-faq summary {
    list-style: none; cursor: pointer; padding: 21px 24px; font-size: 16px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: '+'; font-size: 22px; color: var(--primary); font-weight: 300; transition: transform .2s; flex-shrink: 0; }
.sx-faq details[open] summary::after { content: '\2212'; }
.sx-faq .a { padding: 0 24px 22px; color: var(--text-soft); font-size: 15px; line-height: 1.85; }

/* ---------- CTA ---------- */
.sx-cta-wrap { padding: 84px 0; }
.sx-cta {
    position: relative; overflow: hidden; text-align: center;
    border-radius: var(--radius-lg); padding: 64px 32px; color: #fff;
    background: linear-gradient(135deg, var(--bg-darker), #142447 60%, #1e3a8a);
    box-shadow: var(--shadow-lg);
}
.sx-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 340px at 50% -30%, rgba(56,189,248,.22), transparent 60%); }
.sx-cta > * { position: relative; }
.sx-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; }
.sx-cta p { margin-top: 14px; color: #cbd5e1; font-size: 17px; }
.sx-cta-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer（深色 slate） ---------- */
.sx-footer { background: var(--bg-darker); color: #cbd5e1; padding: 64px 0 30px; }
.sx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.sx-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px; }
.sx-footer a, .sx-footer p { color: #94a3b8; font-size: 14px; line-height: 2.1; transition: color .18s; }
.sx-footer a:hover { color: #fff; }
.sx-footer .brand .sx-logo { color: #fff; margin-bottom: 14px; }
.sx-footer .brand p { max-width: 300px; line-height: 1.8; }
.sx-footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.sx-footer-bottom p, .sx-footer-bottom a { font-size: 13px; color: #64748b; }

/* ---------- 面包屑 ---------- */
.sx-crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-mute); font-family: var(--font-mono); }
.sx-crumb a { color: var(--text-soft); } .sx-crumb a:hover { color: var(--primary); }
.sx-crumb .sep { opacity: .5; }

/* ---------- 滚动进入动画 ---------- */
.sx-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.sx-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sx-reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   认证页 / 表单 / 错误页 / 内容文档页 组件
   ============================================================ */

/* ---------- 认证页（登录/注册/找回/改密） ---------- */
.sx-authwrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 48px 20px;
    background:
        radial-gradient(1000px 460px at 80% -10%, rgba(37,99,235,.14), transparent 60%),
        radial-gradient(760px 420px at 8% 110%, rgba(6,182,212,.10), transparent 55%),
        var(--bg-soft);
}
.sx-authcard {
    width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 42px 38px;
}
.sx-authcard .sx-logo { justify-content: center; font-size: 19px; margin-bottom: 26px; }
.sx-auth-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.sx-auth-sub { text-align: center; color: var(--text-mute); font-size: 14px; margin: 8px 0 28px; }
.sx-auth-foot { text-align: center; font-size: 14px; color: var(--text-soft); margin-top: 22px; }
.sx-auth-foot a { color: var(--primary); font-weight: 600; }

/* ---------- 表单字段 ---------- */
.sx-field { margin-bottom: 18px; }
.sx-field > label { display: block; font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.sx-input {
    width: 100%; height: 46px; padding: 0 15px; font-size: 15px; font-family: inherit; color: var(--text);
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: .18s;
}
.sx-input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.sx-input::placeholder { color: var(--text-mute); }
.sx-field-row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--text-soft); }
.sx-field-row a { color: var(--primary); }
.sx-btn-block { width: 100%; justify-content: center; }

/* ---------- 错误页（404/403/500） ---------- */
.sx-errorwrap {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 40px 24px;
    background:
        radial-gradient(900px 460px at 50% -10%, rgba(37,99,235,.14), transparent 60%),
        var(--bg);
}
.sx-error-code {
    font-size: clamp(84px, 16vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
    background: linear-gradient(120deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sx-error-desc { font-size: 20px; color: var(--text-soft); margin: 14px 0 30px; }

/* ---------- 内容/文档页（changelog/copyright/下载说明） ---------- */
.sx-doc { max-width: 860px; margin: 0 auto; }
.sx-doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 34px 0 14px; }
.sx-doc h2:first-child { margin-top: 0; }
.sx-doc h3 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; }
.sx-doc p, .sx-doc li { color: var(--text-soft); line-height: 1.9; font-size: 15px; }
.sx-doc ul { padding-left: 22px; margin: 0 0 16px; }
.sx-doc li { margin-bottom: 6px; }
.sx-doc a { color: var(--primary); }
.sx-doc-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px;
}
.sx-tl-item { position: relative; padding: 0 0 22px 26px; border-left: 2px solid var(--border-light); }
.sx-tl-item::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--primary-pale); }
.sx-tl-item:last-child { border-left-color: transparent; }
.sx-tl-ver { font-weight: 700; font-size: 16px; }
.sx-tl-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-mute); margin-left: 8px; }

/* ============================================================
   v2 升级组件：留资表单 / 服务流程 / 信任数据 / 客户案例
   ============================================================ */

/* ---------- 留资表单 ---------- */
.sx-textarea { min-height: 104px; padding-top: 12px; line-height: 1.6; resize: vertical; }
select.sx-input {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.sx-leadcard {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 32px 30px; max-width: 460px; width: 100%;
}
.sx-leadcard h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.sx-leadcard .sub { font-size: 14px; color: var(--text-mute); margin-bottom: 22px; }
.sx-leadform-note { text-align: center; font-size: 13px; color: var(--text-mute); margin-top: 14px; }
.sx-leadform-note b { color: var(--primary); }
/* 留资区：左文案右表单 */
.sx-lead-split { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: center; }
.sx-lead-split .copy h2 { font-size: clamp(24px,3vw,34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.sx-lead-split .copy p { margin-top: 16px; font-size: 16px; color: var(--text-soft); line-height: 1.8; }
.sx-lead-split .copy ul { margin: 20px 0 0; padding: 0; list-style: none; }
.sx-lead-split .copy li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--text); }
.sx-lead-split .copy li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* ---------- 服务流程 ---------- */
.sx-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.sx-step {
    position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 20px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sx-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d7fe; }
.sx-step .num {
    width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-family: var(--font-mono);
    font-size: 17px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}
.sx-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sx-step p { font-size: 13px; color: var(--text-soft); line-height: 1.65; }

/* ---------- 信任数据（大数字） ---------- */
.sx-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sx-trust .item { text-align: center; }
.sx-trust .n {
    font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
    background: linear-gradient(120deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sx-trust .l { margin-top: 10px; font-size: 14.5px; color: var(--text-soft); }

/* ---------- 客户案例卡 ---------- */
.sx-case {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sx-case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #c7d7fe; }
.sx-case .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-mute), #e2e8f0); display: flex; align-items: center; justify-content: center; color: var(--text-mute); font-size: 13px; }
.sx-case .body { padding: 22px 22px 24px; }
.sx-case .tag { display: inline-block; font-size: 12px; color: var(--primary); background: var(--primary-pale); border: 1px solid #dbe6fe; padding: 3px 11px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.sx-case h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.sx-case p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .sx-lead-split { grid-template-columns: 1fr; gap: 32px; }
    .sx-leadcard { max-width: none; }
    .sx-process { grid-template-columns: repeat(2, 1fr); }
    .sx-trust { grid-template-columns: repeat(2, 1fr); }
    .sx-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .sx-hero-visual { order: -1; }
    .sx-grid.c4 { grid-template-columns: repeat(2, 1fr); }
    .sx-grid.c3 { grid-template-columns: repeat(2, 1fr); }
    .sx-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sx-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    :root { --nav-h: 58px; }
    .sx-navlinks { display: none; }
    .sx-burger { display: flex; }
    .sx-navlinks.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 4px;
        position: absolute; top: var(--nav-h); left: 0; right: 0; margin: 0;
        background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px; box-shadow: var(--shadow-md);
    }
    .sx-hero { padding: 56px 0 52px; }
    .sx-section { padding: 56px 0; }
    .sx-grid.c2, .sx-grid.c3, .sx-grid.c4 { grid-template-columns: 1fr; }
    .sx-trust { grid-template-columns: 1fr 1fr; }
    .sx-process { grid-template-columns: 1fr; }
    .sx-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .sx-cta { padding: 48px 22px; }
    .sx-stats { padding: 36px 24px; }
}

/* ============================================================
   右侧浮动联系栏（电话 / 微信 / 咨询 / 顶部）
   ============================================================ */
.sx-float { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 200; display: flex; flex-direction: column; gap: 2px; }
.sx-float-item { position: relative; width: 58px; height: 58px; background: var(--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: #fff; transition: background .2s; text-decoration: none; }
.sx-float-item:first-child { border-top-left-radius: 14px; }
.sx-float-item:last-child { border-bottom-left-radius: 14px; }
.sx-float-item:hover { background: var(--primary-dark); }
.sx-float-item svg { width: 22px; height: 22px; }
.sx-float-item .lbl { font-size: 11px; margin-top: 3px; line-height: 1; }
.sx-float-pop { position: absolute; right: 66px; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px; min-width: 190px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.sx-float-pop::after { content: ''; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); border-left: 7px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.sx-float-item:hover .sx-float-pop { opacity: 1; visibility: visible; }
.sx-float-pop .t { font-size: 12.5px; color: var(--text-mute); }
.sx-float-pop .v { font-size: 18px; font-weight: 800; color: var(--primary); margin-top: 3px; white-space: nowrap; }
.sx-float-pop .v a { color: var(--primary); }
.sx-float-pop .qr { width: 140px; height: 140px; margin: 0 auto 8px; background: var(--bg-mute); display: flex; align-items: center; justify-content: center; color: var(--text-mute); font-size: 12px; border-radius: 10px; text-align: center; line-height: 1.5; }
.sx-float-pop .qr img { width: 140px; height: 140px; border-radius: 10px; }
@media (max-width: 640px) { .sx-float { display: none; } }


/* ============================================================
   sx-consult — 免费咨询弹窗（留线索） + LOGO 立方体
   ============================================================ */
.sx-logo .sx-logo-cube { width: 24px; height: 24px; flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(37,99,235,.32)); }
.sx-footer .sx-logo .sx-logo-cube { filter: drop-shadow(0 2px 5px rgba(0,0,0,.3)); }

.sx-consult-overlay { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.sx-consult-overlay.open { display: flex; opacity: 1; }
.sx-consult-modal { width: 100%; max-width: 760px; max-height: 92vh; background: #fff; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 290px 1fr; box-shadow: 0 30px 80px rgba(2,8,23,.5); transform: translateY(16px) scale(.98); transition: transform .28s; }
.sx-consult-overlay.open .sx-consult-modal { transform: none; }
.sx-consult-aside { background: linear-gradient(150deg, #2563eb 0%, #1d4ed8 48%, #06b6d4 130%); color: #fff; padding: 34px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.sx-consult-aside::after { content: ''; position: absolute; right: -45px; bottom: -45px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.08); }
.sx-consult-aside .sx-logo { color: #fff; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sx-consult-aside h3 { font-size: 21px; font-weight: 800; line-height: 1.4; margin: 6px 0 0; }
.sx-consult-aside .sub { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.82); margin: 0; }
.sx-consult-points { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; position: relative; }
.sx-consult-points li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,.95); }
.sx-consult-points svg { width: 17px; height: 17px; flex-shrink: 0; color: #a7f3d0; }
.sx-consult-main { padding: 28px 30px 24px; overflow-y: auto; }
.sx-consult-main .hd { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.sx-consult-main .hd h4 { font-size: 18px; font-weight: 800; margin: 0; color: var(--text); }
.sx-consult-close { border: none; background: none; cursor: pointer; color: var(--text-mute); font-size: 26px; line-height: 1; padding: 0 2px; transition: color .2s; }
.sx-consult-close:hover { color: var(--text); }
.sx-consult-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sx-consult-modal .sx-field { margin-bottom: 13px; }
.sx-consult-modal label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.sx-consult-modal label .req { color: #ef4444; }
.sx-consult-tip { font-size: 12.5px; min-height: 16px; margin: 2px 0 6px; color: var(--text-mute); }
.sx-consult-tip.err { color: #ef4444; }
.sx-consult-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.sx-consult-foot .sx-btn { min-width: 92px; padding-top: 10px; padding-bottom: 10px; }
.sx-consult-done { text-align: center; padding: 26px 6px 14px; }
.sx-consult-done .ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: #ecfdf5; color: #10b981; display: flex; align-items: center; justify-content: center; }
.sx-consult-done .ic svg { width: 32px; height: 32px; }
.sx-consult-done h4 { font-size: 19px; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.sx-consult-done p { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin: 0 0 20px; }
@media (max-width: 600px) {
  .sx-consult-modal { grid-template-columns: 1fr; max-height: 88vh; }
  .sx-consult-aside { display: none; }
  .sx-consult-grid2 { grid-template-columns: 1fr; }
}
