/* ============================================================
   案例与演示页 - 弧形手机轮播
   ============================================================ */

:root {
    --mp-bg: #0f172a;
    --mp-surface: #1e293b;
    --mp-card: #1e293b;
    --mp-text: #f1f5f9;
    --mp-sub: #94a3b8;
    --mp-muted: #64748b;
    --mp-border: #334155;
    --mp-accent: #3b82f6;
    --mp-accent2: #8b5cf6;
}

/* ---- 页面基础 ---- */
.miniprogram-page {
    background: var(--mp-bg);
    color: var(--mp-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
}

/* ---- 通用区域 ---- */
.mp-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 32px 80px;
}

.mp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.mp-section-header .badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 999px;
    color: #60a5fa;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.mp-section-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 12px;
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mp-section-header p {
    font-size: .95rem;
    color: var(--mp-sub);
    margin: 0;
    line-height: 1.65;
}

/* ============================================================
   第1屏 - 弧形手机轮播
   ============================================================ */
.mp-hero {
    position: relative;
    width: 100%;
    /* 使用 dvh 动态视口高度，适配手机地址栏展开/收缩，避免遮挡 */
    height: calc(100dvh - 68px);
    min-height: 520px;
    max-height: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 48%, #1a2744 0%, #0f172a 55%, #020617 100%);
}

/* ---- 背景 ---- */
.mp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .18;
}

.orb-1 {
    width: 550px; height: 550px;
    background: #3b82f6;
    top: -12%; left: -8%;
    animation: orbDrift 16s ease-in-out infinite;
}

.orb-2 {
    width: 420px; height: 420px;
    background: #8b5cf6;
    bottom: -10%; right: -6%;
    animation: orbDrift 18s ease-in-out infinite reverse;
}

.orb-3 {
    width: 350px; height: 350px;
    background: #f97316;
    top: 55%; left: 55%;
    animation: orbDrift 20s ease-in-out infinite;
}

.orb-4 {
    width: 280px; height: 280px;
    background: #06b6d4;
    top: 30%; left: 20%;
    animation: orbDrift 22s ease-in-out infinite alternate;
    opacity: .1;
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(35px, -30px); }
    66% { transform: translate(-25px, 20px); }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 45%, black 30%, transparent 70%);
}

/* ---- 浮动粒子 ---- */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.hero-particle.p1 { width:3px; height:3px;  background:#60a5fa; top:18%; left:22%; animation: particleFloat 7s ease-in-out 0s infinite; }
.hero-particle.p2 { width:2px; height:2px;  background:#a78bfa; top:25%; left:78%; animation: particleFloat 8.5s ease-in-out 1.5s infinite; }
.hero-particle.p3 { width:4px; height:4px;  background:#f9a8d4; top:70%; left:15%; animation: particleFloat 6.2s ease-in-out 0.8s infinite; }
.hero-particle.p4 { width:3px; height:3px;  background:#60a5fa; top:72%; left:82%; animation: particleFloat 9s ease-in-out 2.3s infinite; }
.hero-particle.p5 { width:2px; height:2px;  background:#38bdf8; top:45%; left:35%; animation: particleFloat 7.8s ease-in-out 0.4s infinite; }
.hero-particle.p6 { width:4px; height:4px;  background:#a78bfa; top:55%; left:68%; animation: particleFloat 8s ease-in-out 3s infinite; }
.hero-particle.p7 { width:2px; height:2px;  background:#f9a8d4; top:12%; left:55%; animation: particleFloat 6.8s ease-in-out 1.8s infinite; }
.hero-particle.p8 { width:3px; height:3px;  background:#60a5fa; top:80%; left:45%; animation: particleFloat 9.5s ease-in-out 2.7s infinite; }

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: .7; }
    50% { opacity: .35; transform: translateY(-35px) scale(1.6); }
    80% { opacity: .7; }
    100% { opacity: 0; transform: translateY(-70px) scale(.6); }
}

/* ---- 标题 ---- */
.mp-hero-header {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    width: 90%;
    max-width: 620px;
    animation: headerFadeIn .8s ease both;
}

@keyframes headerFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-18px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mp-hero-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 20px;
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 999px;
    color: #7cb3ff;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mp-hero-header .badge::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 8px #60a5fa;
    animation: badgeDotPulse 2s ease-in-out infinite;
}

@keyframes badgeDotPulse {
    0%, 100% { opacity: .6; box-shadow: 0 0 6px #60a5fa; }
    50% { opacity: 1; box-shadow: 0 0 14px #60a5fa; }
}

.mp-hero-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 12px;
    letter-spacing: -.3px;
    line-height: 1.3;
}

.mp-hero-header .grad-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f9a8d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradShift 4s ease-in-out infinite;
}

@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mp-hero-header .sub {
    font-size: .95rem;
    color: var(--mp-sub);
    margin: 0;
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto;
}

/* ---- 弧形轮播容器 ---- */
.phone-arc-wrapper {
    position: relative;
    width: 100%;
    height: 82%;
    perspective: 360px;
    perspective-origin: 50% 44%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    touch-action: pan-y;
}

.phone-arc-wrapper:active,
.phone-arc-wrapper.dragging {
    cursor: grabbing;
}

.phone-arc-wrapper.dragging .phone-item {
    transition: none !important;
}

/* 切换期间锁定触摸 */
.phone-arc-wrapper.switching {
    touch-action: none;
    pointer-events: none;
}

/* ---- 弧形舞台 ---- */
.phone-arc-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
}

/* ---- 弧形轨道 ---- */
.phone-arc-track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}

/* ---- 3D 地面光环（空间锚点）---- */
.phone-floor-ring {
    position: absolute;
    bottom: 4%;
    left: 50%;
    width: 880px;
    height: 110px;
    background: radial-gradient(ellipse at center,
        rgba(59, 130, 246, .22) 0%,
        rgba(59, 130, 246, .09) 28%,
        rgba(139, 92, 246, .05) 52%,
        transparent 100%);
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
    animation: floorPulse 3s ease-in-out infinite;
}

@keyframes floorPulse {
    0%, 100% { opacity: .5; transform: translateX(-50%) scale(1); }
    50% { opacity: .9; transform: translateX(-50%) scale(1.12); }
}

/* 地面网格线（参照平面） */
.phone-floor-grid {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 880px;
    height: 40px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(90deg, transparent 48%, rgba(59,130,246,.06) 49.5%, rgba(59,130,246,.06) 50.5%, transparent 52%),
        repeating-linear-gradient(90deg, transparent, transparent 58px, rgba(255,255,255,.02) 58px, rgba(255,255,255,.02) 60px);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 75%);
}

/* ---- 中心位置标识光晕（匹配 300px 宽的中心手机）---- */
.arc-center-hint {
    position: absolute;
    bottom: 10%;
    left: 50%;
    width: 260px;
    height: 50px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, .25) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
    animation: hintPulse 2.5s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: .4; transform: translateX(-50%) scale(1); }
    50% { opacity: .8; transform: translateX(-50%) scale(1.15); }
}

