/* 项目详情页面样式 */

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #3b82f6;
    transform: translateX(-5px);
}

.back-link i {
    font-size: 12px;
}

/* 项目头部 */
.case-header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 60px 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.case-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.case-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.case-icon-large {
    font-size: 80px;
    opacity: 0.95;
    flex-shrink: 0;
    animation: iconBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

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

.case-header-text {
    flex: 1;
    min-width: 300px;
}

.case-title-main {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.case-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.meta-item i {
    font-size: 16px;
}

/* 内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* 章节样式 */
.case-section {
    margin-bottom: 50px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.case-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.section-title i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.section-content {
    line-height: 1.8;
    color: #4b5563;
}

/* 项目概述 */
.case-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin: 0;
}

/* 功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: #f9fafb;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item h4 i {
    color: #3b82f6;
    font-size: 1rem;
}

.feature-item p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 技术栈 */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 成果网格 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.result-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 10px 0;
    display: block;
}

.result-label {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* 亮点列表 */
.highlights-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.highlights-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #f9fafb;
    border-left: 4px solid #10b981;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
}

.highlights-list li:hover {
    background: #f3f4f6;
    transform: translateX(5px);
}

.highlights-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 截图网格 */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 客户评价 */
.testimonial {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #f59e0b;
    margin-top: 20px;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #78350f;
    margin: 0 0 20px 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-weight: 600;
    color: #78350f;
    margin: 0 0 5px 0;
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: #92400e;
    margin: 0;
}

/* 相关案例 */
.related-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.related-case-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-case-card:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-case-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0 0 10px 0;
}

.related-case-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* CTA 区域 */
.case-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 30px 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #1e3a8a;
}

.btn-primary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .case-header {
        padding: 40px 20px;
    }

    .case-icon-large {
        font-size: 60px;
    }

    .case-title-main {
        font-size: 1.8rem;
    }

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

    .case-section {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 1.4rem;
    }

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

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .case-meta {
        flex-direction: column;
        gap: 10px;
    }
}

