/* success.css - 客户成功案例页面专属样式 */

/* Hero 区样式优化 */
.success-hero {
    padding: 140px 0 100px;
    background: #f8faff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 渐变光球背景 */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 210, 255, 0.1));
    top: -200px;
    left: -100px;
    animation: orbFloat1 15s ease-in-out infinite alternate;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.08), rgba(255, 153, 0, 0.08));
    bottom: -150px;
    right: -100px;
    animation: orbFloat2 12s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, -60px) scale(1.05); }
}

/* 漂浮的行业属性图标 */
.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.floating-icon i {
    font-size: 1.2rem;
}

.icon-tax { top: 15%; left: 10%; animation-delay: 0s; }
.icon-tax i { color: #f44336; }

.icon-crm { top: 60%; left: 15%; animation-delay: 1s; }
.icon-crm i { color: #0066ff; }

.icon-business { top: 25%; right: 12%; animation-delay: 2s; }
.icon-business i { color: #9c27b0; }

.icon-ip { top: 65%; right: 18%; animation-delay: 0.5s; }
.icon-ip i { color: #ff9800; }

.icon-finance { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.icon-finance i { color: #4caf50; }

.icon-chart { bottom: 15%; left: 40%; animation-delay: 2.5s; }
.icon-chart i { color: #00bcd4; }


.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.success-hero h1 {
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.success-hero h1 span {
    color: var(--color-primary);
}

.success-hero .subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* 案例列表容器 */
.case-studies-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* 单个案例卡片 */
.case-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.05);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.08);
}

/* 左右交替布局 */
.case-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* 案例视觉区 (Mockup/图标) */
.case-visual {
    flex: 1;
    position: relative;
    min-height: 350px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

/* 动态图标设计 */
.visual-icon-wrap {
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.visual-icon-wrap i {
    font-size: 80px;
    background: linear-gradient(135deg, var(--color-primary), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.visual-data-box {
    background: white;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    font-weight: bold;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.visual-data-box .highlight {
    color: var(--color-secondary);
    font-size: 1.5rem;
}

/* 案例文本内容区 */
.case-content {
    flex: 1;
}

.case-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-card:nth-child(2) .case-badge { background: rgba(0, 210, 255, 0.1); color: #00b8e6; }
.case-card:nth-child(3) .case-badge { background: rgba(255, 153, 0, 0.1); color: #ff9900; }
.case-card:nth-child(4) .case-badge { background: rgba(156, 39, 176, 0.1); color: #9c27b0; }
.case-card:nth-child(5) .case-badge { background: rgba(76, 175, 80, 0.1); color: #4caf50; }

.case-content h2 {
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 25px;
    line-height: 1.4;
}

/* 客户背景与痛点 */
.case-context {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #cbd5e1;
}

.case-context p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #475569;
}
.case-context p:last-child {
    margin-bottom: 0;
}
.case-context strong {
    color: var(--color-dark);
}

/* 解决方案列表 */
.solution-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.solution-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--color-gray);
    line-height: 1.6;
}

.solution-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* 效果数据块 */
.case-results {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.result-item {
    flex: 1;
    min-width: 140px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.result-item .num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.result-item .label {
    font-size: 0.85rem;
    color: var(--color-gray);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .case-card, .case-card:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .case-visual {
        width: 100%;
        min-height: 250px;
    }
    
    .success-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .case-results {
        flex-direction: column;
        gap: 10px;
    }
    .result-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 12px 20px;
    }
    .result-item .num {
        margin-bottom: 0;
        font-size: 1.4rem;
    }
}

/* 优化后的 CTA 区域样式 */
.success-cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    margin-top: 40px;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.cta-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: #0066ff;
    top: -100px;
    left: -100px;
}

.cta-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: #00d2ff;
    bottom: -50px;
    right: -50px;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.cta-content h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-content h2 span {
    background: linear-gradient(135deg, #00d2ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-light i {
    margin-right: 8px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #64748b;
    font-size: 0.95rem;
}

.cta-features span i {
    color: #00d2ff;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .cta-actions .btn, .cta-actions .btn-outline-light {
        width: 100%;
    }
    .cta-features {
        flex-direction: column;
        gap: 10px;
    }
    .cta-content {
        padding: 40px 20px;
    }
}