/* ---- 两侧渐变遮罩 ---- */
.arc-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 4;
    pointer-events: none;
}

.arc-mask-left {
    left: 0;
    background: linear-gradient(to right, #0f172a 0%, transparent 100%);
}

.arc-mask-right {
    right: 0;
    background: linear-gradient(to left, #0f172a 0%, transparent 100%);
}

/* ============================================================
   手机项 - 精致拟物外观 | 中心手机稳如磐石
   所有手机同尺寸(160x320)，由 JS transform scale 控制视觉效果
   ============================================================ */
.phone-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 320px;
    margin-left: -80px;
    margin-top: -160px;
    transform-style: preserve-3d;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1),
                opacity .45s ease,
                filter .45s ease,
                z-index .45s ease;
    cursor: pointer;
    /* 不使用 will-change：过多合成层会在平板触发 GPU 重绘闪烁（屏闪） */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 3D 地面阴影：每个手机下方的椭圆投影，随手机位移自动缩放 */
.phone-item::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -32px;
    width: 100px;
    height: 18px;
    margin-left: -50px;
    background: radial-gradient(ellipse, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(0);
    transition: inherit;
    z-index: -1;
}

/* ---- 手机金属边框 ---- */
.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(165deg, #1e1e34 0%, #13132a 28%, #1a1a34 55%, #1f1f3a 100%);
    overflow: visible;
    transform-style: preserve-3d;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        inset 0 -1px 0 rgba(0,0,0,.25),
        0 2px 0 rgba(180,190,210,.12),
        0 4px 0 rgba(140,150,170,.08),
        0 6px 20px rgba(0,0,0,.3),
        0 10px 40px rgba(0,0,0,.4);
    transition: box-shadow .5s ease;
}

/* 金属边框高光线 */
.phone-frame::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.05);
    pointer-events: none;
    z-index: 9;
}

/* ---- 中心手机增强光效 ---- */
.phone-item.active .phone-frame {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -1px 0 rgba(0,0,0,.2),
        0 0 0 2.5px rgba(100, 140, 200, .4),
        0 0 0 4.5px rgba(15, 20, 45, .88),
        0 0 50px rgba(59, 130, 246, .35),
        0 0 90px rgba(59, 130, 246, .15),
        0 0 160px rgba(139, 92, 246, .08),
        0 22px 65px rgba(0,0,0,.55);
    animation: centerGlowPulse 3.5s ease-in-out infinite;
}

@keyframes centerGlowPulse {
    0%, 100% {
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.2), 0 0 0 2.5px rgba(100,140,200,.4), 0 0 0 4.5px rgba(15,20,45,.88), 0 0 50px rgba(59,130,246,.35), 0 0 90px rgba(59,130,246,.15), 0 0 160px rgba(139,92,246,.08), 0 22px 65px rgba(0,0,0,.55);
    }
    50% {
        box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.15), 0 0 0 2.5px rgba(100,140,200,.55), 0 0 0 4.5px rgba(15,20,45,.92), 0 0 70px rgba(59,130,246,.45), 0 0 120px rgba(59,130,246,.22), 0 0 200px rgba(139,92,246,.12), 0 26px 72px rgba(0,0,0,.6);
    }
}

/* ---- 悬停态 ---- */
.phone-item:not(.active):hover .phone-frame {
    filter: brightness(1.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.1),
        inset 0 -1px 0 rgba(0,0,0,.2),
        0 0 0 2px rgba(59, 130, 246, .4),
        0 0 0 3.5px rgba(20, 20, 40, .85),
        0 0 30px rgba(59,130,246,.18),
        0 12px 40px rgba(0,0,0,.45);
}

/* ============================================================
   手机物理按键
   ============================================================ */

/* 音量键 (左侧) */
.phone-vol-btn {
    position: absolute;
    left: -2.5px;
    width: 3.5px;
    background: linear-gradient(180deg, rgba(180,190,210,.3) 0%, rgba(140,150,170,.2) 100%);
    border-radius: 2px 0 0 2px;
    z-index: 8;
    pointer-events: none;
    transition: background .3s;
}

.phone-vol-up {
    top: 70px;
    height: 24px;
}

.phone-vol-down {
    top: 104px;
    height: 32px;
}

.phone-item.active .phone-vol-btn {
    background: linear-gradient(180deg, rgba(200,210,230,.4) 0%, rgba(160,170,190,.3) 100%);
}

/* 电源键 (右侧) */
.phone-power-btn {
    position: absolute;
    right: -2.5px;
    top: 74px;
    width: 3.5px;
    height: 38px;
    background: linear-gradient(180deg, rgba(180,190,210,.3) 0%, rgba(140,150,170,.2) 100%);
    border-radius: 0 2px 2px 0;
    z-index: 8;
    pointer-events: none;
    transition: background .3s;
}

.phone-item.active .phone-power-btn {
    background: linear-gradient(180deg, rgba(200,210,230,.4) 0%, rgba(160,170,190,.3) 100%);
}

/* ============================================================
   Dynamic Island 灵动岛
   ============================================================ */
.phone-notch-dynamic {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 19px;
    background: #0d0d1a;
    border-radius: 22px;
    z-index: 7;
    box-shadow: inset 0 1px 3px rgba(255,255,255,.05), 0 1px 2px rgba(0,0,0,.3);
}

.phone-item.active .phone-notch-dynamic {
    box-shadow: inset 0 1px 3px rgba(255,255,255,.1), 0 1px 3px rgba(0,0,0,.25);
}

