/* ============================================================
   应用案例 - 不规则光效版
   光效更自然、随机、有层次感
   ============================================================ */

/* ----- 最外层容器 ----- */
section.cases-section,
.cases-section {
    position: relative !important;
    width: 100% !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    padding: 80px 0 100px 0 !important;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* ============================================================
   不规则光效层（更自然、随机）
   ============================================================ */

//* ============================================================
   光束加强
   ============================================================ */
.cases-section .cases-beam {
    position: absolute !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.4 !important;
}

.cases-section .cases-beam-1 {
    width: 200% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, rgba(43, 127, 193, 0.25), rgba(155, 209, 255, 0.15), transparent) !important;
    top: 25% !important;
    left: -50% !important;
    transform: rotate(28deg) !important;
    filter: blur(6px) !important;
    animation: casesBeamMove 8s linear infinite !important;
}

.cases-section .cases-beam-2 {
    width: 180% !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, rgba(43, 127, 193, 0.2), rgba(43, 127, 193, 0.1), transparent) !important;
    bottom: 30% !important;
    right: -40% !important;
    transform: rotate(-22deg) !important;
    filter: blur(5px) !important;
    animation: casesBeamMove2 10s linear infinite !important;
}

.cases-section .cases-beam-3 {
    width: 140% !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, transparent, rgba(155, 209, 255, 0.2), transparent) !important;
    top: 55% !important;
    left: -20% !important;
    transform: rotate(45deg) !important;
    filter: blur(4px) !important;
    opacity: 0.25 !important;
    animation: casesBeamMove3 12s linear infinite !important;
}

@keyframes casesBeamMove {
    0% { transform: rotate(28deg) translateX(-150px); opacity: 0.1; }
    50% { opacity: 0.5; }
    100% { transform: rotate(28deg) translateX(150px); opacity: 0.1; }
}

@keyframes casesBeamMove2 {
    0% { transform: rotate(-22deg) translateX(120px); opacity: 0.1; }
    50% { opacity: 0.4; }
    100% { transform: rotate(-22deg) translateX(-120px); opacity: 0.1; }
}

@keyframes casesBeamMove3 {
    0% { transform: rotate(45deg) translateX(-80px); opacity: 0.05; }
    50% { opacity: 0.3; }
    100% { transform: rotate(45deg) translateX(80px); opacity: 0.05; }
}

/* ============================================================
   不规则光效动画
   ============================================================ */

/* 晃动 + 变形 */
@keyframes casesGlowWobble1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 60% 40% 50% 30% / 40% 50% 60% 30%; }
    100% { transform: translate(-40px, 30px) scale(1.25) rotate(8deg); border-radius: 30% 60% 40% 50% / 50% 30% 70% 40%; }
}

@keyframes casesGlowWobble2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 40% 60% 30% 50% / 50% 30% 70% 40%; }
    100% { transform: translate(35px, -25px) scale(1.3) rotate(-6deg); border-radius: 60% 30% 50% 40% / 30% 60% 40% 50%; }
}

@keyframes casesGlowWobble3 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 30% 70% 50% 50% / 80% 40% 60% 20%; }
    100% { transform: translate(25px, 20px) scale(1.2) rotate(10deg); border-radius: 50% 40% 60% 30% / 40% 70% 30% 60%; }
}

@keyframes casesGlowWobble4 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 70% 30% 40% 60% / 30% 60% 40% 70%; }
    100% { transform: translate(-20px, -30px) scale(1.4) rotate(-12deg); border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes casesGlowWobble5 {
    0% { transform: translateX(-50%) scale(1) rotate(0deg); border-radius: 50% 50% 30% 70% / 40% 40% 60% 60%; }
    100% { transform: translateX(-30%) scale(1.2) rotate(5deg); border-radius: 30% 70% 50% 50% / 60% 30% 70% 40%; }
}

/* 光斑脉冲 */
@keyframes casesGlowPulse1 {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.6); opacity: 0.8; }
}

/* ============================================================
   光束（保留，但稍微调整）
   ============================================================ */
/* ============================================================
   光束加强
   ============================================================ */
.cases-section .cases-beam {
    position: absolute !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.4 !important;
}

.cases-section .cases-beam-1 {
    width: 200% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, rgba(43, 127, 193, 0.25), rgba(155, 209, 255, 0.15), transparent) !important;
    top: 25% !important;
    left: -50% !important;
    transform: rotate(28deg) !important;
    filter: blur(6px) !important;
    animation: casesBeamMove 8s linear infinite !important;
}

