/* erp.html（电商ERP系统）页面样式
   与站内其它内页同一套设计变量；在 style.css 之后加载，用于页面覆盖。
   ⚠️ 类名前缀 erp- 只用于 banner 与 head 内联的「大促一天」深色区块，
      其余沿用站内通用命名（pain-grid / cap-grid / flow-grid / trust-grid /
      stats-bar / faq-list / cta-section / way-grid）—— 每页 CSS 独立加载，不会互相影响。
   ⚠️ 本页与 ai-crm.html 视觉同源：不要在这里改全局变量，会影响同页配色层次。 */

        :root {
            --primary: #1A56DB;
            --primary-dark: #1040B0;
            --primary-light: #60A5FA;
            --secondary: #F9A826;
            --secondary-dark: #D68910;
            --accent: #06B6D4;
            --dark: #0F172A;
            --gray: #64748B;
            --white: #FFFFFF;
            --light: #F4F7FE;
            --shadow: 0 10px 30px rgba(0,0,0,.08);
            --transition: all .3s ease;
        }
        body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--dark); background: var(--white); }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .section { padding: 60px 0; }
        .section-alt { background: var(--light); }

        /* ===== Banner ===== */
        .erp-banner {
            position: relative;
            /* 高度由内容 + 上下内边距决定（不写死 480px）：
               本页 banner 比 AICRM 少一行卖点，写死 480 会在按钮下面空出 100px+ 的纯色块 */
            min-height: 0;
            background: linear-gradient(135deg, #0B1B3A 0%, #12306B 45%, var(--primary) 100%);
            color: var(--white);
            overflow: hidden;
        }
        .erp-banner::before {
            content: ''; position: absolute; inset: 0;
            background-image: radial-gradient(circle at 1px 1px, rgba(96,165,250,.20) 1px, transparent 0);
            background-size: 28px 28px;
            pointer-events: none;
        }
        .erp-banner::after {
            content: ''; position: absolute;
            right: -140px; top: 50%; transform: translateY(-50%);
            width: 560px; height: 560px; border-radius: 50%;
            background: radial-gradient(circle, rgba(6,182,212,.18) 0%, rgba(6,182,212,0) 70%);
            pointer-events: none;
        }
        .erp-banner .container { position: relative; padding: 90px 60px 80px; z-index: 1; }
        .erp-banner h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 900; margin-bottom: 18px; line-height: 1.3; }
        .erp-banner h1 span { background: linear-gradient(135deg, #60A5FA, #22D3EE); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .erp-banner .banner-sub { font-size: 1.05rem; color: rgba(255,255,255,.82); line-height: 1.9; max-width: 780px; margin-bottom: 28px; }
        .erp-banner .banner-sub strong { color: #22D3EE; font-weight: 700; }
        .banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

        .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 34px; border-radius: 50px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all .3s; }
        .btn-primary { background: linear-gradient(135deg, var(--secondary), #F9A826); color: #fff; box-shadow: 0 8px 25px rgba(249,168,38,.35); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(249,168,38,.45); }
        .btn-outline { border: 2px solid rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.06); }
        .btn-outline:hover { background: rgba(255,255,255,.14); }
        .btn-ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.06); }
        .btn-ghost:hover { background: rgba(255,255,255,.14); }

        /* ===== Section header ===== */
        .section-header { text-align: center; max-width: 1100px; margin: 0 auto 36px; }
        .section-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-bottom: 14px; }
        .section-header h2 span { color: var(--primary); }
        .section-header p { font-size: 1rem; color: var(--gray); line-height: 1.8; max-width: 860px; margin-left: auto; margin-right: auto; }
        .section-header p strong { color: var(--primary); }

        /* ===== 四道坎（痛点） ===== */
        .pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
        .pain-card { background: #fff; border: 1px solid #E4EAF6; border-radius: 16px; padding: 26px 22px; transition: var(--transition); }
        .pain-card:hover { box-shadow: 0 14px 32px rgba(26,86,219,.13); transform: translateY(-4px); border-color: var(--primary); }
        .pain-card .pc-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(26,86,219,.08); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 900; margin-bottom: 14px; }
        .pain-card h4 { font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; }
        .pain-card p { font-size: .89rem; color: var(--gray); line-height: 1.8; }
        .pain-card p b { color: var(--primary); }

        /* ===== 六个核心能力 ===== */
        .cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
        .cap-card { background: #fff; border: 1px solid #E4EAF6; border-radius: 16px; padding: 26px 22px; transition: var(--transition); }
        .cap-card:hover { box-shadow: 0 14px 32px rgba(26,86,219,.13); transform: translateY(-4px); border-color: var(--primary); }
        .cap-card .cap-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(26,86,219,.12), rgba(6,182,212,.12)); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
        .cap-card .cap-icon svg { width: 24px; height: 24px; }
        .cap-card h4 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
        .cap-card p { font-size: .9rem; color: var(--gray); line-height: 1.8; }
        .cap-card p b { color: var(--primary); }

        /* ===== 对比 ===== */
        .cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
        .cmp-col { background: #fff; border: 1px solid #E4EAF6; border-radius: 16px; padding: 26px 24px; }
        .cmp-col.is-good { border-color: rgba(26,86,219,.35); box-shadow: 0 16px 38px rgba(26,86,219,.12); }
        .cmp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #EEF2F9; margin-bottom: 6px; }
        .cmp-head h4 { font-size: 1.12rem; font-weight: 800; }
        .cmp-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; flex-shrink: 0; }
        .cmp-col.is-good .cmp-head .dot { background: var(--primary); }
        .cmp-head .tag { margin-left: auto; font-size: .76rem; font-weight: 700; color: var(--gray); background: #F1F5F9; border-radius: 100px; padding: 3px 12px; }
        .cmp-col.is-good .cmp-head .tag { color: #fff; background: var(--primary); }
        .cmp-row { padding: 14px 0; border-bottom: 1px dashed #EEF2F9; }
        .cmp-row:last-child { border-bottom: none; }
        .cmp-row .k { font-size: .82rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
        .cmp-row .v { font-size: .92rem; color: var(--gray); line-height: 1.75; }

        /* ===== 两种获取方式 ===== */
        .way-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; align-items: stretch; }
        .way-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E4EAF6; border-radius: 18px; padding: 28px 26px 26px; }
        .way-card.is-primary { border-color: var(--primary); box-shadow: 0 18px 44px rgba(26,86,219,.15); }
        .way-tag { align-self: flex-start; font-size: .76rem; font-weight: 800; color: var(--primary); background: rgba(26,86,219,.08); border-radius: 100px; padding: 4px 13px; margin-bottom: 14px; }
        .way-card.is-primary .way-tag { color: #fff; background: var(--primary); }
        .way-card h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 10px; }
        .way-card p { font-size: .92rem; color: var(--gray); line-height: 1.85; }
        .way-card ul { list-style: none; margin: 14px 0 22px; padding: 0; }
        .way-card li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--gray); line-height: 1.75; margin-bottom: 8px; }
        .way-card li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 900; font-size: .86rem; }
        .way-card .btn { margin-top: auto; justify-content: center; padding: 12px 20px; font-size: .95rem; }
        .way-card .btn-outline { border-color: rgba(26,86,219,.35); color: var(--primary); background: rgba(26,86,219,.05); }
        .way-card .btn-outline:hover { background: rgba(26,86,219,.12); }
        .way-note { text-align: center; font-size: .88rem; color: var(--gray); margin-top: 26px; line-height: 1.8; }
        .way-note b { color: var(--dark); }

        /* ===== 落地流程 ===== */
        .flow-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
        .flow-step { background: #fff; border: 1px solid #E4EAF6; border-radius: 16px; padding: 24px 18px; text-align: center; transition: var(--transition); }
        .flow-step:hover { border-color: var(--primary); box-shadow: 0 14px 32px rgba(26,86,219,.12); transform: translateY(-4px); }
        .flow-step .fs-no { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(26,86,219,.35); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; margin: 0 auto 14px; }
        .flow-step h4 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
        .flow-step p { font-size: .86rem; color: var(--gray); line-height: 1.75; }

        /* ===== 交付保障 + 真实数据 ===== */
        .trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
        .trust-card { background: #fff; border: 1px solid #E4EAF6; border-radius: 16px; padding: 26px 22px; transition: var(--transition); }
        .trust-card:hover { box-shadow: 0 14px 32px rgba(26,86,219,.13); transform: translateY(-4px); border-color: var(--primary); }
        .trust-card .tc-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(6,182,212,.10); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
        .trust-card .tc-icon svg { width: 22px; height: 22px; }
        .trust-card h4 { font-size: 1.04rem; font-weight: 800; margin-bottom: 8px; }
        .trust-card p { font-size: .89rem; color: var(--gray); line-height: 1.8; }
        .stats-bar { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 34px; background: #fff; border: 1px solid #E4EAF6; border-radius: 16px; padding: 28px 20px; }
        .stat-item { text-align: center; }
        .stat-item .num { font-size: 1.75rem; font-weight: 900; color: var(--primary); line-height: 1.2; }
        .stat-item .lbl { font-size: .86rem; color: var(--gray); margin-top: 6px; }

        /* ===== FAQ ===== */
        .faq-list { max-width: 940px; margin: 0 auto; }
        .faq-item { background: #fff; border: 1px solid #E4EAF6; border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
        .faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 1rem; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after { content: '+'; color: var(--primary); font-weight: 900; font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
        .faq-item[open] summary::after { content: '−'; }
        .faq-item[open] summary { color: var(--primary); }
        .faq-a { padding: 0 22px 20px; font-size: .93rem; color: var(--gray); line-height: 1.9; }
        .faq-a b { color: var(--dark); }

        /* ===== CTA ===== */
        .cta-section { position: relative; padding: 70px 0; text-align: center; background: linear-gradient(135deg, #0B1B3A 0%, #12306B 50%, var(--primary) 100%); color: #fff; }
        .cta-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
        .cta-section h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 900; margin-bottom: 16px; }
        .cta-section p { color: rgba(255,255,255,.84); line-height: 1.9; margin-bottom: 36px; }
        .cta-section .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 34px; border-radius: 50px; font-size: 1rem; font-weight: 600; text-decoration: none; }
        .cta-section .btn-primary { background: linear-gradient(135deg, var(--secondary), #F9A826); color: #fff; box-shadow: 0 8px 25px rgba(249,168,38,.35); }
        /* 信任点：与 AICRM / GEO官网 / 私域直播 等产品页同构
           （.cta-actions 的 flex/gap:16px/margin-bottom:32px 由 style.css 提供，这里不要重定义） */
        .cta-trust { display: flex; gap: 26px; justify-content: center; flex-wrap: nowrap; }
        .cta-trust-item { font-size: .82rem; color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
        .cta-trust-item svg { width: 14px; height: 14px; color: #22D3EE; flex-shrink: 0; }

        /* ===== 响应式 ===== */
        @media (max-width: 992px) {
            .pain-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
            .cap-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
            .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
            .flow-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
            .way-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
        }
        @media (max-width: 768px) {
            .section { padding: 40px 0; }
            .erp-banner { min-height: 0; }
            .erp-banner::before { display: none; }
            .erp-banner::after { display: none; }
            .erp-banner .container { padding: 86px 20px 44px; }
            .erp-banner h1 { font-size: 1.55rem; margin-bottom: 14px; }
            .erp-banner .banner-sub { font-size: .92rem; line-height: 1.8; }
            .banner-actions { gap: 10px; }
            .banner-actions .btn { padding: 12px 26px; font-size: .94rem; }
            .section-header { margin-bottom: 24px; }
            .section-header h2 { font-size: 1.35rem; }
            .section-header p { font-size: .92rem; }

            .pain-grid, .cap-grid, .flow-grid, .trust-grid { grid-template-columns: 1fr; gap: 14px; }
            .cmp-grid { grid-template-columns: 1fr; gap: 14px; }
            .stats-bar { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 14px; padding: 22px 16px; }
            .stat-item .num { font-size: 1.5rem; }
            .way-grid { max-width: none; gap: 16px; }
            .way-card { padding: 24px 20px; }

            /* 全站移动端「左图右文」规则（见 REFERENCE 第十四节）：
               左列 44px 图标/序号 + 右列标题与描述；第二列必须 minmax(0,1fr)，
               图标 grid-row:1/span 2，text-align:left 写进子元素选择器。 */
            .pain-card, .cap-card, .flow-step, .trust-card {
                display: grid; grid-template-columns: 44px minmax(0,1fr);
                column-gap: 12px; row-gap: 0; align-items: center; text-align: left;
            }
            .pain-card > .pc-icon, .cap-card > .cap-icon, .flow-step > .fs-no, .trust-card > .tc-icon {
                grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px;
                margin: 0; display: flex; align-items: center; justify-content: center;
                font-size: 1rem; border-radius: 12px;
            }
            .cap-card > .cap-icon svg, .trust-card > .tc-icon svg { width: 22px; height: 22px; }
            .pain-card > h4, .pain-card > p,
            .cap-card > h4, .cap-card > p,
            .flow-step > h4, .flow-step > p,
            .trust-card > h4, .trust-card > p { grid-column: 2; margin-top: 0; text-align: left; }
            .pain-card > p, .cap-card > p, .flow-step > p, .trust-card > p { font-size: .86rem; line-height: 1.7; }

            .faq-item summary { padding: 15px 18px; font-size: .95rem; }
            .faq-a { padding: 0 18px 18px; font-size: .89rem; }
            .cta-section { padding: 40px 0; }
            .cta-section p { font-size: .92rem; margin-bottom: 26px; }
            .cta-actions { gap: 10px; margin-bottom: 24px; }
            .cta-trust { flex-wrap: wrap; gap: 10px 18px; }
            .cta-trust-item { font-size: .78rem; white-space: normal; }
        }