/* ============================================================
   屏幕
   ============================================================ */
.phone-screen {
    position: absolute;
    inset: 7px;
    border-radius: 18px;
    background: linear-gradient(175deg, #f5f7fb 0%, #eef1f8 30%, #f8fafc 60%, #f1f4f9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 1px 4px rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.5);
}

/* 屏幕截图图片 — 填满整个屏幕区域 */
.phone-screen .screen-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    border-radius: 18px;
}

/* ---- 底部 Home 指示条 ---- */
.phone-home-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: rgba(255,255,255,.25);
    border-radius: 3px;
    z-index: 8;
    transition: background .3s;
}

.phone-item.active .phone-home-bar {
    background: rgba(255,255,255,.35);
}

/* ---- 玻璃反光层 ---- */
.phone-shine {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(140deg,
        rgba(255,255,255,.07) 0%,
        rgba(255,255,255,.02) 15%,
        transparent 40%,
        transparent 65%,
        rgba(255,255,255,.04) 80%,
        rgba(255,255,255,.02) 100%);
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.phone-shine::after {
    content: '';
    position: absolute;
    top: -25%;
    left: -15%;
    width: 55%;
    height: 130%;
    background: linear-gradient(180deg,
        rgba(255,255,255,.08) 0%,
        rgba(255,255,255,.02) 40%,
        transparent 70%);
    transform: rotate(12deg);
    pointer-events: none;
}

/* ============================================================
   真实弧形旋转切换 — 所有手机沿弧线物理滑动
   ============================================================ */

/* 切换期间禁止交互 */
.phone-arc-wrapper.switching .phone-item {
    pointer-events: none !important;
}

/* 阶段1：手机沿弧线滑动（transform/opacity/filter 平滑过渡） */
.phone-item.carousel-slide {
    transition: transform .48s cubic-bezier(.18, .74, .36, 1),
                opacity .42s ease,
                filter .42s ease,
                z-index 0s !important;
}

/* ============================================================
   箭头按钮
   ============================================================ */
/* ============================================================
   手机切换导航栏 — 下方按钮 + 圆点指示器
   ============================================================ */
.phone-nav-bar {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(15, 23, 42, .75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(71, 85, 105, .25);
    border-radius: 50px;
}

/* 左右箭头按钮 */
.phone-nav-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 16px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(30, 41, 59, .7);
    color: #cbd5e1;
    font-size: .88rem;
    cursor: pointer;
    transition: all .3s ease;
    white-space: nowrap;
}

.phone-nav-btn:hover {
    background: rgba(59, 130, 246, .18);
    border-color: rgba(59, 130, 246, .45);
    color: #fff;
}

.phone-nav-btn:active {
    transform: scale(.95);
}

.phone-nav-btn i {
    font-size: 1.1rem;
}

.nav-btn-label {
    font-size: .78rem;
    font-weight: 500;
}

/* 圆点指示器容器 */
.phone-nav-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
}

/* 单个圆点 */
.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, .25);
    border: none;
    cursor: pointer;
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
    padding: 0;
}

.nav-dot:hover {
    background: rgba(59, 130, 246, .5);
    transform: scale(1.3);
}

.nav-dot.active {
    width: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    box-shadow: 0 0 12px rgba(59, 130, 246, .4);
}

/* ---- 切换计数器 ---- */
.phone-counter {
    margin-left: 10px;
    font-size: .82rem;
    font-weight: 700;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    letter-spacing: .5px;
}

/* 模式1：不显示的旧箭头按钮 */
.arc-arrow {
    display: none;
}

/* ---- 信息卡与滑动提示（隐藏，纯手机展示）---- */
.mp-hero-info { display: none !important; }
.swipe-hint { display: none !important; }

/* ============================================================
   第2屏 - 标杆品牌合作案例（6宫格 + 二维码弹窗）
   ============================================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto;
}

/* ---- 卡片主体 ---- */
.case-card {
    position: relative;
    background: linear-gradient(160deg, #1a2744 0%, #14203a 40%, #16223d 100%);
    border-radius: 18px;
    overflow: visible;
    border: 1px solid rgba(71, 85, 105, .25);
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    /* 入场动画 */
    opacity: 0;
    transform: translateY(30px);
    animation: caseFadeIn .6s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes caseFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.case-card:nth-child(1) { animation-delay: .05s; }
.case-card:nth-child(2) { animation-delay: .12s; }
.case-card:nth-child(3) { animation-delay: .19s; }
.case-card:nth-child(4) { animation-delay: .26s; }
.case-card:nth-child(5) { animation-delay: .33s; }
.case-card:nth-child(6) { animation-delay: .40s; }

/* 顶部品牌色条 */
.case-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 20px; right: 20px;
    height: 2px;
    background: var(--case-color, linear-gradient(90deg, #3b82f6, #8b5cf6));
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 3;
}

.case-card:hover::before {
    opacity: 1;
}

/* 卡片外发光 */
.case-card::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(59, 130, 246, .4), rgba(139, 92, 246, .25), rgba(236, 72, 153, .2));
    opacity: 0;
    z-index: -1;
    transition: opacity .4s ease;
    pointer-events: none;
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, .5);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(59, 130, 246, .1);
}

.case-card:hover::after {
    opacity: 1;
}

/* ---- 卡片内层 ---- */
.case-card-inner {
    padding: 28px 24px 24px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ---- 头部：品牌图标 + 名称 ---- */
.case-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.case-card .case-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

.case-card:hover .case-icon {
    transform: scale(1.15);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .35);
}

.case-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
    color: #e8ecf1;
    line-height: 1.35;
    letter-spacing: .2px;
}

/* ---- 副标题品牌标语 ---- */
.case-card .case-subtitle {
    font-size: .75rem;
    color: #64748b;
    margin: 3px 0 0;
    font-weight: 500;
}

/* ---- 描述文本 ---- */
.case-card .case-desc {
    font-size: .85rem;
    color: #cbd5e1;
    line-height: 1.78;
    margin: 0 0 auto;
    flex: 1;
    letter-spacing: .1px;
}

/* ---- 分隔线 ---- */
.case-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(71, 85, 105, .4), transparent);
    margin: 16px 0 14px;
    transition: background .4s;
}