.cases-section .cases-beam-2 {
    width: 180% !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, rgba(43, 127, 193, 0.2), rgba(43, 127, 193, 0.1), transparent) !important;
    bottom: 30% !important;
    right: -40% !important;
    transform: rotate(-22deg) !important;
    filter: blur(5px) !important;
    animation: casesBeamMove2 10s linear infinite !important;
}

.cases-section .cases-beam-3 {
    width: 140% !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, transparent, rgba(155, 209, 255, 0.2), transparent) !important;
    top: 55% !important;
    left: -20% !important;
    transform: rotate(45deg) !important;
    filter: blur(4px) !important;
    opacity: 0.25 !important;
    animation: casesBeamMove3 12s linear infinite !important;
}

@keyframes casesBeamMove {
    0% { transform: rotate(28deg) translateX(-150px); opacity: 0.1; }
    50% { opacity: 0.5; }
    100% { transform: rotate(28deg) translateX(150px); opacity: 0.1; }
}

@keyframes casesBeamMove2 {
    0% { transform: rotate(-22deg) translateX(120px); opacity: 0.1; }
    50% { opacity: 0.4; }
    100% { transform: rotate(-22deg) translateX(-120px); opacity: 0.1; }
}

@keyframes casesBeamMove3 {
    0% { transform: rotate(45deg) translateX(-80px); opacity: 0.05; }
    50% { opacity: 0.3; }
    100% { transform: rotate(45deg) translateX(80px); opacity: 0.05; }
}

@keyframes casesBeamMove {
    0% { transform: rotate(28deg) translateX(-150px); opacity: 0.1; }
    50% { opacity: 0.5; }
    100% { transform: rotate(28deg) translateX(150px); opacity: 0.1; }
}

@keyframes casesBeamMove2 {
    0% { transform: rotate(-22deg) translateX(120px); opacity: 0.1; }
    50% { opacity: 0.4; }
    100% { transform: rotate(-22deg) translateX(-120px); opacity: 0.1; }
}

@keyframes casesBeamMove3 {
    0% { transform: rotate(45deg) translateX(-80px); opacity: 0.05; }
    50% { opacity: 0.3; }
    100% { transform: rotate(45deg) translateX(80px); opacity: 0.05; }
}

/* ============================================================
   内容容器
   ============================================================ */
.cases-section .cases-container {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 60px !important;
    box-sizing: border-box !important;
}

/* ============================================================
   节标题
   ============================================================ */
