/* 案例列表页面样式 */
.case-list {
    padding: 60px 0;
}

.case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #333;
}

.filter-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.filter-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-img-link {
    display: block;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-img {
    transform: scale(1.05);
}

.case-info {
    padding: 20px;
}

.case-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f1f3f4;
    border-radius: 4px;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 10px;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.case-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-title a:hover {
    color: #007bff;
}

.case-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-link {
    display: inline-block;
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-link:hover {
    color: #0056b3;
}

.no-cases {
    text-align: center;
    padding: 50px 0;
    color: #666;
    font-size: 16px;
}

/* 案例详情页样式 */
.case-study-content {
    padding: 60px 0;
}

.case-study-article {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.case-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    font-size: 14px;
}

.case-date {
    font-size: 14px;
    color: #666;
}

.case-study-body {
    margin-bottom: 40px;
}

.case-study-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.case-study-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.case-study-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.prev-case a, .next-case a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prev-case a:hover, .next-case a:hover {
    color: #0056b3;
}

/* 案例侧边栏样式 */
.case-sidebar {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 150px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.related-case-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-case-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.related-case-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-case-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.related-case-thumbnail:hover img {
    transform: scale(1.05);
}

.related-case-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-case-title:hover {
    color: #007bff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .case-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .case-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-article {
        padding: 20px;
    }
    
    .case-study-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

/* 套餐详情模块样式 */
.service-packages {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

@keyframes techGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.25;
    }
}

.service-packages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(30, 136, 229, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(156, 39, 176, 0.08) 0%, transparent 40%);
    z-index: 0;
    animation: techGlow 8s ease-in-out infinite;
}

.service-packages::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(30, 136, 229, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    animation: dotPulse 4s ease-in-out infinite;
}

.service-packages .section-header {
    position: relative;
    z-index: 1;
}

.service-packages .packages-grid {
    position: relative;
    z-index: 1;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.package-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 2;
}

.package-a::before {
    background: linear-gradient(90deg, #1E88E5, #42A5F5);
}

.package-b::before {
    background: linear-gradient(90deg, #4682B4, #5DADE2);
}

.package-c::before {
    background: linear-gradient(90deg, #00BCD4, #26C6DA);
}

.package-d::before {
    background: linear-gradient(90deg, #9C27B0, #BA68C8);
}

.package-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(30, 136, 229, 0.2);
}

.package-header {
    padding: 30px 25px;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(156, 39, 176, 0.05) 100%);
    position: relative;
}

.package-badge {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E88E5, #C0C0C0);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.package-b .package-badge {
    background: linear-gradient(135deg, #4682B4, #5DADE2);
}

.package-c .package-badge {
    background: linear-gradient(135deg, #00BCD4, #26C6DA);
}

.package-d .package-badge {
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
}

.package-name {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1E88E5;
    margin-top: 10px;
}

.package-b .package-price {
    color: #4682B4;
}

.package-c .package-price {
    color: #00BCD4;
}

.package-d .package-price {
    color: #9C27B0;
}

.price-period {
    font-size: 0.9rem;
    color: #999;
    font-weight: 400;
}

.package-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-item {
    text-align: center;
    flex: 1;
}

.info-label {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    display: block;
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.package-content,
.package-output {
    margin-bottom: 20px;
}

.package-content h4,
.package-output h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    padding-left: 15px;
    position: relative;
}

.package-content h4::before,
.package-output h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #1E88E5, #C0C0C0);
    border-radius: 2px;
}

.package-b .package-content h4::before,
.package-b .package-output h4::before {
    background: linear-gradient(135deg, #4682B4, #5DADE2);
}

.package-c .package-content h4::before,
.package-c .package-output h4::before {
    background: linear-gradient(135deg, #00BCD4, #26C6DA);
}

.package-d .package-content h4::before,
.package-d .package-output h4::before {
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
}

.package-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.package-content ul,
.package-output ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-content li,
.package-output li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 0.95rem;
    padding-left: 25px;
    position: relative;
}

.package-content li::before,
.package-output li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #1E88E5;
    font-weight: bold;
    font-size: 0.9rem;
}

.package-b .package-content li::before,
.package-b .package-output li::before {
    color: #4682B4;
}

.package-c .package-content li::before,
.package-c .package-output li::before {
    color: #00BCD4;
}

.package-d .package-content li::before,
.package-d .package-output li::before {
    color: #9C27B0;
}

.package-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.packages-cta {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 16px 60px;
    font-size: 1.1rem;
}

.floating-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #1E88E5 0%, #9C27B0 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 4px 15px rgba(30, 136, 229, 0.4);
    transition: all 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 4px;
    min-height: 120px;
}

.floating-cta-btn:hover {
    background: linear-gradient(135deg, #1565C0 0%, #7B1FA2 100%);
    box-shadow: -6px 6px 20px rgba(30, 136, 229, 0.6);
    padding-right: 20px;
}

.cta-text {
    white-space: nowrap;
}

.btn-package {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1E88E5, #C0C0C0);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.package-b .btn-package {
    background: linear-gradient(135deg, #4682B4, #5DADE2);
}

.package-c .btn-package {
    background: linear-gradient(135deg, #00BCD4, #26C6DA);
}

.package-d .btn-package {
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
}

.btn-package:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.package-b .btn-package:hover {
    box-shadow: 0 8px 20px rgba(70, 130, 180, 0.3);
}

.package-c .btn-package:hover {
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

.package-d .btn-package:hover {
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.3);
}

/* 套餐卡片动画效果 */
@keyframes packageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.package-card:hover {
    animation: packageFloat 3s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .service-packages {
        padding: 80px 0;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .package-card {
        margin: 0 10px;
    }
    
    .package-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-item {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .package-header {
        padding: 25px 20px;
    }
    
    .package-body {
        padding: 20px;
    }
    
    .package-footer {
        padding: 15px 20px;
    }
    
    .package-price {
        font-size: 1.6rem;
    }
    
    .package-name {
        font-size: 1.2rem;
    }
}