.case-card:hover .case-divider {
    background: linear-gradient(90deg, rgba(59, 130, 246, .5), rgba(139, 92, 246, .2), transparent);
}

/* ---- 标签区域 ---- */
.case-card .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.case-card .case-tag {
    font-size: .7rem;
    font-weight: 500;
    padding: 4px 11px;
    background: rgba(148, 163, 184, .06);
    color: #8899b4;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, .1);
    letter-spacing: .2px;
    transition: all .3s ease;
}

.case-card:hover .case-tag {
    background: rgba(59, 130, 246, .1);
    border-color: rgba(59, 130, 246, .2);
    color: #a3c4ff;
}

/* ---- 二维码标识徽章 ---- */
.case-qr-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    font-weight: 600;
    padding: 5px 12px;
    background: rgba(59, 130, 246, .18);
    color: #7db4ff;
    border-radius: 99px;
    border: 1px solid rgba(59, 130, 246, .2);
    transition: all .35s ease;
    z-index: 4;
    white-space: nowrap;
    letter-spacing: .3px;
}

.case-card:hover .case-qr-badge {
    background: rgba(59, 130, 246, .35);
    color: #b8d4ff;
    border-color: rgba(59, 130, 246, .45);
    box-shadow: 0 0 18px rgba(59, 130, 246, .3);
    transform: translateY(-2px);
}

/* ============================================================
   卡片 3D 翻转：二维码展示（桌面端悬停 + 手机端点击）
   ============================================================ */

/* ---- 可翻转卡片容器 ---- */
.case-card-flip {
    perspective: 900px;
}

/* ---- 翻转层 ---- */
.case-card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
    transform-style: preserve-3d;
}

.case-card-flip.flipped .case-card-flipper {
    transform: rotateY(180deg);
}

/* ---- 正面 ---- */
.case-card-front {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: relative;
    z-index: 2;
}

/* 翻转卡片正面需要 .case-card-inner 相同的 padding */
.case-card-flip .case-card-front {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ---- 背面：二维码 ---- */
.case-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    text-align: center;
    z-index: 1;
}

/* 二维码渐变边框包装 */
.flip-qr-wrap {
    display: inline-block;
    position: relative;
    padding: 8px;
    border-radius: 14px;
    background: linear-gradient(135deg,
        var(--case-color, #3b82f6),
        #8b5cf6,
        #ec4899,
        var(--case-color, #3b82f6)
    );
    background-size: 300% 300%;
    animation: qrBorderShift 3.5s ease-in-out infinite;
    margin-bottom: 14px;
    box-shadow: 0 0 24px rgba(59, 130, 246, .25), 0 0 50px rgba(139, 92, 246, .12);
}

@keyframes qrBorderShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.flip-qr-wrap img {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}

/* 背面案例名称 */
.flip-qr-name {
    margin: 0 0 4px;
    font-size: .95rem;
    font-weight: 700;
    color: #e8ecf1;
    letter-spacing: .3px;
}

/* 背面提示文字 */
.flip-qr-hint {
    margin: 0 0 14px;
    font-size: .75rem;
    color: #64748b;
    letter-spacing: .2px;
}

/* 背面 "点击返回" 提示 */
.flip-back-hint {
    font-size: .68rem;
    color: rgba(148, 163, 184, .5);
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 手机端显示 "点击返回"，桌面端不显示（因为悬停自动回翻） */
@media (hover: hover) {
    .flip-back-hint {
        display: none;
    }
}

/* ---- 翻转状态下的悬停效果调整 ---- */
.case-card-flip.flipped:hover {
    transform: none;           /* 翻转时不做上浮 */
}
.case-card-flip.flipped:hover::after {
    opacity: 1;               /* 保持光晕 */
}

/* ---- 翻转状态下顶部品牌色条保持显示 ---- */
.case-card-flip.flipped::before {
    opacity: 1;
}

/* ---- 响应式：平板 2 列 ---- */
@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .case-card-inner {
        padding: 24px 20px 22px;
    }
    .case-card-flip .case-card-front {
        padding: 24px 20px 22px;
    }
    .flip-qr-wrap img {
        width: 130px;
        height: 130px;
    }
}

/* ---- 响应式：手机 1 列 ---- */
@media (max-width: 680px) {
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 420px;
    }
    .case-card-inner {
        padding: 22px 18px 20px;
    }
    .case-card h3 {
        font-size: 1rem;
    }
    .case-card .case-desc {
        font-size: .82rem;
    }
    .case-card-flip .case-card-front {
        padding: 22px 18px 20px;
    }
    .flip-qr-wrap img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .flip-qr-wrap img {
        width: 105px;
        height: 105px;
    }
    .flip-qr-wrap {
        padding: 6px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    .flip-qr-name {
        font-size: .85rem;
    }
    .flip-qr-hint {
        font-size: .7rem;
    }
}

/* ============================================================
   第3屏 - 演示账号卡片
   ============================================================ */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.demo-card {
    position: relative;
    background: var(--mp-card);
    border-radius: 16px;
    padding: 32px 28px 28px;
    text-align: center;
    border: 1px solid var(--mp-border);
    transition: all .35s ease;
}

.demo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, .3);
    box-shadow: 0 18px 48px rgba(0,0,0,.3);
}

.demo-card .demo-card-badge {
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 16px;
    color: #fff;
    border-radius: 999px;
    white-space: nowrap;
    transition: box-shadow .3s;
    letter-spacing: .3px;
}

.demo-card:hover .demo-card-badge {
    box-shadow: 0 0 20px rgba(139, 92, 246, .35);
}

.demo-card .demo-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 22px auto 12px;
}

.demo-card .demo-avatar .demo-emoji {
    line-height: 1;
}

.demo-card .demo-name {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #e2e8f0;
}

.demo-card .demo-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.demo-card .demo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(148, 163, 184, .05);
    border-radius: 10px;
    font-size: .82rem;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, .08);
    text-align: left;
    transition: background .25s, border-color .25s;
}

.demo-card:hover .demo-row {
    background: rgba(59, 130, 246, .05);
    border-color: rgba(59, 130, 246, .1);
}

.demo-card .demo-row i {
    color: #60a5fa;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---- 账号密码区 ---- */
.demo-card .demo-auth {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px dashed;
}

.demo-auth-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 0;
}

