/* --- 微信私域 AI 小程序板块样式 --- */
:root {
    --wx-green: #07c160;       /* 微信品牌绿 */
    --wx-dark: #06ae56;
    --ai-grad-start: #07c160;
    --ai-grad-end: #7b2cbf;    /* AI 紫 */
    --wx-bg: #f5f7fa;
    --wx-text: #333;
}

.wx-section {
    background-color: var(--wx-bg);
    padding: 6rem 0;
    font-family: 'PingFang SC', sans-serif;
    color: var(--wx-text);
    overflow: hidden;
}

.wx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 1. 头部：渐变背景强调“生态” */
.wx-hero {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}
.wx-tag {
    background: rgba(7, 193, 96, 0.1);
    color: var(--wx-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.wx-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #111, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wx-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. 手机模拟展示区 (视觉焦点) */
.phone-showcase {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6rem;
}

/* 左侧文字列表 */
.feature-list {
    flex: 1;
    min-width: 300px;
}
.f-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
}
.f-item:hover, .f-item.active {
    border-left-color: var(--wx-green);
}
.f-item h3 { font-size: 1.4rem; font-weight: bold; margin-bottom: 0.5rem; color: #333; }
.f-item p { color: #666; line-height: 1.6; font-size: 0.95rem; }
.f-item:hover h3, .f-item.active h3 { color: var(--wx-dark); }

/* 右侧手机模型 (CSS 绘制) */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #fff;
    border-radius: 40px;
    border: 8px solid #111;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    flex-shrink: 0;
}
.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 25px; background: #111;
    border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
    z-index: 10;
}
.phone-screen {
    width: 100%; height: 100%;
    background: #f1f1f1;
    padding-top: 30px; /* 避开刘海 */
    display: flex; flex-direction: column;
    transition: opacity 0.3s;
}
/* 模拟小程序界面元素 */
.wx-header-bar { height: 44px; display: flex; align-items: center; padding: 0 15px; font-weight: bold; font-size: 0.9rem; justify-content: space-between; }
.wx-dots { width: 60px; height: 24px; border-radius: 12px; border: 1px solid #ddd; position: relative; }
.wx-content { flex: 1; padding: 15px; overflow-y: auto; }
.chat-bubble { background: white; padding: 10px; border-radius: 8px; margin-bottom: 10px; font-size: 0.85rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.chat-bubble.ai { background: #e0f2f1; color: #00695c; border-top-left-radius: 0; }
.chat-bubble.user { background: #95ec69; align-self: flex-end; margin-left: auto; border-top-right-radius: 0; }
.product-card { background: white; border-radius: 8px; padding: 10px; margin-bottom: 10px; display: flex; gap: 10px; }
.p-img { width: 60px; height: 60px;  border-radius: 4px; }

/* 3. AI 能力卡片 (Glassmorphism) */
.ai-capability {
    background: linear-gradient(135deg, #07c160 0%, #000000 100%);
    border-radius: 20px;
    padding: 4rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ai-capability::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ai-grid {
    display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem;
    position: relative; z-index: 2; margin-top: 3rem;
}
@media (min-width: 768px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }

.ai-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 16px;
    transition: 0.3s;
}
.ai-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.2); }
.ai-icon { font-size: 2.5rem; margin-bottom: 1rem; color: #fff; }

/* 4. 生态闭环图 (流程展示) */
.ecosystem-flow {
    margin-top: 6rem;
    text-align: center;
}
.flow-container {
    display: flex; justify-content: space-around; align-items: center;
    flex-wrap: wrap; gap: 1rem; margin-top: 3rem;
}
.flow-node {
    width: 140px; padding: 1.5rem 1rem;
    background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}
.flow-node i { font-size: 2rem; color: var(--wx-green); margin-bottom: 0.5rem; }
.flow-arrow { color: #ccc; font-size: 1.5rem; }
@media (max-width: 768px) { .flow-arrow { transform: rotate(90deg); margin: 10px 0; } }

/* --- 新增：超级应用矩阵样式 --- */
.wx-matrix-section { margin-bottom: 5rem; }
.matrix-grid {
    display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .matrix-grid { grid-template-columns: repeat(4, 1fr); } }

.matrix-card {
    background: white; border-radius: 12px; padding: 2rem;
    text-align: center; border: 1px solid #eee; transition: 0.3s;
    position: relative; overflow: hidden;
}
.matrix-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(7, 193, 96, 0.15); border-color: var(--wx-green); }
.m-icon-box {
    width: 60px; height: 60px; margin: 0 auto 1.5rem;
    background: #f0fdf4; color: var(--wx-green); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.m-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 0.5rem; color: #333; }
.m-desc { font-size: 0.85rem; color: #888; line-height: 1.5; }
/* 装饰角标 */
.m-tag {
    position: absolute; top: 0; right: 0; background: var(--wx-green); color: white;
    font-size: 0.7rem; padding: 2px 8px; border-bottom-left-radius: 8px;
}

/* --- 新增：企微 SCRM 互通样式 (左图右文) --- */
.scrm-box {
    display: flex; gap: 3rem; align-items: center; margin-bottom: 6rem;
    flex-wrap: wrap; background: #fff; border-radius: 20px; padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.scrm-visual {
    flex: 1; min-width: 300px; height: 350px;
    background: #f5f7fa; border-radius: 12px; position: relative;
    border: 1px solid #eee; overflow: hidden;
}
/* 模拟企微聊天界面 */
.qw-chat { padding: 20px; font-family: sans-serif; }
.qw-msg { display: flex; margin-bottom: 15px; }
.qw-avatar { width: 36px; height: 36px; background: #ddd; border-radius: 4px; margin-right: 10px; }
.qw-bubble { background: white; padding: 10px; border-radius: 4px; font-size: 0.85rem; color: #333; border: 1px solid #e5e5e5; max-width: 80%; }
.qw-card {
    background: white; border: 1px solid #e5e5e5; border-radius: 4px; padding: 10px;
    display: flex; gap: 10px; width: 220px; margin-top: 5px; cursor: pointer;
}
.qw-card:hover { border-color: var(--wx-green); }
.qw-sidebar {
    position: absolute; right: 0; top: 0; bottom: 0; width: 100px; background: white; border-left: 1px solid #eee;
    padding: 10px; font-size: 0.75rem; color: #666;
}
.qw-tag { background: #e8f5e9; color: #07c160; padding: 2px 5px; border-radius: 2px; margin-bottom: 5px; display: inline-block; }

.scrm-content { flex: 1; min-width: 300px; }
.scrm-h3 { font-size: 1.8rem; font-weight: bold; margin-bottom: 1rem; color: #333; }
.scrm-p { color: #666; line-height: 1.8; margin-bottom: 2rem; }
.scrm-list li { margin-bottom: 1rem; display: flex; align-items: start; color: #555; }
.scrm-list i { color: var(--wx-green); margin-right: 10px; margin-top: 4px; }

/* --- 新增：行业数字化工具包 --- */
.toolkit-section { text-align: center; margin-bottom: 5rem; }
.toolkit-grid {
    display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem;
}
.tool-item {
    background: white; padding: 1.5rem; border-radius: 12px; width: 220px;
    border: 1px solid #eee; transition: 0.3s;
}
.tool-item:hover { border-color: var(--ai-grad-end); transform: translateY(-3px); }
.tool-icon { font-size: 2rem; margin-bottom: 1rem; background: -webkit-linear-gradient(45deg, #07c160, #7b2cbf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tool-name { font-weight: bold; color: #333; margin-bottom: 0.5rem; }
.tool-desc { font-size: 0.8rem; color: #999; }



.miniwxyua{
    background:#ededed;
}
.miniwxyub{
    margin-top:5px; border:1px solid #eee;
}
.miniwxyud{
    background:#ddd;
}
.miniwxyue{
    color:red;
}
.miniwxyuf{
    background:#f5f5f5;
}
.miniwxyug{
    background:#07c160; padding:20px; color:white; border-radius:8px; margin-bottom:15px;
}
.miniwxyuh{
    font-size:0.8rem;
}
.miniwxyui{
    font-size:2rem; font-weight:bold;
}
.miniwxyuj{
    display:grid; grid-template-columns:1fr 1fr; gap:10px;
}
.miniwxyuk{
    background:white; padding:15px; border-radius:8px; text-align:center;
}
.miniwxyul{
    color:#07c160; font-size:1.5rem; margin-bottom:5px;
}
.miniwxyum{
    background:#111; color:white;
}
.miniwxyun{
    text-align:center; padding:40px 0;
}
.miniwxyuo{
    width:150px; height:150px; border-radius:50%; border:4px solid #07c160; margin:0 auto; display:flex; align-items:center; justify-content:center; font-size:2.5rem;
}
.miniwxyup{
    margin-top:20px; color:#999;
}
.miniwxyuq{
    display:flex; justify-content:space-around; margin-top:20px;
}
.miniwxyur{
    font-size:1.5rem; color:#07c160;
}
.miniwxyus{
    font-size:0.8rem; margin-top:5px; display:block;
}
.miniwxyut{
    font-size:1.5rem; color:#fff;
}
.miniwxyuu{
    font-size:2rem; font-weight:bold; margin-bottom:1rem;
}
.miniwxyuv{
    opacity:0.8; max-width:600px; margin:0 auto;
}
.minidxya{
    font-size:0.9rem; opacity:0.7; margin-top:10px;
}
.minidxyb{
    text-align:center; font-size:1.8rem; font-weight:bold; margin-bottom:2.5rem;margin-top: 70px
}
.minidxyd{
    color:var(--wx-green)
}
.minidxye{
    font-size:0.75rem; color:#999; margin-bottom:2px;
}
.minidxyf{
    background:#95ec69; border-color:#8ad962;
}
.minidxyg{
    width:40px; height:40px;
}
.minidxyh{
    flex:1;
}
.minidxyi{
    flex-direction:row-reverse;
}
.minidxyj{
    font-size:0.8rem; font-weight:bold;
}
.minidxyk{
    font-size:0.7rem; color:#999;
}
.minidxyl{
    font-size:0.7rem; color:#999; margin-top:5px; text-align:right;
}
.minidxym{
    font-weight:bold; margin-bottom:10px; color:#333;
}
.minidxyn{
    border:0; border-top:1px solid #eee; margin:10px 0;
}
.minidxyo{
    font-weight:bold; margin-bottom:5px; color:#333;
}
.minidxyp{
    margin-bottom:5px;
}
.minidxyq{
    font-size:1.8rem; font-weight:bold; margin-bottom:1rem;
}
.minidxyr{
    color:#666;
}
.minidxys{
    font-size:1.8rem; font-weight:bold; color:#333; margin-bottom:2rem;
}
.minidxyt{
    font-size:0.8rem; color:#666;
}
.minidxyu{
    background-color: #f5f7fa;
}
