:root {
    --primary-color: #FF6900;
    --secondary-color: #333333;
    --accent-gold: #CDA485;
    --accent-silver: #858789;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--secondary-color);
    overflow-x: hidden;
    background-color: #f9f9f9;
}

/* 品牌字体 */
.brand-font {
    font-weight: 700;
    letter-spacing: 1px;
}

/* 右侧浮动筛选区域 */
.floating-filter {
    position: absolute;
    top: 100px;
    right: 30px;
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 260px;
    transition: all 0.3s;
}

.floating-filter-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.floating-filter-title i {
    margin-right: 10px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.filter-item:hover,
.filter-item.active {
    background: rgba(255, 105, 0, 0.1);
    color: var(--primary-color);
}

.filter-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 页面标题 */
.page-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1543852786-1cf6624b9987?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center; */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../img/banner.jpg') no-repeat center center;
    background-size: cover;
    padding: 140px 0 100px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
    position: relative;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 案例展示 */
.cases-section {
    padding: 60px 0 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    margin-bottom: 30px;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 确保案例卡片默认可见 */
.case-card {
    display: block !important;
    opacity: 1 !important;
}

/* 修复动画状态 */
.case-card[style*="animation-play-state: paused"] {
    animation-play-state: running !important;
}

.comparison-container {
    display: flex;
    height: 280px;
}

.comparison-item {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.comparison-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .comparison-item img {
    transform: scale(1.05);
}

.comparison-label {
    position: absolute;
    bottom: 10px;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.9rem;
    border-radius: 4px;
}

.before-label {
    left: 10px;
}

.after-label {
    right: 10px;
}

.case-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.case-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: #777;
    font-size: 0.9rem;
}

.case-meta a {
    text-decoration: none;
    color: var(--primary-color);
}

.case-location {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

/* 移动端筛选按钮样式 */
.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 2000;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    transition: all 0.3s;
}

.mobile-filter-btn i {
    margin-right: 8px;
}

.mobile-filter-btn.active {
    background: #e55e00;
    transform: scale(1.05);
}

/* ******************************************************************************************************************* */
/* 案例详情页 */
/* 案例详情 */
.case-detail-section {
    padding: 60px 0 100px;
}

/* 内容区域 */
.content-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.content-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.content-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.content-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .floating-filter {
        top: 90px;
        right: 20px;
        width: 220px;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 2.8rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .floating-filter {
        position: static;
        width: 100%;
        margin: 0 auto 40px;
        max-width: 500px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .floating-filter {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        padding: 20px;
        border-radius: 0;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        transition: right 0.4s ease-in-out;
        z-index: 1900;
        overflow-y: auto;
    }

    .floating-filter.active {
        right: 0;
    }

    .mobile-filter-btn {
        display: flex;
        align-items: center;
    }

    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1800;
    }

    .filter-overlay.active {
        display: block;
    }

    /* 案例详情页 */
    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        width: 85%;
        margin-left: 60px;
    }

    .timeline-content::before {
        left: -35px !important;
        right: auto !important;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        float: none;
    }

    .comparison-item img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .comparison-container {
        flex-direction: column;
        height: auto;
    }

    .comparison-item {
        height: 250px;
    }

    /* 案例详情页 */
    .content-section {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .floating-filter {
        padding: 15px;
    }
}

/* 超大屏手机 (iPhone 14 Pro Max, iPhone 15 Pro Max) */
@media (max-width: 430px) {
    .page-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .case-card {
        margin-bottom: 15px;
    }

    .comparison-item img {
        height: 250px;
    }

    .floating-filter {
        width: 200px;
        padding: 12px;
    }
}

/* 大屏手机 (iPhone 11 Pro Max, iPhone 12 Pro Max) */
@media (max-width: 414px) {
    .page-title {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .case-card h3 {
        font-size: 1.1rem;
    }

    .case-card p {
        font-size: 0.85rem;
    }

    .comparison-item img {
        height: 230px;
    }
}

/* 标准新iPhone (iPhone 12, iPhone 13, iPhone 14) */
@media (max-width: 390px) {
    .page-title {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .case-grid {
        gap: 12px;
    }

    .case-card {
        padding: 15px;
        margin-bottom: 12px;
    }

    .comparison-item img {
        height: 220px;
    }

    .floating-filter {
        width: 180px;
        right: 10px;
    }
}

/* 小屏新iPhone (iPhone 12 mini, iPhone 13 mini) */
@media (max-width: 375px) {
    .page-title {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .page-subtitle {
        font-size: 0.85rem;
        padding: 0 10px;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .case-card {
        padding: 12px;
    }

    .case-card h3 {
        font-size: 1rem;
    }

    .comparison-item img {
        height: 200px;
    }

    .floating-filter {
        width: 160px;
        padding: 10px;
    }
}

/* 标准Android手机 */
@media (max-width: 360px) {
    .page-title {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .case-grid {
        gap: 10px;
    }

    .case-card {
        padding: 10px;
        margin-bottom: 10px;
    }

    .comparison-item img {
        height: 180px;
    }

    .floating-filter {
        width: 150px;
        right: 8px;
    }
}

/* 小屏手机 */
@media (max-width: 320px) {
    .page-title {
        font-size: 1.2rem;
        padding: 0 8px;
    }

    .page-subtitle {
        font-size: 0.8rem;
        padding: 0 8px;
    }

    .section-title h2 {
        font-size: 1.2rem;
    }

    .case-card {
        padding: 8px;
        margin-bottom: 8px;
    }

    .case-card h3 {
        font-size: 0.9rem;
    }

    .case-card p {
        font-size: 0.8rem;
    }

    .comparison-item img {
        height: 160px;
    }

    .floating-filter {
        width: 140px;
        padding: 8px;
        font-size: 0.85rem;
    }
}

/* 折叠屏手机折叠状态 */
@media (max-width: 280px) {
    .page-title {
        font-size: 1.1rem;
        padding: 0 5px;
    }

    .page-subtitle {
        font-size: 0.75rem;
        padding: 0 5px;
    }

    .section-title h2 {
        font-size: 1.1rem;
    }

    .case-grid {
        gap: 8px;
    }

    .case-card {
        padding: 6px;
        margin-bottom: 6px;
    }

    .case-card h3 {
        font-size: 0.85rem;
    }

    .case-card p {
        font-size: 0.75rem;
    }

    .comparison-item img {
        height: 140px;
    }

    .floating-filter {
        width: 120px;
        padding: 6px;
        font-size: 0.8rem;
        right: 5px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.case-card:nth-child(1) {
    animation-delay: 0.1s;
}

.case-card:nth-child(2) {
    animation-delay: 0.2s;
}

.case-card:nth-child(3) {
    animation-delay: 0.3s;
}

.case-card:nth-child(4) {
    animation-delay: 0.4s;
}

.case-card:nth-child(5) {
    animation-delay: 0.5s;
}

.case-card:nth-child(6) {
    animation-delay: 0.6s;
}