.cases-section .cases-header {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.cases-section .cases-badge {
    display: inline-block !important;
    background: rgba(43, 127, 193, 0.1) !important;
    color: #2b7fc1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 20px !important;
    border-radius: 20px !important;
    letter-spacing: 1px !important;
    margin-bottom: 12px !important;
    border: 1px solid rgba(43, 127, 193, 0.12) !important;
    backdrop-filter: blur(4px) !important;
}

.cases-section .cases-title {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    color: #0b2a4a !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

.cases-section .cases-title span {
    background: linear-gradient(135deg, #0b2a4a, #2b7fc1) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.cases-section .cases-subtitle {
    font-size: 1.05rem !important;
    color: #5a7a9a !important;
    margin-top: 6px !important;
}

/* ============================================================
   滚动卡片容器
   ============================================================ */
.cases-section .cases-scroll-wrapper {
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 10px 0 10px 0 !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.cases-section .cases-scroll-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.cases-section .cases-scroll {
    display: flex !important;
    flex-direction: row !important;
    gap: 35px !important;
    width: max-content !important;
    padding: 0 4px !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform !important;
}

.cases-section .cases-scroll-wrapper.paused .cases-scroll {
    animation-play-state: paused !important;
}

/* ============================================================
   卡片
   ============================================================ */
.cases-section .cases-card {
    flex: 0 0 400px !important;
    width: 400px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 32px rgba(43, 127, 193, 0.08), 0 20px 60px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    cursor: default !important;
}

.cases-section .cases-card:hover {
    transform: translateY(-16px) scale(1.02) !important;
    border-color: rgba(43, 127, 193, 0.2) !important;
    box-shadow: 0 12px 40px rgba(43, 127, 193, 0.15), 0 30px 80px rgba(0, 0, 0, 0.08) !important;
}

.cases-section .cases-card-img {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
    overflow: hidden !important;
    background: #f0f4f8 !important;
}

.cases-section .cases-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s ease !important;
}

.cases-section .cases-card:hover .cases-card-img img {
    transform: scale(1.06) !important;
}

.cases-section .cases-card-tag {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: rgba(43, 127, 193, 0.85) !important;
    backdrop-filter: blur(4px) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 5px 16px !important;
    border-radius: 20px !important;
    letter-spacing: 0.5px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 2 !important;
}

.cases-section .cases-card-body {
    padding: 24px 28px 28px 28px !important;
}

.cases-section .cases-card-body h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0b2a4a !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.cases-section .cases-card-body p {
    font-size: 15px !important;
    color: #5a7a9a !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* ============================================================
   控制按钮
   ============================================================ */
.cases-section .cases-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 30px !important;
}

.cases-section .cases-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(43, 127, 193, 0.12) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    color: #2b7fc1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    box-shadow: 0 2px 16px rgba(43, 127, 193, 0.06) !important;
}

.cases-section .cases-btn:hover {
    background: #2b7fc1 !important;
    color: #ffffff !important;
    border-color: #2b7fc1 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 28px rgba(43, 127, 193, 0.25) !important;
}

.cases-section .cases-btn:active {
    transform: scale(0.92) !important;
}

.cases-section .cases-btn svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.cases-section .cases-dots {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.cases-section .cases-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: rgba(43, 127, 193, 0.15) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    padding: 0 !important;
}

.cases-section .cases-dot.active {
    background: #2b7fc1 !important;
    width: 32px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 16px rgba(43, 127, 193, 0.3) !important;
}

.cases-section .cases-dot:hover:not(.active) {
    background: rgba(43, 127, 193, 0.35) !important;
    transform: scale(1.2) !important;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .cases-section .cases-container {
        padding: 0 40px !important;
    }
    .cases-section .cases-title {
        font-size: 2.4rem !important;
    }
    .cases-section .cases-card {
        flex: 0 0 340px !important;
        width: 340px !important;
    }
    .cases-section .cases-card-img {
        height: 220px !important;
    }
    .cases-section .cases-card-body h3 {
        font-size: 18px !important;
    }
    .cases-section .cases-scroll {
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .cases-section {
        padding: 50px 0 70px 0 !important;
        min-height: auto !important;
    }
    .cases-section .cases-container {
        padding: 0 20px !important;
    }
    .cases-section .cases-title {
        font-size: 1.8rem !important;
    }
    .cases-section .cases-subtitle {
        font-size: 0.9rem !important;
    }
    .cases-section .cases-card {
        flex: 0 0 290px !important;
        width: 290px !important;
        border-radius: 18px !important;
    }
    .cases-section .cases-card-img {
        height: 190px !important;
    }
    .cases-section .cases-card-body {
        padding: 18px 20px 20px 20px !important;
    }
    .cases-section .cases-card-body h3 {
        font-size: 17px !important;
    }
    .cases-section .cases-card-body p {
        font-size: 13px !important;
    }
    .cases-section .cases-scroll {
        gap: 20px !important;
    }
    .cases-section .cases-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .cases-section .cases-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    .cases-section .cases-controls {
        gap: 14px !important;
        margin-top: 24px !important;
    }
    .cases-section .cases-dot {
        width: 8px !important;
        height: 8px !important;
    }
    .cases-section .cases-dot.active {
        width: 24px !important;
    }

    /* 手机端光效缩小 */
    .cases-section .cases-glow-1 {
        width: 350px !important;
        height: 250px !important;
        top: -120px !important;
        right: -80px !important;
        filter: blur(50px) !important;
    }
    .cases-section .cases-glow-2 {
        width: 280px !important;
        height: 220px !important;
        bottom: -80px !important;
        left: -60px !important;
        filter: blur(45px) !important;
    }
    .cases-section .cases-glow-3 {
        width: 180px !important;
        height: 300px !important;
        top: 20% !important;
        left: -10% !important;
        filter: blur(50px) !important;
    }
    .cases-section .cases-glow-4 {
        width: 150px !important;
        height: 120px !important;
        bottom: 15% !important;
        right: 5% !important;
        filter: blur(35px) !important;
    }
    .cases-section .cases-glow-5 {
        width: 280px !important;
        height: 120px !important;
        top: -40px !important;
        left: 15% !important;
        filter: blur(40px) !important;
    }
    .cases-section .cases-glow-6 {
        width: 80px !important;
        height: 80px !important;
        bottom: 35% !important;
        left: 25% !important;
        filter: blur(20px) !important;
    }
}