/* 主要内容区域 */
.main-content {
    margin-top: 80px;
    padding: 2rem 0;
}

/* 页面标题 */
.page-header {
    text-align: center;
    padding: 4rem 0 2rem;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: titlePulse 2s ease-in-out infinite, slideInUp 1s ease-out;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    animation: lineGrow 2s ease-out 1s forwards;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.3));
    }
    50% {
        transform: scale(1.02);
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

.page-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.typewriter-text {
    position: relative;
    display: inline-block;
}

.typewriter-text.typing::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 案例筛选 */
.case-filter {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-top: 1rem;
    overflow-x: auto;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #ff6b35;
    background: white;
    color: #ff6b35;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

/* 案例展示区域 */
.cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.5rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.case-image {
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: imagePulse 3s ease-in-out infinite;
}

.case-image i {
    animation: iconBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.case-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: ripple 2s ease-in-out infinite;
}

@keyframes imagePulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.case-card:hover .case-image::before {
    left: 100%;
}

.case-content {
    padding: 0.8rem;
}

.case-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    animation: textSlideInLeft 0.8s ease-out;
    position: relative;
    line-height: 1.2;
}

.case-title::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    transition: width 0.3s ease;
}

.case-card:hover .case-title::before {
    width: 10px;
}

@keyframes textSlideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.case-description {
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-bottom: 0.6rem;
}

.case-tag {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.stat-item {
    text-align: center;
    padding: 0.4rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 6px;
}

.stat-number {
    font-size: 1rem;
    font-weight: bold;
    color: #ff6b35;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.1rem;
}

.case-link {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    font-size: 0.85rem;
}

.case-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* 综合实力展示区域 */
.company-strengths {
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.strengths-header {
    text-align: center;
    margin-bottom: 3rem;
}

.strengths-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.strengths-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.strength-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.strength-section:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.strength-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strength-title i {
    font-size: 1.8rem;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.tech-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.tech-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.advantage-list li i {
    color: #ff6b35;
    font-size: 1rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.industry-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.industry-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #ff6b35;
}

.industry-item span {
    font-size: 0.9rem;
    font-weight: 500;
}


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

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-buttons {
        gap: 0.3rem;
        padding: 0 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .company-strengths {
        padding: 2rem 1rem;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        grid-template-columns: repeat(4, 1fr);
    }

    .case-content {
        padding: 0.6rem;
    }

    .case-image {
        height: 70px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .case-image {
        height: 60px;
        font-size: 1.2rem;
    }

    .case-title {
        font-size: 1rem;
    }

    .case-description {
        font-size: 0.8rem;
    }

    .case-content {
        padding: 0.5rem;
    }
}
