/* ===== 小程序/App开发页面样式 ===== */

/* --- 1. Hero 区域 --- */
.xcx-hero { padding: 80px 0 60px; background: #fff; }
.xcx-hero-content { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.xcx-hero-text { flex: 1; max-width: 500px; }

.xcx-hero-badge { display: inline-block; background: #eeebff; padding: 6px 18px; border-radius: 20px; font-size: 13px; color: #2b1ee0; margin-bottom: 20px; font-weight: 500; }
.xcx-hero-title { font-size: 38px; line-height: 1.2; margin-bottom: 20px; font-weight: 700; color: #111; }
.xcx-hero-desc { color: #666; margin-bottom: 30px; font-size: 15px; line-height: 1.8; }
.xcx-hero-actions { display: flex; gap: 16px; }

/* 右侧图片 */
.xcx-hero-graphic-wrap {
    flex: 1.3; position: relative; border-radius: 12px; overflow: hidden; height: 280px;
    border: 1px solid #eee; box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.xcx-hero-graphic-wrap img { width: 100%; height: 100%; object-fit: cover; }
.xcx-hero-ui-tag { position: absolute; top: 16px; left: 20px; font-size: 12px; color: #333; font-weight: 500; background: rgba(255,255,255,0.9); padding: 4px 12px; border-radius: 6px; }

/* --- 2. 核心价值主张 --- */
.xcx-core-value { padding: 60px 0 80px; background: #f8f7ff; text-align: center; }
.xcx-core-value h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.xcx-core-value > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.xcx-cv-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; }

.xcx-cv-side { background: #fff; border-radius: 16px; padding: 30px 24px; border: 1px solid #f0f0f0; text-align: left; }
.xcx-cv-side .xcx-icon-box { width: 48px; height: 48px; background: #f8f7ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.xcx-cv-side .xcx-icon-box img { width: 24px; height: 24px; }
.xcx-cv-side h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.xcx-cv-side p { font-size: 14px; color: #888; line-height: 1.5; }

.xcx-cv-center { background: #2b1ee0; border-radius: 16px; padding: 30px 24px; color: #fff; text-align: left; }
.xcx-cv-center .xcx-icon-box { width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.xcx-cv-center .xcx-icon-box img { width: 24px; height: 24px; }
.xcx-cv-center h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.xcx-cv-center p { font-size: 14px; color: #d4d0ff; line-height: 1.5; }

/* --- 3. 行业解决方案 --- */
.xcx-industry-solutions { padding: 80px 0; background: #fff; text-align: center; }
.xcx-industry-solutions h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.xcx-industry-solutions > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.xcx-is-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.xcx-is-item { background: #f8f7ff; border-radius: 16px; padding: 30px 20px; text-align: left; border: 1px solid transparent; transition: 0.2s; }
.xcx-is-item:hover { background: #fff; border-color: #2b1ee0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.xcx-is-icon { width: 40px; height: 40px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; border: 1px solid #eee; }
.xcx-is-icon img { width: 20px; height: 20px; }
.xcx-is-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.xcx-is-item ul { padding-left: 0; }
.xcx-is-item ul li { font-size: 13px; color: #888; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.xcx-is-item ul li::before { content: '\2022'; color: #2b1ee0; font-weight: bold; }

/* --- 4. 深色数据横幅 --- */
.xcx-data-banner { background: #2b1ee0; padding: 60px 0; color: #fff; text-align: center; }
.xcx-db-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xcx-db-item { display: flex; flex-direction: column; align-items: center; border-right: 1px solid rgba(255,255,255,0.15); padding: 0 20px; }
.xcx-db-item:last-child { border-right: none; }
.xcx-db-item .num { font-size: 48px; font-weight: 800; margin-bottom: 8px; display: block; }
.xcx-db-item .lbl { font-size: 14px; opacity: 0.8; margin-bottom: 8px; }
.xcx-db-item .desc { font-size: 12px; opacity: 0.6; }

/* --- 5. 服务优势对比 --- */
.xcx-comparison-section { padding: 80px 0; background: #fff; text-align: center; }
.xcx-comparison-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.xcx-comparison-section > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.xcx-comp-grid { display: grid; grid-template-columns: 120px 1.2fr 1fr; gap: 0; text-align: center; border: 1px solid #eee; border-radius: 16px; overflow: hidden; background: #fff; }
.xcx-comp-header { background: #fafbfc; padding: 16px; font-weight: 600; color: #333; border-bottom: 1px solid #eee; }
.xcx-comp-header.highlight { background: #f8f7ff; color: #2b1ee0; }

.xcx-comp-label { background: #fafbfc; padding: 16px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #555; border-bottom: 1px solid #eee; }
.xcx-comp-cell { padding: 16px; font-size: 13px; color: #555; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
.xcx-comp-cell.highlight { background: #f8f7ff; color: #333; font-weight: 500; }
.xcx-comp-cell:last-child, .xcx-comp-label:last-child { border-bottom: none; }

.xcx-check-green::before { content: '\2713'; background: #10b981; color: #fff; border-radius: 50%; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; margin-right: 6px; }
.xcx-cross-red::before { content: '\2715'; color: #ef4444; font-size: 16px; margin-right: 6px; }

/* --- 6. 自研开发技术栈 --- */
.xcx-tech-stack { padding: 80px 0; background: #fafbfc; text-align: center; }
.xcx-tech-stack h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.xcx-tech-stack > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.xcx-ts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.xcx-ts-item { background: #fff; border-radius: 16px; padding: 30px 24px; border: 1px solid #f0f0f0; text-align: center; transition: 0.2s; }
.xcx-ts-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.02); }
.xcx-ts-icon { width: 56px; height: 56px; background: #f8f7ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.xcx-ts-icon img { width: 26px; height: 26px; }
.xcx-ts-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.xcx-ts-item p { font-size: 13px; color: #888; line-height: 1.5; }

/* --- 7. 标准化服务流程 --- */
.xcx-process-flow { padding: 80px 0; background: #fafbfc; text-align: center; }
.xcx-process-flow h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.xcx-process-flow > .container > p { color: #888; font-size: 14px; margin-bottom: 50px; }

.xcx-pf-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; position: relative; }
.xcx-pf-grid::after { content: ''; position: absolute; top: 30px; left: 10%; width: 80%; height: 1px; border-top: 1px dashed #ccc; z-index: 0; }
.xcx-pf-item { background: #fff; border-radius: 12px; padding: 30px 20px; border: 1px solid #f0f0f0; position: relative; z-index: 1; }
.xcx-pf-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #2b1ee0; color: #fff; border-radius: 50%; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.xcx-pf-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.xcx-pf-item p { font-size: 13px; color: #888; line-height: 1.4; max-width: 160px; margin: 0 auto; }

/* --- 8. 客户 Logo 条 --- */
.xcx-client-strip { padding: 40px 0; background: #fff; text-align: center; }
.xcx-client-strip > .container > p { color: #888; font-size: 13px; margin-bottom: 30px; }
.xcx-logo-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.xcx-cloud-logo {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; border: 1px solid #e8e8e8; border-radius: 8px;
    font-weight: 600; font-size: 15px; color: #555; background: #fff;
    transition: all 0.3s; cursor: default;
}
.xcx-cloud-logo img { width: 24px; height: 24px; flex-shrink: 0; }
.xcx-cloud-logo:hover { border-color: #2b1ee0; color: #2b1ee0; box-shadow: 0 4px 12px rgba(43,30,224,0.08); transform: translateY(-2px); }

/* --- 9. FAQ --- */
.xcx-faq-final { padding: 80px 0; background: #fafbfc; text-align: center; }
.xcx-faq-final h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.xcx-faq-final > .container > p { color: #888; font-size: 14px; margin-bottom: 40px; }

.xcx-faq-list { max-width: 900px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.xcx-faq-item { background: #fff; border-radius: 12px; padding: 20px 24px; cursor: pointer; border: 1px solid #eee; transition: all 0.3s; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.xcx-faq-item:hover { border-color: #d0d0d0; }
.xcx-faq-question { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-weight: 600; font-size: 15px; color: #1a1a1a; line-height: 1.4; }
.xcx-faq-icon { color: #ccc; font-size: 16px; transition: transform 0.3s; font-weight: 300; flex-shrink: 0; margin-top: 2px; }
.xcx-faq-answer { margin-top: 15px; font-size: 14px; color: #666; display: none; padding-top: 15px; border-top: 1px solid #f0f0f0; line-height: 1.7; }
.xcx-faq-item.active .xcx-faq-answer { display: block; }
.xcx-faq-item.active .xcx-faq-icon { transform: rotate(45deg); }

/* --- 10. CTA 区域 --- */
.xcx-cta-final { padding: 60px 0 80px; background: #fff; text-align: center; }
.xcx-cta-final h2 { font-size: 32px; font-weight: 700; margin-bottom: 30px; color: #111; }
.xcx-cta-final .btn { padding: 14px 40px; font-size: 15px; border-radius: 30px; }

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    .xcx-hero-content { flex-direction: column; }
    .xcx-cv-grid, .xcx-is-grid, .xcx-ts-grid { grid-template-columns: 1fr 1fr; }
    .xcx-db-grid { grid-template-columns: 1fr; gap: 30px; }
    .xcx-db-item { border-right: none; }
    .xcx-comp-grid { display: block; border: none; background: transparent; }
    .xcx-comp-header, .xcx-comp-label, .xcx-comp-cell { border: 1px solid #eee; margin-bottom: -1px; background: #fff; }
    .xcx-comp-header.highlight, .xcx-comp-cell.highlight { background: #f8f7ff; }
    .xcx-pf-grid { grid-template-columns: 1fr 1fr 1fr; }
    .xcx-pf-grid::after { display: none; }
    .xcx-pf-item p { max-width: 100%; }
    .xcx-hero-graphic-wrap { width: 100%; height: 220px; }
}

@media (max-width: 768px) {
    .xcx-hero { padding: 40px 0 30px; }
    .xcx-hero-title { font-size: 24px; }
    .xcx-hero-desc { font-size: 13px; line-height: 1.7; }
    .xcx-hero-actions { flex-direction: column; gap: 10px; }
    .xcx-hero-actions .btn { width: 100%; text-align: center; }
    .xcx-hero-graphic-wrap { height: 160px; }
    .xcx-hero-ui-tag { font-size: 11px; padding: 3px 10px; }

    .xcx-core-value { padding: 40px 0; }
    .xcx-core-value h2 { font-size: 21px; }
    .xcx-core-value > .container > p { font-size: 13px; margin-bottom: 30px; }
    .xcx-cv-grid { grid-template-columns: 1fr; gap: 16px; }
    .xcx-cv-side { padding: 22px 18px; }
    .xcx-cv-side h4 { font-size: 16px; }
    .xcx-cv-side p { font-size: 13px; }
    .xcx-cv-center { padding: 22px 18px; }
    .xcx-cv-center h4 { font-size: 16px; }
    .xcx-cv-center p { font-size: 13px; }

    .xcx-industry-solutions { padding: 40px 0; }
    .xcx-industry-solutions h2 { font-size: 21px; }
    .xcx-industry-solutions > .container > p { font-size: 13px; margin-bottom: 30px; }
    .xcx-is-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .xcx-is-item { padding: 22px 16px; }
    .xcx-is-item h4 { font-size: 15px; }
    .xcx-is-item ul li { font-size: 12px; }

    .xcx-data-banner { padding: 36px 0; }
    .xcx-db-grid { grid-template-columns: 1fr; gap: 20px; }
    .xcx-db-item .num { font-size: 36px; }
    .xcx-db-item .lbl { font-size: 13px; }
    .xcx-db-item .desc { font-size: 11px; }

    .xcx-comparison-section { padding: 40px 0; }
    .xcx-comparison-section h2 { font-size: 21px; }
    .xcx-comparison-section > .container > p { font-size: 13px; margin-bottom: 30px; }

    .xcx-tech-stack { padding: 40px 0; }
    .xcx-tech-stack h2 { font-size: 21px; }
    .xcx-tech-stack > .container > p { font-size: 13px; margin-bottom: 30px; }
    .xcx-ts-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .xcx-ts-item { padding: 22px 16px; }
    .xcx-ts-icon { width: 48px; height: 48px; }
    .xcx-ts-item h4 { font-size: 15px; }
    .xcx-ts-item p { font-size: 12px; }

    .xcx-process-flow { padding: 40px 0; }
    .xcx-process-flow h2 { font-size: 21px; }
    .xcx-process-flow > .container > p { font-size: 13px; margin-bottom: 30px; }
    .xcx-pf-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .xcx-pf-item { padding: 22px 14px; }
    .xcx-pf-num { width: 42px; height: 42px; font-size: 15px; }
    .xcx-pf-item h4 { font-size: 15px; }
    .xcx-pf-item p { font-size: 12px; }

    .xcx-client-strip { padding: 30px 0; }
    .xcx-client-strip > .container > p { font-size: 12px; margin-bottom: 20px; }
    .xcx-logo-strip { gap: 14px; }
    .xcx-cloud-logo { padding: 8px 16px; font-size: 13px; }

    .xcx-faq-final { padding: 40px 0; }
    .xcx-faq-final h2 { font-size: 21px; }
    .xcx-faq-final > .container > p { font-size: 13px; margin-bottom: 30px; }
    .xcx-faq-item { padding: 16px 18px; }
    .xcx-faq-question { font-size: 14px; }
    .xcx-faq-answer { font-size: 13px; }

    .xcx-cta-final { padding: 30px 0 50px; }
    .xcx-cta-final h2 { font-size: 22px; }
    .xcx-cta-final .btn { padding: 12px 28px; font-size: 14px; }
}

@media (max-width: 480px) {
    .xcx-hero-title { font-size: 22px; }
    .xcx-cv-grid { grid-template-columns: 1fr; }
    .xcx-is-grid { grid-template-columns: 1fr; }
    .xcx-ts-grid { grid-template-columns: 1fr; }
    .xcx-pf-grid { grid-template-columns: 1fr; }
    .xcx-cta-final h2 { font-size: 20px; }
}