.demo-auth-label {
    font-size: .78rem;
    color: #64748b;
    min-width: 60px;
    text-align: right;
    letter-spacing: .2px;
}

.demo-auth-val {
    font-size: .82rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(148, 163, 184, .08);
    padding: 3px 12px;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
    letter-spacing: .3px;
}

/* ---- 底部提示 ---- */
.demo-card .demo-hint {
    margin-top: 14px;
    font-size: .72rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: .85;
    letter-spacing: .1px;
}

/* ---- 底部 CTA ---- */
.mp-cta {
    text-align: center;
    padding: 50px 24px 90px;
}

.mp-cta .btn {
    display: inline-block;
    padding: 16px 44px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all .3s;
}

.mp-cta .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    box-shadow: 0 6px 30px rgba(59, 130, 246, .35);
}

.mp-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 44px rgba(59, 130, 246, .5);
}

/* ============================================================
   客户反馈屏（先用上的老板，怎么说）—— 3 个图文模块依次排列
   ============================================================ */
.mp-testimonials {
    position: relative;
    padding-bottom: 100px;
}
/* 全屏背景层（铺满视口宽度，三端自适应） */
.mp-testimonials::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 0;
    border-top: 1px solid #e6ecf7;
    border-bottom: 1px solid #e6ecf7;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,255,255,.95) 0%, transparent 62%),
        radial-gradient(circle at 8% 24%, rgba(59,130,246,.10) 0%, transparent 46%),
        radial-gradient(circle at 92% 70%, rgba(139,92,246,.09) 0%, transparent 48%),
        linear-gradient(135deg, #e7efff 0%, #f7f9fd 46%, #f3eefd 100%);
    pointer-events: none;
}
/* 动态光球（漂移 + 呼吸） */
.mp-testimonials::after {
    content: '';
    position: absolute;
    top: -140px; right: 6%;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(59,130,246,.14), transparent 65%);
    filter: blur(34px);
    pointer-events: none;
    z-index: 0;
    animation: mpTmOrb 12s ease-in-out infinite alternate;
}
@keyframes mpTmOrb {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(-60px, 40px) scale(1.15); }
}

.mp-testimonials .mp-section-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 56px;
}
.mp-testimonials .mp-section-header h2 {
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0f172a;
}
.mp-testimonials .mp-section-header p { color: #475569; }
.mp-testimonials .mp-section-header .badge {
    background: rgba(37, 99, 235, .1);
    border-color: rgba(37, 99, 235, .3);
    color: #2563eb;
}

.mp-tm-progress {
    max-width: 720px;
    margin: 26px auto 0;
    height: 4px;
    background: rgba(15,23,42,.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.mp-tm-progress-bar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #8b5cf6);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(37,99,235,.35);
}

.mp-testimonials-list {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.mp-tm-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease-out, transform .8s cubic-bezier(.22,.9,.35,1.05);
}
.mp-tm-item.in-view { opacity: 1; transform: translateY(0); }

.mp-tm-side-right .mp-tm-visual { order: 1; }
.mp-tm-side-right .mp-tm-text   { order: 2; }
.mp-tm-side-left  .mp-tm-visual { order: 2; }
.mp-tm-side-left  .mp-tm-text   { order: 1; }

.mp-tm-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 460px;
    background: linear-gradient(140deg, #1c2940 0%, #0e1626 100%);
    box-shadow: 0 28px 64px rgba(15,23,42,.22), inset 0 0 0 1px rgba(255,255,255,.07);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .55s cubic-bezier(.22,.9,.35,1.05), box-shadow .55s ease;
}
.mp-tm-visual:hover {
    transform: scale(1.015);
    box-shadow: 0 34px 78px rgba(15,23,42,.28), inset 0 0 0 1px rgba(255,255,255,.1);
}
.mp-tm-visual::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 28% 22%, var(--mp-tm-glow, rgba(59,130,246,.4)), transparent 52%),
        radial-gradient(circle at 74% 78%, var(--mp-tm-glow2, rgba(139,92,246,.3)), transparent 58%);
    pointer-events: none;
    animation: mpTmGlow 7s ease-in-out infinite alternate;
}
@keyframes mpTmGlow {
    from { opacity: .85; }
    to   { opacity: 1; }
}
.mp-tm-visual::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
    pointer-events: none;
}

.mp-tm-visual-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s ease;
}
.mp-tm-visual:hover .mp-tm-visual-img { transform: scale(1.04); }
.mp-tm-visual-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35) 100%);
}

.mp-tm-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #f1f5f9;
    padding: 26px;
}
.mp-tm-visual-emoji {
    font-size: 4.8rem;
    display: inline-block;
    margin-bottom: 16px;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
    animation: mpTmEmoji 3.6s ease-in-out infinite;
}
@keyframes mpTmEmoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.mp-tm-visual-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.mp-tm-visual-sub {
    font-size: .84rem;
    color: #a8b6c8;
    letter-spacing: 3px;
}

.mp-tm-visual-glow {
    position: absolute;
    right: 16px; top: 16px;
    z-index: 2;
    font-size: .72rem;
    color: #fff;
    background: rgba(0,0,0,.45);
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.mp-tm-visual:hover .mp-tm-visual-glow { opacity: 1; transform: translateY(0); }

.mp-tm-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mp-tm-meta {
    display: inline-block;
    align-self: flex-start;
    font-size: .78rem;
    font-weight: 700;
    color: var(--mp-tm-color, #2563eb);
    letter-spacing: 2px;
    padding: 5px 14px;
    background: var(--mp-tm-color-bg, rgba(37,99,235,.08));
    border: 1px solid var(--mp-tm-color-bd, rgba(37,99,235,.3));
    border-radius: 999px;
    margin-bottom: 18px;
}
.mp-tm-title {
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 26px;
    line-height: 1.4;
    letter-spacing: -.005em;
}
.mp-tm-block { margin-bottom: 20px; }
.mp-tm-block-t {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--mp-tm-color, #2563eb);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.mp-tm-block-t::before {
    content: '';
    width: 16px; height: 2px;
    border-radius: 1px;
    background: var(--mp-tm-color, #2563eb);
}
.mp-tm-block-p {
    font-size: .98rem;
    color: #475569;
    line-height: 1.9;
    margin: 0;
}
.mp-tm-bullets {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.mp-tm-bullets li {
    position: relative;
    padding-left: 24px;
    font-size: .94rem;
    color: #334155;
    line-height: 1.75;
}
.mp-tm-bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--mp-tm-color, #2563eb);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.mp-tm-bullets li strong { color: #0f172a; font-weight: 700; }

.mp-tm-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0 20px;
}
.mp-tm-metric {
    position: relative;
    background: transparent;
    padding: 18px 14px;
    text-align: center;
    transition: transform .35s ease;
}
.mp-tm-metric::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    width: 0; height: 2px;
    background: var(--mp-tm-color, #2563eb);
    transform: translateX(-50%);
    transition: width .4s ease;
}
.mp-tm-metric:hover {
    transform: translateY(-4px);
}
.mp-tm-metric:hover::after { width: 100%; }
.mp-tm-metric-num {
    display: block;
    font-size: 1.65rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 7px;
    font-variant-numeric: tabular-nums;
}
.mp-tm-metric-label {
    font-size: .8rem;
    color: #64748b;
}

.mp-tm-quote {
    position: relative;
    margin: 24px 0 0;
    padding: 0 0 0 40px;
    background: transparent;
    border-left: 3px solid var(--mp-tm-color, #2563eb);
    font-size: .97rem;
    color: #334155;
    line-height: 1.8;
}
.mp-tm-quote p { margin: 0 0 8px; }
.mp-tm-quote cite {
    display: block;
    font-style: normal;
    font-size: .84rem;
    color: var(--mp-tm-color, #2563eb);
    font-weight: 700;
}
.mp-tm-qmark {
    position: absolute;
    left: 10px; top: -6px;
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--mp-tm-color, #2563eb);
    line-height: 1;
    opacity: .45;
    font-family: Georgia, serif;
}

.mp-tm-blue   { --mp-tm-color: #2563eb; --mp-tm-color-bg: rgba(37,99,235,.08);   --mp-tm-color-bd: rgba(37,99,235,.3);   --mp-tm-glow: rgba(59,130,246,.4);   --mp-tm-glow2: rgba(96,165,250,.25); }
.mp-tm-pink   { --mp-tm-color: #db2777; --mp-tm-color-bg: rgba(219,39,119,.08);  --mp-tm-color-bd: rgba(219,39,119,.3);  --mp-tm-glow: rgba(236,72,153,.4);   --mp-tm-glow2: rgba(244,114,182,.25); }
.mp-tm-amber  { --mp-tm-color: #d97706; --mp-tm-color-bg: rgba(217,119,6,.08);   --mp-tm-color-bd: rgba(217,119,6,.3);   --mp-tm-glow: rgba(217,119,6,.4);    --mp-tm-glow2: rgba(251,191,36,.25); }

@media (max-width: 1024px) {
    .mp-testimonials-list { gap: 60px; }
    .mp-tm-item { grid-template-columns: 1fr; gap: 28px; }
    .mp-tm-side-right .mp-tm-visual,
    .mp-tm-side-left  .mp-tm-visual { order: 1; }
    .mp-tm-side-right .mp-tm-text,
    .mp-tm-side-left  .mp-tm-text { order: 2; }
    .mp-tm-visual { min-height: 0; aspect-ratio: 16/9; width: 100%; }
}
@media (max-width: 768px) {
    .mp-testimonials-list { gap: 48px; }
    .mp-tm-item { gap: 22px; }
    .mp-tm-visual { aspect-ratio: 4/3; }
    .mp-tm-visual-emoji { font-size: 3rem; }
    .mp-tm-visual-name { font-size: 1.15rem; }
    .mp-tm-metrics { gap: 8px; }
    .mp-tm-metric { padding: 12px 8px; }
    .mp-tm-metric-num { font-size: 1.2rem; }
    .mp-tm-quote { padding: 0 0 0 32px; font-size: .88rem; }
    .mp-tm-qmark { left: 6px; top: -5px; font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .mp-tm-metrics { grid-template-columns: 1fr 1fr 1fr; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    /* 平板修复闪烁：dvh 会随地址栏伸缩实时变化导致高度抖动+内容重排闪烁，
       改用固定 100vh（不含动态工具栏），配合下方 svh 兜底 */
    .mp-hero { height: 100vh; height: 100svh; }
    .cases-grid,
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .arc-mask { width: 60px; }

    /* 平板降级：减少大模糊光球的 GPU 渲染压力，修复屏闪 */
    .bg-orb { filter: blur(60px); }
    .orb-1 { width: 400px; height: 400px; }
    .orb-2 { width: 300px; height: 300px; }
    .orb-3 { width: 260px; height: 260px; }
    .orb-4 { width: 200px; height: 200px; }

    /* 关闭光球漂移动画（大模糊元素动画是屏闪主因之一） */
    .bg-orb { animation: none !important; }

    /* 禁用 backdrop-filter（部分平板浏览器有渲染闪烁 bug） */
    .mp-hero-header .badge { backdrop-filter: none; -webkit-backdrop-filter: none; }

    /* 减少粒子数量带来的合成层开销 */
    .hero-particle { animation-duration: 12s !important; }

    /* 停止渐变文字位移动画（background-clip:text 动画在平板易闪烁） */
    .mp-hero-header .grad-text { animation: none; }

    /* 地面光环脉冲降级为静态（减少 opacity 动画） */
    .phone-floor-ring { animation: none; }
    .arc-center-hint { animation: none; }
}

/* ---- 平板/大手机：手机模型缩小至 110x220，减少视觉臃肿 ---- */
@media (max-width: 768px) {
    .mp-hero { height: 100vh; height: 100svh; }
    .mp-section { padding: 60px 16px 40px; }
    .mp-section-header h2 { font-size: 1.6rem; }
    .mp-hero-header h1 { font-size: 1.7rem; }
    .mp-hero-header { top: 24px; }
    .arc-mask { width: 40px; }
    .arc-center-hint { width: 130px; height: 28px; }
    .phone-nav-bar { bottom: 24px; gap: 4px; padding: 6px 8px; }
    .phone-nav-btn { padding: 7px 12px; }
    .phone-nav-btn i { font-size: .95rem; }
    .nav-btn-label { display: none; }
    .nav-dot { width: 6px; height: 6px; }
    .nav-dot.active { width: 18px; }
    .phone-nav-dots { gap: 4px; padding: 0 4px; }
    .phone-floor-ring { width: 400px; height: 50px; }
    .phone-floor-grid { width: 420px; height: 28px; }
    /* 手机模型缩小 */
    .phone-item { width: 112px; height: 224px; margin-left: -56px; margin-top: -112px; }
    .phone-item::after { width: 64px; height: 12px; margin-left: -32px; bottom: -22px; }
    .phone-screen { inset: 5px; border-radius: 14px; }
    .phone-screen .screen-image { border-radius: 14px; }
    .phone-frame { border-radius: 20px; }
    .phone-shine { border-radius: 20px; }
    .phone-notch-dynamic { width: 40px; height: 14px; top: 7px; border-radius: 16px; }
    .phone-vol-up { top: 46px; height: 15px; }
    .phone-vol-down { top: 68px; height: 20px; }
    .phone-power-btn { top: 48px; height: 26px; }
    .phone-home-bar { width: 44px; height: 3px; bottom: 7px; }
    .cases-grid,
    .demo-grid { grid-template-columns: 1fr; }
    .demo-card { padding: 28px 24px 24px; }
    .demo-auth-val { font-size: .78rem; }
    .demo-hint { font-size: .7rem; }
}

/* ---- 手机端：手机模型进一步缩小至 85x170，极简不臃肿 ---- */
@media (max-width: 480px) {
    .mp-hero { height: 100vh; height: 100svh; min-height: 400px; }
    .mp-hero-header h1 { font-size: 1.4rem; }
    .mp-hero-header .sub { font-size: .8rem; max-width: 280px; }
    .arc-mask { width: 28px; }
    .arc-center-hint { width: 90px; height: 22px; }
    .phone-nav-bar { bottom: 16px; gap: 2px; padding: 5px 6px; }
    .phone-nav-btn { padding: 6px 10px; }
    .nav-dot { width: 5px; height: 5px; }
    .nav-dot.active { width: 14px; }
    .phone-nav-dots { gap: 3px; }
    .phone-floor-ring { width: 260px; height: 38px; }
    .phone-floor-grid { width: 280px; height: 22px; }
    /* 手机模型大幅缩小 */
    .phone-item { width: 85px; height: 170px; margin-left: -42px; margin-top: -85px; }
    .phone-item::after { width: 48px; height: 9px; margin-left: -24px; bottom: -16px; }
    .phone-screen { inset: 4px; border-radius: 11px; }
    .phone-screen .screen-image { border-radius: 11px; }
    .phone-frame { border-radius: 15px; }
    .phone-frame::before { border-radius: 13px; inset: 1.5px; }
    .phone-shine { border-radius: 15px; }
    .phone-notch-dynamic { width: 30px; height: 10px; top: 5px; border-radius: 12px; }
    .phone-vol-up { top: 34px; height: 12px; }
    .phone-vol-down { top: 52px; height: 16px; }
    .phone-power-btn { top: 36px; height: 20px; }
    .phone-home-bar { width: 32px; height: 2.5px; bottom: 5px; }
    .phone-vol-btn { left: -2px; width: 2.5px; }
    .phone-power-btn { right: -2px; width: 2.5px; }
    .demo-card { padding: 22px 18px 20px; border-radius: 14px; }
    .demo-card .demo-card-badge { font-size: .68rem; padding: 3px 14px; }
    .demo-card .demo-avatar { width: 52px; height: 52px; font-size: 1.8rem; border-radius: 13px; }
    .demo-card .demo-name { font-size: .92rem; margin-bottom: 16px; }
    .demo-card .demo-rows { gap: 6px; margin-bottom: 14px; }
    .demo-card .demo-row { padding: 8px 12px; font-size: .76rem; }
    .demo-auth-row { padding: 4px 0; }
    .demo-auth-label { font-size: .73rem; }
    .demo-auth-val { font-size: .76rem; padding: 2px 10px; }
    .demo-card .demo-hint { font-size: .68rem; margin-top: 10px; }
}

/* ============================================================
   第3屏 - 他们也在用 JKPOS（门店标签云）
   - 白色渐变背景，全宽铺满屏幕（三端自适应）
   - 玻璃感胶囊 + 动态光斑 + 鼠标视差 + 入场动画
   ============================================================ */
.mp-stores {
    position: relative;
    overflow: visible;
    background: transparent;
    padding-top: 90px;
    padding-bottom: 90px;
}
/* 全宽白色渐变背景层（铺满视口宽度） */
.mp-stores::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    border-top: 1px solid #e6ecf7;
    border-bottom: 1px solid #e6ecf7;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,255,255,.96) 0%, transparent 62%),
        radial-gradient(circle at 8% 24%, rgba(59,130,246,.10) 0%, transparent 46%),
        radial-gradient(circle at 92% 70%, rgba(139,92,246,.09) 0%, transparent 48%),
        linear-gradient(135deg, #e7efff 0%, #f7f9fd 46%, #f3eefd 100%);
    pointer-events: none;
}
.mp-stores .mp-section-header { position: relative; z-index: 2; }
.mp-stores .mp-section-header h2 {
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0f172a;
}
.mp-stores .mp-section-header p { color: #475569; }
.mp-stores .mp-section-header .badge {
    background: rgba(139,92,246,.10);
    border-color: rgba(139,92,246,.28);
    color: #7c3aed;
}

/* ---- 动态光斑背景（全宽铺满） ---- */
.mp-stores-bg {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.stores-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .30;
    will-change: transform;
}
.stores-blob-1 {
    width: 420px; height: 420px;
    top: -120px; left: -80px;
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
    animation: storesBlobDrift 14s ease-in-out infinite alternate;
}
.stores-blob-2 {
    width: 380px; height: 380px;
    bottom: -100px; right: -60px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    animation: storesBlobDrift 16s ease-in-out infinite alternate-reverse;
}
.stores-blob-3 {
    width: 300px; height: 300px;
    top: 50%; left: 50%;
    margin-top: -150px; margin-left: -150px;
    background: radial-gradient(circle, #f9a8d4 0%, transparent 70%);
    opacity: .22;
    animation: storesBlobPulse 10s ease-in-out infinite;
}
@keyframes storesBlobDrift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(60px, 40px) scale(1.12); }
}
@keyframes storesBlobPulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .22; }
    50%      { transform: translate(-50%,-50%) scale(1.18); opacity: .32; }
}

/* ---- 跟随鼠标的视差光斑 ---- */
.mp-stores-cursor {
    position: absolute;
    top: 0; left: 0;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 60%);
    pointer-events: none;
    transform: translate(-200px, -200px);
    transition: transform .25s ease-out;
    z-index: 1;
    filter: blur(20px);
    will-change: transform;
}

/* ---- 门店标签云容器 ---- */
.mp-stores-stream {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 16px;
}

/* ---- 单个标签胶囊 ---- */
.mp-store-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(148,163,184,.22);
    color: #334155;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 2px 6px rgba(15,23,42,.04),
        0 8px 22px rgba(15,23,42,.04);
    /* 入场动画 */
    opacity: 0;
    transform: translateY(28px) scale(.92);
    transition:
        transform .35s cubic-bezier(.22,.9,.35,1.05),
        box-shadow .35s ease,
        border-color .35s ease,
        color .35s ease,
        background .35s ease;
    will-change: transform, box-shadow;
}

/* 入场后可见态 */
.mp-store-tag.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: var(--tag-delay, 0s);
}

/* hover：上浮 + 强阴影 + 主题色描边 */
.mp-store-tag:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: var(--tag-color, #3b82f6);
    color: #0f172a;
    background: rgba(255,255,255,.95);
    box-shadow:
        0 8px 24px rgba(15,23,42,.10),
        0 0 0 1.5px var(--tag-color, #3b82f6),
        0 0 22px color-mix(in srgb, var(--tag-color, #3b82f6) 35%, transparent);
}
.mp-store-tag:active {
    transform: translateY(-1px) scale(.98);
}

/* emoji 图标：悬浮微旋转 + 颜色匹配 */
.mp-store-tag .tag-emoji {
    font-size: 1.05rem;
    line-height: 1;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    filter: drop-shadow(0 1px 2px rgba(15,23,42,.12));
}
.mp-store-tag:hover .tag-emoji {
    transform: rotate(-12deg) scale(1.18);
}

/* 店名 */
.mp-store-tag .tag-name {
    font-weight: 600;
    letter-spacing: .2px;
}

/* 分隔圆点 */
.mp-store-tag .tag-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(148,163,184,.45);
    flex-shrink: 0;
    transition: background .3s ease, transform .3s ease;
}
.mp-store-tag:hover .tag-dot {
    background: var(--tag-color, #3b82f6);
    transform: scale(1.6);
}

/* 城市 · 店数（淡灰小字） */
.mp-store-tag .tag-meta {
    color: #64748b;
    font-weight: 500;
    font-size: .85rem;
}
.mp-store-tag:hover .tag-meta {
    color: var(--tag-color, #3b82f6);
}

/* 点击波纹（ripple） */
.mp-store-tag .tag-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: var(--tag-color, #3b82f6);
    opacity: .35;
    transform: scale(0);
    animation: tagRipple .65s ease-out forwards;
}
@keyframes tagRipple {
    to {
        transform: scale(2.4);
        opacity: 0;
    }
}

/* 顶部装饰光条（hover 时滑过） */
.mp-store-tag::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        color-mix(in srgb, var(--tag-color, #3b82f6) 25%, transparent) 50%,
        transparent 100%);
    transition: left .7s ease;
    pointer-events: none;
}
.mp-store-tag:hover::before {
    left: 130%;
}

/* 4 种主题色 */
.mp-store-tag.theme-blue   { --tag-color: #3b82f6; }
.mp-store-tag.theme-purple { --tag-color: #8b5cf6; }
.mp-store-tag.theme-orange { --tag-color: #f97316; }
.mp-store-tag.theme-teal   { --tag-color: #06b6d4; }

/* ---- 底部统计 ---- */
.mp-stores-stat {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 56px auto 0;
    padding: 28px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 16px 48px rgba(15,23,42,.06);
}
.mp-stores-stat-item {
    text-align: center;
    position: relative;
}
.mp-stores-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px; top: 50%;
    width: 1px; height: 36px;
    margin-top: -18px;
    background: linear-gradient(180deg, transparent, rgba(148,163,184,.3), transparent);
}
.mp-stores-stat-num {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mp-stores-stat-plus {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: #8b5cf6;
    margin-left: 2px;
    vertical-align: top;
}
.mp-stores-stat-label {
    display: block;
    margin-top: 8px;
    font-size: .85rem;
    color: #64748b;
    letter-spacing: 1px;
}

/* ---- 响应式：平板 ---- */
@media (max-width: 1024px) {
    .mp-stores { padding-top: 70px; padding-bottom: 70px; }
    .mp-stores-stream { gap: 12px 14px; padding: 6px 8px; }
    .mp-store-tag { font-size: .88rem; padding: 9px 18px; }
    .mp-stores-stat { max-width: 640px; padding: 22px 18px; gap: 16px; }
    .mp-stores-stat-num { font-size: 1.85rem; }
}

/* ---- 响应式：手机 ---- */
@media (max-width: 768px) {
    .mp-stores { padding-top: 56px; padding-bottom: 56px; }
    .mp-stores-stream { gap: 10px 12px; padding: 4px; }
    .mp-store-tag { font-size: .82rem; padding: 8px 14px; gap: 6px; }
    .mp-store-tag .tag-emoji { font-size: .95rem; }
    .mp-store-tag .tag-meta { font-size: .78rem; }
    .mp-stores-stat { grid-template-columns: 1fr; gap: 4px; padding: 20px 16px; margin-top: 40px; }
    .mp-stores-stat-item:not(:last-child)::after {
        right: 50%; top: auto; bottom: -2px;
        width: 36px; height: 1px;
        margin-right: -18px;
        background: linear-gradient(90deg, transparent, rgba(148,163,184,.3), transparent);
    }
    .mp-stores-stat-num { font-size: 1.65rem; }
    .mp-stores-stat-plus { font-size: 1.25rem; }
    .mp-stores-stat-label { font-size: .78rem; }
}

@media (max-width: 480px) {
    .mp-stores-cursor { display: none; }
    .mp-stores-stat-item { padding: 6px 0; }
}
